/* ============================================================
   TASNEEM — تسنيم | تحليل وتطوير الأعمال
   Design system derived from logo: navy #0B1D31 / teal #0E5F63 / gold #B18F5C
   ============================================================ */

/* ---------- Numbers in Arial (mandatory) ---------- */
@font-face {
  font-family: 'NumArial';
  src: local('Arial'), local('ArialMT');
  unicode-range: U+0030-0039, U+0025, U+002B, U+002C, U+002E, U+0660-0669;
}

/* ---------- Tokens ---------- */
:root {
  --navy-900: #07131F;
  --navy-800: #0B1D31;
  --navy-700: #122A40;
  --navy-600: #1B3A55;

  --teal-700: #0B4F55;
  --teal-600: #0E5F63;
  --teal-500: #1F7272;
  --teal-400: #3C8C8C;
  --teal-100: #E1EFEE;
  --teal-050: #F0F7F6;

  --gold-500: #B18F5C;
  --gold-600: #8F6F3E;
  --gold-100: #F3ECDF;

  --ink: #0B1D31;
  --ink-soft: #44586D;
  --ink-mute: #6B7D8F;
  --bg: #F4F7F9;
  --surface: #FFFFFF;
  --line: #E2E9EE;

  --grad-brand: linear-gradient(135deg, #3C8C8C 0%, #0E5F63 45%, #0B1D31 100%);
  --grad-teal: linear-gradient(135deg, #1F7272, #0B4F55);

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(11, 29, 49, .07);
  --shadow-md: 0 10px 30px rgba(11, 29, 49, .10);
  --shadow-lg: 0 24px 60px rgba(11, 29, 49, .16);

  --font-ar: 'NumArial', 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif;
  --font-en: 'NumArial', 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;

  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* ⚠️ لا تضع overflow-x هنا: يمنع انتقال overflow الـbody للـviewport
     فيكسر position:sticky للهيدر — الحماية على body وحدها كافية */
}
body {
  font-family: var(--font-ar);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.75;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* لمس أدق: إلغاء تأخير double-tap zoom وومضة اللمس على العناصر التفاعلية */
a, button, input, select, textarea, label { touch-action: manipulation; }
a, button { -webkit-tap-highlight-color: transparent; }
html[lang="en"] body { font-family: var(--font-en); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--teal-600); color: #fff; }

h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; color: var(--ink); }

/* honeypot — clip-path (never left:-9999px: breaks RTL scroll) */
.hp-field {
  position: absolute;
  clip-path: inset(50%);
  width: 1px; height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed; inset-inline-start: 12px; top: -80px;
  background: var(--navy-800); color: #fff;
  padding: 10px 18px; z-index: 200; border-radius: 0 0 10px 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Layout utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 96px; }
.section--tint { background: var(--bg); }
.section--navy { background: var(--navy-800); color: #DCE7EF; }
.section--navy h2, .section--navy h3 { color: #fff; }

.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--teal-600); font-weight: 600; font-size: .92rem;
  letter-spacing: .02em; margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--gold-500); flex: none;
}
.sec-head--center .eyebrow::after {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--gold-500); flex: none;
}
.section--navy .eyebrow { color: var(--teal-400); }
.sec-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.sec-desc { color: var(--ink-soft); font-size: 1.06rem; }
.section--navy .sec-desc { color: #AABBCB; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 30px;
  border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: scale(.97); }

.btn--primary { background: var(--grad-teal); color: #fff; box-shadow: 0 8px 22px rgba(14, 95, 99, .35); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14, 95, 99, .45); }

.btn--gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 8px 22px rgba(177, 143, 92, .35); }
.btn--gold:hover { transform: translateY(-3px); background: #C2A06C; }

.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-3px); }

.btn--outline { border: 1.5px solid var(--teal-600); color: var(--teal-600); }
.btn--outline:hover { background: var(--teal-600); color: #fff; transform: translateY(-3px); }

.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 54px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 16px; font-weight: 500;
  color: var(--ink-soft); border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--teal-600); background: var(--teal-050); }
.nav a.is-active { color: var(--teal-600); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; inset-inline: 16px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--gold-500);
}

