/* tc-tokens.css */
/* ============================================================================
   TaxClue — Canonical Design Tokens & Base Components
   ----------------------------------------------------------------------------
   ONE source of truth for brand colour, type, spacing and the core UI atoms
   (buttons, cards, inputs, badges). Load this FIRST on every TaxClue property
   (taxclue.in, app.taxclue.in, app.taxclue.in/billing) so the whole ecosystem
   shares one visual language.

   Everything is namespaced under CSS variables (--tc-*) and `.tc-` classes, so
   including this file is ADDITIVE — it never overrides existing page styles
   until you opt a component in by using a `.tc-` class. Migrate pages onto
   these classes gradually.
   ========================================================================== */

:root {
    /* ── Brand palette (logo navy + red, Indian tricolor accents) ─ */
    --tc-navy:        #0A132B;   /* LOGO dark navy — primary text, headings, dark surfaces */
    --tc-navy-900:    #05080F;   /* deepest navy background */
    --tc-navy-700:    #0F1A38;
    --tc-navy-600:    #1B2540;   /* steel navy */
    --tc-gold:        #E31937;   /* LOGO red — primary accent / CTA */
    --tc-gold-400:    #F5405E;   /* red hover / highlight */
    --tc-cream:       #FBFAF7;   /* ivory — light text on dark, warm paper */

    /* ── Interactive links & tint (logo red) ───────────────────── */
    --tc-blue:        #E31937;   /* links / interactive / secondary-CTA */
    --tc-blue-600:    #C01530;   /* darker red for text on white (AA) */
    --tc-blue-soft:   rgba(227,25,55,.10);
    --tc-cyan:        #FF9933;   /* saffron — tricolor decorative accent */

    /* ── Indian tricolor accents (decorative / status, NOT text) ─ */
    --tc-saffron:     #FF9933;   /* tricolor saffron */
    --tc-green:       #138808;   /* tricolor India green */

    /* ── Neutrals ──────────────────────────────────────────────── */
    --tc-ink:         #101828;   /* body text on light — Ink */
    --tc-muted:       #667085;   /* secondary text — Slate */
    --tc-gold-ink:    #8A6212;   /* gold used as TEXT — 5.5:1 on white, AA on the ivory bands (25 Nov 2026 audit H4). Decorative gold stays #B7831F / #E9B455 */
    --tc-line:        #E7E1D6;   /* cool borders / dividers */
    --tc-bg:          #FFFFFF;
    --tc-bg-soft:     #FBFAF7;   /* Ice White */

    /* ── Status ────────────────────────────────────────────────── */
    --tc-success:     #138808;   /* tricolor India green */
    --tc-warning:     #FF9933;   /* tricolor saffron */
    --tc-danger:      #F04438;
    --tc-info:        #E31937;   /* logo red */

    /* ── Typography ────────────────────────────────────────────── */
    --tc-font-head:   'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
    --tc-font-body:   'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --tc-font-mono:   'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --tc-fs-xs: 12px; --tc-fs-sm: 14px; --tc-fs-md: 16px;
    --tc-fs-lg: 18px; --tc-fs-xl: 22px; --tc-fs-2xl: 28px; --tc-fs-3xl: 36px;
    --tc-lh: 1.6;

    /* ── Spacing scale (4px base) ──────────────────────────────── */
    --tc-sp-1: 4px;  --tc-sp-2: 8px;  --tc-sp-3: 12px; --tc-sp-4: 16px;
    --tc-sp-5: 20px; --tc-sp-6: 24px; --tc-sp-8: 32px; --tc-sp-10: 40px;

    /* ── Radius & elevation ────────────────────────────────────── */
    --tc-radius-sm: 8px;
    --tc-radius:    12px;
    --tc-radius-lg: 18px;
    --tc-radius-pill: 999px;
    --tc-shadow-sm: 0 1px 2px rgba(10,19,43,.06), 0 1px 3px rgba(10,19,43,.08);
    --tc-shadow:    0 4px 14px rgba(10,19,43,.10);
    --tc-shadow-lg: 0 12px 34px rgba(10,19,43,.16);

    --tc-transition: .18s ease;
}

/* ── Universal typography base (site-wide) ──────────────────────────
   tc-tokens.css loads on every property, so this unifies font + base size
   everywhere: DM Sans body @ 16px, Fraunces headings, JetBrains Mono meta. */
html { font-size: 16px; }
body { font-family: var(--tc-font-body); font-size: 1rem; }
h1, h2, h3, h4, h5, h6 { font-family: var(--tc-font-head); }

/* ── Buttons ───────────────────────────────────────────────────── */
.tc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--tc-font-body); font-size: var(--tc-fs-sm); font-weight: 600;
    line-height: 1; text-decoration: none; cursor: pointer;
    padding: 12px 20px; border-radius: var(--tc-radius-sm);
    border: 1px solid transparent; transition: var(--tc-transition);
    white-space: nowrap;
}
.tc-btn:focus-visible { outline: 2px solid var(--tc-gold); outline-offset: 2px; }

.tc-btn-primary { background: var(--tc-gold); color: #FFFFFF; border-color: var(--tc-gold); }
.tc-btn-primary:hover { background: var(--tc-gold-400); border-color: var(--tc-gold-400); }

.tc-btn-navy { background: var(--tc-navy); color: var(--tc-cream); border-color: var(--tc-navy); }
.tc-btn-navy:hover { background: var(--tc-navy-600); }

.tc-btn-ghost { background: transparent; color: var(--tc-navy); border-color: var(--tc-line); }
.tc-btn-ghost:hover { border-color: var(--tc-gold); color: var(--tc-gold); }

.tc-btn-sm { padding: 8px 14px; font-size: var(--tc-fs-xs); }
.tc-btn-lg { padding: 15px 28px; font-size: var(--tc-fs-md); }
.tc-btn-block { width: 100%; }

/* ── Cards ─────────────────────────────────────────────────────── */
.tc-card {
    background: var(--tc-bg); border: 1px solid var(--tc-line);
    border-radius: var(--tc-radius); box-shadow: var(--tc-shadow-sm);
    padding: var(--tc-sp-6);
}
.tc-card--hover { transition: var(--tc-transition); }
.tc-card--hover:hover { box-shadow: var(--tc-shadow-lg); transform: translateY(-2px); }
.tc-card__title { font-family: var(--tc-font-head); font-size: var(--tc-fs-xl); color: var(--tc-navy); margin: 0 0 var(--tc-sp-2); }
.tc-card__text  { font-family: var(--tc-font-body); font-size: var(--tc-fs-sm); color: var(--tc-muted); line-height: var(--tc-lh); margin: 0; }

/* ── Form controls ─────────────────────────────────────────────── */
.tc-label { display: block; font-family: var(--tc-font-body); font-size: var(--tc-fs-sm); font-weight: 600; color: var(--tc-navy); margin-bottom: var(--tc-sp-2); }
.tc-input, .tc-select, .tc-textarea {
    width: 100%; font-family: var(--tc-font-body); font-size: var(--tc-fs-sm); color: var(--tc-ink);
    padding: 11px 14px; background: var(--tc-bg); border: 1px solid var(--tc-line);
    border-radius: var(--tc-radius-sm); transition: var(--tc-transition);
}
.tc-input:focus, .tc-select:focus, .tc-textarea:focus {
    outline: none; border-color: var(--tc-gold); box-shadow: 0 0 0 3px rgba(227,25,55,.15);
}
.tc-textarea { min-height: 110px; resize: vertical; }

/* ── Badges / chips ────────────────────────────────────────────── */
.tc-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--tc-font-body); font-size: var(--tc-fs-xs); font-weight: 600;
    padding: 4px 10px; border-radius: var(--tc-radius-pill);
    background: rgba(227,25,55,.12); color: var(--tc-gold);
}
.tc-badge--navy    { background: rgba(10,19,43,.08);  color: var(--tc-navy); }
.tc-badge--success { background: rgba(30,158,106,.12); color: var(--tc-success); }
.tc-badge--danger  { background: rgba(214,69,69,.12);  color: var(--tc-danger); }

/* ── Headings helper (opt-in) ──────────────────────────────────── */
.tc-h1, .tc-h2, .tc-h3 { font-family: var(--tc-font-head); color: var(--tc-navy); line-height: 1.2; margin: 0 0 var(--tc-sp-4); }
.tc-h1 { font-size: var(--tc-fs-3xl); font-weight: 700; }
.tc-h2 { font-size: var(--tc-fs-2xl); font-weight: 700; }
.tc-h3 { font-size: var(--tc-fs-xl);  font-weight: 600; }

/* quantum.css */
/* ═══════════════════════════════════════════════════════════
   Quantum Compliance Design System v3.0
   TaxClue — Modern UI Revamp
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
    /* Core palette — TaxClue Future System (Midnight/Navy/Steel) */
    --navy-void: #05080F;   /* Midnight — deepest background */
    --navy-deep: #0A132B;   /* Navy */
    --navy-mid: #1B2540;    /* Steel navy */
    --navy-line: rgba(120,150,190,0.16);
    /* Opaque: cards must render identically over page bg, bands, and hero */
    --navy-surface: #0A132B;

    /* Gold — Champagne (premium / financial / brand accent) */
    --gold: #E31937;
    --gold-bright: #F5405E;
    --gold-glow: rgba(227,25,55,0.42);
    --gold-soft: rgba(227,25,55,0.08);

    /* Electric blue — technology / interaction / links / tech-CTA */
    --blue: #E31937;
    --blue-bright: #4B9BFF;
    --blue-soft: rgba(227,25,55,0.14);

    /* Cyan — subtle tech glow / highlight only */
    --cyan: #38BDF8;
    --cyan-soft: rgba(56,189,248,0.16);

    /* Neutrals — cool near-white on dark navy */
    --bone: #EDF2F8;
    --bone-dim: rgba(237,242,248,0.78);
    --bone-faint: rgba(237,242,248,0.68);

    /* Status */
    --success: #3DD68C;
    --danger: #FF6B80;
    --warning: #FDB022;
    --info: #4B9BFF;

    /* Radii */
    --r-xs: 6px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;

    /* Spacing scale */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;
    --sp-20: 96px;

    /* Typography scale */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 15px;
    --text-md: 17px;
    --text-lg: 20px;
    --text-xl: 24px;
    --text-2xl: 32px;
    --text-3xl: 40px;
    --text-4xl: 48px;

    /* Transitions */
    --t-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
    --t-mid: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);
    --t-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows — slightly softer spreads */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.18), 0 1px 2px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.30), 0 4px 12px rgba(0,0,0,0.18);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.40), 0 8px 20px rgba(0,0,0,0.22);
    --shadow-gold: 0 8px 32px rgba(227,25,55,0.22);
    --shadow-gold-lg: 0 16px 48px rgba(227,25,55,0.28);

    /* Z-index scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 500;
    --z-modal: 1000;
    --z-toast: 2000;
    --z-top: 10000;

    color-scheme: dark;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--hdr-h, 68px) + 16px);
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    background: var(--navy-void);
    color: var(--bone);
    line-height: 1.7;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }

/* ── Background Canvas — matched to taxclue.in ── */
.bg-canvas {
    position: fixed; inset: 0; z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(56,189,248,0.10), transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 30%, rgba(245,64,94,0.08), transparent 60%),
        radial-gradient(ellipse 70% 50% at 10% 70%, rgba(245,64,94,0.06), transparent 60%),
        var(--navy-void);
}

.bg-grid { display: none; }

.orb {
    position: fixed; border-radius: 50%;
    filter: blur(80px); z-index: -1;
    opacity: 0.35; pointer-events: none;
}
.orb-1 { display: none; }
.orb-2 { width: 400px; height: 400px; background: var(--cyan); bottom: 10%; left: -150px; }

@media (prefers-reduced-motion: reduce) {
    .bg-grid, .orb, .grad-text, .float-badge, .glow-pulse,
    .tc-swiper, .reveal { animation: none !important; transition: none !important; }
}

/* ── Section Block Backgrounds ── */
section { position: relative; }

/* Hero — handled by .qhp-hero styles */

/* Compliance Intelligence — base dark */
#compliance-live { background: var(--navy-void); }

/* Services — subtle gold wash bottom glow */
#services {
    background: linear-gradient(180deg, var(--navy-void) 0%, #05080F 50%, var(--navy-void) 100%);
}

/* Calculator — cyan accent glow */
#calc-teaser {
    background: var(--navy-void);
    overflow: hidden;
}
#calc-teaser::after {
    content: '';
    position: absolute; bottom: -120px; right: -80px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,0.05), transparent 70%);
    pointer-events: none;
}

/* Downloads — slightly lifted navy */
#downloads-teaser { background: #05080F; }

/* About — base dark + gold orb */
#about {
    background: var(--navy-void);
    overflow: hidden;
}
#about::after {
    content: '';
    position: absolute; top: -100px; left: -100px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(227,25,55,0.04), transparent 65%);
    pointer-events: none;
}

/* Video — subtle warm wash */
#video-how {
    background: linear-gradient(160deg, var(--navy-void), #0A1828);
}

