/* ============================================================
   AI APOLLO 2.1 — MASTER STYLES (UPGRADED)
   v2.1.1 - 2026-04-08
   ============================================================ */

/* Manrope font loaded via <link rel="preload"> in HTML — no @import needed */

/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
    /* Backgrounds - Warmer, more distinctive */
    --bg-primary: #FAFBFE;
    --bg-secondary: #FFFFFF;
    --bg-section: #F0F2F8;
    --bg-warm: #FFFBF7;
    --bg-dark: #0A1628;
    --bg-dark2: #162447;
    --bg-midnight: #0D1B2A;

    /* Accent system - Richer, warmer tones */
    --indigo: #1E3A5F;
    --indigo-deep: #0D2240;
    --navy-depth: #162447;
    --teal: #00B4D8;
    --teal-light: #48CAE4;
    --teal-deep: #0077B6;
    --gold: #D4A84B;
    --gold-light: #E8C171;
    --gold-warm: #C9983A;
    --green-ok: #10B981;
    --pulse-red: #E84545;
    --pulse-red-light: #FF6B6B;
    --sage: #3D5A5B;

    /* Glow / shadow layers */
    --glow-indigo: rgba(30, 58, 95, 0.22);
    --glow-teal: rgba(0, 180, 216, 0.25);
    --glow-red: rgba(232, 69, 69, 0.35);
    --glow-gold: rgba(212, 168, 75, 0.25);

    /* Text */
    --text-h: #080C1A;
    --text-body: #2E3455;
    --text-muted: #6A7099;
    --text-inv: #FFFFFF;

    /* Borders */
    --border-light: rgba(0, 0, 0, 0.07);
    --border-mid: rgba(0, 0, 0, 0.12);
    --border-accent: rgba(43, 50, 128, 0.22);

    /* Cards */
    --card-bg: #FFFFFF;
    --card-hover: #F6F8FF;
    --shadow-sm: 0 2px 12px rgba(8, 12, 26, 0.06), 0 1px 3px rgba(8, 12, 26, 0.04);
    --shadow-md: 0 8px 32px rgba(8, 12, 26, 0.1), 0 2px 8px rgba(43, 50, 128, 0.08);
    --shadow-lg: 0 20px 60px rgba(8, 12, 26, 0.16), 0 4px 16px rgba(43, 50, 128, 0.12);
    --shadow-glow: 0 0 0 1px rgba(43, 50, 128, .12), 0 12px 40px rgba(43, 50, 128, .16);

    /* Gradients - Richer, more dramatic */
    --grad-primary: linear-gradient(135deg, #1E3A5F 0%, #00B4D8 100%);
    --grad-gold: linear-gradient(135deg, #C9983A 0%, #E8C171 100%);
    --grad-hero: linear-gradient(165deg, #0A1628 0%, #162447 45%, #1B365C 100%);
    --grad-text: linear-gradient(135deg, #48CAE4 0%, #00B4D8 100%);
    --grad-teal: linear-gradient(135deg, #48CAE4, #0077B6);
    --grad-emergency: linear-gradient(135deg, #E84545, #C73535);
    --grad-authority: linear-gradient(165deg, #0A1628 0%, #162447 50%, #1B365C 100%);

    /* Typography - Distinctive pairing */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-h: 'Playfair Display', Georgia, serif;
    --font-b: 'Manrope', system-ui, sans-serif;

    /* Layout */
    --max-w: 1200px;
    --sec-pad: 120px;
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --radius-full: 9999px;

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.2s var(--ease-out);
    --t-base: 0.4s var(--ease-out);
    --t-slow: 0.7s var(--ease-out);

    /* Compatibility aliases (maps old token names → new) */
    --gradient-hero: var(--grad-hero);
    --gradient-main: var(--grad-primary);
    --gradient-gold: var(--grad-gold);
    --gradient-text: var(--grad-text);
    --accent-primary: var(--indigo);
    --accent-secondary: var(--teal);
    --accent-gold: var(--gold);
    --accent-gold-light: var(--gold-light);
    --accent-green: var(--green-ok);
    --accent-glow: var(--glow-indigo);
    --text-primary: var(--text-h);
    --text-secondary: var(--text-body);
    --border-subtle: var(--border-light);
    --border-medium: var(--border-mid);
    --border-cyan: rgba(0, 120, 212, .2);
    --card-shadow: var(--shadow-sm);
    --card-shadow-hover: var(--shadow-lg);
    --font-heading: var(--font-h);
    --font-body: var(--font-b);
    --font-primary: var(--font-h);
    --container-max: var(--max-w);
    --transition-base: var(--t-base);
    --transition-fast: var(--t-fast);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    background: var(--bg-primary);
}

body {
    background: var(--bg-primary);
    color: var(--text-body);
    font-family: var(--font-b);
    line-height: 1.68;
    overflow-x: hidden;
}

/* Grain texture overlay for premium atmosphere */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.018;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: overlay;
}

h1,
h2 {
    font-family: var(--font-display);
    letter-spacing: -0.025em;
    line-height: 1.08;
    color: var(--text-h);
    font-weight: 700;
}

h3,
h4 {
    font-family: var(--font-b);
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--text-h);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--t-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-b);
    border: none;
    background: none;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: var(--sec-pad) 0;
    position: relative;
}

/* Diagonal section divider - creates angled transitions */
.section-diagonal {
    position: relative;
}

.section-diagonal::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 120px;
    background: inherit;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    z-index: -1;
}

/* Alternate diagonal direction */
.section-diagonal-alt::before {
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%);
}

/* Subtle wave divider */
.section-wave::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: inherit;
    clip-path: ellipse(60% 100% at 50% 100%);
    z-index: -1;
}

/* ── SCROLL REVEAL (web-animation skill) ────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity var(--t-slow), transform var(--t-slow);
    will-change: transform, opacity;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Hero word-by-word entrance */
.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: wordUp 0.75s var(--ease-out) forwards;
    margin-right: 0.25em;
}

@keyframes wordUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced page load animation system */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Staggered hero content reveal — see end of file for current animation order */

/* Hero image dramatic entrance */
.hero-image-wrapper {
    animation: scaleIn 1s var(--ease-out) 0.3s both;
}

/* Float badges staggered */
.hero-float-badge:nth-child(2) {
    animation: fadeSlideIn 0.8s var(--ease-out) 0.7s both, floatBadge 7s ease-in-out 1.5s infinite;
}

.hero-float-badge:nth-child(3) {
    animation: fadeSlideIn 0.8s var(--ease-out) 0.85s both, floatBadge 7s ease-in-out 2s infinite;
}

/* Cursor glows — disabled on light theme */
#cursor-glow,
#secondary-glow {
    display: none;
}

/* ── SHIMMER GLASS CARD ─────────────────────────────────── */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--t-base);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Subtle top-edge shimmer */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--teal) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--t-base);
}

/* Light sweep/shine effect on hover */
.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 20%,
            rgba(255, 255, 255, 0.03) 35%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.03) 65%,
            transparent 80%);
    transform: skewX(-25deg);
    transition: left 0.7s var(--ease-out);
    pointer-events: none;
    z-index: 1;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover::after {
    left: 150%;
}

.glass-card:hover {
    border-color: var(--border-accent);
    background: var(--card-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--grad-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    transition: var(--t-base);
    box-shadow: 0 4px 20px var(--glow-teal);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background var(--t-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px var(--glow-teal);
    color: #fff;
}

.btn-primary:hover::after {
    background: rgba(255, 255, 255, .08);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    background: transparent;
    color: var(--text-body);
    border: 1.5px solid var(--border-mid);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--t-base);
}

.btn-outline:hover {
    border-color: var(--indigo);
    color: var(--indigo);
    background: rgba(43, 50, 128, .04);
}

/* ── NAVIGATION ─────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 0;
    z-index: 1000;
    background: rgba(245, 247, 252, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: var(--t-base);
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border-light);
    box-shadow: 0 2px 24px rgba(8, 12, 26, 0.08);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-h);
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
    letter-spacing: 0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width var(--t-fast);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--indigo);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--indigo);
}

.nav-cta {
    padding: 9px 22px !important;
    background: var(--grad-primary) !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 14px var(--glow-teal);
    transition: var(--t-base) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px var(--glow-teal) !important;
    color: #fff !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-h);
    border-radius: 2px;
    transition: var(--t-fast);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.99);
    border-left: 1px solid var(--border-light);
    box-shadow: -8px 0 60px rgba(8, 12, 26, 0.14);
    z-index: 999;
    flex-direction: column;
    padding: 96px 32px 40px;
    gap: 4px;
    transition: right 0.4s var(--ease-out);
}

.nav-mobile.open {
    right: 0;
}

.nav-mobile a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-body);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.nav-mobile a:hover {
    color: var(--indigo);
}

/* ── UTILITIES ───────────────────────────────────────────── */
.glow-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(0, 180, 216, .2));
}

.gold-text {
    color: var(--gold);
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: var(--text-h);
    margin-bottom: 16px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.02rem;
    color: var(--text-body);
    max-width: 620px;
    line-height: 1.85;
    opacity: 0.8;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--grad-hero);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Subtle grid lines */
.hero-grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.045;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
    background-size: 70px 70px;
}

/* Radial glow overlays */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 65% 50%, rgba(43, 50, 128, .32) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 80%, rgba(0, 120, 212, .18) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(56, 171, 255, .09) 0%, transparent 40%);
    pointer-events: none;
}

/* Animated pulsing orb */
.hero-glow-orb {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43, 50, 128, .16) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: orbPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .6;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 30px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    animation: wordUp 0.6s var(--ease-out) 0.1s both;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%;
    animation: dot-blink 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 180, 216, .8);
}

@keyframes dot-blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .2
    }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    color: #FFF;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.hero h1 .glow-text {
    background: var(--grad-teal);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 180, 216, .4));
}

.hero-role {
    font-size: 0.94rem;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 18px;
    letter-spacing: 0.3px;
    animation: wordUp 0.6s var(--ease-out) 0.25s both;
}

.hero p.hero-tagline {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .68);
    margin-bottom: 44px;
    max-width: 560px;
    line-height: 1.88;
    animation: wordUp 0.6s var(--ease-out) 0.4s both;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 46px;
    animation: wordUp 0.6s var(--ease-out) 0.55s both;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    color: #FFF;
    letter-spacing: -0.03em;
}

