/* =========================================================
   ADI YOGPEETH — FAQ PAGE
   Premium editorial / knowledge-centre layout
   ========================================================= */

:root {
    --faq-forest: #0d3b32;
    --faq-forest-2: #16483c;
    --faq-ink: #162522;
    --faq-muted: #6d7471;
    --faq-gold: #b38a42;
    --faq-gold-light: #d6bb7d;
    --faq-cream: #f7f4ec;
    --faq-paper: #fffefa;
    --faq-line: #e7e2d6;
    --faq-soft: #f2f1eb;
    --faq-shadow: 0 14px 42px rgba(20, 42, 36, .07);
    --faq-radius: 4px;
}

.faq-container {
    width: min(1420px, calc(100% - 80px));
    margin-inline: auto;
}

/* Hero */
.faq-hero {
    position: relative;
    min-height: 450px;
    color: #fff;
    overflow: hidden;
    background: var(--faq-forest);
}

.faq-hero__image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 34, 28, .94) 0%, rgba(5, 34, 28, .76) 42%, rgba(5, 34, 28, .18) 75%, rgba(5, 34, 28, .28) 100%),
        linear-gradient(0deg, rgba(5, 34, 28, .42), transparent 40%),
        url("../images/hero/ayp-building-hero.jpg") center 44% / cover no-repeat;
    transform: scale(1.01);
}

.faq-hero__inner {
    position: relative;
    min-height: 450px;
    padding-block: 22px 45px;
}

.faq-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: .02em;
    color: rgba(255,255,255,.76);
}

.faq-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.faq-hero__content {
    max-width: 680px;
    margin-top: 50px;
}

.faq-kicker {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--faq-gold-light);
}

.faq-kicker span {
    display: inline-block;
    width: 42px;
    height: 1px;
    background: currentColor;
}

.faq-hero h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 5.4vw, 94px);
    font-weight: 400;
    line-height: .91;
    letter-spacing: -.045em;
}

.faq-hero h1 em,
.faq-contact h2 em {
    color: #d4ad65;
    font-weight: 400;
}

.faq-hero__intro {
    max-width: 590px;
    margin: 24px 0 0;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,.86);
}

.faq-hero__script {
    position: absolute;
    top: 82px;
    left: 51%;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: 29px;
    line-height: 1.02;
    transform: rotate(-8deg);
    color: rgba(255,255,255,.88);
}

.faq-hero__script i {
    color: #d4ad65;
}

.faq-hero__vertical {
    position: absolute;
    right: 0;
    top: 135px;
    display: grid;
    gap: 7px;
    padding-left: 18px;
    border-left: 1px solid rgba(255,255,255,.35);
    font-size: 9px;
    letter-spacing: .28em;
    text-align: center;
}

/* Directory */
.faq-directory {
    position: relative;
    z-index: 3;
    background: var(--faq-paper);
    padding: 20px 0 24px;
    border-bottom: 1px solid var(--faq-line);
}

.faq-search-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.faq-search {
    width: min(610px, 100%);
    height: 48px;
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #d4d4cf;
    border-radius: 3px;
    box-shadow: 0 5px 18px rgba(0,0,0,.04);
    overflow: hidden;
}

.faq-search__icon {
    width: 48px;
    display: grid;
    place-items: center;
    font-size: 28px;
    color: var(--faq-ink);
    transform: rotate(-20deg);
}

.faq-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--faq-ink);
    font-size: 14px;
}

.faq-search input::placeholder { color: #90938f; }

.faq-search button {
    width: 130px;
    border: 0;
    background: var(--faq-forest);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.faq-search button:hover { background: var(--faq-forest-2); }

.faq-search-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    color: var(--faq-gold);
    font-size: 13px;
    line-height: 1.15;
    transform: rotate(-4deg);
}

.faq-search-note__line {
    width: 38px;
    height: 1px;
    background: var(--faq-gold);
    transform: rotate(20deg);
}

.faq-topic-strip {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    margin-top: 22px;
}

.faq-topic-pill {
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: var(--faq-ink);
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.faq-topic-pill:hover {
    color: var(--faq-gold);
    transform: translateY(-2px);
}

.faq-topic-pill__icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 1px solid #e3d6ba;
    border-radius: 50%;
    color: var(--faq-gold);
    font-size: 22px;
    font-family: Georgia, serif;
}

/* Main */
.faq-main {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding-block: 30px 46px;
}

.faq-sidebar {
    position: sticky;
    top: 110px;
}

.faq-sidebar__card,
.faq-panel,
.faq-search-results {
    background: #fff;
    border: 1px solid #ece9e0;
    box-shadow: var(--faq-shadow);
}

.faq-sidebar__card {
    overflow: hidden;
}

.faq-sidebar__card h2 {
    margin: 0;
    padding: 25px 22px 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--faq-ink);
}

