/* =========================================================
   GPSWaves — Smart GPS Tracking & Fleet Management
   Modern, responsive, animated
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --red:        #E30613;
  --red-dark:   #B80510;
  --red-light:  #FF2D3A;
  --red-soft:   rgba(227, 6, 19, 0.1);
  --dark:       #0A0E1A;
  --darker:     #050810;
  --dark-2:     #0E1A2E;
  --dark-3:     #142641;
  --bg:         #FFFFFF;
  --bg-soft:    #F6F8FB;
  --bg-tint:    #FCF1F1;
  --text:       #0F172A;
  --text-soft:  #475569;
  --text-mute:  #94A3B8;
  --border:     #E5E7EB;
  --border-2:   #EEF1F5;
  --gold:       #FFB800;
  --green:      #28C76F;
  --blue:       #00B8D9;
  --purple:     #A855F7;
  --orange:     #FF6B00;
  --shadow-sm:  0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow:     0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg:  0 24px 60px rgba(15, 23, 42, 0.12);
  --radius:     14px;
  --radius-lg:  22px;
  --radius-sm:  8px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
.grad {
  background: linear-gradient(135deg, var(--red) 0%, #FF6B00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ic { width: 18px; height: 18px; flex: none; }
.ic--check { width: 16px; height: 16px; color: var(--green); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--green { background: var(--green); box-shadow: 0 0 0 4px rgba(40, 199, 111, 0.2); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(40, 199, 111, 0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(40, 199, 111, 0); }
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-soft);
  font-size: 17px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: all .25s var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(227, 6, 19, 0.35);
}
.btn--primary:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(227, 6, 19, 0.5);
}
.btn--ghost {
  color: var(--text);
}
.btn--ghost:hover { background: var(--bg-soft); }
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}
.topbar__left, .topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 500;
}
.topbar__divider {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.15);
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-2);
  transition: all .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.nav__logo img {
  height: 52px;
  width: auto;
  display: block;
}

/* ---------- Brand logo (image) ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex: none;
}
.logo__img {
  display: block;
  height: 48px;
  width: auto;
  /* Drop the white background subtly on light surface */
}
.logo--footer .logo__img {
  height: 54px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.nav__menu {
  display: flex;
  gap: 32px;
}
.nav__link {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  inset: auto 50% -6px;
  height: 2px;
  background: var(--red);
  transition: inset .25s var(--ease);
}
.nav__link:hover::after { inset: auto 0 -6px; }
.nav__cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #0A0E1A 0%, #142641 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(227,6,19,0.18) 0%, transparent 60%);
  filter: blur(40px);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  min-width: 0;
}
.hero__inner > * { min-width: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(227,6,19,0.25);
  animation: pulse 1.8s infinite;
}
.hero__title {
  font-size: clamp(36px, 5.5vw, 64px);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}
.hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}
.hero__bullets li { display: inline-flex; align-items: center; gap: 8px; }

