/* ═══════════════════════════════════════════════
   LAYOUT.CSS
   Reusable primitives shared across pages/sections:
   scroll-fade animation, generic section spacing,
   heading styles, and the two global button variants
   (used in the hero, FAQ intro, and article CTA).
   ═══════════════════════════════════════════════ */

/* ─── FADE IN ─────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── SHARED SECTION STYLES ───────────────────── */
section { padding: 6rem 4rem; }

.section-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 1.25rem;
}

.section-intro {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 3.5rem;
    font-weight: 300;
    line-height: 1.75;
}

/* ─── GLOBAL BUTTONS ──────────────────────────── */

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 0.9rem 2.2rem;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-ghost {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    padding: 0.9rem 2.2rem;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition:
        color 0.2s,
        border-color 0.2s,
        background-color 0.2s,
        transform 0.15s;
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
    transform: translateY(-1px);
}

/* ─── RESPONSIVE ──────────────────────────────── */
/* Original file set this twice (4rem 1.5rem, then 4rem 1.25rem) —
   kept the later value since that's what actually won the cascade. */

@media (max-width: 768px) {
    section { padding: 4rem 1.25rem; }
}
