/* Metric-matched fallback so the Inter web-font swap causes ZERO layout shift (CLS fix). */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0.00%;
  size-adjust: 107.12%;
}

/* ============================================================
   Internext LLC — Design System
   Dark-tech / infrastructure-grade. Mobile-first.
   ============================================================ */

:root {
  /* Palette */
  --bg: #0A0E1A;
  --bg-2: #0C1322;
  --panel: #0F1629;
  --panel-2: #111B30;
  --line: #1E293B;
  --line-2: #233047;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --muted-2: #7D8DA4;
  --cyan: #5BC2FF;   /* brand light blue (accent) */
  --blue: #1E6FC8;   /* brand deep blue */
  --green: #34D399;
  --amber: #FBBF24;

  --grad: linear-gradient(135deg, #5BC2FF 0%, #1E6FC8 100%);
  --grad-soft: linear-gradient(135deg, rgba(91,194,255,.15), rgba(30,111,200,.15));

  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -20px rgba(0,0,0,.6);
  --shadow-glow: 0 0 0 1px rgba(91,194,255,.18), 0 20px 60px -24px rgba(91,194,255,.35);
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font: "Inter", "Inter Fallback", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(700px 500px at 85% -5%, rgba(91,194,255,.10), transparent 60%),
    radial-gradient(600px 500px at 5% 10%, rgba(59,130,246,.08), transparent 55%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(30,41,59,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,41,59,.35) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
  opacity: .5;
  pointer-events: none;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 84px 0; position: relative; }
.section-sm { padding: 56px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan);
  background: var(--grad-soft);
  border: 1px solid rgba(91,194,255,.25);
  padding: 6px 14px; border-radius: 999px;
}
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.22rem; font-weight: 700; }
.lead { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 650; font-size: .98rem; padding: 13px 24px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #06121b; box-shadow: 0 10px 30px -10px rgba(91,194,255,.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(91,194,255,.7); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); transform: translateY(-2px); background: rgba(91,194,255,.06); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(10,14,26,.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(10,14,26,.9); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--muted); font-weight: 550; font-size: .94rem; padding: 9px 10px; border-radius: 9px;
  white-space: nowrap; /* never let a link break onto two lines */
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { display: none; align-items: center; gap: 10px; }
.nav-login { color: var(--muted); font-weight: 600; font-size: .92rem; padding: 9px 14px; }
.nav-login:hover { color: var(--cyan); }

.hamburger {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 70px 0 auto 0; z-index: 55;
  background: rgba(10,14,26,.98); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-120%); transition: transform .35s var(--ease);
  padding: 14px 22px 26px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: block; padding: 13px 8px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: .86rem; font-weight: 600;
  color: var(--muted); background: var(--panel); border: 1px solid var(--line); padding: 7px 15px; border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(52,211,153,.55);} 70%{box-shadow:0 0 0 10px rgba(52,211,153,0);} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0);} }
