/* =========================================================
   Alraheeq Marketing — main stylesheet
   Works for both RTL (Arabic) and LTR (English) using
   CSS logical properties. Mobile-first.
   ========================================================= */

/* Thmanyah Sans (self-hosted, see assets/fonts/Thmanyah-LICENSE.pdf) */
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Bold.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans-Black.woff2") format("woff2"); font-weight: 800 900; font-style: normal; font-display: swap; }

:root {
  --navy: #22245A;
  --navy-700: #1a1c48;
  --navy-600: #2d3070;
  --mint: #5CC8AE;
  --mint-600: #45b398;
  --mint-50: #e8f7f3;
  --bg: #F4F5FA;
  --white: #ffffff;
  --text: #22245A;
  --muted: #5b5f86;
  --line: #e2e4ef;
  --danger: #d64545;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 6px 24px rgba(34, 36, 90, .08);
  --shadow-lg: 0 16px 48px rgba(34, 36, 90, .14);
  --container: 1180px;
  --header-h: 72px;
  --font: "Thmanyah Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.65; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.35; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 64px; }
.section--light { background: var(--bg); }
.section--navy { background: var(--navy); color: var(--white); }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--mint); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 600; color: var(--mint-600);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--mint); }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--mint); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; }
.section-title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.section-sub { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-sub { color: #c9cbe6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--mint); color: var(--navy); }
.btn--primary:hover { background: var(--mint-600); box-shadow: 0 8px 20px rgba(92, 200, 174, .35); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-600); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1eb558; }
.btn--sm { min-height: 40px; padding: 6px 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row, .btn-row.center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
html[dir="rtl"] .link-arrow svg, html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.link-arrow:hover svg { transform: translateX(4px); }
html[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-700); color: #c9cbe6; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info svg { width: 15px; height: 15px; color: var(--mint); }
.topbar a:hover { color: var(--white); }
.social { display: flex; gap: 8px; }
.social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background .2s; }
.social a:hover { background: rgba(255,255,255,.12); }
.social svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.12rem; font-weight: 700; }
.brand-text small { font-size: .68rem; letter-spacing: .14em; color: var(--muted); font-weight: 600; }

.main-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .98rem;
  background: none; border: 0; cursor: pointer;
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--mint-600); }
.nav-link[aria-current="page"] { background: var(--mint-50); }
.nav-link svg { width: 16px; height: 16px; transition: transform .2s; }

.dropdown {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0;
  min-width: 260px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover > .nav-link svg, .has-dropdown.open > .nav-link svg { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.dropdown a:hover { background: var(--bg); color: var(--mint-600); }
.dropdown a svg { width: 20px; height: 20px; color: var(--mint-600); flex: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px;
  border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; font-size: .9rem;
  transition: border-color .2s, color .2s;
}
.lang-switch:hover { border-color: var(--mint); color: var(--mint-600); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--bg); border-radius: 10px; cursor: pointer; place-items: center; }
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-grid; }
  .header-inner { gap: 10px; }
  .main-nav {
    /* absolute (not fixed): the header's backdrop-filter makes it the containing block */
    position: absolute; top: 100%; inset-inline: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    border-top: 1px solid var(--line);
    background: var(--white); padding: 16px 20px 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.05rem; }
  .nav-link[aria-current="page"] { background: none; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 10px; min-width: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open:hover .dropdown { display: block; }
  .header-actions .btn-quote { display: none; }
  .mobile-quote { display: block !important; margin-top: 20px; }
}
.mobile-quote { display: none; }
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .brand img { width: 38px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% -10%, #2f3280 0%, transparent 60%), var(--navy);
  color: var(--white);
  padding-block: 72px 88px;
}
.hero::after {
  content: ""; position: absolute; inset-block-start: 50%; inset-inline-end: -120px;
  width: 560px; height: 560px; transform: translateY(-50%);
  background: url("/assets/img/logo-mark-white.png") center / contain no-repeat;
  opacity: .06; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 760px; }
.hero h1 { font-size: clamp(2rem, 5.6vw, 3.4rem); line-height: 1.3; margin-bottom: 20px; }
.hero h1 .accent { color: var(--mint); }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: #d4d6ee; max-width: 640px; margin-bottom: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; color: #c9cbe6; font-size: .95rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--mint); }

