/* =========================================================
   16 Academy — Design System
   Mobile-first. Supports [dir="rtl"] (Arabic) and [dir="ltr"] (French).
   No external font requests: system font stack for speed + no FOUC.
   ========================================================= */

:root {
  /* Brand palette */
  --navy: #0B1F3A;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --orange: #F59E0B;
  --orange-dark: #D97706;
  --bg-light: #F6F9FF;
  --white: #FFFFFF;
  --green: #16A34A;
  --green-dark: #128239;

  /* Text */
  --text-body: #1E2A3C;
  --text-muted: #55637A;
  --text-inverse: #F6F9FF;

  /* Surfaces */
  --surface: #FFFFFF;
  --surface-alt: #F6F9FF;
  --surface-navy: #0B1F3A;
  --border: #E2E8F5;
  --border-strong: #C7D3EA;

  /* Type scale (mobile-first, fluid via clamp) */
  --fs-xs: 0.8rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  --fs-lg: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem);
  --fs-xl: clamp(1.6rem, 1.3rem + 1.6vw, 2.2rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2.6vw, 3rem);
  --fs-3xl: clamp(2.4rem, 1.7rem + 3.6vw, 3.8rem);

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 16px 40px rgba(11, 31, 58, 0.14);

  --container: 1180px;
  --header-h: 64px;

  --font-ar: "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", sans-serif;
  --font-fr: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --transition: 180ms ease;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-body);
  line-height: 1.65;
  font-size: var(--fs-base);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="fr"] body { font-family: var(--font-fr); }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

main { flex: 1 1 auto; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
@media (min-width: 768px) { .container { padding-inline: var(--sp-6); } }

section { padding-block: var(--sp-8); }
.section-tight { padding-block: var(--sp-6); }

.section-head { max-width: 720px; margin-bottom: var(--sp-6); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-3);
}
h1 { font-size: var(--fs-3xl); font-weight: 800; line-height: 1.2; color: var(--navy); }
h2 { font-size: var(--fs-2xl); font-weight: 800; line-height: 1.25; color: var(--navy); }
h3 { font-size: var(--fs-lg); font-weight: 700; line-height: 1.35; color: var(--navy); }
.lede { font-size: var(--fs-md); color: var(--text-muted); }

/* Accessible focus states */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  inset-inline-start: var(--sp-3);
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top var(--transition);
}
.skip-link:focus { top: var(--sp-3); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--fs-sm);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: normal;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: var(--shadow-md); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); box-shadow: var(--shadow-md); }
.btn-whatsapp { background: var(--green); color: var(--white); }
.btn-whatsapp:hover { background: var(--green-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-invert { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost-invert:hover { background: rgba(255,255,255,0.2); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: var(--fs-xs); }
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-row.center { justify-content: center; }

/* =========================================================
   Announcement bar
   ========================================================= */
.announce {
  background: var(--navy);
  color: var(--text-inverse);
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: var(--sp-2) var(--sp-4);
}
.announce strong { color: var(--orange); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 249, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: var(--sp-2); font-weight: 800; color: var(--navy); }
.brand img, .brand svg { height: 34px; width: auto; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: var(--sp-5); }
.main-nav a {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-body);
  padding: var(--sp-2) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); border-color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: var(--sp-2); }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: var(--fs-xs);
  font-weight: 700;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 3px;
  background: var(--white);
}
.lang-switch a { padding: 6px 10px; border-radius: var(--radius-full); color: var(--text-muted); }
.lang-switch a[aria-current="true"] { background: var(--navy); color: var(--white); }
.icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--navy);
}
.icon-btn svg { width: 20px; height: 20px; }
@media (min-width: 560px) { .icon-btn { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--white);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1000px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(11, 31, 58, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-panel {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: var(--white);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}
html[dir="rtl"] .mobile-menu-panel { transform: translateX(-100%); }
.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-close {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  border: 1px solid var(--border-strong); background: var(--surface-alt);
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-menu-nav ul { display: flex; flex-direction: column; gap: var(--sp-1); }
.mobile-menu-nav a {
  display: block;
  padding: var(--sp-3) var(--sp-2);
  font-weight: 700;
  font-size: var(--fs-md);
  border-radius: var(--radius-sm);
  color: var(--navy);
}
.mobile-menu-nav a:hover { background: var(--surface-alt); }
.mobile-menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: var(--sp-3); }
body.menu-open { overflow: hidden; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-block: var(--sp-7) var(--sp-8); background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%); }
.hero .container { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 960px) { .hero .container { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-7); } }
.hero-copy h1 { margin-bottom: var(--sp-4); }
.hero-copy .lede { margin-bottom: var(--sp-5); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); margin-top: var(--sp-6); }
.hero-trust li { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; color: var(--navy); }
.hero-trust svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (min-width: 960px) { .hero-media img { aspect-ratio: 4/5; } }
.hero-badge {
  position: absolute; bottom: var(--sp-4); inset-inline-start: var(--sp-4);
  background: rgba(11,31,58,0.85); color: var(--white); backdrop-filter: blur(6px);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-md);
  font-size: var(--fs-xs); font-weight: 700; display: flex; align-items: center; gap: var(--sp-2);
  max-width: calc(100% - 2 * var(--sp-4));
}
.hero-badge .num { font-size: var(--fs-lg); color: var(--orange); font-weight: 800; }

