/* ========================================================
   PD GROUP — PREMIUM TAX FAQ
   Dedicated to /tax-faqs/
   ======================================================== */

.pd-faq-page {
    --faq-navy: #0f391c;
    --faq-navy-deep: #082b14;
    --faq-blue: #195227;
    --faq-green: #195227;
    --faq-green-dark: #0f391c;
    --faq-green-soft: #edf5ef;
    --faq-ink: #162019;
    --faq-muted: #49554d;
    --faq-line: #e0e7e2;
    --faq-bg: #f7faf8;
    --faq-white: #ffffff;

    background: var(--faq-bg);
    color: var(--faq-ink);
}

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

.pd-faq-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* HERO */

.pd-faq-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 74px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(85, 166, 70, .18),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            var(--faq-navy-deep) 0%,
            var(--faq-navy) 57%,
            #195227 100%
        );
}

.pd-faq-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    bottom: -250px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.pd-faq-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(330px, .62fr);
    gap: 64px;
    align-items: center;
}

.pd-faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: rgba(255,255,255,.76);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.pd-faq-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--faq-green);
    box-shadow: 0 0 0 5px rgba(198,161,91,.16);
}

.pd-faq-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 5vw, 72px);
    line-height: .99;
    letter-spacing: -.045em;
    font-weight: 760;
}

.pd-faq-hero h1 span {
    display: block;
    color: #f5efe3;
}

.pd-faq-hero-lead {
    max-width: 650px;
    margin: 25px 0 0;
    color: rgba(255,255,255,.75);
    font-size: 18px;
    line-height: 1.72;
}

.pd-faq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.pd-faq-btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
    transition:
        transform .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.pd-faq-btn:hover {
    transform: translateY(-2px);
}

.pd-faq-btn-primary {
    background: #c6a15b;
    color: #082b14;
}

.pd-faq-btn-primary:hover {
    background: #d0ae67;
    color: #082b14;
}

.pd-faq-btn-secondary {
    border-color: rgba(255,255,255,.24);
    background: rgba(255,255,255,.05);
    color: #fff;
}

.pd-faq-btn-secondary:hover {
    border-color: rgba(255,255,255,.48);
    background: rgba(255,255,255,.09);
    color: #fff;
}

.pd-faq-hero-card {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: rgba(255,255,255,.07);
    box-shadow: 0 26px 60px rgba(0,0,0,.16);
    backdrop-filter: blur(8px);
}

.pd-faq-hero-card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 9px;
    background: var(--faq-green);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.pd-faq-mini-label {
    color: #c6a15b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.pd-faq-hero-card h2 {
    margin: 10px 0 12px;
    color: #fff;
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.pd-faq-hero-card p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.7;
}

.pd-faq-hero-card > a {
    display: inline-flex;
    gap: 9px;
    margin-top: 21px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
}

/* MAIN */

.pd-faq-main {
    padding: 82px 0 94px;
}

.pd-faq-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 38px;
}

.pd-faq-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--faq-green-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.pd-faq-section-heading h2 {
    margin: 0;
    color: var(--faq-navy);
    font-size: clamp(31px, 4vw, 45px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.pd-faq-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--faq-muted);
}

.pd-faq-count strong {
    color: var(--faq-navy);
    font-size: 27px;
}

.pd-faq-count span {
    font-size: 13px;
    font-weight: 650;
}

