/* ==========================================================================
   Commission Connect Team — public website  (v2)
   One continuous flow: glass navbar → dark hero → light canvas with
   dark "islands" → CTA card that overlaps into the footer → bottom bar.
   Mobile-first.
   ========================================================================== */

:root {
  --navy-950: #050a1c;
  --navy-900: #070d22;
  --navy-850: #0a1330;
  --navy-800: #0f1b42;
  --navy-700: #1a2a5c;
  --ink: #0b1224;
  --text: #334155;
  --muted: #64748b;
  --line: #e3e8f2;
  --bg: #f3f6fc;
  --surface: #ffffff;
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --cyan: #06b6d4;
  --violet: #7c3aed;
  --green: #16a34a;
  --amber: #f59e0b;
  --grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --grad-2: linear-gradient(135deg, #7c3aed 0%, #2563eb 55%, #06b6d4 100%);
  --grad-text: linear-gradient(90deg, #60a5fa 0%, #22d3ee 45%, #a78bfa 100%);
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 36, .05), 0 2px 10px rgba(11, 18, 36, .04);
  --shadow: 0 14px 34px -14px rgba(11, 18, 36, .22), 0 4px 12px -6px rgba(11, 18, 36, .08);
  --shadow-lg: 0 34px 70px -24px rgba(5, 10, 28, .45);
  --header-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(37, 99, 235, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
::selection { background: rgba(37, 99, 235, .2); }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .5); outline-offset: 2px; border-radius: 8px; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.4rem; border-radius: 999px; border: 1px solid transparent; overflow: hidden;
  font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .58rem 1.05rem; font-size: .86rem; }
.btn-lg { padding: 1rem 1.65rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(37, 99, 235, .85); }
.btn-primary:hover { color: #fff; box-shadow: 0 18px 34px -12px rgba(37, 99, 235, .95); }
.btn-ghost { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.btn-ghost-dark { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost-dark:hover { color: var(--blue); border-color: #bfd0f7; }
.btn-white { background: #fff; color: var(--navy-900); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .5); }
.btn-white:hover { color: var(--blue); }
.btn-whatsapp { background: #22c55e; color: #fff; box-shadow: 0 12px 26px -14px rgba(22, 163, 74, .9); }
.btn-whatsapp:hover { color: #fff; background: #16a34a; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* ==========================================================================
   Header — transparent over the dark hero, floating glass pill on scroll
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 150; padding: 0; transition: padding .35s var(--ease); }
.header-shell {
  position: relative; max-width: 1240px; margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; gap: 1rem; padding: 0 16px;
  border: 1px solid transparent; border-radius: 0;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, border-radius .35s ease, height .35s var(--ease);
}
@media (min-width: 640px) { .header-shell { padding: 0 24px; } }
.site-header.is-scrolled { padding: 10px 10px 0; }
.site-header.is-scrolled .header-shell {
  height: 62px; border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 18px 40px -18px rgba(5, 10, 28, .35), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.brand { display: inline-flex; align-items: center; gap: .65rem; min-width: 0; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark {
  position: relative; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  color: #fff; background: var(--grad); box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.brand-mark::after { content: ""; position: absolute; inset: -3px; border-radius: 16px; border: 1px solid rgba(96, 165, 250, .35); }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.brand-text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand-text small { font-size: .66rem; color: rgba(203, 213, 225, .85); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.is-scrolled .brand, .is-scrolled .brand:hover { color: var(--ink); }
.is-scrolled .brand-text small { color: var(--muted); }
.brand-light, .brand-light:hover { color: #fff !important; }
.brand-light .brand-text small { color: #94a3b8 !important; }

.main-nav { display: none; margin-left: 1.25rem; }
.nav-list { list-style: none; margin: 0; padding: 4px; display: flex; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .35s, border-color .35s; }
.is-scrolled .nav-list { background: rgba(241, 245, 249, .8); border-color: rgba(226, 232, 240, .9); }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .48rem .9rem; border-radius: 999px; border: 0; background: none; cursor: pointer;
  color: rgba(226, 232, 240, .88); font-weight: 600; font-size: .9rem; transition: color .2s, background .2s;
}
.nav-link i { font-size: .7rem; transition: transform .25s; }
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.is-scrolled .nav-link { color: var(--text); }
.is-scrolled .nav-link:hover { color: var(--blue); background: #fff; }
.is-scrolled .nav-link.is-active { color: #fff; background: var(--ink); box-shadow: none; }

.has-mega { position: static; }
.mega {
  position: absolute; left: 50%; top: calc(100% + 10px); width: min(860px, calc(100vw - 32px));
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .22s ease, transform .22s var(--ease), visibility .22s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-mega:hover .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-mega:hover .mega-btn i, .has-mega.is-open .mega-btn i { transform: rotate(180deg); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; gap: .75rem; align-items: flex-start; padding: .75rem; border-radius: 16px; color: var(--text); transition: background .18s; }
.mega-item:hover { background: var(--bg); color: var(--text); }
.mega-item b { display: block; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.mega-item small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.45; margin-top: 2px; }
.mega-ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; color: var(--blue); background: linear-gradient(135deg, #eaf1ff, #e0f7fb); transition: transform .2s; }
.mega-item:hover .mega-ic { transform: scale(1.08) rotate(-6deg); }
.mega-promo {
  position: relative; overflow: hidden; border-radius: 18px; padding: 1.4rem; color: #cbd5e1;
  background: radial-gradient(300px 180px at 100% 0%, rgba(34, 211, 238, .35), transparent 60%), linear-gradient(160deg, #1d4ed8, var(--navy-900) 75%);
  display: flex; flex-direction: column; align-items: flex-start;
}
.mega-promo b { color: #fff; font-size: 1.15rem; line-height: 1.25; margin-bottom: .4rem; }
.mega-promo p { font-size: .86rem; color: #bfdbfe; flex: 1; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem;
  color: #e2e8f0; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: all .2s;
}
.icon-btn:hover { color: #fff; background: rgba(255, 255, 255, .16); transform: translateY(-1px); }
.is-scrolled .icon-btn { color: var(--ink); background: #fff; border-color: var(--line); }
.is-scrolled .icon-btn:hover { color: var(--blue); }
.hide-sm { display: none !important; }
.header-cta { display: none; }
.header-cta i { font-size: 1.2rem; margin: -.2rem -.3rem -.2rem 0; }

.nav-toggle {
  position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 14px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s ease; }
.nav-toggle span:nth-child(2) { width: 12px; margin-left: 6px; }
.is-scrolled .nav-toggle { border-color: var(--line); background: #fff; }
.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; max-width: 1240px; margin: 0 auto; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad-2); border-radius: 2px; }
.is-scrolled .scroll-progress { left: 30px; right: 30px; }

@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 760px) { .hide-sm { display: grid !important; } }
@media (min-width: 1100px) { .main-nav { display: block; } .nav-toggle { display: none; } }

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 140; overflow-y: auto;
  background: radial-gradient(600px 400px at 100% 0%, rgba(37, 99, 235, .35), transparent 60%),
              radial-gradient(500px 400px at 0% 100%, rgba(6, 182, 212, .2), transparent 60%), var(--navy-950);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.mobile-menu-inner { padding: calc(var(--header-h) + 20px) 20px 40px; max-width: 560px; margin: 0 auto; }
.mm-links { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.mm-links li, .mm-section, .mm-actions { opacity: 0; transform: translateY(18px); transition: opacity .4s ease, transform .5s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.mm-links a { display: flex; align-items: center; gap: .9rem; padding: .9rem .2rem; color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mm-links a span { font-size: .75rem; font-weight: 700; color: #60a5fa; letter-spacing: .05em; width: 22px; }
.mm-links a i { margin-left: auto; font-size: 1rem; color: #64748b; transition: transform .2s, color .2s; }
.mm-links a:hover i, .mm-links a.is-active i { color: #22d3ee; transform: translate(2px, -2px); }
.mm-links a.is-active { color: #7dd3fc; }
.mm-section small { display: block; color: #64748b; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .7rem; }
.mm-services { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1.75rem; }
.mm-services a { display: flex; gap: .5rem; align-items: center; padding: .7rem .8rem; border-radius: 14px; color: #cbd5e1; font-size: .82rem; font-weight: 600; line-height: 1.3; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.mm-services i { color: #38bdf8; font-size: 1rem; }
.mm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.mm-actions .mm-wide { grid-column: 1 / -1; }
.nav-open { overflow: hidden; }
.nav-open .mobile-menu { opacity: 1; visibility: visible; }
.nav-open .mm-links li, .nav-open .mm-section, .nav-open .mm-actions { opacity: 1; transform: none; }
.nav-open .site-header .header-shell { background: transparent !important; box-shadow: none !important; border-color: transparent !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-open .site-header .brand { color: #fff; }
.nav-open .site-header .brand-text small { color: rgba(203, 213, 225, .85); }
.nav-open .site-header .nav-toggle { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.nav-open .site-header .nav-toggle span { background: #fff; }
.nav-open .site-header .header-cta, .nav-open .site-header .icon-btn { opacity: 0; pointer-events: none; }
.nav-open .bottom-bar { transform: translateY(140%); }
@media (min-width: 1100px) { .mobile-menu { display: none; } }

/* ==========================================================================
   Sections & shared pieces
   ========================================================================== */
.section { position: relative; padding: 72px 0; }
.section-tight { padding: 52px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }

.island {
  position: relative; overflow: hidden; color: #cbd5e1; margin: 0 8px; border-radius: var(--radius-lg);
  background: radial-gradient(900px 500px at 90% 0%, rgba(37, 99, 235, .3), transparent 60%),
              radial-gradient(700px 500px at 0% 100%, rgba(6, 182, 212, .16), transparent 60%), var(--navy-900);
}
.island h2, .island h3 { color: #fff; }
@media (min-width: 640px) { .island { margin: 0 16px; } }

.section-head { max-width: 740px; margin: 0 auto 3rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.85rem, 4.4vw, 2.8rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.island .section-head p { color: #94a3b8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--blue); background: #fff; border: 1px solid #d6e4ff;
  padding: .38rem .85rem; border-radius: 999px; margin-bottom: 1rem; box-shadow: var(--shadow-sm);
}
.eyebrow-dark { color: #7dd3fc; background: rgba(56, 189, 248, .1); border-color: rgba(56, 189, 248, .25); box-shadow: none; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c9d8f5; }
.card-hover::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 235, .09), transparent 45%);
}
.card-hover:hover::before { opacity: 1; }
.card-hover > * { position: relative; z-index: 1; }

.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; }
.link-arrow { font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i, .card-hover:hover .link-arrow i { transform: translateX(4px); }

.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(148, 163, 184, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow-a { width: 460px; height: 460px; background: rgba(37, 99, 235, .4); top: -160px; right: -120px; animation: drift 14s ease-in-out infinite; }
.hero-glow-b { width: 360px; height: 360px; background: rgba(124, 58, 237, .28); bottom: -160px; left: 15%; animation: drift 18s ease-in-out infinite reverse; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 30px); } }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: #cbd5e1;
  background: radial-gradient(1200px 640px at 85% -10%, rgba(37, 99, 235, .38), transparent 60%),
              radial-gradient(900px 520px at -10% 100%, rgba(6, 182, 212, .2), transparent 60%), var(--navy-900);
  padding: calc(var(--header-h) + 40px) 0 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero-inner { position: relative; display: grid; gap: 3.5rem; align-items: center; padding-bottom: 56px; }
@media (min-width: 980px) { .hero { padding-top: calc(var(--header-h) + 72px); } .hero-inner { grid-template-columns: 1.05fr .95fr; padding-bottom: 88px; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem; padding: .3rem .9rem .3rem .3rem; border-radius: 999px; margin-bottom: 1.4rem;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #cbd5e1; font-size: .82rem; font-weight: 600; max-width: 100%;
}
.hero-badge b { background: var(--grad); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .06em; padding: .28rem .6rem; border-radius: 999px; flex: 0 0 auto; }
.hero-badge:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 6.6vw, 4.1rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; margin-bottom: 1.2rem; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .5s ease, transform .6s var(--ease); white-space: nowrap; }
.rotator > span.is-on { opacity: 1; transform: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-40%); }
.hero-lead { font-size: clamp(1rem, 2.2vw, 1.16rem); color: #a5b4cb; max-width: 570px; margin-bottom: 1.9rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
@media (max-width: 440px) { .hero-ctas .btn { width: 100%; } }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; font-size: .88rem; color: #94a3b8; }
.hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust i { color: #34d399; }

.hero-visual { position: relative; max-width: 540px; width: 100%; margin: 0 auto; perspective: 1200px; }
.mock {
  position: relative; z-index: 2; border-radius: 24px; padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .15);
  transform: rotateY(-8deg) rotateX(4deg); transition: transform .6s var(--ease);
}
.hero-visual:hover .mock { transform: rotateY(0) rotateX(0); }
@media (max-width: 979px) { .mock { transform: none; } }
.mock-top { display: flex; align-items: center; gap: .5rem; margin-bottom: 14px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot:nth-child(1) { background: #f87171; } .mock-dot:nth-child(2) { background: #fbbf24; } .mock-dot:nth-child(3) { background: #34d399; }
.mock-title { margin-left: auto; font-size: .75rem; color: #94a3b8; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpi { background: rgba(5, 10, 28, .55); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 10px 12px; }
.mock-kpi small { display: block; font-size: .68rem; color: #94a3b8; font-weight: 600; }
.mock-kpi b { color: #fff; font-size: 1.15rem; }
.mock-kpi .up { color: #34d399; font-size: .7rem; font-weight: 700; }
.mock-chart { background: rgba(5, 10, 28, .55); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px; }
.mock-chart-head { display: flex; justify-content: space-between; font-size: .72rem; color: #94a3b8; margin-bottom: 10px; font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.bars span { flex: 1; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #38bdf8, #2563eb); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.bars span:nth-child(2n) { background: linear-gradient(180deg, #a78bfa, #6d28d9); }
.bars span:nth-child(2) { animation-delay: .08s; } .bars span:nth-child(3) { animation-delay: .16s; } .bars span:nth-child(4) { animation-delay: .24s; }
.bars span:nth-child(5) { animation-delay: .32s; } .bars span:nth-child(6) { animation-delay: .4s; } .bars span:nth-child(7) { animation-delay: .48s; }
@keyframes grow { from { transform: scaleY(.08); } to { transform: scaleY(1); } }
.mock-feed { margin-top: 12px; display: grid; gap: 8px; }
.mock-row { display: flex; align-items: center; gap: 10px; background: rgba(5, 10, 28, .45); border-radius: 12px; padding: 8px 10px; font-size: .78rem; color: #cbd5e1; }
.mock-row .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; font-weight: 800; color: #fff; background: var(--grad); flex: 0 0 auto; }
.mock-row .tag { margin-left: auto; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(52, 211, 153, .15); color: #34d399; white-space: nowrap; }
.mock-row .tag.late { background: rgba(251, 191, 36, .15); color: #fbbf24; }

.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .6rem;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; padding: .6rem .85rem; box-shadow: var(--shadow-lg);
  font-size: .8rem; font-weight: 700; line-height: 1.2; animation: floaty 6s ease-in-out infinite;
}
.float-chip small { display: block; color: var(--muted); font-weight: 600; font-size: .7rem; }
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 1rem; flex: 0 0 auto; }
.chip-a { left: -14px; top: -24px; } .chip-a .ic { background: linear-gradient(135deg, #22c55e, #16a34a); }
.chip-b { right: -12px; bottom: 64px; animation-delay: -3s; } .chip-b .ic { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.hero-device {
  position: absolute; z-index: 4; width: 116px; height: 116px; left: -20px; bottom: -30px; border-radius: 22px; overflow: hidden;
  border: 4px solid rgba(255, 255, 255, .92); box-shadow: var(--shadow-lg); background: #fff; animation: floaty 7s ease-in-out infinite; animation-delay: -1.5s;
}
.hero-device img { width: 100%; height: 100%; object-fit: cover; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 520px) {
  .chip-a { left: 0; top: -30px; } .chip-b { right: 0; bottom: auto; top: 46%; }
  .hero-device { width: 84px; height: 84px; left: 6px; bottom: -26px; }
  .mock-kpi b { font-size: 1rem; }
}

/* trust marquee — bottom of the hero */
.marquee { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0 76px; overflow: hidden; }
.marquee-label { text-align: center; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #64748b; margin-bottom: 14px; }
.marquee-mask { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #e2e8f0; font-weight: 700; font-size: .86rem; }
.marquee-item i { color: #38bdf8; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* stats card overlapping the hero edge */
.overlap { position: relative; z-index: 5; margin-top: -52px; }
.stats-card {
  display: grid; grid-template-columns: repeat(2, 1fr); background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid #fff; border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat-cell { padding: 1.3rem 1.2rem; position: relative; }
.stat-cell:nth-child(2n)::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--line); }
.stat-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat-cell i { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; color: var(--blue); background: linear-gradient(135deg, #eaf1ff, #e0f7fb); margin-bottom: .6rem; font-size: 1.05rem; }
.stat-cell b { display: block; font-size: clamp(1.6rem, 4.6vw, 2.3rem); font-weight: 800; color: var(--ink); letter-spacing: -.035em; line-height: 1.1; }
.stat-cell span { color: var(--muted); font-size: .85rem; font-weight: 600; }
@media (min-width: 900px) {
  .stats-card { grid-template-columns: repeat(4, 1fr); }
  .stat-cell { padding: 1.7rem 1.8rem; }
  .stat-cell + .stat-cell::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--line); }
  .stat-cell:nth-child(n+3) { border-top: 0; }
}

/* ==========================================================================
   Services — bento
   ========================================================================== */
.bento { display: grid; gap: 1.1rem; }
@media (min-width: 640px) and (max-width: 1023px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .feature, .bento > :last-child:nth-child(even) { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento .feature { grid-column: span 2; grid-row: span 2; } .bento .feature h3 { font-size: 1.9rem; } .bento .feature .service-icon { width: 64px; height: 64px; font-size: 1.8rem; } }
.feature-visual { display: none; }
@media (min-width: 1024px) { .feature-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: .5rem 0 1.5rem; }
  .fv-cell { border-radius: 16px; padding: 1rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
  .fv-cell b { display: block; color: #fff; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.1; }
  .fv-cell small { color: #93c5fd; font-size: .78rem; font-weight: 600; } }
.service { padding: 1.7rem; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.service-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: var(--blue);
  background: linear-gradient(135deg, #eaf1ff, #e0f7fb); margin-bottom: 1.15rem; transition: transform .35s var(--ease);
}
.card-hover:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service h3 { font-size: 1.15rem; font-weight: 800; }
.service p { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; flex: 1; }
.service .num { position: absolute; right: 1.4rem; top: 1.3rem; font-size: .78rem; font-weight: 800; color: #cbd5e1; letter-spacing: .06em; z-index: 1; }
.service.feature {
  color: #cbd5e1; border: 0;
  background: radial-gradient(500px 260px at 100% 0%, rgba(34, 211, 238, .3), transparent 60%), linear-gradient(150deg, #1d4ed8, var(--navy-900) 70%);
}
.service.feature h3 { color: #fff; font-size: 1.5rem; }
.service.feature p { color: #bfdbfe; max-width: 520px; }
.service.feature .service-icon { color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.service.feature .link-arrow { color: #7dd3fc; }
.service.feature .num { color: rgba(255, 255, 255, .35); }
.service.feature::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .1), transparent 45%); }
.feature-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.feature-row span { font-size: .78rem; font-weight: 700; color: #e0f2fe; padding: .3rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }

/* ==========================================================================
   Products
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .86rem; transition: all .18s; box-shadow: var(--shadow-sm);
}
.chip b { font-size: .72rem; color: var(--muted); background: var(--bg); border-radius: 999px; padding: .05rem .45rem; }
.chip:hover { border-color: #a9c1f2; color: var(--blue); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active b { background: rgba(255, 255, 255, .15); color: #fff; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 6px; margin: 0 -16px; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chips-scroll .chip { flex: 0 0 auto; }
@media (min-width: 760px) { .chips-scroll { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }

.product { overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.product-media { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 40%, #fff, #eef2f9 72%); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.card-hover:hover .product-media img { transform: scale(1.07); }
.product-media .ph { font-size: 3rem; color: #94a3b8; }
.product-badge { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; background: var(--ink); color: #fff; }
.product-cat { position: absolute; right: 12px; top: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.product-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: .35rem; text-transform: capitalize; }
.product-body p { color: var(--muted); font-size: .87rem; margin-bottom: 1rem; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding-top: .9rem; border-top: 1px dashed var(--line); }
.price { font-weight: 800; color: var(--ink); font-size: 1.04rem; letter-spacing: -.01em; line-height: 1.2; }
.price small { display: block; font-size: .64rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.price.req { color: var(--muted); font-size: .86rem; }

.search { position: relative; flex: 1 1 280px; max-width: 440px; }
.search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  border: 1px solid #d5dde9; border-radius: 14px; padding: .85rem 1rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.search .input { padding-left: 2.75rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 2.4rem; }
.label { display: block; font-weight: 700; font-size: .85rem; color: var(--ink); margin-bottom: .4rem; }
.field { margin-bottom: 1rem; }
.form-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.result-count { color: var(--muted); font-size: .9rem; font-weight: 600; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty i { font-size: 2.4rem; display: block; margin-bottom: .5rem; color: #94a3b8; }

/* ==========================================================================
   Steps (dark island) with connecting line
   ========================================================================== */
.steps { position: relative; display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before { content: ""; position: absolute; top: 49px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, rgba(56, 189, 248, .5), rgba(167, 139, 250, .5), transparent); }
}
.step { position: relative; padding: 1.6rem 1.4rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .3s var(--ease), border-color .3s; }
.step:hover { background: rgba(255, 255, 255, .07); border-color: rgba(125, 211, 252, .3); transform: translateY(-4px); }
.step-num { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.1rem;
  font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 0 0 6px rgba(37, 99, 235, .18), 0 12px 24px -10px rgba(37, 99, 235, .9); }
.step .step-ic { position: absolute; right: 1.3rem; top: 1.6rem; font-size: 1.5rem; color: rgba(148, 163, 184, .45); }
.step h3 { font-size: 1.1rem; }
.step p { color: #94a3b8; font-size: .92rem; margin: 0; }

/* ==========================================================================
   About / why
   ========================================================================== */
.why { display: grid; gap: 2.75rem; align-items: center; }
@media (min-width: 980px) { .why { grid-template-columns: .95fr 1.05fr; } }
.why h2 { font-size: clamp(1.85rem, 4.4vw, 2.8rem); font-weight: 800; }
.why-list { display: grid; gap: 1rem; }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; } .why-list > :nth-child(2n) { margin-top: 28px; margin-bottom: -28px; } }
.why-item { padding: 1.4rem; }
.why-item .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: var(--grad); margin-bottom: .9rem; box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .9); }
.why-item h4 { font-size: 1.02rem; margin-bottom: .25rem; }
.why-item p { color: var(--muted); font-size: .9rem; margin: 0; }
.about-text { color: var(--text); font-size: 1.04rem; }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 1.9rem; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: .95rem; }
.checks i { color: var(--green); margin-top: .1rem; }

/* ==========================================================================
   Carousel / testimonials
   ========================================================================== */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 2px 20px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
@media (min-width: 640px) { .carousel-track { grid-auto-columns: calc((100% - 1.1rem) / 2); } }
@media (min-width: 1024px) { .carousel-track { grid-auto-columns: calc((100% - 2.2rem) / 3); } }
.carousel-foot { display: flex; align-items: center; gap: 1rem; margin-top: .4rem; }
.carousel-dots { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.carousel-dots span { height: 6px; width: 6px; border-radius: 6px; background: #cbd5e1; transition: width .3s, background .3s; }
.carousel-dots span.is-on { width: 26px; background: var(--blue); }
.carousel-nav { display: flex; gap: .5rem; }
.carousel-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 1.05rem; transition: background .15s, color .15s; box-shadow: var(--shadow-sm); }
.carousel-btn:hover { background: var(--ink); color: #fff; }

.quote { padding: 1.7rem; height: 100%; display: flex; flex-direction: column; margin: 0; }
.quote-mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: var(--grad); margin-bottom: 1rem; }
.quote p { color: var(--text); font-size: .95rem; flex: 1; }
.quote-who { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.quote-who img, .quote-who .av { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--bg); border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.quote-who .av { display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); }
.quote-who b { display: block; color: var(--ink); font-size: .92rem; line-height: 1.25; }
.stars { color: var(--amber); font-size: .8rem; letter-spacing: 2px; }

/* ==========================================================================
   Coverage (districts)
   ========================================================================== */
.coverage { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 980px) { .coverage { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; } }
.coverage h2 { font-size: clamp(1.85rem, 4.4vw, 2.8rem); font-weight: 800; }
.coverage-form { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.coverage-form .select { flex: 1 1 200px; border-radius: 999px; }
.dist-bars { padding: 1.5rem; display: grid; gap: .8rem; }
.dist-row { display: grid; grid-template-columns: 104px 1fr 40px; gap: .8rem; align-items: center; font-size: .88rem; color: var(--ink); font-weight: 700; }
.dist-row:hover { color: var(--blue); }
.dist-track { height: 10px; border-radius: 10px; background: var(--bg); overflow: hidden; }
.dist-track span { display: block; height: 100%; border-radius: 10px; background: var(--grad); width: 0; transition: width 1.3s var(--ease); }
.is-in .dist-track span { width: var(--w); }
.dist-row b { text-align: right; color: var(--muted); font-size: .82rem; }
.dist-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .3rem; gap: 1rem; }
.dist-head b { color: var(--ink); }
.dist-head small { color: var(--muted); font-weight: 600; }

.district-chips { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; }
.dchip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .55rem .5rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .86rem; color: var(--ink); transition: all .15s ease; cursor: pointer; }
.dchip b { background: var(--bg); color: var(--blue); border-radius: 999px; padding: .12rem .55rem; font-size: .76rem; }
.dchip:hover { border-color: var(--blue); color: var(--blue); }
.dchip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.dchip.is-active b { background: rgba(255, 255, 255, .18); color: #fff; }
@media (max-width: 759px) { .cx-chips { display: none; } }

.client { padding: 1.15rem 1.2rem; display: flex; gap: .9rem; align-items: flex-start; height: 100%; }
.client .av { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: var(--blue); background: linear-gradient(135deg, #eaf1ff, #e0f7fb); font-size: .95rem; }
.client h3 { font-size: .98rem; margin-bottom: .3rem; text-transform: capitalize; }
.client .meta { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 700; color: var(--blue); background: #eef4ff; border-radius: 999px; padding: .12rem .6rem; margin-bottom: .45rem; }
.client p { margin: 0; font-size: .86rem; color: var(--muted); }

.pager { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.25rem; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 .8rem; display: inline-grid; place-items: center; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager .gap { border: 0; background: none; min-width: 20px; }

/* ==========================================================================
   Videos, news, team, documents
   ========================================================================== */
.video { overflow: hidden; height: 100%; display: flex; flex-direction: column; color: inherit; }
.video:hover { color: inherit; }
.video-thumb { position: relative; aspect-ratio: 16 / 10; background: var(--navy-800); overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 10, 28, .55)); }
.video:hover .video-thumb img { transform: scale(1.06); }
.play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.play span { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: #ef4444; font-size: 1.7rem; box-shadow: 0 0 0 8px rgba(255, 255, 255, .2), 0 10px 30px rgba(0, 0, 0, .35); transition: transform .25s var(--ease); }
.video:hover .play span { transform: scale(1.12); }
.video-body { padding: 1.1rem 1.2rem 1.3rem; }
.video-body h3 { font-size: .98rem; margin-bottom: .35rem; }
.video-body p { font-size: .86rem; color: var(--muted); margin: 0; }

.news-grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
.news-card { padding: 1rem; overflow: hidden; }
.news-card .twitter-tweet { margin: 0 auto !important; }
.news-link { display: flex; gap: .9rem; align-items: center; padding: 1.25rem; color: inherit; }
.news-link i { font-size: 1.6rem; color: var(--ink); }

.team { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member { overflow: hidden; text-align: center; }
.member-photo { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #eaf1ff, #e0f7fb); overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .5s var(--ease); }
.member-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(37, 99, 235, .25)); opacity: 0; transition: opacity .3s; }
.card-hover:hover .member-photo img { transform: scale(1.06); }
.card-hover:hover .member-photo::after { opacity: 1; }
.member-body { padding: .95rem .75rem 1.15rem; }
.member-body h3 { font-size: .95rem; margin-bottom: .25rem; text-transform: capitalize; }
.member-body span { display: block; font-size: .72rem; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.4; }

.doc { padding: 1.4rem; display: flex; flex-direction: column; height: 100%; color: inherit; }
.doc:hover { color: inherit; }
.doc-top { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.doc-icon { width: 48px; height: 58px; border-radius: 10px 18px 10px 10px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; flex: 0 0 auto; background: linear-gradient(135deg, #ef4444, #b91c1c); box-shadow: 0 10px 18px -10px rgba(185, 28, 28, .8); }
.doc-icon.img { background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 10px 18px -10px rgba(21, 128, 61, .8); }
.doc-type { font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.doc h3 { font-size: .98rem; line-height: 1.45; flex: 1; }
.doc p { color: var(--muted); font-size: .88rem; }
.doc-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .6rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #bcd0f6; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; font-weight: 700; color: var(--ink); font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { margin-left: auto; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--blue); transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq .faq-a { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; color: #a5b4cb; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: radial-gradient(1000px 500px at 85% -20%, rgba(37, 99, 235, .38), transparent 60%),
              radial-gradient(700px 400px at -10% 120%, rgba(6, 182, 212, .2), transparent 60%), var(--navy-900);
  padding: calc(var(--header-h) + 36px) 0 96px;
}
.page-hero-inner { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .page-hero { padding: calc(var(--header-h) + 64px) 0 120px; } .page-hero-inner { grid-template-columns: 1fr auto; } }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5.6vw, 3.3rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: .7rem; }
.page-hero p { max-width: 680px; font-size: 1.06rem; margin: 0; }
.page-hero-art {
  display: none; width: 180px; height: 180px; border-radius: 46px; place-items: center; font-size: 4.6rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .2); animation: floaty 7s ease-in-out infinite;
}
.page-hero-art i { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 900px) { .page-hero-art { display: grid; } }
.crumbs { display: flex; align-items: center; gap: .45rem; font-size: .82rem; margin-bottom: 1.1rem; color: #94a3b8; }
.crumbs a { color: #cbd5e1; display: inline-flex; gap: .3rem; align-items: center; }
.crumbs a:hover { color: #fff; }
.crumbs > i { font-size: .65rem; }
/* inner pages: first block rises over the hero edge */
.page-body { position: relative; z-index: 2; margin-top: -56px; padding-bottom: 40px; }
.panel { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 1rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .panel { padding: 1.25rem 1.5rem; } }
.panel .toolbar { margin-bottom: 0; align-items: center; }
.panel .chips { margin-top: 1rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { padding: 1.2rem 1.3rem; display: flex; gap: 1rem; align-items: center; color: inherit; }
.contact-card:hover { color: inherit; }
.contact-card .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.25rem; color: #fff; background: var(--grad); flex: 0 0 auto; }
.contact-card .ic.wa { background: linear-gradient(135deg, #22c55e, #15803d); }
.contact-card small { display: block; font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-card b { color: var(--ink); font-size: 1rem; word-break: break-word; }
.contact-card .go { margin-left: auto; color: #94a3b8; transition: transform .2s, color .2s; }
.contact-card:hover .go { color: var(--blue); transform: translate(2px, -2px); }
.form-card { padding: 1.5rem; }
@media (min-width: 640px) { .form-card { padding: 2.2rem; } }
.map { border: 0; width: 100%; height: 280px; border-radius: var(--radius); display: block; box-shadow: var(--shadow-sm); background: #e8eef8; }

.alert { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 16px; margin-bottom: 1.25rem; font-weight: 600; font-size: .93rem; }
.alert i { font-size: 1.15rem; }
.alert-ok { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.alert-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.dialog { border: 0; padding: 0; border-radius: 24px; width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: var(--shadow-lg); color: var(--text); }
.dialog[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.dialog::backdrop { background: rgba(5, 10, 28, .6); backdrop-filter: blur(5px); }
.dialog-head { display: flex; gap: .9rem; align-items: center; padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #f8faff, #fff); }
.dialog-head img { width: 58px; height: 58px; border-radius: 14px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 4px; }
.dialog-head h3 { font-size: 1.05rem; margin: 0; text-transform: capitalize; }
.dialog-head small { color: var(--blue); font-weight: 700; }
.dialog-close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; flex: 0 0 auto; }
.dialog-body { padding: 1.3rem 1.4rem 1.5rem; }
.dialog-note { font-size: .82rem; color: var(--muted); margin: .7rem 0 0; display: flex; gap: .4rem; }

.prose { max-width: 840px; margin: 0 auto; padding: 1.5rem; }
@media (min-width: 640px) { .prose { padding: 2.75rem 3.25rem; } }
.prose h2 { font-size: 1.25rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose .meta { color: var(--muted); font-size: .9rem; }

/* ==========================================================================
   Footer — CTA card overlaps its top edge so the page flows into it
   ========================================================================== */
.site-footer {
  position: relative; color: #94a3b8; overflow: hidden;
  background: linear-gradient(180deg, transparent 0, transparent 120px, var(--navy-950) 120px);
  margin-top: 48px;
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 120px; bottom: 0; pointer-events: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: radial-gradient(800px 400px at 15% 0%, rgba(37, 99, 235, .2), transparent 60%), radial-gradient(600px 400px at 100% 100%, rgba(124, 58, 237, .14), transparent 60%); }
.footer-cta {
  position: relative; overflow: hidden; z-index: 2; border-radius: 30px; padding: 2.2rem 1.5rem; color: #dbeafe;
  background: radial-gradient(600px 300px at 95% 0%, rgba(34, 211, 238, .4), transparent 60%), linear-gradient(135deg, #1d4ed8, #0a1330 72%);
  box-shadow: 0 40px 80px -30px rgba(29, 78, 216, .6), inset 0 1px 0 rgba(255, 255, 255, .15); display: grid; gap: 1.5rem; align-items: center;
}
.footer-cta-text { position: relative; }
.footer-cta h2 { color: #fff; font-size: clamp(1.6rem, 4.4vw, 2.4rem); font-weight: 800; margin-bottom: .4rem; }
.footer-cta p { color: #bfdbfe; margin: 0; max-width: 560px; }
.footer-cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 440px) { .footer-cta-actions .btn { width: 100%; } }
@media (min-width: 900px) { .footer-cta { grid-template-columns: 1fr auto; padding: 3rem 3.25rem; } }

.footer-grid { position: relative; display: grid; gap: 2.2rem; padding-top: 64px; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.25fr .75fr 1.1fr 1.35fr; } }
.site-footer h4 { color: #fff; font-size: .92rem; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: #cbd5e1; font-size: .92rem; transition: color .15s, padding .15s; }
.site-footer ul a:hover { color: #fff; padding-left: 3px; }
.footer-brand p { margin: 1rem 0 1.25rem; font-size: .92rem; max-width: 360px; }
.app-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1rem; border-radius: 14px; background: #000; border: 1px solid rgba(255, 255, 255, .2); color: #fff !important; margin-bottom: 1.25rem; }
.app-badge i { font-size: 1.4rem; color: #34d399; }
.app-badge span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 1rem; }
.app-badge small { font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #cbd5e1; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); font-size: 1.05rem; transition: all .2s; }
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.footer-contact i { color: #38bdf8; margin-top: .15rem; }
.footer-contact a, .footer-contact span { overflow-wrap: anywhere; min-width: 0; }
.footer-watermark {
  position: relative; text-align: center; font-weight: 800; letter-spacing: -.05em; line-height: .85; white-space: nowrap; user-select: none;
  font-size: clamp(2rem, 7.6vw, 8.4rem); color: transparent; -webkit-text-stroke: 1px rgba(148, 163, 184, .16);
  background: linear-gradient(180deg, rgba(148, 163, 184, .14), transparent 85%); -webkit-background-clip: text; background-clip: text; overflow: hidden;
}
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 1.25rem; padding-bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .84rem; }

/* ==========================================================================
   Floating actions + phone bottom bar
   ========================================================================== */
.wa-float {
  position: fixed; z-index: 90; right: 18px; bottom: 18px; display: none; align-items: center; gap: .5rem;
  background: #22c55e; color: #fff; border-radius: 999px; padding: .75rem 1.15rem .75rem .9rem; font-weight: 700; font-size: .9rem;
  box-shadow: 0 16px 32px -12px rgba(22, 163, 74, .9);
}
.wa-float i { font-size: 1.4rem; line-height: 1; }
.wa-float:hover { color: #fff; background: #16a34a; }
.to-top {
  position: fixed; z-index: 90; right: 18px; bottom: 84px; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 1.1rem; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: all .25s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.bottom-bar {
  position: fixed; z-index: 130; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: 64px; padding: 0 6px 9px;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(226, 232, 240, .9); border-radius: 22px; box-shadow: 0 18px 40px -16px rgba(5, 10, 28, .45);
  transition: transform .35s var(--ease);
}
.bottom-bar.is-hidden { transform: translateY(140%); }
.bottom-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); font-size: .66rem; font-weight: 700; }
.bottom-bar a i { font-size: 1.2rem; line-height: 1; }
.bottom-bar a.is-active { color: var(--blue); }
.bottom-bar .bb-fab { width: 52px; height: 52px; margin-top: -24px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-size: 1.3rem; background: var(--grad); box-shadow: 0 12px 24px -8px rgba(37, 99, 235, .9), 0 0 0 5px #fff; }
.bottom-bar .bb-main { color: var(--ink); }
body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) {
  .bottom-bar { display: none; }
  body { padding-bottom: 0; }
  .wa-float { display: inline-flex; }
}
@media (max-width: 759px) { .to-top { bottom: calc(88px + env(safe-area-inset-bottom)); right: 14px; } }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; } .js .reveal-d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* footer link colour must not override buttons */
.site-footer .btn-white { color: var(--navy-900); }
.site-footer .btn-white:hover { color: var(--blue); }
.site-footer .btn-whatsapp, .site-footer .btn-whatsapp:hover { color: #fff; }
.footer-contact li { font-size: .9rem; }