.feature-cards { gap: var(--sp-5); }
.feature-card {
  background: linear-gradient(180deg, rgba(37,99,235,0.98), rgba(59,130,246,0.98));
  color: var(--white);
  padding: var(--sp-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  min-height: 280px;
}
.feature-card h3 { margin: 0; font-size: var(--fs-xl); }
.feature-card p { color: rgba(255,255,255,0.92); font-size: var(--fs-sm); line-height: 1.6; }
.feature-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: var(--orange);
}
.feature-bar {
  margin-top: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: var(--sp-3);
}
@media (min-width: 900px) { .feature-bar { grid-template-columns: repeat(4, 1fr); } }
.feature-item { display: flex; gap: var(--sp-3); align-items: flex-start; }
.feature-icon-sm {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(37,99,235,0.12);
  color: var(--blue);
  flex-shrink: 0;
}
.feature-item strong { display: block; margin-bottom: 0.3rem; color: var(--navy); font-size: var(--fs-sm); }
.feature-item p { margin: 0; color: var(--text-muted); font-size: var(--fs-xs); line-height: 1.5; }
.feature-cta { margin-top: var(--sp-6); text-align: center; }
.feature-cta-eyebrow { margin-bottom: var(--sp-3); font-size: var(--fs-xl); font-weight: 800; color: var(--navy); }
.feature-cta-copy { margin-bottom: var(--sp-4); color: var(--text-muted); }
.btn-lg { padding: 1rem 2.25rem; font-size: var(--fs-sm); }

/* =========================================================
   Cards / grids
   ========================================================= */
.grid { display: grid; gap: var(--sp-5); }
.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-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: rgba(37,99,235,0.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-4);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }

