/* =====================================================================
   PULSELYNK — Public website stylesheet
   Brand: Electric blue (#0A6CFF) + Teal (#00D3C2) on deep navy
   ===================================================================== */

/* ---------- Design tokens ------------------------------------------- */
:root {
  --blue-50:  #EAF2FF;
  --blue-100: #D3E3FF;
  --blue-200: #A9C7FF;
  --blue-500: #0A6CFF;
  --blue-600: #085AD9;
  --blue-700: #0747AD;

  --teal-50:  #E6FBF9;
  --teal-100: #C2F5EF;
  --teal-300: #66EADF;
  --teal-400: #2EE6D6;
  --teal-500: #00D3C2;
  --teal-600: #00B4A6;
  --teal-700: #008F84;

  --navy-600: #16306B;
  --navy-700: #0E2150;
  --navy-800: #0A1838;
  --navy-900: #060F27;
  --navy-950: #030816;

  --ink:     #0F1B33;
  --text:    #1E2A44;
  --muted:   #5A6A88;
  --faint:   #8B98B3;
  --border:  #E4EAF5;
  --border-strong: #CBD5E8;
  --bg:      #F5F8FE;
  --bg-2:    #EDF2FB;
  --surface: #FFFFFF;

  --success: #12B76A;
  --success-bg: #E8F8F0;
  --warning: #F79009;
  --warning-bg: #FFF4E5;
  --danger:  #E5484D;
  --danger-bg: #FDECEC;

  --grad-brand: linear-gradient(135deg, #0A6CFF 0%, #00D3C2 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(10,108,255,.12), rgba(0,211,194,.12));
  --grad-hero: radial-gradient(1200px 600px at 10% -10%, rgba(10,108,255,.45), transparent 60%),
               radial-gradient(900px 500px at 100% 110%, rgba(0,211,194,.35), transparent 60%),
               linear-gradient(180deg, #0A1838 0%, #060F27 100%);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(15,27,51,.06), 0 1px 3px rgba(15,27,51,.08);
  --shadow-md: 0 8px 24px -8px rgba(15,27,51,.18), 0 2px 6px rgba(15,27,51,.06);
  --shadow-lg: 0 24px 60px -20px rgba(15,27,51,.30), 0 8px 20px -10px rgba(15,27,51,.12);
  --shadow-glow-blue: 0 12px 40px -10px rgba(10,108,255,.55);
  --shadow-glow-teal: 0 12px 40px -10px rgba(0,211,194,.55);

  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- Reset / base ------------------------------------------- */
*,*::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.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1,h2,h3,h4,h5 { margin: 0 0 .5em; color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 700; color: var(--ink); }
small { font-size: .875em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--bg-2); padding: .1em .4em; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(10,108,255,.45); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Layout --------------------------------------------------- */
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy-900); color: rgba(255,255,255,.8); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p.lead { font-size: 1.125rem; color: var(--muted); margin: 0; }
.section-dark .section-head p.lead { color: rgba(255,255,255,.7); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--grad-brand); }
.section-dark .eyebrow { color: var(--teal-400); }

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

.text-center { text-align: center; }
.muted { color: var(--muted); }
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mt-6{margin-top:3rem}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-1{gap:.5rem}.gap-2{gap:1rem}.gap-3{gap:1.5rem} .wrap{flex-wrap:wrap}

/* ---------- Buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  cursor: pointer; text-decoration: none;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--blue-500); color: #fff; box-shadow: var(--shadow-glow-blue); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-accent { background: var(--teal-500); color: var(--navy-900); box-shadow: var(--shadow-glow-teal); }
.btn-accent:hover { background: var(--teal-400); color: var(--navy-900); }
.btn-gradient { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow-blue); }
.btn-gradient:hover { color: #fff; filter: brightness(1.06); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn-white { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-md); }
.btn-white:hover { color: var(--blue-600); }
.btn-ghost { background: transparent; color: var(--blue-600); padding-inline: .6rem; }
.btn-ghost:hover { background: var(--blue-50); transform: none; }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 12px 30px -10px rgba(37,211,102,.6); }
.btn-whatsapp:hover { background: #1FBE5A; color: #fff; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }

/* ---------- Badges / pills ------------------------------------------ */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em;
  background: var(--blue-50); color: var(--blue-700);
}
.badge .icon { width: .9em; height: .9em; }
.badge-teal { background: var(--teal-50); color: var(--teal-700); }
.badge-success { background: var(--success-bg); color: #0B7A45; }
.badge-warning { background: var(--warning-bg); color: #B25E00; }
.badge-danger { background: var(--danger-bg); color: #B42328; }
.badge-dark { background: rgba(255,255,255,.12); color: #fff; }
.badge-gradient { background: var(--grad-brand); color: #fff; }

.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.9); font-size: .875rem; font-weight: 600;
}
.pill .icon { color: var(--teal-400); width: 1em; height: 1em; }

/* ---------- Top bar -------------------------------------------------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.8); font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 1rem; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--teal-400); }
.topbar .icon { width: 1em; height: 1em; color: var(--teal-400); }
.topbar-left, .topbar-right { display: flex; gap: 1.25rem; align-items: center; }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(18,183,106,.25); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{ box-shadow: 0 0 0 3px rgba(18,183,106,.3);} 50%{ box-shadow: 0 0 0 7px rgba(18,183,106,0);} }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- Header --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px -14px rgba(15,27,51,.25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-word b { color: var(--ink); font-weight: 800; }
.logo-word span { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.logo.on-dark .logo-word b { color: #fff; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  display: inline-flex; align-items: center; padding: .55rem .85rem; border-radius: 999px;
  color: var(--text); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--blue-50); color: var(--blue-600); }
.nav a.is-active { color: var(--blue-600); background: var(--blue-50); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; color: var(--ink); border-radius: 8px; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-menu { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1024px) {
  .nav a { padding-inline: .6rem; font-size: .9rem; }
  .header-actions .btn-outline { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn:not(.btn-header-apply) { display: none !important; }
  .header-actions .btn-header-apply {
    display: inline-flex !important;
    padding: .48rem .85rem;
    font-size: .8rem;
    font-weight: 800;
    border-radius: 999px;
  }
  .header-actions .btn-header-apply .btn-text-full { display: none; }
  .header-actions .btn-header-apply .btn-text-mobile { display: inline; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: .25rem;
    background: #fff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 60px -20px rgba(15,27,51,.35);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform .25s var(--ease), opacity .2s;
    max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  body.nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .85rem 1rem; border-radius: 12px; font-size: 1.05rem; }
  .nav .nav-cta { margin-top: .75rem; display: grid; gap: .5rem; }
  .nav .nav-cta .btn { display: inline-flex; width: 100%; }
}
@media (min-width: 861px) {
  .nav .nav-cta { display: none; }
  .header-actions .btn-header-apply .btn-text-full { display: inline; }
  .header-actions .btn-header-apply .btn-text-mobile { display: none; }
}

/* ---------- Hero ----------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad-hero);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  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: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-pulse { position: absolute; left: 0; right: 0; bottom: -2px; z-index: -1; width: 100%; height: auto; opacity: .6; pointer-events: none; }
.hero-pulse path { stroke-dasharray: 1800; stroke-dashoffset: 1800; animation: draw 6s linear infinite; }
@keyframes draw { to { stroke-dashoffset: -1800; } }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 .accent { background: linear-gradient(90deg, #66EADF, #2EE6D6 40%, #7FB4FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 2rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem .4rem .5rem; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .82rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero-eyebrow .tag { background: var(--teal-500); color: var(--navy-900); border-radius: 999px; padding: .15rem .6rem; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(18,183,106,.25); animation: pulse-dot 2s infinite; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.25rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; color: rgba(255,255,255,.75); font-size: .9rem; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust .icon { color: var(--teal-400); width: 1.15em; height: 1.15em; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- Coverage checker card ----------------------------------- */
.coverage-card {
  background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.4) inset; position: relative;
}
.coverage-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: linear-gradient(135deg, rgba(0,211,194,.8), rgba(10,108,255,.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.coverage-card h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .25rem; }
.coverage-card h3 .icon { color: var(--blue-500); width: 1.4em; height: 1.4em; }
.coverage-card .hint { color: var(--muted); font-size: .92rem; margin-bottom: 1.1rem; }

.typeahead { position: relative; }
.typeahead .input-wrap { position: relative; }
.typeahead .input-wrap .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--faint); width: 1.25rem; height: 1.25rem; pointer-events: none; }
.typeahead input { padding-left: 2.9rem; }
.typeahead .spinner { position: absolute; right: 1rem; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--border-strong); border-top-color: var(--blue-500); border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.typeahead.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.typeahead-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  max-height: 300px; overflow: auto; padding: .4rem; display: none;
}
.typeahead.is-open .typeahead-list { display: block; }
.typeahead-item {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; text-align: left;
  padding: .7rem .8rem; border-radius: 10px; border: 0; background: none; color: var(--text); cursor: pointer;
}
.typeahead-item:hover, .typeahead-item.is-active { background: var(--blue-50); }
.typeahead-item .name { font-weight: 700; color: var(--ink); display: block; }
.typeahead-item .meta { font-size: .8rem; color: var(--muted); display: block; }
.typeahead-empty { padding: .9rem .8rem; color: var(--muted); font-size: .9rem; }
.typeahead-empty button { color: var(--blue-600); background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; }

