/* =========================================================
   Qafleh landing page
   Colors sampled from the logo: teal #023642, gold #D69831
   ========================================================= */
:root {
  --primary: #023642;
  --primary-dark: #01232B;
  --primary-700: #0A4A58;
  --primary-tint: #E6F0F1;
  --primary-tint-2: #F2F7F7;
  --accent: #D69831;
  --accent-dark: #C0842A;
  --accent-ink: #8A5E12;      /* gold for text on light backgrounds (AA) */
  --accent-tint: #FBF3E4;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --text: #10262C;
  --muted: #4E6267;
  --line: #DCE5E6;
  --chaos: #6B7076;
  --chaos-bg: #F1F1F2;
  --danger: #B42318;
  --danger-bg: #FEF0EE;
  --warn: #9A5B00;
  --warn-bg: #FFF4E0;
  --ok: #0F6B50;
  --ok-bg: #E5F4EE;
  --wa: #1FA855;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(2, 54, 66, .06), 0 2px 8px rgba(2, 54, 66, .05);
  --shadow: 0 2px 6px rgba(2, 54, 66, .06), 0 12px 32px rgba(2, 54, 66, .08);
  --shadow-lg: 0 8px 20px rgba(2, 54, 66, .08), 0 30px 60px rgba(2, 54, 66, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;

  --font: "Cairo", "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}
html[lang="en"] { --font: "Inter", "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.7;
  color: var(--text); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.3; margin: 0; color: var(--primary); }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#i-whatsapp .fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.container--narrow { max-width: 820px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .65em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--primary-dark); box-shadow: 0 6px 18px rgba(214, 152, 49, .35); }
.btn--accent:hover { background: var(--accent-dark); box-shadow: 0 10px 24px rgba(214, 152, 49, .45); }
.btn--outline { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178a45; }
.btn--sm { min-height: 40px; padding: .45em 1.1em; font-size: .92rem; }
.btn--lg { min-height: 54px; padding: .8em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark { width: auto; height: 40px; }
.brand__name { font-weight: 800; font-size: 1.35rem; color: var(--primary); letter-spacing: -.01em; }
.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .2s, background-color .2s; }
.nav__list a:hover { color: var(--primary); background: var(--primary-tint-2); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--primary-tint); }
.lang-switch__btn { border: 0; background: transparent; padding: 5px 10px; border-radius: 999px; font-weight: 700; font-size: .8rem; color: var(--primary); cursor: pointer; font-family: "Inter", sans-serif; }
.lang-switch__btn[aria-pressed="true"] { background: var(--primary); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--primary-tint-2); color: var(--primary); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: var(--header-h); inset-inline: 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 16px; display: none;
  }
  .nav.is-open { display: block; animation: fadeDown .25s var(--ease); }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: 12px; font-size: 1.05rem; }
  .header__actions { margin-inline-start: auto; }
}
@media (max-width: 560px) {
  .header__cta { display: none; }
  .brand__mark { height: 34px; }
}

/* ---------- Generic section ---------- */
.section { padding-block: 72px; }
@media (min-width: 1024px) { .section { padding-block: 104px; } }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section__head h2, .split__copy h2, .contact__copy h2 { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; }
.section__sub { margin-top: 14px; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--muted); }
.eyebrow { display: inline-block; margin-bottom: 12px; padding: 4px 14px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-ink); font-weight: 700; font-size: .85rem; }
.eyebrow--light { background: rgba(214, 152, 49, .16); color: var(--accent); }
.soft-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.soft-cta p { font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.split__copy .soft-cta { justify-content: flex-start; }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--primary); box-shadow: var(--shadow-sm); }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(214, 152, 49, .2); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.pill--live { background: var(--ok-bg); color: var(--ok); }
.pill--live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.pill--gold { background: var(--accent-tint); color: var(--accent-ink); }
.demo-tag { position: absolute; top: -12px; inset-inline-end: 16px; z-index: 3; padding: 3px 10px; border-radius: 999px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700; }
.bar { height: 8px; border-radius: 99px; background: var(--primary-tint); overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #e7b45e); border-radius: inherit; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.sw--teal { background: var(--primary); } .sw--gold { background: var(--accent); } .sw--gray { background: #B8C2C4; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 48px 64px; overflow: hidden;
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(2, 54, 66, .07), transparent 70%),
    radial-gradient(600px 400px at 10% 90%, rgba(214, 152, 49, .10), transparent 70%),
    var(--bg);
}
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero { padding-block: 72px 96px; } .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero__title { margin-top: 18px; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.4rem); font-weight: 800; line-height: 1.25; letter-spacing: -.015em; }
.hero__title .hl { position: relative; z-index: 0; isolation: isolate; white-space: nowrap; color: var(--primary); }
.hero__title .hl::after { content: ""; position: absolute; inset-inline: -2px; bottom: .14em; height: .3em; background: var(--accent); opacity: .55; border-radius: 4px; z-index: -1; transform-origin: right; animation: grow .9s .3s var(--ease) both; }
html[dir="ltr"] .hero__title .hl::after { transform-origin: left; }
.hero__sub { margin-top: 18px; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 560px; }
.hero__ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 14px; font-size: .9rem; color: var(--muted); }
@media (max-width: 480px) { .hero__ctas .btn { width: 100%; } }