/* How It Works — base dark */
#how { background: var(--navy-void); }

/* Why TaxClue — dramatic gradient */
#why {
    background: linear-gradient(145deg, rgba(5,16,31,0.95), rgba(10,19,43,0.8));
}

/* Comparison — slightly lighter */
#comparison { background: #05080F; }

/* Industries — cyan tinted */
#industries {
    background: var(--navy-void);
    overflow: hidden;
}
#industries::after {
    content: '';
    position: absolute; bottom: -80px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 300px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(56,189,248,0.04), transparent 70%);
    pointer-events: none;
}

/* Trust — gold tinted */
#trust {
    background: linear-gradient(180deg, #05080F, var(--navy-void));
}

/* Reviews — base dark */
#reviews { background: var(--navy-void); }

/* Case Studies — subtle lift */
#case-studies { background: #10281A; }

/* Partners — base dark */
#partners { background: var(--navy-void); }

/* Clients — subtle */
#featured-clients { background: #05080F; }

/* Blog — gold wash */
#blog {
    background: var(--navy-void);
    overflow: hidden;
}
#blog::after {
    content: '';
    position: absolute; top: -60px; right: -60px;
    width: 350px; height: 350px; border-radius: 50%;
    background: radial-gradient(circle, rgba(227,25,55,0.04), transparent 70%);
    pointer-events: none;
}

/* FAQ — base dark */
#faq { background: var(--navy-void); }

/* Lead Capture — dramatic CTA gradient + dual glow */
#lead-form {
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(245,64,94,0.06), transparent 70%),
                var(--navy-void);
}

/* ── Container ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--sp-6); }

section { padding: 56px 0; }

@media (max-width: 768px) {
    section { padding: var(--sp-12) 0; }
    .container { padding: 0 var(--sp-4); }
}


/* ══════════════════════════════════════
   BUTTONS — Unified System
══════════════════════════════════════ */
.btn {
    padding: 13px 26px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--t-fast);
    cursor: pointer;
    border: 1.5px solid transparent;
    font-family: inherit;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--t-fast);
}
.btn:hover::after { opacity: 1; }

/* Primary — Gold gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: var(--navy-void);
    box-shadow: var(--shadow-gold);
    border-color: transparent;
}
.btn-primary::after {
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-lg);
    color: var(--navy-void);
}
.btn-primary:active { transform: translateY(0); }

/* Ghost — Frosted glass */
.btn-ghost {
    background: rgba(245,240,230,0.04);
    color: var(--bone);
    border-color: rgba(245,240,230,0.12);
    backdrop-filter: blur(12px);
}
.btn-ghost::after { background: rgba(245,240,230,0.04); }
.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--bone);
    transform: translateY(-1px);
}

/* Outline */
.btn-outline {
    background: transparent;
    color: var(--bone);
    border-color: rgba(227,25,55,0.25);
}
.btn-outline::after { background: rgba(227,25,55,0.06); }
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
}

/* WhatsApp */
.btn-wa {
    background: rgba(37,211,102,0.10);
    color: #25D366;
    border-color: rgba(37,211,102,0.25);
}
.btn-wa::after { background: rgba(37,211,102,0.06); }
.btn-wa:hover { background: rgba(37,211,102,0.18); color: #25D366; }

/* Cyan */
.btn-cyan {
    background: rgba(56,189,248,0.08);
    color: var(--cyan);
    border-color: var(--cyan-soft);
}
.btn-cyan::after { background: rgba(56,189,248,0.06); }
.btn-cyan:hover { background: rgba(56,189,248,0.16); color: var(--cyan); }

/* Size variants */
.btn-sm { padding: 9px 18px; font-size: 13px; gap: 8px; }
.btn-lg { padding: 16px 32px; font-size: 16px; gap: 12px; }
.btn-xl { padding: 18px 40px; font-size: 17px; gap: 14px; border-radius: var(--r-lg); }

/* Icon-only */
.btn-icon {
    width: 44px; height: 44px;
    padding: 0; justify-content: center;
    border-radius: var(--r-md);
}
.btn-icon.btn-sm { width: 36px; height: 36px; }

/* Focus states */
.btn-primary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; color: var(--navy-void); }
.btn-ghost:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-wa:focus-visible { outline: 3px solid #25D366; outline-offset: 3px; }
.btn-cyan:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btn-outline:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Disabled */
.btn:disabled, .btn[disabled] {
    opacity: 0.45; cursor: not-allowed;
    pointer-events: none; transform: none !important;
}


/* ══════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════ */
.sec-header { text-align: center; margin-bottom: 28px; }

.sec-tag {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--sp-3);
    display: block;
}

.sec-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.8px;
    margin-bottom: var(--sp-4);
}
.sec-title .ital { font-style: italic; color: var(--gold-bright); }

.sec-sub {
    color: var(--bone);
    opacity: 0.75;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
}


/* ══════════════════════════════════════
   UTILITY TICKER
══════════════════════════════════════ */
.q-utility {
    background: linear-gradient(90deg, rgba(10,19,43,0.92), rgba(18,34,64,0.92));
    border-bottom: 1px solid var(--navy-line);
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
}
.q-util-track {
    display: flex; gap: 48px;
    padding: 10px 0;
    animation: qScroll 30s linear infinite;
    white-space: nowrap;
}
.q-util-track span {
    font-size: 12px; color: var(--bone-dim);
    letter-spacing: 1px; text-transform: uppercase;
}
.q-util-track strong { color: var(--gold-bright); }
@keyframes qScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* ══════════════════════════════════════
   SERVICE CARDS
══════════════════════════════════════ */
/* Flex layout (not grid) so an incomplete last row stretches to fill the width
   instead of leaving blank columns. flex-basis sets the per-row count; flex-grow
   lets the trailing cards expand to close the gap. */
.svc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.svc-grid .svc-card {
    flex: 1 1 calc(25% - 13.5px);   /* 4 per row — (3 gaps × 18px) ÷ 4 */
    max-width: 100%;
}
@media (max-width: 1024px) { .svc-grid .svc-card { flex-basis: calc(33.333% - 12px); } }
@media (max-width: 768px)  { .svc-grid .svc-card { flex-basis: calc(50% - 9px); } }
@media (max-width: 480px)  { .svc-grid .svc-card { flex-basis: 100%; } }

.svc-card {
    background: var(--navy-surface);
    border: 1px solid var(--navy-line);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    position: relative;
    overflow: hidden;
    transition: all var(--t-mid);
    display: block;
    color: var(--bone);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.svc-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--t-mid);
}
.svc-card:hover {
    transform: translateY(-6px);
    border-color: rgba(227,25,55,0.30);
    box-shadow: var(--shadow-lg), 0 0 24px rgba(227,25,55,0.06);
}
.svc-card:hover::before { opacity: 1; }

.svc-card .tag {
    position: absolute; top: 16px; right: 16px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 10px; font-weight: 700;
    color: var(--cyan); background: var(--cyan-soft);
    padding: 4px 10px; border-radius: var(--r-xs);
    letter-spacing: 0.5px;
}
.svc-card .tag.hot { color: var(--gold-bright); background: rgba(227,25,55,0.10); }

.svc-icon {
    width: 48px; height: 48px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, rgba(227,25,55,0.15), rgba(56,189,248,0.06));
    display: grid; place-items: center;
    font-size: 22px; color: var(--gold-bright);
    margin-bottom: var(--sp-4);
    transition: transform var(--t-mid);
}
.svc-card:hover .svc-icon { transform: scale(1.08); }

.svc-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 19px; font-weight: 500;
    margin-bottom: var(--sp-2);
    line-height: 1.3;
}
.svc-card p {
    color: var(--bone-dim);
    font-size: var(--text-sm);
    line-height: 1.65;
}
.svc-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }


/* ══════════════════════════════════════
   LEAD MAGNETS
══════════════════════════════════════ */
.magnet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 1024px) { .magnet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .magnet-grid { grid-template-columns: 1fr; } }

.magnet {
    background: var(--navy-surface);
    border: 1px solid var(--navy-line);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    position: relative;
    overflow: hidden;
    transition: all var(--t-mid);
    cursor: pointer;
    display: block;
    color: var(--bone);
}
.magnet:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.magnet-type {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 10px; font-weight: 700;
    color: var(--cyan); letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: var(--sp-3);
}

.magnet h4 {
    font-family: 'Fraunces', serif;
    font-size: 18px; font-weight: 500;
    margin-bottom: var(--sp-2);
    line-height: 1.3;
}
.magnet p {
    color: var(--bone-dim);
    font-size: var(--text-sm);
    margin-bottom: var(--sp-4);
    line-height: 1.65;
}

.magnet-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: var(--sp-3);
    border-top: 1px dashed var(--navy-line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: var(--bone-faint);
}
.magnet-meta .download { color: var(--gold-bright); }
.magnet:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }


/* ══════════════════════════════════════
   SEE ALL LINK
══════════════════════════════════════ */
.see-all { display: flex; justify-content: center; margin-top: var(--sp-8); }
.see-all a {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 28px;
    border: 1.5px solid rgba(227,25,55,0.3);
    border-radius: var(--r-md);
    color: var(--gold-bright);
    font-size: 14px; font-weight: 600;
    transition: all var(--t-fast);
}
.see-all a:hover {
    background: var(--gold-soft);
    border-color: var(--gold);
    transform: translateY(-1px);
}
.see-all a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }


/* ══════════════════════════════════════
   HERO ELEMENTS
══════════════════════════════════════ */
.hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px;
    border-radius: var(--r-full);
    background: rgba(56,189,248,0.06);
    border: 1px solid var(--cyan-soft);
    font-size: 12px; color: var(--cyan);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 600; letter-spacing: 1px;
    margin-bottom: var(--sp-6);
}
.hero-pill .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
    animation: pulse 2s ease-in-out infinite;
}

.hero-banners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--navy-line);
    max-width: 1080px;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--navy-line);
}
.banner {
    background: var(--navy-surface);
    padding: var(--sp-6) var(--sp-4);
    text-align: center;
}
.banner-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(24px, 3vw, 34px);
    color: var(--gold-bright);
    font-weight: 700; letter-spacing: -1px;
}
.banner-label {
    color: var(--bone-faint);
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 1.2px; margin-top: var(--sp-1);
}
@media (max-width: 768px) { .hero-banners { grid-template-columns: repeat(2, 1fr); } }


/* ══════════════════════════════════════
   PILLS / TAGS
══════════════════════════════════════ */
.pills {
    display: flex; gap: var(--sp-2);
    flex-wrap: wrap; justify-content: center;
    margin-top: var(--sp-8);
}
.pill {
    padding: 8px 16px;
    background: rgba(245,240,230,0.03);
    border: 1px solid var(--navy-line);
    border-radius: var(--r-full);
    font-size: 13px; color: var(--bone-dim);
    transition: all var(--t-fast);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 500; letter-spacing: 0.2px;
}
.pill:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
    background: var(--gold-soft);
    transform: translateY(-2px);
}
.pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }


/* ══════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px; align-items: center;
}
@media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

.about h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 400; line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: var(--sp-5);
}
.about h2 .ital { font-style: italic; color: var(--gold-bright); }
.about p { color: var(--bone-dim); margin-bottom: var(--sp-6); font-size: var(--text-base); }

.about-list {
    list-style: none;
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
    margin-bottom: var(--sp-6);
}
.about-list li {
    font-size: var(--text-sm); color: var(--bone-dim);
    padding-left: 24px; position: relative;
}
.about-list li::before {
    content: "✓"; position: absolute; left: 0;
    color: var(--gold-bright); font-weight: 700;
}

.about-card {
    background: linear-gradient(135deg, rgba(10,19,43,0.85), rgba(18,34,64,0.5));
    border: 1px solid var(--navy-line);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    text-align: center;
    position: relative; overflow: hidden;
}
.about-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.about-card .logo-mark { width: 64px; height: 64px; font-size: 30px; margin: 0 auto var(--sp-5); }
.about-card h4 { font-family: 'Fraunces', serif; font-size: 22px; margin-bottom: var(--sp-3); }
.about-card .sub { font-size: var(--text-sm); color: var(--bone-dim); margin-bottom: var(--sp-5); }
.about-card .big-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 48px; color: var(--gold-bright);
    font-weight: 700; letter-spacing: -2px; line-height: 1;
}
.about-card .big-lbl {
    font-size: 12px; color: var(--bone-faint);
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-top: var(--sp-2);
}

.logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    border-radius: var(--r-sm);
    display: grid; place-items: center;
    color: var(--navy-void);
    font-weight: 700; font-size: 18px;
    box-shadow: 0 0 24px var(--gold-glow);
}


/* ══════════════════════════════════════
   PROCESS STEPS
══════════════════════════════════════ */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; position: relative;
}
.process::before {
    content: ''; position: absolute;
    top: 32px; left: 8%; right: 8%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
}