.stat-number.glow-text {
    background: var(--grad-teal);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(0, 180, 216, .45));
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, .45);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    animation: wordUp 0.6s var(--ease-out) 0.7s both;
}

/* Emergency Call CTA - Distinctive red pulse */
.btn-cta-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--grad-emergency);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 28px var(--glow-red);
    position: relative;
    overflow: hidden;
    transition: var(--t-base);
    animation: emergencyPulse 2.5s ease-in-out infinite;
}

.btn-cta-call::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--grad-emergency);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    animation: emergencyGlow 2.5s ease-in-out infinite;
}

.btn-cta-call:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px var(--glow-red);
    color: #fff;
}

@keyframes emergencyPulse {

    0%,
    100% {
        box-shadow: 0 6px 28px var(--glow-red);
    }

    50% {
        box-shadow: 0 8px 36px rgba(232, 69, 69, 0.5);
    }
}

@keyframes emergencyGlow {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

/* WhatsApp CTA - Green confidence */
.btn-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: var(--t-base);
}

.btn-cta-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
    color: #fff;
}

/* OPD Booking CTA - Ghost style */
.btn-cta-opd {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    backdrop-filter: blur(8px);
    transition: var(--t-base);
}

.btn-cta-opd:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.hero .btn-primary {
    background: linear-gradient(135deg, #48CAE4, #0077B6);
    color: #0A1628;
    font-weight: 800;
    box-shadow: 0 6px 28px rgba(0, 180, 216, .45);
}

.hero .btn-primary:hover {
    color: #0A1628;
    box-shadow: 0 12px 40px rgba(0, 180, 216, .6);
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .78);
}

.hero .btn-outline:hover {
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

/* Hero image */
.hero-image-wrapper {
    position: relative;
    flex-shrink: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 180, 216, .1);
}

.hero-image-wrapper img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-xl);
    display: block;
}

/* Hero floating badges */
.hero-float-badge {
    position: absolute;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 22, 40, .75);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 180, 216, .1);
    will-change: transform;
}

/* Float badge positions handled above with enhanced entrance animations */

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.float-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 180, 216, .14);
    border: 1px solid rgba(0, 180, 216, .25);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.float-text {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.32;
}

.float-text strong {
    display: block;
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 1px;
}

/* ECG decoration line in hero */
.hero-ecg {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    height: 50px;
    pointer-events: none;
    opacity: 0.18;
}

.hero-ecg svg {
    width: 100%;
    height: 50px;
}

.ecg-line {
    fill: none;
    stroke: var(--teal);
    stroke-width: 1.5;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: ecgDraw 4s linear 1s infinite;
    filter: drop-shadow(0 0 4px rgba(0, 180, 216, .5));
}

@keyframes ecgDraw {
    0% {
        stroke-dashoffset: 2000;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -2000;
    }
}

/* ── BENTO GRID ─────────────────────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.bento-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 220px;
}

.bento-card.large {
    grid-column: span 8;
}

.bento-card.medium {
    grid-column: span 4;
}

.bento-card.small {
    grid-column: span 4;
}

.bento-card.xlarge {
    grid-column: span 12;
}

.bento-card h2,
.bento-card h3 {
    color: var(--text-h);
}

.bento-card p {
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.78;
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about-bio-text {
    font-size: 0.97rem;
    color: var(--text-body);
    line-height: 1.88;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--indigo);
    border-radius: var(--radius-xs);
    font-size: 0.87rem;
    color: var(--text-body);
    font-weight: 500;
    transition: var(--t-fast);
}

.about-highlight:hover {
    border-left-color: var(--teal);
    color: var(--indigo);
    background: rgba(43, 50, 128, .04);
    transform: translateX(3px);
}

/* Read more link */
.read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--indigo);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--t-fast);
}

.read-more:hover {
    gap: 8px;
    color: var(--teal);
}

/* ── EXPERTISE ───────────────────────────────────────────── */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.expertise-card {
    padding: 32px 28px;
}

.expertise-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(43, 50, 128, .08), rgba(0, 120, 212, .06));
    border: 1px solid rgba(43, 50, 128, .1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    transition: var(--t-base);
}

.expertise-card:hover .expertise-icon {
    background: linear-gradient(135deg, rgba(43, 50, 128, .16), rgba(0, 120, 212, .12));
    transform: scale(1.06);
}

.expertise-card h3 {
    font-size: 1.02rem;
    color: var(--text-h);
    margin-bottom: 10px;
    font-family: var(--font-b);
    font-weight: 700;
}

.expertise-card p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.82;
}

/* Expertise progress indicator (decorative bar) */
.expertise-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.expertise-card:hover::after {
    transform: scaleX(1);
}

/* ── TIMELINE ────────────────────────────────────────────── */
.timeline {
    position: relative;
    padding-left: 48px;
    max-width: 820px;
    margin: 60px auto 0;
}

/* Animated gradient line */
.timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent 0%, var(--indigo) 10%, var(--teal) 80%, transparent 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 36px;
}

.timeline-dot {
    position: absolute;
    left: -37px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--indigo);
    box-shadow: 0 0 0 4px rgba(43, 50, 128, .1);
    transition: var(--t-base);
}

.timeline-dot.active {
    background: var(--indigo);
    border-color: var(--indigo);
    box-shadow: 0 0 0 6px rgba(43, 50, 128, .15), 0 0 20px rgba(43, 50, 128, .3);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(43, 50, 128, .2), 0 0 16px rgba(43, 50, 128, .2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(43, 50, 128, .08), 0 0 28px rgba(43, 50, 128, .35);
    }
}

.timeline-year {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 6px;
}

.timeline-title {
    font-family: var(--font-h);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-h);
    margin-bottom: 4px;
}

.timeline-institution {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--indigo);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.82;
}

/* ── SCENARIO CARDS ─────────────────────────────────────── */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 36px;
}

.scenario-card {
    padding: 30px 28px;
}

.scenario-tag {
    display: inline-block;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(0, 120, 212, .07);
    border: 1px solid rgba(0, 120, 212, .14);
    border-radius: var(--radius-full);
    padding: 3px 12px;
    margin-bottom: 16px;
}

.scenario-icon {
    font-size: 1.9rem;
    margin-bottom: 14px;
}

.scenario-card h3 {
    font-family: var(--font-b);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-h);
    margin-bottom: 12px;
}

.scenario-card p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.82;
}

.nmc-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    border-top: 1px solid var(--border-light);
    padding-top: 22px;
    line-height: 1.72;
}

/* ── KNOWLEDGE / INSIGHTS ───────────────────────────────── */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.insight-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.insight-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: transform 0.5s var(--ease-out);
    overflow: hidden;
}

.insight-card:hover .insight-card-image {
    transform: scale(1.03);
}

.insight-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.insight-tag {
    display: inline-block;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 2px;
}

.insight-card h3 {
    font-family: var(--font-b);
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text-h);
    line-height: 1.4;
}

.insight-card p {
    font-size: 0.87rem;
    color: var(--text-body);
    line-height: 1.78;
    flex: 1;
}

.insight-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--indigo);
    margin-top: auto;
    transition: var(--t-fast);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.insight-card:hover .insight-link {
    color: var(--teal);
    gap: 8px;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-item:first-child {
    border-top: 1px solid var(--border-light);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.99rem;
    font-weight: 600;
    color: var(--text-h);
    cursor: pointer;
    text-align: left;
    transition: color var(--t-fast);
}

.faq-question:hover {
    color: var(--indigo);
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--border-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-style: normal;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: var(--t-base);
    line-height: 1;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out);
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer-inner {
    font-size: 0.93rem;
    color: var(--text-body);
    line-height: 1.88;
    padding-bottom: 24px;
    padding-right: 48px;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.contact-card {
    padding: 36px 32px;
    text-align: center;
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(43, 50, 128, .08), rgba(0, 120, 212, .06));
    border: 1px solid rgba(43, 50, 128, .1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--t-base);
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, rgba(43, 50, 128, .16), rgba(0, 120, 212, .1));
    transform: scale(1.07);
}

.contact-card h3 {
    font-family: var(--font-b);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-h);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.78;
}

.contact-card a {
    color: var(--indigo);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--teal);
}

.contact-highlight {
    color: var(--indigo);
    font-weight: 700;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
    background: var(--bg-dark);
    padding: 64px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    gap: 40px;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, .38);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, .45);
    font-weight: 500;
    transition: color var(--t-fast);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 22px 0;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, .28);
    line-height: 1.72;
    font-style: italic;
}

/* ── COUNTER (data-target values) ───────────────────────── */
[data-target] {
    display: inline-block;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width:1024px) {

    .bento-card.large,
    .bento-card.medium,
    .bento-card.small {
        grid-column: span 12;
    }

    .expertise-grid,
    .scenarios-grid,
    .insights-grid,
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-image-wrapper img {
        max-width: 340px;
    }
}

@media (max-width:768px) {
    :root {
        --sec-pad: 80px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-mobile {
        display: flex;
    }

    .expertise-grid,
    .scenarios-grid,
    .insights-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-ecg {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
    }

    [style*="display:flex"][style*="justify-content:space-between"][style*="gap:60px"] {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 40px !important;
    }

    .hero-image-wrapper {
        display: none;
    }
}

/* ── ACCESSIBILITY: Reduced Motion ───────────────────────── */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .hero-word,
    .hero-badge,
    .hero-role,
    .hero p.hero-tagline,
    .hero-stats,
    .hero-ctas,
    .hero-image-wrapper {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .ecg-line {
        animation: none;
        stroke-dashoffset: 0;
    }

    .hero-glow-orb,
    .hero-float-badge,
    .timeline-dot.active {
        animation: none;
    }
}

/* (compatibility bridge merged into primary :root above) */

/* ═══════════════════════════════════════════════════════
   QUIZ PAGE (ICU Intel) — Tabs, Myth Cards, Score
   ════════════════════════════════════════════════════════ */
.tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 32px;
    border-radius: 99px;
    border: 1.5px solid rgba(94, 106, 210, 0.3);
    background: rgba(94, 106, 210, 0.06);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
    transform: translateY(0);
}

.tab-btn.active {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(94, 106, 210, 0.4);
}