.faq-sidebar__list {
    border-top: 1px solid var(--faq-line);
}

.faq-sidebar__item {
    width: 100%;
    min-height: 66px;
    display: grid;
    grid-template-columns: 34px 1fr 16px;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 0;
    border-bottom: 1px solid var(--faq-line);
    background: #fff;
    color: var(--faq-ink);
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.faq-sidebar__item:hover {
    background: #f5f2e9;
}

.faq-sidebar__item.is-active {
    background: var(--faq-forest);
    color: #fff;
}

.faq-sidebar__item-icon {
    font-family: Georgia, serif;
    color: var(--faq-gold);
    font-size: 22px;
    text-align: center;
}

.faq-sidebar__item-copy {
    display: grid;
    gap: 3px;
}

.faq-sidebar__item-copy strong {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.faq-sidebar__item-copy small {
    font-size: 10px;
    opacity: .65;
}

.faq-sidebar__arrow {
    font-size: 22px;
    line-height: 1;
}

.faq-sidebar__help {
    margin: 14px;
    padding: 18px;
    background: #f5f1e6;
    border: 1px solid #eee4cf;
}

.faq-sidebar__help-icon {
    margin-bottom: 8px;
    color: var(--faq-gold);
    font-size: 22px;
}

.faq-sidebar__help strong {
    display: block;
    font-size: 12px;
}

.faq-sidebar__help p {
    margin: 5px 0 12px;
    color: var(--faq-muted);
    font-size: 11px;
}

.faq-outline-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 7px 15px;
    border: 1px solid var(--faq-gold);
    border-radius: 30px;
    color: var(--faq-ink);
    text-decoration: none;
    font-size: 11px;
}

.faq-outline-button span { color: var(--faq-gold); }

.faq-content { min-width: 0; }

.faq-panel {
    display: none;
    padding: 27px 28px 20px;
}

.faq-panel.is-visible { display: block; }

.faq-panel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.faq-panel__title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-panel__icon {
    color: var(--faq-gold);
    font-family: Georgia, serif;
    font-size: 34px;
}

.faq-panel h2,
.faq-search-results h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2.2vw, 34px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--faq-ink);
}

.faq-panel__count {
    white-space: nowrap;
    font-size: 9px;
    letter-spacing: .18em;
    color: var(--faq-gold);
}

.faq-panel__intro {
    max-width: 740px;
    margin: 13px 0 18px 50px;
    color: var(--faq-muted);
    font-size: 13px;
    line-height: 1.55;
}

.faq-accordion {
    border-top: 1px solid var(--faq-line);
}

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

.faq-question {
    width: 100%;
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 14px;
    border: 0;
    background: #fff;
    color: var(--faq-ink);
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.faq-question:hover {
    background: #faf9f4;
}

.faq-question__toggle {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid #d9d9d2;
    border-radius: 50%;
}

.faq-question__toggle::before,
.faq-question__toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 1px;
    background: var(--faq-forest);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.faq-question__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-question {
    background: #f4f5f0;
}

.faq-item.is-open .faq-question__toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .28s ease;
}

.faq-answer__inner {
    overflow: hidden;
    padding-inline: 18px;
}

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

.faq-item.is-open .faq-answer__inner {
    padding-bottom: 18px;
}

.faq-answer p {
    max-width: 820px;
    margin: 0;
    color: #626966;
    font-size: 12px;
    line-height: 1.75;
}

.faq-text-link {
    display: inline-flex;
    gap: 10px;
    margin-top: 10px;
    color: var(--faq-forest);
    font-size: 11px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.faq-text-link span { color: var(--faq-gold); }

.faq-panel__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--faq-line);
}

