/* ===== LOYALTY OPERATIONS — SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

:root {
    --ink: #0a0a0a;
    --paper: #fafaf8;
    --accent: #1a1a2e;
    --accent-light: #2a2a4e;
    --gold: #c9a84c;
    --gold-light: #e8d48b;
    --gold-faint: rgba(201,168,76,0.08);
    --urgent: #991b1b;
    --urgent-light: #fef2f2;
    --text-secondary: #555;
    --text-muted: #888;
    --border: #e5e5e5;
    --radius: 2px;
    --radius-md: 6px;
    --font-display: 'Libre Baskerville', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --topbar-h: 42px;
    --header-h: 70px;
    --total-offset: 112px;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== UTILITY ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== STICKY TOP BAR ===== */
.topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--accent);
    color: white;
    display: flex; justify-content: center; align-items: center;
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 500;
    gap: 10px;
    letter-spacing: 0.02em;
}
.topbar a {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
}
.topbar a:hover { text-decoration: underline; }

/* ===== HEADER ===== */
header {
    position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 999;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    height: var(--header-h);
    display: flex; justify-content: space-between; align-items: center;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-mark {
    width: 44px; height: 44px;
    background: var(--accent);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius);
    flex-shrink: 0;
}
.logo-text { font-weight: 700; font-size: 1rem; line-height: 1.25; }
.logo-text span {
    display: block; font-weight: 400; font-size: 0.72rem;
    color: var(--text-secondary); letter-spacing: 0.06em; text-transform: uppercase;
}

nav { display: flex; gap: 6px; align-items: center; }
nav a {
    padding: 8px 14px;
    font-size: 0.88rem; font-weight: 500; letter-spacing: 0.01em;
    border-radius: var(--radius-md);
    transition: background 150ms, color 150ms;
}
nav a:hover { background: var(--gold-faint); color: var(--accent); }
nav a.active { background: var(--gold-faint); color: var(--accent); font-weight: 600; }
.nav-cta {
    background: var(--accent) !important; color: white !important;
    padding: 10px 20px !important; font-weight: 600 !important;
    border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--accent-light) !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: all 200ms; }

/* ===== HERO VARIANTS ===== */
.hero {
    margin-top: var(--total-offset);
    padding: 80px 24px 64px;
    background: var(--accent);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent, transparent 40px,
        rgba(201,168,76,0.03) 40px, rgba(201,168,76,0.03) 80px
    );
}
.hero > * { position: relative; }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    max-width: 820px;
    margin: 0 auto 20px;
}
.hero-sub {
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto 12px;
    opacity: 0.88;
    line-height: 1.7;
}
.hero-badges {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin-top: 24px;
}
.badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201,168,76,0.25);
    padding: 7px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius);
}
.badge--gold { background: var(--gold); color: var(--accent); border-color: var(--gold); }

.hero-cta {
    display: inline-block;
    margin-top: 32px;
    padding: 15px 38px;
    background: var(--gold);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.08rem;
    border-radius: var(--radius);
    letter-spacing: 0.02em;
    transition: transform 100ms, box-shadow 100ms;
}
.hero-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(201,168,76,0.3); }
.hero-email {
    margin-top: 14px;
    font-size: 0.88rem;
    opacity: 0.65;
}
.hero-email a { color: var(--gold-light); text-decoration: underline; }

/* ===== TRUST BAR ===== */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    border-bottom: 1px solid var(--border);
    background: white;
}
.trust-item {
    padding: 26px 16px;
    border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-item strong {
    display: block; font-size: 1.4rem;
    font-family: var(--font-display); color: var(--accent);
}
.trust-item span {
    font-size: 0.78rem; color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 0.06em;
}

/* ===== SECTION COMMON ===== */
section { padding: 72px 24px; }
.section-label {
    text-transform: uppercase; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.12em; color: var(--gold); margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    font-weight: 700; line-height: 1.25; margin-bottom: 16px;
}
.section-intro {
    color: var(--text-secondary);
    max-width: 660px;
    line-height: 1.7;
    font-size: 0.98rem;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 36px;
}
.service-card {
    border: 1px solid var(--border);
    padding: 32px 28px;
    border-radius: var(--radius);
    transition: border-color 200ms, box-shadow 200ms;
    display: flex; flex-direction: column;
}
.service-card:hover { border-color: var(--gold); box-shadow: 0 2px 16px rgba(0,0,0,0.05); }
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 700; margin-bottom: 10px;
}
.service-card p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.65; flex-grow: 1; }
.service-card .tag {
    display: inline-block; margin-top: 14px; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold);
}
.service-card--featured {
    background: var(--accent); color: white; border-color: var(--accent);
}
.service-card--featured p { color: rgba(255,255,255,0.78); }
.service-card--featured .tag { color: var(--gold-light); }
.service-card--featured:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.2); border-color: var(--accent); }