.coverage-result { display: none; margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius); border: 1px solid var(--border); animation: fadeUp .35s var(--ease); }
.coverage-result.is-visible { display: block; }
.coverage-result.live { background: var(--success-bg); border-color: #BFEBD4; }
.coverage-result.soon { background: var(--warning-bg); border-color: #FFDDB0; }
.coverage-result.none { background: var(--bg); }
.coverage-result .title { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--ink); margin-bottom: .25rem; }
.coverage-result.live .title .icon { color: var(--success); }
.coverage-result.soon .title .icon { color: var(--warning); }
.coverage-result p { font-size: .92rem; color: var(--muted); margin-bottom: .75rem; }
.coverage-result .actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.popular-areas { margin-top: 1.1rem; font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.popular-areas button { background: var(--bg-2); border: 0; padding: .3rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--text); cursor: pointer; }
.popular-areas button:hover { background: var(--blue-100); color: var(--blue-700); }

/* ---------- Stats strip --------------------------------------------- */
.stats { background: var(--navy-950); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.75rem 1.5rem; text-align: center; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: 0; }
.stat .value { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; background: linear-gradient(90deg, #fff, #A9C7FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: rgba(255,255,255,.6); font-size: .85rem; font-weight: 600; margin-top: .15rem; }
@media (max-width: 760px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 1rem; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,.08); }
}

/* ---------- Cards ---------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.card-static:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--border); }
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 1.1rem; }
.icon-box .icon { width: 26px; height: 26px; }
.icon-box.teal { background: var(--teal-50); color: var(--teal-700); }
.icon-box.grad { background: var(--grad-brand); color: #fff; }
.icon-box.lg { width: 64px; height: 64px; border-radius: 18px; } .icon-box.lg .icon { width: 30px; height: 30px; }
.feature h3 { margin-bottom: .4rem; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Package cards ------------------------------------------- */
.packages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch; }
@media (max-width: 1100px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .packages-grid { grid-template-columns: 1fr; } }