/* Dashboard mockup */
.dash {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
}
.dash__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash__dot { width: 10px; height: 10px; border-radius: 50%; }
.dash__dot--r { background: #FF5F57; }
.dash__dot--y { background: #FEBC2E; }
.dash__dot--g { background: #28C840; }
.dash__url {
  margin-left: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', monospace;
}
.dash__body {
  display: grid;
  grid-template-columns: 1fr 220px;
  min-height: 380px;
}
.dash__map {
  position: relative;
  background: #0E1A2E;
}
.dash__map svg {
  width: 100%; height: 100%;
  display: block;
}
.dash__stat {
  position: absolute;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  min-width: 130px;
}
.dash__stat--1 { top: 18px; left: 18px; animation: float 4s ease-in-out infinite; }
.dash__stat--2 { top: 18px; right: 18px; animation: float 4.5s ease-in-out infinite .5s; }
.dash__stat--3 { bottom: 18px; left: 18px; animation: float 5s ease-in-out infinite 1s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.dash__stat-label {
  font-size: 11px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.dash__stat-value {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 2px 0;
}
.dash__stat-value small { font-size: 12px; color: var(--text-soft); font-weight: 500; }
.dash__stat-trend { font-size: 11px; color: var(--green); font-weight: 600; }
.dash__stat-trend--r { color: var(--red); }
.dash__side {
  background: rgba(255,255,255,0.04);
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dash__vh {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: background .2s var(--ease);
}
.dash__vh:hover { background: rgba(255,255,255,0.08); }
.dash__vhi {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--green);
  flex: none;
}
.dash__vhi--r { background: var(--red); }
.dash__vhi--y { background: var(--gold); }
.dash__vhi--g { background: var(--green); }
.dash__vhn { font-size: 13px; font-weight: 600; color: #fff; }
.dash__vhm { font-size: 11px; color: rgba(255,255,255,0.55); }

/* vehicle pulse on map */
.pulse circle {
  transform-origin: center;
  animation: ring 2s ease-out infinite;
}
@keyframes ring {
  0%   { r: 6; opacity: 1; stroke-width: 2; }
  100% { r: 22; opacity: 0; stroke-width: 0.5; }
}

/* Floating cards around hero */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  z-index: 2;
}
.float-card--alert { top: 8%; right: -30px; animation: float 4s ease-in-out infinite; }
.float-card--bat   { bottom: 10%; left: -30px; animation: float 4.5s ease-in-out infinite .7s; }
.float-card__ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex: none;
}
.float-card--alert .float-card__ic { background: rgba(227,6,19,0.1); color: var(--red); }
.float-card--bat   .float-card__ic { background: rgba(40,199,111,0.1); color: var(--green); }
.float-card__t { font-size: 13px; font-weight: 600; }
.float-card__s { font-size: 11px; color: var(--text-soft); }

/* ---------- Stats ---------- */
.stats {
  background: var(--dark);
  color: #fff;
  padding: 0;
  margin-top: -1px;
  position: relative;
  z-index: 2;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
}
.stats__item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stats__item:last-child { border-right: 0; }
.stats__num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--red-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stats__lbl {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Generic section ---------- */
section { padding: 100px 0; }
.features { background: var(--bg); }
.solutions { background: var(--bg-soft); }
.how { background: var(--bg); }
.pricing { background: var(--bg-soft); }
.coverage { background: var(--bg); }
.testimonials { background: var(--bg-soft); }
.faq { background: var(--bg); }
.cta { background: var(--dark); color: #fff; }
.contact { background: var(--bg-soft); }

/* ---------- Features grid ---------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--c, var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__ic {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--c, var(--red)) 12%, white);
  color: var(--c, var(--red));
  margin-bottom: 18px;
  transition: transform .3s var(--ease);
}
.feature-card:hover .feature-card__ic { transform: scale(1.1) rotate(-5deg); }
.feature-card__ic svg { width: 26px; height: 26px; }
.feature-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-soft);
  font-size: 15px;
  margin: 0;
}

/* ---------- Solutions grid ---------- */
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.sol-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
}
.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.sol-card__img {
  height: 180px;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.sol-card__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.1));
}
.sol-card__img svg { width: 80px; height: 80px; position: relative; z-index: 1; }
.sol-card__body { padding: 22px 24px 24px; }
.sol-card__body h3 { font-size: 19px; margin-bottom: 6px; }
.sol-card__body p { color: var(--text-soft); font-size: 14px; margin-bottom: 12px; }
.sol-card__link {
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
}

/* ---------- How it works ---------- */
.how__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
.how__step {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  border: 1px solid var(--border);
  position: relative;
  transition: all .3s var(--ease);
}
.how__step:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.how__num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red) 0%, #FF6B00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}
.how__step h3 { font-size: 18px; margin-bottom: 6px; }
.how__step p { color: var(--text-soft); font-size: 14px; margin: 0; }

/* ---------- App section ---------- */
.app {
  background: linear-gradient(135deg, #0A0E1A 0%, #142641 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.app::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(227,6,19,0.15) 0%, transparent 60%);
  filter: blur(40px);
}
.app__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.app__content .eyebrow { background: rgba(227,6,19,0.2); }
.app__content .section-title { color: #fff; }
.app__content .section-sub { color: rgba(255,255,255,0.7); }
.app__list {
  display: flex; flex-direction: column; gap: 12px;
  margin: 24px 0 32px;
}
.app__list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.85); }
.tick {
  width: 24px; height: 24px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.app__buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  color: var(--text);
  padding: 10px 18px;
  border-radius: 12px;
  transition: transform .25s var(--ease);
}
.store-btn:hover { transform: translateY(-2px); color: var(--text); }
.store-btn svg { width: 24px; height: 24px; }
.store-btn small { display: block; font-size: 10px; color: var(--text-soft); line-height: 1; }
.store-btn strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }

/* phone mockup */
.app__visual { display: grid; place-items: center; }
.phone {
  position: relative;
  width: 280px; height: 560px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 0 0 2px #2a2a2a;
}
.phone__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 2;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--dark-2);
  border-radius: 28px;
  overflow: hidden;
  padding: 40px 16px 16px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.ph-stat {
  display: flex; justify-content: space-between;
  color: #fff;
  padding: 4px 6px;
}
.ph-stat small { display: block; font-size: 10px; color: rgba(255,255,255,0.55); text-transform: uppercase; }
.ph-stat strong { font-size: 18px; font-family: 'Plus Jakarta Sans', sans-serif; }
.ph-map {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.ph-map svg { width: 100%; height: 100%; }
.ph-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px;
  color: #fff;
  backdrop-filter: blur(10px);
}
.ph-card__h { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.ph-card__t { font-weight: 700; font-size: 14px; }
.ph-card__s { font-size: 11px; color: rgba(255,255,255,0.6); }
.ph-card__b {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  animation: pulse 1.6s infinite;
}
.ph-card__m { display: flex; justify-content: space-between; }
.ph-card__m small { display: block; font-size: 10px; color: rgba(255,255,255,0.55); }
.ph-card__m strong { font-size: 13px; }

/* ---------- Pricing ---------- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .3s var(--ease);
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.plan--featured {
  border: 2px solid var(--red);
  background: linear-gradient(180deg, #fff 0%, #FFF5F5 100%);
  box-shadow: 0 16px 40px rgba(227,6,19,0.15);
  transform: scale(1.03);
}
.plan--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan__tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.plan__price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.plan__price span { font-size: 18px; color: var(--text-soft); font-weight: 600; margin-right: 4px; }
.plan__price small { font-size: 14px; color: var(--text-soft); font-weight: 500; }
.plan__sub {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 22px;
}
.plan__list {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.plan__list li {
  font-size: 14px;
  color: var(--text);
  position: relative;
  padding-left: 24px;
}
.plan__list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--green);
  font-weight: 700;
}
.plan .btn--outline { color: var(--red); border-color: var(--red); }
.plan .btn--outline:hover { background: var(--red); color: #fff; }

/* ---------- Coverage ---------- */
.coverage__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cov-cities {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 24px;
}
.chip {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s var(--ease);
}
.chip:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateY(-2px);
}
.cov-map {
  position: relative;
}
.cov-map svg {
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}
.cov-pulse {
  transform-origin: center;
  animation: ring 2.2s ease-out infinite;
}

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.t-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: all .3s var(--ease);
  position: relative;
}
.t-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.t-card__stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.t-card p {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.t-card__who { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex: none;
}
.t-name { font-weight: 700; font-size: 14px; }
.t-role { font-size: 12px; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: all .2s var(--ease);
}
.faq-item[open] { border-color: var(--red); box-shadow: var(--shadow); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq__plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: grid; place-items: center;
  font-weight: 700;
  transition: transform .3s var(--ease);
  flex: none;
  font-size: 18px;
  line-height: 1;
}
.faq-item[open] .faq__plus { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-soft);
  font-size: 15px;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(227,6,19,0.2) 0%, transparent 60%);
  filter: blur(40px);
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.cta__inner .section-title { color: #fff; margin-bottom: 8px; }
.cta__inner .section-sub { color: rgba(255,255,255,0.7); margin: 0; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact__form {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact__form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact__form label { display: flex; flex-direction: column; gap: 6px; }
.contact__form label span {
  font-size: 13px; font-weight: 600; color: var(--text);
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  transition: all .2s var(--ease);
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227,6,19,0.12);
}
.contact__form textarea { resize: vertical; min-height: 80px; }
.form-msg {
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
  text-align: center;
}
.form-msg.is-ok { color: var(--green); }
.form-msg.is-err { color: var(--red); }

.contact__info { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .2s var(--ease);
}
.info-card:hover {
  border-color: var(--red);
  transform: translateX(4px);
}
.info-card__ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid; place-items: center;
  flex: none;
}
.info-card__ic svg { width: 20px; height: 20px; }
.info-card__t { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.info-card__s { font-size: 14px; color: var(--text-soft); line-height: 1.5; }
.info-card__s + .info-card__s { display: block; margin-top: 2px; }

.contact__map {
  margin-top: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: 280px;
}
.contact__map iframe { width: 100%; height: 100%; display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--darker);
  color: rgba(255,255,255,0.65);
  padding: 70px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 50px;
}
.footer__brand .logo { margin-bottom: 18px; }
.footer__brand p { font-size: 14px; max-width: 320px; margin-top: 4px; }
.footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; }
.footer ul a:hover { color: var(--red-light); }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  display: grid; place-items: center;
  color: #fff;
  transition: all .2s var(--ease);
}
.footer__social a:hover { background: var(--red); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  flex-wrap: wrap; gap: 10px;
}
.footer__bottom-links { display: inline-flex; align-items: center; gap: 10px; }
.footer__bottom-links a { color: rgba(255,255,255,0.6); }
.footer__bottom-links a:hover { color: #fff; }
.footer__bottom-links span { color: rgba(255,255,255,0.3); }

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 40;
  box-shadow: 0 8px 20px rgba(37,211,102,0.45);
  transition: transform .25s var(--ease);
  animation: waPulse 2s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 8px 20px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0); }
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Legal pages (privacy, terms, etc.) ---------- */
.legal {
  background: var(--bg-soft);
  padding: 60px 0 100px;
  min-height: 60vh;
}
.legal__inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}
.legal__nav {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 100px;
}
.legal__nav-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.legal__nav-link {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 6px;
  transition: all .2s var(--ease);
}
.legal__nav-link:hover { background: var(--bg-soft); color: var(--text); }
.legal__nav-link.is-active {
  background: var(--red-soft);
  color: var(--red);
  font-weight: 600;
}

