/* =========================================================
   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*/


/* --- Gallery Hero --- *//* =========================================================
   MOUNTAINGATES — PREMIUM GALLERY
   2026 RESPONSIVE / MODERN / CLEAN
========================================================= */

:root {
    --mg-dark-green: #32633E;
    --mg-light-green: #6dab78;
    --mg-white: #fff;

    --gallery-text: #172019;
    --gallery-muted: #657067;
    --gallery-border: rgba(50, 99, 62, 0.12);

    --gallery-radius: 22px;

    --gallery-shadow:
        0 18px 55px rgba(23, 35, 27, 0.08);

    --gallery-shadow-hover:
        0 28px 75px rgba(23, 35, 27, 0.15);

    --gallery-ease:
        cubic-bezier(.2, .65, .2, 1);
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--mg-white);
    color: var(--gallery-text);

    font-family:
        Inter,
        "Helvetica Neue",
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    width: 100%;
}

button {
    font: inherit;
}

button,
.gallery-item img,
.close-btn,
.nav-btn {
    cursor: pointer;
}


/* =========================================================
   GALLERY HERO
========================================================= */

.gallery-hero {
    width: min(100%, 1200px);

    margin: 0 auto;

    padding: 95px 32px 52px;

    text-align: center;
}

.gallery-hero h1 {
    width: fit-content;

    margin: 0 auto 16px;

    color: var(--mg-dark-green);

    font-size: clamp(34px, 4.4vw, 58px);
    font-weight: 700;

    letter-spacing: -0.045em;
    line-height: 1.02;

    cursor: pointer;

    transition:
        color .35s ease,
        transform .35s ease,
        letter-spacing .35s ease;
}

.gallery-hero h1:hover {
    color: var(--mg-light-green);

    transform: translateY(-2px);

    letter-spacing: -0.025em;
}

.gallery-hero p {
    max-width: 720px;

    margin: 0 auto;

    color: var(--gallery-muted);

    font-size: clamp(14px, 1.4vw, 17px);

    line-height: 1.8;

    cursor: pointer;

    transition:
        color .3s ease,
        transform .3s ease;
}

.gallery-hero p:hover {
    color: #4d5951;
    transform: translateY(-1px);
}


/* =========================================================
   GALLERY WRAPPER
========================================================= */

.gallery {
    width: min(100%, 1400px);

    margin: 0 auto;

    padding: 15px 32px 110px;
}


/* =========================================================
   PREMIUM GRID
========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(12, minmax(0, 1fr));

    grid-auto-rows: 290px;

    gap: 18px;
}


/* =========================================================
   GALLERY ITEM
========================================================= */

.gallery-item {
    position: relative;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

    border-radius: var(--gallery-radius);

    background: #f6f8f6;

    box-shadow: var(--gallery-shadow);

    cursor: pointer;

    transition:
        transform .5s var(--gallery-ease),
        box-shadow .5s ease;
}


/* First image larger */
.gallery-item:nth-child(1) {
    grid-column: span 6;
    grid-row: span 2;
}

/* Second image */
.gallery-item:nth-child(2) {
    grid-column: span 3;
}

/* Third image */
.gallery-item:nth-child(3) {
    grid-column: span 3;
}

/* Fourth image */
.gallery-item:nth-child(4) {
    grid-column: span 3;
}

/* Fifth image */
.gallery-item:nth-child(5) {
    grid-column: span 3;
}

/* Sixth image */
.gallery-item:nth-child(6) {
    grid-column: span 6;
}


/* =========================================================
   IMAGE
========================================================= */

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.001);

    transition:
        transform .85s var(--gallery-ease),
        filter .55s ease;
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.gallery-item::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(16, 28, 20, .42),
            rgba(16, 28, 20, .08) 48%,
            rgba(16, 28, 20, 0) 75%
        );

    opacity: .45;

    pointer-events: none;

    transition: opacity .5s ease;
}


/* =========================================================
   HOVER
========================================================= */

.gallery-item:hover {
    transform: translateY(-7px);

    box-shadow: var(--gallery-shadow-hover);
}

.gallery-item:hover img {
    transform: scale(1.055);

    filter: saturate(1.06);
}

.gallery-item:hover::after {
    opacity: .9;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
    position: fixed;

    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 42px;

    background:
        rgba(8, 15, 11, .94);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    z-index: 9999;
}

.lightbox.active {
    display: flex;
}


/* =========================================================
   LIGHTBOX IMAGE WRAPPER
========================================================= */

.lightbox::before {
    content: "";

    position: absolute;

    width: min(90vw, 1200px);
    height: min(82vh, 780px);

    border: 1px solid rgba(255,255,255,.11);

    border-radius: 24px;

    pointer-events: none;
}


/* =========================================================
   LIGHTBOX IMAGE
========================================================= */

.lightbox-img {
    position: relative;

    z-index: 2;

    display: block;

    width: auto;
    height: auto;

    max-width: min(88vw, 1180px);
    max-height: 82vh;

    object-fit: contain;

    border-radius: 16px;

    box-shadow:
        0 30px 100px rgba(0,0,0,.45);

    cursor: pointer;

    animation: galleryImageIn .45s var(--gallery-ease);
}