.pkg {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pkg.is-featured { border-color: transparent; background: linear-gradient(#fff,#fff) padding-box, var(--grad-brand) border-box; border: 2px solid transparent; box-shadow: var(--shadow-lg); }
.pkg .pkg-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.pkg-name { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin: 0 0 .15rem; }
.pkg-tagline { color: var(--muted); font-size: .88rem; min-height: 2.6em; margin-bottom: 1.1rem; }
.pkg-speed { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .25rem; }
.pkg-speed .num { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pkg-speed .unit { font-weight: 700; color: var(--muted); }
.pkg-updown { display: flex; gap: .9rem; font-size: .8rem; color: var(--muted); margin-bottom: 1.25rem; }
.pkg-updown span { display: inline-flex; align-items: center; gap: .3rem; }
.pkg-updown .icon { width: .95em; height: .95em; color: var(--teal-600); }
.pkg-price { display: flex; align-items: baseline; gap: .3rem; padding: 1rem 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); margin-bottom: 1.25rem; }
.pkg-price .cur { font-size: .9rem; font-weight: 700; color: var(--muted); }
.pkg-price .amt { font-size: 1.9rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.pkg-price .per { font-size: .85rem; color: var(--muted); }
.pkg-features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; font-size: .92rem; flex: 1; }
.pkg-features li { display: flex; gap: .55rem; align-items: flex-start; color: var(--text); }
.pkg-features .icon { color: var(--teal-600); margin-top: .15em; width: 1.05em; height: 1.05em; }
.pkg-ideal { font-size: .8rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; margin-bottom: 1rem; }
.pkg-ideal .icon { width: 1em; height: 1em; color: var(--blue-500); }
.pkg .btn { margin-top: auto; }

/* ---------- Comparison table ---------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: center; border-bottom: 1px solid var(--border); font-size: .95rem; }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.compare thead th { background: var(--bg); font-weight: 800; color: var(--ink); }
.compare thead th.featured { background: var(--blue-50); color: var(--blue-700); }
.compare tbody td.featured { background: rgba(10,108,255,.04); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .icon { display: inline-block; vertical-align: middle; }
.compare .yes { color: var(--success); } .compare .no { color: var(--faint); }

/* ---------- Steps ---------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--blue-200), var(--teal-300)); }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step .num { width: 68px; height: 68px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--blue-100); color: var(--blue-600); font-weight: 800; font-size: 1.35rem; box-shadow: 0 0 0 8px var(--surface); position: relative; }
.section-alt .step .num { box-shadow: 0 0 0 8px var(--bg); }
.step .num .icon { width: 28px; height: 28px; }
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Detailed steps (How it works page) */
.step-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 3rem 0; border-bottom: 1px solid var(--border); }
.step-row:last-child { border-bottom: 0; }
.step-row:nth-child(even) .step-media { order: -1; }
.step-row .step-kicker { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--blue-600); margin-bottom: .75rem; }
.step-row .step-kicker .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-size: .95rem; }
.step-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--bg-2); }
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--teal-600); margin-top: .2em; }
@media (max-width: 860px) { .step-row { grid-template-columns: 1fr; gap: 1.5rem; } .step-row:nth-child(even) .step-media { order: 0; } }

/* ---------- Split / media sections ---------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; background: var(--bg-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .float-card { position: absolute; left: 1.25rem; bottom: 1.25rem; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-radius: var(--radius); padding: .9rem 1.1rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .8rem; max-width: 300px; }
.split-media .float-card .icon-box { margin: 0; width: 42px; height: 42px; border-radius: 12px; }
.split-media .float-card b { display: block; color: var(--ink); font-size: .95rem; }
.split-media .float-card small { color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Areas / coverage --------------------------------------- */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.area-chip { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink); font-weight: 700; transition: border-color .2s, transform .2s, box-shadow .2s; }
.area-chip:hover { border-color: var(--blue-200); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--blue-700); }
.area-chip small { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; }
.area-chip .icon { color: var(--teal-600); }
@media (max-width: 1000px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .area-grid { grid-template-columns: repeat(2, 1fr); } }