.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(900px 400px at 90% -20%, #2f3280 0%, transparent 60%), var(--navy);
  color: var(--white); padding-block: 64px 72px;
}
.page-hero::after {
  content: ""; position: absolute; inset-block-start: 50%; inset-inline-end: -80px;
  width: 380px; height: 380px; transform: translateY(-50%);
  background: url("/assets/img/logo-mark-white.png") center / contain no-repeat;
  opacity: .06; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); max-width: 820px; }
.page-hero p { color: #d4d6ee; font-size: 1.12rem; max-width: 680px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 28px; }

/* ---------- Stats ---------- */
.stats-wrap { margin-top: -48px; position: relative; z-index: 2; }
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.stat { background: var(--white); padding: 26px 18px; text-align: center; }
.stat-value { font-size: clamp(1.6rem, 4.4vw, 2.4rem); font-weight: 700; color: var(--navy); line-height: 1.2; direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .stat-value { direction: rtl; }
.stat-value .unit { font-size: .55em; font-weight: 600; color: var(--mint-600); margin-inline-start: 4px; }
.stat-label { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.stats-title { text-align: center; font-size: 1rem; color: var(--muted); font-weight: 600; margin: 0 0 16px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding: 32px 20px; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 16px; }
.card .link-arrow { margin-top: auto; }
.icon-box {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: var(--mint-50); color: var(--mint-600); margin-bottom: 18px; flex: none;
}
.icon-box svg { width: 28px; height: 28px; }
.section--navy .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--white); }
.section--navy .card p { color: #c9cbe6; }
.section--navy .icon-box { background: rgba(92,200,174,.14); color: var(--mint); }

/* Feature list (why us) */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .icon-box { margin: 0; }
.feature h3 { font-size: 1.15rem; margin-bottom: 4px; }
.feature p { color: var(--muted); margin: 0; }

/* Services list (home) — numbered editorial rows, distinct from card grids */
.svc-list { display: grid; column-gap: 56px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
.svc-item {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  padding: 30px 14px; border-bottom: 1px solid var(--line); color: var(--navy);
  transition: background .25s;
}
.svc-item::before {
  content: ""; position: absolute; inset-block: -1px; inset-inline-start: 0; width: 3px;
  background: var(--mint); transform: scaleY(0); transition: transform .25s;
}
.svc-item:hover { background: var(--bg); }
.svc-item:hover::before { transform: scaleY(1); }
.svc-num {
  font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; line-height: 1; min-width: 2.2ch;
  color: transparent; -webkit-text-stroke: 1.5px var(--mint); direction: ltr;
  transition: color .25s;
}
.svc-item:hover .svc-num { color: var(--mint); }
.svc-body h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 6px; }
.svc-body h3 svg { width: 22px; height: 22px; color: var(--mint-600); flex: none; }
.svc-body p { color: var(--muted); margin: 0; }
.svc-go {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); transition: background .25s, border-color .25s, color .25s;
}
.svc-go svg { width: 18px; height: 18px; }
html[dir="rtl"] .svc-go svg { transform: scaleX(-1); }
.svc-item:hover .svc-go { background: var(--navy); border-color: var(--navy); color: var(--white); }
/* Our work (home) — navy split layout with numbered tiles */
.work-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .work-split { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.work-intro .section-title { color: var(--white); }
.work-intro .section-sub { margin-bottom: 28px; }
.work-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-tile {
  position: relative; overflow: hidden; padding: 26px 24px;
  border-radius: var(--radius-lg); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12); color: var(--white);
}
.work-grid .work-tile { transition: opacity .6s ease, transform .4s ease, border-color .25s, background .25s; }
.work-grid .work-tile.in:hover { transform: translateY(-4px); border-color: var(--mint); background: rgba(255,255,255,.08); }
@media (min-width: 640px) { .work-grid .work-tile:nth-child(even) { margin-block: 28px -28px; } }
.work-mark { position: absolute; inset-block-end: -26px; inset-inline-end: -22px; color: var(--mint); opacity: .07; pointer-events: none; }
.work-mark svg { width: 150px; height: 150px; }
.work-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.work-top .icon-box { margin: 0; background: rgba(92,200,174,.14); color: var(--mint); }
.work-no { font-weight: 900; font-size: 1.05rem; color: rgba(255,255,255,.35); direction: ltr; letter-spacing: .05em; }
.work-tile h3 { font-size: 1.15rem; margin-bottom: 8px; position: relative; }
.work-tile p { color: #c9cbe6; margin: 0; position: relative; }
@media (min-width: 640px) { .work-sec { padding-bottom: 92px; } }

@media (max-width: 560px) {
  .svc-item { grid-template-columns: auto 1fr; gap: 16px; padding: 24px 6px; }
  .svc-go { display: none; }
}
.section--navy .feature p { color: #c9cbe6; }

/* Steps */
.steps { display: grid; gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 28px 24px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--mint); font-weight: 700; font-size: 1.15rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* Split / highlight */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 1fr; } }
.highlight-num {
  background: var(--white); color: var(--navy); border-radius: var(--radius-lg);
  padding: 40px 32px; text-align: center; box-shadow: var(--shadow-lg);
}
.highlight-num .big { font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 700; line-height: 1.15; }
.highlight-num .big .unit { font-size: .45em; color: var(--mint-600); }
.highlight-num p { color: var(--muted); margin: 8px 0 0; font-size: 1.05rem; }

.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; }
.phase { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 8px; text-align: center; font-weight: 600; font-size: .92rem; }
.phase small { display: block; font-weight: 400; color: #c9cbe6; font-size: .8rem; }

/* Packages (short) */
.pkg-card { position: relative; }
.pkg-card .badge { position: absolute; top: 18px; inset-inline-end: 18px; }
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--mint); color: var(--navy); font-size: .78rem; font-weight: 700;
}
.pkg-card.featured { border: 2px solid var(--mint); box-shadow: var(--shadow-lg); }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .95rem;
}
.tag svg { width: 18px; height: 18px; color: var(--mint-600); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--mint-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345b398' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* CTA band */
.cta-band {
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg);
  padding: 48px 28px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 320px; height: 320px; inset-inline-start: -90px; bottom: -140px;
  background: url("/assets/img/logo-mark-white.png") center / contain no-repeat; opacity: .07;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.cta-band p { color: #d4d6ee; font-size: 1.1rem; max-width: 560px; margin: 0 auto 28px; }

/* Values / about */
.statement { font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.9; }
.vm-card { padding: 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.vm-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.vm-card h3 svg { width: 26px; height: 26px; color: var(--mint-600); }
.vm-card p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.group-box { display: grid; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
@media (min-width: 760px) { .group-box { grid-template-columns: 180px 1fr; } }
.group-box img { width: 100%; max-width: 150px; margin-inline: auto; }
.group-box p { margin: 0; font-size: 1.1rem; }

/* Services page */
.service-nav { display: flex; gap: 8px; overflow-x: auto; padding-block: 14px; scrollbar-width: thin; }
.service-nav a { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--bg); font-weight: 600; font-size: .92rem; }
.service-nav a:hover { background: var(--mint-50); color: var(--mint-600); }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.service-block { display: grid; gap: 28px; padding-block: 56px; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
@media (min-width: 900px) { .service-block { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.service-block h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.5rem, 3.4vw, 2rem); }
.service-block h2 .icon-box { margin: 0; }
.service-block .tagline { font-size: 1.15rem; color: var(--muted); }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%;
  background: var(--mint-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345b398' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.get-box { background: var(--bg); border-radius: var(--radius-lg); padding: 28px; }
.get-box h3 { font-size: 1.05rem; color: var(--muted); margin-bottom: 16px; }
.get-box .btn { margin-top: 24px; }
.proof {
  display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 18px;
  border-radius: var(--radius); background: var(--navy); color: var(--white); font-weight: 600;
}
.proof svg { width: 22px; height: 22px; color: var(--mint); flex: none; }

/* Packages page */
.tabs { display: flex; gap: 6px; padding: 6px; background: var(--bg); border-radius: 999px; width: fit-content; max-width: 100%; margin: 0 auto 40px; overflow-x: auto; }
.tab {
  flex: none; padding: 10px 20px; border-radius: 999px; border: 0; background: none;
  font-weight: 700; cursor: pointer; color: var(--muted); transition: background .2s, color .2s;
}
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.tab-panel[hidden] { display: none; }
.panel-intro { text-align: center; max-width: 680px; margin: 0 auto 32px; color: var(--muted); font-size: 1.1rem; }

.pkg-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pkg { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; }
.pkg.featured { border: 2px solid var(--mint); box-shadow: var(--shadow-lg); }
.pkg .badge { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(-50%); }
html[dir="rtl"] .pkg .badge { transform: translateX(50%); }
.pkg h3 { font-size: 1.45rem; margin-bottom: 4px; }
.pkg .for { color: var(--muted); margin-bottom: 20px; min-height: 2.8em; }
.pkg dl { margin: 0 0 24px; display: grid; gap: 0; }
.pkg dl div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding-block: 11px; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.pkg dt { color: var(--muted); }
.pkg dd { margin: 0; font-weight: 600; }
.pkg dd.none { color: #b4b7cf; font-weight: 400; }
.pkg .btn { margin-top: auto; }
.pkg .duration { display: inline-flex; align-items: center; gap: 6px; color: var(--mint-600); font-weight: 700; margin-bottom: 12px; font-size: .95rem; }
.pkg .duration svg { width: 18px; height: 18px; }
.pkg .check-list { margin-bottom: 26px; }
.launch-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .launch-grid { grid-template-columns: 1fr 1fr; } }

.timeline { margin-top: 40px; background: var(--bg); border-radius: var(--radius-lg); padding: 28px; }
.timeline h3 { font-size: 1.1rem; text-align: center; margin-bottom: 20px; }
.tl-row { display: grid; grid-template-columns: 120px repeat(3, 1fr); gap: 6px; align-items: center; margin-bottom: 8px; font-size: .9rem; }
.tl-row .lbl { font-weight: 700; }
.tl-head span { text-align: center; font-weight: 700; color: var(--muted); font-size: .85rem; }
.tl-bar { height: 14px; border-radius: 999px; }
.tl-on { background: var(--mint); }
.tl-off { background: var(--line); }
@media (max-width: 560px) { .tl-row { grid-template-columns: 82px repeat(3, 1fr); font-size: .8rem; } .tl-head span { font-size: .72rem; } }

.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: var(--white); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
td .btn { margin-top: 0; }
.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding: 16px 20px; border-radius: var(--radius); background: #fff8e6; color: #6b5310; font-size: .95rem; }
.note svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.integrated { margin-top: 40px; display: grid; gap: 20px; align-items: center; padding: 32px; border-radius: var(--radius-lg); background: var(--navy); color: var(--white); }
@media (min-width: 860px) { .integrated { grid-template-columns: 1fr auto; } }
.integrated h3 { font-size: 1.4rem; }
.integrated p { color: #d4d6ee; margin: 0; }

/* Results page */
.callout { text-align: center; font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 700; padding: 28px; border-radius: var(--radius-lg); background: var(--mint-50); color: var(--navy); }
.callout .num { color: var(--mint-600); }
.methodology { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 40px; }

/* Contact page */
.contact-card { text-align: start; }
.contact-card .value { font-weight: 700; font-size: 1.08rem; margin-bottom: 2px; word-break: break-word; direction: ltr; unicode-bidi: plaintext; }
.contact-card .help { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.contact-card .actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: .88rem; cursor: pointer; }
.copy-btn:hover { border-color: var(--mint); color: var(--mint-600); }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn.copied { background: var(--mint-50); border-color: var(--mint); color: var(--mint-600); }
.socials-row { display: flex; flex-wrap: wrap; gap: 12px; }
.social-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.social-pill:hover { border-color: var(--navy); }
.social-pill svg { width: 18px; height: 18px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 36px; } }
.field { margin-bottom: 22px; }
.field > label, .field > .label { display: block; font-weight: 700; margin-bottom: 8px; }
.req { color: var(--danger); margin-inline-start: 2px; }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; margin-inline-start: 4px; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--white); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 44px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322245A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat;
  background-size: 18px; background-position: left 14px center;
}
html[dir="ltr"] .select { background-position: right 14px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(92,200,174,.18); }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--danger); }
.field-error { display: none; color: var(--danger); font-size: .88rem; margin-top: 6px; font-weight: 600; }
.field.invalid .field-error { display: block; }
.hint { color: var(--muted); font-size: .88rem; margin-top: 6px; }
.phone-group { display: flex; direction: ltr; }
.phone-group .prefix { display: grid; place-items: center; padding: 0 14px; border: 1.5px solid var(--line); border-inline-end: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--bg); font-weight: 700; }
.phone-group .input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; text-align: left; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: .95rem;
  transition: background .15s, border-color .15s, color .15s; cursor: pointer;
}
.chip span::before { content: ""; width: 0; height: 0; transition: width .15s; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:checked + span::before {
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235CC8AE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.chip input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 2px; }
.chip input[type="radio"]:checked + span::before { display: none; }

.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--navy); flex: none; }
.check a { color: var(--mint-600); text-decoration: underline; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.progress { margin-bottom: 28px; }
.progress-steps { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: .88rem; font-weight: 700; color: var(--muted); }
.progress-steps span.active { color: var(--navy); }
.progress-steps span.done { color: var(--mint-600); }
.progress-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress-bar i { display: block; height: 100%; background: var(--mint); border-radius: 999px; transition: width .35s ease; }
.form-step[hidden] { display: none; }
.form-step h2 { font-size: 1.35rem; margin-bottom: 22px; }
.form-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 8px; flex-wrap: wrap; }
.form-nav .btn-next, .form-nav .btn-submit { margin-inline-start: auto; }
.secure { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; margin-top: 16px; }
.secure svg { width: 16px; height: 16px; color: var(--mint-600); }
.form-alert { display: none; padding: 14px 18px; border-radius: var(--radius); background: #fdecec; color: #8f2424; font-weight: 600; margin-top: 16px; }
.form-alert.show { display: block; }
.form-alert a { text-decoration: underline; }

.quote-layout { display: grid; gap: 28px; }
@media (min-width: 980px) { .quote-layout { grid-template-columns: 1fr 360px; align-items: start; } .quote-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 16px; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 18px; }
.aside-steps { display: grid; gap: 16px; counter-reset: as; }
.aside-steps li { display: flex; gap: 12px; align-items: flex-start; }
.aside-steps li::before {
  counter-increment: as; content: counter(as); flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--mint-50); color: var(--mint-600); font-weight: 700;
}
.aside-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--navy); color: var(--white); }
.aside-stats div { text-align: center; }
.aside-stats strong { display: block; font-size: 1.4rem; color: var(--mint); line-height: 1.3; }
.aside-stats span { font-size: .85rem; color: #c9cbe6; }

.success-box { text-align: center; padding: 20px 0; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--mint-50); color: var(--mint-600); }
.success-icon svg { width: 40px; height: 40px; }
.success-box h2 { font-size: 1.6rem; }
.success-box p { color: var(--muted); font-size: 1.08rem; max-width: 520px; margin-inline: auto; }
.req-id { display: inline-block; direction: ltr; font-weight: 700; color: var(--navy); background: var(--bg); padding: 2px 10px; border-radius: 6px; }
.success-box .btn-row { justify-content: center; margin-top: 24px; }