/* =========================================================
   LIGHTBOX IMAGE ANIMATION
========================================================= */

@keyframes galleryImageIn {

    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.close-btn {
    position: fixed;

    top: 24px;
    right: 30px;

    z-index: 10002;

    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;

    background: rgba(255,255,255,.08);

    color: #fff;

    font-size: 28px;
    font-weight: 300;

    line-height: 1;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        background .3s ease,
        color .3s ease,
        transform .35s ease,
        border-color .3s ease;
}

.close-btn:hover {
    color: var(--mg-dark-green);

    background: #fff;

    border-color: #fff;

    transform: rotate(90deg) scale(1.04);
}


/* =========================================================
   NAVIGATION BUTTONS
========================================================= */

.nav-btn {
    position: fixed;

    top: 50%;

    z-index: 10001;

    display: grid;
    place-items: center;

    width: 58px;
    height: 58px;

    margin-top: -29px;

    padding: 0;

    border: 1px solid rgba(255,255,255,.17);
    border-radius: 50%;

    background: rgba(255,255,255,.08);

    color: #fff;

    font-size: 30px;
    font-weight: 300;

    line-height: 1;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        background .3s ease,
        color .3s ease,
        transform .35s ease,
        border-color .3s ease;
}

.nav-btn:hover {
    color: var(--mg-dark-green);

    background: #fff;

    border-color: #fff;
}

.left-btn {
    left: 30px;
}

.left-btn:hover {
    transform: translateX(-3px) scale(1.04);
}

.right-btn {
    right: 30px;
}

.right-btn:hover {
    transform: translateX(3px) scale(1.04);
}


/* =========================================================
   LIGHTBOX IMAGE COUNT / OPTIONAL TEXT
========================================================= */

.lightbox-counter {
    position: fixed;

    left: 50%;
    bottom: 24px;

    z-index: 10002;

    transform: translateX(-50%);

    color: rgba(255,255,255,.75);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .15em;

    text-transform: uppercase;

    cursor: pointer;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .gallery-hero {
        padding: 75px 25px 42px;
    }

    .gallery {
        padding: 10px 22px 80px;
    }

    .gallery-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));

        grid-auto-rows: 245px;

        gap: 14px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 6;
        grid-row: span 2;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 3;
    }

    .gallery-item:nth-child(6) {
        grid-column: span 6;
    }

    .lightbox {
        padding: 32px;
    }

    .lightbox-img {
        max-width: 84vw;
        max-height: 78vh;
    }

    .left-btn {
        left: 18px;
    }

    .right-btn {
        right: 18px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .gallery-hero {
        padding: 58px 18px 32px;
    }

    .gallery-hero h1 {
        margin-bottom: 13px;

        font-size: 32px;
    }

    .gallery-hero p {
        font-size: 14px;
        line-height: 1.75;
    }

    .gallery {
        padding: 10px 14px 60px;
    }

    .gallery-grid {
        display: grid;

        grid-template-columns: 1fr;

        grid-auto-rows: auto;

        gap: 12px;
    }

    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: auto;
        grid-row: auto;

        height: 280px;

        border-radius: 17px;
    }

    .gallery-item:nth-child(1) {
        height: 360px;
    }

    .gallery-item img {
        min-height: 100%;
    }

    .lightbox {
        padding: 70px 14px 65px;
    }

    .lightbox::before {
        width: calc(100vw - 20px);
        height: calc(100vh - 120px);

        border-radius: 18px;
    }

    .lightbox-img {
        max-width: 92vw;
        max-height: 72vh;

        border-radius: 12px;
    }

    .close-btn {
        top: 15px;
        right: 15px;

        width: 43px;
        height: 43px;

        font-size: 24px;
    }

    .nav-btn {
        top: auto;
        bottom: 17px;

        width: 47px;
        height: 47px;

        margin: 0;

        font-size: 25px;
    }

    .left-btn {
        left: 18px;
    }

    .right-btn {
        right: 18px;
    }

    .lightbox-counter {
        bottom: 32px;

        font-size: 9px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .gallery-hero {
        padding: 48px 14px 27px;
    }

    .gallery-hero h1 {
        font-size: 28px;
    }

    .gallery-hero p {
        font-size: 13px;
    }

    .gallery {
        padding: 8px 10px 48px;
    }

    .gallery-grid {
        gap: 10px;
    }

    .gallery-item,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        height: 235px;
        border-radius: 14px;
    }

    .gallery-item:nth-child(1) {
        height: 300px;
    }

    .lightbox {
        padding-left: 8px;
        padding-right: 8px;
    }

    .lightbox-img {
        max-width: 95vw;
        max-height: 68vh;
    }

    .close-btn {
        top: 12px;
        right: 12px;
    }

    .nav-btn {
        bottom: 14px;

        width: 43px;
        height: 43px;
    }

    .left-btn {
        left: 13px;
    }

    .right-btn {
        right: 13px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 340px) {

    .gallery-hero {
        padding-top: 40px;
    }

    .gallery-hero h1 {
        font-size: 25px;
    }

    .gallery-hero p {
        font-size: 12.5px;
    }

    .gallery-item,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        height: 210px;
    }

    .gallery-item:nth-child(1) {
        height: 270px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;

        font-size: 22px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !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;
    }

}
