﻿/* ─────────────────────────────────────────────────────────────
   Sahlix marketing — design system
   Plum + magenta accent. Mature. Setmore/Taker-style.
   ───────────────────────────────────────────────────────────── */

@font-face { font-family: "Gilroy"; src: url("fonts/Gilroy-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("fonts/Gilroy-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("fonts/Gilroy-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("fonts/Gilroy-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root{
  /* Brand — Sahlix pink palette 2026 */
  --plum-900:    #111111;
  --plum-700:    #C2005F;
  --plum-600:    #E91E78;
  --magenta:     #E91E78;
  --magenta-700: #C2005F;
  --violet:      #E91E78;
  --rose-700:    #C2005F;

  /* Tints */
  --tint:        #F5EEFF;
  --tint-2:      #EDE5FF;
  --tint-violet: #F5EEFF;
  --border-tint: #E8DAFF;

  /* Neutrals */
  --ink-900:    #111111;
  --ink-700:    #333333;
  --ink-600:    #555555;
  --ink-500:    #6B6B6B;
  --ink-400:    #888888;
  --ink-300:    #AAAAAA;
  --ink-200:    #D0D0D0;
  --border:     #E8DAFF;
  --line:       #F0EAFF;
  --bg-soft:    #F0F0EB;
  --bg-card:    #F5EEFF;

  /* Status */
  --success-bg: #ECFDF3;
  --success-fg: #027A48;
  --warning-bg: #FEF3C7;
  --warning-fg: #B45309;

  /* Type */
  --font-sans: "Gilroy", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-arabic: "Noto Sans Arabic", "Gilroy", system-ui, sans-serif;
  --font-cyrillic: "Inter", "Gilroy", system-ui, sans-serif;

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

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
html { overscroll-behavior-y: none; }   /* убирает iOS-рубберband, который выглядит как «белая полоса и можно ещё скроллить» */
body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Typography ──────────────────────────────── */
.h1, h1, h1.h-display {
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--ink-900);
  margin: 0 0 18px;
}
.h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--ink-900);
  margin: 0 0 14px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-600) 50%, var(--magenta) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
}
.h3 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.h4 {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-900);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tint);
  color: var(--plum-600);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--border-tint);
  margin-bottom: 16px;
}
.eyebrow .dot { color: var(--magenta); }
.section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--plum-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
}
.lead {
  font-size: 16px;
  color: var(--ink-500);
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 540px;
  font-weight: 400;
}
[dir="rtl"] .lead { max-width: 540px; }
.muted { color: var(--ink-400); }

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  font-family: inherit;
}
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }

.btn-primary {
  background: var(--plum-900);
  color: #fff;
}
.btn-primary:hover { background: #000; transform: translateY(-1px); }

.btn-plum {
  background: var(--plum-600);
  color: #fff;
}
.btn-plum:hover { background: var(--plum-700); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(247,114,84,.32); }

.btn-magenta {
  background: var(--magenta);
  color: #fff;
}
.btn-magenta:hover { background: var(--magenta-700); transform: translateY(-1px); }

.btn-secondary {
  background: #FFFFFF;
  color: var(--ink-900);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--ink-900); }

.btn-ghost {
  background: transparent;
  color: var(--ink-700);
}
.btn-ghost:hover { background: var(--line); color: var(--ink-900); }

.btn-on-dark {
  background: #FFFFFF;
  color: var(--ink-900);
}
.btn-on-dark:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.24); }

.btn .arrow-rtl { display: inline-block; }
[dir="rtl"] .btn .arrow-rtl { transform: scaleX(-1); }

/* ─── Nav ────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; height: 68px; gap: 36px; }
/* Opt out of the global `img { max-width: 100% }` reset — on narrow flex rows
   the cap shrinks width while height: 36px stays fixed, squashing the logo. */
.brand { flex-shrink: 0; }
.brand img { height: 36px; width: auto; max-width: none; flex-shrink: 0; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 14px;
  color: var(--ink-500);
  font-weight: 500;
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
  align-self: center;
}
.nav-links a:hover { color: var(--ink-900); }

/* ── Nav dropdown ─────────────────────────────────────────── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger {
  font-size: 14px; color: var(--ink-500); font-weight: 500;
  white-space: nowrap; display: flex; align-items: center; gap: 5px;
  cursor: pointer; transition: color var(--dur) var(--ease);
}
.nav-dropdown:hover .nav-dropdown-trigger { color: var(--ink-900); }
.nav-dropdown-trigger::after {
  content: ''; display: inline-block; width: 5px; height: 5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-top: -3px;
  transition: transform var(--dur) var(--ease);
}
.nav-dropdown:hover .nav-dropdown-trigger::after { transform: rotate(-135deg); margin-top: 2px; }
.nav-dropdown-menu {
  display: none; flex-direction: column;
  position: absolute; top: calc(100% + 14px); left: 0;
  min-width: 210px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 6px; z-index: 200;
}
[dir="rtl"] .nav-dropdown-menu { left: auto; right: 0; }
.nav-dropdown:hover .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  display: block; padding: 9px 14px; border-radius: 8px;
  color: var(--ink-600); font-size: 14px; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-dropdown-menu a:hover { background: var(--tint); color: var(--plum-600); }
@media (max-width: 640px) { .nav-dropdown { display: none; } }

.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
[dir="rtl"] .nav-cta { margin-left: 0; margin-right: auto; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--line);
  border-radius: 999px;
  margin-right: 4px;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-400);
  border-radius: 999px;
  transition: all var(--dur) var(--ease);
}
.lang-switch a.active { background: #FFFFFF; color: var(--ink-900); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.lang-switch a:hover:not(.active) { color: var(--ink-700); }

/* ─── Section base ────────────────────────────── */
.section {
  padding: 96px 0;
  position: relative;
}
.section-tight { padding: 64px 0; }
.section-tint { background: #F0F0EB; }
.section-pink-fade { background: linear-gradient(135deg, #FF6BAE 0%, #FFB3D4 60%, #FFFFFF 100%); }
.section-dark { background: linear-gradient(120deg, #C2005F 0%, #E91E78 50%, #FF6BAE 100%); color: #fff; }
.section-dark .h2, .section-dark .h3 { color: #fff; }
.section-dark .lead { color: rgba(255,255,255,.7); }
.section-dark .section-label { color: var(--magenta); }

.section-head { max-width: 680px; }
.section-head.centered { margin: 0 auto; text-align: center; }
.section-head.centered .lead { margin-left: auto; margin-right: auto; }

/* ─── Hero ────────────────────────────────────── */
.hero { padding: 110px 0 90px; position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(247,114,84,.14), transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 80%, rgba(245,158,11,.10), transparent 60%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(233,30,120,.06) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 30%, transparent 75%);
  z-index: -1;
  opacity: .8;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  text-transform: uppercase;
}
[dir="rtl"] .hero h1 { text-transform: none; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-600) 55%, var(--magenta) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-micro { display: flex; gap: 20px; font-size: 13px; color: var(--ink-400); flex-wrap: wrap; }
.hero-micro span { display: inline-flex; gap: 6px; align-items: center; }
.hero-micro .ck { color: var(--success-fg); }

/* Hero visual: layered, with floating elements */
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 4.8;
  min-height: 420px;
}

/* ─── Hero carousel ────────────────────────────────────────── */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px -16px rgba(31,20,16,.28), 0 4px 12px rgba(0,0,0,.06);
  background: var(--plum-900);
  isolation: isolate;
}
.hero-carousel-track {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms var(--ease);
  pointer-events: none;
}
.hero-slide.on { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,20,16,0) 30%, rgba(31,20,16,.15) 55%, rgba(31,20,16,.78) 100%);
  z-index: 1;
}
.hero-slide-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 22px 26px 76px;
  color: #fff;
}
[dir="rtl"] .hero-slide-content { text-align: right; }
.hero-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.hero-slide-tag .glyph {
  display: inline-flex;
  width: 14px; height: 14px;
  align-items: center; justify-content: center;
}
.hero-slide-headline {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,.32);
  color: #fff;
  max-width: 90%;
}
.hero-slide-sub {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 8px rgba(0,0,0,.36);
  max-width: 86%;
}