.pd-faq-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.pd-faq-side-card {
    position: sticky;
    top: 115px;
    padding: 28px;
    border: 1px solid var(--faq-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(12,39,68,.05);
}

.pd-faq-side-number {
    display: block;
    margin-bottom: 24px;
    color: var(--faq-green);
    font-size: 48px;
    line-height: 1;
    font-weight: 760;
    letter-spacing: -.06em;
}

.pd-faq-side-card h3 {
    margin: 0 0 10px;
    color: var(--faq-navy);
    font-size: 21px;
    line-height: 1.28;
}

.pd-faq-side-card p {
    margin: 0;
    color: var(--faq-muted);
    font-size: 14px;
    line-height: 1.65;
}

.pd-faq-side-rule {
    height: 1px;
    margin: 24px 0;
    background: var(--faq-line);
}

.pd-faq-side-note {
    font-size: 12px !important;
}

.pd-faq-list {
    display: grid;
    gap: 12px;
}

.pd-faq-item {
    overflow: hidden;
    border: 1px solid var(--faq-line);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(12,39,68,.035);
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.pd-faq-item:hover {
    border-color: #d7e9db;
    box-shadow: 0 11px 30px rgba(12,39,68,.07);
}

.pd-faq-item[open] {
    border-color: rgba(25,82,39,.42);
    box-shadow: 0 14px 36px rgba(12,39,68,.07);
}

.pd-faq-item summary {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    gap: 18px;
    min-height: 86px;
    padding: 20px 22px;
    align-items: center;
    cursor: pointer;
    list-style: none;
}

.pd-faq-item summary::-webkit-details-marker {
    display: none;
}

.pd-faq-question-number {
    color: #748078;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.pd-faq-question {
    color: var(--faq-navy);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 760;
}

.pd-faq-toggle {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #edf5ef;
}

.pd-faq-toggle::before,
.pd-faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 2px;
    border-radius: 2px;
    background: var(--faq-navy);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

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

.pd-faq-item[open] .pd-faq-toggle {
    background: var(--faq-green-soft);
}

.pd-faq-item[open] .pd-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.pd-faq-answer {
    margin-left: 88px;
    padding: 0 72px 25px 0;
}

.pd-faq-answer p {
    max-width: 760px;
    margin: 0;
    padding-top: 2px;
    color: var(--faq-muted);
    font-size: 15px;
    line-height: 1.78;
}

.pd-faq-content-fallback {
    padding: 32px;
    border: 1px solid var(--faq-line);
    background: #fff;
}

/* CTA */

.pd-faq-resource {
    padding: 0 0 88px;
}

.pd-faq-resource-card {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    padding: 42px 46px;
    border-radius: 14px;
    background:
        linear-gradient(
            115deg,
            var(--faq-navy-deep),
            var(--faq-navy)
        );
    box-shadow: 0 24px 55px rgba(7,28,49,.16);
}

.pd-faq-resource-card h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: -.03em;
}

.pd-faq-resource-card p {
    max-width: 650px;
    margin: 11px 0 0;
    color: rgba(255,255,255,.67);
    font-size: 15px;
    line-height: 1.65;
}

.pd-faq-kicker-light {
    color: #c6a15b;
}

.pd-faq-resource-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 21px;
}

.pd-faq-btn-white {
    background: #fff;
    color: var(--faq-navy);
}

.pd-faq-btn-white:hover {
    background: #f5efe3;
    color: var(--faq-navy);
}

.pd-faq-text-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .pd-faq-hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .pd-faq-hero-card {
        max-width: 640px;
    }

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

    .pd-faq-side-card {
        position: static;
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 22px;
    }

    .pd-faq-side-number {
        grid-row: span 3;
        margin: 0;
    }

    .pd-faq-side-rule,
    .pd-faq-side-note {
        display: none;
    }

    .pd-faq-resource-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .pd-faq-shell {
        width: min(100% - 30px, 1180px);
    }

    .pd-faq-hero {
        padding: 56px 0 54px;
    }

    .pd-faq-hero h1 {
        font-size: clamp(40px, 13vw, 56px);
    }

    .pd-faq-hero-lead {
        font-size: 16px;
    }

    .pd-faq-hero-actions,
    .pd-faq-resource-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .pd-faq-btn {
        width: 100%;
    }

    .pd-faq-main {
        padding: 62px 0 68px;
    }

    .pd-faq-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .pd-faq-count {
        display: none;
    }

    .pd-faq-side {
        display: none;
    }

    .pd-faq-item summary {
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: 12px;
        min-height: 78px;
        padding: 18px;
    }

    .pd-faq-question-number {
        display: none;
    }

    .pd-faq-question {
        font-size: 15px;
    }

    .pd-faq-answer {
        margin-left: 0;
        padding: 0 58px 21px 18px;
    }

    .pd-faq-answer p {
        font-size: 14px;
    }

    .pd-faq-resource {
        padding-bottom: 60px;
    }

    .pd-faq-resource-card {
        padding: 30px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pd-faq-page *,
    .pd-faq-page *::before,
    .pd-faq-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
