:root {
    --faq-green-dark: #173d2b;
    --faq-green: #2f6f49;
    --faq-green-soft: #eaf3ec;
    --faq-white: #ffffff;
    --faq-text: #173d2b;
    --faq-muted: #607367;
    --faq-border: rgba(47, 111, 73, 0.16);
}


/* =========================
   GLOBAL
========================= */

.faq-page,
.faq-page * {
    box-sizing: border-box;
}

.faq-page {
    width: 100%;
    overflow-x: clip;
    overflow-y: visible;
    background: var(--faq-white);
    color: var(--faq-text);
}

.faq-container {
    width: min(1440px, calc(100% - 120px));
    margin-right: auto;
    margin-left: auto;
}

.faq-eyebrow {
    display: block;
    color: var(--faq-green);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.faq-eyebrow--light {
    color: rgba(255, 255, 255, 0.68);
}


/* =========================
   HERO
========================= */

.faq-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--faq-green-dark);
    color: var(--faq-white);
}

@supports (height: 100svh) {
    .faq-hero {
        height: 100svh;
    }
}

.faq-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.faq-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(10, 24, 16, 0.8) 0%,
            rgba(10, 24, 16, 0.52) 42%,
            rgba(10, 24, 16, 0.16) 76%,
            rgba(10, 24, 16, 0.05) 100%
        ),
        linear-gradient(
            180deg,
            rgba(8, 18, 12, 0.34) 0%,
            rgba(8, 18, 12, 0.05) 46%,
            rgba(8, 18, 12, 0.62) 100%
        );
}

.faq-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 90px;
}

.faq-hero__content h1 {
    max-width: 980px;
    margin: 24px 0 0;
    color: var(--faq-white);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(72px, 7.5vw, 124px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -6px;
}

.faq-hero__content p {
    max-width: 610px;
    margin: 34px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
}

.faq-hero__content p::after {
    content: '';
    width: 76px;
    height: 1px;
    margin-top: 30px;
    display: block;
    background: rgba(255, 255, 255, 0.52);
}


/* =========================
   BUTTONS
========================= */

.faq-button {
    min-width: 225px;
    min-height: 58px;
    margin-top: 38px;
    padding: 0 10px 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.faq-button--light {
    background: var(--faq-white);
    color: var(--faq-text);
}

@media (hover: hover) and (pointer: fine) {
    .faq-button--light:hover {
        background: var(--faq-green-soft);
        color: var(--faq-text);
        transform: translateY(-2px);
    }
}

.faq-button__icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--faq-green);
    color: var(--faq-white);
    font-size: 15px;
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .faq-button:hover .faq-button__icon {
        transform: rotate(45deg);
    }
}


/* =========================
   INTRO
========================= */

.faq-intro {
    padding: 135px 0;
    content-visibility: auto;
    contain-intrinsic-size: 620px;
    background: var(--faq-white);
}

.faq-intro__inner {
    max-width: 1080px;
    text-align: center;
}

.faq-intro h2 {
    max-width: 980px;
    margin: 24px auto 0;
    color: var(--faq-text);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(52px, 5.3vw, 88px);
    font-weight: 300;
    line-height: 0.98;
    letter-spacing: -4px;
}

.faq-intro p {
    max-width: 700px;
    margin: 34px auto 0;
    color: var(--faq-muted);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.85;
}


/* =========================
   FAQ SECTION
========================= */

.faq-section {
    position: relative;
    overflow: visible;
    padding: 130px 0 145px;
    background: var(--faq-green-soft);
    color: var(--faq-text);
    scroll-margin-top: 90px;
}

.faq-section__grid {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.72fr)
        minmax(0, 1.28fr);
    align-items: start;
    gap: 110px;
}

.faq-section__sidebar {
    position: sticky;
    top: 105px;
    align-self: start;
    height: max-content;
}

.faq-section__sidebar h2 {
    max-width: 520px;
    margin: 22px 0 0;
    color: var(--faq-text);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(52px, 5vw, 82px);
    font-weight: 300;
    line-height: 0.98;
    letter-spacing: -4px;
}

.faq-section__sidebar p {
    max-width: 460px;
    margin: 30px 0 0;
    color: var(--faq-muted);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
}