/* Slide metric card (top-right corner) */
.hero-slide-metric {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  min-width: 92px;
}
[dir="rtl"] .hero-slide-metric { right: auto; left: 16px; align-items: flex-start; }
.hero-slide-metric .v {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--plum-700);
}
.hero-slide-metric .l {
  font-size: 10px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Controls */
.hero-carousel-nav {
  position: absolute;
  bottom: 18px; right: 22px;
  top: auto;
  z-index: 3;
  display: flex;
  gap: 8px;
}
[dir="rtl"] .hero-carousel-nav { right: auto; left: 22px; }
.hero-carousel-nav button {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hero-carousel-nav button:hover {
  background: rgba(255,255,255,.32);
  transform: translateY(-1px);
}
[dir="rtl"] .hero-carousel-nav button svg { transform: scaleX(-1); }

/* Dots */
.hero-carousel-dots {
  position: absolute;
  bottom: 28px; left: 26px;
  top: auto;
  z-index: 3;
  display: flex;
  gap: 6px;
}
[dir="rtl"] .hero-carousel-dots { left: auto; right: 26px; }
.hero-carousel-dots button {
  width: 24px; height: 4px;
  border-radius: 2px;
  border: 0;
  background: rgba(255,255,255,.32);
  cursor: pointer;
  padding: 0;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.hero-carousel-dots button.on { background: #FFFFFF; width: 36px; }
.hero-carousel-dots button:hover { background: rgba(255,255,255,.55); }
.hero-carousel-dots button.on:hover { background: #FFFFFF; }

/* Progress indicator (slow auto-advance bar) */
.hero-carousel-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  z-index: 2;
  background: rgba(255,255,255,.16);
}
.hero-carousel-progress .fill {
  height: 100%;
  width: 0%;
  background: var(--plum-600);
  transition: width 60ms linear;
}

/* Float chip placement on top of carousel */
.hero-visual .hero-float { z-index: 4; }

/* Float chip styling — used as live metric pill on hero carousel */
#hero-float-metric { transition: opacity 250ms var(--ease), transform 250ms var(--ease); }
#hero-float-metric .ico {
  background: linear-gradient(135deg, var(--plum-600), #F59E0B);
  color: #fff;
}
#hero-float-metric .t {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--plum-900);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
#hero-float-metric .s {
  font-size: 10.5px;
  color: var(--ink-400);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
#hero-float-metric.flip { opacity: 0; transform: translateY(-4px); }

@media (max-width: 640px) {
  .hero-slide-headline { font-size: 20px; }
  .hero-slide-sub { font-size: 12px; }
  .hero-carousel-dots { bottom: 22px; left: 18px; top: auto; }
  .hero-carousel-nav { bottom: 14px; right: 14px; top: auto; }
  .hero-slide-content { padding: 16px 18px 64px; }
  .hero-carousel-nav button { width: 32px; height: 32px; }
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, var(--tint) 0%, #FFE0CC 50%, #FFE8C9 100%);
  border-radius: 28px;
  z-index: 0;
  transform: rotate(-1.5deg);
  box-shadow: 0 30px 60px -20px rgba(247,114,84,.22);
}
.hero-visual > * { position: relative; z-index: 1; }
.hero-float {
  position: absolute;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(247,114,84,.26), 0 4px 12px rgba(0,0,0,.04);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  z-index: 2;
  animation: float 6s var(--ease) infinite;
}
.hero-float-1 { top: 18px; right: -7%; left: auto; animation-delay: 0s; }
.hero-float-2 { top: 40%; left: -10%; bottom: auto; animation-delay: -3s; }
[dir="rtl"] .hero-float-1 { right: auto; left: -7%; }
[dir="rtl"] .hero-float-2 { left: auto; right: -10%; }
.hero-float .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--plum-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-float .t { font-weight: 600; color: var(--ink-900); }
.hero-float .s { font-size: 11px; color: var(--ink-400); margin-top: 1px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-card {
  background: #FFFFFF;
  border: 1px solid rgba(255, 212, 196, .7);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 50px -16px rgba(247,114,84,.28);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hero-card .status-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.hero-card .time { font-size: 13px; color: var(--ink-400); font-weight: 500; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 500;
}
.pill.success { background: var(--success-bg); color: var(--success-fg); }
.pill.tint { background: var(--tint); color: var(--plum-600); }
.pill.violet { background: var(--tint-violet); color: var(--violet); }
.pill.pink { background: var(--tint-2); color: var(--rose-700); }
.pill .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  animation: pulse 1.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-card .service-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.015em;
}
.hero-card .service-sub { font-size: 12px; color: var(--ink-400); margin: 0 0 18px; }
.hero-card .meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.hero-card .meta-grid .lbl { font-size: 10px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.06em; margin: 0; }
.hero-card .meta-grid .val { font-size: 13px; color: var(--ink-900); font-weight: 500; margin: 2px 0 0; letter-spacing: -0.005em; }
.hero-card .meta-grid .val.accent { color: var(--plum-600); }
.hero-card .bottom-row {
  margin-top: auto;
  padding-top: 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--ink-400);
}
.hero-card .stars { color: var(--magenta); letter-spacing: 1px; }
.hero-card .stars b { color: var(--ink-900); font-weight: 500; letter-spacing: 0; }

/* Logo strip (real-feeling social proof) */
.logo-strip {
  padding: 36px 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #FFFFFF;
}
.logo-strip .label {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 22px;
}
.logo-strip-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
}
.logo-mark {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 32px;
  opacity: .55;
  filter: grayscale(1);
  transition: all var(--dur) var(--ease);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-700);
  font-size: 15px;
}
.logo-mark:hover { opacity: 1; filter: grayscale(0); }
.logo-mark .glyph {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px;
  font-weight: 700;
}

/* Stats band */
.stats-band {
  background: var(--plum-900);
  color: #fff;
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.stat-cell {
  border-left: 1px solid rgba(255,255,255,.1);
  padding-left: 24px;
}
[dir="rtl"] .stat-cell { border-left: none; border-right: 1px solid rgba(255,255,255,.1); padding-left: 0; padding-right: 24px; }
.stat-cell:first-child { border-left: 0; padding-left: 0; }
[dir="rtl"] .stat-cell:first-child { border-right: 0; padding-right: 0; }
.stat-cell .v {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  color: #fff;
}
.stat-cell .lbl {
  font-size: 12px;
  color: #fff;
  margin: 8px 0 0;
  line-height: 1.4;
  max-width: 200px;
  /* No `white-space: nowrap`: long labels (especially Arabic) need to wrap so
     the 4-column grid doesn't push the page wider than the viewport. */
}

/* ─── Without / With ──────────────────────────── */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.compare {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.compare.without { background: var(--bg-soft); }
.compare.with { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); border-color: var(--plum-600); }
.compare h4 { font-size: 13px; font-weight: 600; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.compare.without h4 { color: var(--ink-400); }
.compare.with h4 { color: var(--plum-600); }
.compare.with { box-shadow: 0 24px 50px -24px rgba(247,114,84,.26); }
.compare ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.compare li { font-size: 14px; line-height: 1.5; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-700); }
.compare.without li { color: var(--ink-500); }
.compare li .ico {
  flex-shrink: 0;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; line-height: 1;
  margin-top: 2px;
  font-weight: 500;
}
.compare.without li .ico { color: var(--ink-300); }
.compare.with li .ico { color: var(--magenta); }

/* Centered section head used for feature rows */
.feature-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.feature-section-head .feature-pill { margin-bottom: 18px; }
.feature-section-head .h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.032em;
  margin: 0;
  color: var(--ink-900);
}
.section-dark .feature-section-head .h2 { color: #fff; }
@media (max-width: 640px) {
  .feature-section-head { margin-bottom: 36px; }
  .feature-section-head .h2 { font-size: 30px; }
}

/* ─── Feature rows ─────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 32px 0;
}
.feature-row.alt .text-col { order: 2; }
.feature-row.alt .visual-col { order: 1; }

/* Illustration column for Problem / Solution scenes */
.illust-col { display: flex; align-items: center; justify-content: center; }
.illust-col svg { width: 100%; height: auto; max-width: 600px; display: block; }
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--tint);
  color: var(--plum-600);
  border: 1px solid var(--border-tint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.feature-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--magenta);
}
.feature-bullets { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.feature-bullets li {
  font-size: 14px;
  color: var(--ink-500);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.feature-bullets li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 50%;
  background-color: var(--success-bg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027A48' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Brand showcase (Your booking. Your brand.) ---------- */
.brand-showcase {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 5 / 4.2;
  margin: 0 auto;
}
.brand-laptop {
  position: absolute;
  left: 0; bottom: 0;
  width: 80%;
  background: #FFFFFF;
  border: 1px solid var(--border-tint);
  border-radius: 12px 12px 4px 4px;
  overflow: hidden;
  box-shadow: 0 24px 50px -16px rgba(247,114,84,.22), 0 4px 12px rgba(0,0,0,.05);
  z-index: 1;
}
.brand-laptop::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -3%;
  width: 106%;
  height: 10px;
  background: linear-gradient(180deg, #E4E4E7 0%, #C7C7CD 100%);
  border-radius: 0 0 8px 8px;
  z-index: -1;
}
.web-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px;
  background: #FAFAFA;
  border-bottom: 1px solid var(--line);
}
.web-chrome .dot { width: 9px; height: 9px; border-radius: 50%; }
.web-chrome .dot.r { background: #FF6B6B; }
.web-chrome .dot.y { background: #FFD93D; }
.web-chrome .dot.g { background: #6BCF7F; }
.web-chrome .bar {
  flex: 1; margin-left: 12px;
  height: 18px; border-radius: 5px;
  background: #FFFFFF; border: 1px solid var(--line);
  display: flex; align-items: center; gap: 6px;
  padding: 0 8px;
  font-size: 10px; color: var(--ink-400);
}
.web-chrome .bar::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success-fg);
  flex-shrink: 0;
}
.web-body { padding: 12px 14px 14px; background: #FFFFFF; }
.web-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.web-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--plum-900);
}
.web-brand .feather {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, #f77254 0%, #FF9A7B 50%, #F59E0B 100%);
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-15deg);
}
.web-nav { display: flex; gap: 14px; font-size: 11px; color: var(--ink-500); }
.web-cta {
  padding: 5px 12px;
  background: var(--plum-600);
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.web-h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2px 0 4px;
  color: var(--plum-900);
}
.web-h1 .accent { color: var(--plum-600); }
.web-sub { font-size: 10px; color: var(--ink-500); margin: 0 0 12px; }
.web-tabs { display: flex; gap: 5px; margin-bottom: 10px; flex-wrap: nowrap; overflow: hidden; }
.web-tab {
  font-size: 10px; padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-500);
  background: #FFFFFF;
  white-space: nowrap;
}
.web-tab.on { background: var(--plum-600); color: #fff; border-color: var(--plum-600); font-weight: 600; }
.web-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.web-svc {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
}
.web-svc .img {
  height: 50px;
  position: relative;
}
.web-svc .img.a { background: linear-gradient(135deg, #3F2A1E, #6B4B36); }
.web-svc .img.b { background: linear-gradient(135deg, #1F1410, #6B4B36); }
.web-svc .img.c { background: linear-gradient(135deg, #FFD4C4, #f77254); }
.web-svc .img.d { background: linear-gradient(135deg, #FFE4D9, #C2185B); }
.web-svc .img::after {
  content: "+";
  position: absolute; top: 4px; right: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #FFFFFF; color: var(--ink-700);
  font-size: 13px; line-height: 14px; text-align: center; font-weight: 500;
}
.web-svc .meta { padding: 6px 8px; }
.web-svc .nm { font-size: 9px; font-weight: 700; color: var(--plum-900); margin: 0; line-height: 1.2; }
.web-svc .pr { font-size: 9px; color: var(--plum-600); font-weight: 700; margin: 4px 0 0; }

.brand-phone {
  position: absolute;
  right: 0; top: 0;
  width: 32%;
  background: var(--plum-900);
  border-radius: 22px;
  padding: 5px;
  box-shadow: 0 24px 50px -16px rgba(247,114,84,.32), 0 8px 16px rgba(0,0,0,.10);
  z-index: 2;
}
.brand-phone img {
  width: 100%;
  display: block;
  border-radius: 18px;
  background: #FFFFFF;
}
[dir="rtl"] .brand-laptop { left: auto; right: 0; }
[dir="rtl"] .brand-phone { right: auto; left: 0; }

@media (max-width: 1024px) {
  .brand-showcase { aspect-ratio: 5 / 4.6; }
}
@media (max-width: 640px) {
  .brand-showcase { aspect-ratio: 5 / 5; }
  .brand-laptop { width: 86%; }
  .brand-phone { width: 36%; }
}

/* Visual cards (mock UIs) */
.mock-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  position: relative;
}
.mock-card-tinted {
  background: var(--tint);
  border: 1px solid var(--border-tint);
  border-radius: 18px;
  padding: 20px;
}

/* Step indicator */
.mock-step { font-size: 10px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 500; }
.mock-title { font-size: 15px; font-weight: 500; margin: 4px 0 14px; color: var(--ink-900); letter-spacing: -0.01em; }

/* Service items mock */
.svc-stack { display: flex; flex-direction: column; gap: 8px; }
.svc-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.svc-item.selected {
  background: var(--tint);
  border: 1px solid var(--plum-600);
  padding: 11px 13px;
}
.svc-item .nm { font-size: 13px; font-weight: 500; color: var(--ink-900); margin: 0; }
.svc-item .sub { font-size: 11px; color: var(--ink-400); margin: 3px 0 0; }
.svc-item .price { font-size: 13px; font-weight: 500; color: var(--ink-900); margin: 0; }
.svc-item.selected .price { color: var(--plum-600); }

/* Schedule grid */
.sched {
  display: grid;
  gap: 4px;
  font-size: 10px;
}
.sched-header { color: var(--ink-400); font-weight: 500; text-align: center; padding: 4px 0; }
.sched-time { color: var(--ink-400); align-self: center; font-size: 10px; }
.sched-cell { padding: 5px 4px; border-radius: 4px; text-align: center; font-weight: 500; line-height: 1.2; }
.sched-cell.plum { background: var(--tint); color: var(--plum-600); }
.sched-cell.rose { background: var(--tint-2); color: var(--rose-700); }
.sched-cell.violet { background: var(--tint-violet); color: var(--violet); }
.sched-cell.empty { background: var(--bg-soft); color: var(--ink-300); }
.sched-flag {
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--success-bg);
  border-radius: 8px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--success-fg);
}
.sched-flag .ck { font-weight: 700; }

/* Branch dashboard mock */
.dash-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.dash-tab {
  padding: 5px 12px;
  background: var(--bg-soft);
  color: var(--ink-400);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
}
.dash-tab.on { background: var(--plum-600); color: #fff; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.dash-stat {
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.dash-stat.accent { background: var(--tint); border: 1px solid var(--border-tint); }
.dash-stat .lbl { font-size: 10px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.06em; margin: 0; }
.dash-stat .v { font-size: 22px; font-weight: 500; margin: 6px 0 0; letter-spacing: -0.02em; color: var(--ink-900); }
.dash-stat.accent .v { color: var(--plum-600); }
.dash-stat .sub { font-size: 10px; color: var(--ink-400); margin: 3px 0 0; }
.dash-stat .sub.up { color: var(--success-fg); }
.dash-rows { display: flex; flex-direction: column; gap: 6px; }
.dash-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: 12px;
}
.dash-row .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dash-row .nm { flex: 1; color: var(--ink-700); }
.dash-row .cnt { color: var(--ink-400); margin-left: auto; }
.dash-row .bar { width: 56px; height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.dash-row .bar .fill { height: 100%; border-radius: 3px; }

/* Specialist list mock */
.spec-list { display: flex; flex-direction: column; gap: 6px; }
.spec-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 12px;
}
.spec-row.hl { background: var(--tint); }
.spec-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  flex-shrink: 0;
}
.spec-row .info { flex: 1; min-width: 0; }
.spec-row .nm { font-weight: 500; color: var(--ink-900); margin: 0; font-size: 13px; letter-spacing: -0.005em; }
.spec-row .role { font-size: 10px; color: var(--ink-400); margin: 1px 0 0; }
.spec-row .status { font-size: 11px; color: var(--success-fg); font-weight: 500; }
.spec-row .status.muted { color: var(--ink-400); font-weight: 400; }

/* ─── "Never miss a booking" 3-card row ────── */
.three-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.three-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.three-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(247,114,84,.08) 100%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.three-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-tint);
  box-shadow: 0 16px 40px -16px rgba(247,114,84,.22);
}
.three-card:hover::before { opacity: 1; }
.three-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--tint);
  border: 1px solid var(--border-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--plum-600);
  margin-bottom: 18px;
}

/* Stats mini cards */
.stat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 22px; max-width: 360px; }
.stat-pair > div { background: #FFFFFF; border: 1px solid var(--border-tint); border-radius: 12px; padding: 18px; }
.stat-pair .v { font-size: 28px; font-weight: 500; margin: 0; color: var(--plum-600); letter-spacing: -0.025em; }
.stat-pair .lbl { font-size: 11px; color: var(--ink-500); margin: 6px 0 0; line-height: 1.45; }

/* ─── Customer needs (dual phone) ──────────── */
.dual-phone { display: flex; gap: 14px; justify-content: center; align-items: flex-start; }
.phone-mini {
  background: var(--plum-900);
  border-radius: 26px;
  padding: 8px 6px;
  box-shadow: 0 12px 30px rgba(247,114,84,.20);
}
.phone-mini.offset { margin-top: 24px; }
.phone-mini-screen {
  background: #FFFFFF;
  border-radius: 20px;
  width: 200px;
  padding: 16px;
}
.phone-mini.rtl .phone-mini-screen { direction: rtl; }

.feature-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 380px; margin-top: 18px; }
.feature-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-tint);
  border-radius: 10px;
  padding: 10px 12px;
}
.feature-chip .t { font-size: 11px; font-weight: 500; color: var(--plum-600); margin: 0; }
.feature-chip .s { font-size: 11px; color: var(--ink-400); margin: 4px 0 0; }

