/* =========================================================
   MOUNTAINGATES
   PREMIUM 2026 HEADER + CONTACT MODAL
   COMPLETE CSS
   ========================================================= */
@import url(
    'https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap'
);

*{
    font-family: 'poppins';
}
:root {
    --mg-green: #123f2b;
    --mg-green-dark: #09281a;
    --mg-green-light: #edf4f0;

    --mg-black: #101412;
    --mg-text: #171c19;
    --mg-muted: #69736d;

    --mg-white: #fff;
    --mg-off-white: #fff;

    --mg-border: rgba(18, 63, 43, 0.10);
    --mg-border-strong: rgba(18, 63, 43, 0.16);

    --mg-shadow: 0 25px 80px rgba(7, 31, 20, 0.14);

}


/* =========================================================
   RESET
   ========================================================= */

.mg-header *,
.mg-header *::before,
.mg-header *::after,
.mg-contact-modal *,
.mg-contact-modal *::before,
.mg-contact-modal *::after {
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.mg-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 88px;

    z-index: 9999;

    background: #fff;

    border-bottom: 1px solid rgba(18, 63, 43, 0.09);

    font-family: var(--mg-font);

    transition:
        height 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* =========================================================
   PREMIUM LINE UNDER HEADER
   ========================================================= */

.mg-header::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(18, 63, 43, 0.06) 15%,
        rgba(18, 63, 43, 0.14) 50%,
        rgba(18, 63, 43, 0.06) 85%,
        transparent 100%
    );

    pointer-events: none;
}


/* =========================================================
   SCROLLED HEADER
   ========================================================= */