.tab-btn:hover:not(.active) {
    background: rgba(94, 106, 210, 0.14);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(94, 106, 210, 0.18);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.myth-flip-hint {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.myth-flip-hint span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(43, 50, 128, 0.08);
    padding: 6px 14px;
    border-radius: 99px;
    border: 1px solid var(--border-accent);
}

/* ── MYTH FLIP CARDS ── */
.myths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
    perspective: 1400px;
}

.myth-card {
    min-height: 230px;
    cursor: pointer;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.myth-card-inner {
    position: relative;
    width: 100%;
    min-height: 230px;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
    border-radius: 16px;
}

.myth-card.flipped .myth-card-inner {
    transform: rotateY(180deg);
}

.myth-front,
.myth-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
}

.myth-front {
    background: var(--bg-section, #F0F2F8);
    border: 1.5px solid var(--border-accent, rgba(43, 50, 128, 0.22));
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .myth-front {
    background: linear-gradient(145deg, #1a1f4e 0%, #0f1235 100%);
    border-color: rgba(165, 180, 252, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.myth-card:hover .myth-front {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .myth-card:hover .myth-front {
    border-color: rgba(165, 180, 252, 0.5);
    box-shadow: 0 12px 40px rgba(94, 106, 210, 0.3);
}

.myth-back {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02));
    border: 1.5px solid rgba(16, 185, 129, 0.2);
    box-shadow: var(--shadow-sm);
    transform: rotateY(180deg);
}

[data-theme="dark"] .myth-back {
    background: linear-gradient(145deg, #0d3b2e 0%, #071e17 100%);
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.myth-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--indigo, #1E3A5F);
    margin-bottom: 14px;
}

[data-theme="dark"] .myth-label {
    color: #a5b4fc;
}

.myth-label.fact {
    color: var(--green-ok, #10B981);
}

[data-theme="dark"] .myth-label.fact {
    color: #34d399;
}

.myth-statement {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-h, #080C1A);
    font-style: italic;
    line-height: 1.6;
    flex: 1;
    margin: 0 0 16px;
}

[data-theme="dark"] .myth-statement {
    color: #e2e8f8;
}

.myth-fact {
    font-size: 0.87rem;
    color: var(--green-ok, #10B981);
    line-height: 1.8;
    flex: 1;
    margin: 0 0 14px;
}

[data-theme="dark"] .myth-fact {
    color: #a7f3d0;
}

.myth-source {
    font-size: 0.7rem;
    color: var(--green-ok, #10B981);
    font-weight: 700;
    font-style: italic;
    opacity: 0.85;
}

[data-theme="dark"] .myth-source {
    color: #34d399;
}

.myth-tap-hint {
    font-size: 0.7rem;
    color: var(--text-muted, #6A7099);
    text-align: right;
    margin-top: 8px;
}

[data-theme="dark"] .myth-tap-hint {
    color: rgba(165, 180, 252, 0.6);
}

.score-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(43, 50, 128, 0.08);
    border: 1px solid var(--border-accent);
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════
   PAGE HEROES — Dark banner at the top of inner pages
   ════════════════════════════════════════════════════════ */
.page-hero,
.pulse-hero {
    background: var(--grad-hero);
    padding: 140px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before,
.pulse-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 60%, rgba(43, 50, 128, .3) 0%, transparent 65%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 120, 212, .15) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero h1,
.pulse-hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.page-hero p,
.pulse-hero p {
    color: rgba(255, 255, 255, .7);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto 32px;
    line-height: 1.85;
}

.page-hero .section-label {
    color: rgba(255, 255, 255, .5);
}

/* ═══════════════════════════════════════════════════════
   KNOWLEDGE HUB — Pillar grid + article layout
   ════════════════════════════════════════════════════════ */
.hub-layout {
    display: block;
}

.hub-layout.hidden {
    display: none;
}

.article-layout {
    display: none;
}

.article-layout.active {
    display: block;
}

/* Pillar grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Center orphan cards in last row */
.pillars-grid .pillar-card:last-child:nth-child(3n+1) {
    grid-column: 2;
}

.pillar-card {
    padding: 32px 28px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--t-base);
}

.pillar-card:hover {
    color: inherit;
}

.pillar-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(43, 50, 128, .07), rgba(0, 120, 212, .05));
    border: 1px solid rgba(43, 50, 128, .1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    transition: var(--t-base);
}

.pillar-card:hover .pillar-icon {
    background: linear-gradient(135deg, rgba(43, 50, 128, .15), rgba(0, 120, 212, .1));
    transform: scale(1.06);
}

.pillar-card h3 {
    font-family: var(--font-b);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-h);
    margin: 0;
}

.pillar-card p {
    font-size: 0.87rem;
    color: var(--text-body);
    line-height: 1.78;
    margin: 0;
}

.pillar-read-more {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--indigo);
    margin-top: auto;
    transition: var(--t-fast);
}

.pillar-card:hover .pillar-read-more {
    color: var(--teal);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-section);
    border-bottom: 1px solid var(--border-light);
    padding: 14px 0;
}

.breadcrumb-inner {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.breadcrumb-inner a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--t-fast);
}

.breadcrumb-inner a:hover {
    color: var(--indigo);
}

.breadcrumb-inner .current {
    color: var(--text-h);
    font-weight: 600;
}

/* Three-column article layout */
.article-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr 220px;
    gap: 0;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
    align-items: start;
}

.article-sidebar-left,
.article-sidebar-right {
    padding: 40px 24px;
    position: sticky;
    top: 80px;
}

.sidebar-title,
.toc-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.sidebar-link,
.toc-link {
    display: block;
    font-size: 0.85rem;
    color: var(--text-body);
    padding: 8px 12px;
    border-radius: var(--radius-xs);
    text-decoration: none;
    transition: var(--t-fast);
    margin-bottom: 2px;
    border-left: 2px solid transparent;
}

.sidebar-link:hover,
.toc-link:hover {
    color: var(--indigo);
    background: rgba(43, 50, 128, .04);
}

.sidebar-link.active {
    color: var(--indigo);
    border-left-color: var(--indigo);
    background: rgba(43, 50, 128, .05);
    font-weight: 600;
}

.related-link {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-decoration: none;
    color: var(--text-body);
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--t-fast);
}

.related-link:hover {
    color: var(--indigo);
}

.rlink-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.rlink-title {
    color: var(--text-body);
    transition: var(--t-fast);
}

.related-link:hover .rlink-title {
    color: var(--indigo);
}

/* Article content */
.article-content {
    padding: 48px 40px;
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    min-height: 600px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--indigo);
    background: rgba(43, 50, 128, .06);
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    margin-bottom: 24px;
    cursor: pointer;
    transition: var(--t-fast);
}

.back-btn:hover {
    background: rgba(43, 50, 128, .12);
}

.article-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(0, 120, 212, .07);
    border: 1px solid rgba(0, 120, 212, .14);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    margin-bottom: 18px;
}

.article-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--text-h);
    margin-bottom: 14px;
    letter-spacing: -1px;
}

.article-subtitle {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 18px;
    max-width: 680px;
}

.article-meta {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.article-content h3 {
    font-family: var(--font-b);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-h);
    margin: 36px 0 14px;
}

.article-content p {
    font-size: 0.96rem;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 16px;
}

.article-callout {
    background: rgba(43, 50, 128, .04);
    border-left: 4px solid var(--indigo);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 18px 22px;
    margin: 22px 0;
}

.article-callout p {
    margin: 0;
    font-size: 0.93rem;
}

.article-warning-box {
    background: rgba(220, 50, 50, .04);
    border: 1px solid rgba(220, 50, 50, .15);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 22px 0;
}

.warn-title {
    font-weight: 700;
    color: #B91C1C;
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.article-warning-box ul {
    list-style: disc;
    padding-left: 20px;
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.85;
}

.article-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.article-stat-card {
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 18px;
    text-align: center;
}

.article-stat-card .num {
    font-family: var(--font-h);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--indigo);
    line-height: 1;
    margin-bottom: 6px;
}

.article-stat-card .lbl {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════
   RESEARCH PAGE — Filters + Grid
   ════════════════════════════════════════════════════════ */
.research-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1.5px solid var(--border-mid);
    border-radius: var(--radius-full);
    background: #fff;
    color: var(--text-body);
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--t-fast);
    font-family: var(--font-b);
}

.filter-btn:hover {
    border-color: var(--indigo);
    color: var(--indigo);
}

.filter-btn.active {
    background: var(--indigo);
    border-color: var(--indigo);
    color: #fff;
    box-shadow: 0 4px 16px var(--glow-indigo);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.research-item {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.research-topic {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
}

.research-item h3 {
    font-family: var(--font-b);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-h);
    line-height: 1.4;
}

.research-authors {
    font-size: 0.83rem;
    color: var(--text-muted);
    font-style: italic;
}

.research-takeaway {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.78;
    background: rgba(43, 50, 128, .03);
    border-left: 3px solid var(--indigo);
    padding: 12px 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.research-takeaway strong {
    color: var(--text-h);
}

/* ── EMERGENCY TICKER ───────────────── */
.emergency-ticker-wrap {
    background: linear-gradient(90deg, #080C1A 0%, #16285E 50%, #080C1A 100%);
    color: var(--teal-light);
    border-bottom: 1px solid rgba(56, 171, 255, 0.2);
    padding: 10px 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    overflow: hidden;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ticker-dot {
    width: 6px;
    height: 6px;
    background: var(--teal-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--teal-light);
    animation: pulse-glow 2s infinite;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-scroll 25s linear infinite;
}

@keyframes ticker-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px #fff;
    animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.4;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

/* Adjust navbar top if ticker is present */
body.has-ticker {
    margin-top: 0;
}

body.has-ticker .nav {
    top: 40px;
    /* Aligned with ticker height */
}

/* Height of ticker roughly 34px */
@media (max-width: 768px) {
    body.has-ticker .nav {
        top: 30px;
    }
}

/* ═══════════════════════════════════════════════════════
   QUIZ PAGE  
   ════════════════════════════════════════════════════════ */
.quiz-hero {
    background: var(--grad-hero);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quiz-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(43, 50, 128, .3) 0%, transparent 65%);
    pointer-events: none;
}

.quiz-hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: -2px;
    margin-bottom: 14px;
}

.quiz-hero p {
    color: rgba(255, 255, 255, .7);
    max-width: 540px;
    margin: 0 auto 28px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.quiz-card-container {
    max-width: 780px;
    margin: 0 auto;
}

.quiz-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 44px 48px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.quiz-progress-bar-wrap {
    background: var(--bg-section);
    border-radius: var(--radius-full);
    height: 6px;
    margin-bottom: 32px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    transition: width 0.4s var(--ease-out);
}

.quiz-question-num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}

.quiz-question-text {
    font-family: var(--font-h);
    font-size: 1.35rem;
    color: var(--text-h);
    line-height: 1.35;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-option {
    padding: 14px 20px;
    border: 1.5px solid var(--border-mid);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-body);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--t-fast);
    font-family: var(--font-b);
    display: flex;
    align-items: center;
    gap: 12px;
}

.quiz-option:hover {
    border-color: var(--indigo);
    color: var(--indigo);
    background: rgba(43, 50, 128, .03);
}

.quiz-option.selected {
    border-color: var(--indigo);
    background: rgba(43, 50, 128, .07);
    color: var(--indigo);
    font-weight: 600;
}

.quiz-option.correct {
    border-color: var(--green-ok);
    background: rgba(22, 121, 74, .08);
    color: var(--green-ok);
}

.quiz-option.incorrect {
    border-color: #B91C1C;
    background: rgba(185, 28, 28, .07);
    color: #B91C1C;
}

.quiz-explanation {
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(43, 50, 128, .04);
    border-left: 4px solid var(--indigo);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.82;
}

.quiz-nav {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    justify-content: space-between;
    align-items: center;
}

.quiz-btn {
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--t-base);
    border: none;
    font-family: var(--font-b);
}