/* ─── Sectors ─────────────────────────────────── */
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.sector-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.sector-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--plum-600), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
[dir="rtl"] .sector-card::before { transform-origin: right; }
.sector-card:hover {
  border-color: var(--border-tint);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(247,114,84,.22);
}
.sector-card:hover::before { transform: scaleX(1); }
.sector-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--tint);
  border: 1px solid var(--border-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--plum-600);
  margin-bottom: 14px;
}
.sector-card h4 { font-size: 14px; font-weight: 500; margin: 0 0 4px; color: var(--ink-900); }
.sector-card p { font-size: 12px; color: var(--ink-400); margin: 0; line-height: 1.5; }

/* ─── How it works ──────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  position: relative;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-tint) 18%, var(--border-tint) 82%, transparent);
  z-index: 0;
}
.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  position: relative;
  z-index: 1;
}
.step-card.featured {
  background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
  border-color: var(--plum-600);
}
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--plum-600);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 16px; font-weight: 500; color: var(--ink-900); margin: 0 0 6px; letter-spacing: -0.005em; }
.step-card p { font-size: 13px; color: var(--ink-500); margin: 0; line-height: 1.55; }

/* ─── Pricing (custom) ───────────────────────── */
.pricing-card {
  background: linear-gradient(180deg, var(--tint) 0%, #fff 70%);
  border: 1px solid var(--border-tint);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  max-width: 720px;
  margin: 36px auto 0;
}
.pricing-card h2 { font-size: clamp(28px, 3vw, 36px); margin: 0 0 12px; }
.pricing-card p { font-size: 15px; color: var(--ink-500); margin: 0 0 24px; line-height: 1.6; max-width: 460px; margin-left: auto; margin-right: auto; }

/* ─── Testimonials ───────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.t-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all var(--dur) var(--ease);
  position: relative;
}
.t-card::before {
  content: "\201C";
  position: absolute;
  top: 8px; right: 20px;
  font-size: 80px;
  line-height: 1;
  color: var(--tint);
  font-family: Georgia, serif;
  z-index: 0;
}
.t-card > * { position: relative; z-index: 1; }
.t-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -16px rgba(247,114,84,.20); }
[dir="rtl"] .t-card::before { right: auto; left: 20px; }
.t-stars { color: var(--magenta); font-size: 14px; letter-spacing: 1px; }
.t-quote { font-size: 15px; line-height: 1.6; color: var(--ink-700); margin: 0; flex: 1; font-weight: 500; }
.t-attr { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  flex-shrink: 0;
}
.t-name { font-size: 13px; font-weight: 500; color: var(--ink-900); margin: 0; }
.t-role { font-size: 11px; color: var(--ink-400); margin: 2px 0 0; }

/* ─── FAQ ─────────────────────────────────────── */
.faq { max-width: 800px; margin: 32px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-900);
  text-align: left;
  letter-spacing: -0.005em;
}
[dir="rtl"] .faq-q { text-align: right; }
.faq-q .plus {
  color: var(--magenta);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms var(--ease), padding 200ms var(--ease);
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 0 22px; }
.faq-a p { margin: 0; font-size: 14px; color: var(--ink-500); line-height: 1.65; max-width: 680px; }

