/* ═══════════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════════ */
:root {
    --navy:        #1e2a60;
    --navy-deep:   #0d1433;
    --navy-mid:    #253070;
    --orange:      #DC6D15;
    --orange-lt:   #F08030;
    --orange-pale: #FFF4EB;
    --bg:          #FFFFFF;
    --bg-soft:     #F4F6FB;
    --bg-muted:    #EDF1F7;
    --text:        #0d1433;
    --text-muted:  #5a6a8a;
    --text-light:  #94A3B8;
    --border:      #DDE3EF;
    --border-dk:   rgba(255,255,255,0.1);
    --font:        'IBM Plex Sans', sans-serif;
    --ease:        cubic-bezier(0.2, 0.8, 0.2, 1);
    --r:           12px;
    --shadow:      0 4px 20px rgba(13,20,51,0.07);
    --shadow-lg:   0 12px 48px rgba(13,20,51,0.13);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── UTILITIES ── */
.section-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.8rem; display: block; }
.section-eyebrow.light { color: rgba(255,255,255,0.55); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.15; color: var(--navy); }
h2.on-dark { color: white; }

.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--orange); color: white; padding: 0.85rem 2rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; font-family: var(--font); text-decoration: none; border: none; cursor: pointer; box-shadow: 0 8px 24px rgba(220,109,21,0.28); transition: all 0.25s; }
.btn-primary:hover { background: #c45e0e; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(220,109,21,0.36); }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--navy); padding: 0.85rem 2rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; font-family: var(--font); text-decoration: none; cursor: pointer; border: 1.5px solid var(--border); transition: all 0.25s; }
.btn-ghost:hover { border-color: var(--navy); background: var(--bg-soft); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ── PROGRESS BAR ── */
#progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--orange), #e63e00); z-index: 9999; pointer-events: none; transition: width 0.08s linear; }

/* ═══════════════════════════════════════════════
   NAVIGATION  |  FIX #12: Pricing link
═══════════════════════════════════════════════ */
#nav { position: fixed; top: 3px; left: 0; right: 0; z-index: 8000; background: rgba(255,255,255,0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 0 5%; height: 68px; display: flex; align-items: center; justify-content: space-between; transition: box-shadow 0.3s; }
#nav.scrolled { box-shadow: 0 4px 24px rgba(13,20,51,0.1); }
.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 1.05rem; color: var(--navy); letter-spacing: -0.02em; }
.logo-mark { background: var(--navy); border-radius: 7px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark img { display: block; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.84rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; transition: color 0.2s; cursor: pointer; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { background: var(--orange) !important; color: white !important; padding: 0.55rem 1.3rem; border-radius: 5px; box-shadow: 0 4px 14px rgba(220,109,21,0.22); }
.nav-cta:hover { background: #c45e0e !important; }
.burger { display: none; flex-direction: column; justify-content: space-around; width: 25px; height: 20px; background: transparent; border: none; cursor: pointer; z-index: 10001; }
.burger span { width: 100%; height: 2px; background: var(--navy); border-radius: 10px; transition: all 0.3s; }

@media (max-width: 900px) {
    .burger { display: flex; }
    .burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .burger.active span:nth-child(2) { opacity: 0; }
    .burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: 100%; background: var(--navy-deep); flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; z-index: 9000; transform: translateX(100%); transition: transform 0.4s var(--ease); }
    .nav-links.active { transform: translateX(0); }
    .nav-links a { color: rgba(255,255,255,0.8) !important; font-size: 1.2rem; }
    .nav-cta { color: white !important; }
    /* Fix 5: Book Demo becomes a full button in the mobile menu */
    .nav-mobile-book {
        background: var(--orange) !important;
        color: white !important;
        padding: 0.75rem 2.5rem !important;
        border-radius: 6px !important;
        box-shadow: 0 4px 16px rgba(220,109,21,0.35) !important;
        font-size: 1.05rem !important;
        text-transform: uppercase !important;
    }
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
#hero { padding-top: calc(68px + 70px); padding-bottom: 80px; padding-left: 8%; padding-right: 6%; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; background: var(--bg); background-image: radial-gradient(circle at 1.5px 1.5px, #d5ddf0 1px, transparent 0); background-size: 36px 36px; min-height: 88vh; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--orange-pale); color: var(--orange); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 1.4rem; border: 1px solid rgba(220,109,21,0.2); }
#hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.4rem; color: var(--navy); }
#hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 500px; line-height: 1.75; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-trust { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.hero-trust span { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.hero-trust span i { color: var(--orange); font-size: 0.9rem; }
.hero-trust a { font-size: 0.72rem; color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.hero-trust a:hover { color: var(--navy); }

/* Mock card */
.hero-visual { position: relative; display: flex; justify-content: center; }
.mock-card { background: white; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; width: 100%; max-width: 430px; transform: perspective(1200px) rotateY(-20deg) rotateX(2deg); transition: transform 0.6s var(--ease); }
.mock-card:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.mock-topbar { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 10px 14px; display: flex; align-items: center; gap: 6px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red { background: #ff5f57; } .mock-dot.amber { background: #ffbd2e; } .mock-dot.green { background: #28c840; }
.mock-url { margin-left: 12px; background: white; border-radius: 4px; padding: 4px 12px; font-size: 0.72rem; color: var(--text-light); flex: 1; border: 1px solid var(--border); }
.mock-body { padding: 20px; }
.mock-status-bar { background: #f0faf4; border: 1px solid #b6e6c8; border-radius: 8px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mock-status-icon { color: #1a7a4a; font-size: 1.4rem; flex-shrink: 0; }
.mock-status-label { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.mock-status-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 1px; }
.mock-time-save { margin-left: auto; background: var(--orange-pale); color: var(--orange); font-size: 0.72rem; font-weight: 700; padding: 4px 9px; border-radius: 4px; white-space: nowrap; }
.mock-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.mock-stat { background: var(--bg-soft); border-radius: 8px; padding: 10px; text-align: center; }
.mock-stat-val { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.mock-stat-label { font-size: 0.68rem; color: var(--text-muted); margin-top: 2px; }
.mock-steps { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.mock-step { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: #1a7a4a; font-weight: 500; padding: 6px 10px; background: #f0faf4; border-radius: 5px; }
.mock-step i { font-size: 0.9rem; }
.mock-actions { display: flex; gap: 8px; }
.mock-btn-primary { flex: 1; background: var(--orange); color: white; border: none; border-radius: 6px; padding: 9px 0; font-size: 0.78rem; font-weight: 700; cursor: pointer; font-family: var(--font); }
.mock-btn-ghost { flex: 1; background: transparent; color: var(--navy); border: 1px solid var(--border); border-radius: 6px; padding: 9px 0; font-size: 0.78rem; font-weight: 600; cursor: pointer; font-family: var(--font); }

@media (max-width: 900px) {
    #hero { grid-template-columns: 1fr; padding-top: calc(68px + 40px); padding-left: 6%; padding-right: 6%; min-height: auto; padding-bottom: 60px; }
    .hero-visual { display: none; }
    .hero-trust { gap: 1rem; }
}

/* ═══════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════ */
#trust-bar { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 8%; text-align: center; }
.trust-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; margin-bottom: 24px; }
.logos-grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem 3rem; }
.logo-item { display: flex; align-items: center; justify-content: center; height: 60px; opacity: 0.6; filter: grayscale(100%); transition: all 0.3s; }
.logo-item:hover { opacity: 0.9; filter: grayscale(0%); }
/* SVG fix: explicit pixel dimensions prevent 0×0 render when SVG lacks intrinsic size */
.logo-item img { height: 50px; width: auto; max-width: 130px; object-fit: contain; display: block; }

/* ═══════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════ */
#stats-bar { background: var(--navy-deep); color: white; padding: 48px 8%; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.stat-item { text-align: center; padding: 0 48px; flex: 1; min-width: 180px; }
.stat-num { font-size: 2rem; font-weight: 700; color: var(--orange-lt); line-height: 1.1; margin-bottom: 6px; }
.stat-desc { font-size: 0.78rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.stat-div { width: 1px; height: 48px; background: var(--border-dk); flex-shrink: 0; }
@media (max-width: 768px) { #stats-bar { gap: 1.5rem; } .stat-item { padding: 12px 20px; min-width: 140px; } .stat-div { display: none; } }

/* ═══════════════════════════════════════════════
   UTILITY — persona-aware content blocks
   Elements are tagged data-persona="insolvency|lender|other"
   and toggled with the native `hidden` attribute by main.js.
   !important guards against any competing display rule.
═══════════════════════════════════════════════ */
[hidden] { display: none !important; }

/* ═══════════════════════════════════════════════
   PERSONA GATE — segmentation bar
═══════════════════════════════════════════════ */
#persona-gate { margin-bottom: 20px;
padding: 26px 8% 26px;  /* calc(68px + 3px + 26px) 8% 26px; */
background: var(--navy-deep); background-image: radial-gradient(circle at 15% 20%, rgba(220,109,21,0.16) 0%, transparent 55%); border-bottom: 1px solid var(--border-dk); }
.gate-picker { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; max-width: 1280px; margin: 0 auto; }
.gate-copy { max-width: 380px; }
.gate-copy span.section-eyebrow { color: var(--orange-lt); margin-bottom: 0.5rem; }
.gate-copy h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: white; margin-bottom: 0.4rem; }
.gate-copy p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.gate-options { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.gate-option { display: flex; align-items: center; gap: 0.7rem; background: rgba(255,255,255,0.04); border: 1.5px solid var(--border-dk); border-radius: 10px; padding: 0.9rem 1.3rem; cursor: pointer; font-family: var(--font); text-align: left; transition: all 0.22s var(--ease); min-width: 190px; }
.gate-option:hover { border-color: rgba(220,109,21,0.55); background: rgba(220,109,21,0.08); transform: translateY(-2px); }
.gate-option-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(220,109,21,0.18); color: var(--orange-lt); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.gate-option-label { font-size: 0.88rem; font-weight: 700; color: white; margin-bottom: 1px; }
.gate-option-sub { font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.gate-confirmed { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1280px; margin: 0 auto; flex-wrap: wrap; }
.gate-confirmed-text { font-size: 0.86rem; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 8px; }
.gate-confirmed-text i { color: var(--orange-lt); font-size: 1.1rem; }
.gate-confirmed-text strong { color: white; }
.gate-change-btn { background: transparent; border: 1.5px solid var(--border-dk); color: rgba(255,255,255,0.75); font-family: var(--font); font-size: 0.78rem; font-weight: 600; padding: 0.45rem 0.9rem; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; transition: all 0.2s; }
.gate-change-btn:hover { border-color: var(--orange-lt); color: white; }
@media (max-width: 900px) {
    #persona-gate { padding: calc(68px + 3px + 20px) 6% 20px; }
    .gate-picker { flex-direction: column; align-items: flex-start; }
    .gate-options { width: 100%; }
    .gate-option { flex: 1; min-width: 140px; }
}
@media (max-width: 560px) { .gate-options { flex-direction: column; } .gate-option { width: 100%; } }

/* ═══════════════════════════════════════════════
   VALUE PROPOSITION — Compliance / Efficiency / Insights
═══════════════════════════════════════════════ */
#value-prop { padding: 90px 8%; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.vp-header { max-width: 640px; margin-bottom: 3rem; }
.vp-header h2 { margin-bottom: 0.8rem; }
.vp-header p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.vp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vp-card { background: white; border: 1.5px solid var(--border); border-radius: var(--r); padding: 2rem; box-shadow: var(--shadow); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.vp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vp-icon-wrap { width: 46px; height: 46px; border-radius: 10px; background: var(--orange-pale); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 1.2rem; }
.vp-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.vp-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 900px) { .vp-grid { grid-template-columns: 1fr; } #value-prop { padding: 60px 6%; } }


/* ═══════════════════════════════════════════════════════════
   how-it-works.css — save as assets/css/how-it-works.css
   (or paste at the bottom of style.css and remove the extra <link>)
   Part 1: new 3-tile "How it works" section
   Part 2: classes that replace inline styles in index.html
   Fallback colours are used if your CSS variables are not defined.
═══════════════════════════════════════════════════════════ */

/* ───── 1. HOW IT WORKS TILES ───── */
#how-it-works {
    --hiw-navy: var(--navy, #0d1433);
    --hiw-accent: var(--orange, #ff7a1a);
    --hiw-border: rgba(13, 20, 51, 0.09);
    padding: 5rem 1.5rem;
background: var(--bg-soft)
}
#how-it-works .hiw-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }

.hiw-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1120px;
    margin: 0 auto;
}

.hiw-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.25rem 2rem 1.75rem;
    background: #fff;
    border: 1px solid var(--hiw-border);
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(13, 20, 51, 0.4), 0 12px 32px rgba(13, 20, 51, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hiw-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 10px rgba(13, 20, 51, 0.06), 0 22px 48px rgba(13, 20, 51, 0.12);
}
/* coloured top edge */
.hiw-tile::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, var(--hiw-accent), var(--orange-lt, #ffa24d));
}
/* arrow connector between tiles */
.hiw-tile:not(:last-child)::after {
    content: "\2192";
    position: absolute;
    top: 50%;
    right: -2.1rem;
    transform: translateY(-50%);
    width: 1.7rem;
    height: 1.7rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--hiw-accent);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1;
    z-index: 2;
}

.hiw-tile-num {
    position: absolute;
    top: 1.1rem;
    right: 1.5rem;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(13, 20, 51, 0.2);
    user-select: none;
}
.hiw-tile-icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--hiw-accent), var(--orange-lt, #ffa24d));
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 6px 16px rgba(255, 122, 26, 0.6);
}
.hiw-tile-icon img { width: 1.9rem; height: 1.9rem; }

.hiw-tile h3 { margin: 0 0 0.4rem; font-size: 1.5rem; color: var(--hiw-navy); }
.hiw-tile-lead { margin: 0 0 1.25rem; color: var(--text-muted, #5b6478); line-height: 1.55; }

.hiw-tile-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.75rem; flex: 1; }
.hiw-tile-list li { display: flex; gap: 0.6rem; font-size: 0.93rem; line-height: 1.45; color: var(--hiw-navy); }
.hiw-tile-list i { flex: none; margin-top: 0.15rem; font-size: 1.1rem; color: var(--hiw-accent); }

.hiw-tile-foot {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--hiw-border);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted, #5b6478);
}

/* middle tile — dark "engine" tile */
.hiw-tile--featured {
    background: linear-gradient(160deg, #1a2457 0%, var(--hiw-navy) 100%);
    border-color: transparent;
    color: #fff;
}
@media (min-width: 901px) { .hiw-tile--featured { transform: translateY(0px); } .hiw-tile--featured:hover { transform: translateY(-20px); } }
.hiw-tile--featured .hiw-tile-num { color: rgba(255, 255, 255, 0.07); }
.hiw-tile--featured h3,
.hiw-tile--featured .hiw-tile-list li { color: #fff; }
.hiw-tile--featured .hiw-tile-lead { color: rgba(255, 255, 255, 0.72); }
.hiw-tile--featured .hiw-tile-foot { color: rgba(255, 255, 255, 0.55); border-color: rgba(255, 255, 255, 0.15); }

@media (max-width: 900px) {
    .hiw-tiles { grid-template-columns: 1fr; gap: 2.75rem; max-width: 520px; }
    .hiw-tile:not(:last-child)::after {
        top: auto; right: auto; bottom: -2.2rem; left: 50%;
        transform: translateX(-50%) rotate(90deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hiw-tile, .hiw-tile:hover, .hiw-tile--featured:hover { transition: none; transform: none; }
}

/* ───── 2. UTILITIES REPLACING INLINE STYLES ───── */
.btn-block { width: 100%; justify-content: center; }
.btn-accent { background: var(--orange-lt, #ffa24d); }
.price-num--text { font-size: 1.6rem; }
.section-eyebrow--center { display: block; text-align: center; }

.sector-card--highlight { width: 70%; display: flex; flex-direction: column; gap: 0.75rem; }

.security-cert-card--pending .security-cert-icon { opacity: 0.4; }
.security-cert-card--pending .security-cert-name { opacity: 0.5; }
.security-cert-card--pending:nth-of-type(2) .security-cert-sub { color: var(--orange); }

.footer-label { color: rgba(255, 255, 255, 0.35); font-size: 0.78rem; margin-bottom: 0.3rem; }
.footer-label--spaced { margin-top: 0.8rem; }
.footer-address { line-height: 1.6; }

/* modals (JS toggles display; these supply the layout) */
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); z-index: 9999; align-items: center; justify-content: center; }
.modal-overlay--video { background: rgba(0, 0, 0, 0.88); z-index: 9998; }
.modal-box { position: relative; display: flex; flex-direction: column; width: 90%; max-width: 820px; height: 85vh; overflow: hidden; background: #fff; border-radius: 12px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid #eee; font-family: 'IBM Plex Sans', sans-serif; color: #0d1433; }
.modal-close { background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: #0d1433; }
.modal-box iframe { flex: 1; width: 100%; border: 0; }

/* ═══════════════════════════════════════════════
   SECTORS — OPEN GRID
   FIX #11: "Unique to Alph4" badge on Server Harvest
═══════════════════════════════════════════════ */
#sectors { padding: 90px 8%; background: var(--bg); }
.sectors-header { max-width: 640px; margin-bottom: 56px; }
.sectors-header h2 { margin-bottom: 0.8rem; }
.sectors-header .section-sub { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-top: 0.8rem; }
.sectors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sector-card { background: white; border: 1.5px solid var(--border); border-radius: var(--r); padding: 2rem 2rem 1.8rem; border-left: 4px solid transparent; transition: all 0.3s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.sector-card:hover { border-left-color: var(--orange); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.sector-card--highlight { border-left-color: var(--orange); background: var(--bg-soft); }
.sector-num { font-size: 0.72rem; font-weight: 700; color: var(--orange); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
.sector-icon-wrap { width: 44px; height: 44px; border-radius: 10px; background: var(--orange-pale); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }
.sector-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.sector-tag { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.9rem; line-height: 1.45; }
.sector-body { font-size: 0.88rem; color: var(--text-muted); line-height: 1.72; margin-bottom: 1.2rem; }
.sector-features { list-style: none; margin-bottom: 1.6rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.sector-features li { font-size: 0.82rem; font-weight: 500; color: var(--navy); display: flex; align-items: center; gap: 7px; }
.sector-features li i { color: var(--orange); font-size: 0.88rem; flex-shrink: 0; }
.sector-cta { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 700; color: var(--orange); padding-top: 1rem; border-top: 1px solid var(--border); margin-top: auto; cursor: pointer; background: none; border-left: none; border-right: none; border-bottom: none; font-family: var(--font); transition: gap 0.2s; }
.sector-cta:hover { gap: 9px; }
.explore-card { width: 70% ; background: white; border: 1.5px solid var(--border); border-radius: var(--r); padding: 2rem 2rem 1.8rem; border-left: 4px solid transparent; transition: all 0.3s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow); }

/* FIX #11 */
.unique-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--orange); color: white; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; margin-bottom: 0.8rem; }
.unique-badge i { font-size: 0.7rem; }
@media (max-width: 900px) { .explore-card { display: none; } .sectors-grid { grid-template-columns: 1fr; } #sectors { padding: 60px 6%; } }

/* ═══════════════════════════════════════════════
   DEMO SECTION  |  FIX #13: Video CTA
═══════════════════════════════════════════════ */
#demo-section { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 90px 8%; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.demo-visual { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: white; }
.demo-visual img { width: 100%; height: auto; display: block; }
.demo-content h2 { margin-bottom: 1rem; }
.highlight-text { background: var(--orange-pale); color: var(--orange); padding: 2px 8px; border-radius: 5px; }
.demo-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.5rem; }
.demo-features { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.demo-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9rem; color: var(--text-muted); }
.demo-features li i { color: var(--orange); font-size: 1.05rem; flex-shrink: 0; margin-top: 1px; }
.demo-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-video { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--navy); cursor: pointer; background: none; border: none; font-family: var(--font); padding: 0; transition: color 0.2s; }
.btn-video:hover { color: var(--orange); }
.btn-video-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--orange-pale); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; transition: background 0.2s; }
.btn-video:hover .btn-video-icon { background: rgba(220,109,21,0.2); }
@media (max-width: 900px) { #demo-section { grid-template-columns: 1fr; padding: 60px 6%; } }

/* ═══════════════════════════════════════════════
   TESTIMONIALS
   FIX #1: Named attribution markup
   FIX #3: CSS eager animation removed; IntersectionObserver drives it
═══════════════════════════════════════════════ */
#testimonials { background: var(--navy-deep); color: white; padding: 90px 8%; }
.test-header { text-align: center; margin-bottom: 3rem; }
.test-header h2 { color: white; margin-bottom: 0.5rem; }
.test-header p { font-size: 0.88rem; color: rgba(255,255,255,0.4); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.test-card {
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-dk);
    border-radius: var(--r); padding: 1.8rem; display: flex; flex-direction: column;
    /* FIX #3: start invisible; JS IntersectionObserver adds .visible */
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease), border-color 0.3s;
}
.test-card.visible { opacity: 1; transform: translateY(0); }
.test-card.visible:hover { border-color: rgba(220,109,21,0.5); transform: translateY(-4px); }
.test-card:nth-child(2) { transition-delay: 0.15s; }
.test-card:nth-child(3) { transition-delay: 0.3s; }
.test-quote-icon { font-size: 2.5rem; color: var(--orange); line-height: 1; margin-bottom: 0.8rem; font-family: Georgia, serif; }
.test-quote { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.85); flex: 1; margin-bottom: 1.5rem; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 10px; padding-top: 1rem; border-top: 1px solid var(--border-dk); }
.test-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(220,109,21,0.2); color: var(--orange-lt); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.test-author strong { display: block; font-size: 0.85rem; color: white; margin-bottom: 1px; }
.test-role { font-size: 0.75rem; color: var(--orange-lt); text-transform: uppercase; letter-spacing: 0.08em; }
.test-firm { font-size: 0.7rem; color: rgba(255,255,255,0.35); margin-top: 2px; }
@media (max-width: 900px) { .test-grid { grid-template-columns: 1fr; } #testimonials { padding: 60px 6%; } }

/* ═══════════════════════════════════════════════
   CTA SECTION
   FIX #7: Single column — primary dominant, email subordinate
   FIX #8: Positive framing ("Prefer email?")
═══════════════════════════════════════════════ */
#cta-section { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: white; padding: 90px 8%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-content { max-width: 560px; margin-bottom: 1rem; }
.cta-content h2 { color: white; margin-bottom: 1rem; }
.cta-sub { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 2rem; }
.cta-buttons { margin-bottom: 1.5rem; }
.cta-trust { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.cta-trust span { font-size: 0.75rem; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 5px; }
.cta-trust i { color: var(--orange-lt); }
.cta-sep { width: 100%; max-width: 460px; display: flex; align-items: center; gap: 1rem; margin: 1.6rem 0; color: rgba(255,255,255,0.25); font-size: 0.8rem; }
.cta-sep::before, .cta-sep::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }
.cta-email-card { background: rgba(255,255,255,0.05); border: 1px solid var(--border-dk); border-radius: var(--r); padding: 1.8rem; width: 100%; max-width: 460px; text-align: left; }
.cta-email-label { font-size: 0.95rem; color: rgba(255,255,255,0.7); margin-bottom: 1.1rem; line-height: 1.55; }
.email-row { display: flex; }
.email-row input { flex: 1; background: rgba(255,255,255,0.08); border: 1px solid var(--border-dk); border-right: none; border-radius: 6px 0 0 6px; color: white; font-family: var(--font); font-size: 0.92rem; padding: 0.85rem 1.1rem; outline: none; transition: border-color 0.2s; }
.email-row input::placeholder { color: rgba(255,255,255,0.3); }
.email-row input:focus { border-color: rgba(220,109,21,0.6); background: rgba(255,255,255,0.1); }
.btn-email-submit { background: var(--orange); color: white; border: none; padding: 0.85rem 1.4rem; border-radius: 0 6px 6px 0; font-family: var(--font); font-weight: 700; font-size: 0.88rem; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap; transition: background 0.2s; }
.btn-email-submit:hover { background: #c45e0e; }
#email-confirm { font-size: 0.82rem; color: #6ee79d; display: flex; align-items: center; gap: 6px; margin-bottom: 0.5rem; }
.cta-email-note { font-size: 0.73rem; color: rgba(255,255,255,0.3); margin-top: 0.8rem; }
@media (max-width: 900px) { #cta-section { padding: 60px 6%; } }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
#footer { background: var(--navy-deep); color: white; padding: 60px 8% 36px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1.6fr; gap: 4rem; margin-bottom: 40px; }
.footer-brand img { display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 1.2rem; max-width: 260px; }
.footer-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.06); border: 1px solid var(--border-dk); color: rgba(255,255,255,0.5); font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; letter-spacing: 0.06em; }
.badge i { color: var(--orange-lt); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,255,255,0.35); margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.55); text-decoration: none; margin-bottom: 0.5rem; cursor: pointer; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border-dk); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }
@media (max-width: 768px) { .footer-main { grid-template-columns: 1fr; gap: 2rem; } .footer-links { grid-template-columns: 1fr 1fr; } }

/* ═══════════════════════════════════════════════
   PRICING SECTION
═══════════════════════════════════════════════ */
#pricing { padding: 90px 8%; background: var(--bg-soft); border-top: 1px solid var(--border); }
.pricing-header { max-width: 620px; margin-bottom: 52px; }
.pricing-header h2 { margin-bottom: 0.8rem; }
.pricing-sub { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-top: 0.5rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 2rem; }
.pricing-card { background: white; border: 1.5px solid var(--border); border-radius: var(--r); padding: 2rem; display: flex; flex-direction: column; gap: 0; box-shadow: var(--shadow); }
.pricing-card--featured { background: var(--navy-deep); border-color: var(--orange); box-shadow: 0 8px 40px rgba(220,109,21,0.2); }
.pricing-card--cta { border-style: dashed; background: var(--bg); }
.pricing-featured-label { display: inline-flex; align-items: center; gap: 5px; background: var(--orange); color: white; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; margin-bottom: 1.2rem; align-self: flex-start; }
.pricing-icon-wrap { width: 44px; height: 44px; border-radius: 10px; background: var(--orange-pale); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }
.pricing-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.pricing-card--featured h3 { color: white; }
.pricing-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.5rem; }
.pricing-card--featured .pricing-desc { color: rgba(255,255,255,0.55); }
.pricing-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 0.5rem; }
.price-from { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.pricing-card--featured .price-from { color: rgba(255,255,255,0.45); }
.price-num { font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.pricing-card--featured .price-num { color: var(--orange-lt); }
.pricing-card--cta .price-num { color: var(--navy); }
.price-unit { font-size: 0.78rem; color: var(--text-muted); }
.pricing-card--featured .price-unit { color: rgba(255,255,255,0.4); }
.price-range-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 1.4rem; padding: 0.7rem; background: var(--bg-soft); border-radius: 6px; border-left: 3px solid var(--orange); }
.pricing-card--featured .price-range-note { background: rgba(255,255,255,0.06); border-color: var(--orange-lt); color: rgba(255,255,255,0.5); }
.pricing-features { list-style: none; margin-bottom: 1.8rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.pricing-features li { font-size: 0.85rem; color: var(--navy); display: flex; align-items: center; gap: 7px; }
.pricing-features li i { color: var(--orange); font-size: 0.9rem; flex-shrink: 0; }
.pricing-card--featured .pricing-features li { color: rgba(255,255,255,0.8); }
.pricing-note { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.pricing-note i { color: var(--orange); }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } #pricing { padding: 60px 6%; } }

/* Pricing sub-switcher — lets a visitor peek at the other two pricing
   sets without re-running the full persona gate. Mirrors the persona
   chosen at the top of the page and stays in sync with it. */
.pricing-switch { display: inline-flex; gap: 4px; background: var(--bg-muted); border-radius: 8px; padding: 4px; margin-bottom: 2.2rem; }
.pricing-switch button { font-family: var(--font); font-size: 0.78rem; font-weight: 700; color: var(--text-muted); background: none; border: none; padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
.pricing-switch button.active { background: white; color: var(--navy); box-shadow: var(--shadow); }
.price-poa-note { font-size: 0.78rem; color: var(--orange); background: var(--orange-pale); border-radius: 6px; padding: 0.6rem 0.8rem; margin-top: 0.4rem; }

/* ═══════════════════════════════════════════════
   SECURITY SECTION
═══════════════════════════════════════════════ */
#security { padding: 90px 8%; background: var(--bg); border-top: 1px solid var(--border); }
.security-inner { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 5rem; align-items: start; }
.security-content h2 { margin-bottom: 1rem; }
.security-lead { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 2.5rem; max-width: 560px; }
.security-pillars { display: flex; flex-direction: column; gap: 1.5rem; }
.security-pillar { display: flex; gap: 1rem; align-items: flex-start; }
.security-pillar-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--orange-pale); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.security-pillar h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.security-pillar p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }
.security-badges-col { position: sticky; top: 90px; }
.security-certs-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-light); margin-bottom: 1.2rem; display: block; }
.security-cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1.5rem; }
.security-cert-card { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 10px; padding: 1.2rem; text-align: center; }
.security-cert-card--pending { border-style: dashed; }
.security-cert-icon { font-size: 1.8rem; color: var(--navy); margin-bottom: 0.4rem; }
.security-cert-name { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.security-cert-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.security-policy-link { margin-bottom: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--navy); text-decoration: none; border: 1.5px solid var(--border); border-radius: 6px; padding: 0.65rem 1.1rem; width: 100%; justify-content: center; transition: all 0.2s; }
.security-policy-link:hover { border-color: var(--navy); background: var(--bg-soft); }
@media (max-width: 900px) { .security-inner { grid-template-columns: 1fr; gap: 3rem; } .security-badges-col { position: static; } #security { padding: 60px 6%; } .security-cert-grid { grid-template-columns: repeat(3, 1fr); } }

/* ═══════════════════════════════════════════════
   VIDEO MODAL  |  FIX #13
═══════════════════════════════════════════════ */
#video-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 9998; align-items: center; justify-content: center; }
.video-modal-inner { background: var(--navy-deep); border-radius: 14px; width: 90%; max-width: 760px; overflow: hidden; }
.video-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-dk); }
.video-modal-header strong { color: white; font-family: var(--font); }
.video-close-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; line-height: 1; color: rgba(255,255,255,0.6); }
.video-close-btn:hover { color: white; }
.video-placeholder { background: #070c1e; aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: rgba(255,255,255,0.35); padding: 2rem; }
.video-placeholder i { font-size: 3rem; color: var(--orange); opacity: 0.55; }
.video-placeholder p { font-size: 0.9rem; text-align: center; line-height: 1.65; }
.video-placeholder small { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════════════
   EMAIL SIGNUP WIDGET — placeholder wrapper
   Swap the inner markup for your ESP's embed/form
   code (Mailchimp, Klaviyo, HubSpot, ActiveCampaign…)
   The wrapper styling below will still apply.
═══════════════════════════════════════════════ */
.email-widget-slot { min-height: 40px; }
.email-widget-flag { display: flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange-lt); margin-bottom: 0.7rem; }
.email-widget-flag i { font-size: 0.85rem; }

/* ═══════════════════════════════════════════════
   PILLAR PAGES & BLOG — shared components
═══════════════════════════════════════════════ */
.page-hero { padding: calc(68px + 3px + 64px) 8% 64px; background: var(--bg); background-image: radial-gradient(circle at 1.5px 1.5px, #d5ddf0 1px, transparent 0); background-size: 36px 36px; }
.page-hero-inner { max-width: 760px; }
.page-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.page-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--navy); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; line-height: 1.15; color: var(--navy); margin-bottom: 1.2rem; }
.page-hero h1 em { font-style: normal; color: var(--orange); }
.page-hero-sub { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; max-width: 620px; margin-bottom: 1.8rem; }
.page-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.content-placeholder { border: 1.5px dashed var(--border); background: var(--bg-soft); border-radius: var(--r); padding: 2rem; color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }
.content-placeholder strong { color: var(--navy); }
.content-placeholder-icon { width: 40px; height: 40px; border-radius: 9px; background: var(--orange-pale); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 1rem; }

#pillar-topics { padding: 80px 8%; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pillar-topics-header { max-width: 620px; margin-bottom: 2.5rem; }
.pillar-topics-header h2 { margin-bottom: 0.7rem; }
.pillar-topics-header p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic-card { background: white; border: 1.5px dashed var(--border); border-radius: var(--r); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; }
.topic-card-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); }
.topic-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.topic-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.topic-card .topic-card-cta { font-size: 0.8rem; font-weight: 700; color: var(--text-light); }
@media (max-width: 900px) { .topic-grid { grid-template-columns: 1fr; } #pillar-topics { padding: 60px 6%; } }

#page-content { padding: 80px 8%; background: var(--bg); }
.page-content-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.6rem; }
.page-content-inner h2 { font-size: 1.5rem; margin-top: 0.6rem; }
.page-content-inner p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }
@media (max-width: 900px) { #page-content { padding: 60px 6%; } }

/* Blog index */
#blog-hero-filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.blog-filter { font-family: var(--font); font-size: 0.8rem; font-weight: 700; color: var(--navy); background: white; border: 1.5px solid var(--border); border-radius: 20px; padding: 0.5rem 1.1rem; cursor: pointer; transition: all 0.2s; }
.blog-filter.active, .blog-filter:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }

#blog-grid-section { padding: 20px 8% 90px; background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: white; border: 1.5px solid var(--border); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { aspect-ratio: 16/9; background: var(--bg-muted); background-image: repeating-linear-gradient(45deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 14px); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 1.8rem; }
.blog-card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.blog-card-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); }
.blog-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.blog-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--text-light); padding-top: 0.8rem; border-top: 1px solid var(--border); }
.blog-card-meta a { color: var(--navy); font-weight: 700; text-decoration: none; }
.blog-card-meta a:hover { color: var(--orange); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } #blog-grid-section { padding: 20px 6% 60px; } }
@media (max-width: 1100px) and (min-width: 901px) { .blog-grid { grid-template-columns: 1fr 1fr; } }