.faq-helpful {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--faq-muted);
    font-size: 11px;
}

.faq-helpful button {
    width: 30px;
    height: 30px;
    border: 1px solid #d8d8d0;
    border-radius: 50%;
    background: #fff;
    color: var(--faq-forest);
    cursor: pointer;
}

.faq-next {
    min-width: 250px;
    padding-left: 22px;
    border-left: 1px solid var(--faq-line);
}

.faq-next small {
    display: block;
    margin-bottom: 3px;
    color: var(--faq-gold);
    font-size: 9px;
}

.faq-next button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--faq-forest);
    text-align: left;
    cursor: pointer;
}

.faq-next strong {
    font-size: 12px;
    font-weight: 600;
}

.faq-next button span {
    color: var(--faq-gold);
    font-size: 20px;
}

/* Search results */
.faq-search-results {
    padding: 27px 28px;
}

.faq-content__heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 18px;
}

.faq-kicker--dark {
    margin-bottom: 9px;
    color: var(--faq-gold);
}

.faq-clear-search {
    border: 0;
    background: transparent;
    color: var(--faq-forest);
    font-size: 11px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.faq-result-list {
    border-top: 1px solid var(--faq-line);
}

.faq-result {
    padding: 18px 0;
    border-bottom: 1px solid var(--faq-line);
}

.faq-result small {
    display: block;
    margin-bottom: 5px;
    color: var(--faq-gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.faq-result button {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--faq-ink);
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.faq-result p {
    margin: 7px 0 0;
    color: var(--faq-muted);
    font-size: 12px;
    line-height: 1.6;
}

/* Contact CTA */
.faq-contact {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7, 47, 39, .98), rgba(7, 47, 39, .84) 57%, rgba(7, 47, 39, .72)),
        url("../images/hero/ayp-building-hero.jpg") center / cover;
    color: #fff;
}

.faq-contact__inner {
    position: relative;
    z-index: 2;
    min-height: 420px;
    display: grid;
    grid-template-columns: 1.45fr 1fr .65fr;
    gap: 40px;
    align-items: center;
    padding-block: 55px 80px;
}

.faq-contact h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4vw, 67px);
    font-weight: 400;
    line-height: .95;
    letter-spacing: -.035em;
}

.faq-contact__copy > p:not(.faq-kicker) {
    max-width: 600px;
    margin: 20px 0 20px;
    color: rgba(255,255,255,.77);
    font-size: 13px;
    line-height: 1.7;
}

.faq-contact__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.faq-gold-button,
.faq-light-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 45px;
    padding: 0 20px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
}

.faq-gold-button {
    background: #d2a85e;
    color: #173b32;
}

.faq-light-button {
    border: 1px solid rgba(255,255,255,.72);
    color: #fff;
}

.faq-contact__benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-self: center;
}

.faq-contact__benefits > div {
    display: grid;
    gap: 7px;
    text-align: center;
}

.faq-contact__benefits span {
    font-family: Georgia, serif;
    font-size: 28px;
    color: #d2a85e;
}

.faq-contact__benefits strong {
    font-size: 10px;
}

.faq-contact__benefits small {
    color: rgba(255,255,255,.62);
    font-size: 9px;
    line-height: 1.45;
}

.faq-contact__quote {
    margin: 0;
    padding-left: 22px;
    border-left: 1px solid rgba(255,255,255,.42);
    font-family: Georgia, serif;
    font-size: 19px;
    font-style: italic;
    line-height: 1.3;
    color: rgba(255,255,255,.88);
}

.faq-contact__quote > span {
    display: block;
    margin-bottom: -12px;
    color: #d2a85e;
    font-size: 48px;
    line-height: 1;
}

.faq-contact__quote small {
    display: block;
    margin-top: 20px;
    font-family: Arial, sans-serif;
    font-size: 8px;
    font-style: normal;
    letter-spacing: .28em;
    color: #d2a85e;
}

.faq-contact__brand {
    position: absolute;
    z-index: 3;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 8px;
    letter-spacing: .45em;
    color: rgba(255,255,255,.68);
}

.faq-contact__brand b {
    color: #d2a85e;
    padding-inline: 9px;
}