.legal__content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  min-width: 0;
}
.legal__title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
}
.legal__meta {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 28px;
}
.legal__lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 32px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border-left: 3px solid var(--red);
  border-radius: 6px;
}
.legal__callout {
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.3);
  color: #92400e;
  padding: 14px 18px;
  border-radius: 8px;
  margin: 24px 0;
  font-size: 15px;
}
.legal__content h2 {
  font-size: 22px;
  margin: 36px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-2);
  scroll-margin-top: 100px;
}
.legal__content h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 8px;
}
.legal__content h3 {
  font-size: 16px;
  margin: 20px 0 8px;
  color: var(--text);
}
.legal__content p {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal__content ul, .legal__content ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.8;
}
.legal__content ul li, .legal__content ol li { margin-bottom: 6px; }
.legal__content strong { color: var(--text); font-weight: 600; }
.legal__content a { color: var(--red); }
.legal__content a:hover { text-decoration: underline; }
.legal__content code {
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--red-dark);
  font-family: 'SF Mono', Consolas, monospace;
}

.legal__toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
}
.legal__toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.legal__toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}
.legal__toc a {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.legal__toc a:hover { color: var(--red); }

.legal__table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.legal__table th, .legal__table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-2);
  vertical-align: top;
}
.legal__table th {
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
}
.legal__table tr:hover td { background: var(--bg-soft); }