/* ─── Integrations ───────────────────────────── */
.int-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.int-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 14px;
  text-align: center;
  transition: all var(--dur) var(--ease);
  position: relative;
}
.int-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--tint) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.int-card > * { position: relative; z-index: 1; }
.int-card:hover::after { opacity: 1; }
.int-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-tint);
  box-shadow: 0 6px 16px -8px rgba(247,114,84,.20);
}
.int-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--tint), #FFDDC9);
  border: 1px solid var(--border-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--plum-600);
  margin: 0 auto 12px;
}
.int-name { font-size: 12px; font-weight: 500; color: var(--ink-900); margin: 0; }

/* ─── Contact CTA (dark) ─────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { font-size: 14px; color: rgba(255,255,255,.85); display: flex; gap: 10px; align-items: flex-start; }
.contact-list li .ck { color: var(--magenta); flex-shrink: 0; margin-top: 2px; }

.contact-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 28px;
  color: var(--ink-900);
}
.contact-card h3 { font-size: 18px; margin: 0 0 4px; }
.contact-card .sub { font-size: 13px; color: var(--ink-400); margin: 0 0 22px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-600);
  margin-bottom: 5px;
}
.field input, .field select, .field textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink-900);
  transition: all var(--dur) var(--ease);
}
.field textarea { height: 80px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--plum-600);
  box-shadow: 0 0 0 3px rgba(247,114,84,.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-300); }
.phone-row { display: flex; gap: 8px; }
.phone-row select { width: 110px; flex-shrink: 0; }
.phone-row input { flex: 1; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 12px; color: var(--ink-500);
  margin: 14px 0 18px; line-height: 1.5;
}
.consent input { width: 14px; height: 14px; margin-top: 2px; accent-color: var(--plum-600); flex-shrink: 0; }
.consent a { color: var(--plum-600); text-decoration: underline; text-underline-offset: 2px; }
.btn-submit { width: 100%; position: relative; }
.btn-submit.loading .lbl { opacity: 0; }
.btn-submit .spinner {
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  opacity: 0;
}
.btn-submit.loading .spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.success-card { text-align: center; padding: 16px 0; }
.success-card .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success-fg);
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.success-card h3 { font-size: 18px; margin: 0 0 6px; }
.success-card p { font-size: 13px; color: var(--ink-500); margin: 0; }

/* ─── Footer ──────────────────────────────────── */
footer { padding: 56px 0 28px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 36px;
}
.foot-brand img { height: 36px; }
.foot-brand .desc { margin: 14px 0 0; font-size: 13px; color: var(--ink-500); line-height: 1.65; max-width: 320px; }
.foot-col h5 {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-900);
  margin: 0 0 14px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  color: var(--ink-500);
  font-size: 13px;
  transition: color var(--dur) var(--ease);
}
.foot-col a:hover { color: var(--plum-600); }
.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-400);
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Cookie banner ───────────────────────────── */
.cookie-banner {
  position: fixed; left: 24px; right: 24px; bottom: 24px;
  z-index: 200;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.18), 0 8px 24px -8px rgba(0,0,0,.08);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  transform: translateY(140%); opacity: 0;
  transition: transform 500ms cubic-bezier(.22,.94,.36,1), opacity 300ms var(--ease);
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner .ck-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.cookie-banner .ck-text { flex: 1; min-width: 0; }
.cookie-banner .ck-text h4 { font-size: 14px; font-weight: 500; margin: 0 0 3px; letter-spacing: -0.005em; }
.cookie-banner .ck-text p { font-size: 12px; color: var(--ink-500); margin: 0; line-height: 1.55; }
.cookie-banner .ck-text a { color: var(--plum-600); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner .ck-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 780px) {
  .cookie-banner { flex-direction: column; align-items: stretch; padding: 18px 18px; gap: 14px; left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner .ck-icon { display: none; }
  .cookie-banner .ck-actions .btn { flex: 1; }
}

/* ─── Legal page ──────────────────────────────── */
.legal-hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.legal-hero .updated {
  font-size: 13px;
  color: var(--ink-500);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.legal-hero .updated::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success-fg); }
