/* ===== WRD palette (site-wide) ===== */
:root {
    --wildrosedevs: #DE1B4B;
    --wrd-darkr: #640C23;
    --wrd-red: #FF0040;
    --wrd-black: #0a0a0a;
    --wrd-white: #ffffff;
    --wrd-grey: #e4e4e4;
    --wrd-tile: #d9d9d9;
}

/* === NAVBAR CONTRAST OVERRIDES === */
header.navbar .logo {
    color: #fff !important;
    /* higher contrast than the pink */
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

header.navbar .cta {
    background: #f9f9f9 !important;
    /* make the button pop on red/black */
    color: #111 !important;
    border: 1px solid rgba(0, 0, 0, .12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

header.navbar .cta:hover,
header.navbar .cta:focus-visible {
    filter: brightness(0.94);
}

header.navbar .hamburger {
    color: #f9f9f9 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

/* ---------------------------
   HERO — matches Projects hero
   --------------------------- */
.faq-hero-full {
    background: var(--wildrosedevs);
    color: #fff;
    height: 100vh;
    padding: 140px 48px 64px;
    display: grid;
    align-items: center;
}

.faq-hero-full__inner {
    width: 925px;
    max-width: calc(100% - 96px);
    justify-self: start;
    transform: translateY(6%);
}

.faq-hero-full__title {
    font-family: "League Spartan", system-ui, sans-serif;
    font-weight: 700;
    font-size: 128px;
    line-height: 1;
    margin: 0 0 16px;
}

.faq-hero-full__lede {
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 400;
    font-size: 42px;
    line-height: 1.2;
    max-width: 70vw;
    margin: 0 0 18px;
}

.faq-hero-full__copy {
    font-family: "Reddit Sans Condensed", system-ui, sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    max-width: 56vw;
    margin: 0;
}

@media (max-width:900px) {
    .faq-hero-full {
        height: 560px;
        padding: 120px 24px 48px;
    }

    .faq-hero-full__inner {
        width: 100%;
        transform: translateY(2%);
    }

    .faq-hero-full__title {
        font-size: 72px;
    }

    .faq-hero-full__lede {
        font-size: 28px;
        width: 100%;
    }

    .faq-hero-full__copy {
        font-size: 20px;
        width: 100%;
    }
}

@media (max-width:600px) {
    .faq-hero-full {
        height: 520px;
        padding: 96px 20px 44px;
    }

    .faq-hero-full__inner {
        transform: none;
    }

    .faq-hero-full__title {
        font-size: 56px;
    }

    .faq-hero-full__lede {
        font-size: 24px;
    }

    .faq-hero-full__copy {
        font-size: 18px;
    }
}

/* ---------------------------
   FAQ SURFACE + LIST
   --------------------------- */

:root {
    /* keep question/answer left alignment in one place */
    --faq-left-desktop: calc(84px + 12px);
    --faq-left-mobile: calc(68px + 12px);
    --faq-open-bottom-pad: 28px;
    /* bottom breathing room when open */
}

.faq-surface {
    background: #0a0a0a;
    color: #fff;
    padding: 120px 24px 80px;
    min-height: 100vh;
}

.faq-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

/* Card */
.faq-item {
    background: linear-gradient(0deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .06));
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
    transition: opacity .5s cubic-bezier(.22, .9, .24, 1), transform .5s cubic-bezier(.22, .9, .24, 1);
}

/* Question row */
.faq-q {
    width: 100%;
    background: transparent;
    border: 0;
    color: #fff;
    padding: 18px 18px 18px 16px;
    text-align: left;
    cursor: pointer;
    display: grid;
    grid-template-columns: 84px 1fr 28px;
    align-items: center;
    gap: 12px;
    font: 700 18px/1.2 "Poppins", system-ui, sans-serif;
    position: relative;
}

.faq-q::after {
    content: "";
    position: absolute;
    left: 84px;
    right: 56px;
    bottom: 10px;
    height: 1px;
    background: rgba(255, 255, 255, .22);
}

.faq-q .fa-solid {
    transition: transform .25s ease, opacity .25s ease;
    opacity: .85;
}

.faq-q[aria-expanded="true"] .fa-solid {
    transform: rotate(45deg);
    opacity: 1;
}

/* Number & label */
.faq-num {
    font-family: "Times New Roman", serif;
    font-weight: 700;
    font-size: 32px;
    letter-spacing: .5px;
    opacity: .98;
}

.faq-label {
    text-transform: uppercase;
    color: var(--wrd-red);
    letter-spacing: .02em;
}

/* Answer panel */
.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s cubic-bezier(.22, .61, .36, 1);
    will-change: max-height;
    padding: 0;
}

.faq-a.open {
    padding: 0 18px var(--faq-open-bottom-pad) var(--faq-left-desktop);
}

.faq-a__inner {
    padding: 0 18px var(--faq-open-bottom-pad) var(--faq-left-desktop);
}

.faq-a p {
    margin: 12px 0 0;
    color: #e8e8e8;
    font: 400 16px/1.6 "Poppins", system-ui, sans-serif;
}

.faq-a p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width:900px) {
    .faq-q {
        grid-template-columns: 68px 1fr 28px;
        padding-left: calc(68px + 12px);
    }

    .faq-q::after {
        left: 68px;
        right: 48px;
    }

    .faq-num {
        font-size: 26px;
    }

    .faq-a {
        padding-left: var(--faq-left-mobile);
    }

    .faq-a.open {
        padding-left: var(--faq-left-mobile);
    }

    .faq-a__inner {
        padding-left: var(--faq-left-mobile);
    }
}

/* --- FAQ CTA polish --- */
.faq-cta {
    max-width: 1025px;
    margin: 68px auto 56px;
    text-align: center;
}

/* Title: a smidge thicker + cleaner metrics */
.faq-cta__title {
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 300;
    /* was 275-ish; just a hair thicker */
    font-size: clamp(44px, 6.6vw, 80px);
    line-height: clamp(52px, 7.4vw, 90px);
    letter-spacing: 0;
    margin: 0 0 28px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Button row spacing stays simple */
.faq-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

/* Buttons: rounded 10px, subtle depth, crisper label */
.faq-cta__btn {
    min-width: 303px;
    height: 70px;
    padding: 0 30px;
    border-radius: 10px;
    /* rounder */
    background: linear-gradient(180deg, #E52A56 0%, #DE1B4B 100%);
    border: 1px solid rgba(0, 0, 0, .22);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .12);
    color: #fff;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Reddit Sans Condensed", system-ui, sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: 2px;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
    -webkit-font-smoothing: antialiased;
}

.faq-cta__btn:hover,
.faq-cta__btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .14);
    filter: brightness(.98);
    outline: none;
}

.faq-cta__btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(222, 27, 75, .35), 0 16px 32px rgba(0, 0, 0, .28);
}

/* Mobile: keep proportions, just stack */
@media (max-width:640px) {
    .faq-cta__buttons {
        gap: 14px;
    }

    .faq-cta__btn {
        min-width: 100%;
        height: 64px;
    }
}