.quiz-btn-primary {
    background: var(--indigo);
    color: #fff;
    box-shadow: 0 4px 16px var(--glow-indigo);
}

.quiz-btn-primary:hover {
    background: var(--indigo-deep);
    transform: translateY(-2px);
}

.quiz-btn-secondary {
    background: var(--bg-section);
    color: var(--text-body);
}

.quiz-btn-secondary:hover {
    background: var(--border-light);
}

.quiz-result-card {
    text-align: center;
    padding: 60px 40px;
}

.quiz-score-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--indigo) var(--score-pct, 0%), var(--bg-section) 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    position: relative;
}

.quiz-score-ring-inner {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quiz-score-num {
    font-family: var(--font-h);
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--indigo);
    line-height: 1;
}

.quiz-score-denom {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.quiz-result-title {
    font-family: var(--font-h);
    font-size: 1.8rem;
    color: var(--text-h);
    margin-bottom: 12px;
}

.quiz-result-msg {
    font-size: 0.96rem;
    color: var(--text-body);
    line-height: 1.82;
    max-width: 480px;
    margin: 0 auto 28px;
}

.quiz-infographic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
}

.quiz-info-card {
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
}

.quiz-info-card .num {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 900;
    color: var(--indigo);
    line-height: 1;
    margin-bottom: 6px;
}

.quiz-info-card .lbl {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════
   BOOKING PAGE
   ════════════════════════════════════════════════════════ */
.booking-hero {
    background: var(--grad-hero);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(43, 50, 128, .28) 0%, transparent 65%);
    pointer-events: none;
}

.booking-hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: -2px;
    margin-bottom: 14px;
}

.booking-hero p {
    color: rgba(255, 255, 255, .7);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.82;
    font-size: 1.02rem;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.booking-info-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.booking-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--t-base);
}

.booking-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.booking-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(43, 50, 128, .08), rgba(0, 120, 212, .06));
    border: 1px solid rgba(43, 50, 128, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.booking-info-card h4 {
    font-family: var(--font-b);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.booking-info-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}

.booking-info-card a {
    color: var(--indigo);
    font-weight: 600;
}

.booking-form-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.booking-form-wrap h3 {
    font-family: var(--font-h);
    font-size: 1.4rem;
    color: var(--text-h);
    margin-bottom: 24px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-mid);
    border-radius: var(--radius-sm);
    font-family: var(--font-b);
    font-size: 0.92rem;
    color: var(--text-h);
    background: #fff;
    transition: border-color var(--t-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--indigo);
    box-shadow: 0 0 0 3px rgba(43, 50, 128, .08);
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.form-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--grad-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--t-base);
    font-family: var(--font-b);
    box-shadow: 0 4px 20px var(--glow-indigo);
    margin-top: 8px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px var(--glow-indigo);
}

/* ═══════════════════════════════════════════════════════
   PULSE / REVIEWS PAGE — Upgrade inline styles
   ════════════════════════════════════════════════════════ */
.platform-tabs-wrap {
    position: sticky;
    top: 70px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 20px rgba(8, 12, 26, .07);
}

.platform-tabs {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 28px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.platform-tabs::-webkit-scrollbar {
    display: none;
}

.platform-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 22px;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.87rem;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--t-fast);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--font-b);
}

.platform-tab:hover {
    color: var(--text-h);
}

.platform-tab.active {
    color: var(--indigo);
    border-bottom-color: var(--indigo);
}

.tab-count {
    font-size: 0.68rem;
    background: var(--bg-section);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
}

.platform-tab.active .tab-count {
    background: rgba(43, 50, 128, .1);
    color: var(--indigo);
}

.filter-bar {
    background: var(--bg-section);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
}

.filter-bar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.date-filter-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.date-filter-btn {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-mid);
    background: #fff;
    color: var(--text-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--t-fast);
    font-family: var(--font-b);
}

.date-filter-btn.active,
.date-filter-btn:hover {
    background: var(--indigo);
    color: #fff;
    border-color: var(--indigo);
}

.filter-sep {
    width: 1px;
    height: 24px;
    background: var(--border-mid);
    flex-shrink: 0;
}

.reviews-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 22px;
}

.review-card-v2 {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--t-base);
    overflow: hidden;
}

.review-card-v2:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.rc-header {
    padding: 16px 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.rc-meta {
    flex: 1;
}

.rc-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-h);
}

.rc-role {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.rc-platform-badge {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.badge-linkedin {
    background: rgba(0, 119, 181, .1);
    color: #0077B5;
}

.badge-facebook {
    background: rgba(24, 119, 242, .1);
    color: #1877F2;
}

.badge-instagram {
    background: rgba(193, 53, 132, .1);
    color: #C13584;
}

.badge-twitter {
    background: rgba(0, 0, 0, .06);
    color: #14171A;
}

.badge-others {
    background: rgba(43, 50, 128, .08);
    color: var(--indigo);
}

.rc-body {
    padding: 14px 20px;
}

.rc-text {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.75;
}

.rc-footer {
    padding: 12px 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    margin-top: 14px;
}

.rc-date {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.rc-reactions {
    display: flex;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.rc-reaction {
    display: flex;
    align-items: center;
    gap: 4px;
}

.photo-wall-section {
    background: var(--bg-section);
    border-top: 1px solid var(--border-light);
    padding: 90px 0;
}

.photo-wall-header {
    text-align: center;
    margin-bottom: 48px;
}

.photo-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.photo-wall-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-light);
    transition: var(--t-base);
}

.photo-wall-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.photo-wall-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-wall-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 26, .55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--t-fast);
}

.photo-wall-item:hover .photo-wall-overlay {
    opacity: 1;
}

.photo-wall-overlay span {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 6px;
}

.photo-upload-cta {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 1.5px dashed var(--border-accent);
    border-radius: var(--radius-md);
    max-width: 480px;
    margin: 40px auto 0;
}

.photo-upload-cta p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 8px;
    line-height: 1.6;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 26, .92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(12px);
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 800px;
    max-height: 80vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
    padding: 4px;
}

.lightbox-caption {
    text-align: center;
    margin-top: 12px;
    color: rgba(255, 255, 255, .7);
    font-size: 0.86rem;
}

.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 14px;
}

.photo-wall-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--bg-section) 0%, #e8ecf8 100%);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 20px;
    text-align: center;
}

.photo-wall-placeholder .ph-icon {
    font-size: 2rem;
    opacity: .5;
}

.platform-panel {
    display: none;
}

.platform-panel.active {
    display: block;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES FOR ALL INNER PAGES
   ════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .article-wrapper {
        grid-template-columns: 200px 1fr 180px;
    }
}

@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .booking-grid {
        grid-template-columns: 1fr;
    }

    .quiz-infographic {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-wrapper {
        grid-template-columns: 1fr;
    }

    .article-sidebar-left,
    .article-sidebar-right {
        display: none;
    }

    .article-content {
        border: none;
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .quiz-card {
        padding: 28px 24px;
    }

    .quiz-infographic {
        grid-template-columns: 1fr;
    }

    .article-stats-row {
        grid-template-columns: 1fr;
    }

    .form-2col {
        grid-template-columns: 1fr;
    }

    .reviews-feed {
        grid-template-columns: 1fr;
    }

    .photo-wall-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platform-tab {
        padding: 14px 14px;
        font-size: 0.8rem;
    }
}

/* ═══════════════════════════════════════════════════════
   QUIZ PAGE — MYTH CARDS + TICKER + QUIZ WRAPPER
   ════════════════════════════════════════════════════════ */

/* Tab navigation for quiz sections */
.tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 32px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-mid);
    background: #fff;
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--t-fast);
    font-family: var(--font-b);
}

.tab-btn.active {
    background: var(--indigo);
    color: #fff;
    border-color: var(--indigo);
    box-shadow: 0 4px 16px var(--glow-indigo);
}

.tab-btn:hover:not(.active) {
    border-color: var(--border-accent);
    color: var(--text-h);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Myth flip cards */
/* (Myth card styles consolidated in final block below line 5029) */

.myth-text {
    background: rgba(185, 28, 28, 0.08);
    color: #B91C1C;
}

.fact-text {
    background: rgba(16, 185, 129, 0.08);
    color: #047857;
}

.myth-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
}

.myth-fact-content {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.78;
}

/* Fact ticker */
.fact-ticker-wrap {
    background: var(--bg-dark2);
    border-top: 1px solid rgba(255, 255, 255, .05);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}

.fact-ticker {
    display: inline-flex;
    gap: 0;
    animation: tickerScroll 55s linear infinite;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.ticker-item {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, .7);
    padding: 0 40px;
    flex-shrink: 0;
}

.ticker-icon {
    margin-right: 6px;
}

.ticker-sep {
    color: rgba(255, 255, 255, .25);
    margin-left: 10px;
}

.fact-ticker-wrap:hover .fact-ticker {
    animation-play-state: paused;
}