/* Pain points */
.pain-list { display: grid; gap: var(--sp-3); }
@media (min-width: 700px) { .pain-list { grid-template-columns: repeat(2, 1fr); } }
.pain-item {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--sp-4);
}
.pain-item .mark {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: var(--radius-full);
  background: rgba(245,158,11,0.15); color: var(--orange-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.pain-item p { font-weight: 600; color: var(--text-body); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: var(--sp-5); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-inline-start: var(--sp-2); }
.step .step-num {
  counter-increment: step; width: 44px; height: 44px; border-radius: var(--radius-full);
  background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: var(--sp-3);
}
.step .step-num::before { content: counter(step); }

/* Level / subject cards */
.level-card { display: flex; flex-direction: column; gap: var(--sp-3); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: var(--fs-xs); font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full);
}
.badge-available { background: rgba(22,163,74,0.12); color: var(--green-dark); }
.badge-limited { background: rgba(245,158,11,0.15); color: var(--orange-dark); }
.badge-soon { background: rgba(85,99,122,0.12); color: var(--text-muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-block: var(--sp-2); }
.tag { font-size: var(--fs-xs); font-weight: 600; background: var(--surface-alt); border: 1px solid var(--border); padding: 4px 10px; border-radius: var(--radius-full); color: var(--text-body); }

/* Group advantage */
.stat-block {
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-5); text-align: center; position: relative; overflow: hidden;
}
.stat-block .big-num { font-size: clamp(3.5rem, 5vw + 2rem, 6rem); font-weight: 800; color: var(--orange); line-height: 1; }
.stat-block p { color: rgba(246,249,255,0.85); max-width: 560px; margin-inline: auto; margin-top: var(--sp-3); }

/* Founder */
.founder-grid { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 900px) { .founder-grid { grid-template-columns: 0.85fr 1.15fr; } }
.founder-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--surface-alt); }
.founder-photo img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.timeline { display: flex; flex-direction: column; gap: 0; margin-block: var(--sp-5); border-inline-start: 3px solid var(--border-strong); }
.timeline-item { position: relative; padding: 0 0 var(--sp-5) var(--sp-5); }
html[dir="rtl"] .timeline-item { padding: 0 var(--sp-5) var(--sp-5) 0; }
.timeline-item::before {
  content: ""; position: absolute; top: 4px; inset-inline-start: -8px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--blue); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--blue);
}
.timeline-item .t-label { font-size: var(--fs-xs); font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.03em; }
.timeline-item .t-title { font-weight: 700; color: var(--navy); margin-top: 2px; }
.timeline-item .t-score { font-size: var(--fs-xs); color: var(--text-muted); }
.quote-block {
  background: var(--surface-alt); border-inline-start: 4px solid var(--orange); border-radius: var(--radius-md);
  padding: var(--sp-5); font-size: var(--fs-md); color: var(--navy); font-weight: 600;
}

/* Pricing */
.price-card { display: flex; flex-direction: column; gap: var(--sp-3); position: relative; }
.price-card.featured { border-color: var(--blue); box-shadow: var(--shadow-md); }
.price-card .price-tag { font-size: var(--fs-xl); font-weight: 800; color: var(--navy); }
.price-card .price-tag small { font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); }
.price-card ul { display: flex; flex-direction: column; gap: var(--sp-2); margin-block: var(--sp-2); }
.price-card li { display: flex; gap: var(--sp-2); align-items: flex-start; font-size: var(--fs-sm); }
.price-card li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.price-card .btn-row { margin-top: auto; padding-top: var(--sp-3); }

/* Reviews */
.review-card { display: flex; flex-direction: column; gap: var(--sp-3); }
.review-head { display: flex; align-items: center; gap: var(--sp-3); }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--blue); flex-shrink: 0;
}
.review-stars { color: var(--orange); font-size: var(--fs-sm); letter-spacing: 2px; }
.notice-box {
  background: var(--surface-alt); border: 1px dashed var(--border-strong); border-radius: var(--radius-md);
  padding: var(--sp-5); text-align: center; color: var(--text-muted); font-size: var(--fs-sm);
}

/* Media / gallery */
.media-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .media-grid { grid-template-columns: repeat(4, 1fr); } }
.media-tile { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; background: var(--surface-alt); }
.media-tile img { width: 100%; height: 100%; object-fit: cover; }
.media-tile.video::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(11,31,58,0.75);
}

/* Location */
.location-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 900px) { .location-grid { grid-template-columns: 1fr 1fr; } }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; background: var(--surface-alt); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.info-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.info-row { display: flex; gap: var(--sp-3); align-items: flex-start; }
.info-row .ic { width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(37,99,235,0.1); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-row .ic svg { width: 20px; height: 20px; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5); font-weight: 700; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform var(--transition); flex-shrink: 0; width: 20px; height: 20px; color: var(--blue); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); font-size: var(--fs-sm); }