.card-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-size: 0.88rem; font-weight: 600;
    color: var(--gold); transition: gap 150ms;
}
.card-link:hover { gap: 10px; }
.service-card--featured .card-link { color: var(--gold-light); }

/* ===== FEATURE GRID ===== */
.feature-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px; margin-top: 32px;
}
.feature-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 20px; background: white; border: 1px solid var(--border);
    border-radius: var(--radius);
}
.feature-icon {
    flex-shrink: 0; width: 40px; height: 40px;
    background: var(--accent); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; border-radius: var(--radius);
}
.feature-item h4 { font-weight: 700; font-size: 0.93rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.55; }

/* ===== URGENT CTA BAND ===== */
.urgent-cta {
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 56px 24px;
}
.urgent-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700; margin-bottom: 14px;
}
.urgent-cta p { font-size: 1rem; opacity: 0.82; max-width: 560px; margin: 0 auto 24px; line-height: 1.7; }
.urgent-cta .hero-cta { margin-top: 0; }

/* ===== URGENT BANNER (inline) ===== */
.urgent-banner {
    background: var(--urgent-light);
    border: 1px solid #fecaca;
    border-left: 4px solid var(--urgent);
    padding: 24px 28px;
    border-radius: var(--radius);
    margin: 32px 0;
}
.urgent-banner strong { color: var(--urgent); }
.urgent-banner p { margin-top: 6px; font-size: 0.93rem; color: #7f1d1d; line-height: 1.6; }

/* ===== PROCESS STEPS ===== */
.process-steps { margin-top: 40px; }
.step {
    display: flex; gap: 24px; align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
    flex-shrink: 0; width: 48px; height: 48px;
    background: var(--accent); color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.step h3 {
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 700; margin-bottom: 6px;
}
.step p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.65; }
.step .help-note {
    display: inline-block; margin-top: 8px;
    font-size: 0.82rem; font-weight: 700; color: var(--gold);
    text-transform: uppercase; letter-spacing: 0.06em;
}

/* ===== FAQ ===== */
.faq-list { margin-top: 32px; }
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.faq-q {
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--text-muted); flex-shrink: 0; transition: transform 200ms; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 300ms ease, padding 300ms ease;
    font-size: 0.93rem; color: var(--text-secondary); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; padding-top: 12px; }

/* ===== AREAS SERVED ===== */
.areas-list {
    column-count: 3; column-gap: 32px;
    margin-top: 20px; font-size: 0.93rem; line-height: 2.1;
    color: var(--text-secondary);
}

/* ===== COMPLIANCE ===== */
.compliance {
    background: #f0f0ee;
    padding: 40px 24px;
    font-size: 0.8rem;
    color: #777;
    line-height: 1.85;
}
.compliance p { max-width: 920px; margin: 0 auto 10px; text-align: center; }
.compliance strong { color: #555; }

/* ===== FOOTER ===== */
footer {
    background: var(--accent);
    color: white;
    padding: 48px 24px 28px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 40px; max-width: 1100px; margin: 0 auto;
}
.footer-grid h4 {
    font-weight: 700; margin-bottom: 12px; font-size: 0.88rem;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.footer-grid p, .footer-grid a {
    font-size: 0.88rem; color: rgba(255,255,255,0.65);
    line-height: 1.85; display: block;
}
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom {
    max-width: 1100px; margin: 32px auto 0; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.76rem; color: rgba(255,255,255,0.35);
    text-align: center;
}

/* ===== INTERIOR PAGE CONTENT ===== */
.page-content { margin-top: var(--total-offset); }
.page-content section:first-child { padding-top: 56px; }
.content-prose {
    font-size: 1rem; line-height: 1.8; color: #333;
}
.content-prose h2 {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 700;
    margin: 48px 0 16px; color: var(--ink);
}
.content-prose h3 {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 700;
    margin: 32px 0 10px; color: var(--ink);
}
.content-prose p { margin-bottom: 16px; }
.content-prose ul {
    margin: 12px 0 20px 0;
    list-style: none;
}
.content-prose ul li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.content-prose ul li::before {
    content: '';
    position: absolute; left: 0; top: 14px;
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    :root { --topbar-h: 52px; --total-offset: 122px; }
    .topbar { font-size: 0.78rem; flex-wrap: wrap; text-align: center; padding: 8px 16px; }
    header { padding: 0 16px; }
    nav { display: none; }
    nav.open {
        display: flex; flex-direction: column;
        position: absolute; top: var(--header-h); left: 0; right: 0;
        background: white; padding: 16px; border-bottom: 1px solid var(--border);
        gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }
    .hamburger { display: block; }
    .hero { padding: 48px 20px 40px; }
    .trust-bar { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: none; }
    section { padding: 48px 20px; }
    .areas-list { column-count: 2; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .step { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
    .trust-bar { grid-template-columns: 1fr; }
    .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
    .areas-list { column-count: 1; }
    .hero h1 { font-size: 1.7rem; }
}