.hero__visual { position: relative; padding-block: 12px 56px; padding-inline-start: 96px; }
@media (max-width: 480px) { .hero__visual { padding-inline-start: 0; padding-block-end: 150px; } }
.mock-window { position: relative; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; animation: floatY 7s ease-in-out infinite; }
.mock-window__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--primary-tint-2); }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5D7; }
.dots i:first-child { background: #F2A39A; } .dots i:nth-child(2) { background: #F3CE84; }
.mock-window__title { font-weight: 700; font-size: .9rem; color: var(--primary); }
.mock-window__bar .pill { margin-inline-start: auto; }
.mock-window__body { padding: 16px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 10px 12px; border-radius: 12px; background: var(--primary-tint-2); border: 1px solid var(--line); min-width: 0; }
.kpi__label { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi__val { display: block; font-size: 1.15rem; font-weight: 800; color: var(--primary); font-family: "Inter", var(--font); white-space: nowrap; }
.kpi__val small { font-size: .65em; font-weight: 700; color: var(--muted); font-family: var(--font); }
.kpi--danger { background: var(--danger-bg); border-color: #F8CFC9; }
.kpi--danger .kpi__val { color: var(--danger); }
.hero-panels { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.mini-map { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); min-height: 150px; }
.mini-map svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.mini-map__label { position: absolute; bottom: 8px; inset-inline-end: 8px; background: rgba(255, 255, 255, .95); padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; color: var(--primary); box-shadow: var(--shadow-sm); }
.donut-card { padding: 12px; border-radius: 12px; border: 1px solid var(--line); display: grid; justify-items: center; gap: 8px; }
.donut-card__title { font-size: .75rem; font-weight: 700; color: var(--muted); }
.donut { --p: 70; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--primary) calc(var(--p) * 1%), var(--accent) 0); }
.donut span { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: var(--primary); font-family: "Inter", sans-serif; }
.legend { font-size: .7rem; color: var(--muted); display: grid; gap: 2px; }
.legend li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }

/* Map shared */
.map-bg { fill: #EAF1EF; }
.map-street { stroke: #fff; stroke-width: 8; fill: none; }
.map-block { fill: #DFE9E7; }
.map-park { fill: #D3E8DA; }
.map-route { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 9; }
.map-route--done { stroke: var(--primary); stroke-dasharray: none; opacity: .85; }
.map-dot { fill: #fff; stroke: #9AA7AA; stroke-width: 3; }
.map-dot--done { fill: var(--primary); stroke: #fff; }
.map-van circle { fill: var(--accent); }
.map-van .map-van__core { fill: #fff; }
.map-van__pulse { fill: var(--accent) !important; opacity: .3; transform-box: fill-box; transform-origin: center; animation: ping 1.8s infinite; }

/* Phone mockup */
.mock-phone { position: relative; width: 210px; aspect-ratio: 9 / 18.5; padding: 9px; border-radius: 34px; background: #0B1F24; box-shadow: var(--shadow-lg); }
.mock-phone__screen { height: 100%; border-radius: 26px; background: var(--surface); overflow: hidden; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.hero__phone { position: absolute; bottom: 0; inset-inline-start: 0; width: 176px; animation: floatY 6s 1s ease-in-out infinite; }
@media (max-width: 480px) { .hero__phone { inset-inline-start: 50%; transform: translateX(50%); width: 170px; animation: none; } html[dir="ltr"] .hero__phone { transform: translateX(-50%); } }
.phone-status { display: flex; justify-content: space-between; align-items: center; font-size: .65rem; font-weight: 700; color: var(--primary); font-family: "Inter", sans-serif; direction: ltr; }
.phone-notch { width: 54px; height: 14px; border-radius: 99px; background: #0B1F24; }
.phone-h { font-weight: 800; color: var(--primary); font-size: .95rem; }
.stock-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.stock-flow div { padding: 8px 2px; border-radius: 10px; background: var(--primary-tint-2); }
.stock-flow b { display: block; font-size: 1.1rem; font-weight: 800; color: var(--primary); font-family: "Inter", sans-serif; line-height: 1.2; }
.stock-flow span { font-size: .66rem; color: var(--muted); font-weight: 600; }
.stock-flow--sold { background: var(--accent-tint) !important; } .stock-flow--sold b { color: var(--accent-ink); }
.stock-flow--left { background: var(--primary) !important; } .stock-flow--left b, .stock-flow--left span { color: #fff; }
.next-stop { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); flex-wrap: wrap; }
.next-stop .icon { color: var(--primary); width: 22px; height: 22px; }
.next-stop small { display: block; font-size: .62rem; color: var(--muted); }
.next-stop strong { display: block; font-size: .76rem; color: var(--primary); line-height: 1.3; }

/* ---------- Pain strip ---------- */
.pains { padding-block: 40px 56px; background: var(--chaos-bg); border-block: 1px solid #E4E4E6; }
.pains__title { text-align: center; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); color: #3A3F44; margin-bottom: 24px; }
.pains__list { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .pains__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pains__list { grid-template-columns: repeat(5, 1fr); } }
.pain { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid #E4E4E6; }
.pain__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--danger-bg); color: var(--danger); }
.pain h3 { font-size: 1rem; color: #2C3136; }
.pain p { font-size: .88rem; color: var(--chaos); margin-top: 2px; line-height: 1.55; }

/* ---------- Comparison (centerpiece) ---------- */
.compare { transition: background-color .6s var(--ease); background: #F4F4F5; }
.compare[data-state="with"] { background: var(--primary-tint-2); }
.cmp-toggle-wrap { display: grid; justify-items: center; gap: 10px; margin-bottom: 36px; }
.cmp-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); width: min(100%, 460px); }
.cmp-toggle__knob { position: absolute; top: 6px; bottom: 6px; inset-inline-start: 6px; width: calc(50% - 6px); border-radius: 999px; background: #5D6369; transition: transform .45s var(--ease), background-color .45s; }
.compare[data-state="with"] .cmp-toggle__knob { background: var(--primary); transform: translateX(-100%); }
html[dir="ltr"] .compare[data-state="with"] .cmp-toggle__knob { transform: translateX(100%); }
.cmp-toggle__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 8px 14px; border: 0; background: transparent; border-radius: 999px; font-weight: 800; font-size: 1.05rem; cursor: pointer; color: var(--muted); transition: color .3s; }
.cmp-toggle__btn[aria-pressed="true"] { color: #fff; }
.cmp-hint { font-size: .9rem; color: var(--muted); font-weight: 600; transition: opacity .3s; }
.compare[data-state="with"] .cmp-hint, .compare.was-toggled .cmp-hint { opacity: 0; }
.compare:not(.was-toggled) .cmp-toggle__btn[data-state="with"] { animation: nudge 2.4s 1.2s ease-in-out infinite; }

.cmp-visual { display: grid; gap: 16px; margin-bottom: 28px; }
.cmp-fig { margin: 0; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; transition: opacity .5s var(--ease), filter .5s, transform .5s var(--ease), box-shadow .5s; }
.cmp-fig svg { width: 100%; max-width: 320px; margin-inline: auto; height: auto; }
.cmp-fig figcaption { margin-top: 8px; font-weight: 700; font-size: .95rem; }
.cmp-fig--without figcaption { color: #4A4F55; }
.cmp-fig--with figcaption { color: var(--primary); }
/* chaos svg */
.chaos .paper { fill: #fff; stroke: #B7BCC1; stroke-width: 2; }
.chaos .ink { stroke: #C9CDD1; stroke-width: 3; stroke-linecap: round; }
.chaos .sheet { fill: #F6F7F6; stroke: #A9B0AE; stroke-width: 2; }
.chaos .grid { stroke: #C8CDCB; stroke-width: 1.5; }
.chaos .bad { fill: var(--danger); font: 700 12px "Inter", sans-serif; text-anchor: middle; }
.chaos .device { fill: #4A5056; }
.chaos .q { fill: #fff; font: 800 30px "Inter", sans-serif; text-anchor: middle; }
.chaos .ring { stroke: var(--danger); stroke-width: 3; fill: none; stroke-linecap: round; }
.chaos .warn { fill: var(--danger); }
.chaos .warn-t { fill: #fff; font: 800 18px "Inter", sans-serif; text-anchor: middle; }
.chaos .scribble { stroke: #9AA0A6; stroke-width: 2; fill: none; stroke-dasharray: 4 4; }
.compare[data-state="without"] .chaos > g { animation: jitter 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.compare[data-state="without"] .chaos > g:nth-child(2) { animation-delay: -1s; }
.compare[data-state="without"] .chaos > g:nth-child(3) { animation-delay: -2s; }
/* order svg */
.order .frame { fill: #fff; stroke: var(--primary); stroke-width: 2.5; }
.order .frame-top { fill: var(--primary); }
.order .dot { fill: rgba(255, 255, 255, .6); }
.order .tile { fill: var(--primary-tint); }
.order .tile--gold { fill: var(--accent-tint); }
.order .tline { stroke: var(--primary); stroke-width: 4; stroke-linecap: round; }
.order .tline--b { stroke: #9DB6BB; stroke-width: 3; }
.order .bar1 { fill: var(--primary); } .order .bar2 { fill: var(--accent); }
.order .pie-bg { fill: var(--primary); } .order .pie { fill: var(--accent); }
.order .ok { fill: var(--ok); } .order .ok-t { stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.cmp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .cmp-stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 18px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; transition: border-color .5s, box-shadow .5s; }
.stat__val { display: block; font-family: "Inter", sans-serif; font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); line-height: 1.1; color: var(--chaos); transition: color .5s; direction: ltr; }
.stat__label { display: block; margin-top: 6px; font-size: .88rem; font-weight: 600; color: var(--muted); line-height: 1.45; }
.compare[data-state="without"] .stat__label--with, .compare[data-state="with"] .stat__label--without { display: none; }
.compare[data-state="without"] .stat__val { color: #8B9096; }
.compare[data-state="with"] .stat { border-color: rgba(2, 54, 66, .2); box-shadow: var(--shadow-sm); }
.compare[data-state="with"] .stat__val { color: var(--primary); }
.compare[data-state="with"] .stat:nth-child(2) .stat__val { color: var(--accent-ink); }
.cmp-note { margin-top: 10px; text-align: center; font-size: .8rem; color: var(--muted); }

.cmp-table { margin-top: 36px; display: grid; gap: 12px; }
.cmp-head { display: none; }
.cmp-row { position: relative; display: grid; grid-template-areas: "title" "cell"; gap: 10px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .5s, box-shadow .5s; }
.cmp-row__title { grid-area: title; display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.cmp-row__title .icon { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--primary-tint); color: var(--primary); transition: background-color .5s, color .5s; }
.compare[data-state="without"] .cmp-row__title { color: #3A3F44; }
.compare[data-state="without"] .cmp-row__title .icon { background: var(--chaos-bg); color: var(--chaos); }
.cmp-cell { grid-area: cell; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: .98rem; transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s; }
.cmp-cell .icon { margin-top: .2em; width: 22px; height: 22px; padding: 3px; border-radius: 50%; stroke-width: 2.6; }
.cmp-cell--without { background: var(--danger-bg); color: #5B2A25; }
.cmp-cell--without .icon { background: var(--danger); color: #fff; }
.cmp-cell--with { background: var(--primary-tint); color: var(--primary-dark); font-weight: 600; }
.cmp-cell--with .icon { background: var(--primary); color: #fff; }
.compare[data-state="with"] .cmp-row { border-color: rgba(2, 54, 66, .18); box-shadow: var(--shadow-sm); }

@media (max-width: 899px) {
  /* Mobile: toggle stays reachable while scrolling the cards */
  .cmp-toggle-wrap { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; }
  .cmp-hint { background: rgba(255, 255, 255, .9); padding: 0 10px; border-radius: 99px; }
  /* Mobile: only the active state is shown, cross-fading in place */
  .compare[data-state="without"] .cmp-cell--with,
  .compare[data-state="with"] .cmp-cell--without { opacity: 0; visibility: hidden; transform: translateY(8px); }
  .compare[data-state="without"] .cmp-fig--with,
  .compare[data-state="with"] .cmp-fig--without { display: none; }
  .cmp-fig { animation: fadeUp .45s var(--ease); }
}
/* Desktop: split screen, both sides visible, inactive side dimmed */
@media (min-width: 900px) {
  .cmp-visual { grid-template-columns: 1fr 1fr; gap: 24px; }
  .compare[data-state="with"] .cmp-fig--without,
  .compare[data-state="without"] .cmp-fig--with { opacity: .45; filter: grayscale(1); transform: scale(.97); }
  .compare[data-state="without"] .cmp-fig--without { box-shadow: var(--shadow); border-color: #E3B4AE; }
  .compare[data-state="with"] .cmp-fig--with { box-shadow: var(--shadow); border-color: rgba(2, 54, 66, .35); }

  .cmp-table { gap: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
  .cmp-head, .cmp-row { display: grid; grid-template-columns: 230px 1fr 1fr; grid-template-areas: none; gap: 0; }
  .cmp-head { font-weight: 800; font-size: .95rem; background: var(--primary-tint-2); border-bottom: 1px solid var(--line); }
  .cmp-head span { padding: 14px 20px; transition: color .4s, background-color .4s; }
  .cmp-head__without { color: var(--danger); }
  .cmp-head__with { color: var(--primary); }
  .compare[data-state="without"] .cmp-head__without { background: var(--danger-bg); }
  .compare[data-state="with"] .cmp-head__with { background: var(--primary); color: #fff; }
  .cmp-row { padding: 0; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); box-shadow: none !important; }
  .cmp-row:last-child { border-bottom: 0; }
  .cmp-row__title, .cmp-cell { grid-area: auto; padding: 18px 20px; border-radius: 0; }
  .cmp-cell { background: transparent; }
  .compare[data-state="without"] .cmp-cell--without { background: var(--danger-bg); }
  .compare[data-state="with"] .cmp-cell--with { background: var(--primary-tint); }
  .compare[data-state="with"] .cmp-cell--without,
  .compare[data-state="without"] .cmp-cell--with { opacity: .42; filter: grayscale(1); }
}

/* ---------- Warehouse ---------- */
.warehouse { background: var(--surface); }
.wh-dash { position: relative; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); margin-bottom: 48px; }
.wh-dash__inner { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: inherit; }
@media (min-width: 900px) { .wh-dash__inner { grid-template-columns: 240px minmax(0, 1fr); } }
.wh-side { background: var(--primary); color: #fff; padding: 18px; }
.wh-side__h { font-weight: 800; margin-bottom: 10px; color: var(--accent); font-size: .9rem; }
.wh-side ul { display: grid; gap: 4px; }
.wh-side li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.wh-side li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-side li em { font-style: normal; font-size: .68rem; padding: 1px 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); white-space: nowrap; }
.wh-side li.is-active { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 700; }
@media (max-width: 899px) {
  .wh-side ul { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .wh-side li { flex: none; background: rgba(255, 255, 255, .06); }
}
.wh-main { padding: 18px; display: grid; gap: 14px; min-width: 0; }
.wh-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .wh-kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi--moves .kpi__val { text-align: end; } html[dir="ltr"] .kpi--moves .kpi__val { text-align: start; }
.kpi--moves .in { color: var(--ok); } .kpi--moves .out { color: var(--danger); }
.wh-alert { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--danger-bg); color: var(--danger); font-weight: 700; font-size: .88rem; border: 1px solid #F8CFC9; }
.wh-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.wh-table th { text-align: start; font-size: .75rem; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.wh-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); color: var(--text); }
.wh-table tr:last-child td { border-bottom: 0; }
.wh-table .num { text-align: end; font-family: "Inter", var(--font); font-variant-numeric: tabular-nums; }
.wh-table tr.is-short td { background: #FFF8F7; }
.wh-table tr.is-short .num:nth-child(3) { color: var(--danger); font-weight: 800; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.tag--ok { background: var(--ok-bg); color: var(--ok); }
.tag--low { background: var(--warn-bg); color: var(--warn); }
.tag--short { background: var(--danger); color: #fff; animation: pulseBadge 2s infinite; }
@media (max-width: 699px) { .hide-sm { display: none; } .wh-table { font-size: .84rem; } }
@media (max-width: 380px) { .hide-xs { display: none; } }

.feature-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: var(--accent); margin-bottom: 12px; }
.feature__icon .icon { width: 24px; height: 24px; }
.feature__icon--alert { background: var(--danger-bg); color: var(--danger); }
.feature h3 { font-size: 1.05rem; }
.feature p { margin-top: 4px; color: var(--muted); font-size: .93rem; }

/* ---------- Split layout ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1.1fr; gap: 64px; } .split--reverse .split__copy { order: 2; } }
.check-list { margin-top: 24px; display: grid; gap: 10px; }
@media (min-width: 560px) { .live-map .check-list { grid-template-columns: 1fr 1fr; } }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check-list .icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--primary-tint); color: var(--primary); }
.check-list--light li { color: #fff; }
.check-list--light .icon { background: rgba(214, 152, 49, .18); color: var(--accent); }

/* ---------- Live map ---------- */
.live-map { background: var(--bg); }
.map-card { position: relative; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 12px; }
.big-map { width: 100%; height: auto; aspect-ratio: 400 / 280; border-radius: 14px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 10px 6px 4px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.map-legend li { display: flex; align-items: center; gap: 6px; }
.rep-card { margin-top: 10px; padding: 14px; border-radius: 16px; background: var(--primary-tint-2); border: 1px solid var(--line); display: grid; gap: 12px; }
@media (min-width: 700px) { .rep-card { position: absolute; top: 28px; left: -20px; width: 290px; margin: 0; background: var(--surface); box-shadow: var(--shadow-lg); } }
@media (min-width: 1024px) and (max-width: 1240px) { .rep-card { left: 12px; } }
.rep-card__head { display: flex; align-items: center; gap: 10px; }
.rep-card__head strong { display: block; color: var(--primary); font-size: .95rem; }
.rep-card__head small { color: var(--muted); font-size: .76rem; }
.rep-card__head .pill { margin-inline-start: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--accent); display: grid; place-items: center; flex: none; }
.avatar--sm { width: 34px; height: 34px; }
.rep-card__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; }
.rep-card__stats div { text-align: center; padding: 6px 2px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.rep-card__stats dt { font-size: .64rem; color: var(--muted); font-weight: 600; line-height: 1.3; }
.rep-card__stats dd { margin: 0; font-weight: 800; color: var(--primary); font-family: "Inter", sans-serif; font-size: .95rem; }

/* ---------- WhatsApp feature ---------- */
.wa-feature { background: radial-gradient(800px 500px at 20% 20%, #0A4A58 0%, transparent 60%), var(--primary); color: #fff; }
.wa-feature h2 { color: #fff; }
.wa-feature .section__sub { color: rgba(255, 255, 255, .8); }
.wa-phone-wrap { position: relative; display: flex; justify-content: center; }
.mock-phone--wa { width: 280px; }
.wa-screen { padding: 0; gap: 0; background: #ECE5DD; }
.wa-top { display: flex; align-items: center; gap: 10px; padding: 22px 14px 12px; background: #075E54; color: #fff; }
.wa-top strong { display: block; font-size: .88rem; }
.wa-top small { font-size: .7rem; opacity: .8; }
.wa-top .avatar { background: #fff; color: #075E54; }
.wa-chat { flex: 1; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end;
  background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px); background-size: 14px 14px; }
.wa-bubble { position: relative; max-width: 86%; padding: 8px 10px 6px; border-radius: 10px; font-size: .82rem; line-height: 1.5; color: #111; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.wa-bubble time { display: block; text-align: end; font-size: .62rem; color: #667; margin-top: 2px; font-family: "Inter", sans-serif; direction: ltr; }
.wa-bubble--in { background: #fff; align-self: flex-start; border-start-start-radius: 2px; }
.wa-bubble--out { background: #D9FDD3; align-self: flex-end; border-start-end-radius: 2px; }
.wa-typing { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px; background: #fff; font-size: .72rem; color: #667; }
.wa-typing i { width: 5px; height: 5px; border-radius: 50%; background: #9AA; animation: typing 1s infinite; }
.wa-typing i:nth-of-type(2) { animation-delay: .15s; } .wa-typing i:nth-of-type(3) { animation-delay: .3s; }
.wa-input { display: flex; align-items: center; justify-content: space-between; margin: 8px; padding: 9px 14px; border-radius: 99px; background: #fff; color: #889; font-size: .78rem; }
.wa-input .icon { color: #075E54; }
/* chat sequence (JS adds .is-shown); without JS everything is visible */
.js .wa-step { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js .wa-step.is-shown { opacity: 1; transform: none; }
.js .wa-typing.is-gone { display: none; }
.eta-chip { position: absolute; top: 30%; inset-inline-start: calc(50% + 120px); display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: var(--accent); color: var(--primary-dark); font-weight: 800; font-family: "Inter", sans-serif; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); animation: floatY 5s ease-in-out infinite; }
@media (max-width: 480px) { .eta-chip { inset-inline-start: auto; inset-inline-end: 0; top: 12%; } }

/* ---------- Modules ---------- */
.modules { background: var(--surface); }
.module-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .module-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .module-grid { grid-template-columns: repeat(5, 1fr); } }
.module { position: relative; padding: 18px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.module > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--primary-tint); color: var(--primary); margin-bottom: 10px; }
.module h3 { font-size: .98rem; }
.module p { margin-top: 4px; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.module--opt { background: var(--bg); border-style: dashed; }
.module--opt > .icon { background: var(--accent-tint); color: var(--accent-ink); }
.module__tag { position: absolute; top: 12px; inset-inline-end: 12px; font-size: .68rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--accent-tint); color: var(--accent-ink); }

/* ---------- Who ---------- */
.who { background: var(--bg); }
.who-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .who-grid { grid-template-columns: repeat(4, 1fr); } }
.who-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.who-card > .icon { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--primary); color: var(--accent); margin-bottom: 14px; }
.who-card h3 { font-size: 1.1rem; }
.who-card p { margin-top: 6px; color: var(--muted); font-size: .94rem; }

/* ---------- How ---------- */
.how { background: var(--surface); }
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--primary-tint-2); border: 1px solid var(--line); }
.step__num { position: absolute; top: 20px; inset-inline-end: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--primary-dark); font-weight: 800; font-family: "Inter", sans-serif; }
.step > .icon { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--primary); color: #fff; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; }
.step p { margin-top: 6px; color: var(--muted); }
@media (min-width: 900px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 46px; inset-inline-start: calc(100% + 2px); width: 20px; border-top: 2px dashed var(--accent); }
}

/* ---------- App ---------- */
.app { background: linear-gradient(180deg, var(--bg), var(--primary-tint-2)); }
.app-screens { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: thin; }
@media (min-width: 900px) { .app-screens { justify-content: center; overflow: visible; gap: 40px; margin: 0; } }
.app-screen { flex: none; scroll-snap-align: center; }
.app-screen:nth-child(2) { transform: translateY(-16px); }
.app-screen .mock-phone { width: 230px; }
.onb { padding: 16px; text-align: center; }
.onb__art { flex: 1; display: grid; place-items: center; border-radius: 16px; background: var(--primary-tint-2); padding: 10px; min-height: 0; }
.onb__art svg { width: 100%; height: auto; }
.onb h3 { font-size: 1.05rem; margin-top: 4px; }
.onb p { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.onb__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.onb__dots { display: flex; gap: 5px; } .onb__dots i { width: 6px; height: 6px; border-radius: 99px; background: #C8D3D5; } .onb__dots i.on { width: 18px; background: var(--primary); }
.onb__btn { padding: 6px 16px; border-radius: 99px; background: var(--accent); color: var(--primary-dark); font-weight: 800; font-size: .78rem; }
.onb__list { display: flex; flex-direction: column; justify-content: center; gap: 8px; place-items: stretch; }
.drow { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: #fff; font-size: .76rem; font-weight: 700; color: var(--primary); text-align: start; }
.drow span { flex: 1; }
.drow em { font-style: normal; font-size: .64rem; padding: 1px 8px; border-radius: 99px; }
.drow .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; }
.drow--done .icon { background: var(--ok); color: #fff; stroke-width: 3; } .drow--done em { background: var(--ok-bg); color: var(--ok); }
.drow--go { border: 1.5px solid var(--accent); } .drow--go .icon { background: var(--accent-tint); color: var(--accent-ink); } .drow--go em { background: var(--accent); color: var(--primary-dark); }
.onb__stock { display: flex; flex-direction: column; justify-content: center; gap: 12px; place-items: stretch; }
.sbar { display: grid; grid-template-columns: 46px 1fr 30px; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; color: var(--muted); text-align: start; }
.sbar i { height: 10px; border-radius: 99px; background: var(--primary-tint); position: relative; overflow: hidden; }
.sbar i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); background: #A9BABD; border-radius: inherit; }
.sbar--gold i::after { background: var(--accent); } .sbar--teal i::after { background: var(--primary); }
.sbar b { font-family: "Inter", sans-serif; color: var(--primary); font-size: .8rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--surface); }
.accordion { display: grid; gap: 10px; }
.acc { border-radius: 14px; border: 1px solid var(--line); background: var(--bg); transition: background-color .25s, box-shadow .25s; }
.acc[open] { background: var(--surface); box-shadow: var(--shadow); border-color: transparent; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; color: var(--primary); font-size: 1.04rem; border-radius: 14px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { transition: transform .3s var(--ease); color: var(--accent-ink); }
.acc[open] summary .icon { transform: rotate(180deg); }
.acc__body { padding: 0 20px 18px; color: var(--muted); }
.acc[open] .acc__body { animation: fadeDown .3s var(--ease); }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(700px 500px at 90% 10%, #0A4A58, transparent 60%), var(--primary-dark); color: #fff; }
.contact__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.contact h2 { color: #fff; }
.contact .section__sub { color: rgba(255, 255, 255, .8); }
.contact__or { margin: 28px 0 12px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.form-card { background: var(--surface); color: var(--text); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-lg); }
@media (min-width: 600px) { .form-card { padding: 32px; } }
.form-card__title { font-size: 1.3rem; margin-bottom: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 700; font-size: .92rem; color: var(--primary); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid #C9D5D7; background: #fff;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23023642' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: left 14px center; padding-inline-end: 40px; }
html[dir="ltr"] .field select { background-position: right 14px center; }
.field input[dir="ltr"] { text-align: right; }
html[dir="ltr"] .field input[dir="ltr"] { text-align: left; }
.field input::placeholder { color: #8A9A9E; }
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(2, 54, 66, .12); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #FFFBFA; }
.field__err { min-height: 0; font-size: .82rem; color: var(--danger); font-weight: 600; }
.field__err:empty { display: none; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-msg--err { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--danger-bg); color: var(--danger); font-weight: 600; font-size: .9rem; }
.form-privacy { margin-top: 12px; text-align: center; font-size: .8rem; color: var(--muted); }
.form-ok { text-align: center; padding: 32px 8px; animation: fadeUp .5s var(--ease); }
.form-ok:focus { outline: none; }
.form-ok__icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.form-ok__icon .icon { width: 36px; height: 36px; stroke-width: 2.6; }
.form-ok h3 { font-size: 1.4rem; }
.form-ok p { margin-top: 8px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #011B21; color: rgba(255, 255, 255, .78); padding-top: 56px; font-size: .94rem; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__logo { width: 92px; height: auto; margin-bottom: 14px; padding: 8px; border-radius: 14px; background: #fff; }
.footer__h { font-size: 1rem; color: #fff; margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer__bottom { margin-top: 40px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.wa-float {
  position: fixed; z-index: 60; bottom: 20px; inset-inline-end: 20px; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 25px rgba(31, 168, 85, .4);
  transition: transform .25s var(--ease), bottom .3s var(--ease);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ringOut 2.4s infinite; }
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr auto; gap: 8px; position: fixed; z-index: 55; inset-inline: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(2, 54, 66, .08);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-bar .btn { min-height: 48px; padding-inline: 1em; }
  body.bar-visible .mobile-bar { transform: none; }
  body.bar-visible .wa-float { bottom: 88px; }
  body.bar-visible { padding-bottom: 72px; }
  .wa-float { width: 54px; height: 54px; bottom: 16px; inset-inline-end: 16px; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes ping { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes ringOut { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes jitter { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(1.5px, -1px) rotate(.6deg); } 75% { transform: translate(-1.5px, 1px) rotate(-.6deg); } }
@keyframes nudge { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.06); } 90% { transform: scale(.98); } }
@keyframes pulseBadge { 0%, 100% { box-shadow: 0 0 0 0 rgba(180, 35, 24, .45); } 50% { box-shadow: 0 0 0 6px rgba(180, 35, 24, 0); } }

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