/* =========================================================
   شركة التوازي — الأنماط الرئيسية
   ========================================================= */
:root {
  /* ألوان الهوية — مأخوذة من الشعار */
  --teal: #00A69C;
  --navy: #282561;
  --teal-light: #2FD0C3;
  --navy-light: #7C78E0;
  --ink: #12113A;
  --ink-2: #1B1950;
  --text: #1F1E3D;
  --muted: #5E5D78;
  --line: #E4E6EF;
  --bg: #FFFFFF;
  --soft: #F3F6F9;
  --grad: linear-gradient(120deg, var(--teal) 0%, #157A9E 50%, var(--navy) 100%);
  --grad-light: linear-gradient(120deg, var(--teal-light) 0%, #5BA8E6 50%, var(--navy-light) 100%);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 18, 32, .08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, .16);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: 'Cairo', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .grad-text, .section--dark .grad-text { background-image: var(--grad-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 1rem; transition: transform .25s, box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); background-size: 200% 100%; color: #fff; box-shadow: 0 10px 25px rgba(0, 166, 156, .3); }
.btn--primary:hover { transform: translateY(-3px); background-position: 100% 0; box-shadow: 0 16px 35px rgba(0, 166, 156, .4); }
.btn--ghost { border: 2px solid rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--sm { padding: 10px 20px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(11, 18, 32, .85); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(0,0,0,.2); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; }
.brand__logo { height: 46px; width: auto; }

.nav { display: flex; gap: 6px; }
.nav__link {
  color: rgba(255,255,255,.8); padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; transition: .25s;
}
.nav__link:hover, .nav__link.active { color: #fff; background: rgba(255,255,255,.1); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,.1); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--ink); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; animation: float 14s ease-in-out infinite; }
.blob--c { width: 460px; height: 460px; background: var(--teal); top: -120px; right: -100px; }
.blob--m { width: 420px; height: 420px; background: #3D38B8; bottom: -160px; left: 10%; animation-delay: -4s; }
.blob--y { width: 280px; height: 280px; background: var(--teal-light); top: 35%; left: -80px; opacity: .25; animation-delay: -8s; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-40px) scale(1.08); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px; font-size: .88rem; font-weight: 700;
  background: rgba(0, 166, 156, .1); color: var(--teal); margin-bottom: 18px;
}
.hero .eyebrow, .eyebrow--light { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.12); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 0 4px rgba(47,208,195,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(47,208,195,0); } }

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.3; font-weight: 900; margin-bottom: 20px; }
.lead { font-size: 1.12rem; color: rgba(255,255,255,.75); max-width: 560px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 2.2rem; font-weight: 900; line-height: 1.1; }
.hero__stats span { color: rgba(255,255,255,.6); font-size: .9rem; }

/* Printer illustration */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.printer-card { width: min(420px, 100%); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.printer { position: relative; z-index: 2; }
.printer__top {
  height: 70px; border-radius: 18px 18px 6px 6px;
  background: linear-gradient(180deg, #2C2A6A, #1B1950);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 8px; padding: 0 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.led { width: 8px; height: 8px; border-radius: 50%; }
.led--g { background: #2EE59D; box-shadow: 0 0 10px #2EE59D; }
.led--c { background: var(--teal-light); box-shadow: 0 0 10px var(--teal-light); }
.led--m { background: var(--navy-light); box-shadow: 0 0 10px var(--navy-light); }
.printer__screen { margin-inline-start: auto; font-family: monospace; font-size: .8rem; padding: 4px 12px; border-radius: 6px; background: #0B0A26; color: var(--teal-light); direction: ltr; }
.printer__head { height: 14px; background: #100F30; position: relative; overflow: hidden; }
.printer__head span { position: absolute; top: 2px; width: 60px; height: 10px; border-radius: 3px; background: var(--grad); animation: head 2.4s ease-in-out infinite alternate; }
@keyframes head { from { right: 4%; } to { right: calc(96% - 60px); } }
.printer__body { height: 22px; background: linear-gradient(180deg, #1B1950, #0E0D2C); border-radius: 0 0 10px 10px; }
.banner {
  margin: -4px 7% 0; height: 230px; background: #fff; border-radius: 0 0 8px 8px; overflow: hidden;
  box-shadow: 0 30px 50px rgba(0,0,0,.35); position: relative;
  transform-origin: top; animation: feed 4s ease-out infinite;
}
@keyframes feed { 0% { clip-path: inset(0 0 100% 0); } 60%, 100% { clip-path: inset(0 0 0 0); } }
.banner__print {
  position: absolute; inset: 14px; border-radius: 6px; background: var(--grad);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
}
.banner__print img { width: 78%; height: auto; margin-bottom: 14px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.2)); }
.banner__print small { letter-spacing: 4px; font-weight: 700; opacity: .9; direction: ltr; }

.float-chip {
  position: absolute; z-index: 3; padding: 10px 16px; border-radius: 14px; font-weight: 700; font-size: .85rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(12px);
  display: flex; align-items: center; gap: 8px; direction: ltr; animation: bob 5s ease-in-out infinite;
}
.float-chip i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.chip-1 { top: 8%; left: -2%; }
.chip-2 { bottom: 18%; right: -4%; animation-delay: -1.5s; }
.chip-3 { bottom: 2%; left: 6%; animation-delay: -3s; }

/* ---------- Marquee ---------- */
.marquee { background: var(--grad); color: #fff; overflow: hidden; padding: 16px 0; direction: ltr; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-weight: 800; font-size: 1.1rem; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.section--dark::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: var(--teal); filter: blur(160px); opacity: .2; top: -200px; left: -200px; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 900; line-height: 1.35; margin-bottom: 14px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Filters & products ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 700; cursor: pointer; transition: .25s; color: var(--muted);
}
.filter:hover { border-color: var(--teal); color: var(--teal); }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.products { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.product { flex: 0 1 calc((100% - 48px) / 3); }
.product {
  position: relative; padding: 32px 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: transform .35s, box-shadow .35s, border-color .35s, opacity .35s;
  overflow: hidden;
}
.product::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .4s; }
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product:hover::after { transform: scaleX(1); }
.product.hide { display: none; }
.product__icon {
  width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff;
  box-shadow: 0 12px 24px -8px var(--c1);
}
.product__icon svg { width: 38px; height: 38px; }
.product h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.product p { color: var(--muted); font-size: .97rem; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--text); }

/* ---------- Machines ---------- */
.machines { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; margin-bottom: 48px; }
.machines__content p { color: rgba(255,255,255,.7); margin-bottom: 24px; font-size: 1.05rem; }
.checklist { display: grid; gap: 14px; margin-bottom: 28px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checklist li::before {
  content: "✓"; flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: .85rem; font-weight: 900;
}
.agency { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 14px 20px; border-radius: 18px; background: rgba(47,208,195,.08); border: 1px solid rgba(47,208,195,.3); }
.agency__label { font-weight: 700; color: var(--teal-light); }
.agency__brands { display: flex; gap: 10px; }
.agency__brands strong { padding: 6px 18px; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 900; font-size: 1.1rem; }

.machines__cards { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mcard {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px);
  transition: .35s;
}
.mcard:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); border-color: rgba(47,208,195,.5); }
.mcard__type { display: inline-block; direction: ltr; font-size: .78rem; font-weight: 800; letter-spacing: .5px; color: var(--teal-light); margin-bottom: 6px; }
.mcard h4 { font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; }
.mcard__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.mcard__row > span { flex: 0 0 96px; font-size: .85rem; color: rgba(255,255,255,.55); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .85rem; font-weight: 700; }
.mcard p { margin-top: 6px; font-size: .93rem; color: rgba(255,255,255,.65); }
.mcard__badge { position: absolute; top: 22px; left: 22px; font-size: .75rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--teal-light); color: var(--ink); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { padding: 34px 28px; border-radius: var(--radius); background: var(--soft); transition: .35s; position: relative; overflow: hidden; }
.feature:hover { background: var(--ink); color: #fff; transform: translateY(-6px); }
.feature:hover p { color: rgba(255,255,255,.7); }
.feature__num { font-size: 3rem; font-weight: 900; line-height: 1; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feature h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; transition: color .35s; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__content p { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; }
.about__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about__boxes > div { padding: 22px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--teal); }
.about__boxes > div:last-child { border-top-color: var(--navy); }
.about__boxes strong { font-size: 1.1rem; }
.about__boxes p { margin: 6px 0 0; font-size: .95rem; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 420px; margin-inline: auto; }
.tiles span {
  aspect-ratio: 1; border-radius: 28px; background: var(--c); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 900;
  box-shadow: 0 20px 40px -12px var(--c); transition: transform .4s;
}
.tiles svg { width: 44%; height: auto; }
.tiles span:nth-child(1) { transform: rotate(-4deg); }
.tiles span:nth-child(4) { transform: rotate(4deg); }
.tiles span:hover { transform: scale(1.06) rotate(0); }

/* ---------- Agents map ---------- */
.agents { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.agents__content > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; }
.agents__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.agent {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
  background: var(--soft); border: 1.5px solid transparent; cursor: default; transition: .25s;
}
.agent:hover, .agent.active { border-color: var(--teal); background: #fff; box-shadow: var(--shadow); }
.agent strong { display: block; font-size: 1.05rem; }
.agent small { color: var(--muted); font-size: .82rem; }
.agent__pin { flex: 0 0 14px; height: 14px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,166,156,.18); }
.agent--hq { grid-column: 1 / -1; background: var(--ink); color: #fff; }
.agent--hq small { color: rgba(255,255,255,.7); }
.agent--hq:hover, .agent--hq.active { background: var(--ink-2); }
.agent--hq .agent__pin { background: var(--teal-light); box-shadow: 0 0 0 4px rgba(47,208,195,.25); }
.agents__note { font-size: .92rem; color: var(--muted); }

.agents__map { position: relative; padding: 24px; border-radius: 28px; background: var(--soft); }
.agents__map svg { width: 100%; height: auto; overflow: visible; direction: ltr; }
.map__land { fill: url(#iraqFill); stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; opacity: .9; }
.map__routes path { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 6 7; opacity: .7; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.map__city .dot { fill: var(--teal); stroke: #fff; stroke-width: 3; transition: transform .25s; transform-box: fill-box; transform-origin: center; }
.map__city .pulse { fill: var(--teal); opacity: .35; transform-box: fill-box; transform-origin: center; animation: ping 2.2s ease-out infinite; }
.map__city text {
  font-family: 'Cairo', sans-serif; font-size: 25px; font-weight: 800; fill: var(--ink);
  paint-order: stroke; stroke: var(--soft); stroke-width: 6px; stroke-linejoin: round;
}
.map__city--hq .dot { fill: var(--navy); }
.map__city--hq .core { fill: var(--teal-light); }
.map__city--hq .pulse { fill: var(--navy); }
.map__city--hq text { font-size: 26px; fill: var(--navy); }
.map__city.active .dot { transform: scale(1.35); }
@keyframes ping { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- CTA ---------- */
.cta { padding: 0 0 20px; }
.cta__inner {
  background: var(--grad); border-radius: 28px; padding: 56px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  box-shadow: 0 30px 60px -20px rgba(0,166,156,.5);
}
.cta h2 { margin-bottom: 4px; }
.cta p { opacity: .9; font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__info > p { color: var(--muted); margin-bottom: 30px; }
.contact__list { display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; background: var(--soft); }
.ci { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.ci svg { width: 22px; height: 22px; }
.contact__list small { display: block; color: var(--muted); font-size: .8rem; }
.contact__list strong, .contact__list a { font-weight: 700; }
.contact__list a:hover { color: var(--teal); }
.phones { display: flex; flex-wrap: wrap; gap: 4px 16px; }

.form { position: relative; padding: 40px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 16px; }
.form h3 { font-size: 1.5rem; font-weight: 900; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--soft);
  font-weight: 500; transition: .25s; outline: none; resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(0,166,156,.1); }
.form .invalid { border-color: #E5484D; }
.form [dir="ltr"] { text-align: right; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; }
.form__status { min-height: 1.6em; font-weight: 700; text-align: center; }
.form__status.ok { color: #0E9F6E; }
.form__status.err { color: #E5484D; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: 72px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a:hover { color: var(--teal-light); }
.footer__about { margin: 16px 0 20px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: .25s; }
.socials a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .9rem; text-align: center; }

/* ---------- Floating buttons ---------- */
.wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  animation: wa 2.5s infinite;
}
@keyframes wa { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }
.to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 14px; border: 0;
  background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(20px); transition: .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product { flex-basis: calc((100% - 24px) / 2); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; top: var(--header-h); inset-inline: 0; flex-direction: column; gap: 4px;
    padding: 16px; background: rgba(11,18,32,.97); backdrop-filter: blur(14px);
    transform: translateY(-120%); opacity: 0; transition: .35s; pointer-events: none;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 14px 16px; border-radius: 12px; }
  .burger { display: flex; }
  .header__actions .btn { display: none; }
  .header { background: rgba(11, 18, 32, .85); backdrop-filter: blur(14px); }

  .hero__inner, .machines, .about, .contact, .machines__cards { grid-template-columns: 1fr; }
  .machines { gap: 28px; }
  .hero { min-height: auto; }
  .hero__visual { min-height: 360px; }
  .about__visual { order: 2; }
  .agents { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .cta__inner { padding: 40px 28px; }
}
@media (max-width: 600px) {
  .features, .about__boxes, .form__row { grid-template-columns: 1fr; }
  .product { flex-basis: 100%; }
  .agents__map { padding: 12px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .hero__stats strong { font-size: 1.7rem; }
  .mcard__row > span { flex-basis: 100%; }
  .form { padding: 26px 20px; }
  .float-chip { font-size: .75rem; padding: 8px 12px; }
  .chip-1 { left: 0; } .chip-2 { right: 0; }
  .banner { height: 180px; }
  .brand__logo { height: 38px; }
}

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