.legal-hero h1 { font-size: clamp(32px, 4vw, 48px); margin: 12px 0 0; }

.legal-body { padding: 64px 0 80px; }
.legal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 92px;
  align-self: start;
}
.legal-toc h5 {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-400);
  margin: 0 0 14px;
}
.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
[dir="rtl"] .legal-toc ul { border-left: none; border-right: 1px solid var(--line); padding-left: 0; padding-right: 14px; }
.legal-toc a {
  display: block;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--ink-500);
  border-radius: 6px;
  transition: all var(--dur) var(--ease);
}
.legal-toc a:hover { color: var(--ink-900); background: var(--line); }
.legal-toc a.active { color: var(--plum-600); background: var(--tint); font-weight: 500; }

.legal-prose { max-width: 760px; line-height: 1.7; }
.legal-prose h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 40px 0 14px;
  scroll-margin-top: 88px;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { font-size: 15px; font-weight: 500; margin: 24px 0 8px; }
.legal-prose p, .legal-prose li { font-size: 14px; color: var(--ink-600); }
.legal-prose p { margin: 0 0 14px; }
.legal-prose em { color: var(--plum-600); font-style: normal; font-weight: 500; }
.legal-prose ul { margin: 0 0 14px; padding-left: 22px; }
[dir="rtl"] .legal-prose ul { padding-left: 0; padding-right: 22px; }
.legal-prose li { margin-bottom: 6px; }
.legal-prose strong { font-weight: 500; color: var(--ink-900); }
.legal-prose a { color: var(--plum-600); text-decoration: underline; text-underline-offset: 2px; }
.legal-prose .callout {
  background: var(--tint);
  border-left: 3px solid var(--plum-600);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 20px 0;
  font-size: 13px;
}
[dir="rtl"] .legal-prose .callout { border-left: none; border-right: 3px solid var(--plum-600); }
.legal-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.legal-prose th, .legal-prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
[dir="rtl"] .legal-prose th, [dir="rtl"] .legal-prose td { text-align: right; }
.legal-prose th { background: var(--bg-soft); font-weight: 500; color: var(--ink-700); }
.legal-prose tr:last-child td { border-bottom: none; }
.legal-prose .last-updated-note {
  color: var(--ink-400);
  font-size: 13px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

/* ─── Marketing / Loyalty / AI mocks ───────────────────────── */

/* shared mock phone-card */
.mini-phone {
  background: var(--plum-900);
  border-radius: 28px;
  padding: 8px 6px;
  box-shadow: 0 24px 50px -16px rgba(247,114,84,.24), 0 8px 16px rgba(0,0,0,.08);
  max-width: 280px;
  margin: 0 auto;
}
.mini-phone-screen {
  background: #FFF8F3;
  border-radius: 22px;
  padding: 14px 12px 16px;
  min-height: 460px;
}
.mp-status {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 16px;
}

/* Marketing — push, banner, campaigns */
.push-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
  border: 1px solid rgba(0,0,0,.04);
}
.push-card .ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--plum-600), #F59E0B);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 16px;
}
.push-card .body { flex: 1; min-width: 0; }
.push-card .row1 {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2px;
}
.push-card .brand { font-size: 11px; font-weight: 700; color: var(--ink-900); }
.push-card .time { font-size: 10px; color: var(--ink-400); }
.push-card .title { font-size: 12px; font-weight: 600; color: var(--ink-900); margin: 0 0 2px; line-height: 1.3; }
.push-card .msg { font-size: 11px; color: var(--ink-500); margin: 0; line-height: 1.4; }