.step { text-align: center; padding: 0 14px; position: relative; z-index: 1; }
.step-num {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--navy-void);
    border: none;
    display: grid; place-items: center;
    margin: 0 auto var(--sp-5);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700; color: var(--gold-bright);
    font-size: 18px;
    box-shadow: 0 0 28px rgba(227,25,55,0.15);
    transition: box-shadow var(--t-mid), transform var(--t-mid);
    position: relative;
}
/* SVG circle border drawn on scroll */
.step-num svg.step-ring {
    position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px);
    transform: rotate(-90deg); pointer-events: none;
}
.step-ring circle {
    fill: none; stroke: var(--gold, #E31937); stroke-width: 2;
    r: 31; cx: 34; cy: 34;
    stroke-dasharray: 195; stroke-dashoffset: 195;
    stroke-linecap: round;
    transition: none;
}
.step-num.step-num--visible .step-ring circle {
    animation: stepCircleDraw .8s cubic-bezier(0.22,1,0.36,1) forwards;
}
.step-num .step-val { opacity: 0; transition: none; }
.step-num.step-num--visible .step-val {
    animation: stepValFade .4s .5s ease forwards;
}
@keyframes stepCircleDraw {
    0%   { stroke-dashoffset: 195; }
    100% { stroke-dashoffset: 0; }
}
@keyframes stepValFade {
    0%   { opacity: 0; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); }
}
.step:hover .step-num {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(227,25,55,0.25);
}
.step h4 {
    font-family: 'Fraunces', serif;
    font-size: 19px; font-weight: 500;
    margin-bottom: var(--sp-2);
}
.step p { font-size: var(--text-sm); color: var(--bone-dim); line-height: 1.65; }

@media (max-width: 768px) {
    .process { grid-template-columns: 1fr; gap: 28px; }
    .process::before { display: none; }
}


/* ══════════════════════════════════════
   WHY TAXCLUE — Icon + Text Cards
══════════════════════════════════════ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: rgba(10,19,43,0.35);
    border: 1px solid rgba(227,25,55,0.08);
    border-radius: var(--r-md);
    transition: all 0.3s ease;
}
.why-card:hover {
    background: rgba(10,19,43,0.55);
    border-color: rgba(227,25,55,0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(227,25,55,0.12), rgba(56,189,248,0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.why-body h4 {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--bone);
    margin-bottom: 4px;
}
.why-body p {
    font-size: 14px;
    color: var(--bone-dim);
    line-height: 1.65;
}


/* ══════════════════════════════════════
   INDUSTRIES
══════════════════════════════════════ */
.industries { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.industry {
    padding: 12px 22px;
    background: var(--navy-surface);
    border: 1px solid var(--navy-line);
    border-radius: var(--r-full);
    font-size: 14px; font-weight: 500;
    color: var(--bone-dim);
    transition: all var(--t-fast);
    display: inline-flex; align-items: center; gap: 8px;
}
.industry:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.industry .ico { font-size: 18px; }
.industry:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }


/* ══════════════════════════════════════
   TRUST GRID
══════════════════════════════════════ */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
@media (max-width: 1024px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

.trust {
    background: var(--navy-surface);
    border: 1px solid var(--navy-line);
    border-radius: var(--r-md);
    padding: var(--sp-5) var(--sp-4);
    text-align: center;
    transition: all var(--t-fast);
}
.trust:hover {
    border-color: rgba(227,25,55,0.35);
    background: var(--gold-soft);
    transform: translateY(-2px);
}
.trust .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: var(--gold);
    letter-spacing: 1.2px; margin-bottom: var(--sp-3);
}
.trust .ico { font-size: 30px; margin-bottom: var(--sp-3); }
.trust h5 { font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--sp-1); }
.trust p { font-size: 12px; color: var(--bone-faint); }


/* ══════════════════════════════════════
   REVIEWS
══════════════════════════════════════ */
.reviews-header {
    display: flex; align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; gap: 20px;
    margin-bottom: var(--sp-10);
}
.rating-big { display: flex; align-items: center; gap: 16px; }
.rating-num {
    font-family: 'Fraunces', serif;
    font-size: 56px; color: var(--gold-bright); line-height: 1;
}
.rating-stars { color: var(--gold-bright); font-size: 20px; letter-spacing: 2px; }
.rating-meta {
    font-size: var(--text-sm); color: var(--bone-dim);
    font-family: 'JetBrains Mono', monospace; margin-top: 4px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) { .reviews-grid { grid-template-columns: 1fr; } }

.review {
    background: var(--navy-surface);
    border: 1px solid var(--navy-line);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    position: relative;
    transition: all var(--t-mid);
}
.review:hover {
    border-color: rgba(227,25,55,0.2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.review::before {
    content: '\201C';
    font-family: 'Fraunces', serif;
    font-size: 72px; color: var(--gold);
    position: absolute; top: 4px; right: 16px;
    line-height: 1; opacity: 0.3;
}
.review-stars { color: var(--gold-bright); margin-bottom: var(--sp-3); font-size: 14px; letter-spacing: 2px; }
.review p {
    font-size: 14px; color: var(--bone-dim);
    margin-bottom: var(--sp-5);
    line-height: 1.7; position: relative; z-index: 1;
}

.review-author {
    display: flex; align-items: center; gap: 12px;
    padding-top: var(--sp-4);
    border-top: 1px solid var(--navy-line);
}
.review-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    display: grid; place-items: center;
    color: var(--navy-void);
    font-weight: 700; font-size: 14px;
    flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: var(--text-sm); }
.review-meta {
    font-size: 12px; color: var(--bone-faint);
    font-family: 'JetBrains Mono', monospace;
    margin-top: 2px;
}


/* ══════════════════════════════════════
   CASE STUDIES
══════════════════════════════════════ */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) { .case-grid { grid-template-columns: 1fr; } }

.case {
    background: linear-gradient(135deg, var(--navy-surface), rgba(18,34,64,0.35));
    border: 1px solid var(--navy-line);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    transition: all var(--t-mid);
}
.case:hover {
    border-color: rgba(227,25,55,0.35);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-cat {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: var(--text-xs); font-weight: 700;
    color: var(--cyan); letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: var(--sp-3);
}
.case h4 {
    font-family: 'Fraunces', serif;
    font-size: var(--text-lg); font-weight: 500;
    margin-bottom: var(--sp-3); line-height: 1.25;
}
.case p {
    font-size: var(--text-sm); color: var(--bone-dim);
    margin-bottom: var(--sp-5); line-height: 1.7;
}
.case-result {
    padding: 10px 16px;
    background: var(--gold-soft);
    border: 1px solid rgba(227,25,55,0.18);
    border-radius: var(--r-sm);
    font-size: 12px; color: var(--gold-bright);
    font-family: 'JetBrains Mono', monospace;
}
.case-result::before { content: "✓ "; font-weight: 700; }


/* ══════════════════════════════════════
   LOGO STRIP
══════════════════════════════════════ */
.logo-strip {
    display: flex; align-items: center; gap: 48px;
    flex-wrap: wrap; justify-content: center;
    opacity: 0.6; transition: opacity var(--t-fast);
}
.logo-strip:hover { opacity: 1; }
.logo-strip span {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-sm); color: var(--bone-faint);
    letter-spacing: 1px; padding: 8px 16px;
    border: 1px solid var(--navy-line);
    border-radius: var(--r-sm);
    transition: all var(--t-fast);
}
.logo-strip span:hover { border-color: var(--gold); color: var(--gold-bright); }
.partners-label {
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: var(--bone-faint);
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: var(--sp-6);
}


/* ══════════════════════════════════════
   BLOG CARDS
══════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
    background: rgba(10,19,43,0.4);
    border: 1px solid rgba(245,240,230,0.06);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    display: block;
    transition: all var(--t-mid);
    color: var(--bone);
}
.blog-card:hover {
    background: rgba(10,19,43,0.6);
    border-color: rgba(245,240,230,0.12);
    box-shadow: var(--shadow-md);
}
.blog-tag {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 10px; font-weight: 700;
    color: var(--cyan); background: var(--cyan-soft);
    padding: 4px 10px; border-radius: var(--r-xs);
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: var(--sp-3);
}
.blog-card h4 {
    font-family: 'Fraunces', serif;
    font-size: 18px; font-weight: 500;
    line-height: 1.35; margin-bottom: var(--sp-3);
}
.blog-card p {
    font-size: var(--text-sm); color: var(--bone-dim);
    line-height: 1.6; margin-bottom: var(--sp-3);
}
.blog-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: var(--bone-faint);
    letter-spacing: 0.8px;
}


/* ══════════════════════════════════════
   FAQ / ACCORDION
══════════════════════════════════════ */
.faq { width: 100%; }
.faq-item {
    border: 1px solid var(--navy-line);
    border-radius: var(--r-md);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--navy-surface);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item[open] {
    border-color: rgba(227,25,55,0.25);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.faq-item summary {
    padding: 18px 22px;
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; font-size: var(--text-base);
    gap: 16px; color: var(--bone);
    transition: color var(--t-fast);
}
.faq-item summary:hover { color: var(--gold-bright); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-family: 'JetBrains Mono', monospace;
    font-size: 22px; color: var(--gold-bright);
    transition: transform var(--t-fast);
    flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.faq-item p {
    padding: 0 22px 18px;
    color: var(--bone-dim);
    font-size: 14px; line-height: 1.75;
}


/* ══════════════════════════════════════
   CAPTURE / LEAD FORM
══════════════════════════════════════ */
.capture-section {
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(227,25,55,0.06), transparent 70%);
}

.capture {
    background: linear-gradient(135deg, rgba(10,19,43,0.92), rgba(18,34,64,0.75));
    border: 1px solid var(--gold);
    border-radius: var(--r-xl);
    padding: 52px 44px;
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: start;
}
@media (max-width: 1024px) { .capture { grid-template-columns: 1fr; padding: 32px 24px; } }

.capture::before, .capture::after {
    content: ''; position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%; filter: blur(100px);
    opacity: 0.2;
}
.capture::before { background: var(--gold); top: -120px; left: -120px; }
.capture::after { background: var(--cyan); bottom: -120px; right: -120px; }
.capture > * { position: relative; z-index: 1; }

.capture-left h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(28px, 3.8vw, 42px);
    font-weight: 400; line-height: 1.15;
    margin-bottom: var(--sp-3);
}
.capture-left h2 .ital { font-style: italic; color: var(--gold-bright); }
.capture-left p { color: var(--bone-dim); margin-bottom: var(--sp-6); }

.capture-trust {
    display: flex; flex-wrap: wrap;
    gap: 8px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-xs); color: var(--bone-faint);
    letter-spacing: 1px;
}
.capture-trust span::before { content: "✓ "; color: var(--success); }

/* Capture form inputs */
.capture-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.capture-form input,
.capture-form select,
.capture-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: rgba(5,16,31,0.65);
    border: 1.5px solid rgba(227,25,55,0.12);
    color: var(--bone);
    font-size: 14px;
    border-radius: var(--r-md);
    font-family: inherit;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.capture-form input:focus,
.capture-form select:focus,
.capture-form textarea:focus {
    outline: none;
    border-color: var(--gold-bright);
    box-shadow: 0 0 0 3px rgba(227,25,55,0.10);
}
.capture-form input::placeholder { color: var(--bone-faint); }

.capture-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8992E' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-color: rgba(5,16,31,0.65);
    padding-right: 36px;
}
.capture-form select option,
.capture-form select optgroup {
    background: var(--navy-deep); color: var(--bone);
}
.capture-form textarea { resize: vertical; min-height: 80px; }
.capture-form .btn { width: 100%; justify-content: center; font-size: var(--text-base); padding: 16px; }

.capture-or {
    text-align: center; margin: 14px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-xs); color: var(--bone-faint);
    letter-spacing: 2px;
}


/* ══════════════════════════════════════
   VEDA CHAT WIDGET
══════════════════════════════════════ */
.veda-fab {
    position: fixed; bottom: 24px; right: 24px;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    box-shadow: var(--shadow-gold-lg);
    display: grid; place-items: center;
    z-index: var(--z-sticky);
    cursor: pointer;
    transition: transform var(--t-fast);
    border: 2px solid rgba(255,255,255,0.1);
}
.veda-fab:hover { transform: scale(1.08); }
.veda-fab::before {
    content: ''; position: absolute; inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--cyan));
    z-index: -1; opacity: 0;
    transition: opacity var(--t-fast);
}
.veda-fab:hover::before { animation: ringPulse 1.8s ease-in-out infinite; opacity: 0.5; }
@keyframes ringPulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.15); opacity: 0.1; } }
.veda-fab svg { width: 28px; height: 28px; color: var(--navy-void); }
.veda-fab .badge {
    position: absolute; top: 0; right: 0;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--success);
    border: 2px solid var(--navy-void);
}

.veda-panel {
    position: fixed; bottom: 100px; right: 24px;
    width: 390px;
    max-width: calc(100vw - 48px);
    max-height: 600px;
    background: rgba(5,16,31,0.98);
    backdrop-filter: blur(24px);
    border: 1px solid var(--gold);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-sticky);
    opacity: 0; visibility: hidden;
    transform: translateY(20px) scale(0.96);
    transition: all var(--t-mid);
    display: flex; flex-direction: column;
    overflow: hidden;
}
.veda-panel.open {
    opacity: 1; visibility: visible;
    transform: translateY(0) scale(1);
}

