/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── CSS Variables ── */
:root {
    --bg:            #ffffff;
    --bg-secondary:  #f7f7f5;
    --text-primary:  #1a1a18;
    --text-secondary:#6b6b66;
    --border:        rgba(0, 0, 0, 0.12);
    --border-hover:  rgba(0, 0, 0, 0.25);
    --teal:          #1984C8;
    --teal-dark:     #0F5F91;
    --teal-light:    #c5e9ff;
    --teal-mid:      #5FAFE0;
    --radius-sm:     4px;
    --radius-md:     8px;
    --radius-lg:     12px;
}

/* ── Base ── */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
}

.hero-section.inner-page {
  height: 11vh;
  min-height: 0;
}

/* ── Scope reset — prevent layout styles bleeding in ── */
.faq-section {
    background: #ffffff;
    color: #1a1a18;
}

/* ── Layout ── */
.page {
    max-width: 820px;
    margin: 0 auto;
    padding: 5rem 2rem 6rem;
}

/* ── Header ── */
.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
}

.headline {
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    font-weight: 800;
    color: linear-gradient(-45deg, #1391a5, #274685);
    line-height: 1.05;
    margin-bottom: 0.6rem;
}

.headline span {
    color: var(--teal);
}

.subhead {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3.5rem;
}

/* ── FAQ List ── */
.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-top: 0.5px solid var(--border);
}

.faq-item:last-child {
    border-bottom: 0.5px solid var(--border);
}

/* ── FAQ Button ── */
.faq-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.4rem 0;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.45;
    transition: color 0.15s;
}

.faq-btn:hover .faq-qtext {
    color: var(--teal);
}

.faq-num {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--teal);
    min-width: 26px;
    letter-spacing: 0.06em;
    opacity: 0.85;
    flex-shrink: 0;
}

.faq-qtext {
    flex: 1;
    transition: color 0.15s;
}

.faq-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 0.5px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1;
    user-select: none;
}

.faq-item.open .faq-icon {
    background: var(--teal);
    border-color: var(--teal);
    color: #ffffff;
    transform: rotate(45deg);
}

/* ── Accordion Body ── */
.faq-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-body {
    max-height: 320px;
}

.faq-answer {
    padding: 0 0 1.6rem 2.85rem;
    font-size: 14px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 620px;
}

.faq-answer a {
    color: var(--teal);
    text-decoration: none;
    border-bottom: 1px solid var(--teal-mid);
    transition: color 0.15s;
}

.faq-answer a:hover {
    color: var(--teal-dark);
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ── XMLTV Tag ── */
.tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--teal-light);
    color: var(--teal-dark);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-right: 6px;
    vertical-align: middle;
}

/* ── CTA Block ── */
.faq-cta {
    margin-top: 3.5rem;
    padding: 1.75rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 0.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.faq-cta-text p:first-child {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.faq-cta-text p:last-child {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-secondary);
}

.faq-cta-btn {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 11px 24px;
    border-radius: var(--radius-md);
    background: linear-gradient(-45deg, #1391a5, #274685);
    color: #ffffff;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
}

.faq-cta-btn:hover {
    background: var(--teal-dark);
}

.faq-cta-btn:active {
    transform: scale(0.97);
}

/* ── Responsive ── */
@media (max-width: 540px) {
    .page {
        padding: 3.5rem 1.25rem 4rem;
    }

    .faq-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