.building-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.building { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.building .name { font-weight: 700; color: var(--ink); }
.building .meta { font-size: .85rem; color: var(--muted); }
.area-block { margin-bottom: 2.25rem; scroll-margin-top: 100px; }
.area-block h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; margin-bottom: .9rem; }
.area-block h3 .icon { color: var(--blue-500); }
.area-block h3 .count { font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--bg-2); border-radius: 999px; padding: .15rem .6rem; }
.area-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.area-nav a { padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: .85rem; font-weight: 600; color: var(--text); }
.area-nav a:hover { border-color: var(--blue-300, var(--blue-200)); color: var(--blue-600); }

/* ---------- Testimonials ------------------------------------------- */
.testimonial { display: flex; flex-direction: column; height: 100%; }
.testimonial .stars { display: flex; gap: .15rem; color: #F5B301; margin-bottom: .9rem; }
.testimonial .stars .icon { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 1.25rem; font-size: 1rem; color: var(--text); flex: 1; }
.testimonial blockquote::before { content: "\201C"; color: var(--blue-200); font-size: 2.5rem; line-height: 0; vertical-align: -.5em; margin-right: .1em; font-family: Georgia, serif; }
.testimonial .who { display: flex; align-items: center; gap: .75rem; }
.testimonial .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-brand); font-size: .95rem; }
.testimonial .who b { display: block; color: var(--ink); font-size: .95rem; }
.testimonial .who small { color: var(--muted); }

/* ---------- FAQ (details/summary) ---------------------------------- */
.faq { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; margin-bottom: .75rem; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue-500); transition: transform .25s var(--ease); }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq[open] summary { border-bottom: 1px solid var(--border); }
.faq .faq-body { padding: 1rem 1.25rem 1.25rem; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- CTA band ------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(2.5rem, 5vw, 4rem); background: var(--grad-hero); color: #fff; text-align: center; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 50% 120%, rgba(0,211,194,.35), transparent 70%); }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 1.75rem; font-size: 1.05rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- Page hero (inner pages) -------------------------------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-hero); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; 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: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 80%); }
.page-hero h1 { color: #fff; margin-bottom: .75rem; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero .eyebrow { color: var(--teal-400); }
.page-hero .breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.75); }
.page-hero .breadcrumb .icon { width: .9em; height: .9em; }
.page-hero.center { text-align: center; }
.page-hero.center .lead, .page-hero.center .breadcrumb { margin-inline: auto; justify-content: center; }