/* Prose (privacy) */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { list-style: disc; padding-inline-start: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--mint-600); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c9cbe6; padding-top: 64px; margin-top: 0; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; } }
.footer-logo { width: 150px; margin-bottom: 18px; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: var(--mint); }
.footer-contact li { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.footer-contact .ltr { direction: ltr; unicode-bidi: isolate; }
.group-badge { display: inline-flex; align-items: center; gap: 14px; margin-top: 4px; color: var(--white); font-weight: 600; line-height: 1.5; }
.group-badge img { width: 64px; height: auto; flex: none; }
.site-footer .social { margin-top: 18px; }
.site-footer .social a { background: rgba(255,255,255,.08); width: 38px; height: 38px; }
.site-footer .social a:hover { background: var(--mint); color: var(--navy); }
.site-footer .social svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .88rem; }
.footer-bottom a:hover { color: var(--mint); }
@media (min-width: 760px) { .footer-bottom { padding-bottom: 20px; } }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
  animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::after { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* Stats heading row + prefix units */
.stats-head { grid-column: 1 / -1; margin: 0; padding: 14px 18px; background: var(--white); text-align: center; font-size: .95rem; font-weight: 600; color: var(--muted); }
.stat-value .unit.pre { margin-inline-start: 0; margin-inline-end: 4px; }
.service-block { scroll-margin-top: calc(var(--header-h) + 72px); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.topbar-info .ltr { display: inline-flex; align-items: center; gap: 6px; }

/* Header placeholder to avoid layout shift before JS renders it */
#site-header:empty { min-height: calc(var(--header-h) + 38px); }
@media (max-width: 860px) { #site-header:empty { min-height: var(--header-h); } }