/* Quiz wrapper inside tab-panel */
.quiz-wrapper {
    max-width: 760px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.quiz-progress-bar {
    height: 5px;
    background: var(--bg-section);
    width: 100%;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--grad-primary);
    transition: width 0.4s var(--ease-out);
}

.quiz-q-num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    padding: 24px 36px 0;
}

.quiz-question {
    font-family: var(--font-h);
    font-size: 1.2rem;
    color: var(--text-h);
    line-height: 1.38;
    padding: 14px 36px 20px;
    letter-spacing: -0.3px;
}

.quiz-options {
    padding: 0 36px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-option {
    padding: 13px 18px;
    border: 1.5px solid var(--border-mid);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-body);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--t-fast);
    font-family: var(--font-b);
}

.quiz-option:hover {
    border-color: var(--indigo);
    color: var(--indigo);
    background: rgba(43, 50, 128, .03);
}

.quiz-option.correct {
    border-color: var(--green-ok);
    background: rgba(22, 121, 74, .07);
    color: var(--green-ok);
}

.quiz-option.wrong {
    border-color: #B91C1C;
    background: rgba(185, 28, 28, .07);
    color: #B91C1C;
}

.quiz-feedback {
    margin: 16px 36px 0;
    padding: 14px 18px;
    background: rgba(43, 50, 128, .04);
    border-left: 4px solid var(--indigo);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.82;
    display: none;
}

.quiz-feedback.show {
    display: block;
}

.quiz-feedback.correct-fb {
    border-left-color: var(--green-ok);
    background: rgba(22, 121, 74, .04);
}

.quiz-feedback.wrong-fb {
    border-left-color: #B91C1C;
    background: rgba(185, 28, 28, .04);
}

.quiz-btn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 36px 28px;
}

.quiz-score-display {
    text-align: center;
    padding: 48px 24px;
}

.quiz-score-num {
    font-family: var(--font-h);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}

.quiz-score-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.quiz-result-msg {
    font-size: 0.96rem;
    color: var(--text-body);
    line-height: 1.78;
    max-width: 480px;
    margin: 0 auto 28px;
}

/* Stats infographic (facts panel) */
.stats-infographic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 48px;
}

.stat-infographic-card {
    padding: 32px 24px;
    text-align: center;
}

.stat-infographic-num {
    font-family: var(--font-h);
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--indigo);
}

.stat-infographic-label {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
}

/* Booking page calendar */
.booking-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 28px 100px;
}

.calendar-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.cal-month {
    font-family: var(--font-h);
    font-size: 1.3rem;
    color: var(--text-h);
}

.cal-nav {
    display: flex;
    gap: 8px;
}

.cal-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-mid);
    background: #fff;
    color: var(--text-body);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t-fast);
}

.cal-nav-btn:hover {
    border-color: var(--indigo);
    color: var(--indigo);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-day-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 0;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-h);
    cursor: pointer;
    transition: var(--t-fast);
    position: relative;
}

.cal-day:hover:not(.empty):not(.past):not(.sunday) {
    background: rgba(43, 50, 128, .08);
    color: var(--indigo);
}

.cal-day.today {
    background: rgba(43, 50, 128, .1);
    color: var(--indigo);
    font-weight: 700;
}

.cal-day.selected {
    background: var(--indigo);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px var(--glow-indigo);
}

.cal-day.empty {
    cursor: default;
}

.cal-day.past {
    color: var(--border-mid);
    cursor: not-allowed;
}

.cal-day.sunday {
    color: #B91C1C;
    opacity: .5;
    cursor: not-allowed;
}

.cal-day.has-slots::after {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--green-ok);
    border-radius: 50%;
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
}

.cal-day.selected::after {
    background: #fff;
}

.slots-section {
    margin-top: 28px;
}

.slots-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.slot-btn {
    padding: 10px 6px;
    border: 1.5px solid var(--border-mid);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--t-fast);
    text-align: center;
    font-family: var(--font-b);
}

.slot-btn:hover {
    border-color: var(--indigo);
    color: var(--indigo);
    background: rgba(43, 50, 128, .04);
}

.slot-btn.selected {
    background: var(--indigo);
    color: #fff;
    border-color: var(--indigo);
}

.slot-btn.booked {
    background: var(--bg-section);
    color: var(--border-mid);
    cursor: not-allowed;
    text-decoration: line-through;
    border-style: dashed;
}

.no-slots {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.booking-form-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-top: 28px;
}

.booking-form-card h3 {
    font-size: 1.05rem;
    color: var(--text-h);
    margin-bottom: 18px;
    font-family: var(--font-b);
    font-weight: 700;
}

.booking-submit {
    width: 100%;
    padding: 14px;
    background: var(--grad-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--t-base);
    box-shadow: 0 4px 16px var(--glow-indigo);
    font-family: var(--font-b);
}

.booking-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--glow-indigo);
}

.booking-submit:disabled {
    background: var(--border-mid);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.booking-success {
    display: none;
    text-align: center;
    padding: 28px 20px;
    background: rgba(22, 121, 74, .06);
    border: 1px solid rgba(22, 121, 74, .2);
    border-radius: var(--radius-md);
    margin-top: 18px;
}

.booking-success.show {
    display: block;
}

.booking-success h4 {
    color: #1A7A4A;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.booking-success p {
    color: var(--text-body);
    font-size: 0.88rem;
    line-height: 1.7;
}

.booking-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    font-size: 0.95rem;
    color: var(--text-h);
    font-family: var(--font-b);
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.5;
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-row-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.info-row strong {
    color: var(--text-h);
    display: block;
}

.opd-tag {
    display: inline-block;
    background: rgba(22, 121, 74, .08);
    color: #1A7A4A;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(22, 121, 74, .2);
}

.emergency-card {
    background: linear-gradient(135deg, #FEF3C7, #FFF7ED);
    border: 1px solid rgba(155, 89, 43, .2);
}

.emergency-card h3 {
    color: #92400E;
}

.emergency-num {
    font-size: 1.3rem;
    font-weight: 900;
    color: #92400E;
    margin: 6px 0;
}

.selected-slot-display {
    background: rgba(43, 50, 128, .06);
    border: 1.5px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--indigo);
    display: none;
    margin-bottom: 16px;
    text-align: center;
}

.selected-slot-display.show {
    display: block;
}

/* Score badge on quiz page */
.score-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(43, 50, 128, .08);
    border: 1px solid rgba(43, 50, 128, .15);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 32px;
}

.myth-flip-hint {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.myth-flip-hint span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(43, 50, 128, .06);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(43, 50, 128, .12);
}

@media (max-width:1024px) {
    .stats-infographic {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .myths-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:768px) {
    .myths-grid {
        grid-template-columns: 1fr;
    }

    .stats-infographic {
        grid-template-columns: 1fr;
    }

    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════════════
   PHASE 1 — GLOBAL COMPONENTS
   Emergency Strip · WhatsApp Float · Dark Mode · Page Transitions
   ═══════════════════════════════════════════════════ */

/* ── EMERGENCY POPUP (Bottom-Right) ─────────────────── */
.emg-wrap {
    position: fixed;
    bottom: 168px;
    /* sits above the WhatsApp cluster */
    right: 24px;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.emg-toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #B91C1C, #DC2626);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 18px rgba(185, 28, 28, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.emg-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(185, 28, 28, 0.65);
}

/* Red pulse ring on the emergency button */
.emg-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(220, 38, 38, 0.6);
    animation: emg-ring 1.8s ease-out infinite;
}

@keyframes emg-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Panel slides in above the button */
.emg-panel {
    background: #fff;
    border: 1.5px solid rgba(185, 28, 28, 0.2);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    transform-origin: bottom right;
}

.emg-wrap.emg-open .emg-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.emg-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #B91C1C;
    margin: 0 0 2px;
}

.emg-call {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #FEF2F2;
    border: 1px solid rgba(185, 28, 28, 0.2);
    border-radius: 8px;
    color: #B91C1C;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.2s;
}

.emg-call:hover {
    background: #FEE2E2;
}

.emg-wa {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #F0FDF4;
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 8px;
    color: #16A34A;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.2s;
}

.emg-wa:hover {
    background: #DCFCE7;
}

@keyframes pulse-ring {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
}