/* ---------- Forms ---------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form-section { padding: 1.75rem; border-bottom: 1px solid var(--border); }
.form-section:last-child { border-bottom: 0; }
.form-section-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; }
.form-section-head .n { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-weight: 800; font-size: .9rem; }
.form-section-head h3 { margin: 0; font-size: 1.1rem; }
.form-section-head p { margin: 0; font-size: .875rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field label .opt { font-weight: 500; color: var(--faint); font-size: .8rem; margin-left: .25rem; }
.field .help { font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=number], .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--border-strong); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6A88' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(10,108,255,.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.field-error { display: flex; align-items: center; gap: .35rem; color: var(--danger); font-size: .82rem; font-weight: 600; margin-top: .4rem; }
.field-error .icon { width: 1em; height: 1em; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; font-size: .9rem; pointer-events: none; }
.input-prefix input { padding-left: 3.4rem; }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--blue-500); flex: none; }
.check a { font-weight: 600; }

/* Segmented control */
.segmented { display: inline-flex; background: var(--bg-2); border-radius: 999px; padding: 4px; gap: 4px; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; font-weight: 700; font-size: .875rem; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.segmented input:checked + span { background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid rgba(10,108,255,.45); }

/* Choice cards (package radio) */
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box { border: 1.5px solid var(--border-strong); border-radius: var(--radius); padding: 1rem 1.1rem; background: #fff; transition: border-color .2s, box-shadow .2s, background .2s; height: 100%; }
.choice .box .top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.choice .box .name { font-weight: 800; color: var(--ink); }
.choice .box .speed { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--blue-600); }
.choice .box .speed small { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.choice .box .price { font-weight: 700; color: var(--ink); font-size: .95rem; }
.choice .box .price small { font-weight: 500; color: var(--muted); }
.choice .box .ideal { font-size: .78rem; color: var(--muted); margin-top: .35rem; }
.choice .box .tick { position: absolute; top: .85rem; right: .85rem; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; color: #fff; background: #fff; transition: all .2s; }
.choice .box .tick .icon { width: 13px; height: 13px; opacity: 0; }
.choice:hover .box { border-color: var(--blue-200); }
.choice input:checked + .box { border-color: var(--blue-500); background: var(--blue-50); box-shadow: 0 0 0 4px rgba(10,108,255,.12); }
.choice input:checked + .box .tick { background: var(--blue-500); border-color: var(--blue-500); }
.choice input:checked + .box .tick .icon { opacity: 1; }
.choice input:focus-visible + .box { outline: 3px solid rgba(10,108,255,.45); outline-offset: 2px; }

/* Selected apartment chip */
.selected-apt { display: none; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .75rem; padding: .8rem 1rem; border-radius: 12px; background: var(--success-bg); border: 1px solid #BFEBD4; }
.selected-apt.is-visible { display: flex; }
.selected-apt .icon { color: var(--success); }
.selected-apt b { color: var(--ink); display: block; font-size: .95rem; }
.selected-apt small { color: var(--muted); }
.selected-apt button { background: none; border: 0; color: var(--blue-600); font-weight: 700; font-size: .85rem; text-decoration: underline; }

/* Alerts */
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--radius); border: 1px solid; font-size: .95rem; margin-bottom: 1.5rem; }
.alert .icon { flex: none; margin-top: .1em; }
.alert-success { background: var(--success-bg); border-color: #BFEBD4; color: #0B5B36; }
.alert-error { background: var(--danger-bg); border-color: #F7C5C7; color: #8C1D22; }
.alert-info { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }
.alert-warning { background: var(--warning-bg); border-color: #FFDDB0; color: #7A4100; }

/* Sidebar (apply / contact) */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; }
.sidebar-sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
@media (max-width: 960px) { .layout-sidebar { grid-template-columns: 1fr !important; } .sidebar-sticky { position: static; } }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.side-card h4 { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.side-card h4 .icon { color: var(--blue-500); }
.side-card.dark { background: var(--navy-900); color: rgba(255,255,255,.8); border-color: transparent; }
.side-card.dark h4 { color: #fff; } .side-card.dark h4 .icon { color: var(--teal-400); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.timeline li { display: flex; gap: .85rem; position: relative; }
.timeline .dot { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); font-size: .78rem; font-weight: 800; }
.timeline b { display: block; color: var(--ink); font-size: .93rem; }
.timeline small { color: var(--muted); }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--border); font-size: .92rem; }
.summary-row:last-child { border-bottom: 0; }
.summary-row span:first-child { color: var(--muted); }
.summary-row span:last-child { font-weight: 700; color: var(--ink); text-align: right; }

/* ---------- Contact ------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: -3.5rem; position: relative; z-index: 2; }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; margin-top: -2rem; } }
.contact-card { text-align: left; }
.contact-card .icon-box { margin-bottom: .9rem; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.contact-card p { color: var(--muted); font-size: .9rem; margin-bottom: .75rem; }
.contact-card a.big { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.contact-card a.big:hover { color: var(--blue-600); }
.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.map-visual { position: relative; aspect-ratio: 16/9; background: var(--navy-900); overflow: hidden; }
.map-visual svg { width: 100%; height: 100%; }
.map-info { padding: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }

/* ---------- Success page ------------------------------------------- */
.success-hero { text-align: center; padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.success-icon { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.5rem; background: var(--success-bg); color: var(--success); animation: pop .5s var(--ease); }
.success-icon .icon { width: 48px; height: 48px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.ref-box { display: inline-flex; align-items: center; gap: .75rem; padding: .8rem 1.25rem; border-radius: 12px; background: var(--navy-900); color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.25rem; font-weight: 700; letter-spacing: .06em; }
.ref-box small { font-family: var(--font); font-size: .75rem; letter-spacing: .1em; color: rgba(255,255,255,.55); text-transform: uppercase; font-weight: 700; }
.ref-box button { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 8px; padding: .35rem .6rem; font-size: .75rem; font-family: var(--font); font-weight: 700; }

/* ---------- Legal pages -------------------------------------------- */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); font-size: .9rem; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--border); }
.legal-toc a { display: block; padding: .45rem 1rem; color: var(--muted); border-left: 2px solid transparent; margin-left: -2px; font-weight: 500; }
.legal-toc a:hover, .legal-toc a.is-active { color: var(--blue-600); border-left-color: var(--blue-500); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.35rem; margin-top: 2.5rem; scroll-margin-top: 110px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.legal-body p, .legal-body li { color: var(--text); }
.legal-body .meta { color: var(--muted); font-size: .9rem; padding: .9rem 1.1rem; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 2rem; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* ---------- Error page --------------------------------------------- */
.error-page { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.error-code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer -------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 4rem 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--teal-400); }
.footer-about p { font-size: .93rem; margin: 1rem 0 1.25rem; max-width: 340px; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--blue-500); color: #fff; transform: translateY(-2px); }
.socials .icon { width: 18px; height: 18px; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.footer-contact .icon { color: var(--teal-400); margin-top: .2em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0; font-size: .83rem; color: rgba(255,255,255,.5); }
.footer-bottom .links { display: flex; gap: 1.25rem; }
.footer-mpesa { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem; border-radius: 8px; background: rgba(255,255,255,.06); font-weight: 700; font-size: .8rem; color: #fff; }
.footer-mpesa i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: #4CAF50; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Floating WhatsApp ------------------------------------- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.1rem .75rem .8rem; border-radius: 999px; background: #25D366; color: #fff; font-weight: 700; box-shadow: 0 14px 34px -10px rgba(37,211,102,.7); transition: transform .2s; }
.wa-float:hover { transform: translateY(-3px); color: #fff; }
.wa-float .icon { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .85rem; } }

/* ---------- Modal --------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(6,15,39,.6); backdrop-filter: blur(4px); }
.modal.is-open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius-lg); width: min(560px, 100%); max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); animation: fadeUp .3s var(--ease); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; font-size: 1.15rem; }
.modal-close { background: var(--bg-2); border: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.modal-body { padding: 1.5rem; }
body.modal-open { overflow: hidden; }

/* ---------- Reveal animation -------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-pulse path { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* ---------- Comparison "vs" block (Why page) ----------------------- */
.vs-table th:nth-child(2), .vs-table td:nth-child(2) { background: rgba(10,108,255,.05); font-weight: 700; }
.vs-table thead th:nth-child(2) { background: var(--blue-50); color: var(--blue-700); }

/* ---------- Speed meter (package show) ---------------------------- */
.speed-use { display: grid; gap: .8rem; }
.speed-use .row { display: grid; grid-template-columns: 150px 1fr auto; gap: .9rem; align-items: center; font-size: .92rem; }
.speed-use .bar { height: 10px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.speed-use .bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad-brand); }
.speed-use .row b { color: var(--ink); display: flex; align-items: center; gap: .45rem; }
.speed-use .row b .icon { color: var(--blue-500); }
.speed-use .tag { font-size: .78rem; font-weight: 700; color: var(--teal-700); background: var(--teal-50); padding: .2rem .6rem; border-radius: 999px; }
@media (max-width: 560px) { .speed-use .row { grid-template-columns: 1fr; gap: .35rem; } }

/* ---------- Coming soon (admin) ------------------------------------ */
.coming-soon { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.coming-soon .icon-box { margin-inline: auto; }

/* =====================================================================
   v2 — Launch polish: promo bar, marquee, speed showcase, network,
   fibre vs satellite, team, sticky mobile CTA, shimmer
   ===================================================================== */

/* ---------- Promo bar (launch offer) ------------------------------ */
.promo-bar { position: relative; background: var(--grad-brand); color: #fff; font-size: .875rem; }
.promo-bar .container { display: flex; align-items: center; justify-content: center; gap: .5rem 1rem; min-height: 44px; padding: .45rem 2.5rem; flex-wrap: wrap; text-align: center; }
.promo-bar .icon { width: 1.05em; height: 1.05em; }
.promo-bar b { letter-spacing: .01em; }
.promo-bar a { color: #fff; font-weight: 800; display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .85rem; border-radius: 999px; background: rgba(255,255,255,.2); white-space: nowrap; }
.promo-bar a:hover { background: #fff; color: var(--blue-700); }
.promo-bar a .icon { width: .95em; height: .95em; }
.promo-close { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.2); border: 0; color: #fff; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.promo-close .icon { width: 12px; height: 12px; }
.promo-close:hover { background: rgba(255,255,255,.35); }

/* ---------- Shimmer CTA ------------------------------------------ */
.btn-shimmer { position: relative; overflow: hidden; }
.btn-shimmer::after { content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -70%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); animation: shimmer 3s infinite; }
@keyframes shimmer { 0% { left: -70%; } 55%, 100% { left: 135%; } }
@media (prefers-reduced-motion: reduce) { .btn-shimmer::after { display: none; } }

/* ---------- Buildings marquee ------------------------------------- */
.marquee { background: var(--navy-950); overflow: hidden; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.marquee-inner { display: flex; align-items: center; gap: 2.5rem; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-inner { animation-play-state: paused; }
.marquee-label { color: var(--teal-400); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; white-space: nowrap; }
.marquee-item { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.72); font-size: .875rem; font-weight: 600; white-space: nowrap; }
.marquee-item .icon { color: var(--teal-400); width: .95em; height: .95em; }
.marquee-sep { color: rgba(255,255,255,.2); font-weight: 800; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-inner { animation: none; } }

/* ---------- Speed showcase ---------------------------------------- */
.speed-showcase { position: relative; overflow: hidden; background: var(--navy-950); color: rgba(255,255,255,.8); }
.speed-showcase::before { content: ""; position: absolute; inset: 0; background: radial-gradient(720px 420px at 88% 12%, rgba(10,108,255,.3), transparent 65%), radial-gradient(640px 420px at 6% 95%, rgba(0,211,194,.2), transparent 60%); pointer-events: none; }
.speed-showcase h2 { color: #fff; }
.speed-showcase .lead, .speed-showcase .muted { color: rgba(255,255,255,.72); }
.speed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; }
.speed-media-wrap { position: relative; }
.speed-media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--navy-900); }
.speed-media img { width: 100%; height: 100%; object-fit: cover; }
.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: .6rem; background: rgba(6,15,39,.85); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: .6rem .9rem; box-shadow: var(--shadow-md); animation: floaty 5.5s ease-in-out infinite; }
.float-chip .icon { color: var(--teal-400); width: 1.35em; height: 1.35em; }
.float-chip b { display: block; color: #fff; font-size: 1.1rem; line-height: 1.1; letter-spacing: -.02em; }
.float-chip small { color: rgba(255,255,255,.55); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.chip-1 { top: 7%; right: -10px; }
.chip-2 { bottom: 20%; left: -12px; animation-delay: 1.4s; }
.chip-3 { bottom: -20px; right: 14%; animation-delay: 2.8s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.speed-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .85rem; }
.speed-list li { display: flex; gap: .7rem; align-items: flex-start; }
.speed-list .icon { color: var(--teal-400); margin-top: .15em; flex: none; }
.speed-list b { color: #fff; }
@media (max-width: 900px) {
  .speed-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .chip-1 { right: 6px; } .chip-2 { left: 6px; } .chip-3 { bottom: 10px; right: 10px; }
}
.speed-vs-teaser { position: relative; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 4.5rem; padding: 1.15rem 1.4rem; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.speed-vs-teaser img { width: 92px; height: 68px; object-fit: cover; border-radius: 10px; flex: none; }
.speed-vs-teaser p { margin: 0; flex: 1; min-width: 220px; color: rgba(255,255,255,.85); font-weight: 600; font-size: .98rem; }
.speed-vs-teaser a { color: var(--teal-400); font-weight: 800; white-space: nowrap; }
.speed-vs-teaser a:hover { color: #fff; }

/* ---------- Network backbone mini stats --------------------------- */
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.75rem; }
.mini-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1rem; text-align: center; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.mini-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mini-stat b { display: block; font-size: 1.45rem; letter-spacing: -.02em; color: var(--blue-600); }
.mini-stat small { color: var(--muted); font-weight: 600; font-size: .8rem; }
.section-dark .mini-stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section-dark .mini-stat b { color: var(--teal-400); }
.section-dark .mini-stat small { color: rgba(255,255,255,.55); }
@media (max-width: 560px) { .mini-stats { grid-template-columns: 1fr 1fr; } .mini-stat:last-child { grid-column: 1 / -1; } }

/* ---------- Fibre vs satellite ------------------------------------ */
.vs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.75rem; }
.vs-panel { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/11; box-shadow: var(--shadow-md); background: var(--navy-900); }
.vs-panel img { width: 100%; height: 100%; object-fit: cover; }
.vs-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6,15,39,.8)); }
.vs-panel.is-winner { outline: 3px solid var(--teal-400); outline-offset: -3px; }
.vs-tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.vs-caption { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 2; color: #fff; }
.vs-caption b { display: block; font-size: 1.15rem; letter-spacing: -.01em; }
.vs-caption small { color: rgba(255,255,255,.75); font-size: .86rem; line-height: 1.45; }
.vs-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; }
.vs-point { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.vs-point .icon { margin-top: .18em; flex: none; width: 1.15em; height: 1.15em; }
.vs-point.good .icon { color: var(--success); }
.vs-point.bad .icon { color: var(--danger); }
.vs-point b { color: var(--ink); }
@media (max-width: 860px) { .vs-split, .vs-points { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile CTA -------------------------------------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; gap: .6rem; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--border); box-shadow: 0 -12px 32px -14px rgba(15,27,51,.3); transform: translateY(110%); transition: transform .3s var(--ease); }
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; white-space: nowrap; }
@media (max-width: 640px) {
  .mobile-cta { display: flex; }
  body:has(.mobile-cta.is-visible) .wa-float { bottom: 4.8rem; }
  body:has(.mobile-cta.is-visible) { padding-bottom: 3.6rem; }
}

/* ---------- Enhanced CTA & Responsive Styles ---------- */
.btn-pulse-cta {
  background: var(--grad-brand);
  color: #fff !important;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 8px 24px rgba(10, 108, 255, 0.4), 0 0 0 1px rgba(0, 211, 194, 0.4);
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.btn-pulse-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 211, 194, 0.5), 0 0 0 2px rgba(0, 211, 194, 0.6);
  filter: brightness(1.08);
}
.btn-pulse-cta:active {
  transform: translateY(0);
}

.btn-xl {
  padding: 1.15rem 2.2rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: 999px;
}
@media (max-width: 640px) {
  .btn-xl {
    padding: 1rem 1.5rem;
    font-size: .98rem;
    width: 100%;
    justify-content: center;
  }
}

.hero-hotline {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: 1.25rem;
  font-size: .95rem;
  color: var(--blue-100);
  flex-wrap: wrap;
}
.hero-hotline a {
  color: var(--teal-400);
  font-weight: 700;
  text-decoration: none;
}
.hero-hotline a:hover {
  text-decoration: underline;
}
.hero-hotline .sep {
  opacity: .4;
}

.hero-card-featured {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 211, 194, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
}
.featured-badge {
  display: inline-block;
  background: rgba(0, 211, 194, 0.18);
  color: var(--teal-400);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .25rem .6rem;
  border-radius: 999px;
  margin-bottom: .5rem;
}
.featured-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: .4rem;
}
.featured-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: .88rem;
  line-height: 1.5;
  margin-bottom: .8rem;
}
.featured-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: .6rem;
  font-size: .82rem;
  color: var(--blue-200);
}
.featured-meta b {
  color: #fff;
}

.pkg-install-badge {
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: .82rem;
  font-weight: 700;
  padding: .4rem .75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: .4rem 0 .75rem;
}
.pkg.is-featured .pkg-install-badge {
  background: var(--teal-50);
  color: var(--teal-700);
}

.security-pills {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .85rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.security-pills span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.summary-divider {
  height: 1px;
  background: var(--border);
  margin: .85rem 0;
}
.side-summary .total-row {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}
.side-summary .price-zero {
  color: var(--success);
}
.side-summary .price-total {
  color: var(--blue-600);
  font-weight: 800;
  font-size: 1.2rem;
}
.summary-note {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .4rem;
  line-height: 1.4;
}
.select-wrap {
  position: relative;
}
.select-input {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  appearance: auto;
}
.select-input:focus {
  border-color: var(--blue-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 108, 255, 0.15);
}
.choice-pkg .box .install-line {
  font-size: .78rem;
  color: var(--muted);
  margin: .25rem 0 .5rem;
}

/* =====================================================================
   USE CASES & LIFESTYLE SECTION
   ===================================================================== */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .usecases-grid { grid-template-columns: 1fr; }
}

.usecase-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 77, 187, 0.08);
  border-color: var(--blue-400);
}
.usecase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--teal-400));
  opacity: 0;
  transition: opacity .2s ease;
}
.usecase-card:hover::before {
  opacity: 1;
}