.blog-newsletter { background: var(--navy-deep); border-radius: var(--r); padding: 2.2rem; color: white; margin: 40px 8% 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.blog-newsletter-copy h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.blog-newsletter-copy p { font-size: 0.85rem; color: rgba(255,255,255,0.55); max-width: 420px; }
.blog-newsletter-widget { flex: 1; min-width: 280px; max-width: 380px; }

/* Blog post template */
#post-hero { padding: calc(68px + 3px + 50px) 8% 40px; max-width: 780px; margin: 0 auto; }
.post-meta-row { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.4rem; }
.post-meta-row .post-tag { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }
#post-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--navy); line-height: 1.2; margin-bottom: 1rem; }
.post-author-row { display: flex; align-items: center; gap: 10px; padding-top: 1.2rem; margin-top: 1.2rem; border-top: 1px solid var(--border); }
.post-author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--orange-pale); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.post-author-name { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.post-author-role { font-size: 0.75rem; color: var(--text-muted); }
.post-hero-image { max-width: 780px; margin: 0 auto 50px; padding: 0 8%; }
.post-hero-image .content-placeholder { aspect-ratio: 16/8; display: flex; align-items: center; justify-content: center; text-align: center; }
#post-body { max-width: 720px; margin: 0 auto; padding: 0 8% 70px; display: flex; flex-direction: column; gap: 1.4rem; }
#post-body h2 { font-size: 1.4rem; color: var(--navy); margin-top: 1rem; }
#post-body p { font-size: 0.98rem; color: var(--text-muted); line-height: 1.85; }
.post-share-row { display: flex; align-items: center; gap: 0.7rem; padding: 1.4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 0.6rem 0; }
.post-share-row span { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); }
.post-share-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--border); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.post-share-icon:hover { background: var(--orange-pale); color: var(--orange); border-color: transparent; }

#related-posts { padding: 60px 8% 90px; background: var(--bg-soft); border-top: 1px solid var(--border); }
.related-posts-inner { max-width: 1100px; margin: 0 auto; }
.related-posts-inner h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 1.6rem; }

@media (max-width: 900px) {
    #post-hero { padding: calc(68px + 3px + 30px) 6% 30px; }
    .post-hero-image { padding: 0 6%; }
    #post-body { padding: 0 6% 60px; }
    #related-posts { padding: 50px 6% 70px; }
}


/* ============================================================
   STICKY WHATSAPP
   ============================================================ */
.sticky-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 150;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var( --stone-400);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.sticky-wa:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* Keeps the floating WhatsApp button clear of the iOS home indicator. */
@supports (padding: env(safe-area-inset-bottom)) {
  .sticky-wa { bottom: calc(28px + env(safe-area-inset-bottom)); }
}