.banner-card {
  background: linear-gradient(135deg, var(--plum-600) 0%, var(--magenta) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.banner-card::before {
  content: ""; position: absolute;
  inset: -30% -10% auto auto;
  width: 100px; height: 100px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
}
.banner-card .small { font-size: 9px; font-weight: 600; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 4px; }
.banner-card .big { font-size: 14px; font-weight: 700; margin: 0 0 4px; line-height: 1.2; letter-spacing: -0.005em; }
.banner-card .code {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(255,255,255,.2);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 6px;
  font-family: ui-monospace, monospace;
}

.campaign-row {
  background: rgba(255,255,255,.7);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
}
.campaign-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success-fg); flex-shrink: 0; }
.campaign-row .body { flex: 1; }
.campaign-row .nm { font-size: 11px; font-weight: 600; color: var(--ink-900); margin: 0; }
.campaign-row .stat { font-size: 9px; color: var(--ink-400); margin: 2px 0 0; }

/* Loyalty mock */
.loyalty-mock {
  background: #FFFFFF;
  border: 1px solid var(--border-tint);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 40px -16px rgba(247,114,84,.22);
  max-width: 380px;
  margin: 0 auto;
}
.loyalty-mock .lbl-top { font-size: 11px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.07em; margin: 0; }
.loyalty-mock .balance {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 4px 0 14px;
  color: var(--plum-900);
}
.loyalty-mock .balance .cur { font-size: 16px; color: var(--ink-500); font-weight: 500; vertical-align: middle; margin-right: 4px; }
.loyalty-progress {
  height: 8px;
  background: var(--bg-soft);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}