/* ── SPEED DIAL FAB (Unified 3-in-1 Popup) ─────────── */
.sd-wrap {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.sd-wrap.sd-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Main "+" trigger button */
.sd-main {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--indigo, #2B3280), var(--teal, #0078D4));
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 24px rgba(43, 50, 128, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.sd-main:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(43, 50, 128, 0.55);
}

/* Rotate "+" to "×" when open */
.sd-wrap.sd-open .sd-main-icon {
    transform: rotate(45deg);
}

.sd-main-icon {
    display: inline-block;
    transition: transform 0.25s ease;
    font-style: normal;
}

/* Pulse ring on main button */
.sd-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(43, 50, 128, 0.4);
    animation: sd-ring 2s ease-out infinite;
}

@keyframes sd-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

/* Actions container */
.sd-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(16px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform-origin: bottom right;
}

.sd-wrap.sd-open .sd-actions {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Each action button */
.sd-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: none;
}

.sd-btn:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.sd-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.sd-label {
    font-size: 0.85rem;
}

/* Emergency — Red */
.sd-emergency {
    background: #DC2626;
    color: #fff;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
}

.sd-emergency:hover {
    color: #fff;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.5);
}

/* WhatsApp — Green */
.sd-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.sd-whatsapp:hover {
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* Book OPD — Indigo */
.sd-book {
    background: linear-gradient(135deg, #2B3280, #0078D4);
    color: #fff;
    box-shadow: 0 4px 16px rgba(43, 50, 128, 0.4);
}

.sd-book:hover {
    color: #fff;
    box-shadow: 0 8px 24px rgba(43, 50, 128, 0.5);
}

@media (max-width: 480px) {
    .sd-wrap {
        bottom: 16px;
        right: 14px;
    }

    .sd-label {
        display: none;
    }

    .sd-btn {
        padding: 12px 14px;
        border-radius: 50%;
    }

    .sd-main {
        width: 52px;
        height: 52px;
    }
}


/* ── PAGE FADE TRANSITIONS ─────────────────────────── */
@keyframes pageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body.page-fade-in {
    animation: pageFadeIn 0.32s var(--ease-out) both;
}

body.page-fade-out {
    opacity: 0;
    transition: opacity 0.28s ease;
}

/* ── DARK MODE ─────────────────────────────────────── */
[data-theme="dark"] {
    --bg-primary: #0A0E1C;
    --bg-secondary: #0F1326;
    --bg-section: #111828;
    --card-bg: #141A2E;
    --card-hover: #1A2240;
    --text-h: #F0F4FF;
    --text-body: #B8C0D8;
    --text-muted: #6A7099;
    --border-light: rgba(255, 255, 255, 0.07);
    --border-mid: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(107, 136, 255, 0.25);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 0 1px rgba(107, 136, 255, .15), 0 12px 40px rgba(43, 50, 128, .3);
}

[data-theme="dark"] .nav {
    background: rgba(10, 14, 28, 0.92);
}

[data-theme="dark"] .nav.scrolled {
    background: rgba(15, 19, 38, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .glass-card {
    background: var(--card-bg);
    border-color: var(--border-light);
}

[data-theme="dark"] .glass-card:hover {
    background: var(--card-hover);
}

[data-theme="dark"] .nav-mobile {
    background: rgba(10, 14, 28, 0.99);
}

[data-theme="dark"] .section-subtitle,
[data-theme="dark"] p {
    color: var(--text-body);
}

[data-theme="dark"] .faq-item {
    background: var(--card-bg);
    border-color: var(--border-light);
}

[data-theme="dark"] .faq-question {
    color: var(--text-h);
}

[data-theme="dark"] .slot-btn,
[data-theme="dark"] .quiz-option,
[data-theme="dark"] .booking-form-card,
[data-theme="dark"] .calendar-card,
[data-theme="dark"] .info-card {
    background: var(--card-bg) !important;
    border-color: var(--border-light) !important;
    color: var(--text-body) !important;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: #1A2240 !important;
    color: var(--text-h) !important;
    border-color: var(--border-mid) !important;
}

/* ── THEME TOGGLE BUTTON ───────────────────────────── */
.theme-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--bg-section);
    border: 1.5px solid var(--border-mid);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--t-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    border-color: var(--indigo);
    transform: rotate(20deg);
}

[data-theme="dark"] .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ═══════════════════════════════════════════════════
   PHASE 2 — HOMEPAGE ENHANCEMENTS
   ═══════════════════════════════════════════════════ */

/* .hero-empathy — see unified definition at end of file */

/* Institution strip */
.institution-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.inst-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 9px;
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.inst-sep {
    color: var(--border-mid);
}

/* Why Dr. Kothari */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.why-card {
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--grad-primary);
    border-radius: 0 2px 2px 0;
}

.why-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-h);
    letter-spacing: -0.01em;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.ai-badge {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--teal);
    background: rgba(0, 120, 212, 0.1);
    border: 1px solid rgba(0, 120, 212, 0.25);
    border-radius: var(--radius-full);
    padding: 3px 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    margin-top: 48px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: linear-gradient(to bottom, var(--indigo), var(--teal));
    opacity: 0.2;
}

.process-step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 20px 0;
}

.process-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px var(--glow-indigo);
    position: relative;
    z-index: 1;
}

.process-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-h);
    margin-bottom: 6px;
}

.process-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Communication Promise */
.comm-promise {
    margin-top: 48px;
    background: linear-gradient(135deg, rgba(43, 50, 128, 0.06) 0%, rgba(0, 120, 212, 0.06) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.comm-promise-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.comm-promise-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.comm-promise h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-h);
    margin-bottom: 6px;
}

.comm-promise p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.comm-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.comm-points li {
    font-size: 0.86rem;
    color: var(--teal);
    font-weight: 600;
}

/* Mobile fixes */
@media (max-width: 768px) {
    .hero>.container {
        flex-direction: column !important;
        gap: 28px !important;
    }

    .hero-image-wrapper {
        max-width: 100% !important;
        width: 100%;
    }

    .hero-image-wrapper img {
        max-width: 100% !important;
        width: 100%;
    }

    .hero-float-badge {
        display: none;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .process-steps::before {
        display: none;
    }

    .comm-promise-inner {
        flex-direction: column;
    }

    .comm-promise {
        padding: 24px;
    }
}

/* ── SCROLL REVEAL ANIMATIONS ───────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

/* ========================================================
   AI APOLLO 2.1 — MASTER STYLES (UPGRADED)
   v2.1.1 - 2026-04-08
   ======================================================== */
/* ── MYTH CARDS — FINAL (high-contrast, replaces all prior blocks) ── */
.myths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    perspective: 1200px;
}

.myth-card {
    min-height: 230px;
    cursor: pointer;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.myth-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 230px;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(.4, 0, .2, 1);
    border-radius: var(--radius-lg, 24px);
}

.myth-card.flipped .myth-card-inner {
    transform: rotateY(180deg);
}

.myth-front,
.myth-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg, 24px);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
}

/* FRONT: Myth side — warm red-tinted card, solid opaque bg */
.myth-front {
    background: linear-gradient(145deg, #FFFFFF 0%, #FFF5F5 100%);
    border: 1.5px solid rgba(185, 28, 28, 0.15);
    box-shadow: 0 4px 20px rgba(185, 28, 28, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.myth-card:hover .myth-front {
    border-color: rgba(185, 28, 28, 0.3);
    box-shadow: 0 8px 32px rgba(185, 28, 28, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .myth-front {
    background: linear-gradient(145deg, #2D1B1B 0%, #1A0F0F 100%);
    border-color: rgba(248, 113, 113, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .myth-card:hover .myth-front {
    border-color: rgba(248, 113, 113, 0.45);
    box-shadow: 0 12px 40px rgba(248, 113, 113, 0.15);
}

/* BACK: Fact side — green-tinted card, solid opaque bg */
.myth-back {
    background: linear-gradient(145deg, #FFFFFF 0%, #F0FDF4 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    transform: rotateY(180deg);
}

[data-theme="dark"] .myth-back {
    background: linear-gradient(145deg, #0D2E22 0%, #071E17 100%);
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Labels */
.myth-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #B91C1C;
    margin-bottom: 12px;
    display: inline-block;
    padding: 3px 12px;
    background: rgba(185, 28, 28, 0.08);
    border-radius: 99px;
    width: fit-content;
}

[data-theme="dark"] .myth-label {
    color: #FCA5A5;
    background: rgba(248, 113, 113, 0.12);
}

.myth-label.fact {
    color: #047857;
    background: rgba(16, 185, 129, 0.08);
}

[data-theme="dark"] .myth-label.fact {
    color: #6EE7B7;
    background: rgba(52, 211, 153, 0.12);
}

/* Myth statement — high contrast on light bg */
.myth-statement {
    font-size: 1rem;
    font-weight: 700;
    color: #1F2937;
    font-style: italic;
    line-height: 1.6;
    flex: 1;
    margin: 0 0 16px;
}

[data-theme="dark"] .myth-statement {
    color: #F3F4F6;
}

/* Fact text — readable dark green on light green bg */
.myth-fact {
    font-size: 0.88rem;
    color: #1F2937;
    line-height: 1.8;
    flex: 1;
    margin: 0 0 12px;
}

[data-theme="dark"] .myth-fact {
    color: #D1FAE5;
}

/* Source citation */
.myth-source {
    font-size: 0.72rem;
    color: #047857;
    font-weight: 700;
    font-style: italic;
}

[data-theme="dark"] .myth-source {
    color: #34D399;
}

/* Tap hint */
.myth-tap-hint {
    font-size: 0.72rem;
    color: #6B7280;
    text-align: right;
    margin-top: 8px;
}

[data-theme="dark"] .myth-tap-hint {
    color: rgba(209, 213, 219, 0.5);
}

/* ====== SPEED DIAL FAB ====== */
.sd-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.sd-wrap.sd-visible {
    opacity: 1;
    pointer-events: auto;
}

.sd-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sd-wrap.sd-open .sd-actions {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.sd-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 99px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333;
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sd-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.sd-emergency {
    background: #ff4b2b !important;
    color: #fff !important;
}

.sd-whatsapp {
    background: #25D366 !important;
    color: #fff !important;
}

.sd-book {
    background: #2B3280 !important;
    color: #fff !important;
}

.sd-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2B3280 0%, #0078D4 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 30px rgba(43, 50, 128, 0.3);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    border: none;
    padding: 0;
}

.sd-wrap.sd-open .sd-main {
    transform: rotate(45deg);
    background: #333;
}

.sd-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(43, 50, 128, 0.4);
    background: transparent;
    animation: sd-pulse-ring 2s infinite;
    z-index: -1;
}

@keyframes sd-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.sd-icon {
    font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════════
   CONVERSION UPGRADE — Emergency Bar, Trust Strip, CTAs, Mobile
   ═══════════════════════════════════════════════════════════════ */

/* ── EMERGENCY BAR ─────────────────────────────────────────── */
.emergency-bar {
    background: linear-gradient(90deg, #b91c1c 0%, #dc2626 50%, #b91c1c 100%);
    color: #fff;
    padding: 8px 0;
    z-index: 1100;
    position: relative;
    font-size: 0.82rem;
    animation: emergencyPulse 3s ease-in-out infinite;
}

@keyframes emergencyPulse {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.emergency-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.emergency-bar-text {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.emergency-bar-actions {
    display: flex;
    gap: 8px;
}

.emergency-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    transition: var(--t-fast);
    white-space: nowrap;
}

.emergency-bar-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.emergency-bar-wa {
    background: rgba(37, 211, 102, 0.3);
    border-color: rgba(37, 211, 102, 0.5);
}

/* ── NAV PHONE BUTTON (mobile) ─────────────────────────────── */
.nav-phone-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.4);
    animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {

    0%,
    100% {
        box-shadow: 0 3px 12px rgba(245, 158, 11, 0.4);
    }

    50% {
        box-shadow: 0 3px 20px rgba(245, 158, 11, 0.7);
    }
}

/* Mobile emergency links in nav */
.mobile-link-emergency {
    background: var(--grad-emergency) !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
    text-align: center;
    font-weight: 700 !important;
    border-bottom: none !important;
    padding: 12px 16px !important;
    box-shadow: 0 4px 16px var(--glow-red);
}

.mobile-link-wa {
    background: #25D366 !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
    text-align: center;
    font-weight: 700 !important;
    border-bottom: none !important;
    padding: 12px 16px !important;
    margin-bottom: 12px !important;
}

/* ── HERO CONTAINER ─────────────────────────────────────────── */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-doctor-img {
    max-width: 420px;
    border-radius: 30px;
}

.hero-float-top {
    top: 20px;
    right: -24px;
    /* Animation handled by enhanced entrance in .hero-float-badge:nth-child rules */
}

.hero-float-bottom {
    bottom: 50px;
    left: -36px;
    /* Animation handled by enhanced entrance in .hero-float-badge:nth-child rules */
}

/* ── HERO CREDENTIAL STRIP ──────────────────────────────────── */
.hero-credential-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.credential-divider {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* ── HERO EMPATHY — see unified definition at end of file ──── */

/* Light section CTA button variants */
.section-cta .btn-cta-whatsapp,
.final-cta-buttons .btn-cta-whatsapp {
    color: #fff;
}

.final-cta-buttons .btn-cta-call {
    color: #fff;
}

.final-cta-buttons .btn-cta-opd {
    color: var(--text-body);
    border-color: var(--border-mid);
}

.final-cta-buttons .btn-cta-opd:hover {
    border-color: var(--indigo);
    color: var(--indigo);
    background: rgba(43, 50, 128, 0.04);
}

/* ── TRUST STRIP ────────────────────────────────────────────── */
.trust-strip {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
    position: relative;
    z-index: 2;
}

.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    white-space: nowrap;
}

.trust-item strong {
    color: rgba(255, 255, 255, 0.95);
}

.trust-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.15);
}

/* ── SOCIAL PROOF STRIP ────────────────────────────────────── */
.social-proof-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 0;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.15);
}

.social-proof-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.social-proof-item strong {
    color: rgba(255, 255, 255, 0.9);
}

.social-proof-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.social-proof-icon {
    font-size: 1rem;
}

.social-proof-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
}

/* ── SECTION CTA (after each section) ──────────────────────── */
.section-cta {
    text-align: center;
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(43, 50, 128, 0.04) 0%, rgba(0, 120, 212, 0.04) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.section-cta p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 500;
}

/* ── FINAL CTA SECTION ─────────────────────────────────────── */
.final-cta-section {
    background: linear-gradient(155deg, #070B1A 0%, #0F1830 55%, #16285E 100%);
    color: #fff;
    padding: 100px 0;
}

.final-cta-section .section-title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
}

.final-cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.final-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* ── FLOATING WHATSAPP WIDGET ─────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: 14px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    animation: wa-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6), 0 3px 12px rgba(0, 0, 0, 0.25);
    padding: 14px 20px 14px 14px;
    animation: none;
}

.whatsapp-float-label {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.3s ease, opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float-label {
    max-width: 120px;
    opacity: 1;
}

@keyframes wa-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* ── 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;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-word {
        opacity: 1;
        transform: none;
    }
}

/* ── MOBILE RESPONSIVE for new elements ────────────────────── */
@media (max-width: 768px) {


    .nav-phone-btn {
        display: flex;
    }

    .hero-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-credential-strip {
        justify-content: center;
        font-size: 0.8rem;
    }

    .hero-ctas {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cta-call,
    .btn-cta-whatsapp,
    .btn-cta-opd {
        justify-content: center;
        width: 100%;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-item {
        text-align: center;
    }

    .trust-strip-inner {
        gap: 12px;
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        font-size: 0.75rem;
    }

    /* Hero mobile kerning fix */
    .hero h1,
    #hero-title {
        letter-spacing: -0.5px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        font-size: clamp(1.6rem, 6vw, 2.8rem);
    }

    .hero-empathy {
        font-size: 0.92rem;
    }

    .social-proof-divider {
        display: none;
    }

    .social-proof-inner {
        gap: 10px;
    }

    .social-proof-item {
        font-size: 0.72rem;
    }

    .hero-doctor-img {
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-float-top {
        top: 10px;
        right: -10px;
    }

    .hero-float-bottom {
        bottom: 30px;
        left: -10px;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .final-cta-buttons .btn-cta-call,
    .final-cta-buttons .btn-cta-whatsapp,
    .final-cta-buttons .btn-cta-opd {
        width: 100%;
        justify-content: center;
    }

    .section-cta {
        padding: 24px 16px;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        padding: 12px;
    }
}

/* ============================================================ */
/* BOOKING PAGE STYLES */
/* ============================================================ */
.booking-hero {
    background: var(--gradient-hero);
    padding: 130px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(45, 53, 130, 0.3) 0%, transparent 65%);
    pointer-events: none;
}

.booking-hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    letter-spacing: -2px;
}

.booking-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.02rem;
    max-width: 520px;
    margin: 12px auto 0;
    line-height: 1.8;
}

.booking-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 28px 100px;
}

/* CALENDAR */
.calendar-card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--card-shadow);
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.cal-month {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
}

.cal-nav {
    display: flex;
    gap: 8px;
}

.cal-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-medium);
    background: #fff;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cal-nav-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-day-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 0;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.cal-day:hover:not(.empty):not(.past):not(.sunday) {
    background: rgba(45, 53, 130, 0.08);
    color: var(--accent-primary);
}