.header__actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-weight: 600; font-size: .9rem; color: var(--ink-soft);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.lang-switch:hover { border-color: var(--teal-500); color: var(--teal-600); background: var(--teal-050); }
.lang-switch svg { width: 16px; height: 16px; }
.header__cta { min-height: 44px; padding: 9px 22px; font-size: .95rem; }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 11px; border-radius: 12px;
  border: 1.5px solid var(--line);
}
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(7, 19, 31, .5);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0;
  width: min(330px, 86vw); background: var(--surface);
  padding: 96px 26px calc(26px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(calc(var(--dir, 1) * 100%));
  transition: transform .35s cubic-bezier(.22, .8, .3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
html[dir="rtl"] .drawer__panel { --dir: -1; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__panel a {
  padding: 13px 16px; border-radius: 12px; font-weight: 600;
  color: var(--ink); border: 1px solid transparent;
}
.drawer__panel a:hover, .drawer__panel a.is-active { background: var(--teal-050); color: var(--teal-600); }
.drawer__panel .btn { margin-top: 14px; }
.drawer__panel .lang-switch { margin-top: 10px; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-800); color: #fff;
  padding-block: 110px 130px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(60, 140, 140, .28), transparent 64%),
    radial-gradient(700px 420px at 8% 112%, rgba(14, 95, 99, .30), transparent 60%),
    var(--navy-800);
}
.hero__waves { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; }
.hero__waves svg { width: 100%; height: 100%; }

.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 64px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px; padding: 8px 18px; font-size: .88rem; font-weight: 500;
  color: #C8D6E2; margin-bottom: 26px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); flex: none; }
.hero h1 {
  color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.3; margin-bottom: 20px; letter-spacing: -.01em;
}
.hero h1 .hl { color: var(--teal-400); }
.hero h1 .hl-gold { color: var(--gold-500); }
.hero__lead { color: #AFC0CF; font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 560px; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero__points { display: flex; flex-wrap: wrap; gap: 24px; }
.hero__points li { display: flex; align-items: center; gap: 9px; color: #C8D6E2; font-size: .94rem; font-weight: 500; }
.hero__points svg { width: 18px; height: 18px; color: var(--gold-500); flex: none; }

/* hero visual — real photo in a branded frame */
.hero__visual { position: relative; }
.hero-photo {
  position: relative; margin: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(200deg, rgba(11, 29, 49, 0) 35%, rgba(11, 29, 49, .62) 100%),
    linear-gradient(45deg, rgba(14, 95, 99, .25), transparent 55%);
}
.hero-photo::after {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--gold-500), var(--teal-400));
}
.hero-photo img {
  width: 100%; height: 430px; object-fit: cover; display: block;
  transform: scale(1.02);
  transition: transform 6s ease;
}
.hero-photo:hover img { transform: scale(1.08); }
.hero-photo__chips {
  position: absolute; bottom: 16px; inset-inline: 16px; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.hero-chip {
  background: rgba(7, 19, 31, .72); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; padding: 13px 16px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-chip b { display: block; color: #fff; font-size: 1.25rem; }
.hero-chip span { color: #C8D6E2; font-size: .8rem; }

.hero-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface); color: var(--ink);
  border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow-md);
  font-size: .86rem; font-weight: 600;
  animation: floatY 5s ease-in-out infinite;
}
.hero-float svg { width: 20px; height: 20px; color: var(--teal-600); flex: none; }
.hero-float--a { top: -22px; inset-inline-start: -18px; }
.hero-float--b { bottom: -20px; inset-inline-end: -14px; animation-delay: 2.2s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee (AWTAR exact mechanism — pure CSS, 7+7 duplicated) ---------- */
.marquee-wrap { padding-block: 34px; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee-label { text-align: center; color: var(--ink-mute); font-size: .9rem; font-weight: 600; margin-bottom: 20px; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.partner {
  display: flex; align-items: center; gap: 10px;
  margin-inline-end: 18px; flex: none;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 24px; color: var(--ink-soft); font-weight: 600; font-size: .94rem;
  background: var(--bg);
}
.partner svg { width: 18px; height: 18px; color: var(--teal-500); flex: none; }

/* ---------- Cards: services ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.svc-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ""; position: absolute; inset-inline-start: 0; top: 0;
  width: 3px; height: 0; background: var(--grad-teal); border-radius: 3px;
  transition: height .35s ease;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.svc-card:hover::after { height: 100%; }
.svc-card__icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--teal-050); color: var(--teal-600);
  margin-bottom: 20px; transition: background .3s ease, color .3s ease, transform .3s ease;
}
.svc-card__icon svg { width: 27px; height: 27px; }
.svc-card:hover .svc-card__icon { background: var(--grad-teal); color: #fff; transform: scale(1.06) rotate(-3deg); }
.svc-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.svc-card p { color: var(--ink-soft); font-size: .96rem; }
.svc-card .svc-more {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px; color: var(--teal-600); font-weight: 600; font-size: .9rem;
}
.svc-more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.svc-card:hover .svc-more svg { transform: translateX(calc(var(--flip, 1) * 4px)); }
html[dir="rtl"] .svc-more svg { --flip: -1; }

/* services page — detail blocks */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; padding-block: 64px; }
.svc-detail + .svc-detail { border-top: 1px solid var(--line); }
.svc-detail__icon {
  width: 70px; height: 70px; border-radius: 20px;
  background: var(--grad-teal); color: #fff;
  display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 26px rgba(14, 95, 99, .3);
}
.svc-detail__icon svg { width: 33px; height: 33px; }
.svc-detail h2 { font-size: 1.65rem; margin-bottom: 14px; }
.svc-detail p { color: var(--ink-soft); margin-bottom: 18px; }
.svc-detail ul { display: grid; gap: 11px; }
.svc-detail ul li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); font-size: .97rem; }
.svc-detail ul svg { width: 19px; height: 19px; color: var(--teal-500); flex: none; margin-top: 5px; }
.svc-detail__media { position: relative; }
.svc-panel {
  border-radius: var(--radius-lg); padding: 38px;
  background: var(--navy-800); color: #DCE7EF; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden; isolation: isolate;
}
.svc-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px 260px at 80% 0%, rgba(60, 140, 140, .3), transparent 65%);
}
.svc-panel h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.svc-panel h4 svg { width: 20px; height: 20px; color: var(--gold-500); }
.svc-panel ol { display: grid; gap: 13px; counter-reset: step; }
.svc-panel ol li { display: flex; gap: 13px; align-items: flex-start; counter-increment: step; font-size: .93rem; color: #B9C8D5; }
.svc-panel ol li::before {
  content: counter(step);
  font-family: var(--font-ar);
  width: 28px; height: 28px; flex: none; border-radius: 9px;
  background: rgba(177, 143, 92, .16); color: var(--gold-500);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}

/* ---------- Why us / features ---------- */
.feat-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feat-card__icon {
  width: 48px; height: 48px; flex: none; border-radius: 13px;
  background: var(--gold-100); color: var(--gold-600);
  display: grid; place-items: center;
}
.feat-card__icon svg { width: 23px; height: 23px; }
.feat-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feat-card p { color: var(--ink-soft); font-size: .92rem; }

/* stats band */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  background: var(--navy-800); border-radius: var(--radius-lg);
  padding: 50px 44px; color: #fff;
  position: relative; overflow: hidden; isolation: isolate;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(560px 300px at 14% 0%, rgba(60, 140, 140, .25), transparent 60%);
}
.stat { text-align: center; }
.stat__value {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: #fff;
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
}
.stat__value .suffix { color: var(--gold-500); font-size: .6em; font-weight: 700; }
.stat__label { color: #9FB2C2; font-size: .92rem; margin-top: 6px; }

/* ---------- Values / about ---------- */
.value-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.value-card__icon {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--teal-050); color: var(--teal-600); display: grid; place-items: center;
}
.value-card__icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.value-card p { color: var(--ink-soft); font-size: .88rem; }