.faq-section__contact {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: var(--faq-green);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.faq-section__contact span:last-child {
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .faq-section__contact:hover span:last-child {
        transform: rotate(45deg);
    }
}


/* =========================
   ACCORDION
========================= */

.faq-list {
    width: 100%;
    border-top: 1px solid var(--faq-border);
}

.faq-item {
    width: 100%;
    border-bottom: 1px solid var(--faq-border);
}

.faq-item__button {
    width: 100%;
    min-height: 118px;
    padding: 25px 0;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 22px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--faq-text);
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.faq-item__button:focus-visible {
    outline: 2px solid var(--faq-green);
    outline-offset: 5px;
    border-radius: 4px;
}

.faq-item__number {
    color: var(--faq-green);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

.faq-item__question {
    color: var(--faq-text);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 2vw, 32px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.faq-item__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    justify-self: end;
    border: 1px solid var(--faq-border);
    border-radius: 50%;
    color: var(--faq-green);
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
    .faq-item__button:hover .faq-item__question {
        color: var(--faq-green);
    }

    .faq-item__button:hover .faq-item__icon {
        background: var(--faq-green);
        color: var(--faq-white);
        border-color: var(--faq-green);
    }
}

.faq-item--open .faq-item__question {
    color: var(--faq-green);
}

.faq-item--open .faq-item__icon {
    background: var(--faq-green);
    color: var(--faq-white);
    border-color: var(--faq-green);
    transform: rotate(45deg);
}

.faq-item__answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition:
        grid-template-rows 0.48s
        cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item--open .faq-item__answer {
    grid-template-rows: 1fr;
}

.faq-item__answer-inner {
    min-height: 0;
    overflow: hidden;
}

.faq-item__answer p {
    max-width: 760px;
    margin: 0;
    padding: 0 60px 38px 72px;
    color: var(--faq-muted);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
}


/* =========================
   CONTACT CTA
========================= */

.faq-contact {
    padding: 135px 0;
    content-visibility: auto;
    contain-intrinsic-size: 620px;
    background: var(--faq-green-dark);
    color: var(--faq-white);
}

.faq-contact__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    align-items: end;
    gap: 100px;
}

.faq-contact h2 {
    max-width: 900px;
    margin: 24px 0 0;
    color: var(--faq-white);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(54px, 6vw, 96px);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -5px;
}

.faq-contact__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .faq-container {
        width: min(100% - 64px, 1440px);
    }

    .faq-section__grid {
        gap: 65px;
    }
}


@media (max-width: 900px) {
    .faq-container {
        width: calc(100% - 40px);
    }

    .faq-section__grid {
        grid-template-columns: 1fr;
    }

    .faq-section__sidebar {
        position: static;
        top: auto;
        height: auto;
    }

    .faq-contact__inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}


@media (max-width: 650px) {
    .faq-container {
        width: calc(100% - 28px);
    }

    .faq-hero {
        min-height: 680px;
    }

    .faq-hero__content {
        padding-top: 76px;
    }

    .faq-hero__content h1 {
        font-size: 58px;
        line-height: 0.94;
        letter-spacing: -3px;
    }

    .faq-hero__content p {
        margin-top: 26px;
        font-size: 14px;
    }

    .faq-button {
        width: 100%;
        max-width: 330px;
    }

    .faq-intro,
    .faq-section,
    .faq-contact {
        padding-top: 82px;
        padding-bottom: 85px;
    }

    .faq-intro h2,
    .faq-section__sidebar h2,
    .faq-contact h2 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .faq-intro p,
    .faq-section__sidebar p,
    .faq-contact__content p {
        font-size: 14px;
    }

    .faq-section__grid {
        gap: 50px;
    }

    .faq-item__button {
        min-height: 98px;
        grid-template-columns: 32px minmax(0, 1fr) 40px;
        gap: 12px;
    }

    .faq-item__question {
        font-size: 20px;
        letter-spacing: -0.5px;
    }

    .faq-item__icon {
        width: 38px;
        height: 38px;
        font-size: 21px;
    }

    .faq-item__answer p {
        padding: 0 0 30px 44px;
        font-size: 14px;
    }
}


@media (max-width: 420px) {
    .faq-hero__content h1 {
        font-size: 50px;
    }

    .faq-intro h2,
    .faq-section__sidebar h2,
    .faq-contact h2 {
        font-size: 39px;
    }

    .faq-item__button {
        grid-template-columns: 26px minmax(0, 1fr) 36px;
        gap: 9px;
    }

    .faq-item__question {
        font-size: 18px;
    }

    .faq-item__icon {
        width: 34px;
        height: 34px;
        font-size: 19px;
    }

    .faq-item__answer p {
        padding-left: 35px;
    }
}


@media (prefers-reduced-motion: reduce) {
    .faq-hero__video {
        display: none;
    }

    .faq-page *,
    .faq-page *::before,
    .faq-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