.loyalty-progress .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--plum-600), var(--magenta));
  border-radius: 4px;
  width: 62%;
}
.loyalty-mock .to-next { font-size: 11px; color: var(--ink-500); margin: 0 0 18px; }
.tiers-row {
  display: flex; justify-content: space-between;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.tier {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  flex: 1;
}
.tier .glyph {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: #fff;
  font-weight: 700;
}
.tier.bronze .glyph { background: linear-gradient(135deg, #B86B3F, #8B4F2C); }
.tier.silver .glyph { background: linear-gradient(135deg, #C0C0C8, #8E8E96); opacity: 0.5; }
.tier.gold   .glyph { background: linear-gradient(135deg, #D4AF37, #A88528); opacity: 0.4; }
.tier.active .glyph { opacity: 1; box-shadow: 0 0 0 3px rgba(247,114,84,.18); }
.tier .nm { font-size: 10px; font-weight: 600; color: var(--ink-700); }
.tier:not(.active) .nm { color: var(--ink-400); }
.reward-list { display: flex; flex-direction: column; gap: 8px; }
.reward-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: 8px;
}
.reward-row .nm { font-size: 11px; color: var(--ink-700); margin: 0; }
.reward-row .sub { font-size: 9px; color: var(--ink-400); margin: 2px 0 0; }
.reward-row .v { font-size: 12px; color: var(--success-fg); font-weight: 700; }

/* AI Admin mock — chat panel */
.ai-mock {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 16px 40px -16px rgba(247,114,84,.18);
  max-width: 420px;
  margin: 0 auto;
}
.ai-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #FFF8F3 100%);
}
.ai-header .av {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--plum-600), var(--magenta));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.ai-header .nm { font-size: 13px; font-weight: 700; color: var(--ink-900); margin: 0; }
.ai-header .st { font-size: 10px; color: var(--success-fg); margin: 2px 0 0; display: flex; align-items: center; gap: 4px; }
.ai-header .st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.ai-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-soft); }
.ai-msg {
  max-width: 78%;
  font-size: 12px;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 12px;
}
.ai-msg.user {
  background: var(--plum-900);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.ai-msg.ai {
  background: #FFFFFF;
  color: var(--ink-900);
  border: 1px solid var(--line);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
[dir="rtl"] .ai-msg.user { align-self: flex-start; border-bottom-right-radius: 12px; border-bottom-left-radius: 4px; }
[dir="rtl"] .ai-msg.ai { align-self: flex-end; border-bottom-left-radius: 12px; border-bottom-right-radius: 4px; }
.ai-msg .ico { color: var(--success-fg); font-weight: 700; }

.ai-bars {
  display: flex; align-items: flex-end; gap: 6px;
  padding: 10px 4px 4px;
  height: 50px;
}
.ai-bars .b {
  flex: 1;
  background: linear-gradient(180deg, var(--plum-600), var(--magenta));
  border-radius: 3px 3px 0 0;
}
.ai-bars-labels {
  display: flex; gap: 6px;
  padding: 4px 4px 0;
}
.ai-bars-labels .l { flex: 1; text-align: center; font-size: 9px; color: var(--ink-400); font-weight: 500; }

.ai-input {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #FFFFFF;
  font-size: 12px;
  color: var(--ink-400);
}
.ai-input::before {
  content: "✨";
  font-size: 14px;
}
.ai-input .send {
  margin-left: auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--plum-600);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* AI Customer mock — stacked channel threads */
.channels-stack {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 420px;
  margin: 0 auto;
}
.channel-chat {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px -10px rgba(31,20,16,.12);
  transition: transform var(--dur) var(--ease);
}
.channel-chat:nth-child(1) { transform: rotate(-1deg); }
.channel-chat:nth-child(2) { transform: rotate(0.5deg); margin-left: 12px; }
.channel-chat:nth-child(3) { transform: rotate(-0.5deg); margin-right: 12px; }
[dir="rtl"] .channel-chat:nth-child(2) { margin-left: 0; margin-right: 12px; }
[dir="rtl"] .channel-chat:nth-child(3) { margin-right: 0; margin-left: 12px; }

.ch-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.ch-head .ic {
  width: 26px; height: 26px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ch-head .ic.wa { background: #25D366; }
.ch-head .ic.snap { background: #FFFC00; color: #160B14; }
.ch-head .ic.ig { background: linear-gradient(135deg, #F58529, #DD2A7B 50%, #8134AF); }
.ch-head .nm { font-size: 12px; font-weight: 700; color: var(--ink-900); margin: 0; }
.ch-head .sub { font-size: 10px; color: var(--ink-400); margin: 1px 0 0; }
.ch-head .badge {
  margin-left: auto;
  padding: 3px 8px;
  background: var(--tint);
  color: var(--plum-600);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
[dir="rtl"] .ch-head .badge { margin-left: 0; margin-right: auto; }
.ch-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; background: #FAFAFA; }
.ch-msg {
  font-size: 11px;
  line-height: 1.4;
  padding: 7px 10px;
  border-radius: 10px;
  max-width: 80%;
}
.ch-msg.them {
  background: #FFFFFF;
  color: var(--ink-700);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.ch-msg.ai {
  background: var(--plum-600);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
[dir="rtl"] .ch-msg.them { align-self: flex-end; border-bottom-left-radius: 10px; border-bottom-right-radius: 3px; }
[dir="rtl"] .ch-msg.ai { align-self: flex-start; border-bottom-right-radius: 10px; border-bottom-left-radius: 3px; }

/* ─── RTL adjustments ────────────────────────── */
/* `[dir="rtl"] .nav-links { display: flex }` was removed: it had higher specificity
   than `.nav-links { display: none }` inside `@media (max-width: 640px)`, so the
   nav stayed visible on Arabic mobile and the menu pushed the page wider than the
   viewport. The desktop default `.nav-links { display: flex }` already does the
   right thing for AR. */
[dir="rtl"] .hero h1, [dir="rtl"] .h1, [dir="rtl"] .h2 { line-height: 1.35; }

/* Language-specific font */
[lang="ar"], html[lang="ar"] body { font-family: var(--font-arabic); }
[lang="ru"], html[lang="ru"] body { font-family: var(--font-cyrillic); }

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid, .feature-row, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.alt .text-col, .feature-row.alt .visual-col { order: 0; }
  .compare-grid, .stat-pair { grid-template-columns: 1fr 1fr; }
  .three-cards { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .int-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding: 48px 0 56px; }
  /* Mobile hero: keep an aspect-ratio so the carousel (height:100%) doesn't
     collapse to 0. Portrait 4/5 fits a phone nicely and shows more of the GIF. */
  .hero-visual { aspect-ratio: 4 / 5; min-height: 360px; }
  /* Float chips: desktop uses big negative offsets (-7% / -10%) that on mobile
     dump them off the viewport. Tighten to a small fixed negative so they still
     peek past the carousel edge but stay inside the screen (container has 20px
     side padding, so −14px sits 6px from the viewport edge). */
  .hero-float-1 { top: 12px; right: -14px; left: auto; }
  .hero-float-2 { top: auto; bottom: 12px; left: -14px; right: auto; }
  [dir="rtl"] .hero-float-1 { right: auto; left: -14px; }
  [dir="rtl"] .hero-float-2 { left: auto; right: -14px; }
  /* Stats band: 2x2 grid on mobile + allow long labels (especially Arabic)
     to wrap, otherwise `white-space: nowrap` blows out the page width and
     triggers horizontal scroll on the whole document. */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .stat-cell { border-left: 0 !important; padding-left: 0 !important; }
  [dir="rtl"] .stat-cell { border-right: 0 !important; padding-right: 0 !important; }
  .stat-cell .lbl { white-space: normal; max-width: 100%; }
  .sectors-grid, .int-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .dual-phone { flex-direction: column; align-items: center; }
  .phone-mini.offset { margin-top: 0; }
  /* Mobile nav: tighten gap so logo + compact lang switcher + CTA all fit.
     The 36px default gap was sized for desktop. */
  .nav-row { gap: 12px; }
  /* Mobile lang switcher: show only the active language; tap to reveal the
     other two as a small popover below. Frees ~60px so the CTA fits. */
  .lang-switch { position: relative; padding: 0; }
  .lang-switch a { padding: 5px 8px; font-size: 11px; }
  .lang-switch a:not(.active) { display: none; }
  .lang-switch::after {
    content: "▾"; font-size: 10px; line-height: 1; color: var(--ink-500);
    margin-inline-start: 4px; padding-inline-end: 6px;
    pointer-events: none;
  }
  .lang-switch.open a:not(.active) {
    display: inline-block;
    position: absolute; top: calc(100% + 6px);
    background: #FFFFFF; border: 1px solid var(--border);
    border-radius: 999px; padding: 5px 12px;
    box-shadow: 0 8px 20px -8px rgba(0,0,0,.16);
  }
  /* Stack the two hidden pills vertically below the active one. */
  .lang-switch.open a:not(.active):nth-of-type(1) { right: 0; }
  .lang-switch.open a:not(.active):nth-of-type(2) { right: 0; transform: translateY(34px); }
  .lang-switch.open a:not(.active):nth-of-type(3) { right: 0; transform: translateY(68px); }
  [dir="rtl"] .lang-switch.open a:not(.active) { right: auto; left: 0; }
  .legal-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
}


/* AR heading bump */
[dir="rtl"] .section-label {
  font-size: 16px;
  letter-spacing: 0.04em;
}
[dir="rtl"] .feature-pill {
  font-size: 15px;
}
[dir="rtl"] .h2,
[dir="rtl"] .section-head .h2,
[dir="rtl"] .feature-section-head .h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.28;
}
[dir="rtl"] .hero h1,
[dir="rtl"] .h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.22;
}
[dir="rtl"] .h3 {
  font-size: 24px;
  line-height: 1.35;
}
[dir="rtl"] .section-label {
  font-size: 13px;
  letter-spacing: 0.04em;
}