.vm-card {
  border-radius: var(--radius-lg); padding: 36px 32px; height: 100%;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .3s ease, box-shadow .3s ease;
}
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.vm-card--navy { background: var(--navy-800); border-color: var(--navy-700); color: #C8D6E2; }
.vm-card--navy h3 { color: #fff; }
.vm-card__icon {
  width: 54px; height: 54px; border-radius: 15px; margin-bottom: 18px;
  background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center;
}
.vm-card--navy .vm-card__icon { background: rgba(177, 143, 92, .15); color: var(--gold-500); }
.vm-card__icon svg { width: 25px; height: 25px; }
.vm-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.vm-card p { font-size: .98rem; color: var(--ink-soft); }
.vm-card--navy p { color: #AABBCB; }

/* about timeline */
.timeline { position: relative; max-width: 880px; margin-inline: auto; padding-block: 10px; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 50%;
  width: 2px; background: linear-gradient(180deg, var(--teal-400), var(--gold-500));
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding-inline-end: 48px; margin-bottom: 38px; }
.tl-item:nth-child(even) { inset-inline-start: 50%; padding-inline-end: 0; padding-inline-start: 48px; }
.tl-item::before {
  content: ""; position: absolute; top: 8px; inset-inline-end: -7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-500); border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--gold-500);
}
.tl-item:nth-child(even)::before { inset-inline-end: auto; inset-inline-start: -7px; }
.tl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.tl-card b { color: var(--teal-600); font-size: .9rem; display: block; margin-bottom: 4px; }
.tl-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.tl-card p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Packages ---------- */
.pricing-note {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  color: var(--ink-soft); font-size: .92rem; margin-top: 34px; text-align: center;
}
.pricing-note svg { width: 17px; height: 17px; color: var(--gold-600); flex: none; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.pkg-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pkg-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.pkg-card--hot { border-color: var(--teal-500); box-shadow: var(--shadow-md); background: linear-gradient(180deg, var(--teal-050), var(--surface) 32%); }
.pkg-flag {
  position: absolute; top: -15px; inset-inline-start: 50%; transform: translateX(-50%);
  background: var(--grad-teal); color: #fff; white-space: nowrap;
  border-radius: 999px; padding: 6px 20px; font-size: .82rem; font-weight: 700;
  box-shadow: 0 6px 16px rgba(14, 95, 99, .35);
}
html[dir="rtl"] .pkg-flag { transform: translateX(50%); }
.pkg-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.pkg-card .pkg-tag { color: var(--ink-mute); font-size: .88rem; margin-bottom: 20px; }
.pkg-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.pkg-price b { font-size: 2.3rem; font-weight: 700; color: var(--navy-800); letter-spacing: -.01em; }
.pkg-price span { color: var(--ink-mute); font-size: .9rem; font-weight: 600; }
.pkg-per { color: var(--ink-mute); font-size: .82rem; margin-bottom: 22px; }
.pkg-list { display: grid; gap: 11px; margin-bottom: 28px; flex: 1; }
.pkg-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.pkg-list svg { width: 18px; height: 18px; color: var(--teal-500); flex: none; margin-top: 5px; }
.pkg-list li.is-strong { color: var(--ink); font-weight: 600; }
.pkg-list li.is-strong svg { color: var(--gold-600); }

/* custom package + slider */
.custom-pkg {
  background: var(--navy-800); border-radius: var(--radius-lg);
  padding: 48px; color: #C8D6E2; position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 52px;
}
.custom-pkg::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(620px 340px at 90% -10%, rgba(60, 140, 140, .3), transparent 62%),
    radial-gradient(420px 280px at 0% 110%, rgba(177, 143, 92, .14), transparent 60%);
}
.custom-pkg h3 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.custom-pkg > div > p { color: #AABBCB; margin-bottom: 26px; font-size: .98rem; }
.custom-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.custom-price b { font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; }
.custom-price span { color: var(--gold-500); font-weight: 700; }
.custom-tier {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(177, 143, 92, .14); color: var(--gold-500);
  border-radius: 999px; padding: 7px 18px; font-size: .88rem; font-weight: 700; margin-bottom: 28px;
}
.custom-tier svg { width: 16px; height: 16px; }

.range-wrap { margin-bottom: 26px; }
.range-labels { display: flex; justify-content: space-between; color: #8DA1B3; font-size: .82rem; margin-top: 10px; }
input[type="range"].budget {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--teal-400) var(--fill, 8%), rgba(255, 255, 255, .14) var(--fill, 8%));
  outline-offset: 6px;
}
html[dir="rtl"] input[type="range"].budget {
  background: linear-gradient(270deg, var(--teal-400) var(--fill, 8%), rgba(255, 255, 255, .14) var(--fill, 8%));
}
input[type="range"].budget::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 6px solid var(--gold-500);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4); cursor: grab;
  transition: transform .15s ease;
}
input[type="range"].budget::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"].budget::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 6px solid var(--gold-500);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4); cursor: grab;
}
.svc-count { color: #C8D6E2; font-size: .92rem; margin-bottom: 18px; }
.svc-count b { color: var(--gold-500); font-size: 1.15rem; }

.unlock-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.unlock-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: #5E7081;
  transition: color .3s ease;
}
.unlock-list li .u-ico { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 7px; background: rgba(255, 255, 255, .06); color: #5E7081; transition: background .3s ease, color .3s ease; }
.unlock-list li .u-ico svg { width: 13px; height: 13px; }
.unlock-list li .u-ico .ico-check { display: none; }
.unlock-list li.is-on { color: #E8F0F6; }
.unlock-list li.is-on .u-ico { background: rgba(60, 140, 140, .3); color: #6FCACA; }
.unlock-list li.is-on .u-ico .ico-lock { display: none; }
.unlock-list li.is-on .u-ico .ico-check { display: block; }

/* comparison table */
.cmp-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.cmp { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--surface); }
.cmp th, .cmp td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); font-size: .93rem; }
.cmp thead th { background: var(--navy-800); color: #fff; font-size: .95rem; }
.cmp thead th:first-child { text-align: start; }
.cmp tbody th { text-align: start; font-weight: 600; color: var(--ink); background: var(--bg); }
.cmp td { color: var(--ink-soft); }
.cmp .yes svg { width: 19px; height: 19px; color: var(--teal-500); margin-inline: auto; }
.cmp .no { color: #C3CFD9; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

/* ---------- Testimonials ---------- */
.tst-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 18px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tst-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tst-card .quote-ico { width: 34px; height: 34px; color: var(--gold-500); opacity: .9; }
.tst-card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.tst-meta { display: flex; align-items: center; gap: 13px; }
.tst-avatar {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: var(--grad-teal); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1rem;
}
.tst-meta b { display: block; font-size: .95rem; color: var(--ink); }
.tst-meta span { color: var(--ink-mute); font-size: .82rem; }
.tst-stars { display: flex; gap: 3px; color: var(--gold-500); }
.tst-stars svg { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.faq-item.is-open { border-color: var(--teal-400); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 600; font-size: 1.02rem; text-align: start; color: var(--ink);
}
.faq-q .chev { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--teal-050); color: var(--teal-600); display: grid; place-items: center; transition: transform .3s ease, background .3s ease, color .3s ease; }
.faq-q .chev svg { width: 16px; height: 16px; }
.faq-item.is-open .chev { transform: rotate(180deg); background: var(--grad-teal); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.22, .8, .3, 1); }
.faq-a > div { padding: 0 24px 22px; color: var(--ink-soft); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--grad-brand);
  border-radius: var(--radius-lg); padding: 64px 52px;
  color: #fff; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(500px 280px at 85% 10%, rgba(177, 143, 92, .25), transparent 60%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.cta-band p { color: #D3E2E6; max-width: 560px; margin: 0 auto 30px; }
.cta-band .btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: start; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; background: var(--surface);
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact-card__icon {
  width: 46px; height: 46px; flex: none; border-radius: 13px;
  display: grid; place-items: center; background: var(--teal-050); color: var(--teal-600);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card--wa .contact-card__icon { background: #E7F7EC; color: #1B8A4B; }
.contact-card b { display: block; font-size: .98rem; margin-bottom: 3px; }
.contact-card a, .contact-card span.val { color: var(--ink-soft); font-size: .93rem; direction: ltr; unicode-bidi: embed; }
.contact-card a:hover { color: var(--teal-600); }
.contact-card .hint { display: block; color: var(--ink-mute); font-size: .8rem; margin-top: 2px; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field label .req { color: #C0392B; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  /* توحيد مظهر iOS Safari (يلغي الظل الداخلي والزوايا النظامية) */
  -webkit-appearance: none; appearance: none;
  padding: 13px 16px; background: var(--bg);
  /* 16px تمنع الزوم التلقائي عند التركيز في iOS Safari */
  font-size: 1rem;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344586D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 18px;
  padding-inline-end: 16px; padding-inline-start: 40px;
}
html[dir="ltr"] .field select {
  background-position: right 14px center;
  padding-inline-start: 16px; padding-inline-end: 40px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(31, 114, 114, .12);
}
.field .err { display: none; color: #C0392B; font-size: .8rem; margin-top: 5px; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #C0392B; }
.field.is-invalid .err { display: block; }
.form-note { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-mute); font-size: .82rem; margin-top: 16px; }
.form-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--teal-500); }
.form-ok {
  display: none; align-items: flex-start; gap: 12px;
  background: #E7F7EC; border: 1px solid #BFE8CC; color: #14532D;
  border-radius: 14px; padding: 18px; margin-top: 18px; font-size: .95rem;
}
.form-ok.is-visible { display: flex; }
.form-ok svg { width: 22px; height: 22px; flex: none; color: #1B8A4B; }

.map-embed { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 44px; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-800); color: #fff; text-align: center;
  padding-block: 84px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 360px at 80% -20%, rgba(60, 140, 140, .26), transparent 62%),
    radial-gradient(520px 300px at 10% 120%, rgba(14, 95, 99, .28), transparent 60%);
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.page-hero p { color: #AFC0CF; max-width: 640px; margin-inline: auto; font-size: 1.05rem; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 9px;
  color: #8DA1B3; font-size: .86rem; margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--teal-400); }
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb .cur { color: var(--gold-500); font-weight: 600; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 860px; margin-inline: auto; }
.legal-body .updated {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-050); color: var(--teal-700);
  border-radius: 999px; padding: 7px 18px; font-size: .86rem; font-weight: 600; margin-bottom: 34px;
}
.legal-body .updated svg { width: 16px; height: 16px; }
.legal-body h2 { font-size: 1.3rem; margin: 38px 0 12px; padding-inline-start: 16px; border-inline-start: 3px solid var(--gold-500); }
.legal-body h3 { font-size: 1.08rem; margin: 24px 0 8px; }
.legal-body p { color: var(--ink-soft); margin-bottom: 12px; }
.legal-body ul { display: grid; gap: 9px; margin: 12px 0 18px; }
.legal-body ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.legal-body ul li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-500); flex: none; margin-top: 12px;
}
.legal-callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--gold-100); border: 1px solid #E4D5B8;
  border-radius: var(--radius); padding: 20px 22px; margin: 22px 0;
}
.legal-callout svg { width: 22px; height: 22px; flex: none; color: var(--gold-600); margin-top: 3px; }
.legal-callout p { color: #6B5326; margin: 0; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9FB2C2; }
.footer__main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px; padding-block: 70px 50px;
}
.footer__brand img { height: 88px; width: auto; margin-bottom: 18px; background: #fff; border-radius: 14px; padding: 8px 14px; }
.footer__brand p { font-size: .92rem; max-width: 300px; }
.footer__motto { display: inline-flex; gap: 9px; align-items: center; color: var(--gold-500); font-weight: 600; font-size: .9rem; margin-top: 16px; }
.footer__motto svg { width: 16px; height: 16px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { font-size: .92rem; transition: color .2s ease, padding .2s ease; }
.footer__col a:hover { color: var(--teal-400); padding-inline-start: 4px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; margin-bottom: 13px; }
.footer__contact svg { width: 18px; height: 18px; flex: none; color: var(--gold-500); margin-top: 5px; }
.footer__contact a { direction: ltr; unicode-bidi: embed; }
.footer__contact a:hover { color: var(--teal-400); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.socials a:hover { background: var(--teal-600); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between; font-size: .85rem;
}
.footer__bottom .credit a { color: var(--gold-500); font-weight: 600; }
.footer__bottom .credit a:hover { text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie-bar {
  position: fixed; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); inset-inline: 18px; z-index: 120;
  max-width: 580px; margin-inline: auto;
  background: var(--navy-800); color: #C8D6E2;
  border: 1px solid var(--navy-600); border-radius: var(--radius-lg);
  padding: 22px 24px; box-shadow: var(--shadow-lg);
  display: none; gap: 16px; flex-direction: column;
  animation: cookieIn .45s cubic-bezier(.22, .8, .3, 1);
}
.cookie-bar.is-visible { display: flex; }
@keyframes cookieIn { from { transform: translateY(24px); opacity: 0; } }
.cookie-bar p { font-size: .9rem; }
.cookie-bar p a { color: var(--gold-500); text-decoration: underline; }
.cookie-bar .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar .btn { min-height: 42px; padding: 8px 22px; font-size: .9rem; }
.cookie-bar .btn--ghost { border-color: rgba(255, 255, 255, .25); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); inset-inline-start: 24px; z-index: 110;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1B8A4B; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(27, 138, 75, .45);
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #1B8A4B; animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- 404 ---------- */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.nf b.code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.nf h1 { font-size: 1.6rem; margin: 14px 0 10px; }
.nf p { color: var(--ink-soft); margin-bottom: 28px; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .3, 1); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
/* الإزاحة 16px ≤ حشوة الحاوية (18px موبايل) — أكبر من ذلك يخلق overflow أفقي */
[data-reveal="start"] { transform: translateX(calc(var(--flip, 1) * -16px)); }
[data-reveal="end"] { transform: translateX(calc(var(--flip, 1) * 16px)); }
html[dir="rtl"] [data-reveal="start"], html[dir="rtl"] [data-reveal="end"] { --flip: -1; }
[data-reveal].is-in { transform: none; }
.d-1 { transition-delay: .08s; } .d-2 { transition-delay: .16s; } .d-3 { transition-delay: .24s; }
.d-4 { transition-delay: .32s; } .d-5 { transition-delay: .4s; } .d-6 { transition-delay: .48s; }

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

/* ============================================================
   Responsive — 1280 / 1024 / 880 / 640 / 480 / 380
   ============================================================ */
@media (max-width: 1280px) {
  .container { max-width: 1080px; }
}

@media (max-width: 1024px) {
  .section { padding-block: 76px; }
  .hero { padding-block: 84px 100px; }
  .hero__grid { gap: 44px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .custom-pkg { grid-template-columns: 1fr; gap: 36px; padding: 38px; }
  .svc-detail { gap: 38px; }
}

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
  .hero-float--a { inset-inline-start: 0; }
  .hero-float--b { inset-inline-end: 0; }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: 38px 28px; gap: 30px; }
  .svc-detail { grid-template-columns: 1fr; padding-block: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline::before { inset-inline-start: 10px; transform: none; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; inset-inline-start: 0; padding-inline-start: 42px; padding-inline-end: 0; }
  .tl-item::before, .tl-item:nth-child(even)::before { inset-inline-start: 4px; inset-inline-end: auto; }
}

@media (max-width: 640px) {
  .section { padding-block: 60px; }
  .container { padding-inline: 18px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 64px 80px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .unlock-list { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .custom-pkg { padding: 30px 22px; }
  .footer__main { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .wa-float { width: 52px; height: 52px; bottom: 18px; inset-inline-start: 18px; }
  .map-embed iframe { height: 300px; }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .brand img { height: 46px; }
  .hero h1 { font-size: 1.85rem; }
  .form-card { padding: 24px 18px; }
  .hero-photo img { height: 300px; }
  .hero-photo__chips { grid-template-columns: 1fr 1fr; gap: 8px; bottom: 10px; inset-inline: 10px; }
  .hero-chip { padding: 10px 12px; }
  .hero-chip b { font-size: 1.05rem; }
  .cookie-bar { inset-inline: 10px; bottom: 10px; padding: 18px; }
}

@media (max-width: 380px) {
  .stats-band { grid-template-columns: 1fr; }
  .hero__points { gap: 14px; }
  .btn { padding-inline: 22px; }
  .pkg-card { padding: 26px 20px; }
}