.cal-day.today {
    background: rgba(45, 53, 130, 0.1);
    color: var(--accent-primary);
    font-weight: 700;
}

.cal-day.selected {
    background: var(--accent-primary);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(45, 53, 130, 0.35);
}

.cal-day.empty {
    cursor: default;
}

.cal-day.past {
    color: var(--border-medium);
    cursor: not-allowed;
}

.cal-day.sunday {
    color: #C0392B;
    opacity: 0.5;
    cursor: not-allowed;
}

.cal-day.has-slots::after {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--accent-green);
    border-radius: 50%;
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
}

.cal-day.selected::after {
    background: #fff;
}

/* TIME SLOTS */
.slots-section {
    margin-top: 28px;
}

.slots-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.slot-btn {
    padding: 10px 6px;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.slot-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(45, 53, 130, 0.04);
}

.slot-btn.selected {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
}

.slot-btn.booked {
    background: var(--bg-section);
    color: var(--border-medium);
    cursor: not-allowed;
    text-decoration: line-through;
    border-style: dashed;
}

.no-slots {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* BOOKING FORM */
.booking-form-card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--card-shadow);
    margin-top: 28px;
}

.booking-form-card h3 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 18px;
    font-family: var(--font-body);
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-field {
    margin-bottom: 0px;
}

.form-field.full-width {
    grid-column: span 2;
}

.form-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    background: #fff;
    transition: border-color var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(45, 53, 130, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.booking-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: 0 4px 16px rgba(45, 53, 130, 0.3);
}

.booking-submit:hover {
    background: #1e256a;
    transform: translateY(-2px);
}

.booking-submit:disabled {
    background: var(--border-medium);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.booking-success {
    display: none;
    text-align: center;
    padding: 28px 20px;
    background: rgba(26, 122, 74, 0.06);
    border: 1px solid rgba(26, 122, 74, 0.2);
    border-radius: var(--radius-md);
    margin-top: 18px;
}

.booking-success.show {
    display: block;
}

.booking-success h4 {
    color: #1A7A4A;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.booking-success p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* RIGHT SIDEBAR */
.booking-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--card-shadow);
}

.info-card h3 {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-row-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.info-row strong {
    color: var(--text-primary);
    display: block;
}

.opd-tag {
    display: inline-block;
    background: rgba(26, 122, 74, 0.08);
    color: #1A7A4A;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 99px;
    border: 1px solid rgba(26, 122, 74, 0.2);
}

.emergency-card {
    background: linear-gradient(135deg, #FEF3C7, #FFF7ED);
    border: 1px solid rgba(155, 89, 43, 0.2);
}

.emergency-card h3 {
    color: #92400E;
}

.emergency-num {
    font-size: 1.3rem;
    font-weight: 900;
    color: #92400E;
    margin: 6px 0;
}

.selected-slot-display {
    background: rgba(45, 53, 130, 0.06);
    border: 1.5px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    display: none;
    margin-bottom: 16px;
    text-align: center;
}

.selected-slot-display.show {
    display: block;
}

@media (max-width:900px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }

    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:480px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════════════════════════
   ENHANCED DESIGN SYSTEM ADDITIONS
   ═══════════════════════════════════════════════════════════════ */

/* ── GRADIENT MESH BACKGROUNDS ─────────────────────────────── */

/* About section - subtle depth */
#about {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0, 180, 216, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(30, 58, 95, 0.03) 0%, transparent 45%),
        var(--bg-primary);
}

/* Expertise section - professional authority */
#expertise {
    background:
        radial-gradient(ellipse at 10% 20%, rgba(0, 180, 216, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 80%, rgba(212, 168, 75, 0.04) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(30, 58, 95, 0.02) 0%, transparent 60%),
        var(--bg-section);
}

/* Why section - trust gradient */
#why-us {
    background:
        radial-gradient(ellipse at 75% 25%, rgba(0, 180, 216, 0.04) 0%, transparent 45%),
        radial-gradient(ellipse at 25% 75%, rgba(30, 58, 95, 0.03) 0%, transparent 50%),
        var(--bg-primary);
}

/* Process section - clinical precision */
#process {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0, 180, 216, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(232, 69, 69, 0.03) 0%, transparent 35%),
        var(--bg-section);
}

/* Journey section - timeline depth */
#journey {
    background:
        radial-gradient(ellipse at 15% 50%, rgba(30, 58, 95, 0.04) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 30%, rgba(0, 180, 216, 0.03) 0%, transparent 40%),
        var(--bg-primary);
}

/* ── ENHANCED STAT NUMBERS ─────────────────────────────────── */
.stat-number {
    position: relative;
    font-variant-numeric: tabular-nums;
}

.stat-number::after {
    content: '';
    position: absolute;
    inset: -15px -10px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
    opacity: 0;
    border-radius: 50%;
    z-index: -1;
    animation: statGlow 3s ease-in-out infinite;
    animation-delay: var(--glow-delay, 0s);
}

.stat-item:nth-child(1) .stat-number::after {
    --glow-delay: 0s;
}

.stat-item:nth-child(2) .stat-number::after {
    --glow-delay: 1s;
}

.stat-item:nth-child(3) .stat-number::after {
    --glow-delay: 2s;
}

@keyframes statGlow {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ── ENHANCED TIMELINE ─────────────────────────────────────── */
.timeline-dot.active {
    background: var(--pulse-red);
    border-color: var(--pulse-red);
    box-shadow:
        0 0 0 4px rgba(232, 69, 69, 0.2),
        0 0 20px rgba(232, 69, 69, 0.4);
    animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(232, 69, 69, 0.2), 0 0 16px rgba(232, 69, 69, 0.3);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(232, 69, 69, 0.1), 0 0 28px rgba(232, 69, 69, 0.5);
    }
}