/* Final CTA */
.final-cta { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: var(--sp-8) var(--sp-5); text-align: center; }
.final-cta h2 { color: var(--white); }
.final-cta p { color: rgba(246,249,255,0.8); margin-block: var(--sp-3) var(--sp-5); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy); color: rgba(246,249,255,0.85); padding-block: var(--sp-8) var(--sp-5); margin-top: var(--sp-8); }
.footer-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: var(--white); margin-bottom: var(--sp-3); }
.footer-brand p { font-size: var(--fs-sm); max-width: 320px; color: rgba(246,249,255,0.7); }
.footer-col h4 { color: var(--white); font-size: var(--fs-sm); margin-bottom: var(--sp-3); text-transform: uppercase; letter-spacing: 0.03em; }
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col a { font-size: var(--fs-sm); color: rgba(246,249,255,0.75); }
.footer-col a:hover { color: var(--orange); }
.social-row { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.social-row svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: var(--sp-7); padding-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: rgba(246,249,255,0.6);
}
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* =========================================================
   Floating WhatsApp button
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: var(--sp-4);
  inset-inline-end: var(--sp-4);
  z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* =========================================================
   Breadcrumbs
   ========================================================= */
.breadcrumbs { padding-block: var(--sp-4); font-size: var(--fs-xs); color: var(--text-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs a { color: var(--blue); font-weight: 600; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; color: var(--border-strong); }
html[dir="rtl"] .breadcrumbs li:not(:last-child)::after { content: "\\"; }

/* =========================================================
   Forms
   ========================================================= */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 700px) { .form-grid.two-col { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--navy); }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 0.65rem 0.9rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong); background: var(--white); color: var(--text-body);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.checkbox-row { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); }
.checkbox-row input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.field-error { font-size: var(--fs-xs); color: #DC2626; display: none; }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--sp-3); }

/* Blog */
.article-card { display: flex; flex-direction: column; gap: var(--sp-3); }
.article-card .art-thumb { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/10; background: var(--surface-alt); }
.article-card .art-thumb img { width: 100%; height: 100%; object-fit: cover; }
.meta-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); font-size: var(--fs-xs); color: var(--text-muted); align-items: center; }
.meta-row .dot::before { content: "•"; margin-inline-end: var(--sp-3); }

.prose { max-width: 760px; margin-inline: auto; font-size: var(--fs-md); }
.prose h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-3); font-size: var(--fs-xl); }
.prose h3 { margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose p { margin-bottom: var(--sp-4); color: var(--text-body); }
.prose ul, .prose ol { margin-bottom: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.prose ul { list-style: disc; padding-inline-start: 1.4em; }
.prose ol { list-style: decimal; padding-inline-start: 1.4em; }
.prose blockquote { border-inline-start: 4px solid var(--orange); padding-inline-start: var(--sp-4); color: var(--navy); font-weight: 600; margin-bottom: var(--sp-4); }
.article-header { max-width: 760px; margin-inline: auto; margin-bottom: var(--sp-6); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--sp-6); aspect-ratio: 16/9; background: var(--surface-alt); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cta { max-width: 760px; margin-inline: auto; margin-top: var(--sp-7); }

/* Legal pages */
.legal-doc { max-width: 800px; margin-inline: auto; font-size: var(--fs-sm); }
.legal-doc h2 { font-size: var(--fs-lg); margin-top: var(--sp-6); margin-bottom: var(--sp-2); }
.legal-doc p, .legal-doc li { color: var(--text-muted); margin-bottom: var(--sp-3); }
.legal-doc ul { list-style: disc; padding-inline-start: 1.4em; }
.draft-flag {
  background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.4); color: var(--orange-dark);
  border-radius: var(--radius-md); padding: var(--sp-4); font-weight: 700; font-size: var(--fs-sm); margin-bottom: var(--sp-6);
}

/* 404 */
.error-page { text-align: center; padding-block: var(--sp-9); }
.error-page .big { font-size: clamp(4rem, 10vw, 8rem); font-weight: 800; color: var(--blue); line-height: 1; }

/* Thank-you */
.thanks-box { max-width: 620px; margin-inline: auto; text-align: center; }
.thanks-icon { width: 84px; height: 84px; border-radius: 50%; background: rgba(22,163,74,0.12); color: var(--green); display: flex; align-items: center; justify-content: center; margin-inline: auto; margin-bottom: var(--sp-5); }
.thanks-icon svg { width: 44px; height: 44px; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.va-badge { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; color: var(--navy); }