.usecase-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(11, 77, 187, 0.08);
  color: var(--blue-600);
}
.usecase-card .icon-box svg {
  width: 26px;
  height: 26px;
}
.usecase-card .icon-box.teal {
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-600);
}
.usecase-card .icon-box.purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7C3AED;
}
.usecase-card .icon-box.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-600);
}

.usecase-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: .6rem;
}
.usecase-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}
.usecase-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--navy-900);
  margin-bottom: 1rem;
  align-self: flex-start;
}
.usecase-meta {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin: 1.5rem 0 2rem;
}
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #fff;
  border: 1px solid var(--border);
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy-900);
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
.feature-pill svg {
  color: var(--blue-600);
  width: 16px;
  height: 16px;
}

/* =====================================================================
   RESPONSIVE DESIGN AUDIT OPTIMIZATIONS (ALL DEVICE PROFILES)
   ===================================================================== */

/* Touch & tap ergonomics across mobile and touch devices */
a, button, input, select, textarea, .btn, .nav-toggle, .choice-card {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(10, 108, 255, 0.1);
}

/* 1. Mobile Navigation Backdrop */
@media (max-width: 860px) {
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(6, 15, 39, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 40;
  }
}

/* 2. Package Comparison Sticky Specification Column (Mobile & Tablet) */
@media (max-width: 768px) {
  .compare th:first-child,
  .compare td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #ffffff;
    box-shadow: 2px 0 8px -2px rgba(15, 27, 51, 0.12);
  }
  .compare thead th:first-child {
    background: var(--bg);
    z-index: 3;
  }
}