/* ── BUTTON RIPPLE EFFECT ─────────────────────────────────── */
.btn-primary,
.btn-cta-call,
.btn-cta-whatsapp,
.nav-cta {
    position: relative;
    overflow: hidden;
}

.btn-primary:active::before,
.btn-cta-call:active::before,
.btn-cta-whatsapp:active::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: buttonRipple 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes buttonRipple {
    to {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* ── 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;
    }

    .hero-word {
        opacity: 1;
        transform: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .glass-card::after {
        display: none;
    }
}

/* ── FOCUS STATES (Accessibility) ──────────────────────────── */
:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
    border-radius: 4px;
}

.btn-primary:focus-visible,
.btn-cta-call:focus-visible,
.btn-cta-whatsapp:focus-visible,
.btn-cta-opd:focus-visible {
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.3);
}

/* ── ENHANCED HOVER STATES ─────────────────────────────────── */
.expertise-card:hover {
    border-color: var(--teal);
}

.expertise-card:hover .expertise-icon {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(30, 58, 95, 0.1));
    border-color: rgba(0, 180, 216, 0.3);
}

.why-card:hover {
    border-color: var(--teal);
}

/* ── SMOOTH SCROLLBAR (webkit browsers) ────────────────────── */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-section);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--indigo), var(--teal-deep));
    border-radius: 5px;
    border: 2px solid var(--bg-section);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--teal), var(--indigo));
}

/* ── SELECTION STYLING ─────────────────────────────────────── */
::selection {
    background: rgba(0, 180, 216, 0.25);
    color: var(--text-h);
}

::-moz-selection {
    background: rgba(0, 180, 216, 0.25);
    color: var(--text-h);
}

/* ── AUDIT FIX OVERRIDES (2026-04-14) ─────────────────────── */
/* Force hero credential strip white text — overrides any inherited color */
.hero .hero-credential-strip,
.hero .hero-credential-strip span,
.hero-credential-strip,
.hero-credential-strip span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero .credential-divider,
.credential-divider {
    color: rgba(255, 255, 255, 0.35) !important;
}

/* Ensure hero CTA gap */
.hero .hero-ctas,
.hero-ctas {
    gap: 16px !important;
}

/* NMC compliance text readability */
.nmc-note {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    line-height: 1.7 !important;
}

/* === EMERGENCY BAR === */
.hero-emergency-bar {
    background: rgba(232, 69, 69, 0.12);
    border-bottom: 1px solid rgba(232, 69, 69, 0.25);
    padding: 8px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.emergency-bar-link {
    color: #E84545;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.emergency-bar-link:hover {
    text-decoration: underline;
}

.emergency-bar-link strong {
    color: #fff;
}

/* === NAV PHONE LINK === */
.nav-phone-link {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    font-size: 0.88rem;
    white-space: nowrap;
}

.nav-phone-link:hover {
    color: #E84545 !important;
}

@media (max-width: 768px) {
    .nav-phone-link {
        display: none;
    }
}

/* === CREDENTIAL PILLS === */
.credential-pill {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.credential-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* === HERO ANIMATION REORDER (empathy before h1) === */
.hero-content>.hero-badge {
    animation: fadeSlideUp 0.8s var(--ease-out) 0.1s both;
}

.hero-content>.hero-empathy {
    animation: fadeSlideUp 0.8s var(--ease-out) 0.2s both;
}

.hero-content>h1 {
    animation: fadeSlideUp 0.9s var(--ease-out) 0.35s both;
}

.hero-content>.hero-credential-strip {
    animation: none;
}

.hero-content>.hero-stats {
    animation: fadeSlideUp 0.8s var(--ease-out) 0.6s both;
}

.hero-content>.hero-ctas {
    animation: fadeSlideUp 0.8s var(--ease-out) 0.7s both;
}

/* === EMERGENCY BAR PULSE === */
@keyframes emergencyBarPulse {

    0%,
    100% {
        background: rgba(232, 69, 69, 0.10);
    }

    50% {
        background: rgba(232, 69, 69, 0.18);
    }
}

.hero-emergency-bar {
    animation: emergencyBarPulse 3s ease-in-out infinite;
}

/* === CREDENTIAL PILLS STAGGER === */
.credential-pill:nth-child(1) {
    animation: fadeSlideUp 0.5s var(--ease-out) 0.5s both;
}

.credential-pill:nth-child(2) {
    animation: fadeSlideUp 0.5s var(--ease-out) 0.6s both;
}

.credential-pill:nth-child(3) {
    animation: fadeSlideUp 0.5s var(--ease-out) 0.7s both;
}

.credential-pill:nth-child(4) {
    animation: fadeSlideUp 0.5s var(--ease-out) 0.8s both;
}

/* === HERO EMPATHY ENHANCED === */
.hero-empathy {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
    line-height: 1.85;
    max-width: 540px;
    margin-bottom: 18px;
    position: relative;
    padding-left: 16px;
    border-left: 2px solid rgba(0, 180, 216, 0.4);
}

/* === 3 DIFFERENTIATED HERO CTAs === */
.hero-ctas .btn-cta-call {
    background: linear-gradient(135deg, #E84545, #C73535);
    color: #fff;
    box-shadow: 0 4px 20px rgba(232, 69, 69, 0.35);
}

.hero-ctas .btn-cta-call:hover {
    box-shadow: 0 6px 28px rgba(232, 69, 69, 0.5);
    transform: translateY(-2px);
}

.hero-ctas .btn-cta-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.hero-ctas .btn-cta-whatsapp:hover {
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
    transform: translateY(-2px);
}

.hero-ctas .btn-cta-opd {
    background: linear-gradient(135deg, var(--teal), #0096B4);
    color: #0B0F1A;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3);
}

.hero-ctas .btn-cta-opd:hover {
    box-shadow: 0 6px 28px rgba(0, 180, 216, 0.45);
    transform: translateY(-2px);
}

.hero-ctas .btn-cta-call,
.hero-ctas .btn-cta-whatsapp,
.hero-ctas .btn-cta-opd {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .credential-pill {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    .hero-ctas .btn-cta-call,
    .hero-ctas .btn-cta-whatsapp,
    .hero-ctas .btn-cta-opd {
        flex: 1;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.82rem;
    }
}

/* Mobile action bar removed — FAB restored on all viewports */

/* === DOCTOR'S PROMISE SECTION === */
.doctor-promise-section {
    padding: 60px 0;
    background: var(--bg-warm, #FFFBF7);
}

[data-theme="dark"] .doctor-promise-section {
    background: linear-gradient(135deg, rgba(255, 251, 247, 0.03), rgba(61, 90, 91, 0.06));
}

.doctor-promise {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.promise-quote {
    position: relative;
    padding: 40px 32px;
    border-radius: 16px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .promise-quote {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.promise-quote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 24px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    color: var(--teal, #00B4D8);
    opacity: 0.3;
    line-height: 1;
}

.promise-quote p {
    font-size: 1.1rem;
    color: var(--text-body, #2E3455);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 20px;
}

.promise-author {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-h, #080C1A);
    letter-spacing: 0.5px;
}

.promise-dash {
    color: rgba(0, 180, 216, 0.6);
    margin-right: 6px;
}

/* Promise reveal animation */
.doctor-promise {
    animation: none;
}

.doctor-promise.visible {
    animation: fadeSlideUp 0.9s var(--ease-out) both;
}

/* === SCROLL HOOKS (Curiosity Bridges) === */
.scroll-hook {
    text-align: center;
    padding: 50px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.scroll-hook p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted, #6A7099);
    line-height: 1.7;
    position: relative;
}

[data-theme="dark"] .scroll-hook p {
    color: rgba(255, 255, 255, 0.45);
}

.scroll-hook p::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.4), transparent);
    margin: 0 auto 20px;
}

.scroll-hook p::after {
    content: '↓';
    display: block;
    margin-top: 16px;
    font-size: 1rem;
    color: var(--teal, #00B4D8);
    opacity: 0.4;
    font-style: normal;
    animation: scrollArrowBounce 2s ease-in-out infinite;
}

@keyframes scrollArrowBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(6px);
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .scroll-hook {
        padding: 35px 20px;
    }

    .scroll-hook p {
        font-size: 0.95rem;
    }

    .doctor-promise-section {
        padding: 40px 0;
    }

    .promise-quote {
        padding: 28px 20px;
    }

    .promise-quote p {
        font-size: 0.95rem;
    }
}

/* === TYPOGRAPHY REFINEMENTS === */
/* Body text breathing room */
body {
    line-height: 1.78;
}

/* Section labels consistency */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* FAQ tapability indicator */
.faq-question {
    cursor: pointer;
    position: relative;
    padding-right: 36px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(0, 180, 216, 0.6);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

/* Section title hover micro-animation */
.section-title {
    transition: letter-spacing 0.3s ease;
}

.section-title:hover {
    letter-spacing: -0.01em;
}

/* Smooth card hover transitions globally */
.glass-card {
    transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Stat counter pulse on hover */
.stat-number {
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.08);
}

/* Trust strip item hover */
.trust-item {
    transition: transform 0.2s ease;
}

.trust-item:hover {
    transform: translateY(-1px);
}

/* Smooth link underline transitions */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal, #00B4D8);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.nav-cta::after,
.nav-links a.nav-phone-link::after {
    display: none;
}

/* === SOCIAL PROOF TICKER === */
.social-proof-ticker {
    position: relative;
    height: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-proof-ticker .social-proof-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    white-space: nowrap;
}

.social-proof-ticker .social-proof-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* === DARK MODE REFINEMENTS === */
[data-theme="dark"] .glass-card {
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .section-label {
    color: var(--text-body);
}

[data-theme="dark"] .promise-quote p {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .credential-pill {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Gold accent brightening in dark mode */
[data-theme="dark"] .glow-text {
    filter: drop-shadow(0 0 24px rgba(0, 180, 216, 0.5));
}

/* Hero stays dark — uses var(--grad-hero) from :root tokens */

/* === PERFORMANCE: Disable cursor glow on mobile === */
@media (max-width: 768px) {

    #cursor-glow,
    #secondary-glow {
        display: none !important;
    }
}