.legal__contact {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 12px 0 24px;
  font-size: 14.5px;
}
.legal__updated {
  margin-top: 36px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-soft);
  text-align: center;
}

/* ---------- About Us page ---------- */
.about-hero {
  background: linear-gradient(180deg, #0A0E1A 0%, #142641 100%);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
}
.about-hero__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.about-hero__title {
  font-size: clamp(36px, 5vw, 56px);
  margin: 16px 0 20px;
}
.about-hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.about-stats {
  background: var(--dark);
  color: #fff;
  padding: 60px 0;
}
.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.about-stats__grid > div {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.about-stats__grid > div:last-child { border-right: 0; }
.about-stats__num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--red-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}
.about-stats__lbl {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.about-story { padding: 100px 0; background: var(--bg); }
.about-story__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-story__card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.about-story__card-ic {
  width: 64px; height: 64px;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 16px;
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.about-story__card-ic svg { width: 28px; height: 28px; }
.about-story__card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.about-story__card p { color: var(--text-soft); font-size: 15px; margin: 0; }

.about-values { padding: 100px 0; background: var(--bg-soft); }
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: all .3s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--red);
}
.value-card__ic {
  width: 48px; height: 48px;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.value-card__ic svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { color: var(--text-soft); font-size: 14.5px; margin: 0; }

.about-parent { padding: 100px 0; background: var(--bg); }
.about-parent__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-parent__contact {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.about-parent__contact h3 { color: #fff; font-size: 22px; margin-bottom: 20px; }
.about-parent__contact ul { display: flex; flex-direction: column; gap: 14px; }
.about-parent__contact li { font-size: 14.5px; color: rgba(255,255,255,0.75); line-height: 1.6; }
.about-parent__contact li strong { color: #fff; }
.about-parent__contact a { color: var(--red-light); }
.about-parent__contact a:hover { color: #fff; }

/* ---------- Skip-to-content (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  font-size: 14px;
  z-index: 1000;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 404 error page ---------- */
.err {
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  padding: 60px 0;
  background: var(--bg-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.err::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 30%, transparent 80%);
}
.err__inner { position: relative; z-index: 1; max-width: 620px; }
.err__code {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(120px, 18vw, 200px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--red) 0%, #FF6B00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.err__pin {
  width: 56px; height: 56px;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 24px;
  animation: err-pulse 1.5s var(--ease) infinite;
}
@keyframes err-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227,6,19,0.4); }
  50% { box-shadow: 0 0 0 16px rgba(227,6,19,0); }
}
.err__title { font-size: clamp(24px, 3.5vw, 36px); margin-bottom: 12px; }
.err__sub { color: var(--text-soft); font-size: 17px; margin-bottom: 32px; }
.err__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.err__cta .btn--outline { color: var(--red); border-color: var(--red); }
.err__cta .btn--outline:hover { background: var(--red); color: #fff; }
.err__links {
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}
.err__links a {
  color: var(--text-soft);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all .2s var(--ease);
}
.err__links a:hover { background: #fff; color: var(--red); }
.err__links-title {
  color: var(--text-mute);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-right: 8px;
}

/* ---------- Focus-visible (a11y) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Reduced motion (a11y) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner,
  .app__inner,
  .coverage__inner,
  .contact__grid,
  .faq__inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(1),
  .stats__item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .legal__inner { grid-template-columns: 1fr; gap: 30px; }
  .legal__nav { position: static; }
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats__grid > div:nth-child(2) { border-right: 0; }
  .about-stats__grid > div:nth-child(1),
  .about-stats__grid > div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .about-story__grid,
  .about-parent__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .topbar__left { gap: 12px; }
  .topbar__left a:nth-child(2) { display: none; }
  .topbar__right { gap: 10px; }
  .topbar__right a { display: none; }
  .topbar__divider { display: none; }
  .topbar__inner { height: 34px; font-size: 12px; }
  .nav__menu {
    position: fixed;
    inset: 76px 0 auto 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all .3s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__menu a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border-2);
  }
  .nav__menu a:last-child { border-bottom: 0; }
  .nav__cta .btn--ghost { display: none; }
  .nav__cta .btn--primary { padding: 8px 14px; font-size: 14px; }
  .nav__burger { display: flex; }
  .nav__inner { height: 70px; }
  .nav__logo img { height: 44px; }
  .logo__img { height: 40px; }
  .logo--footer .logo__img { height: 46px; padding: 6px 12px; }
  .float-card { display: none; }
}

@media (max-width: 640px) {
  section { padding: 70px 0; }
  .container { padding-inline: 18px; }
  .hero { padding: 50px 0 70px; }
  .legal__content { padding: 28px 22px; }
  .legal__toc ol { grid-template-columns: 1fr; }
  .about-stats__grid { grid-template-columns: 1fr; }
  .about-stats__grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .about-stats__grid > div:last-child { border-bottom: 0; }
  .about-story__card { padding: 28px 22px; }
  .about-parent__contact { padding: 28px 22px; }
  .hero__title { font-size: 38px; }
  .hero__sub { font-size: 16px; }
  .hero__cta .btn { width: 100%; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn--outline { order: 2; }
  .stats__num { font-size: 32px; }
  .dash { transform: none; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__side { border-left: 0; border-top: 1px solid rgba(255,255,255,0.06); }
  .dash__stat { padding: 8px 10px; min-width: 100px; }
  .dash__stat-value { font-size: 18px; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .cta__inner { flex-direction: column; text-align: center; }
  .contact__form { padding: 24px 20px; }
  .contact__form .row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .wa-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 24px; height: 24px; }
}

@media (max-width: 420px) {
  .topbar { font-size: 12px; }
  .topbar__inner { height: 34px; }
  .topbar__pill span:last-child { font-size: 12px; }
}