.faq-contact__mountains {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 130px;
    opacity: .25;
    background:
        linear-gradient(145deg, transparent 42%, rgba(255,255,255,.75) 42.2%, transparent 43%),
        linear-gradient(32deg, transparent 46%, rgba(255,255,255,.6) 46.2%, transparent 47%);
    clip-path: polygon(0 72%, 12% 47%, 20% 63%, 32% 28%, 42% 58%, 53% 21%, 64% 55%, 76% 35%, 87% 62%, 100% 32%, 100% 100%, 0 100%);
}

/* Responsive */
@media (max-width: 1180px) {
    .faq-container { width: min(1100px, calc(100% - 44px)); }
    .faq-topic-strip { grid-template-columns: repeat(5, 1fr); }
    .faq-main { grid-template-columns: 285px minmax(0, 1fr); }
    .faq-contact__inner { grid-template-columns: 1.25fr 1fr; }
    .faq-contact__quote { display: none; }
}

@media (max-width: 820px) {
    .faq-container { width: min(100% - 28px, 680px); }
    .faq-hero,
    .faq-hero__inner { min-height: 500px; }
    .faq-hero__image {
        background:
            linear-gradient(90deg, rgba(5,34,28,.92), rgba(5,34,28,.58)),
            url("../images/hero/ayp-building-hero.jpg") center / cover;
    }
    .faq-hero__content { margin-top: 55px; }
    .faq-hero h1 { font-size: 56px; }
    .faq-hero__script { display: none; }
    .faq-hero__vertical { display: none; }

    .faq-search-wrap { display: block; }
    .faq-search { width: 100%; }
    .faq-search-note { display: none; }
    .faq-topic-strip {
        display: flex;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 10px;
        padding: 2px 0 8px;
        scrollbar-width: none;
    }
    .faq-topic-strip::-webkit-scrollbar { display: none; }
    .faq-topic-pill { flex: 0 0 90px; }

    .faq-main {
        display: block;
        padding-top: 18px;
    }
    .faq-sidebar {
        position: static;
        margin-bottom: 18px;
    }
    .faq-sidebar__card h2 { padding-bottom: 12px; }
    .faq-sidebar__list {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .faq-sidebar__list::-webkit-scrollbar { display: none; }
    .faq-sidebar__item {
        flex: 0 0 205px;
        min-height: 70px;
        border-right: 1px solid var(--faq-line);
        border-bottom: 0;
    }
    .faq-sidebar__help { display: none; }

    .faq-panel { padding: 21px 16px 16px; }
    .faq-panel__heading { align-items: flex-start; }
    .faq-panel__title { gap: 10px; }
    .faq-panel__icon { font-size: 28px; }
    .faq-panel h2 { font-size: 25px; }
    .faq-panel__count { padding-top: 7px; font-size: 8px; }
    .faq-panel__intro { margin-left: 0; }
    .faq-panel__footer { align-items: flex-start; flex-direction: column; }
    .faq-next { width: 100%; min-width: 0; padding: 15px 0 0; border-left: 0; border-top: 1px solid var(--faq-line); }

    .faq-contact__inner {
        display: block;
        min-height: 0;
        padding-block: 50px 75px;
    }
    .faq-contact__benefits {
        margin-top: 38px;
    }
}

@media (max-width: 520px) {
    .faq-container { width: calc(100% - 22px); }
    .faq-hero,
    .faq-hero__inner { min-height: 465px; }
    .faq-hero__inner { padding-top: 17px; }
    .faq-hero__content { margin-top: 48px; }
    .faq-hero h1 { font-size: 49px; }
    .faq-hero__intro { font-size: 14px; }
    .faq-topic-pill { flex-basis: 82px; font-size: 10px; }
    .faq-topic-pill__icon { width: 39px; height: 39px; font-size: 19px; }
    .faq-sidebar__item { flex-basis: 185px; }
    .faq-question { font-size: 12px; padding-inline: 8px; }
    .faq-answer__inner { padding-inline: 8px; }
    .faq-search-results { padding: 20px 15px; }
    .faq-content__heading { display: block; }
    .faq-clear-search { margin-top: 10px; }
    .faq-contact h2 { font-size: 45px; }
    .faq-contact__benefits { gap: 8px; }
    .faq-contact__benefits small { display: none; }
    .faq-contact__brand { letter-spacing: .25em; font-size: 7px; }
}