/* 3. Mobile Modal Dialogs (Bottom Sheet on phones) */
@media (max-width: 640px) {
  .modal {
    align-items: flex-end;
    padding: 0;
  }
  .modal-box {
    width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }
  .modal-close {
    min-width: 44px;
    min-height: 44px;
  }
}

/* 4. Form Controls & Touch Targets on Small Screens */
@media (max-width: 640px) {
  /* Prevent iOS Safari auto-zoom on input focus */
  .input,
  .field input[type=text],
  .field input[type=email],
  .field input[type=tel],
  .field input[type=date],
  .field input[type=number],
  .field select,
  .field textarea,
  .select-input {
    font-size: 16px !important;
  }

  /* Full-width submit button */
  #submit-btn,
  .btn-apply-cta,
  .btn-pulse-cta.btn-lg {
    width: 100% !important;
    justify-content: center !important;
    min-height: 52px;
  }

  .form-section .wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .form-section .security-pills {
    justify-content: center;
  }
}

/* 5. Payment Page Responsive Specs Grid */
@media (max-width: 520px) {
  #payment-card div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  #stk-success-view div[style*="display:flex"] {
    flex-direction: column;
  }
  #stk-success-view a.btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

/* 6. Desktop & Widescreen Monitors (1440px - 1920px+) */
@media (min-width: 1440px) {
  :root {
    --container: 1280px;
  }
  .packages-grid {
    gap: 2rem;
  }
}
@media (min-width: 1920px) {
  :root {
    --container: 1360px;
  }
}
