/* ==========================================================================
   SavvanaTech — Public Design System
   Brand: navy (#0d2a6c) · electric blue (#0a5fd0) · cyan (#00b4e0)
   Type:  Plus Jakarta Sans (display) · Inter (text)
   ========================================================================== */

:root {
    --navy-950: #040b1f;
    --navy-900: #071434;
    --navy-800: #0b1f4d;
    --navy-700: #0d2a6c;
    --blue-600: #0a5fd0;
    --blue-500: #1677ff;
    --cyan-500: #00b4e0;
    --cyan-400: #22d3f5;
    --cyan-100: #e0f7fd;

    --ink: #0b1730;
    --text: #334155;
    --muted: #5b6b82; /* ≥4.5:1 on every light surface (white, surface-2, surface-3) */
    --line: #e4eaf3;
    --line-strong: #cfd9e8;
    --surface: #ffffff;
    --surface-2: #f5f8fc;
    --surface-3: #eef3fa;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --grad-brand: linear-gradient(135deg, #00c2f0 0%, #0a5fd0 55%, #0d2a6c 100%);
    --grad-text: linear-gradient(100deg, #22d3f5 0%, #4f9bff 50%, #8fb8ff 100%);
    --grad-text-dark: linear-gradient(100deg, #00a3d1 0%, #0a5fd0 60%, #0d2a6c 100%);

    --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 1px 2px rgba(11, 23, 48, .06), 0 1px 3px rgba(11, 23, 48, .05);
    --shadow: 0 10px 30px -12px rgba(11, 31, 77, .18);
    --shadow-lg: 0 30px 60px -20px rgba(11, 31, 77, .28);
    --shadow-glow: 0 20px 50px -15px rgba(10, 95, 208, .45);

    --header-h: 76px;
    --ease: cubic-bezier(.2, .8, .2, 1);

    /* Bootstrap bridge */
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--text);
    --bs-primary: #0a5fd0;
    --bs-primary-rgb: 10, 95, 208;
    --bs-link-color: #0a5fd0;
    --bs-link-hover-color: #0d2a6c;
    --bs-border-color: var(--line);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--surface);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .display-font {
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -0.02em;
    font-weight: 700;
    line-height: 1.15;
}
a { color: var(--blue-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy-700); }
img { max-width: 100%; }
::selection { background: rgba(0, 180, 224, .25); }
:focus-visible { outline: 3px solid rgba(0, 180, 224, .55); outline-offset: 2px; border-radius: 6px; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 2000;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { --bs-gutter-x: 2rem; }
/* Phones: Bootstrap's widest gutter (g-5, 3rem) pulls rows 8px past the container padding and makes the page
   scroll sideways, so rows use the container's own 2rem there. */
@media (max-width: 575.98px) { .row.g-5, .row.gx-5 { --bs-gutter-x: 2rem; } }
@media (min-width: 1400px) { .container { max-width: 1240px; } }

.section { padding: 104px 0; position: relative; }
.section-sm { padding: 72px 0; }
@media (max-width: 991.98px) { .section { padding: 72px 0; } .section-sm { padding: 56px 0; } }

.bg-soft { background: var(--surface-2); }
.bg-dark-navy { background: var(--navy-900); color: #c7d2e5; }
.bg-dark-navy h1, .bg-dark-navy h2, .bg-dark-navy h3, .bg-dark-navy h4, .bg-dark-navy h5 { color: #fff; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-display);
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.on-dark .eyebrow, .bg-dark-navy .eyebrow { color: var(--cyan-400); }

.section-title { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); margin-bottom: 1rem; }
.section-lead { font-size: 1.125rem; color: var(--muted); max-width: 640px; }
.bg-dark-navy .section-lead, .on-dark .section-lead { color: #9fb0cc; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }

.text-gradient { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-gradient-dark { background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-ink { color: var(--ink) !important; }
.text-muted-2 { color: var(--muted) !important; }

/* ---------- Buttons ---------- */
.btn {
    --bs-btn-font-weight: 600;
    font-family: var(--font-display);
    border-radius: 999px;
    padding: .8rem 1.5rem;
    font-size: .975rem;
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s, border-color .25s;
}
.btn-lg { padding: 1rem 1.9rem; font-size: 1.025rem; }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-brand {
    color: #fff; border: 0;
    background: linear-gradient(135deg, #0aa8e0 0%, #0a5fd0 60%, #0b47b0 100%);
    box-shadow: 0 10px 24px -10px rgba(10, 95, 208, .7), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-brand:hover, .btn-brand:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(10, 95, 208, .8), inset 0 1px 0 rgba(255,255,255,.25); }

.btn-ink { background: var(--ink); color: #fff; border: 0; }
.btn-ink:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }

.btn-outline-ink { border: 1.5px solid var(--line-strong); color: var(--ink); background: #fff; }
.btn-outline-ink:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-glass {
    color: #fff; border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.06); backdrop-filter: blur(8px);
}
.btn-glass:hover { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); transform: translateY(-2px); }

/* Darker WhatsApp green: white text on #25d366 is only 1.98:1, on #15803d it is 5:1 */
.btn-whatsapp { background: #15803d; color: #fff; border: 0; }
.btn-whatsapp:hover { background: #166534; color: #fff; transform: translateY(-2px); }

.link-arrow {
    font-family: var(--font-display); font-weight: 600; font-size: .95rem;
    display: inline-flex; align-items: center; gap: .45rem; color: var(--blue-600);
}
.link-arrow i { transition: transform .25s var(--ease); font-size: .8em; }
.link-arrow:hover i, a:hover .link-arrow i, .card-link:hover .link-arrow i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 31, 77, .35); background: rgba(255,255,255,.92); }
.site-header .navbar { min-height: var(--header-h); padding: .5rem 0; }
.site-header .navbar-brand img { height: 38px; width: auto; display: block; }
.site-header .nav-link {
    font-family: var(--font-display); font-weight: 600; font-size: .94rem;
    color: var(--ink); padding: .55rem .95rem !important; border-radius: 999px;
    transition: color .2s, background-color .2s;
}
.site-header .nav-link:hover, .site-header .nav-link:focus { color: var(--blue-600); background: var(--surface-2); }
.site-header .nav-link.active { color: var(--blue-600); }
.site-header .nav-link.active::after {
    content: ""; display: block; height: 2px; width: 18px; margin: 2px auto -4px; border-radius: 2px; background: var(--grad-brand);
}
.site-header .dropdown-toggle::after { border: 0; content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; vertical-align: middle; margin-left: .4rem; transition: transform .25s; }
.site-header .dropdown.show .dropdown-toggle::after { transform: rotate(180deg); }
.navbar-toggler { border: 0; padding: .5rem; border-radius: 12px; display: inline-flex; align-items: center; gap: .45rem; }
.toggler-label { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--ink); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(0,180,224,.35); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }

.mega-menu {
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 14px; margin-top: 12px !important;
    min-width: 640px; animation: dropIn .25s var(--ease);
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item {
    display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; color: var(--ink);
}
.mega-item:hover { background: var(--surface-2); color: var(--ink); }
.mega-item .ic { flex: 0 0 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--cyan-100); color: var(--blue-600); font-size: .95rem; }
.mega-item strong { display: block; font-family: var(--font-display); font-size: .92rem; line-height: 1.3; }
.mega-item small { color: var(--muted); font-size: .8rem; }
.mega-foot { margin-top: 8px; padding: 14px 12px 4px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.mega-foot span { color: var(--muted); font-size: .85rem; }
.platform-menu { min-width: 340px; }
.about-menu { min-width: 340px; }
.about-menu .mega-grid { grid-template-columns: 1fr; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        background: #fff; margin: 0 -1rem; padding: 1rem 1rem 1.5rem;
        border-top: 1px solid var(--line); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .site-header .nav-link { padding: .8rem .75rem !important; border-radius: 12px; }
    .site-header .nav-link.active::after { display: none; }
    .mega-menu { min-width: 0; box-shadow: none; border: 0; padding: 0 0 0 .5rem; margin-top: 0 !important; animation: none; }
    .mega-grid { grid-template-columns: 1fr; }
    .mega-item small { display: none; }
    .mega-foot { display: none; }
    .nav-cta { flex-direction: column; align-items: stretch; margin-top: 1rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: radial-gradient(1200px 600px at 85% -10%, rgba(0, 180, 224, .22), transparent 60%),
                radial-gradient(900px 600px at -10% 110%, rgba(10, 95, 208, .35), transparent 60%),
                linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
    color: #c7d2e5;
    padding: 96px 0 120px;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; opacity: .55; animation: float 14s ease-in-out infinite; }
.hero-orb.o1 { width: 420px; height: 420px; background: #0a5fd0; top: -120px; left: 40%; }
.hero-orb.o2 { width: 300px; height: 300px; background: #00b4e0; bottom: -80px; right: 6%; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -24px); } }

.pill {
    display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .55rem;
    border-radius: 999px; font-size: .85rem; font-weight: 500;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #dbe6f7;
}
.pill .tag { background: var(--grad-brand); color: #fff; border-radius: 999px; padding: .15rem .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }

.hero h1 {
    color: #fff; font-size: clamp(2.3rem, 1.3rem + 2.9vw, 3.7rem); line-height: 1.06; letter-spacing: -0.035em;
    margin: 1.4rem 0 1.4rem; font-weight: 800;
}
.hero-lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); color: #a9b8d2; max-width: 560px; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-proof { display: flex; align-items: center; gap: 1rem; margin-top: 2.6rem; color: #8ea1c2; font-size: .9rem; }
.avatar-stack { display: flex; }
.avatar-stack span {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    font-size: .75rem; font-weight: 700; color: #fff; border: 2px solid var(--navy-900); margin-left: -10px;
    background: var(--grad-brand); font-family: var(--font-display);
}
.avatar-stack span:first-child { margin-left: 0; }
.avatar-stack span:nth-child(2) { background: linear-gradient(135deg, #22d3f5, #0a5fd0); }
.avatar-stack span:nth-child(3) { background: linear-gradient(135deg, #6366f1, #0a5fd0); }
.avatar-stack span:nth-child(4) { background: linear-gradient(135deg, #0ea5e9, #0d2a6c); }
.hero-proof strong { color: #fff; }

/* Product window mock */
.hero-visual { position: relative; padding: 20px 10px 30px; }
.app-window {
    position: relative; border-radius: 20px; overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
    transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
    transition: transform .8s var(--ease);
}
.hero-visual:hover .app-window { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.app-bar i.d { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: #ff5f57; }
.app-bar i.d:nth-child(2) { background: #febc2e; }
.app-bar i.d:nth-child(3) { background: #28c840; }
.app-bar .url { margin-left: 10px; flex: 1; background: rgba(255,255,255,.07); border-radius: 8px; font-size: .74rem; color: #9fb0cc; padding: 5px 10px; font-family: ui-monospace, monospace; }
.app-body { padding: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kpi { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px; }
.kpi small { color: #8ea1c2; font-size: .72rem; display: block; }
.kpi strong { color: #fff; font-family: var(--font-display); font-size: 1.5rem; display: block; line-height: 1.2; margin-top: 2px; }
.kpi .chip { display: inline-block; margin-top: 6px; font-size: .68rem; padding: 2px 8px; border-radius: 999px; background: rgba(52,211,153,.15); color: #6ee7b7; }
.kpi.wide { grid-column: span 2; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 10px; }
.bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #22d3f5, #0a5fd0); opacity: .9; transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
.bars span:nth-child(odd) { opacity: .6; }
@keyframes grow { from { transform: scaleY(.1); } to { transform: scaleY(1); } }
.float-card {
    position: absolute; z-index: 2; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 14px;
    box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-size: .82rem; max-width: 250px;
    animation: bob 6s ease-in-out infinite;
}
.float-card .ic { flex: 0 0 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); }
.float-card strong { display: block; font-family: var(--font-display); font-size: .86rem; }
.float-card small { color: var(--muted); }
.float-card.f1 { top: -6px; left: -18px; }
.float-card.f2 { bottom: -6px; right: -6px; animation-delay: -3s; }
.float-card.f2 .ic { background: linear-gradient(135deg, #10b981, #0a5fd0); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 991.98px) {
    .hero { padding: 64px 0 88px; }
    .app-window { transform: none; }
    .float-card.f1 { left: 0; }
}
@media (max-width: 575.98px) { .float-card { display: none; } .app-body { grid-template-columns: 1fr 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: radial-gradient(800px 400px at 90% 0%, rgba(0,180,224,.2), transparent 60%),
                radial-gradient(700px 500px at 0% 120%, rgba(10,95,208,.3), transparent 60%),
                linear-gradient(180deg, var(--navy-950), var(--navy-900));
    color: #b4c3dc; padding: 88px 0 80px;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 60% 80% at 70% 0%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 70% 0%, #000 30%, transparent 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem); letter-spacing: -0.03em; font-weight: 800; margin-bottom: 1rem; }
.page-hero .lead { color: #a9b8d2; font-size: 1.15rem; max-width: 680px; }
.page-hero .eyebrow { color: var(--cyan-400); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .85rem; margin-bottom: 1.4rem; color: #8ea1c2; }
.crumbs a { color: #b4c3dc; }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: .6rem; opacity: .6; }

/* ---------- Marquee ---------- */
.marquee-band { border-bottom: 1px solid var(--line); background: #fff; padding: 26px 0; }
.marquee-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: 1.05rem; white-space: nowrap; transition: color .2s; }
.marquee-item i { color: var(--cyan-500); }
.marquee-item:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card-x {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 30px; height: 100%;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card-x:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-link { color: inherit; display: block; height: 100%; }
.card-link:hover { color: inherit; }

.icon-tile {
    width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.25rem;
    background: linear-gradient(135deg, var(--cyan-100), #e7efff); color: var(--blue-600);
    margin-bottom: 1.4rem; position: relative;
}
.icon-tile.solid { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.icon-tile.lg { width: 64px; height: 64px; font-size: 1.5rem; border-radius: 18px; }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento > .span-2 { grid-column: span 2; }
@media (max-width: 991.98px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .bento { grid-template-columns: 1fr; } .bento > .span-2 { grid-column: auto; } }

.service-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.service-card .link-arrow { margin-top: auto; }
.service-card { display: flex; flex-direction: column; }
.service-card .num { position: absolute; top: 26px; right: 28px; font-family: var(--font-display); font-weight: 800; font-size: .85rem; color: var(--line-strong); }
/* Decorative card number lives in CSS so it isn't read out or contrast-checked as content */
.service-card .num::before { content: attr(data-num); }
.service-card:hover .icon-tile { background: var(--grad-brand); color: #fff; }
.service-card .icon-tile { transition: background .35s, color .35s; }

.service-card.feature {
    background: radial-gradient(500px 300px at 100% 0%, rgba(0,180,224,.25), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy-700));
    border-color: transparent; color: #b4c3dc;
}
.service-card.feature h3 { color: #fff; font-size: 1.6rem; }
.service-card.feature p { color: #a9b8d2; max-width: 520px; font-size: 1.02rem; }
.service-card.feature .icon-tile { background: rgba(255,255,255,.1); color: #fff; }
.service-card.feature .link-arrow { color: var(--cyan-400); }
.service-card.feature .num { color: rgba(255,255,255,.2); }
.service-card.feature .chips { margin-bottom: 1.4rem; }

.cta-card {
    background: var(--surface-2); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg);
    padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 1rem; height: 100%;
}
.cta-card h3 { font-size: 1.35rem; margin: 0; }
.cta-card p { color: var(--muted); margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-x { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.chip-x.dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: #dbe6f7; }
.chip-x.brand { background: var(--cyan-100); color: var(--blue-600); border-color: transparent; }

/* ---------- Flagship (EduTrackr) ---------- */
.flagship { position: relative; overflow: hidden; isolation: isolate; }
.flagship::after {
    content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; z-index: -1;
    background: radial-gradient(circle, rgba(0,180,224,.18), transparent 60%);
}
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list li i { flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; margin-top: 2px; background: rgba(0,180,224,.15); color: var(--cyan-400); }
.check-list.light li i { background: var(--cyan-100); color: var(--blue-600); }
.check-list strong { color: #fff; font-weight: 600; }
.check-list.light strong { color: var(--ink); }

.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 767.98px) { .module-grid { grid-template-columns: 1fr; } }
.module { border-radius: var(--radius); padding: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.module h3 { font-size: 1rem; color: #fff; margin-bottom: .7rem; display: flex; gap: .6rem; align-items: center; }
.module h3 i { color: var(--cyan-400); }
.module ul { margin: 0; padding-left: 1.1rem; color: #9fb0cc; font-size: .88rem; }
.module ul li { margin-bottom: .3rem; }

.stat-callout { display: flex; gap: 1.2rem; align-items: center; padding: 20px 24px; border-radius: var(--radius); background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.25); }
.stat-callout strong { font-family: var(--font-display); font-size: 2.4rem; color: #6ee7b7; line-height: 1; }
.stat-callout span { color: #b4c3dc; font-size: .95rem; }

/* Lite YouTube */
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.1); }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s var(--ease); }
.video-frame button { position: absolute; inset: 0; border: 0; background: transparent; width: 100%; display: grid; place-items: center; cursor: pointer; }
.video-frame .play { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--blue-600); font-size: 1.6rem; box-shadow: 0 0 0 12px rgba(255,255,255,.15); transition: transform .3s var(--ease); padding-left: 6px; }
.video-frame:hover .play { transform: scale(1.08); }
.video-frame:hover img { opacity: 1; transform: scale(1.03); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { position: absolute; left: 18px; bottom: 16px; color: #fff; font-size: .85rem; font-weight: 600; background: rgba(4,11,31,.6); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; pointer-events: none; }

/* ---------- Platforms ---------- */
.platform-card { display: flex; flex-direction: column; gap: 1rem; }
.platform-card .top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.platform-card h3 { font-size: 1.25rem; margin: 0; }
.platform-card p { color: var(--muted); margin: 0; font-size: .95rem; flex: 1; }
.live-dot { display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; font-weight: 700; color: #047857; background: #ecfdf5; padding: .25rem .65rem; border-radius: 999px; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); } }
.platform-card .url { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent); }
.step { position: relative; text-align: left; }
.step .n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-family: var(--font-display); font-weight: 800; color: var(--blue-600); margin-bottom: 1.2rem; position: relative; z-index: 1; transition: all .3s; }
.step:hover .n { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 991.98px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.stat { padding: 32px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: .5rem; }
.stat span { color: var(--muted); font-size: .92rem; }
.stats.dark { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.1); }
.stats.dark .stat { border-color: rgba(255,255,255,.1); }
.stats.dark .stat strong { color: #fff; }
.stats.dark .stat span { color: #9fb0cc; }
@media (max-width: 767.98px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .stats.dark .stat:nth-child(-n+2) { border-bottom-color: rgba(255,255,255,.1); } }

/* ---------- Insights ---------- */
.insight-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); color: inherit; }
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.insight-card .cover { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--surface-3); }
.insight-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.insight-card:hover .cover img { transform: scale(1.05); }
.insight-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.insight-card h3 { font-size: 1.15rem; line-height: 1.35; margin: .7rem 0 .6rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.insight-card p { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.insight-card .link-arrow { margin-top: auto; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; font-size: .8rem; color: var(--muted); }
.meta i { opacity: .7; margin-right: .3rem; }
.cat-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); background: var(--cyan-100); padding: .3rem .65rem; border-radius: 999px; }
.cat-badge.event { color: #7c3aed; background: #f3e8ff; }
.cat-badge.news { color: #b45309; background: #fef3c7; }
.cover .cat-badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); box-shadow: var(--shadow-sm); }

/* Branded fallback when an image is missing */
.cover-fallback {
    position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
    background: radial-gradient(300px 200px at 80% 10%, rgba(34,211,245,.45), transparent 60%), linear-gradient(135deg, var(--navy-800), var(--blue-600));
    color: rgba(255,255,255,.9);
}
.cover-fallback::before {
    content: ""; position: absolute; inset: 0; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 28px 28px;
}
.cover-fallback i { font-size: 2.4rem; position: relative; filter: drop-shadow(0 8px 20px rgba(0,0,0,.25)); }
.cover-fallback.event { background: radial-gradient(300px 200px at 80% 10%, rgba(196,181,253,.5), transparent 60%), linear-gradient(135deg, #3b0764, #6d28d9); }
.cover-fallback.news { background: radial-gradient(300px 200px at 80% 10%, rgba(253,230,138,.5), transparent 60%), linear-gradient(135deg, #78350f, #d97706); }

.featured-insight { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; color: inherit; transition: box-shadow .35s; }
.featured-insight:hover { box-shadow: var(--shadow-lg); color: inherit; }
.featured-insight .cover { position: relative; min-height: 340px; background: var(--surface-3); }
.featured-insight .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-insight .body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.featured-insight h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); margin: 1rem 0; }
.featured-insight p { color: var(--muted); }
@media (max-width: 991.98px) { .featured-insight { grid-template-columns: 1fr; } .featured-insight .cover { min-height: 240px; } .featured-insight .body { padding: 28px; } }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; font-family: var(--font-display); transition: all .2s; }
.filter-chip small { color: var(--muted); font-weight: 600; font-size: .78rem; }
.filter-chip:hover { border-color: var(--line-strong); color: var(--ink); }
.filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-chip.active small { color: #9fb0cc; }
.search-box { position: relative; min-width: 280px; }
.search-box input { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1rem .7rem 2.7rem; font-size: .93rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.search-box input:focus { outline: 0; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(10,95,208,.12); }
.search-box i { position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; }
@media (max-width: 575.98px) { .search-box { min-width: 100%; } }

/* Article */
.article-head { max-width: 860px; margin: 0 auto; text-align: center; }
.article-head h1 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.12; margin: 1.2rem 0 1.4rem; }
.article-head .meta { justify-content: center; color: #9fb0cc; font-size: .9rem; }
.article-cover { max-width: 1040px; margin: -64px auto 0; position: relative; z-index: 2; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface-3); aspect-ratio: 21 / 9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover .cover-fallback i { font-size: 3.4rem; }
.article-hero { padding-bottom: 140px; }
.article-layout { display: grid; grid-template-columns: 64px minmax(0, 720px); gap: 40px; justify-content: center; }
@media (max-width: 991.98px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
.share-rail { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 10px; align-self: start; }
.share-rail span { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); text-align: center; }
.share-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); background: #fff; transition: all .2s; cursor: pointer; }
.share-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.share-btn.copied { background: var(--success); color: #fff; border-color: var(--success); }
@media (max-width: 991.98px) { .share-rail { position: static; flex-direction: row; align-items: center; order: 2; } .share-rail span { text-align: left; margin-right: .5rem; } }

.event-panel { display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding: 20px 24px; border-radius: var(--radius); background: #faf5ff; border: 1px solid #e9d5ff; margin-bottom: 2rem; }
.event-panel div { display: flex; gap: .7rem; align-items: center; color: #4c1d95; font-weight: 600; }
.event-panel i { color: #7c3aed; }

.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1040; background: var(--grad-brand); transition: width .1s linear; }

/* Prose (long-form content) */
.prose { font-size: 1.075rem; line-height: 1.8; color: #2c3a52; }
.prose > *:first-child { margin-top: 0; }
.prose > p:first-child { font-size: 1.2rem; color: var(--ink); line-height: 1.7; }
.prose p { margin: 0 0 1.35em; }
.prose h2 { font-size: 1.75rem; margin: 2.2em 0 .8em; }
.prose h3 { font-size: 1.4rem; margin: 2em 0 .7em; }
.prose h4 { font-size: 1.12rem; margin: 1.8em 0 .6em; }
.prose.legal h2 { font-size: 1.4rem; margin: 2em 0 .7em; }
.prose h4 .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad-brand); color: #fff; font-size: .82rem; margin-right: .7rem; vertical-align: middle; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { text-decoration: underline; text-decoration-color: rgba(10,95,208,.35); text-underline-offset: 3px; word-break: break-word; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { margin: 0 0 1.5em; padding-left: 0; list-style: none; counter-reset: li; }
.prose ul li, .prose ol li { position: relative; padding-left: 2.1em; margin-bottom: .75em; }
.prose ul li::before { content: ""; position: absolute; left: .45em; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-500); box-shadow: 0 0 0 4px var(--cyan-100); }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: .2em; width: 1.55em; height: 1.55em; border-radius: 7px; display: grid; place-items: center; background: var(--cyan-100); color: var(--blue-600); font-weight: 700; font-size: .82em; font-family: var(--font-display); }
.prose blockquote { border-left: 4px solid var(--cyan-500); padding: .4em 0 .4em 1.2em; margin: 1.8em 0; font-size: 1.15rem; color: var(--ink); font-style: italic; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
/* Long links/words in admin-written articles wrap; wide tables and code scroll inside the article, not the page */
.prose { overflow-wrap: break-word; }
.prose pre { overflow-x: auto; }
@media (max-width: 767.98px) { .prose table { display: block; overflow-x: auto; } }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .7em .6em; text-align: left; }
.prose .kv-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem; padding: .85em 1.1em; border: 1px solid var(--line); border-bottom: 0; background: #fff; }
.prose .kv-row:first-of-type, .prose h3 + .kv-row, .prose h4 + .kv-row { border-radius: 12px 12px 0 0; background: var(--surface-2); font-weight: 700; color: var(--ink); }
.prose .kv-row:has(+ :not(.kv-row)), .prose .kv-row:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-bottom: 1.5em; }
.prose .kv-row span:first-child { color: var(--ink); font-weight: 600; }
.prose .hashtags { display: flex; flex-wrap: wrap; gap: 8px; }
.prose .hashtags span { font-size: .82rem; font-weight: 600; color: var(--blue-600); background: var(--cyan-100); padding: .25em .7em; border-radius: 999px; }
.prose div { margin-bottom: 1.2em; }

/* ---------- Team ---------- */
.team-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; height: 100%; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.avatar { width: 88px; height: 88px; border-radius: 24px; overflow: hidden; flex-shrink: 0; position: relative; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: .02em; margin-bottom: 1.3rem; box-shadow: var(--shadow-glow); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 56px; height: 56px; border-radius: 16px; font-size: 1.05rem; margin: 0; }
.team-card:nth-child(4n+2) .avatar, .team-grid > :nth-child(4n+2) .avatar { background: linear-gradient(135deg, #22d3f5, #0a5fd0); }
.team-grid > :nth-child(4n+3) .avatar { background: linear-gradient(135deg, #6366f1, #0a5fd0); }
.team-grid > :nth-child(4n+4) .avatar { background: linear-gradient(135deg, #0ea5e9, #0d2a6c); }
.team-card h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.team-card .role { color: var(--blue-600); font-weight: 600; font-size: .88rem; margin-bottom: 1rem; }
.team-card p { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.team-card .actions { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: .5rem; border-top: 1px solid var(--line); }
.icon-btn { width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center; border: 1px solid var(--line); color: var(--ink); background: #fff; transition: all .2s; }
.icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.team-modal .modal-content { border: 0; border-radius: var(--radius-xl); overflow: hidden; }
.team-modal .modal-header { border: 0; padding: 32px 32px 0; align-items: flex-start; }
.team-modal .modal-body { padding: 24px 32px 32px; }

/* ---------- Quote ---------- */
.quote-card { position: relative; border-radius: var(--radius-xl); padding: 44px; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #c7d2e5; overflow: hidden; }
.quote-card::before { content: "\201C"; position: absolute; top: -30px; right: 24px; font-family: Georgia, serif; font-size: 12rem; line-height: 1; color: rgba(0,180,224,.18); }
.quote-card blockquote { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.5; color: #fff; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 1.8rem; position: relative; }
.quote-card .who { display: flex; align-items: center; gap: .9rem; }
.quote-card .who strong { color: #fff; display: block; }
.quote-card .who small { color: #9fb0cc; }

/* ---------- Pillars / values ---------- */
.pillar { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); height: 100%; }
.pillar h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.pillar p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Feature list (service detail) ---------- */
.feature-card { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); height: 100%; transition: box-shadow .3s, border-color .3s; }
.feature-card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.feature-card h3 { font-size: 1.08rem; margin-bottom: .6rem; display: flex; gap: .8rem; align-items: flex-start; }
.feature-card h3 .n { flex: 0 0 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--cyan-100); color: var(--blue-600); font-size: .8rem; font-weight: 800; }
.feature-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.feature-card ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.feature-card ul li { font-size: .9rem; color: var(--text); padding-left: 1.4rem; position: relative; }
.feature-card ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .1rem; font-size: .72rem; color: var(--cyan-500); }
.feature-card ul li strong { color: var(--ink); }

.benefit { display: flex; gap: 1rem; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); height: 100%; }
.benefit i { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,180,224,.15); color: var(--cyan-400); }
.benefit strong { color: #fff; display: block; margin-bottom: .25rem; font-family: var(--font-display); }
.benefit span { color: #9fb0cc; font-size: .93rem; }

.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; padding: 28px; }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links a { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: .93rem; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a i.fa-arrow-right { margin-left: auto; font-size: .75rem; color: var(--muted); transition: transform .2s; }
.aside-links a:hover { color: var(--blue-600); }
.aside-links a:hover i.fa-arrow-right { transform: translateX(3px); color: var(--blue-600); }

.service-visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.service-visual.has-image { aspect-ratio: auto; background: #fff; }
.service-visual img { width: 100%; height: auto; max-height: 440px; object-fit: contain; display: block; }
.service-visual .cover-fallback i { font-size: 5rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 44px; box-shadow: var(--shadow); }
@media (max-width: 575.98px) { .form-card { padding: 26px 20px; } }
.form-section-title { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }
.form-section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-label { font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .45rem; }
.form-control, .form-select {
    border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem 1rem; font-size: .97rem; color: var(--ink);
    transition: border-color .2s, box-shadow .2s, background-color .2s; background-color: var(--surface-2);
}
.form-control:hover, .form-select:hover { border-color: var(--line-strong); }
.form-control:focus, .form-select:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(10,95,208,.12); background-color: #fff; }
.form-control::placeholder { color: #9aa8bd; }
.form-text { color: var(--muted); }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.input-icon > .form-control, .input-icon > .form-select { padding-left: 2.7rem; }
textarea.form-control { min-height: 150px; resize: vertical; }
.alert-x { border-radius: var(--radius); padding: 16px 18px; display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; margin-bottom: 1.5rem; }
.alert-x.error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-x.success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-x ul { margin: 0; padding-left: 1.1rem; }

.info-tile { display: flex; gap: 1rem; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; height: 100%; transition: all .3s var(--ease); color: inherit; }
a.info-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-4px); color: inherit; }
.info-tile .ic { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--cyan-100); color: var(--blue-600); font-size: 1.1rem; }
.info-tile.wa .ic { background: #dcfce7; color: #16a34a; }
.info-tile h2, .info-tile h3 { font-size: 1rem; margin-bottom: .2rem; }
.info-tile p { margin: 0; color: var(--muted); font-size: .92rem; word-break: break-word; }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-left: 58px; padding-bottom: 1.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .n { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--blue-600); font-weight: 800; font-family: var(--font-display); font-size: .9rem; }
.timeline li:first-child .n { background: var(--grad-brand); color: #fff; border-color: transparent; }
.timeline h3 { font-size: 1rem; margin-bottom: .2rem; }
.timeline p { color: var(--muted); font-size: .92rem; margin: 0; }

.map-frame { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); height: 420px; background: var(--surface-3); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); padding: 72px 56px;
    background: radial-gradient(600px 300px at 100% 0%, rgba(34,211,245,.35), transparent 60%),
                radial-gradient(500px 300px at 0% 100%, rgba(10,95,208,.5), transparent 60%),
                linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #b4c3dc;
}
.cta-band::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4;
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 1rem; }
.cta-band p { font-size: 1.1rem; color: #a9b8d2; max-width: 560px; margin: 0; }
@media (max-width: 767.98px) { .cta-band { padding: 48px 26px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8ea1c2; padding: 88px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(34,211,245,.5), transparent); }
.footer-brand { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.2rem; }
.footer-brand img { height: 42px; width: auto; }
.footer-brand picture, .assistant-head picture { display: flex; flex-shrink: 0; }
.footer-brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: #fff; letter-spacing: -0.02em; }
.footer-brand span em { font-style: normal; color: var(--cyan-400); }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-links a { color: #8ea1c2; font-size: .93rem; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact i { color: var(--cyan-400); margin-top: .3rem; width: 16px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #c7d2e5; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: all .2s; }
.socials a:hover { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-2px); }
.footer-bottom { margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .87rem; }
.footer-bottom a { color: #8ea1c2; }
.footer-bottom a:hover { color: #fff; }
.footer-watermark { position: absolute; bottom: -40px; right: -20px; font-family: var(--font-display); font-weight: 800; font-size: 16vw; line-height: 1; color: rgba(255,255,255,.02); pointer-events: none; user-select: none; letter-spacing: -0.05em; }
.footer-watermark::before { content: attr(data-text); } /* decorative: kept out of the DOM text */

/* ---------- Floating actions ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 1035; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.7rem; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .25s var(--ease); }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Pagination ---------- */
.pagination { gap: 6px; justify-content: center; }
.pagination .page-link { border-radius: 12px !important; border: 1px solid var(--line); color: var(--ink); font-weight: 600; min-width: 42px; text-align: center; padding: .55rem .8rem; }
.pagination .page-item.active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .page-link:hover { background: var(--surface-2); color: var(--ink); }

/* ---------- Empty / success states ---------- */
.empty-state { text-align: center; padding: 72px 24px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-xl); background: var(--surface-2); }
.empty-state i { font-size: 2.2rem; color: var(--line-strong); margin-bottom: 1rem; }
.success-mark { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 2rem; display: grid; place-items: center; background: linear-gradient(135deg, #10b981, #0a5fd0); color: #fff; font-size: 2.6rem; box-shadow: 0 0 0 14px rgba(16,185,129,.12), var(--shadow-glow); animation: pop .6s var(--ease) both; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }
/* Above the fold the entrance runs on CSS alone, so the hero (the LCP element) paints
   without waiting for JavaScript at the end of the page. */
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: rise-in .8s var(--ease) both; }
.hero .reveal[data-delay="1"], .page-hero .reveal[data-delay="1"] { animation-delay: .08s; }
.hero .reveal[data-delay="2"], .page-hero .reveal[data-delay="2"] { animation-delay: .16s; }
.hero .reveal[data-delay="3"], .page-hero .reveal[data-delay="3"] { animation-delay: .24s; }
.hero .reveal[data-delay="4"], .page-hero .reveal[data-delay="4"] { animation-delay: .32s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 14px; }
    .marquee { mask-image: none; -webkit-mask-image: none; }
    .marquee-track [aria-hidden="true"] { display: none; } /* the second copy only exists for the scrolling loop */
}
/* Same static, wrapped strip when the visitor picks "Stop animations" in the accessibility panel */
html.a11y-calm .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 14px; }
html.a11y-calm .marquee { mask-image: none; -webkit-mask-image: none; }
html.a11y-calm .marquee-track [aria-hidden="true"] { display: none; }

/* ==========================================================================
   v2 components: utility bar, quick access, portfolio, portals, FAQ,
   floating actions, assistant, accessibility, cookie notice
   ========================================================================== */

/* Utility bar */
.utility-bar { background: var(--navy-950); color: #8ea1c2; font-size: .8rem; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.utility-bar a, .utility-bar span { color: #b4c3dc; display: inline-flex; align-items: center; gap: .45rem; }
.utility-bar a:hover { color: #fff; }
.utility-bar i { color: var(--cyan-400); font-size: .78rem; }
.utility-bar .connect { color: #8ea1c2; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.utility-socials { display: inline-flex; gap: 4px; }
.u-social { width: 26px; height: 26px; border-radius: 8px; justify-content: center; background: rgba(255,255,255,.06); transition: background .2s; }
.u-social:hover { background: var(--grad-brand); }
.u-social i { color: #dbe6f7 !important; font-size: .78rem; }
.mobile-socials { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.mobile-socials span { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mobile-socials .socials { margin-top: .6rem; }
.mobile-socials .socials a { color: var(--ink); background: var(--surface-2); border-color: var(--line); }

/* Quick access: its own band below the hero (no overlap with the hero on any screen size) */
.quick-access { position: relative; padding-top: 40px; }
.quick-card { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 10px; }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.quick-tile { display: flex; flex-direction: column; gap: .25rem; padding: 20px 22px; border-radius: 20px; color: var(--ink); transition: background .2s; position: relative; }
.quick-tile + .quick-tile::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: var(--line); }
.quick-tile:hover { background: var(--surface-2); color: var(--ink); }
.quick-tile .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-100); color: var(--blue-600); margin-bottom: .6rem; transition: all .25s; }
.quick-tile .ic.wa { background: #dcfce7; color: #16a34a; }
.quick-tile:hover .ic { background: var(--grad-brand); color: #fff; }
.quick-tile strong { font-family: var(--font-display); font-size: .97rem; }
.quick-tile small { color: var(--muted); font-size: .82rem; }
.info-for { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 22px 12px; border-top: 1px solid var(--line); margin-top: 6px; }
.info-for .label { font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: .4rem; }
.info-for .chip-x { color: var(--ink); transition: all .2s; }
.info-for .chip-x i { color: var(--blue-600); }
.info-for .chip-x:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.info-for .chip-x:hover i { color: var(--cyan-400); }
@media (max-width: 991.98px) {
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .quick-tile:nth-child(4)::before { display: none; }
}
@media (max-width: 575.98px) {
    .quick-access { padding-top: 24px; }
    .quick-grid { grid-template-columns: 1fr 1fr; }
    .quick-tile { padding: 16px; }
    .quick-tile::before { display: none; }
    .quick-tile:last-child { grid-column: span 2; }
}

/* Countdown band */
.countdown-band { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; padding: 28px 32px; border-radius: var(--radius-xl); color: #b4c3dc;
    background: radial-gradient(500px 200px at 100% 0%, rgba(34,211,245,.3), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.countdown-band h2 { color: #fff; font-size: 1.35rem; margin: .2rem 0 .4rem; }
.countdown-band p { margin: 0; font-size: .9rem; }
.countdown { display: flex; gap: 10px; }
.countdown div { min-width: 70px; text-align: center; padding: 10px 8px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.countdown strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: #fff; line-height: 1.1; }
.countdown span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 991.98px) { .countdown-band { grid-template-columns: 1fr; } }

/* Portfolio project cards */
.project-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-shot { display: block; position: relative; background: linear-gradient(180deg, #eef3fa, #e3eaf5); padding: 14px 14px 0; color: inherit; }
.browser-bar { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 10px 10px 0 0; padding: 8px 10px; border: 1px solid var(--line); border-bottom: 0; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 8px; flex: 1; font-size: .7rem; color: var(--muted); background: var(--surface-2); border-radius: 6px; padding: 2px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, monospace; }
.project-shot .shot { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-top: 0; background: #fff; }
.project-shot .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.project-card:hover .shot img { transform: scale(1.04); }
.project-shot .cover-fallback i { font-size: 2.6rem; }
.visit-pill { position: absolute; right: 24px; bottom: 14px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); display: inline-flex; gap: .4rem; align-items: center; }
.project-card:hover .visit-pill, .project-shot:focus-visible .visit-pill { opacity: 1; transform: none; }
.project-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.15rem; margin: .2rem 0 .3rem; }
.project-body .client { font-size: .84rem; color: var(--blue-600); font-weight: 600; margin-bottom: .5rem; }
.project-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.hero-mini-stats { display: flex; gap: 12px; justify-content: flex-end; }
@media (max-width: 991.98px) { .hero-mini-stats { justify-content: flex-start; } }
.hero-mini-stats div { flex: 1; max-width: 170px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.hero-mini-stats strong { display: block; color: #fff; font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.hero-mini-stats span { font-size: .82rem; }
[data-filter-grid] > .is-hidden { display: none; }
button.filter-chip { cursor: pointer; }

/* Client portals */
/* minmax(0, 1fr): a long portal address (nowrap) must shrink with "…", not widen the column past the screen */
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 991.98px) { .portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .portal-grid { grid-template-columns: minmax(0, 1fr); } }
.portal-tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #dbe6f7; transition: all .25s var(--ease); }
.portal-tile:hover { background: rgba(255,255,255,.09); border-color: rgba(34,211,245,.4); color: #fff; transform: translateY(-3px); }
.portal-tile .ic { flex: 0 0 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.portal-tile .txt { flex: 1; min-width: 0; }
.portal-tile strong { display: block; color: #fff; font-family: var(--font-display); }
.portal-tile small { color: #8ea1c2; font-family: ui-monospace, monospace; font-size: .74rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-tile .go { color: #8ea1c2; font-size: .8rem; }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 18px !important; overflow: hidden; margin-bottom: 12px; background: #fff; }
.faq .accordion-button { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.02rem; padding: 20px 24px; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--blue-600); background: #fff; }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(0,180,224,.3); }
.faq .accordion-body { padding: 0 24px 22px; color: var(--muted); }

/* Social list (contact page) */
.social-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.social-list a { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .88rem; }
.social-list a i { width: 18px; text-align: center; color: var(--blue-600); }
.social-list a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social-list a:hover i { color: var(--cyan-400); }

/* Floating actions (Top · Call · WhatsApp · Ask us + Accessibility), always with visible labels.
   Desktop: one low row of pills at the bottom-right, Accessibility at the bottom-left; the footer
   ends with enough space that nothing is ever covered once you reach the bottom of the page.
   Phones/tablets: a bottom bar; the page gets matching bottom padding so the bar never hides content. */
.wa-float { display: none; }
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 1035; display: flex; flex-direction: row; align-items: center; gap: 10px; }
.fab { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1rem .7rem .8rem; border-radius: 999px; border: 0; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .88rem; line-height: 1.2; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(11,31,77,.55); transition: transform .2s var(--ease); cursor: pointer; }
.fab i { width: 22px; text-align: center; font-size: 1.05rem; }
.fab:hover { color: #fff; transform: translateY(-2px); }
.fab-call { background: var(--blue-600); }
.fab-wa { background: #15803d; }
.fab-ask { background: linear-gradient(135deg, #0aa8e0, #0a5fd0 60%, #0b47b0); }
.fab.to-top { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.fab.to-top:hover { background: var(--ink); color: #fff; }
.fab.to-top:not(.show) { display: none; }
@media (min-width: 992px) { .site-footer { padding-bottom: 72px; } }
@media (max-width: 991.98px) {
    body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
    .fab-stack { left: 0; right: 0; bottom: 0; gap: 4px; align-items: stretch; padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(11,31,77,.45); }
    .fab, .fab-stack .a11y-toggle { position: static; flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 3px; min-height: 54px; padding: 6px 2px; border-radius: 12px; background: none; box-shadow: none; color: var(--ink); font-family: var(--font-display); font-size: .74rem; font-weight: 700; }
    .fab:hover, .fab-stack .a11y-toggle:hover { color: var(--ink); background: var(--surface-2); transform: none; }
    .fab i, .fab-stack .a11y-toggle i { width: auto; font-size: 1.2rem; }
    .fab-call i { color: var(--blue-600); }
    .fab-wa i { color: #15803d; }
    .fab-ask i { color: #0a5fd0; }
    .fab-stack .a11y-toggle i { color: var(--ink); }
    .fab.to-top { display: none; }
}

/* Assistant */
.assistant { position: fixed; right: 18px; bottom: 18px; z-index: 1070; width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100vh - 36px)); background: #fff; border-radius: 22px; box-shadow: 0 40px 80px -20px rgba(4,11,31,.5); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; animation: dropIn .3s var(--ease); }
.assistant[hidden] { display: none; }
.assistant-head { display: flex; align-items: center; gap: .75rem; padding: 14px 16px; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.assistant-head strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.assistant-head small { color: #9fb0cc; font-size: .75rem; display: flex; align-items: center; gap: .35rem; }
.assistant-head .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; }
.assistant-close { margin-left: auto; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 32px; height: 32px; border-radius: 10px; }
.assistant-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: .9rem; line-height: 1.5; }
.msg.bot { background: #fff; border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.user { background: var(--blue-600); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg a { font-weight: 600; }
.msg .msg-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg .msg-actions a { font-size: .78rem; padding: .3rem .65rem; border-radius: 999px; background: var(--cyan-100); color: var(--blue-600); }
.assistant-chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px; border-top: 1px solid var(--line); scrollbar-width: thin; }
.assistant-chips button { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .35rem .75rem; font-size: .78rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.assistant-chips button:hover { border-color: var(--blue-600); color: var(--blue-600); }
.assistant-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.assistant-input input { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: .55rem .8rem; font-size: .9rem; }
.assistant-input input:focus { outline: 0; border-color: var(--blue-600); }
.assistant-input button { width: 42px; border: 0; border-radius: 12px; background: var(--blue-600); color: #fff; }
.assistant-foot { display: flex; align-items: center; gap: .8rem; padding: 8px 14px 12px; font-size: .78rem; color: var(--muted); }
.assistant-foot a { font-weight: 600; }

/* Accessibility widget */
.a11y-toggle { position: fixed; left: 18px; bottom: 18px; z-index: 1035; display: inline-flex; align-items: center; gap: .5rem; border: 0; border-radius: 999px; padding: .65rem .95rem; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow); }
.a11y-toggle i { font-size: 1.1rem; color: var(--cyan-400); }
.a11y-panel { position: fixed; left: 18px; bottom: 74px; z-index: 1050; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-lg); animation: dropIn .25s var(--ease); }
.a11y-panel[hidden] { display: none; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-weight: 600; font-size: .9rem; }
.a11y-btn { border: 1px solid var(--line); background: #fff; width: 40px; height: 36px; font-weight: 800; color: var(--ink); }
.a11y-btn:first-child { border-radius: 10px 0 0 10px; } .a11y-btn:last-child { border-radius: 0 10px 10px 0; }
.a11y-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 12px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); font-size: .8rem; font-weight: 600; color: var(--ink); }
.a11y-opt i { font-size: 1.05rem; color: var(--blue-600); }
.a11y-opt[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.a11y-opt[aria-pressed="true"] i { color: var(--cyan-400); }

html.a11y-text-lg { font-size: 112.5%; }
html.a11y-text-xl { font-size: 125%; }
html.a11y-links a:not(.btn):not(.fab):not(.quick-tile):not(.mega-item) { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-links a:focus, html.a11y-links button:focus { outline: 3px solid #f59e0b !important; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable h4 { font-family: Verdana, Tahoma, sans-serif !important; letter-spacing: .02em !important; word-spacing: .08em; }
html.a11y-readable .prose { line-height: 2; }
html.a11y-calm *, html.a11y-calm *::before, html.a11y-calm *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-calm .reveal { opacity: 1 !important; transform: none !important; }
html.a11y-contrast { --muted: #1f2937; --text: #000; --line: #6b7280; --line-strong: #374151; }
html.a11y-contrast body { color: #000; }
html.a11y-contrast .text-muted-2, html.a11y-contrast .section-lead, html.a11y-contrast p { color: inherit !important; }
html.a11y-contrast .hero, html.a11y-contrast .page-hero, html.a11y-contrast .bg-dark-navy, html.a11y-contrast .cta-band, html.a11y-contrast .site-footer { background: #000 !important; color: #fff !important; }
html.a11y-contrast .hero p, html.a11y-contrast .page-hero p, html.a11y-contrast .page-hero .lead, html.a11y-contrast .bg-dark-navy p, html.a11y-contrast .site-footer a { color: #fff !important; }
html.a11y-contrast .text-gradient { background: none; -webkit-text-fill-color: #ffe14d; color: #ffe14d; }
html.a11y-contrast a { color: #0033cc; }
html.a11y-contrast .hero a.btn-glass, html.a11y-contrast .page-hero a { color: #fff; }

/* Cookie notice */
.cookie-bar { position: fixed; left: 50%; bottom: 78px; transform: translateX(-50%); z-index: 1060; width: min(760px, calc(100vw - 24px)); display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); animation: dropIn .4s var(--ease); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: .87rem; color: var(--text); }
.cookie-bar i { color: var(--blue-600); }
/* Links inside running text need more than colour to stand out */
.cookie-bar p a, .text-muted-2 a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
/* The cookie notice and accessibility panel open above the floating buttons / bottom bar, never on top of them */
@media (max-width: 991.98px) { .cookie-bar, .a11y-panel { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 767.98px) { .cookie-bar { flex-direction: column; align-items: stretch; } }

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .wa-float, .to-top, .share-rail, .cta-band, .reading-progress,
    .utility-bar, .fab-stack, .assistant, .a11y-toggle, .a11y-panel, .cookie-bar { display: none !important; }
    .page-hero, .hero { background: none !important; color: #000; padding: 20px 0; }
    .page-hero h1, .article-head h1 { color: #000; }
}