.veda-head {
    padding: var(--sp-5) var(--sp-6);
    background: linear-gradient(135deg, rgba(227,25,55,0.10), rgba(56,189,248,0.04));
    border-bottom: 1px solid var(--navy-line);
    display: flex; align-items: center; gap: 14px;
}
.veda-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    display: grid; place-items: center;
    color: var(--navy-void); font-weight: 700;
    font-family: 'Fraunces', serif;
    font-size: 18px;
}
.veda-head-text h5 { font-size: var(--text-base); font-weight: 600; }
.veda-head-text .status {
    font-size: var(--text-xs); color: var(--success);
    font-family: 'JetBrains Mono', monospace;
    display: flex; align-items: center; gap: 6px;
}
.veda-head-text .status::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--success); box-shadow: 0 0 8px var(--success);
    animation: pulse 2s infinite;
}
.veda-close {
    margin-left: auto; font-size: 22px;
    color: var(--bone-dim); padding: 4px; cursor: pointer;
    transition: color var(--t-fast);
}
.veda-close:hover { color: var(--bone); }

.veda-body { padding: var(--sp-6); overflow-y: auto; flex: 1; }
.veda-msg {
    background: rgba(245,240,230,0.04);
    border-radius: 14px; padding: 14px 16px;
    margin-bottom: var(--sp-5);
    font-size: 14px; line-height: 1.55;
    border: 1px solid var(--navy-line);
}
.veda-msg strong { color: var(--gold-bright); }

.veda-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: var(--sp-5); }
.veda-action {
    padding: 12px 14px;
    background: var(--navy-surface);
    border: 1px solid var(--navy-line);
    border-radius: var(--r-md);
    font-size: 13px; color: var(--bone);
    text-align: left;
    transition: all var(--t-fast);
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
}
.veda-action:hover { border-color: var(--gold); background: var(--gold-soft); }
.veda-action .ico { font-size: 16px; }

.veda-form input, .veda-form select {
    width: 100%; padding: 12px 14px; margin-bottom: 8px;
    background: rgba(5,16,31,0.65);
    border: 1.5px solid var(--navy-line);
    color: var(--bone); font-size: var(--text-sm);
    border-radius: var(--r-md); font-family: inherit;
}
.veda-form input:focus, .veda-form select:focus {
    outline: none; border-color: var(--gold-bright);
}
.veda-form button {
    width: 100%; padding: 13px;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: var(--navy-void); border-radius: var(--r-md);
    font-weight: 600; font-size: var(--text-sm);
    margin-top: 6px; cursor: pointer;
    border: none; font-family: inherit;
    transition: all var(--t-fast);
}
.veda-form button:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }

.veda-trust {
    margin-top: var(--sp-3);
    font-size: 12px; color: var(--bone-faint);
    font-family: 'JetBrains Mono', monospace;
    text-align: center; letter-spacing: 0.5px;
}


/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
/* The hidden state is gated on html.js, set before first paint by the inline
   script in layouts/main.php. .reveal is un-hidden by an IntersectionObserver,
   so without that gate a page whose JS never ran kept these blocks permanently
   invisible. Do NOT drop the `html.js` prefix — it is the no-JS safety net. */
html.js .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.in { opacity: 1; transform: translateY(0); }
/* 25 Nov 2026 (audit M3): reduced motion = no fade at all, the block is simply there */
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }


/* ══════════════════════════════════════
   RECENT / SOCIAL PROOF
══════════════════════════════════════ */
.recent-row {
    display: flex; align-items: center;
    justify-content: center; gap: 20px;
    margin-top: var(--sp-8); flex-wrap: wrap;
}
.avatars { display: flex; }
.avatars span {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    border: 2.5px solid var(--navy-void);
    display: grid; place-items: center;
    font-weight: 700; color: var(--navy-void);
    font-size: 13px; margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }
.avatars .more {
    background: rgba(56,189,248,0.12);
    color: var(--cyan);
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-xs);
    border: 2.5px solid var(--navy-deep);
}
.recent-text { color: var(--bone-dim); font-size: var(--text-sm); }


/* ══════════════════════════════════════
   CALCULATOR TEASER
══════════════════════════════════════ */
.calc-teaser {
    background: linear-gradient(135deg, rgba(10,19,43,0.75), rgba(18,34,64,0.5));
    border: 1px solid var(--navy-line);
    border-radius: var(--r-xl);
    padding: var(--sp-10);
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: var(--sp-10); align-items: center;
}
.calc-teaser::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
@media (max-width: 768px) { .calc-teaser { grid-template-columns: 1fr; padding: var(--sp-6); } }

.calc-intro h3 {
    font-family: 'Fraunces', serif;
    font-size: var(--text-2xl); font-weight: 400;
    line-height: 1.18; margin-bottom: var(--sp-3);
}
.calc-intro p { color: var(--bone-dim); font-size: 14px; margin-bottom: var(--sp-6); }
.calc-list {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px 16px; margin-bottom: var(--sp-6);
}
.calc-list li {
    font-size: var(--text-sm); color: var(--bone-dim);
    padding: 6px 0; border-top: 1px dashed var(--navy-line);
    list-style: none;
}
.calc-list li::before { content: "▸ "; color: var(--gold); }

.calc-mini {
    background: rgba(5,16,31,0.55);
    border: 1px solid var(--navy-line);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
}
.calc-mini-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--cyan);
    letter-spacing: 2px; margin-bottom: var(--sp-3);
}
.calc-mini input, .calc-mini select {
    width: 100%; padding: 12px 14px; margin-bottom: 10px;
    background: rgba(5,16,31,0.55);
    border: 1.5px solid var(--navy-line);
    color: var(--bone); font-size: 14px;
    border-radius: var(--r-md);
    font-family: 'JetBrains Mono', monospace;
}
.calc-mini input:focus, .calc-mini select:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(227,25,55,0.08);
}
.calc-mini label {
    font-size: var(--text-xs); color: var(--bone-faint);
    text-transform: uppercase; letter-spacing: 1.5px;
    display: block; margin-bottom: 6px;
}

.calc-mini-result {
    margin-top: var(--sp-4);
    padding: var(--sp-4);
    background: var(--gold-soft);
    border: 1px solid rgba(227,25,55,0.18);
    border-radius: var(--r-md);
    text-align: center;
}
.calc-mini-result-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-2xl); color: var(--gold-bright);
    font-weight: 700; letter-spacing: -1px;
}
.calc-mini-result-lbl {
    font-size: var(--text-xs); color: var(--bone-faint);
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-top: var(--sp-1);
}


/* ══════════════════════════════════════
   SCROLL PROGRESS BAR
══════════════════════════════════════ */
#tc-progress {
    position: fixed; top: 3px; left: 0;
    height: 2px; width: 0%;
    z-index: var(--z-top);
    pointer-events: none;
    background: linear-gradient(90deg, #FF9933, #FF9933 30%, #FFFFFF 50%, #138808 70%, #138808);
    box-shadow: 0 0 8px rgba(255,153,51,0.35);
    transition: width 0.06s linear;
}


/* ══════════════════════════════════════
   DASHBOARD MOCKUP
══════════════════════════════════════ */
.qhp-dash { margin: 60px auto 0; max-width: 1100px; }
.qhp-dash-win {
    background: rgba(5,16,31,0.88);
    border: 1px solid rgba(227,25,55,0.18);
    border-radius: var(--r-xl);
    overflow: hidden;
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(227,25,55,0.05);
}
.qhp-dash-chrome {
    background: rgba(10,19,43,0.92);
    border-bottom: 1px solid var(--navy-line);
    padding: 12px 20px;
    display: flex; align-items: center; gap: 14px;
}
.qhp-dash-dots { display: flex; gap: 6px; flex-shrink: 0; }
.qhp-dash-dots span { width: 12px; height: 12px; border-radius: 50%; display: block; }
.qhp-dash-dots span:nth-child(1) { background: #FF5F56; }
.qhp-dash-dots span:nth-child(2) { background: #FFBD2E; }
.qhp-dash-dots span:nth-child(3) { background: #27C93F; }
.qhp-dash-url {
    flex: 1;
    background: rgba(5,16,31,0.55);
    border: 1px solid var(--navy-line);
    border-radius: 6px; padding: 5px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-xs); color: var(--bone-faint);
    text-align: center;
}
.qhp-dash-live {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--success);
    display: flex; align-items: center; gap: 5px;
    flex-shrink: 0;
}
.qhp-dash-live::before {
    content: ''; width: 6px; height: 6px;
    background: var(--success); border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.qhp-dash-body {
    display: grid; grid-template-columns: 220px 1fr;
    min-height: 360px;
}
@media (max-width: 768px) {
    .qhp-dash-body { grid-template-columns: 1fr; }
    .qhp-dash-sidebar { display: none; }
}
.qhp-dash-sidebar {
    border-right: 1px solid var(--navy-line);
    padding: 20px 0;
}
.qhp-dash-nav-item {
    padding: 10px 20px; font-size: 12px;
    color: var(--bone-dim);
    display: flex; align-items: center; gap: 10px;
    transition: all 0.2s; cursor: default;
    font-family: 'JetBrains Mono', monospace;
}
.qhp-dash-nav-item.active {
    background: var(--gold-soft);
    color: var(--gold-bright);
    border-right: 2px solid var(--gold);
}
.qhp-dash-nav-item span.dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--navy-line); flex-shrink: 0;
}
.qhp-dash-nav-item.active span.dot {
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
}
.qhp-dash-main { padding: var(--sp-6); }

.qhp-dash-kpis {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 12px; margin-bottom: var(--sp-6);
}
@media (max-width: 1024px) { .qhp-dash-kpis { grid-template-columns: repeat(2, 1fr); } }

.qhp-kpi {
    background: var(--navy-surface);
    border: 1px solid var(--navy-line);
    border-radius: var(--r-md);
    padding: var(--sp-4);
    position: relative; overflow: hidden;
}
.qhp-kpi::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}
.qhp-kpi-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-xs); color: var(--bone-faint);
    text-transform: uppercase; letter-spacing: 1.2px;
    margin-bottom: var(--sp-2);
}
.qhp-kpi-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 22px; font-weight: 700;
    color: var(--bone); letter-spacing: -1px;
}
.qhp-kpi-delta { font-size: 10px; margin-top: 4px; font-family: 'JetBrains Mono', monospace; }
.qhp-kpi-delta.up { color: var(--success); }
.qhp-kpi-delta.down { color: var(--danger); }

.qhp-dash-bars { display: flex; flex-direction: column; gap: 12px; }
.qhp-bar-row {
    display: grid; grid-template-columns: 140px 1fr 44px;
    align-items: center; gap: 12px; font-size: 12px;
}
.qhp-bar-lbl {
    color: var(--bone-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-xs);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qhp-bar-track {
    height: 6px; background: rgba(245,240,230,0.05);
    border-radius: 3px; overflow: hidden;
}
.qhp-bar-fill {
    height: 100%; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    animation: barGrow 1.4s ease both;
}
.qhp-bar-fill.cyan { background: linear-gradient(90deg, var(--cyan), rgba(56,189,248,0.5)); }
.qhp-bar-fill.green { background: linear-gradient(90deg, var(--success), rgba(56,189,248,0.5)); }
.qhp-bar-pct {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-xs); color: var(--bone-faint);
    text-align: right;
}
@keyframes barGrow { from { width: 0 !important; } to {} }


/* ══════════════════════════════════════
   SWIPER OVERRIDES
══════════════════════════════════════ */
.tc-swiper { padding-bottom: 48px !important; }
.tc-swiper .swiper-slide { height: auto; }
.swiper-pagination-bullet { background: var(--bone-faint) !important; opacity: 1; }
.swiper-pagination-bullet-active {
    background: var(--gold) !important;
    transform: scaleX(2.4); border-radius: 3px !important;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--gold) !important;
    width: 42px !important; height: 42px !important;
    background: rgba(10,19,43,0.75);
    border: 1px solid var(--navy-line);
    border-radius: var(--r-md);
    backdrop-filter: blur(8px);
    transition: all var(--t-fast);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px !important; font-weight: 700; }
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: rgba(227,25,55,0.10);
    border-color: var(--gold);
}


/* ══════════════════════════════════════
   ANIMATIONS & EFFECTS
══════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.grad-text {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--cyan), var(--gold-bright));
    background-size: 300% 300%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    background-position: 0% 50%;
}
.grad-text:hover { animation: gradShift 4s ease infinite; }
@keyframes gradShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-badge { animation: none; }
.float-badge:hover { animation: floatBadge 1.8s ease-in-out infinite; }

@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 20px var(--gold-glow); } 50% { box-shadow: 0 0 40px var(--gold-glow), 0 0 80px rgba(227,25,55,0.15); } }
.glow-pulse { box-shadow: 0 0 20px var(--gold-glow); }
.glow-pulse:hover { animation: glowPulse 2s ease-in-out infinite; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.cursor {
    display: inline-block; width: 2px; height: 1em;
    background: var(--gold-bright); margin-left: 2px;
    vertical-align: middle; animation: blink 1s step-end infinite;
}

/* style.css */
/* ═══════════════════════════════════════════════
   TaxClue — Legacy compatibility + Layout Layer
   Quantum Compliance Design System v3 is the
   source of truth. These styles extend quantum
   with header, footer, page-specific components.
═══════════════════════════════════════════════ */