.mg-header.scrolled {
    height: 76px;

    background: fff;

    border-bottom-color:
        rgba(18, 63, 43, 0.12);

    box-shadow:
        0 10px 35px rgba(8, 30, 20, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* =========================================================
   HEADER INNER
   ========================================================= */

.mg-header-inner {
    width: min(1440px, calc(100% - 64px));

    height: 100%;

    margin: 0 auto;

    display: flex;

    align-items: center;

    gap: 34px;
}


/* =========================================================
   LOGO
   ========================================================= */

.mg-logo {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    text-decoration: none;

    outline: none;
}

.mg-logo img {
    display: block;

    width: 178px;
    height: auto;

    object-fit: contain;

    transition:
        width 0.35s ease,
        transform 0.3s ease;
}

.mg-header.scrolled .mg-logo img {
    width: 160px;
}

.mg-logo:hover img {
    transform: translateY(-1px);
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.mg-nav {
    height: 100%;

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 3px;
}


/* =========================================================
   NAV LINKS
   ========================================================= */

.mg-nav-link {
    position: relative;

    height: 44px;

    padding: 0 16px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    border: 0;

    background: transparent;

    color: var(--mg-text);

    font-family: var(--mg-font);

    font-size: 14px;

    font-weight: 500;

    letter-spacing: -0.01em;

    text-decoration: none;

    border-radius: 11px;

    cursor: pointer;

    outline: none;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}


/* =========================================================
   NAV HOVER
   ========================================================= */

.mg-nav-link:hover {
    color: var(--mg-green);

    background:
        rgba(237, 244, 240, 0.85);
}


/* =========================================================
   ACTIVE NAV
   ========================================================= */

.mg-nav-link.active {
    color: var(--mg-green);
}

.mg-nav-link.active::after {
    content: "";

    position: absolute;

    left: 16px;
    right: 16px;

    bottom: 3px;

    height: 2px;

    background: var(--mg-green);

    border-radius: 10px;
}


/* =========================================================
   SERVICES DROPDOWN
   ========================================================= */

.mg-dropdown {
    position: relative;

    height: 100%;

    display: flex;

    align-items: center;
}

.mg-dropdown-toggle {
    gap: 9px;
}


/* =========================================================
   DESKTOP CHEVRON
   ========================================================= */

.mg-chevron {
    width: 7px;
    height: 7px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform:
        rotate(45deg)
        translateY(-2px);

    transition:
        transform 0.25s ease;
}

.mg-dropdown.open .mg-chevron {
    transform:
        rotate(225deg)
        translateY(-1px);
}


/* =========================================================
   DROPDOWN MENU
   ========================================================= */

.mg-dropdown-menu {
    position: absolute;

    top: calc(100% + 12px);

    left: 50%;

    width: 335px;

    padding: 8px;

    background:
        rgba(255, 255, 255, 0.98);

    border:
        1px solid rgba(18, 63, 43, 0.11);

    border-radius: 18px;

    box-shadow:
        0 25px 70px rgba(7, 30, 19, 0.15);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateX(-50%)
        translateY(9px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* =========================================================
   DROPDOWN OPEN
   ========================================================= */

.mg-dropdown.open .mg-dropdown-menu {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateX(-50%)
        translateY(0);
}


/* =========================================================
   DROPDOWN ARROW
   ========================================================= */

.mg-dropdown-menu::before {
    content: "";

    position: absolute;

    top: -5px;

    left: 50%;

    width: 10px;
    height: 10px;

    background: white;

    border-left:
        1px solid rgba(18, 63, 43, 0.11);

    border-top:
        1px solid rgba(18, 63, 43, 0.11);

    transform:
        translateX(-50%)
        rotate(45deg);
}


/* =========================================================
   DROPDOWN ITEM
   ========================================================= */

.mg-dropdown-item {
    width: 100%;

    display: block;

    padding: 15px 16px;

    border-radius: 12px;

    color: var(--mg-text);

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.mg-dropdown-item:hover {
    background: var(--mg-green-light);

    transform: translateX(3px);
}


/* =========================================================
   DROPDOWN CONTENT
   ========================================================= */

.mg-dropdown-item > span {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.mg-dropdown-title {
    color: var(--mg-text);

    font-size: 14px;

    font-weight: 600;

    letter-spacing: -0.01em;
}

.mg-dropdown-description {
    color: var(--mg-muted);

    font-size: 11.5px;

    line-height: 1.45;

    font-weight: 400;
}

.mg-dropdown-item:hover .mg-dropdown-title {
    color: var(--mg-green);
}


/* =========================================================
   CONTACT BUTTON
   ========================================================= */

.mg-contact-btn {
    position: relative;

    flex-shrink: 0;

    width: 143px;
    height: 46px;

    padding: 0 18px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    overflow: hidden;

    color: white;

    background: var(--mg-green);

    border:
        1px solid var(--mg-green);

    border-radius: 12px;

    font-family: var(--mg-font);

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    outline: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   CONTACT BUTTON SHINE
   ========================================================= */

.mg-contact-btn::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 0;

    width: 100%;

    background:
        rgba(255, 255, 255, 0.08);

    transform:
        translateX(-105%);

    transition:
        transform 0.4s ease;
}

.mg-contact-btn:hover::before {
    transform:
        translateX(0);
}

.mg-contact-btn:hover {
    background:
        var(--mg-green-dark);

    transform:
        translateY(-2px);

    box-shadow:
        0 13px 30px rgba(18, 63, 43, 0.22);
}

.mg-contact-btn > span {
    position: relative;

    z-index: 2;
}

.mg-contact-arrow {
    font-size: 16px;

    transition:
        transform 0.25s ease;
}

.mg-contact-btn:hover .mg-contact-arrow {
    transform:
        translate(2px, -2px);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mg-mobile-toggle {
    display: none;

    width: 45px;
    height: 45px;

    margin-left: auto;

    padding: 0;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    background: white;

    border:
        1px solid var(--mg-border);

    border-radius: 12px;

    cursor: pointer;

    outline: none;
}

.mg-mobile-toggle span {
    display: block;

    width: 19px;
    height: 1.5px;

    background:
        var(--mg-black);

    border-radius: 10px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* =========================================================
   MOBILE TOGGLE ACTIVE
   ========================================================= */

.mg-mobile-toggle.active span:nth-child(1) {
    transform:
        translateY(6.5px)
        rotate(45deg);
}

.mg-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mg-mobile-toggle.active span:nth-child(3) {
    transform:
        translateY(-6.5px)
        rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mg-mobile-menu {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    background:
        rgba(255, 255, 255, 0.98);

    border-top:
        1px solid rgba(18, 63, 43, 0.08);

    box-shadow:
        0 25px 50px rgba(8, 35, 23, 0.10);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-8px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.mg-mobile-menu.open {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


/* =========================================================
   MOBILE NAV
   ========================================================= */

.mg-mobile-nav {
    width: min(600px, calc(100% - 32px));

    margin: 0 auto;

    padding:
        10px 0 22px;
}

.mg-mobile-link,
.mg-mobile-dropdown-toggle {
    width: 100%;

    min-height: 55px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 0 5px;

    color: var(--mg-text);

    background: transparent;

    border: 0;

    border-bottom:
        1px solid rgba(18, 63, 43, 0.07);

    font-family: var(--mg-font);

    font-size: 15px;

    font-weight: 500;

    text-decoration: none;

    cursor: pointer;

    outline: none;
}

.mg-mobile-link:hover,
.mg-mobile-dropdown-toggle:hover {
    color: var(--mg-green);
}


/* =========================================================
   MOBILE SERVICES
   ========================================================= */

.mg-mobile-dropdown {
    width: 100%;
}

.mg-mobile-submenu {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height 0.35s ease,
        opacity 0.3s ease;
}

.mg-mobile-dropdown.open .mg-mobile-submenu {
    max-height: 260px;

    opacity: 1;
}

.mg-mobile-sub-link {
    display: block;

    padding:
        15px 15px 15px 21px;

    color: var(--mg-muted);

    border-bottom:
        1px solid rgba(18, 63, 43, 0.05);

    font-family: var(--mg-font);

    font-size: 14px;

    font-weight: 450;

    text-decoration: none;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.mg-mobile-sub-link:hover {
    color: var(--mg-green);

    padding-left: 26px;
}


/* =========================================================
   MOBILE PLUS
   ========================================================= */

.mg-mobile-chevron {
    color: var(--mg-green);

    font-size: 21px;

    font-weight: 300;

    transition:
        transform 0.3s ease;
}

.mg-mobile-dropdown.open
.mg-mobile-chevron {
    transform:
        rotate(45deg);
}


/* =========================================================
   MOBILE CONTACT
   ========================================================= */

.mg-mobile-contact {
    width: 100%;
    height: 52px;

    margin-top: 17px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    color: white;

    background:
        var(--mg-green);

    border-radius: 12px;

    font-family: var(--mg-font);

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.mg-mobile-contact:hover {
    background:
        var(--mg-green-dark);

    transform:
        translateY(-1px);
}


/* =========================================================
   CONTACT MODAL
   ========================================================= */

.mg-contact-modal {
    position: fixed;

    inset: 0;

    z-index: 10000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 22px;

    background:
        rgba(4, 17, 11, 0.56);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.mg-contact-modal.open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   CONTACT BOX
   ========================================================= */

.mg-contact-box {
    position: relative;

    width: min(1050px, 100%);

    max-height:
        calc(100vh - 44px);

    overflow-y: auto;

    background:
        var(--mg-white);

    border:
        1px solid rgba(18, 63, 43, 0.08);

    border-radius: 24px;

    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.24);

    transform:
        translateY(25px)
        scale(0.985);

    transition:
        transform 0.35s ease;
}

.mg-contact-modal.open
.mg-contact-box {
    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   CONTACT TOP
   ========================================================= */

.mg-contact-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    padding:
        40px 44px 27px;
}

.mg-contact-eyebrow {
    margin:
        0 0 9px;

    color:
        var(--mg-green);

    font-size: 10px;

    font-weight: 700;

    letter-spacing:
        0.15em;

    text-transform:
        uppercase;
}

.mg-contact-title {
    margin: 0;

    color:
        var(--mg-black);

    font-size:
        clamp(30px, 4vw, 43px);

    font-weight: 600;

    letter-spacing:
        -0.045em;

    line-height: 1.05;
}

.mg-contact-intro {
    max-width: 700px;

    margin:
        14px 0 0;

    color:
        var(--mg-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.mg-contact-close {
    flex-shrink: 0;

    width: 44px;
    height: 44px;

    margin-left: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        var(--mg-off-white);

    border:
        1px solid var(--mg-border);

    border-radius: 50%;

    color:
        var(--mg-black);

    font-family: Arial, sans-serif;

    font-size: 23px;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    outline: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.mg-contact-close:hover {
    color: white;

    background:
        var(--mg-green);

    transform:
        rotate(90deg);
}


/* =========================================================
   FORM WRAPPER
   ========================================================= */

.mg-contact-form-wrap {
    padding:
        0 44px 44px;
}

.mg-contact-form {
    width: 100%;
}


/* =========================================================
   FORM SECTION
   ========================================================= */

.mg-form-section {
    padding:
        25px 0 4px;

    border-top:
        1px solid var(--mg-border);
}

.mg-form-section:first-child {
    padding-top: 0;

    border-top: 0;
}

.mg-form-section-title {
    margin:
        0 0 18px;

    color:
        var(--mg-black);

    font-size: 15px;

    font-weight: 600;

    letter-spacing:
        -0.015em;
}

.mg-form-section-description {
    margin:
        -10px 0 19px;

    color:
        var(--mg-muted);

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   FORM GRID
   ========================================================= */

.mg-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 17px;
}

.mg-form-field.full {
    grid-column:
        1 / -1;
}


/* =========================================================
   FORM FIELD
   ========================================================= */

.mg-form-field {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.mg-form-label {
    color:
        var(--mg-text);

    font-size: 11.5px;

    font-weight: 600;
}

.mg-required {
    color:
        var(--mg-green);

    margin-left: 2px;
}


/* =========================================================
   INPUTS
   ========================================================= */

.mg-form-input,
.mg-form-select,
.mg-form-textarea {
    width: 100%;

    color:
        var(--mg-text);

    background:
        #fbfcfb;

    border:
        1px solid rgba(18, 63, 43, 0.13);

    border-radius: 11px;

    outline: none;

    font-family:
        var(--mg-font);

    font-size: 13px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.mg-form-input,
.mg-form-select {
    height: 49px;

    padding:
        0 14px;
}

.mg-form-textarea {
    min-height: 135px;

    padding: 14px;

    resize: vertical;

    line-height: 1.6;
}

.mg-form-input::placeholder,
.mg-form-textarea::placeholder {
    color:
        #9aa39e;
}


/* =========================================================
   INPUT FOCUS
   ========================================================= */

.mg-form-input:focus,
.mg-form-select:focus,
.mg-form-textarea:focus {
    background:
        white;

    border-color:
        var(--mg-green);

    box-shadow:
        0 0 0 3px rgba(18, 63, 43, 0.07);
}


/* =========================================================
   ERROR
   ========================================================= */

.mg-form-input.error,
.mg-form-select.error,
.mg-form-textarea.error {
    border-color:
        #b24b4b;

    box-shadow:
        0 0 0 3px rgba(178, 75, 75, 0.06);
}

.mg-field-error {
    display: none;

    color:
        #a63e3e;

    font-size: 10.5px;

    line-height: 1.4;
}

.mg-field-error.show {
    display: block;
}


/* =========================================================
   CHARACTER COUNTER
   ========================================================= */

.mg-textarea-footer {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    margin-top: -2px;

    color:
        var(--mg-muted);

    font-size: 10px;

    line-height: 1.4;
}


/* =========================================================
   CONSENT
   ========================================================= */

.mg-form-consent {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 21px;

    color:
        var(--mg-muted);

    font-size: 11px;

    line-height: 1.6;

    cursor: pointer;
}

.mg-form-consent input {
    flex-shrink: 0;

    width: 17px;
    height: 17px;

    margin:
        1px 0 0;

    accent-color:
        var(--mg-green);

    cursor: pointer;
}

.mg-form-consent a {
    color:
        var(--mg-green);

    text-decoration:
        underline;

    text-underline-offset:
        3px;
}


/* =========================================================
   SUBMIT AREA
   ========================================================= */

.mg-form-submit-area {
    margin-top: 27px;

    padding-top: 24px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    border-top:
        1px solid var(--mg-border);
}

.mg-form-submit-note {
    max-width: 510px;

    margin: 0;

    color:
        var(--mg-muted);

    font-size: 11px;

    line-height: 1.55;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.mg-form-submit {
    flex-shrink: 0;

    min-width: 175px;

    height: 50px;

    padding:
        0 21px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    color:
        white;

    background:
        var(--mg-green);

    border:
        1px solid var(--mg-green);

    border-radius: 12px;

    font-family:
        var(--mg-font);

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    outline: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.mg-form-submit:hover {
    background:
        var(--mg-green-dark);

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 30px rgba(18, 63, 43, 0.20);
}

.mg-form-submit-arrow {
    font-size: 16px;

    transition:
        transform 0.25s ease;
}

.mg-form-submit:hover
.mg-form-submit-arrow {
    transform:
        translate(2px, -2px);
}


/* =========================================================
   LOADING
   ========================================================= */

.mg-form-submit.loading {
    pointer-events: none;

    opacity: 0.75;
}

.mg-form-spinner {
    width: 15px;
    height: 15px;

    border:
        2px solid rgba(255, 255, 255, 0.35);

    border-top-color:
        white;

    border-radius: 50%;

    animation:
        mgSpin 0.7s linear infinite;
}

@keyframes mgSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   SUCCESS
   ========================================================= */

.mg-form-success {
    display: none;

    padding: 25px;

    margin-top: 20px;

    background:
        var(--mg-green-light);

    border:
        1px solid rgba(18, 63, 43, 0.12);

    border-radius: 15px;

    color:
        var(--mg-green);
}

.mg-form-success.show {
    display: block;
}

.mg-form-success-title {
    margin-bottom: 5px;

    font-size: 14px;

    font-weight: 700;
}

.mg-form-success-text {
    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   CUSTOM SCROLLBAR
   ========================================================= */

.mg-contact-box::-webkit-scrollbar {
    width: 7px;
}

.mg-contact-box::-webkit-scrollbar-track {
    background:
        transparent;
}

.mg-contact-box::-webkit-scrollbar-thumb {
    background:
        rgba(18, 63, 43, 0.18);

    border-radius:
        20px;
}

.mg-contact-box::-webkit-scrollbar-thumb:hover {
    background:
        rgba(18, 63, 43, 0.30);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1120px) {

    .mg-header-inner {
        width:
            min(100% - 40px, 1440px);

        gap: 20px;
    }

    .mg-logo img {
        width: 158px;
    }

    .mg-header.scrolled
    .mg-logo img {
        width: 148px;
    }

    .mg-nav-link {
        padding:
            0 11px;

        font-size: 13px;
    }

    .mg-nav-link.active::after {
        left: 11px;
        right: 11px;
    }

    .mg-contact-btn {
        width: 125px;
    }
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 950px) {

    .mg-header {
        height: 76px;
    }

    .mg-header.scrolled {
        height: 70px;
    }

    .mg-header-inner {
        width:
            calc(100% - 32px);
    }

    .mg-nav,
    .mg-contact-btn {
        display: none;
    }

    .mg-mobile-toggle {
        display: flex;
    }

    .mg-mobile-menu {
        display: block;
    }

    .mg-logo img,
    .mg-header.scrolled
    .mg-logo img {
        width: 150px;
    }
}


/* =========================================================
   TABLET CONTACT
   ========================================================= */

@media (max-width: 760px) {

    .mg-contact-modal {
        padding: 12px;
    }

    .mg-contact-box {
        max-height:
            calc(100vh - 24px);

        border-radius: 19px;
    }

    .mg-contact-top {
        padding:
            29px 25px 22px;
    }

    .mg-contact-form-wrap {
        padding:
            0 25px 28px;
    }

    .mg-form-grid {
        grid-template-columns: 1fr;
    }

    .mg-form-field.full {
        grid-column: auto;
    }

    .mg-form-submit-area {
        align-items: stretch;

        flex-direction: column;
    }

    .mg-form-submit {
        width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 500px) {

    .mg-header-inner {
        width:
            calc(100% - 24px);
    }

    .mg-logo img,
    .mg-header.scrolled
    .mg-logo img {
        width: 140px;
    }

    .mg-mobile-toggle {
        width: 43px;
        height: 43px;
    }

    .mg-contact-title {
        font-size: 30px;
    }

    .mg-contact-intro {
        font-size: 12.5px;
    }

    .mg-contact-close {
        width: 40px;
        height: 40px;

        font-size: 20px;
    }

    .mg-contact-top {
        padding:
            25px 20px 20px;
    }

    .mg-contact-form-wrap {
        padding:
            0 20px 24px;
    }

    .mg-form-input,
    .mg-form-select {
        height: 47px;
    }

    .mg-form-textarea {
        min-height: 120px;
    }

    .mg-textarea-footer {
        flex-direction: column;

        gap: 4px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.mg-nav-link:focus-visible,
.mg-contact-btn:focus-visible,
.mg-mobile-toggle:focus-visible,
.mg-mobile-link:focus-visible,
.mg-mobile-dropdown-toggle:focus-visible,
.mg-mobile-sub-link:focus-visible,
.mg-mobile-contact:focus-visible,
.mg-contact-close:focus-visible,
.mg-form-submit:focus-visible,
.mg-form-input:focus-visible,
.mg-form-select:focus-visible,
.mg-form-textarea:focus-visible {
    outline:
        2px solid var(--mg-green);

    outline-offset:
        3px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mg-header *,
    .mg-header *::before,
    .mg-header *::after,
    .mg-contact-modal *,
    .mg-contact-modal *::before,
    .mg-contact-modal *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}
/*HEADER END*//* =========================================================
   MOUNTAINGATES HSE
   PREMIUM 2026 RESPONSIVE CSS
   ---------------------------------------------------------
   ZERO ARROWS
   ZERO PLUS SIGNS
   ZERO NUMBER BADGES
   HERO HAS RESPONSIVE TOP MARGIN
   FULL DESKTOP / LAPTOP / TABLET / MOBILE SUPPORT
   SMOOTH PREMIUM HOVER EFFECTS
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --mg-dark: #32633E;
    --mg-light: #6dab78;
    --mg-white: #fff;

    --mg-text: #26342b;
    --mg-muted: #68736c;

    --mg-soft: #f4f8f5;

    --mg-border:
        rgba(50, 99, 62, .12);

    --mg-border-soft:
        rgba(50, 99, 62, .075);

    --mg-shadow:
        0 18px 55px
        rgba(31, 53, 38, .07);

    --mg-shadow-hover:
        0 30px 75px
        rgba(31, 53, 38, .14);

    --mg-shadow-image:
        0 25px 80px
        rgba(31, 53, 38, .11);

    --mg-ease:
        cubic-bezier(.22, .61, .36, 1);
}


/* =========================================================
   GLOBAL RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: #fff;

    color: var(--mg-text);

    font-family:
        "DM Sans",
        Arial,
        Helvetica,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    width: 100%;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   HSE SECTION
========================================================= */

.mg-hse-section {

    position: relative;

    width: 100%;

    padding:
        90px
        24px
        120px;

    overflow: hidden;

    background: #fff;

    isolation: isolate;
}


/* =========================================================
   SOFT BACKGROUND DETAILS
========================================================= */

.mg-hse-section::before {

    content: "";

    position: absolute;

    z-index: -1;

    width: 520px;
    height: 520px;

    top: -310px;
    right: -240px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(109,171,120,.08),
            transparent 70%
        );

    pointer-events: none;
}

.mg-hse-section::after {

    content: "";

    position: absolute;

    z-index: -1;

    width: 460px;
    height: 460px;

    left: -260px;
    bottom: -260px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(50,99,62,.045),
            transparent 70%
        );

    pointer-events: none;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.mg-hse-container {

    width: 100%;

    max-width:
        1280px;

    margin:
        0 auto;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.mg-hse-hero {

    position: relative;

    width: 100%;

    height:
        clamp(
            390px,
            49vw,
            660px
        );

    margin:
        0 auto 48px;

    overflow: hidden;

    border-radius:
        34px;

    background:
        var(--mg-soft);

    cursor:
        pointer;

    box-shadow:
        var(--mg-shadow-image);

    isolation:
        isolate;
}


/* =========================================================
   HERO FRAME
========================================================= */

.mg-hse-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    border:
        1px solid
        rgba(255,255,255,.20);

    border-radius:
        inherit;

    pointer-events:
        none;
}


/* =========================================================
   HERO LIGHT
========================================================= */

.mg-hse-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            135deg,
            rgba(50,99,62,.07),
            transparent 44%,
            rgba(109,171,120,.08)
        );

    opacity:
        .75;

    pointer-events:
        none;

    transition:
        opacity
        .6s
        ease;
}

.mg-hse-hero:hover::after {

    opacity:
        1;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.mg-hse-hero img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transform:
        scale(1.001);

    transition:
        transform
        1.15s
        var(--mg-ease),

        filter
        .7s
        ease;
}

.mg-hse-hero:hover img {

    transform:
        scale(1.055);

    filter:
        saturate(1.045)
        contrast(1.015);
}


/* =========================================================
   MAIN WHITE PANEL
========================================================= */

.mg-hse-main {

    width: 100%;

    padding:
        12px;

    background:
        #fff;

    border:
        1px solid
        var(--mg-border);

    border-radius:
        34px;

    box-shadow:
        var(--mg-shadow);

    overflow:
        hidden;
}


/* =========================================================
   INTRO
========================================================= */

.mg-hse-intro {

    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        50px;

    padding:
        50px
        44px
        43px;

    cursor:
        pointer;
}


/* =========================================================
   INTRO TEXT
========================================================= */

.mg-hse-intro-text {

    max-width:
        900px;

    transition:
        transform
        .55s
        var(--mg-ease);
}

.mg-hse-intro:hover
.mg-hse-intro-text {

    transform:
        translateX(5px);
}


/* =========================================================
   EYEBROW
========================================================= */

.mg-hse-eyebrow {

    display:
        block;

    margin-bottom:
        13px;

    color:
        var(--mg-light);

    font-family:
        "Manrope",
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .21em;

    line-height:
        1.2;

    text-transform:
        uppercase;

    transition:
        color .3s ease,
        letter-spacing .4s var(--mg-ease);
}

.mg-hse-intro:hover
.mg-hse-eyebrow {

    color:
        var(--mg-dark);

    letter-spacing:
        .25em;
}


/* =========================================================
   INTRO TITLE
========================================================= */

.mg-hse-intro h1 {

    max-width:
        920px;

    color:
        var(--mg-dark);

    font-family:
        "Manrope",
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        clamp(
            30px,
            4vw,
            51px
        );

    font-weight:
        800;

    line-height:
        1.01;

    letter-spacing:
        -.058em;
}

.mg-hse-intro h1 span {

    color:
        var(--mg-light);

    transition:
        color .35s ease;
}

.mg-hse-intro:hover
h1 span {

    color:
        var(--mg-dark);
}


/* =========================================================
   INTRO TEXT
========================================================= */

.mg-hse-intro p {

    max-width:
        780px;

    margin-top:
        19px;

    color:
        var(--mg-muted);

    font-size:
        13px;

    font-weight:
        400;

    line-height:
        1.78;

    transition:
        color .35s ease,
        transform .4s var(--mg-ease);
}

.mg-hse-intro p:hover {

    color:
        var(--mg-dark);

    transform:
        translateX(3px);
}


/* =========================================================
   INTRO SIDE
========================================================= */

.mg-hse-intro-side {

    display:
        flex;

    align-items:
        center;

    gap:
        13px;

    flex-shrink:
        0;

    cursor:
        pointer;
}

.mg-hse-scroll-text {

    writing-mode:
        vertical-rl;

    transform:
        rotate(180deg);

    color:
        var(--mg-light);

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .17em;

    line-height:
        1;
}

.mg-hse-scroll-line {

    width:
        2px;

    height:
        58px;

    background:
        var(--mg-light);

    border-radius:
        50px;

    transition:
        height
        .55s
        var(--mg-ease),

        background
        .3s
        ease;
}

.mg-hse-intro:hover
.mg-hse-scroll-line {

    height:
        84px;

    background:
        var(--mg-dark);
}


/* =========================================================
   FEATURE
========================================================= */

.mg-hse-feature {

    position:
        relative;

    margin:
        0
        30px
        18px;

    padding:
        43px
        43px;

    overflow:
        hidden;

    border:
        1px solid
        var(--mg-border);

    border-radius:
        25px;

    background:
        linear-gradient(
            135deg,
            #f1f7f2,
            #fff 76%
        );

    cursor:
        pointer;

    transition:
        transform
        .55s
        var(--mg-ease),

        box-shadow
        .55s
        var(--mg-ease),

        border-color
        .4s ease;
}


/* =========================================================
   FEATURE BACKGROUND
========================================================= */

.mg-hse-feature::before {

    content:
        "";

    position:
        absolute;

    width:
        350px;

    height:
        350px;

    left:
        -180px;

    top:
        -190px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(109,171,120,.17),
            transparent 67%
        );

    opacity:
        0;

    pointer-events:
        none;

    transition:
        opacity
        .5s
        ease,

        transform
        .7s
        var(--mg-ease);
}

.mg-hse-feature:hover {

    transform:
        translateY(-5px);

    box-shadow:
        var(--mg-shadow-hover);

    border-color:
        rgba(109,171,120,.28);
}

.mg-hse-feature:hover::before {

    opacity:
        1;

    transform:
        translate(
            35px,
            30px
        );
}


/* =========================================================
   FEATURE CONTENT
========================================================= */

.mg-hse-feature-content {

    position:
        relative;

    z-index:
        2;

    max-width:
        940px;
}


/* =========================================================
   FEATURE META
========================================================= */

.mg-hse-meta {

    margin-bottom:
        11px;
}

.mg-hse-meta span {

    color:
        var(--mg-light);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .17em;

    text-transform:
        uppercase;
}


/* =========================================================
   FEATURE TITLE
========================================================= */

.mg-hse-feature h2 {

    max-width:
        850px;

    color:
        var(--mg-dark);

    font-family:
        "Manrope",
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        clamp(
            25px,
            3vw,
            39px
        );

    font-weight:
        800;

    line-height:
        1.07;

    letter-spacing:
        -.05em;
}

.mg-hse-feature h2 span {

    color:
        var(--mg-light);

    transition:
        color .35s ease;
}

.mg-hse-feature:hover
h2 span {

    color:
        var(--mg-dark);
}


/* =========================================================
   FEATURE PARAGRAPHS
========================================================= */

.mg-hse-feature p {

    max-width:
        900px;

    margin-top:
        16px;

    color:
        var(--mg-muted);

    font-size:
        13px;

    line-height:
        1.82;

    transition:
        color .3s ease,
        transform .4s var(--mg-ease);
}

.mg-hse-feature p:hover {

    color:
        var(--mg-dark);

    transform:
        translateX(3px);
}


/* =========================================================
   HSE CARDS
========================================================= */

.mg-hse-cards {

    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );

    gap:
        18px;

    padding:
        0
        30px
        18px;
}


/* =========================================================
   CARD
========================================================= */

.mg-hse-card {

    position:
        relative;

    min-height:
        350px;

    padding:
        31px;

    overflow:
        hidden;

    border:
        1px solid
        var(--mg-border);

    border-radius:
        24px;

    background:
        #fff;

    cursor:
        pointer;

    transition:
        transform
        .55s
        var(--mg-ease),

        box-shadow
        .55s
        var(--mg-ease),

        border-color
        .4s ease;
}

.mg-hse-card::before {

    content:
        "";

    position:
        absolute;

    width:
        250px;

    height:
        250px;

    left:
        -80px;

    top:
        -100px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(109,171,120,.15),
            transparent 67%
        );

    opacity:
        0;

    pointer-events:
        none;

    transition:
        opacity
        .5s
        ease,

        transform
        .65s
        var(--mg-ease);
}

.mg-hse-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 25px 65px
        rgba(31,53,38,.10);

    border-color:
        rgba(109,171,120,.28);
}

.mg-hse-card:hover::before {

    opacity:
        1;

    transform:
        translate(
            30px,
            30px
        );
}


/* =========================================================
   CARD HEAD
========================================================= */

.mg-hse-card-head {

    position:
        relative;

    z-index:
        2;

    min-height:
        28px;

    margin-bottom:
        27px;
}


/* =========================================================
   CARD STATUS
========================================================= */

.mg-hse-card-status {

    display:
        inline-block;

    padding:
        7px
        12px;

    border:
        1px solid
        rgba(109,171,120,.23);

    border-radius:
        100px;

    background:
        rgba(109,171,120,.065);

    color:
        var(--mg-dark);

    font-size:
        8px;

    font-weight:
        800;

    letter-spacing:
        .13em;

    line-height:
        1.1;

    text-transform:
        uppercase;

    transition:
        background
        .35s
        ease,

        color
        .35s
        ease,

        transform
        .45s
        var(--mg-ease);
}

.mg-hse-card:hover
.mg-hse-card-status {

    background:
        var(--mg-dark);

    color:
        #fff;

    transform:
        translateY(-2px);
}


/* =========================================================
   CARD BODY
========================================================= */

.mg-hse-card-body {

    position:
        relative;

    z-index:
        2;
}


/* =========================================================
   CARD LABEL
========================================================= */

.mg-hse-card-label {

    display:
        block;

    margin-bottom:
        10px;

    color:
        var(--mg-light);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .16em;

    line-height:
        1.2;

    text-transform:
        uppercase;

    cursor:
        pointer;

    transition:
        color
        .3s
        ease,

        transform
        .4s
        var(--mg-ease);
}

.mg-hse-card:hover
.mg-hse-card-label {

    color:
        var(--mg-dark);

    transform:
        translateX(4px);
}


/* =========================================================
   CARD TITLE
========================================================= */

.mg-hse-card h3 {

    max-width:
        430px;

    color:
        var(--mg-dark);

    font-family:
        "Manrope",
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        22px;

    font-weight:
        800;

    line-height:
        1.13;

    letter-spacing:
        -.035em;

    cursor:
        pointer;

    transition:
        transform
        .45s
        var(--mg-ease);
}

.mg-hse-card:hover h3 {

    transform:
        translateX(5px);
}


/* =========================================================
   CARD TEXT
========================================================= */

.mg-hse-card p {

    margin-top:
        14px;

    color:
        var(--mg-muted);

    font-size:
        12.5px;

    line-height:
        1.78;

    cursor:
        pointer;

    transition:
        color
        .3s
        ease,

        transform
        .4s
        var(--mg-ease);
}

.mg-hse-card p:hover {

    color:
        var(--mg-dark);

    transform:
        translateX(3px);
}


/* =========================================================
   CAPABILITY / COMMITMENT INTRO
========================================================= */

.mg-hse-capability {

    display:
        grid;

    grid-template-columns:
        .82fr
        1.18fr;

    gap:
        52px;

    margin:
        0
        30px
        18px;

    padding:
        43px
        40px;

    border:
        1px solid
        var(--mg-border);

    border-radius:
        25px;

    background:
        #fff;

    cursor:
        pointer;

    transition:
        transform
        .55s
        var(--mg-ease),

        box-shadow
        .55s
        var(--mg-ease),

        border-color
        .4s ease;
}

.mg-hse-capability:hover {

    transform:
        translateY(-5px);

    box-shadow:
        var(--mg-shadow-hover);

    border-color:
        rgba(109,171,120,.28);
}


/* =========================================================
   CAPABILITY TITLE
========================================================= */

.mg-hse-capability-left h2 {

    max-width:
        440px;

    color:
        var(--mg-dark);

    font-family:
        "Manrope",
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        clamp(
            27px,
            3.1vw,
            40px
        );

    font-weight:
        800;

    line-height:
        1.05;

    letter-spacing:
        -.05em;
}

.mg-hse-capability-left h2 span {

    color:
        var(--mg-light);

    transition:
        color
        .35s
        ease;
}

.mg-hse-capability:hover
.mg-hse-capability-left h2 span {

    color:
        var(--mg-dark);
}


/* =========================================================
   CAPABILITY TEXT
========================================================= */

.mg-hse-capability-right p {

    max-width:
        700px;

    color:
        var(--mg-muted);

    font-size:
        13px;

    line-height:
        1.8;

    transition:
        color
        .3s
        ease,

        transform
        .4s
        var(--mg-ease);
}

.mg-hse-capability-right p + p {

    margin-top:
        15px;
}

.mg-hse-capability-right p:hover {

    color:
        var(--mg-dark);

    transform:
        translateX(3px);
}


/* =========================================================
   CAPABILITY LINE
========================================================= */

.mg-hse-capability-line {

    width:
        48px;

    height:
        3px;

    margin-top:
        25px;

    border-radius:
        50px;

    background:
        var(--mg-light);

    transition:
        width
        .55s
        var(--mg-ease),

        background
        .3s
        ease;
}

.mg-hse-capability:hover
.mg-hse-capability-line {

    width:
        105px;

    background:
        var(--mg-dark);
}


/* =========================================================
   COMMITMENT PANEL
========================================================= */

.mg-hse-commitment {

    position:
        relative;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        45px;

    margin:
        0
        30px
        30px;

    padding:
        54px;

    overflow:
        hidden;

    border-radius:
        27px;

    background:
        var(--mg-dark);

    color:
        #fff;

    cursor:
        pointer;

    box-shadow:
        0 22px 65px
        rgba(50,99,62,.13);

    transition:
        transform
        .6s
        var(--mg-ease),

        box-shadow
        .6s
        ease;
}

.mg-hse-commitment:hover {

    transform:
        translateY(-6px);

    box-shadow:
        0 38px 90px
        rgba(50,99,62,.20);
}


/* =========================================================
   COMMITMENT DETAIL
========================================================= */

.mg-hse-commitment::before {

    content:
        "";

    position:
        absolute;

    width:
        500px;

    height:
        500px;

    right:
        -240px;

    top:
        -310px;

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius:
        50%;

    transition:
        transform
        .85s
        var(--mg-ease);
}

.mg-hse-commitment:hover::before {

    transform:
        scale(1.23);
}


/* =========================================================
   COMMITMENT CONTENT
========================================================= */

.mg-hse-commitment-content {

    position:
        relative;

    z-index:
        2;
}

.mg-hse-commitment-content > span {

    display:
        block;

    margin-bottom:
        13px;

    color:
        var(--mg-light);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .18em;

    text-transform:
        uppercase;
}


/* =========================================================
   COMMITMENT TITLE
========================================================= */

.mg-hse-commitment h2 {

    color:
        #fff;

    font-family:
        "Manrope",
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        clamp(
            28px,
            3.6vw,
            47px
        );

    font-weight:
        800;

    line-height:
        1.04;

    letter-spacing:
        -.05em;

    transition:
        transform
        .5s
        var(--mg-ease);
}

.mg-hse-commitment:hover h2 {

    transform:
        translateX(6px);
}


/* =========================================================
   COMMITMENT TEXT
========================================================= */

.mg-hse-commitment p {

    max-width:
        690px;

    margin-top:
        18px;

    color:
        rgba(255,255,255,.73);

    font-size:
        13px;

    line-height:
        1.75;

    transition:
        color
        .3s
        ease,

        transform
        .4s
        var(--mg-ease);
}

.mg-hse-commitment p:hover {

    color:
        #fff;

    transform:
        translateX(3px);
}


/* =========================================================
   COMMITMENT MARK
========================================================= */

.mg-hse-commitment-mark {

    position:
        relative;

    z-index:
        2;

    display:
        flex;

    align-items:
        flex-end;

    gap:
        8px;

    height:
        108px;

    flex-shrink:
        0;
}

.mg-hse-commitment-mark div {

    width:
        8px;

    height:
        34px;

    border:
        1px solid
        rgba(255,255,255,.35);

    border-radius:
        50px;

    transition:
        height
        .6s
        var(--mg-ease);
}

.mg-hse-commitment-mark div:nth-child(2) {

    height:
        66px;
}

.mg-hse-commitment-mark div:nth-child(3) {

    height:
        101px;

    background:
        var(--mg-light);

    border-color:
        var(--mg-light);
}

.mg-hse-commitment:hover
.mg-hse-commitment-mark div:nth-child(1) {

    height:
        54px;
}

.mg-hse-commitment:hover
.mg-hse-commitment-mark div:nth-child(2) {

    height:
        84px;
}

.mg-hse-commitment:hover
.mg-hse-commitment-mark div:nth-child(3) {

    height:
        117px;
}


/* =========================================================
   BOTTOM IMAGE
========================================================= */

.mg-hse-bottom-image {

    position:
        relative;

    width:
        calc(100% - 60px);

    height:
        clamp(
            430px,
            48vw,
            650px
        );

    margin:
        0
        30px
        30px;

    overflow:
        hidden;

    border-radius:
        29px;

    background:
        var(--mg-soft);

    cursor:
        pointer;

    isolation:
        isolate;

    box-shadow:
        0 25px 75px
        rgba(31,53,38,.11);
}


/* =========================================================
   BOTTOM IMAGE FRAME
========================================================= */

.mg-hse-bottom-image::before {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    z-index:
        4;

    border:
        1px solid
        rgba(255,255,255,.20);

    border-radius:
        inherit;

    pointer-events:
        none;
}


/* =========================================================
   BOTTOM IMAGE
========================================================= */

.mg-hse-bottom-image img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        center;

    transform:
        scale(1.001);

    transition:
        transform
        1.15s
        var(--mg-ease),

        filter
        .7s
        ease;
}

.mg-hse-bottom-image:hover img {

    transform:
        scale(1.06);

    filter:
        saturate(1.05)
        contrast(1.015);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.mg-hse-image-overlay {

    position:
        absolute;

    inset:
        0;

    z-index:
        3;

    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        flex-start;

    padding:
        42px;

    background:
        linear-gradient(
            180deg,
            transparent 38%,
            rgba(0,0,0,.58)
        );

    pointer-events:
        none;
}


/* =========================================================
   IMAGE CAPTION
========================================================= */

.mg-hse-image-overlay > div {

    display:
        flex;

    flex-direction:
        column;

    gap:
        7px;

    transform:
        translateY(8px);

    transition:
        transform
        .5s
        var(--mg-ease);
}

.mg-hse-bottom-image:hover
.mg-hse-image-overlay > div {

    transform:
        translateY(0);
}

.mg-hse-image-overlay span {

    color:
        var(--mg-light);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .18em;

    text-transform:
        uppercase;
}

.mg-hse-image-overlay strong {

    color:
        #fff;

    font-family:
        "Manrope",
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        clamp(
            22px,
            2.8vw,
            35px
        );

    font-weight:
        800;

    line-height:
        1.08;

    letter-spacing:
        -.04em;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1600px) {

    .mg-hse-section {

        padding-top:
            120px;

        padding-bottom:
            150px;
    }

    .mg-hse-hero {

        height:
            700px;

        margin-bottom:
            72px;
    }

    .mg-hse-intro {

        padding:
            62px
            55px
            52px;
    }

    .mg-hse-intro h1 {

        font-size:
            56px;
    }

    .mg-hse-feature {

        padding:
            48px;
    }

    .mg-hse-feature p,
    .mg-hse-capability-right p,
    .mg-hse-commitment p {

        font-size:
            14px;
    }
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1200px) {

    .mg-hse-section {

        padding:
            76px
            20px
            100px;
    }

    .mg-hse-hero {

        margin-bottom:
            42px;

        border-radius:
            30px;
    }

    .mg-hse-main {

        border-radius:
            30px;
    }

    .mg-hse-intro {

        padding:
            43px
            35px
            39px;
    }

    .mg-hse-feature,
    .mg-hse-capability,
    .mg-hse-commitment {

        margin-left:
            22px;

        margin-right:
            22px;
    }

    .mg-hse-cards {

        padding-left:
            22px;

        padding-right:
            22px;
    }

    .mg-hse-bottom-image {

        width:
            calc(100% - 44px);

        margin-left:
            22px;

        margin-right:
            22px;
    }
}


/* =========================================================
   TABLET LANDSCAPE
========================================================= */

@media (max-width: 1024px) {

    .mg-hse-section {

        padding:
            64px
            18px
            90px;
    }

    .mg-hse-hero {

        height:
            55vw;

        min-height:
            340px;

        max-height:
            540px;

        margin-top:
            10px;

        margin-bottom:
            38px;

        border-radius:
            25px;
    }

    .mg-hse-intro {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            28px;
    }

    .mg-hse-intro-side {

        display:
            none;
    }

    .mg-hse-cards {

        grid-template-columns:
            1fr;
    }

    .mg-hse-card {

        min-height:
            auto;
    }

    .mg-hse-capability {

        grid-template-columns:
            1fr;

        gap:
            28px;
    }

    .mg-hse-commitment {

        padding:
            46px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .mg-hse-section {

        padding:
            48px
            13px
            76px;
    }

    .mg-hse-hero {

        height:
            58vw;

        min-height:
            265px;

        max-height:
            445px;

        margin-top:
            14px;

        margin-bottom:
            29px;

        border-radius:
            21px;
    }

    .mg-hse-main {

        padding:
            7px;

        border-radius:
            25px;
    }

    .mg-hse-intro {

        padding:
            31px
            20px
            28px;
    }

    .mg-hse-eyebrow {

        font-size:
            8px;
    }

    .mg-hse-intro h1 {

        font-size:
            clamp(
                26px,
                6vw,
                37px
            );
    }

    .mg-hse-intro p {

        font-size:
            12px;

        line-height:
            1.72;
    }

    .mg-hse-feature {

        margin:
            0
            13px
            14px;

        padding:
            30px
            25px;

        border-radius:
            20px;
    }

    .mg-hse-feature h2 {

        font-size:
            clamp(
                22px,
                5vw,
                28px
            );
    }

    .mg-hse-feature p {

        font-size:
            12px;

        line-height:
            1.74;
    }

    .mg-hse-cards {

        gap:
            13px;

        padding:
            0
            13px
            14px;
    }

    .mg-hse-card {

        padding:
            27px
            22px;

        border-radius:
            20px;
    }

    .mg-hse-card h3 {

        font-size:
            21px;
    }

    .mg-hse-card p {

        font-size:
            12px;

        line-height:
            1.72;
    }

    .mg-hse-capability {

        margin:
            0
            13px
            14px;

        padding:
            31px
            24px;

        border-radius:
            20px;
    }

    .mg-hse-capability-left h2 {

        font-size:
            31px;
    }

    .mg-hse-capability-right p {

        font-size:
            12px;

        line-height:
            1.75;
    }

    .mg-hse-commitment {

        margin:
            0
            13px
            22px;

        padding:
            37px
            26px;

        border-radius:
            21px;
    }

    .mg-hse-commitment h2 {

        font-size:
            30px;
    }

    .mg-hse-commitment p {

        font-size:
            12px;

        line-height:
            1.72;
    }

    .mg-hse-commitment-mark {

        transform:
            scale(.82);

        transform-origin:
            right center;
    }

    .mg-hse-bottom-image {

        width:
            calc(100% - 26px);

        height:
            clamp(
                350px,
                63vw,
                500px
            );

        margin:
            0
            13px
            13px;

        border-radius:
            21px;
    }

    .mg-hse-image-overlay {

        padding:
            29px
            24px;
    }
}


/* =========================================================
   LARGE MOBILE
========================================================= */

@media (max-width: 600px) {

    .mg-hse-section {

        padding:
            38px
            9px
            58px;
    }

    .mg-hse-hero {

        height:
            64vw;

        min-height:
            225px;

        max-height:
            350px;

        margin-top:
            16px;

        margin-bottom:
            25px;

        border-radius:
            18px;
    }

    .mg-hse-main {

        padding:
            5px;

        border-radius:
            21px;
    }

    .mg-hse-intro {

        padding:
            25px
            15px
            23px;
    }

    .mg-hse-eyebrow {

        margin-bottom:
            10px;

        font-size:
            7px;

        letter-spacing:
            .14em;
    }

    .mg-hse-intro h1 {

        font-size:
            clamp(
                23px,
                7.5vw,
                30px
            );

        line-height:
            1.02;
    }

    .mg-hse-intro p {

        margin-top:
            13px;

        font-size:
            10.8px;

        line-height:
            1.67;
    }

    .mg-hse-feature {

        margin:
            0
            9px
            10px;

        padding:
            24px
            18px;

        border-radius:
            18px;
    }

    .mg-hse-feature h2 {

        font-size:
            20px;
    }

    .mg-hse-feature p {

        margin-top:
            12px;

        font-size:
            10.7px;

        line-height:
            1.67;
    }

    .mg-hse-cards {

        gap:
            10px;

        padding:
            0
            9px
            10px;
    }

    .mg-hse-card {

        padding:
            23px
            18px;

        border-radius:
            18px;
    }

    .mg-hse-card-head {

        margin-bottom:
            21px;
    }

    .mg-hse-card-status {

        font-size:
            7px;

        letter-spacing:
            .10em;

        padding:
            6px
            9px;
    }

    .mg-hse-card-label {

        font-size:
            7.5px;
    }

    .mg-hse-card h3 {

        font-size:
            18px;
    }

    .mg-hse-card p {

        margin-top:
            11px;

        font-size:
            10.5px;

        line-height:
            1.66;
    }

    .mg-hse-capability {

        margin:
            0
            9px
            10px;

        padding:
            25px
            18px;

        border-radius:
            18px;
    }

    .mg-hse-capability-left h2 {

        font-size:
            25px;
    }

    .mg-hse-capability-right p {

        font-size:
            10.6px;

        line-height:
            1.67;
    }

    .mg-hse-capability-line {

        width:
            40px;

        height:
            2px;

        margin-top:
            19px;
    }

    .mg-hse-capability:hover
    .mg-hse-capability-line {

        width:
            80px;
    }

    .mg-hse-commitment {

        margin:
            0
            9px
            17px;

        padding:
            32px
            20px;

        border-radius:
            18px;
    }

    .mg-hse-commitment-content > span {

        margin-bottom:
            10px;

        font-size:
            7px;

        letter-spacing:
            .14em;
    }

    .mg-hse-commitment h2 {

        font-size:
            26px;

        line-height:
            1.05;
    }

    .mg-hse-commitment p {

        margin-top:
            14px;

        font-size:
            10.6px;

        line-height:
            1.66;
    }

    .mg-hse-commitment-mark {

        display:
            none;
    }

    .mg-hse-bottom-image {

        width:
            calc(100% - 18px);

        height:
            clamp(
                315px,
                78vw,
                430px
            );

        margin:
            0
            9px
            9px;

        border-radius:
            18px;
    }

    .mg-hse-image-overlay {

        padding:
            23px
            18px;
    }

    .mg-hse-image-overlay span {

        font-size:
            7px;
    }

    .mg-hse-image-overlay strong {

        font-size:
            20px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .mg-hse-section {

        padding:
            30px
            7px
            50px;
    }

    .mg-hse-hero {

        height:
            67vw;

        min-height:
            205px;

        max-height:
            320px;

        margin-top:
            18px;

        margin-bottom:
            21px;

        border-radius:
            16px;
    }

    .mg-hse-main {

        padding:
            4px;

        border-radius:
            19px;
    }

    .mg-hse-intro {

        padding:
            22px
            13px
            20px;
    }

    .mg-hse-intro h1 {

        font-size:
            21px;
    }

    .mg-hse-intro p {

        font-size:
            10.3px;
    }

    .mg-hse-feature {

        padding:
            22px
            16px;
    }

    .mg-hse-feature h2 {

        font-size:
            18px;
    }

    .mg-hse-feature p {

        font-size:
            10.2px;
    }

    .mg-hse-card {

        padding:
            21px
            16px;
    }

    .mg-hse-card h3 {

        font-size:
            17px;
    }

    .mg-hse-card p {

        font-size:
            10px;
    }

    .mg-hse-capability {

        padding:
            23px
            16px;
    }

    .mg-hse-capability-left h2 {

        font-size:
            23px;
    }

    .mg-hse-capability-right p {

        font-size:
            10.2px;
    }

    .mg-hse-commitment {

        padding:
            28px
            17px;
    }

    .mg-hse-commitment h2 {

        font-size:
            23px;
    }

    .mg-hse-commitment p {

        font-size:
            10.2px;
    }

    .mg-hse-bottom-image {

        height:
            300px;

        border-radius:
            17px;
    }

    .mg-hse-image-overlay {

        padding:
            20px
            16px;
    }

    .mg-hse-image-overlay strong {

        font-size:
            18px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .mg-hse-section {

        padding:
            25px
            5px
            44px;
    }

    .mg-hse-hero {

        height:
            69vw;

        min-height:
            190px;

        max-height:
            285px;

        margin-top:
            20px;

        margin-bottom:
            19px;

        border-radius:
            14px;
    }

    .mg-hse-main {

        padding:
            3px;

        border-radius:
            17px;
    }

    .mg-hse-intro {

        padding:
            20px
            10px
            18px;
    }

    .mg-hse-eyebrow {

        font-size:
            6.5px;
    }

    .mg-hse-intro h1 {

        font-size:
            19px;
    }

    .mg-hse-intro p {

        font-size:
            9.7px;

        line-height:
            1.62;
    }

    .mg-hse-feature {

        padding:
            20px
            13px;

        border-radius:
            16px;
    }

    .mg-hse-feature h2 {

        font-size:
            17px;
    }

    .mg-hse-feature p {

        font-size:
            9.7px;
    }

    .mg-hse-card {

        padding:
            19px
            13px;

        border-radius:
            16px;
    }

    .mg-hse-card h3 {

        font-size:
            15.5px;
    }

    .mg-hse-card p {

        font-size:
            9.5px;

        line-height:
            1.62;
    }

    .mg-hse-capability {

        padding:
            20px
            13px;

        border-radius:
            16px;
    }

    .mg-hse-capability-left h2 {

        font-size:
            21px;
    }

    .mg-hse-capability-right p {

        font-size:
            9.7px;
    }

    .mg-hse-commitment {

        padding:
            25px
            13px;

        border-radius:
            16px;
    }

    .mg-hse-commitment h2 {

        font-size:
            21px;
    }

    .mg-hse-commitment p {

        font-size:
            9.7px;
    }

    .mg-hse-bottom-image {

        height:
            275px;

        border-radius:
            15px;
    }

    .mg-hse-image-overlay {

        padding:
            18px
            13px;
    }

    .mg-hse-image-overlay strong {

        font-size:
            17px;
    }
}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) and (pointer: coarse) {

    .mg-hse-hero,
    .mg-hse-intro,
    .mg-hse-intro-side,
    .mg-hse-feature,
    .mg-hse-card,
    .mg-hse-card-status,
    .mg-hse-capability,
    .mg-hse-commitment,
    .mg-hse-bottom-image {

        cursor:
            pointer;
    }

    .mg-hse-hero:hover img {

        transform:
            scale(1.001);

        filter:
            none;
    }

    .mg-hse-bottom-image:hover img {

        transform:
            scale(1.001);

        filter:
            none;
    }

    .mg-hse-feature:hover,
    .mg-hse-card:hover,
    .mg-hse-capability:hover,
    .mg-hse-commitment:hover {

        transform:
            none;
    }

    .mg-hse-feature:hover::before,
    .mg-hse-card:hover::before {

        opacity:
            0;
    }

    .mg-hse-commitment:hover::before {

        transform:
            none;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.mg-hse-section
:focus-visible {

    outline:
        2px solid
        var(--mg-light);

    outline-offset:
        4px;

    border-radius:
        5px;
}


/* =========================================================
   SELECTION
========================================================= */

.mg-hse-section
::selection {

    background:
        var(--mg-light);

    color:
        #fff;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior:
            auto;
    }

    .mg-hse-section *,
    .mg-hse-section *::before,
    .mg-hse-section *::after {

        animation:
            none !important;

        transition:
            none !important;
    }
}

@import url(
    'https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap'
);


/* =========================================================
   MOUNTAINGATES FOOTER
   ========================================================= */

.mountain-footer,
.mountain-footer * {
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}


/* =========================================================
   ROOT
   ========================================================= */

.mountain-footer {
    --footer-dark: #32633E;
    --footer-light: #6dab78;
    --footer-white: #fff;

    position: relative;

    width: 100%;

    overflow: hidden;

    background: #fff;

    color: #32633E;

    isolation: isolate;
}


/* =========================================================
   BACKGROUND DETAIL
   ========================================================= */

.mountain-footer::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    right: -360px;
    bottom: -470px;

    border-radius: 50%;

    background: rgba(109, 183, 120, 0.06);

    filter: blur(120px);

    pointer-events: none;

    z-index: -1;
}


.mountain-footer::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: #6dab78;

    opacity: 0.65;

    pointer-events: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.mountain-footer__container {
    position: relative;

    z-index: 2;

    width: min(1440px, calc(100% - 80px));

    margin: 0 auto;

    padding: 100px 0 38px;
}


/* =========================================================
   MAIN GRID
   ========================================================= */

.mountain-footer__main {
    display: grid;

    grid-template-columns:
        1.7fr
        1fr
        1fr
        1.25fr;

    gap: clamp(45px, 5vw, 95px);

    padding-bottom: 80px;
}


/* =========================================================
   BRAND
   ========================================================= */

.mountain-footer__brand {
    width: 100%;

    max-width: 410px;
}


.mountain-footer__logo {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: fit-content;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.4s cubic-bezier(.16, 1, .3, 1);
}


.mountain-footer__logo img {
    display: block;

    width: 235px;

    max-width: 100%;

    height: auto;

    object-fit: contain;

    transition:
        transform 0.45s cubic-bezier(.16, 1, .3, 1),
        opacity 0.3s ease;
}


.mountain-footer__logo:hover {
    transform: translateY(-5px);
}


.mountain-footer__logo:hover img {
    transform: scale(1.035);

    opacity: 0.88;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.mountain-footer__description {
    max-width: 375px;

    margin: 25px 0 0;

    color: rgba(50, 99, 62, 0.67);

    font-size: 13px;

    font-weight: 400;

    line-height: 1.85;

    cursor: default;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.mountain-footer__description:hover {
    color: #32633E;

    transform: translateX(4px);
}


/* =========================================================
   COLUMNS
   ========================================================= */

.mountain-footer__column {
    min-width: 0;
}


.mountain-footer__contact {
    width: 100%;
}


/* =========================================================
   COLUMN TITLE
   ========================================================= */

.mountain-footer__title {
    position: relative;

    display: inline-block;

    margin: 5px 0 25px;

    color: #32633E;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    cursor: default;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.mountain-footer__title::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    border-radius: 50px;

    background: #6dab78;

    transition:
        width 0.35s cubic-bezier(.16, 1, .3, 1);
}


.mountain-footer__title:hover {
    color: #6dab78;

    transform: translateX(3px);
}


.mountain-footer__title:hover::after {
    width: 100%;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.mountain-footer__navigation {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 14px;
}


/* =========================================================
   LINKS
   ========================================================= */

.mountain-footer__link {
    position: relative;

    display: inline-flex;

    align-items: center;

    width: fit-content;

    color: rgba(50, 99, 62, 0.60);

    font-size: 12px;

    font-weight: 500;

    line-height: 1.5;

    text-decoration: none;

    cursor: pointer;

    transition:
        color 0.3s ease,
        transform 0.35s cubic-bezier(.16, 1, .3, 1);
}


.mountain-footer__link::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0;
    height: 2px;

    border-radius: 50px;

    background: #6dab78;

    transition:
        width 0.35s cubic-bezier(.16, 1, .3, 1);
}


.mountain-footer__link:hover {
    color: #32633E;

    transform: translateX(7px);
}


.mountain-footer__link:hover::before {
    width: 100%;
}


/* =========================================================
   CONTACT LINKS
   ========================================================= */

.mountain-footer__contact-link {
    position: relative;

    display: block;

    width: fit-content;

    text-decoration: none;

    cursor: pointer;

    transition:
        color 0.3s ease,
        transform 0.35s cubic-bezier(.16, 1, .3, 1);
}


/* =========================================================
   PHONE
   ========================================================= */

.mountain-footer__phone {
    margin: 0 0 8px;

    color: #32633E;

    font-size: 15px;

    font-weight: 600;

    line-height: 1.3;

    letter-spacing: -0.01em;
}


.mountain-footer__phone::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0;
    height: 1px;

    border-radius: 50px;

    background: #6dab78;

    transition:
        width 0.35s ease;
}


.mountain-footer__phone:hover {
    color: #6dab78;

    transform: translateX(4px);
}


.mountain-footer__phone:hover::after {
    width: 100%;
}


/* =========================================================
   EMAIL
   ========================================================= */

.mountain-footer__email {
    margin-top: 2px;

    color: rgba(50, 99, 62, 0.58);

    font-size: 10px;

    font-weight: 500;

    line-height: 1.5;

    letter-spacing: 0.03em;
}


.mountain-footer__email::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 0;
    height: 1px;

    background: #6dab78;

    transition:
        width 0.35s ease;
}


.mountain-footer__email:hover {
    color: #6dab78;

    transform: translateX(4px);
}


.mountain-footer__email:hover::after {
    width: 100%;
}


/* =========================================================
   BOTTOM BAR
   ========================================================= */

.mountain-footer__bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    width: 100%;

    padding-top: 30px;

    border-top:
        1px solid rgba(50, 99, 62, 0.13);
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

.mountain-footer__copyright {
    flex: 0 0 auto;

    margin: 0;

    color: rgba(50, 99, 62, 0.48);

    font-size: 10px;

    font-weight: 500;

    line-height: 1.5;

    cursor: default;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.mountain-footer__copyright:hover {
    color: #32633E;

    transform: translateX(3px);
}


/* =========================================================
   SOCIAL
   ========================================================= */

.mountain-footer__social {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    margin-left: auto;
}


.mountain-footer__social-button {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 43px;
    height: 43px;

    border:
        1px solid rgba(50, 99, 62, 0.16);

    border-radius: 50%;

    background: #fff;

    color: #32633E;

    text-decoration: none;

    overflow: hidden;

    isolation: isolate;

    cursor: pointer;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        transform 0.4s cubic-bezier(.16, 1, .3, 1),
        box-shadow 0.35s ease;
}


.mountain-footer__social-button
+ .mountain-footer__social-button {
    margin-left: 10px;
}


/* =========================================================
   SOCIAL SVG
   ========================================================= */

.mountain-footer__social-button svg {
    position: relative;

    z-index: 3;

    width: 17px;
    height: 17px;

    fill: currentColor;

    stroke: currentColor;

    transition:
        transform 0.4s cubic-bezier(.16, 1, .3, 1);
}


/* =========================================================
   YOUTUBE — NORMAL STATE
   GREEN CIRCLE + WHITE TRIANGLE
   ========================================================= */

.mountain-footer__social-button--youtube {
    background: #32633E;

    border-color: #32633E;

    color: #fff;
}


/* YouTube outer shape */
.mountain-footer__social-button--youtube
svg path:first-child {
    fill: #fff;

    stroke: none;
}


/* YouTube triangle */
.mountain-footer__social-button--youtube
svg path:nth-child(2) {
    fill: #32633E;

    stroke: none;
}


/* =========================================================
   YOUTUBE — HOVER
   LIGHT GREEN CIRCLE + GREEN TRIANGLE
   ========================================================= */

.mountain-footer__social-button--youtube:hover {
    background: #6dab78;

    border-color: #6dab78;

    color: #32633E;

    transform:
        translateY(-6px)
        scale(1.05);

    box-shadow:
        0 14px 30px rgba(50, 99, 62, 0.22);
}


/* White YouTube body becomes light green */
.mountain-footer__social-button--youtube:hover
svg path:first-child {
    fill: #32633E;
}


/* Triangle remains green */
.mountain-footer__social-button--youtube:hover
svg path:nth-child(2) {
    fill: #6dab78;
}


.mountain-footer__social-button--youtube:hover svg {
    transform: scale(1.13);
}


/* =========================================================
   TIKTOK
   ========================================================= */

.mountain-footer__social-button--tiktok {
    background: #fff;

    color: #32633E;
}


.mountain-footer__social-button--tiktok::before {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: 50%;

    background: #6dab78;

    transform: scale(0);

    transition:
        transform 0.4s cubic-bezier(.16, 1, .3, 1);
}


.mountain-footer__social-button--tiktok:hover {
    color: #fff;

    background: #6dab78;

    border-color: #6dab78;

    transform:
        translateY(-5px)
        rotate(-4deg);

    box-shadow:
        0 14px 30px rgba(109, 183, 120, 0.24);
}


.mountain-footer__social-button--tiktok:hover::before {
    transform: scale(1);
}


.mountain-footer__social-button--tiktok:hover svg {
    transform:
        scale(1.13)
        rotate(6deg);
}


/* =========================================================
   INSTAGRAM
   ========================================================= */

.mountain-footer__social-button--instagram {
    background: #fff;

    color: #32633E;
}


.mountain-footer__social-button--instagram::before {
    content: "";

    position: absolute;

    inset: 4px;

    border:
        2px solid #6dab78;

    border-radius: 50%;

    opacity: 0;

    transform: scale(0.5);

    transition:
        opacity 0.3s ease,
        transform 0.4s cubic-bezier(.16, 1, .3, 1);
}


.mountain-footer__social-button--instagram:hover {
    color: #fff;

    background: #32633E;

    border-color: #6dab78;

    transform:
        translateY(-7px)
        scale(1.05);

    box-shadow:
        0 14px 32px rgba(50, 99, 62, 0.22);
}


.mountain-footer__social-button--instagram:hover::before {
    opacity: 1;

    transform: scale(1);
}


.mountain-footer__social-button--instagram:hover svg {
    transform:
        scale(1.12)
        rotate(5deg);
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1600px) {

    .mountain-footer__container {
        width: min(1500px, calc(100% - 120px));

        padding-top: 115px;

        padding-bottom: 45px;
    }


    .mountain-footer__main {
        gap: 100px;

        padding-bottom: 95px;
    }


    .mountain-footer__logo img {
        width: 255px;
    }


    .mountain-footer__description {
        font-size: 13.5px;
    }


    .mountain-footer__title {
        font-size: 13px;
    }


    .mountain-footer__link {
        font-size: 13px;
    }


    .mountain-footer__phone {
        font-size: 16px;
    }


    .mountain-footer__social-button {
        width: 45px;
        height: 45px;
    }

}


/* =========================================================
   SMALL DESKTOP
   ========================================================= */

@media (max-width: 1250px) {

    .mountain-footer__container {
        width: calc(100% - 60px);

        padding-top: 90px;
    }


    .mountain-footer__main {
        grid-template-columns:
            1.5fr
            1fr
            1fr
            1.2fr;

        gap: 45px;
    }


    .mountain-footer__logo img {
        width: 215px;
    }


    .mountain-footer__description {
        font-size: 12px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .mountain-footer__container {
        width: calc(100% - 45px);

        padding-top: 78px;
    }


    .mountain-footer__main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 55px 40px;

        padding-bottom: 68px;
    }


    .mountain-footer__brand {
        max-width: 360px;
    }


    .mountain-footer__logo img {
        width: 205px;
    }


    .mountain-footer__bottom {
        flex-wrap: wrap;

        gap: 22px;
    }


    .mountain-footer__social {
        margin-left: auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .mountain-footer__container {
        width: calc(100% - 30px);

        padding:
            65px
            0
            24px;
    }


    .mountain-footer__main {
        grid-template-columns: 1fr;

        gap: 42px;

        padding-bottom: 52px;
    }


    .mountain-footer__brand {
        max-width: 100%;
    }


    .mountain-footer__logo img {
        width: 190px;
    }


    .mountain-footer__description {
        max-width: 360px;

        margin-top: 21px;

        font-size: 11px;

        line-height: 1.85;
    }


    .mountain-footer__title {
        margin-bottom: 19px;

        font-size: 10px;
    }


    .mountain-footer__navigation {
        gap: 12px;
    }


    .mountain-footer__link {
        font-size: 11px;
    }


    .mountain-footer__phone {
        font-size: 14px;
    }


    .mountain-footer__email {
        font-size: 9px;
    }


    .mountain-footer__bottom {
        flex-direction: column;

        align-items: flex-start;

        justify-content: flex-start;

        gap: 20px;

        padding-top: 24px;
    }


    .mountain-footer__copyright {
        font-size: 8px;
    }


    .mountain-footer__social {
        width: 100%;

        margin-left: 0;

        justify-content: flex-start;
    }


    .mountain-footer__social-button {
        width: 37px;
        height: 37px;
    }


    .mountain-footer__social-button
    + .mountain-footer__social-button {
        margin-left: 9px;
    }


    .mountain-footer__social-button svg {
        width: 15px;
        height: 15px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .mountain-footer__container {
        width: calc(100% - 24px);

        padding-top: 56px;
    }


    .mountain-footer__main {
        gap: 37px;

        padding-bottom: 45px;
    }


    .mountain-footer__logo img {
        width: 175px;
    }


    .mountain-footer__description {
        font-size: 10px;

        line-height: 1.8;
    }


    .mountain-footer__title {
        font-size: 9px;
    }


    .mountain-footer__link {
        font-size: 10px;
    }


    .mountain-footer__phone {
        font-size: 13px;
    }


    .mountain-footer__email {
        font-size: 8.5px;
    }


    .mountain-footer__social-button {
        width: 34px;
        height: 34px;
    }


    .mountain-footer__social-button
    + .mountain-footer__social-button {
        margin-left: 8px;
    }


    .mountain-footer__social-button svg {
        width: 14px;
        height: 14px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 350px) {

    .mountain-footer__container {
        width: calc(100% - 20px);

        padding-top: 50px;
    }


    .mountain-footer__logo img {
        width: 160px;
    }


    .mountain-footer__description {
        font-size: 9px;
    }


    .mountain-footer__phone {
        font-size: 12px;
    }


    .mountain-footer__email {
        font-size: 8px;
    }


    .mountain-footer__social-button {
        width: 32px;
        height: 32px;
    }


    .mountain-footer__social-button svg {
        width: 13px;
        height: 13px;
    }


    .mountain-footer__copyright {
        font-size: 7px;
    }

}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) {

    .mountain-footer__logo:hover {
        transform: none;
    }


    .mountain-footer__logo:hover img {
        transform: none;

        opacity: 1;
    }


    .mountain-footer__description:hover {
        color: rgba(50, 99, 62, 0.67);

        transform: none;
    }


    .mountain-footer__title:hover {
        color: #32633E;

        transform: none;
    }


    .mountain-footer__title:hover::after {
        width: 0;
    }


    .mountain-footer__link:hover {
        color: rgba(50, 99, 62, 0.60);

        transform: none;
    }


    .mountain-footer__link:hover::before {
        width: 0;
    }


    .mountain-footer__phone:hover {
        color: #32633E;

        transform: none;
    }


    .mountain-footer__phone:hover::after {
        width: 0;
    }


    .mountain-footer__email:hover {
        color: rgba(50, 99, 62, 0.58);

        transform: none;
    }


    .mountain-footer__email:hover::after {
        width: 0;
    }


    .mountain-footer__copyright:hover {
        color: rgba(50, 99, 62, 0.48);

        transform: none;
    }


    /* -----------------------------------------------------
       YOUTUBE TOUCH
       ----------------------------------------------------- */

    .mountain-footer__social-button--youtube {
        background: #32633E;

        border-color: #32633E;

        color: #fff;
    }


    .mountain-footer__social-button--youtube
    svg path:first-child {
        fill: #fff;
    }


    .mountain-footer__social-button--youtube
    svg path:nth-child(2) {
        fill: #32633E;
    }


    .mountain-footer__social-button--youtube:hover {
        background: #32633E;

        border-color: #32633E;

        color: #fff;

        transform: none;

        box-shadow: none;
    }


    .mountain-footer__social-button--youtube:hover
    svg path:first-child {
        fill: #fff;
    }


    .mountain-footer__social-button--youtube:hover
    svg path:nth-child(2) {
        fill: #32633E;
    }


    /* -----------------------------------------------------
       OTHER SOCIAL BUTTONS
       ----------------------------------------------------- */

    .mountain-footer__social-button--tiktok:hover {
        color: #32633E;

        background: #fff;

        border-color:
            rgba(50, 99, 62, 0.16);

        transform: none;

        box-shadow: none;
    }


    .mountain-footer__social-button--tiktok:hover::before {
        transform: scale(0);
    }


    .mountain-footer__social-button--tiktok:hover svg {
        transform: none;
    }


    .mountain-footer__social-button--instagram:hover {
        color: #32633E;

        background: #fff;

        border-color:
            rgba(50, 99, 62, 0.16);

        transform: none;

        box-shadow: none;
    }


    .mountain-footer__social-button--instagram:hover::before {
        opacity: 0;

        transform: scale(0.5);
    }


    .mountain-footer__social-button--instagram:hover svg {
        transform: none;
    }

}


/* =========================================================
   KEYBOARD ACCESSIBILITY
   ========================================================= */

.mountain-footer a:focus-visible {
    outline:
        2px solid #6dab78;

    outline-offset: 5px;

    border-radius: 4px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mountain-footer *,
    .mountain-footer *::before,
    .mountain-footer *::after {
        transition: none !important;

        animation: none !important;
    }

}