.hero h1 { margin-top: 20px; }
.hero p.lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: var(--muted); font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--cyan); }
.hero-visual { position: relative; }
.hero-visual img { margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(15,22,41,.5); }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; align-items: center; padding: 22px 0; }
.trust-row span { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.trust-row svg { color: var(--green); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(91,194,255,.25); color: var(--cyan); margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: stretch; }
.plan {
  position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plan.featured { border-color: rgba(91,194,255,.5); box-shadow: var(--shadow-glow); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #06121b; font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 14px; border-radius: 999px; text-transform: uppercase;
}
.plan h3 { font-size: 1.15rem; }
.plan .desc { color: var(--muted); font-size: .9rem; margin: 4px 0 18px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price .cur { color: var(--muted); font-weight: 600; font-size: 1rem; }
.plan .price .amt { font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; }
.plan .price .per { color: var(--muted); font-size: .9rem; }
.plan .price-usd { color: var(--muted); font-size: .82rem; margin-top: 4px; opacity: .9; }
.plan .price-usd b { color: var(--text); font-weight: 700; }
.plan .features { margin: 22px 0 26px; display: grid; gap: 12px; }
.plan .features li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: .94rem; }
.plan .features svg { color: var(--green); flex: 0 0 auto; margin-top: 3px; }
.plan .features li.off { color: var(--muted-2); opacity: .6; }
.plan .features li.off svg { color: var(--muted-2); }
.plan .btn { margin-top: auto; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
table.compare thead th { background: var(--panel); color: var(--text); font-weight: 700; }
table.compare tbody td { color: var(--muted); }
table.compare tbody th { color: var(--text); font-weight: 600; }
table.compare svg { color: var(--green); }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: 0; }

/* ---------- Feature split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.feat-list { display: grid; gap: 18px; margin-top: 24px; }
.feat-list li { display: flex; gap: 14px; align-items: flex-start; }
.feat-list .fi { width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(91,194,255,.22); color: var(--cyan); }
.feat-list h4, .feat-list h3, .feat-list h2 { font-size: 1.02rem; font-weight: 700; }
.feat-list p { color: var(--muted); font-size: .94rem; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat .n { font-size: 2.1rem; font-weight: 800; }
.stat .l { color: var(--muted); font-size: .88rem; margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(91,194,255,.12), rgba(59,130,246,.12));
  border: 1px solid rgba(91,194,255,.25); border-radius: var(--radius-lg);
  padding: 48px 34px; text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band .lead { margin: 0 auto 26px; max-width: 540px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 650; display: flex; justify-content: space-between; align-items: center; gap: 14px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 1.4rem; font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: .96rem; }

/* ---------- Domain search ---------- */
.domain-box { background: linear-gradient(180deg,var(--panel-2),var(--panel)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.domain-search { display: flex; gap: 10px; flex-wrap: wrap; }
.domain-search input { flex: 1; min-width: 200px; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); border-radius: 12px; padding: 14px 16px; font-size: 1rem; font-family: inherit; }
.domain-search input:focus { outline: none; border-color: var(--cyan); }
.tld-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tld { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; color: var(--muted); }
.tld b { color: var(--text); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
  border-radius: 12px; padding: 13px 15px; font-size: 1rem; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(91,194,255,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { color: var(--muted-2); font-size: .82rem; }
.form-error { color: #FCA5A5; font-size: .88rem; min-height: 1px; }
.form-error:empty { display: none; }
.form-success {
  color: var(--green); font-size: .92rem; font-weight: 600;
  background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3);
  border-radius: 10px; padding: 12px 14px;
}

/* ---------- Contact cards ---------- */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 15px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact-card .ci { width: 44px; height: 44px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan); border: 1px solid rgba(91,194,255,.22); }
.contact-card .l { color: var(--muted); font-size: .82rem; }
.contact-card .v { font-weight: 650; }

/* ---------- KB grid ---------- */
.kb-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.kb-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .25s, transform .25s; }
.kb-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.kb-card .tag { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.kb-card h3 { margin: 8px 0; font-size: 1.05rem; }
.kb-card p { color: var(--muted); font-size: .92rem; }
.kb-card .arrow { color: var(--cyan); font-weight: 700; margin-top: 12px; display: inline-block; }

/* ---------- KB article (guide pages) ---------- */
.kb-article { max-width: 800px; margin: 0 auto; }
.kb-article > p { color: var(--muted); margin: 0 0 18px; line-height: 1.75; }
.kb-article h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.kb-article h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.kb-article ol, .kb-article ul { margin: 0 0 18px; padding-left: 22px; color: var(--muted); line-height: 1.75; }
.kb-article li { margin-bottom: 8px; }
.kb-article a { color: var(--cyan); }
.kb-article a:hover { text-decoration: underline; }
.kb-article code { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; font-size: .88em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #cbd5e1; }
.kb-note { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--cyan); border-radius: 10px; padding: 16px 18px; margin: 22px 0; color: var(--muted); font-size: .95rem; }
.kb-note strong { color: var(--text); }
.kb-article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .92rem; }
.kb-article th, .kb-article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.kb-article th { background: var(--panel); color: var(--text); }
.kb-related { margin-top: 8px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 24px; text-align: center; }
.page-hero .lead { max-width: 620px; margin-left: auto; margin-right: auto; }
.breadcrumb { color: var(--muted-2); font-size: .85rem; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--cyan); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 60px 0 30px; margin-top: 30px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 14px; max-width: 320px; }
.footer-col h4, .footer-col h3, .footer-col h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); padding: 6px 0; font-size: .94rem; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; color: var(--muted-2); font-size: .86rem; }
.footer-bottom .socials { display: flex; gap: 12px; }
.footer-bottom .socials a:hover { color: var(--cyan); }
.footer-bottom .seo-badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--cyan); border: 1px solid rgba(91,194,255,.35); padding: .34rem .74rem; border-radius: 999px; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.footer-bottom .seo-badge svg { width: 13px; height: 13px; }
.footer-bottom .seo-badge:hover { background: rgba(91,194,255,.14); color: #8FD4FF; border-color: rgba(91,194,255,.6); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Vendor tech logo strip ---------- */
.tech-logos { display: grid; gap: 16px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.tech-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 16px; text-align: center;
  transition: border-color .25s, transform .25s var(--ease);
}
.tech-card:hover { border-color: rgba(91,194,255,.35); transform: translateY(-3px); }
.tech-logo {
  background: #fff; border-radius: 10px; padding: 10px 20px;
  height: 60px; width: 100%; display: flex; align-items: center; justify-content: center;
}
.tech-logo img { max-height: 34px; max-width: 100%; width: auto; object-fit: contain; display: block; }
.tech-logo-text { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; color: #0A0E1A; }
.tech-card h4, .tech-card h3 { font-size: .98rem; font-weight: 700; margin: 0; }
.tech-card p { color: var(--muted); font-size: .87rem; margin: 0; line-height: 1.5; }
@media (min-width: 640px) { .tech-logos { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (min-width: 940px) { .tech-logos { grid-template-columns: repeat(5,minmax(0,1fr)); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: repeat(2,1fr); }
  .kb-grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (min-width: 940px) {
  .nav-links, .nav-cta { display: flex; }
  .hamburger { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .grid-3 { grid-template-columns: repeat(3,1fr); }
  .grid-4 { grid-template-columns: repeat(4,1fr); }
  .price-grid { grid-template-columns: repeat(3,1fr); }
  .price-grid.cols-4 { grid-template-columns: repeat(4,1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > :first-child { order: 2; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 8-item nav needs ~985px on one row — keep the hamburger menu until it genuinely fits */
@media (min-width: 940px) and (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: inline-flex; }
}

/* ============================================================
   Pick-your-path service selector (homepage)
   ============================================================ */
.path-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .path-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .path-grid { grid-template-columns: repeat(4, 1fr); } }
.path-card { position: relative; display: flex; flex-direction: column; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; text-decoration: none;
  color: var(--text); transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.path-card:hover, .path-card:focus-visible { border-color: var(--cyan); transform: translateY(-4px); box-shadow: var(--shadow-glow); outline: none; }
.path-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(91,194,255,.25); color: var(--cyan); margin-bottom: 14px; }
.path-card h3, .path-card h2 { font-size: 1.12rem; margin: 0 0 6px; }
.path-card p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 0 0 16px; }
.path-price { margin-top: auto; display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.path-price .from { font-size: .74rem; color: var(--muted-2); font-weight: 600; }
.path-price b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.path-price .per { font-size: .8rem; color: var(--muted); }
.path-go { margin-top: 12px; color: var(--cyan); font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s var(--ease); }
.path-card:hover .path-go { gap: 11px; }
.path-tag { position: absolute; top: 13px; right: 13px; font-size: .64rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: #0A0E1A; background: linear-gradient(135deg,#5BC2FF,#34D399); padding: 4px 9px; border-radius: 999px; }
.path-card.hot { border-color: rgba(91,194,255,.4); }

/* Deep-link anchors clear the sticky header when jumped to */
#plans, #packages, #pricing { scroll-margin-top: 88px; }

/* ============================================================
   Mobile sticky "plans" bar (injected by main.js) — always-on
   quick access to plans on phones/tablets.
   ============================================================ */
.mplans { display: none; }
@media (max-width: 940px) {
  .mplans { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex;
    background: rgba(12,19,34,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-2); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.6); }
  .mplans a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 9px 4px 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: .82rem;
    border-right: 1px solid var(--line); text-align: center; transition: background .15s; }
  .mplans a:last-child { border-right: 0; }
  .mplans a small { font-size: .64rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
  .mplans a.active { color: var(--cyan); background: rgba(91,194,255,.08); }
  .mplans a.active small { color: var(--cyan); }
  .mplans a:active { background: rgba(91,194,255,.16); }
  body.ix-menu-open .mplans { display: none; }
  /* lift the floating WhatsApp + quiz buttons clear of the bar */
  .ix-wa, .ix-quiz-fab { bottom: 80px !important; }
  /* keep page content (footer) clear of the fixed bar */
  body { padding-bottom: 58px; }
}

/* The floating buttons (z-index 71/72) stack above .mobile-menu (z-index 55) and cover its
   bottom CTA. Not scoped to a media query: the menu opens below 1025px, wider than the 940px
   block above, and .ix-menu-open only exists while the menu is open. */
body.ix-menu-open .ix-wa,
body.ix-menu-open .ix-quiz-fab { display: none; }

/* ============================================================
   Portfolio / "work we've designed" gallery
   ============================================================ */
.work-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card { position: relative; display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
/* Marks a demo/pitch build so it is never mistaken for delivered client work. */
.work-tag { position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(251,191,36,.18); color: var(--amber); border: 1px solid rgba(251,191,36,.45);
  font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.work-card:hover, .work-card:focus-visible { border-color: var(--cyan); transform: translateY(-4px);
  box-shadow: var(--shadow-glow); outline: none; }
.work-card img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.work-meta { padding: 14px 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.work-meta b { font-size: .98rem; font-weight: 700; }
.work-meta span { font-size: .76rem; color: var(--muted); text-align: right; }
.work-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 24px; }
.work-note strong { color: var(--text); }

/* On phones, drop the decorative hero globe so the plan selector rises right
   under the hero copy — less scrolling to reach plans. */
@media (max-width: 640px) {
  .hero-visual { display: none; }
  .hero { padding-bottom: 40px; }
}