:root {
    /* Legacy tc-* vars — mapped to quantum equivalents */
    --tc-navy: var(--navy-deep, #0A132B);
    --tc-blue: var(--cyan, #5EE7FF);
    --tc-blue2: var(--cyan, #5EE7FF);
    --tc-pink: var(--gold, #E31937);
    --tc-gold: var(--gold-bright, #F5405E);
    --tc-light: rgba(245,240,230,0.04);
    --tc-border: var(--navy-line, rgba(227,25,55,0.12));
    --tc-gray: var(--bone-dim, rgba(245,240,230,0.72));
    --tc-white: var(--navy-void, #05101F);
    --tc-navy-deep: var(--navy-void, #05101F);
    --tc-green: var(--success, #54E0A8);
    /* Font vars */
    --font: 'DM Sans', system-ui, sans-serif;
    --font-serif: 'Fraunces', Georgia, serif;
    --container: 1520px;   /* match header .tc-hdr-inner so content aligns logo→button */
    --r: 12px;
    --r2: var(--r-lg, 20px);
    --shadow: 0 4px 24px rgba(0,0,0,0.2);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.3);
    --ann-h: 36px;
    --hdr-h: 76px;
}

/* Reset (supplement quantum) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ann-h, 36px) + var(--hdr-h, 76px) + 16px); }
body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--bone, #FBFAF7);
    background: var(--navy-void, #05101F);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: var(--gold-bright, #F5405E); text-decoration: none; }
.rs-link { color: inherit; text-decoration: none; cursor: pointer; }
.rs-link:hover { opacity: 0.8; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 0; }
.section-alt { background: var(--tc-light); }

/* ── Section Headers ── */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .eyebrow {
    font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--gold, #E31937);
    margin-bottom: 10px; display: block;
}
.section-head h2 {
    font-size: clamp(26px, 3.8vw, 42px); font-weight: 400;
    font-family: 'Fraunces', Georgia, serif;
    line-height: 1.18; letter-spacing: -0.8px; margin-bottom: 14px;
}
.section-head h2 em { font-style: italic; color: var(--gold-bright, #F5405E); }
.section-head p { font-size: 15px; color: var(--bone-dim, rgba(245,240,230,0.68)); line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'DM Sans', system-ui, sans-serif; color: var(--bone, #FBFAF7); line-height: 1.2; font-weight: 700; }


/* ══════════════════════════════════════
   BUTTONS (Legacy names — map to quantum)
══════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px; font-weight: 700;
    padding: 13px 26px; border-radius: 12px;
    border: 1.5px solid transparent; cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap; text-decoration: none;
    line-height: 1.2; position: relative;
}
/* btn-pink → gold primary */
.btn-pink {
    background: linear-gradient(135deg, var(--gold, #E31937), var(--gold-bright, #F5405E));
    color: var(--navy-void, #05101F);
    box-shadow: 0 6px 24px rgba(227,25,55,0.25);
}
.btn-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(227,25,55,0.35);
    background: linear-gradient(135deg, #A67D22, #E31937);
    color: var(--navy-void, #05101F);
}
.btn-navy {
    background: var(--navy-mid, #142A55);
    color: var(--bone, #FBFAF7);
    border-color: var(--navy-line, rgba(227,25,55,0.10));
}
.btn-navy:hover {
    background: var(--navy-deep, #0A132B);
    transform: translateY(-2px);
    color: var(--bone, #FBFAF7);
}
.btn-ghost {
    background: rgba(245,240,230,0.04);
    color: var(--bone, #FBFAF7);
    border-color: rgba(245,240,230,0.12);
    backdrop-filter: blur(12px);
}
.btn-ghost:hover {
    background: rgba(245,240,230,0.08);
    border-color: var(--gold, #E31937);
    color: var(--bone, #FBFAF7);
}
.btn-outline {
    background: transparent;
    color: var(--bone, #FBFAF7);
    border-color: rgba(227,25,55,0.2);
}
.btn-outline:hover {
    border-color: var(--gold, #E31937);
    background: rgba(227,25,55,0.05);
    color: var(--gold-bright, #F5405E);
}
.btn-sm { padding: 10px 18px; font-size: 13px; }


/* ══════════════════════════════════════
   HEADER (Fixed Sticky)
══════════════════════════════════════ */
.tc-hdr {
    position: fixed; top: 36px; left: 0; right: 0;
    z-index: 1000; height: var(--hdr-h);
    background: rgba(5,16,31,0.92);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    border-bottom: 1px solid rgba(227,25,55,0.10);
    transition: box-shadow 0.25s, background 0.25s, top 0.3s, border-color 0.25s;
}
.tc-ticker.tc-hidden ~ .tc-hdr { top: 0 !important; }
.tc-hdr.scrolled { background: rgba(5,16,31,0.98); box-shadow: 0 1px 24px rgba(0,0,0,0.5); border-bottom-color: rgba(227,25,55,0.14); }
.tc-hdr-inner {
    max-width: 1520px; margin: 0 auto;
    padding: 0 44px; height: 100%;
    display: flex; align-items: center;
}
.tc-logo {
    display: flex; align-items: center;
    text-decoration: none; flex-shrink: 0;
    margin-right: 32px;
}
.tc-logo img { height: 42px; width: auto; object-fit: contain; }

/* Navigation */
.tc-nav { display: none; height: 100%; flex: 1; overflow: visible; }
@media (min-width: 1024px) { .tc-nav { display: flex; align-items: center; } }
.tc-menu { list-style: none; display: flex; align-items: center; height: 100%; }

.tc-nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.tc-nav-link {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 0 13px; height: 100%;
    font-size: 13.5px; font-weight: 600;
    color: var(--bone, #FBFAF7);
    background: none; border: none; cursor: pointer;
    white-space: nowrap; position: relative;
    transition: color 0.18s;
    font-family: var(--font);
}
.tc-nav-link::after {
    content: ''; position: absolute;
    bottom: 0; left: 13px; right: 13px;
    height: 2.5px;
    background: var(--gold-bright, #F5405E);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.2s;
}
.tc-nav-item:hover > .tc-nav-link,
.tc-nav-item:focus-within > .tc-nav-link { color: var(--gold-bright, #F5405E); }
.tc-nav-item:hover > .tc-nav-link::after,
.tc-nav-item:focus-within > .tc-nav-link::after { transform: scaleX(1); }
.tc-nav-link:focus-visible { outline: 2px solid var(--gold, #E31937); outline-offset: 2px; border-radius: 4px; }

.tc-caret { flex-shrink: 0; opacity: 0.6; color: var(--bone, #FBFAF7); transition: transform 0.22s; margin-left: 1px; }
.tc-nav-item:hover .tc-caret { transform: rotate(180deg); opacity: 0.9; }

/* Mega Dropdown */
.tc-dd {
    position: absolute; top: 100%; left: 0;
    background: rgba(7,14,30,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(227,25,55,0.12);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(227,25,55,0.06);
    padding: 20px 22px;
    width: max-content; max-width: 860px; min-width: 180px;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 999;
    display: flex; flex-wrap: nowrap;
    gap: 0; align-items: flex-start;
}
.tc-nav-item:hover .tc-dd {
    opacity: 1; visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.tc-col {
    flex: 0 0 auto; min-width: 170px;
    padding-right: 24px; margin-right: 24px;
    border-right: 1px solid rgba(227,25,55,0.08);
}
.tc-col:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.tc-col-head {
    display: flex; align-items: center; gap: 8px;
    padding-bottom: 10px; margin-bottom: 6px;
    border-bottom: 1.5px solid rgba(227,25,55,0.10);
}
.tc-col-head::before {
    content: ''; display: inline-block;
    width: 8px; height: 8px;
    border-radius: 3px;
    background: var(--gold, #E31937);
    flex-shrink: 0;
}
.tc-col-title {
    font-size: 13px; font-weight: 700;
    color: var(--bone, #FBFAF7);
    text-decoration: none; white-space: nowrap;
    line-height: 1.2; transition: color 0.15s;
}
.tc-col-title:hover { color: var(--gold-bright, #F5405E); }

.tc-col-list { list-style: none; display: flex; flex-direction: column; }
.tc-col-item {
    display: block;
    padding: 7px 8px 7px 22px;
    border-radius: 8px;
    font-size: 13px; font-weight: 500;
    color: rgba(245,240,230,0.68);
    text-decoration: none; white-space: nowrap;
    transition: background 0.14s, color 0.14s;
    line-height: 1.35; position: relative;
}
.tc-col-item::before {
    content: ''; position: absolute;
    left: 8px; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(245,240,230,0.18);
    transition: all 0.14s;
}
.tc-col-item:hover {
    background: rgba(227,25,55,0.06);
    color: var(--gold-bright, #F5405E);
}
.tc-col-item:hover::before { background: var(--gold, #E31937); }

/* Header Actions */
.tc-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }

.tc-search-btn {
    width: 44px; height: 44px;
    background: rgba(245,240,230,0.05);
    border: 1.5px solid rgba(227,25,55,0.15);
    border-radius: 10px;
    display: grid; place-items: center;
    cursor: pointer; color: var(--bone, #FBFAF7);
    flex-shrink: 0; transition: all 0.15s;
}
.tc-search-btn:hover {
    background: rgba(227,25,55,0.08);
    border-color: var(--gold, #E31937);
    color: var(--gold-bright, #F5405E);
}
.tc-search-btn:focus-visible,
.tc-hamburger:focus-visible,
.tc-cta-btn:focus-visible,
.btn:focus-visible { outline: 2px solid var(--gold, #E31937); outline-offset: 2px; }

.tc-phone-link {
    display: none; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700;
    color: var(--bone, #FBFAF7);
    text-decoration: none; padding: 9px 14px;
    border-radius: 10px;
    border: 1.5px solid rgba(227,25,55,0.18);
    white-space: nowrap; flex-shrink: 0;
    transition: all 0.15s;
}
.tc-phone-link:hover {
    border-color: var(--gold-bright, #F5405E);
    color: var(--gold-bright, #F5405E);
    background: rgba(227,25,55,0.05);
}
@media (min-width: 768px) { .tc-phone-link { display: inline-flex; } }

.tc-cta-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--gold, #E31937), var(--gold-bright, #F5405E));
    color: var(--navy-void, #05101F) !important;
    font-size: 13px; font-weight: 700;
    padding: 10px 20px; border-radius: 10px;
    text-decoration: none !important;
    border: none; cursor: pointer;
    white-space: nowrap; flex-shrink: 0;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 16px rgba(227,25,55,0.2);
}
.tc-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(227,25,55,0.3);
    background: linear-gradient(135deg, #A67D22, #E31937);
    color: var(--navy-void, #05101F) !important;
}

/* Hamburger */
.tc-hamburger {
    display: flex; flex-direction: column;
    justify-content: center; gap: 5px;
    width: 44px; height: 44px;
    background: rgba(245,240,230,0.05);
    border: 1.5px solid rgba(227,25,55,0.15);
    border-radius: 10px;
    cursor: pointer; padding: 10px;
    flex-shrink: 0;
}
@media (min-width: 1024px) { .tc-hamburger { display: none; } }
.tc-hamburger span {
    display: block; width: 100%; height: 2px;
    background: var(--bone, #FBFAF7);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.tc-hamburger.tc-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tc-hamburger.tc-open span:nth-child(2) { opacity: 0; }
.tc-hamburger.tc-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── Search Overlay ── */
.tc-search-overlay {
    position: fixed; inset: 0;
    z-index: 10002;
    background: rgba(5,16,31,0.7);
    backdrop-filter: blur(8px);
    display: flex; align-items: flex-start; justify-content: center;
    padding-top: calc(var(--ticker-h, 39px) + var(--hdr-h, 76px) + 16px);
    opacity: 0; visibility: hidden;
    transition: all 0.22s;
}
.tc-search-overlay.tc-active { opacity: 1; visibility: visible; }
.tc-search-box {
    background: #fff; border-radius: 18px;
    padding: 24px; width: 100%; max-width: 580px;
    margin: 0 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3), 0 0 0 1px rgba(227,25,55,0.08);
}
.tc-search-box > p {
    font-size: 11px; font-weight: 800; letter-spacing: 2px;
    text-transform: uppercase; color: var(--tc-gray); margin-bottom: 14px;
}
.tc-search-box .sf { display: flex; gap: 10px; }
.tc-search-box .sf input {
    flex: 1; padding: 13px 16px;
    border: 2px solid var(--tc-border);
    border-radius: 10px; font-size: 15px;
    font-family: var(--font);
    color: var(--tc-navy); background: var(--tc-light);
    outline: none; transition: border-color 0.2s, background 0.2s;
}
.tc-search-box .sf input:focus { border-color: var(--tc-blue); background: #fff; }
.tc-search-box .sf button {
    padding: 12px 22px; background: var(--tc-blue);
    color: #fff; border: none; border-radius: 10px;
    font-size: 14px; font-weight: 700;
    cursor: pointer; transition: background 0.15s;
}
.tc-search-box .sf button:hover { background: var(--tc-blue2); }
.tc-search-close {
    display: block; text-align: center;
    font-size: 12px; color: var(--tc-gray);
    margin-top: 12px; cursor: pointer;
}


/* ══════════════════════════════════════
   PAGE HERO (Inner pages)
══════════════════════════════════════ */
.page-hero {
    background: linear-gradient(175deg, #02060D 0%, #05101F 15%, var(--tc-navy) 50%, #0f2544 75%, #0A1A35 100%);
    background-size: 200% 200%;
    animation: pageHeroDrift 20s ease infinite;
    padding: 48px 0 40px;
    margin-top: calc(-1 * (var(--ticker-h, 36px) + var(--hdr-h, 76px)));
    padding-top: calc(var(--ticker-h, 36px) + var(--hdr-h, 76px) + 48px);
    position: relative; overflow: hidden;
    z-index: 1; isolation: isolate;
}
/* Slow gradient drift */
@keyframes pageHeroDrift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}
/* Floating gold orb — top right */
.page-hero::before {
    content: ''; position: absolute;
    top: -20%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(227,25,55,0.07) 0%, transparent 65%);
    pointer-events: none;
    animation: pageOrbFloat 16s ease-in-out infinite;
    filter: blur(30px);
}
@keyframes pageOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-40px, 30px) scale(1.05); }
    50% { transform: translate(20px, -20px) scale(0.95); }
    75% { transform: translate(-20px, -10px) scale(1.02); }
}
/* Aurora shimmer band */
.page-hero::after {
    content: ''; position: absolute;
    top: 15%; left: -15%; right: -15%; height: 40%;
    background: linear-gradient(110deg, transparent 20%, rgba(255,153,51,0.03) 35%, rgba(255,255,255,0.02) 50%, rgba(19,136,8,0.03) 65%, transparent 80%);
    filter: blur(45px);
    pointer-events: none;
    animation: pageAurora 12s ease-in-out infinite alternate;
}
@keyframes pageAurora {
    0% { transform: translateX(-6%) skewX(-2deg); opacity: 0.4; }
    100% { transform: translateX(6%) skewX(2deg); opacity: 0.8; }
}
.page-hero .breadcrumb {
    display: flex; gap: 8px;
    font-size: 13px; color: rgba(255,255,255,0.45);
    margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.page-hero .breadcrumb a:hover { color: var(--tc-gold); }
.page-hero h1 {
    color: #fff; font-size: clamp(26px, 4vw, 42px);
    font-weight: 800; margin-bottom: 12px;
}
.page-hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 600; }
.page-hero p {
    color: rgba(255,255,255,0.62);
    font-size: 15.5px; line-height: 1.7; max-width: 600px;
}
.page-hero .hero-stats {
    display: flex; gap: 0;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r);
    overflow: hidden; margin-top: 24px;
    max-width: fit-content;
}
.page-hero .hero-stat {
    padding: 14px 22px; text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.page-hero .hero-stat:last-child { border-right: none; }
.page-hero .hero-stat strong {
    display: block; font-size: 20px; font-weight: 800;
    color: #fff; line-height: 1;
}
.page-hero .hero-stat span {
    font-size: 10px; color: rgba(255,255,255,0.45);
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-top: 3px; display: block;
}


/* ══════════════════════════════════════
   CARDS
══════════════════════════════════════ */
.card {
    background: rgba(10,19,43,0.55);
    border: 1px solid var(--navy-line, rgba(227,25,55,0.10));
    border-radius: var(--r2);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(12px);
}
.card:hover {
    border-color: rgba(227,25,55,0.25);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.card-body { padding: 24px; }
.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img img { transform: scale(1.04); }


/* ══════════════════════════════════════
   FORMS — Modern Design
══════════════════════════════════════ */
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block; font-size: 13px;
    font-weight: 600;
    color: var(--bone-dim, rgba(245,240,230,0.68));
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(227,25,55,0.12);
    border-radius: 10px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    color: var(--bone, #FBFAF7);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: rgba(5,16,31,0.6);
}
.form-control:focus {
    outline: none;
    border-color: var(--gold, #E31937);
    box-shadow: 0 0 0 3px rgba(227,25,55,0.10);
}
.form-control::placeholder { color: var(--bone-faint, rgba(245,240,230,0.45)); }
textarea.form-control { resize: vertical; min-height: 88px; }
select.form-control { appearance: auto; background-color: rgba(5,16,31,0.6); }

.form-success { text-align: center; padding: 36px; }
.form-success h4 { font-size: 18px; margin-bottom: 8px; color: var(--success, #54E0A8); }

.form-error {
    background: rgba(239,68,68,0.08);
    color: #FCA5A5;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 14px;
    border: 1px solid rgba(239,68,68,0.2);
    display: flex; align-items: center; gap: 8px;
}


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.tcf {
    background: var(--tc-navy-deep);
    color: #fff;
    position: relative; overflow: hidden;
    font-family: var(--font);
}
.tcf::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.tcf-blob { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.tcf-blob--1 { width: 500px; height: 500px; background: rgba(227,25,55,0.08); top: -80px; left: -100px; }
.tcf-blob--2 { width: 400px; height: 400px; background: rgba(94,231,255,0.04); bottom: 80px; right: -60px; }
.tcf-wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.tcf-cta { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 60px 0 56px; }
.tcf-cta-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
}
.tcf-cta-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--tc-gold);
    margin-bottom: 12px;
}
.tcf-cta-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--tc-gold); border-radius: 2px; }
.tcf-cta-heading {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 700; line-height: 1.2;
    color: #fff; margin-bottom: 10px;
}
.tcf-cta-sub { font-size: 14.5px; color: rgba(255,255,255,0.55); line-height: 1.65; max-width: 420px; }
.tcf-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

.tcf-body { padding: 60px 0 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.tcf-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; align-items: start; }
.tcf-logo-img { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.tcf-brand-desc {
    font-size: 13.5px; color: rgba(255,255,255,0.55);
    line-height: 1.7; max-width: 300px; margin-bottom: 24px;
}
.tcf-stats {
    display: flex;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; overflow: hidden;
    margin-bottom: 24px;
}
.tcf-stat {
    flex: 1; padding: 14px 14px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.tcf-stat:last-child { border-right: none; }
.tcf-stat strong {
    display: block; font-size: 18px; font-weight: 800;
    color: #fff; line-height: 1; margin-bottom: 4px;
}
.tcf-stat span {
    font-size: 10px; font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase; letter-spacing: 0.7px;
}
.tcf-social { display: flex; gap: 8px; }
.tcf-soc {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    display: grid; place-items: center;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: all 0.18s; font-size: 14px;
}
.tcf-soc:hover {
    background: var(--tc-blue); border-color: var(--tc-blue);
    color: #fff; transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(94,231,255,0.2);
}

.tcf-col-title {
    font-size: 11px; font-weight: 800;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--tc-gold); margin-bottom: 18px;
    display: flex; align-items: center; gap: 8px;
}
.tcf-col-title::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }

ul.tcf-links { list-style: none; display: flex; flex-direction: column; gap: 2px; }
ul.tcf-links li a {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 0; font-size: 13.5px; font-weight: 500;
    color: rgba(255,255,255,0.55);
    text-decoration: none; transition: color 0.18s, gap 0.18s;
}
ul.tcf-links li a::before {
    content: ''; width: 4px; height: 4px;
    border-radius: 50%; background: rgba(255,255,255,0.25);
    flex-shrink: 0; transition: all 0.18s;
}
ul.tcf-links li a:hover { color: #fff; gap: 12px; }
ul.tcf-links li a:hover::before { background: var(--gold, #E31937); width: 6px; }
ul.tcf-links li a:focus-visible { outline: 2px solid var(--gold, #E31937); outline-offset: 2px; border-radius: 3px; }

.tcf-bottom { padding: 22px 0; }
.tcf-bottom-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.tcf-copy { font-size: 12.5px; color: rgba(255,255,255,0.28); }
.tcf-copy a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.18s; }
.tcf-copy a:hover { color: #fff; }
.tcf-legal { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tcf-legal a { font-size: 12.5px; color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.18s; }
.tcf-legal a:hover { color: rgba(255,255,255,0.55); }
.tcf-legal-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.25); }


/* ══════════════════════════════════════
   BLOG GRID (Legacy)
══════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { display: block; text-decoration: none; color: inherit; }
.blog-card .card-body h3 {
    font-size: 16px; font-weight: 700;
    margin-bottom: 8px; line-height: 1.35;
    color: var(--bone, #FBFAF7);
}
.blog-card .card-body p {
    font-size: 13.5px;
    color: var(--bone-dim, rgba(245,240,230,0.68));
    line-height: 1.6; margin-bottom: 10px;
}
.blog-card .card-meta {
    display: flex; gap: 12px;
    font-size: 12px;
    color: var(--bone-dim, rgba(245,240,230,0.68));
}
.blog-card .card-cat {
    font-size: 11px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--gold, #E31937);
    margin-bottom: 8px; display: block;
    font-family: 'JetBrains Mono', monospace;
}


/* ══════════════════════════════════════
   PAGINATION
══════════════════════════════════════ */
.pagination {
    display: flex; gap: 4px;
    justify-content: center;
    padding: 40px 0 0;
}
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px;
    padding: 0 12px; border-radius: 10px;
    font-size: 14px; font-weight: 600;
    color: var(--bone-dim, rgba(245,240,230,0.68));
    border: 1.5px solid var(--navy-line, rgba(227,25,55,0.10));
    transition: all 0.15s;
    background: rgba(10,19,43,0.4);
}
.pagination a:hover {
    background: rgba(227,25,55,0.06);
    border-color: var(--gold, #E31937);
    color: var(--gold-bright, #F5405E);
}
.pagination .active {
    background: rgba(227,25,55,0.12);
    color: var(--gold-bright, #F5405E);
    border-color: var(--gold, #E31937);
    font-weight: 700;
}


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1200px) {
    .tcf-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
}
@media (max-width: 1024px) {
    .tcf-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .tcf-grid > .tcf-brand { grid-column: 1 / -1; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .tc-phone-link { display: none !important; }
    .tc-cta-btn { display: none !important; }
    .tc-hdr-inner { padding: 0 14px; }
    .tc-actions { gap: 6px; }
    .tc-nav { display: none !important; }
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 40px; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .section { padding: 48px 0; }
    .blog-grid { grid-template-columns: 1fr; }
    .tcf-grid { grid-template-columns: 1fr; }
    .tcf-cta-inner { flex-direction: column; align-items: flex-start; }
    .tcf-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
    .page-hero .hero-stats { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .tc-logo img { height: 30px; }
}

/* Small device fixes */
@media (max-width: 480px) {
    .tc-hdr-inner { padding: 0 10px; height: 54px; }
    .tc-logo img { height: 28px; width: auto; }
    .tc-hamburger { width: 36px; height: 36px; padding: 8px; }
    .tc-search-btn { width: 36px; height: 36px; }
    .tc-ann { font-size: 12px; }
    .tc-ann-track span { padding: 0 20px; }
    .section-head h2 { font-size: 22px; }
    .section-head p { font-size: 13px; }
    .eyebrow { font-size: 10px; }
    .tcf-grid-ext { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
    .tcf-ext-title { font-size: 10px; margin-bottom: 10px; }
    .tcf-ext-links li a { font-size: 12px; }
    .tcf-certs-row {
        justify-content: flex-start; overflow-x: auto;
        flex-wrap: nowrap; -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .tcf-certs-row::-webkit-scrollbar { display: none; }
    .tcf-legal { gap: 2px 0; font-size: 10.5px; }
    .tcf-legal a { font-size: 10.5px; }
    .tcf-copy { font-size: 11px; }
}

/* XS phones */
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .tc-logo img { height: 24px; }
    .section { padding: 36px 0; }
    .section-head h2 { font-size: 20px; }
    .section-head { margin-bottom: 28px; }
    .hp-grid { padding: 24px 0; }
    .hp-stats { flex-wrap: wrap; }
    .hp-stat { flex: 1 1 45%; padding: 8px 10px; }
    .hp-stat strong { font-size: 14px; }
    .hp-form { padding: 20px 16px; }
    .hp-form h3 { font-size: 15px; }
    .hp-form input, .hp-form select, .hp-form textarea { padding: 10px 12px; font-size: 13px; }
    .hf-submit { padding: 12px; font-size: 13px; }
    .srv-card { padding: 20px 16px; }
    .srv-card h3 { font-size: 14px; }
    .srv-card p { font-size: 12.5px; }
    .how-num { width: 44px; height: 44px; font-size: 16px; }
    .how-step h3 { font-size: 13px; }
    .how-step p { font-size: 12px; }
    .why-card { padding: 20px; }
    .ind-card { padding: 18px; }
    .rev-card { padding: 18px; }
    .rev-text { font-size: 13px; }
    .stats-grid { gap: 12px; }
    .stat-val { font-size: 22px; }
    .stat-label { font-size: 10px; }
    .about-checks li { font-size: 13px; }
    .bottom-nav-item { font-size: 10px; padding: 4px 4px; }
    .bottom-nav-item svg { width: 18px; height: 18px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .page-hero,
    .page-hero::before,
    .page-hero::after { animation: none !important; }
}


/* ── Availability badge: closed state ──────────────────────────────────
   Set by assets/js/main.js (and rendered server-side by BusinessHours) on
   every availability badge — .sp-form-badge, .au-form-badge, .gs-form-badge —
   so an "Experts available now" pill goes grey and calm outside office hours
   instead of staying green. The colours override each badge's own green in
   whichever stylesheet defines it, hence the doubled class selectors. */
[data-hours-badge].is-closed,
.sp-form-badge.is-closed,
.au-form-badge.is-closed,
.gs-form-badge.is-closed {
    background: rgba(148, 163, 184, .12);
    border-color: rgba(148, 163, 184, .28);
    color: #64748b;
}
[data-hours-badge].is-closed b,
.gs-form-badge.is-closed b {
    background: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, .16);
    animation: none;   /* nothing is live right now — stop the pulse */
}

/* mobile.css */
/*
 * ═══════════════════════════════════════════════════════════
 * TaxClue — Mobile & Responsive Stylesheet v3.0
 * ═══════════════════════════════════════════════════════════
 * Breakpoints:
 *   ≤1024px  hero stacks / drawer nav
 *   ≤900px   footer reflows (3→2 col)
 *   ≤768px   tablet
 *   ≤640px   large phone
 *   ≤480px   phone (xs)
 *   ≤400px   small phone (xxs)
 */

/* ─────────────────────────────────────────────
   1. GLOBAL RESETS
───────────────────────────────────────────── */
html {
    overflow-x: hidden;
    scroll-padding-top: calc(var(--ann-h, 36px) + var(--hdr-h, 60px) + 12px);
}
body {
    overflow-x: clip;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
img, video, svg, iframe { max-width: 100%; height: auto; }

/* ─────────────────────────────────────────────
   2. ACCESSIBILITY — REDUCED MOTION
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ─────────────────────────────────────────────
   3. TOUCH TARGETS — 44px minimum (WCAG 2.5.8)
───────────────────────────────────────────── */
@media (max-width: 1024px) {
    a, button, [role="button"],
    input[type="submit"], input[type="button"],
    select {
        min-height: 44px;
    }
    /* label[for] used to be in the list above: a caption over a text field
       grew to 44px and left a blank band between it and its input on every
       phone form. Only a label that IS the tap target (checkbox/radio) needs it. */
    label:has(> input[type="checkbox"]), label:has(> input[type="radio"]) {
        min-height: 44px;
    }
    /* Inline links exempt */
    p a, li a, .breadcrumb a, .footer-col a,
    .tcf-col a, .tcf-grid-ext a, .tcf-legal a, .tcf-ci {
        min-height: auto;
    }
    nav a, .nav-link, .btn, .cta-btn,
    .hero-cta-primary, .hero-cta-ghost, .sp-cta-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ─────────────────────────────────────────────
   4. ANNOUNCEMENT BAR
───────────────────────────────────────────── */
@media (max-width: 480px) {
    :root {
        --ann-h: 36px;
        --hdr-h: 56px;
    }
    .ann-bar {
        font-size: 11px;
        padding: 0 12px;
    }
    .ann-bar .ann-dismiss {
        width: 28px; height: 28px;
        padding: 8px; box-sizing: content-box;
    }
}

/* ─────────────────────────────────────────────
   5. HEADER & NAV
───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .site-header, .tc-hdr { padding: 0 16px; }
    .site-logo img, .tc-logo img { height: 36px; }
    .main-nav, .tc-nav { display: none; }
    .header-actions .btn-cta-header, .tc-cta-btn { display: none; }
    .hamburger-btn, .tc-hamburger { display: flex; }
}
@media (max-width: 768px) {
    :root { --hdr-h: 60px; }
    .site-header, .tc-hdr { padding: 0 12px; }
    .site-logo img, .tc-logo img { height: 32px; }
    .tc-actions { gap: 6px !important; }
    .tc-veda-btn {
        padding: 9px !important; gap: 0 !important;
        border-radius: 10px !important; font-size: 0 !important;
    }
    .tc-veda-btn em { display: none !important; }
}
@media (max-width: 480px) {
    .site-header, .tc-hdr { padding: 0 10px; }
    .tc-actions { gap: 4px !important; }
    .tc-hdr-inner { gap: 8px !important; }
}

/* ─────────────────────────────────────────────
   6. MOBILE DRAWER
───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .nav-drawer, .tc-drawer { width: min(320px, 90vw); }
    .drawer-link, .tc-mob-link {
        min-height: 48px; padding: 12px 20px; font-size: 15px;
    }
    .drawer-sub-link, .tc-mob-sub {
        min-height: 36px; padding: 5px 10px;
        font-size: 12.5px;
        display: flex; align-items: center;
    }
}
@media (max-width: 768px) and (orientation: landscape) {
    .drawer-link {
        min-height: 40px; padding: 8px 20px; font-size: 14px;
    }
    .nav-drawer { overflow-y: auto; }
}

/* ─────────────────────────────────────────────
   7. HERO SECTION
───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; gap: 40px; }
    .hero-r { max-width: 520px; margin: 0 auto; width: 100%; }
    .hero-dash-card { width: 100%; }
    .hero-float-badge.b1 { left: -8px; }
    .hero-float-badge.b2 { right: -8px; }
}
@media (max-width: 768px) {
    .qhp-hero {
        padding-top: calc(var(--hdr-h, 64px) + 40px);
        padding-bottom: 40px;
    }
    .hero-l h1 { font-size: clamp(26px, 6vw, 42px); }
    .hero-sub { font-size: 15px; }
    .hero-ctas {
        flex-direction: column; gap: 10px; align-items: stretch;
    }
    .hero-cta-primary, .hero-cta-ghost {
        width: 100%; justify-content: center; text-align: center;
    }
    .hero-search-zone { flex-direction: column; gap: 8px; }
    .hero-search-zone input { width: 100%; }
    .hero-search-btn { width: 100%; }
    .hero-tag-row { gap: 6px; }
    .hero-trust-row { flex-wrap: wrap; gap: 8px; }
    .hero-r { display: none; }
}
@media (max-width: 480px) {
    .qhp-hero {
        padding-top: calc(var(--hdr-h, 60px) + 24px);
        padding-bottom: 32px;
    }
    .hero-l h1 { font-size: clamp(22px, 7vw, 30px); }
    .hero-pill { font-size: 10px; padding: 5px 12px; }
    .hero-sub { font-size: 14px; }
    .hero-search-zone { border-radius: 12px; padding: 10px; }
    .hero-search-zone input { font-size: 16px; /* iOS zoom prevention */ }
    .hero-tag { font-size: 11px; padding: 4px 10px; }
    .hero-trust-row .trust-badge { font-size: 11px; }
    .hero-float-badge { display: none; }
    .hero-cta-primary, .hero-cta-ghost {
        font-size: 13px; padding: 12px 18px;
    }
}

/* ─────────────────────────────────────────────
   8. STATS STRIP
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .stats-strip, .qhp-stats-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px; padding: 20px 16px;
    }
    .stat-item .stat-num { font-size: 22px; }
    .stat-item .stat-label { font-size: 11px; }
}
@media (max-width: 480px) {
    .stats-strip, .qhp-stats-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px; padding: 16px 12px;
    }
}

/* ─────────────────────────────────────────────
   9. SERVICE CARDS GRID
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .services-grid, .qhp-services-grid {
        grid-template-columns: repeat(2, 1fr); gap: 12px;
    }
    .service-card { padding: 16px 12px; }
    .service-card .sc-icon { width: 40px; height: 40px; }
    .service-card h3 { font-size: 14px; }
}
@media (max-width: 480px) {
    .services-grid, .qhp-services-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   10. SECTION HEADINGS
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .section-heading, .qhp-section-heading,
    .sp-section-title, .sec-title {
        font-size: clamp(22px, 5vw, 32px);
    }
    .section-sub, .qhp-section-sub, .sec-sub { font-size: 14px; }
    .section-header, .sec-header { margin-bottom: 32px; }
}
@media (max-width: 480px) {
    .section-heading, .qhp-section-heading, .sec-title {
        font-size: clamp(20px, 6vw, 26px);
    }
}

/* ─────────────────────────────────────────────
   11. FOOTER
───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .site-footer .footer-grid, .tcf-grid {
        grid-template-columns: repeat(2, 1fr); gap: 32px;
    }
    .footer-brand-col, .tcf-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .site-footer .footer-grid, .tcf-grid {
        grid-template-columns: 1fr; gap: 24px;
    }
    .footer-brand-col, .tcf-brand { grid-column: auto; }
    .footer-col h4, .tcf-col-title { font-size: 11px; margin-bottom: 12px; }
    .footer-col ul li, .tcf-links li { margin-bottom: 6px; }
    .footer-col a, .tcf-links li a { font-size: 13px; }
    .footer-bottom, .tcf-bottom-inner {
        flex-direction: column; gap: 8px;
        text-align: center; font-size: 12px;
    }
    .footer-social, .tcf-social { justify-content: center; }
}
@media (max-width: 480px) {
    .site-footer { padding: 40px 0 24px; }
    .footer-logo img, .tcf-logo-img { height: 28px; }
    .footer-tagline, .tcf-brand-desc { font-size: 13px; }
}

/* ─────────────────────────────────────────────
   12. PAGE HERO (inner pages)
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .page-hero, .qhp-page-hero { padding: 80px 0 40px; }
    .page-hero h1, .sp-hero h1 { font-size: clamp(22px, 5vw, 36px); }
    .page-hero .breadcrumb { font-size: 12px; flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .page-hero { padding: 70px 0 32px; }
    .page-hero h1, .sp-hero h1 { font-size: clamp(20px, 6vw, 28px); }
}

/* ─────────────────────────────────────────────
   13. FORMS — iOS ZOOM PREVENTION + TOUCH
───────────────────────────────────────────── */
@media (max-width: 768px) {
    input[type="text"], input[type="email"],
    input[type="tel"], input[type="number"],
    input[type="password"], input[type="search"],
    input[type="url"], textarea, select {
        font-size: 16px !important; /* iOS: prevents zoom on focus */
        min-height: 44px;
    }
    textarea { min-height: 88px; }
    .form-group { margin-bottom: 14px; }
    .form-row { flex-direction: column; gap: 14px; }
    .form-label { font-size: 13px; }
    .btn-submit, .form-submit, button[type="submit"] {
        width: 100%; min-height: 48px; font-size: 15px;
    }
}

/* ─────────────────────────────────────────────
   14. SERVICE PAGES (sp- prefix)
───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .sp-content-grid { grid-template-columns: 1fr; }
    .sp-sidebar { display: none; }
    .sp-main { max-width: 100%; }
}
@media (max-width: 768px) {
    /* sp-hero has no negative margin (body already clears the fixed header),
       so it must NOT carry page-hero's 80px compensation padding — that was
       stacking ~108px of dead space above the hero content. Spacing below the
       header is handled by body padding-top + .sp-hero-grid's own top padding. */
    .sp-hero { padding: 0; text-align: left; }
    .sp-hero-meta { flex-wrap: wrap; gap: 8px; }
    .sp-hero-badge { font-size: 11px; }
    .sp-cta-strip { flex-direction: column; gap: 10px; }
    .sp-cta-strip .sp-cta-btn { width: 100%; text-align: center; }
    .sp-process-steps { grid-template-columns: 1fr; gap: 16px; }
    .sp-docs-grid { grid-template-columns: 1fr; gap: 10px; }
    .sp-faq-item { padding: 14px 16px; }
    .sp-faq-q { font-size: 14px; }
}
@media (max-width: 480px) {
    .sp-hero h1 { font-size: clamp(20px, 6vw, 28px); }
    .sp-section { padding: 32px 0; }
    .sp-section-title { font-size: clamp(18px, 5vw, 24px); }
    .sp-card { padding: 16px; }
    .sp-price-card { padding: 20px 16px; }
    .sp-price-amount { font-size: 28px; }
}

/* ─────────────────────────────────────────────
   15. BLOG
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card { border-radius: 12px; }
    .blog-card .bc-thumb { height: 180px; }
    .blog-card .bc-body { padding: 16px; }
    .blog-card h3 { font-size: 16px; }
    .bp-layout { grid-template-columns: 1fr; }
    .bp-sidebar { display: none; }
    .bp-content h1 { font-size: clamp(22px, 5vw, 34px); }
    .bp-content h2 { font-size: clamp(18px, 4vw, 24px); }
}

/* Blog tables — horizontal scroll */
.bp-content table, .prose table {
    display: block; overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}
@media (max-width: 768px) {
    .bp-content table, .prose table { font-size: 13px; }
    .bp-content th, .bp-content td,
    .prose th, .prose td { padding: 8px 10px; white-space: nowrap; }
    .bp-content img, .prose img { max-width: 100%; height: auto; }
    .bp-content pre, .prose pre {
        overflow-x: auto; max-width: 100%; font-size: 12px;
    }
}

/* Blog mobile CTA — disabled */
.bp-mobile-cta { display: none !important; }

/* ─────────────────────────────────────────────
   16. SEARCH BAR / OVERLAY
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .search-overlay { padding: 80px 16px 24px; }
    .search-overlay .search-input {
        font-size: 16px; height: 52px; padding: 0 16px;
    }
    .search-results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .header-search-btn { padding: 8px; }
}

/* ─────────────────────────────────────────────
   17. CLIENT / PARTNER SCROLL STRIPS
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .clients-strip, .partners-strip, .logo-strip { padding: 20px 0; }
    .clients-strip .logo-track img,
    .partners-strip .logo-track img,
    .logo-strip .logo-track img { height: 32px; }
    .logo-track { gap: 28px; }
}
@media (max-width: 480px) {
    .clients-strip .logo-track img,
    .partners-strip .logo-track img { height: 26px; }
    .logo-track { gap: 20px; }
}

/* ─────────────────────────────────────────────
   18. TOOLS / CALCULATOR GRID
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .tools-grid, .calculators-grid {
        grid-template-columns: repeat(2, 1fr); gap: 12px;
    }
    .tool-card, .calc-card { padding: 16px 12px; }
    .tool-card h3, .calc-card h3 { font-size: 14px; }
}
@media (max-width: 480px) {
    .tools-grid, .calculators-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   19. SCROLLABLE CARD STRIPS
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .card-strip-scroll {
        display: flex; overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 12px; padding-bottom: 12px;
        scrollbar-width: none;
    }
    .card-strip-scroll::-webkit-scrollbar { display: none; }
    .card-strip-scroll > * {
        flex: 0 0 85vw; scroll-snap-align: start;
        max-width: 320px;
    }
    /* Reviews */
    .reviews-grid {
        display: flex; overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 14px; padding: 4px 0 16px;
        scrollbar-width: none;
    }
    .reviews-grid::-webkit-scrollbar { display: none; }
    .review-card, .review {
        flex: 0 0 82vw; scroll-snap-align: start;
        max-width: 320px;
    }
    /* Case studies */
    .cases-grid, .case-grid {
        display: flex; overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 14px; padding-bottom: 16px;
        scrollbar-width: none;
    }
    .cases-grid::-webkit-scrollbar,
    .case-grid::-webkit-scrollbar { display: none; }
    .case-card, .case {
        flex: 0 0 80vw; scroll-snap-align: start;
        max-width: 320px;
    }
}

/* ─────────────────────────────────────────────
   20. FAQ SECTION
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .faq-grid { grid-template-columns: 1fr; }
    .faq-item { border-radius: 10px; }
    .faq-q { font-size: 14px; padding: 14px 16px; gap: 10px; }
    .faq-q svg { flex-shrink: 0; width: 18px; height: 18px; }
    .faq-a { padding: 0 16px 14px; font-size: 13px; line-height: 1.65; }
}

/* ─────────────────────────────────────────────
   21. COMPARISON TABLE
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .comparison-table-wrap {
        overflow-x: auto; -webkit-overflow-scrolling: touch;
        border-radius: 12px;
        border: 1px solid rgba(227,25,55,0.12);
    }
    .comparison-table { min-width: 540px; }
    .comparison-table th, .comparison-table td {
        font-size: 13px; padding: 10px 12px;
    }
}

/* ─────────────────────────────────────────────
   22. CAPTURE / LEAD FORM SECTIONS
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .capture-section, .lead-capture, .cta-band { padding: 40px 0; }
    .capture-grid, .cta-band-inner {
        grid-template-columns: 1fr; gap: 24px; text-align: center;
    }
    .cta-band h2 { font-size: clamp(20px, 5vw, 28px); }
    .cta-band .cta-actions {
        justify-content: center; flex-wrap: wrap; gap: 10px;
    }
    .cta-band .cta-actions a,
    .cta-band .cta-actions button { width: 100%; max-width: 320px; }
    .capture-form { max-width: 100%; }
    .capture-form .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .capture-section, .lead-capture, .cta-band { padding: 32px 0; }
}

/* ─────────────────────────────────────────────
   23. FLOATING ELEMENTS & BOTTOM BARS
───────────────────────────────────────────── */
@media (max-width: 768px) {
    #veda-fab, .veda-fab, .floating-chat-btn {
        bottom: 72px !important; right: 12px !important;
        width: 56px !important; height: 56px !important;
    }
    .wa-f, .wa-float, .whatsapp-float {
        bottom: 20px !important; right: 16px !important;
        width: 52px !important; height: 52px !important;
    }
}

/* Mobile bottom CTA bar */
@media (max-width: 640px) {
    .mobile-bottom-bar {
        position: fixed; bottom: 0; left: 0; right: 0;
        z-index: 900;
        display: flex; gap: 0;
        background: var(--navy-void, #0A132B);
        border-top: 1px solid rgba(227,25,55,0.18);
        padding: 8px 12px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
        backdrop-filter: blur(16px);
    }
    .mobile-bottom-bar a {
        flex: 1; text-align: center;
        font-size: 12px; padding: 6px 4px;
        color: rgba(255,255,255,0.65);
        text-decoration: none;
        transition: color 0.15s;
    }
    .mobile-bottom-bar a.primary {
        color: var(--gold, #E31937); font-weight: 600;
    }
    body.has-mobile-bar {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
}

/* ─────────────────────────────────────────────
   24. LANDSCAPE PHONE
───────────────────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
    .qhp-hero {
        padding-top: calc(var(--hdr-h, 56px) + 16px);
        padding-bottom: 24px;
    }
    .hero-split { gap: 24px; }
    .hero-l h1 { font-size: clamp(20px, 4vw, 28px); margin-bottom: 8px; }
    .hero-ctas { flex-direction: row; flex-wrap: wrap; }
    .hero-cta-primary, .hero-cta-ghost { width: auto; flex: 0 0 auto; }
    .hero-trust-row { display: none; }
    .nav-drawer { width: min(280px, 80vw); }
}

/* ─────────────────────────────────────────────
   25. XS PHONES (480px and below)
───────────────────────────────────────────── */
@media (max-width: 480px) {
    /* Design audit 2026-09-16, D-04: this one line set the inherited floor for
       the whole public site at 13px on a phone, and hundreds of elements sat
       between 10 and 13px as a result. 15px is the new floor — the audit asks
       for 16px on primary body copy, which the prose containers now set
       explicitly; this rule is the DEFAULT for everything that never chose a
       size, including chrome and labels, so it lands a step below that.
       Components with their own font-size are unaffected. */
    body { font-size: 15px; }
    .container { padding-left: 12px; padding-right: 12px; }
    .hero-l h1 { font-size: 20px; line-height: 1.3; }
    .hero-sub { font-size: 13px; }
    .hero-cta-primary, .hero-cta-ghost {
        font-size: 13px; padding: 11px 16px;
    }
    .hero-pill { font-size: 10px; }
    .section-heading, .qhp-section-heading { font-size: 18px; }
    .stat-num { font-size: 20px; }
    .footer-col a { font-size: 12px; }
    .sp-hero h1 { font-size: 19px; }
    input[type="text"], input[type="email"],
    input[type="tel"], input[type="number"],
    input[type="password"], textarea, select {
        font-size: 16px !important;
        padding: 10px 12px;
    }
}

/* ─────────────────────────────────────────────
   26. SAFE AREA (iPhone notch / home indicator)
───────────────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .site-footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
    .mobile-bottom-bar { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
    .nav-drawer { padding-bottom: env(safe-area-inset-bottom); }
}

/* ─────────────────────────────────────────────
   27. UTILITY CLASSES
───────────────────────────────────────────── */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
    .show-mobile-only { display: none !important; }
}
@media (max-width: 480px) {
    .hide-phone { display: none !important; }
}
@media (min-width: 481px) {
    .show-phone-only { display: none !important; }
}

/* Container responsive padding */
@media (max-width: 768px) {
    .container { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 480px) {
    .container { padding-left: 14px; padding-right: 14px; }
}

/* ─────────────────────────────────────────────
   28. SERVICE PAGE TABLES — mobile
───────────────────────────────────────────── */
@media (max-width: 480px) {
    .sp-tbl { min-width: 100%; font-size: 12px; }
    .sp-tbl th, .sp-tbl td { padding: 8px 10px; }
    .sp-compare-tbl { min-width: 480px !important; }
}

/* ─────────────────────────────────────────────
   29. PRINT STYLES
───────────────────────────────────────────── */
@media print {
    .site-header, .site-footer, .nav-drawer,
    .hamburger-btn, .ann-bar, .hero-ctas,
    .cta-band, .floating-chat-btn, .wa-float,
    #veda-fab, .veda-fab, .mobile-bottom-bar,
    .search-overlay, .cookie-banner,
    .tc-hdr, .tcf, .bg-canvas, .bg-grid, .orb {
        display: none !important;
    }
    body {
        color: #000; background: #fff;
        font-size: 12pt; line-height: 1.5;
    }
    a { color: #000; text-decoration: underline; }
    a[href]::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
    a[href^="#"]::after,
    a[href^="tel"]::after,
    a[href^="javascript"]::after { content: ''; }
    h1, h2, h3 { page-break-after: avoid; color: #000; }
    p, li { orphans: 3; widows: 3; }
    img { max-width: 100% !important; page-break-inside: avoid; }
    .container { max-width: 100%; padding: 0; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE STICKY CTA BAR
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .mobile-sticky-cta {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 999;
        background: rgba(5,16,31,0.97);
        backdrop-filter: blur(16px);
        border-top: 1px solid rgba(227,25,55,0.2);
        padding: 10px 16px;
        display: flex;
        gap: 8px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
    .mobile-sticky-cta.visible {
        transform: translateY(0);
    }
    .mobile-sticky-cta .msc-btn {
        flex: 1;
        padding: 14px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-family: 'DM Sans', system-ui, sans-serif;
    }
    .mobile-sticky-cta .msc-primary {
        background: linear-gradient(135deg, var(--gold, #E31937), var(--gold-bright, #F5405E));
        color: var(--navy-void, #05101F);
    }
    .mobile-sticky-cta .msc-wa {
        background: rgba(37,211,102,0.12);
        color: #25D366;
        border: 1.5px solid rgba(37,211,102,0.3);
    }
    body { padding-bottom: 68px; }
}
@media (min-width: 769px) {
    .mobile-sticky-cta { display: none; }
}

/* mythos.css */
/* ════════════════════════════════════════════════════════════════
   MYTHOS LAYER — site-wide premium animation enhancements
   Loaded on ALL www pages via templates/layouts/main.php
   Pure enhancement: never hides content, never blocks render.
   Disable for a visitor: localStorage.setItem('mythosOff','1')
════════════════════════════════════════════════════════════════ */

/* ── Branded text selection — browser default blue brand se clash karta tha ── */
::selection { background: var(--gold, #E31937); color: var(--navy-void, #05101F); }
::-moz-selection { background: var(--gold, #E31937); color: var(--navy-void, #05101F); }

/* ── Custom cursor REMOVED — native browser cursor is used site-wide. ── */

/* ── Film grain — cinematic texture, extremely subtle ── */
#mythGrain {
  position: fixed; inset: -100%; z-index: 9998; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: mythGrain 8s steps(10) infinite;
}
@keyframes mythGrain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -8%); } 30% { transform: translate(6%, 3%); }
  50% { transform: translate(-4%, 7%); } 70% { transform: translate(7%, -4%); }
  90% { transform: translate(-6%, -6%); }
}

/* ── 3D tilt cards — JS drives transform; this prepares the stage ── */
.myth-tilt {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.myth-glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; z-index: 1;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%),
              rgba(245, 64, 94, .13), transparent 45%);
  transition: opacity .3s ease;
}
.myth-tilt:hover .myth-glare { opacity: 1; }

/* ── Magnetic buttons ── */
.myth-mag { will-change: transform; }

/* ── Click ripple ── */
.myth-ripple-host { position: relative; overflow: hidden; }
.myth-ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, .45);
  transform: scale(0);
  animation: mythRipple .6s ease-out forwards;
}
@keyframes mythRipple { to { transform: scale(3.4); opacity: 0; } }

/* ── Title soft blur-reveal — professional focus-in effect ──
   .myth-t sirf JS (html.myth-on) ke saath hide hota hai,
   isliye bina JS ke titles hamesha visible rehte hain. */
html.myth-on .myth-t {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(12px);
  transition: opacity .8s ease, filter .8s ease,
              transform .8s cubic-bezier(.22, 1, .36, 1);
}
html.myth-on .myth-t.myth-t-in {
  opacity: 1;
  filter: none;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.myth-on .myth-t { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ── Reduced motion / coarse pointer: layer fully inert ── */
@media (prefers-reduced-motion: reduce) {
  #mythGrain { display: none !important; }
}

