:root {
  /* Core palette (Bright Luxury) */
  --base: #FAFAF8;
  --base-warm: #F3EFE6;
  --surface: #FFFFFF;
  --surface-warm: #FAF8F3;
  --accent: #C9A961;
  --accent-soft: rgba(201, 169, 97, 0.14);
  --accent-border: rgba(201, 169, 97, 0.42);
  --accent-text: #7D6225; /* 5.5:1 on --base, 5.0:1 on --base-warm, 5.7:1 on --surface */
  --text: #1A1A1A;
  --text-soft: #524F48; /* 7.8:1 on --base, 7.1:1 on --base-warm */
  --border: #E5E0D5;
  --border-strong: #CFC8B8;
  --shadow-color: 34, 28, 14;

  /* Elevation & shape tokens */
  --shadow-sm: 0 8px 24px -12px rgba(var(--shadow-color), 0.12), 0 1px 3px rgba(var(--shadow-color), 0.04);
  --shadow-md: 0 18px 42px -16px rgba(var(--shadow-color), 0.16), 0 2px 6px rgba(var(--shadow-color), 0.05);
  --shadow-lg: 0 30px 64px -20px rgba(var(--shadow-color), 0.22), 0 4px 12px rgba(var(--shadow-color), 0.06);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Typography & motion */
  --font-display: 'Fraunces', 'Cairo', serif;
  --font-body: 'Outfit', 'Cairo', system-ui, sans-serif;
  --font-ar: 'Cairo', system-ui, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: clip;
}

/* Arabic RTL typography: Cairo throughout, bold weights (700/600), zero letter-spacing */
html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .stat,
html[dir="rtl"] .brand,
html[dir="rtl"] .step-num,
html[dir="rtl"] .plan-name,
html[dir="rtl"] .plan-now,
html[dir="rtl"] .plan-badge,
html[dir="rtl"] .guarantee-figure,
html[dir="rtl"] .faq-q,
html[dir="rtl"] .qualify-title,
html[dir="rtl"] .currency-label,
html[dir="rtl"] .notfound h1,
html[dir="rtl"] .legal h1,
html[dir="rtl"] .legal h2,
html[dir="rtl"] .footer-inner span {
  font-family: var(--font-ar);
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .stat,
html[dir="rtl"] .plan-name,
html[dir="rtl"] .plan-now,
html[dir="rtl"] .guarantee-figure span,
html[dir="rtl"] .faq-q,
html[dir="rtl"] .qualify-title {
  font-weight: 700;
}

html[dir="rtl"] .step-num,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .plan-badge {
  font-weight: 600;
}

html[dir="rtl"] .hero h1 { line-height: 1.3; }
html[dir="rtl"] .problem h2,
html[dir="rtl"] .how-it-works h2,
html[dir="rtl"] .demo h2,
html[dir="rtl"] .value-stack h2,
html[dir="rtl"] .pricing h2,
html[dir="rtl"] .guarantee h2,
html[dir="rtl"] .faq h2,
html[dir="rtl"] .contact h2,
html[dir="rtl"] .fuel-section h2 {
  line-height: 1.42;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

/* Film-grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 100ms; }
[data-reveal-delay="2"] { transition-delay: 200ms; }
.contact-form[data-reveal] { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Nav */
.nav {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  flex-direction: column; /* phone menu opens below the pill, never beside it */
  align-items: center;
  padding: 0 var(--space-4);
}
.nav-pill {
  width: 100%;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
html[dir="rtl"] .nav-pill { padding: 10px 22px 10px 12px; }
.brand {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-mark { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; margin-inline-end: 9px; }
.brand-accent { color: var(--accent-text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 6px 2px;
  transition: color 250ms var(--ease);
}
.nav-links a:hover { color: var(--accent-text); }
@media (max-width: 1000px) {
  .nav-links { gap: 14px; font-size: 0.88rem; }
  .nav-links a { white-space: nowrap; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links-mobile { display: flex; }
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Mobile nav: hamburger + dropdown panel */
.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 250ms var(--ease);
}
.nav-burger:hover { border-color: var(--accent-text); }
.nav-burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 320ms var(--ease), opacity 250ms var(--ease);
}
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 25px; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-links-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 360ms var(--ease), opacity 300ms var(--ease), margin 360ms var(--ease), padding 360ms var(--ease);
}
.nav-links-mobile a {
  text-decoration: none;
  color: var(--text);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.nav-links-mobile a:hover,
.nav-links-mobile a:active { background: var(--base-warm); color: var(--accent-text); }
.nav-links-mobile.is-open { max-height: 440px; opacity: 1; margin-top: 10px; padding: var(--space-2); }
.nav-links-mobile .nav-mobile-cta {
  display: none;
  margin-top: 6px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--base);
  text-align: center;
  font-weight: 600;
}
.nav-links-mobile .nav-mobile-cta:hover { background: #2A2823; color: var(--base); }

.lang-toggle {
  min-height: 38px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  transition: border-color 250ms var(--ease), background 250ms var(--ease), transform 200ms var(--ease);
}
.lang-toggle:hover { border-color: var(--accent-text); background: var(--surface-warm); }
.lang-toggle:active { transform: scale(0.97); }

/* Buttons — pill + button-in-button icon */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 50px;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 10px 8px 24px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), background 300ms var(--ease), border-color 300ms var(--ease);
}
html[dir="rtl"] .btn { padding: 8px 24px 8px 10px; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--text);
  color: var(--base);
  border-color: rgba(201, 169, 97, 0.35);
  box-shadow: 0 12px 28px -10px rgba(var(--shadow-color), 0.45);
}
.btn-primary:hover {
  background: #24221E;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -10px rgba(var(--shadow-color), 0.55);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(201, 169, 97, 0.22);
  color: var(--accent);
  font-size: 0.95rem;
  transition: transform 300ms var(--ease);
}
.btn-primary:hover .btn-icon { transform: translate(2px, -2px) scale(1.05); }
html[dir="rtl"] .btn-icon { transform: scaleX(-1); }
html[dir="rtl"] .btn-primary:hover .btn-icon { transform: scaleX(-1) translate(2px, -2px) scale(1.05); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  border-color: var(--border-strong);
  padding: 12px 24px;
}
html[dir="rtl"] .btn-ghost { padding: 12px 24px; }
.btn-ghost:hover {
  border-color: var(--accent-text);
  background: var(--surface);
  transform: translateY(-1px);
}

.btn-small {
  min-height: 40px;
  padding: 5px 6px 5px 16px;
  font-size: 0.875rem;
}
html[dir="rtl"] .btn-small { padding: 5px 16px 5px 6px; }
.btn-small .btn-icon { width: 28px; height: 28px; font-size: 0.82rem; }

/* Balanced padding on full-width CTAs so text + icon stay optically centered */
.plan-cta,
.contact-form .btn,
.cta-block .btn {
  width: 100%;
  padding-inline: 22px;
}

/* Hero (homepage) */
.hero {
  position: relative;
  padding: 40px 0 72px;
  overflow: hidden;
  background: var(--base);
}
.hero-bg-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.42;
}
.hero-fade-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 68% 68% at 50% 45%, rgba(250, 250, 248, 0.62) 0%, rgba(250, 250, 248, 0.86) 52%, var(--base) 88%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-7);
}
.hero-copy { display: flex; flex-direction: column; align-items: center; }

.hero h1,
.hero .lede,
.hero .eyebrow {
  text-shadow: 0 1px 14px rgba(250, 250, 248, 0.98), 0 0 28px rgba(250, 250, 248, 0.92);
}

.eyebrow {
  display: inline-block;
  color: var(--accent-text);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 var(--space-4);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.15rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero .lede {
  font-size: 1.1rem;
  line-height: 1.62;
  color: var(--text);
  margin: 0 auto var(--space-5);
  max-width: 560px;
}

.hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }

.hero-offer {
  margin: var(--space-5) auto 0;
  max-width: 560px;
  padding: 14px 18px;
  text-align: start;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--accent-border);
  border-inline-start: 4px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.hero-offer-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-text);
  margin-bottom: 3px;
}
.hero-offer a {
  color: var(--accent-text);
  font-weight: 600;
  margin-inline-start: 6px;
}
.hero-offer a:hover { color: var(--text); }

.hero-visual { display: flex; justify-content: center; }
.phone-shell {
  padding: 10px;
  border-radius: 2.5rem;
  background: linear-gradient(160deg, rgba(201, 169, 97, 0.24), rgba(26, 26, 26, 0.04));
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
html[dir="rtl"] .phone-shell { transform: rotate(2deg); }
.phone-core {
  width: 316px;
  max-width: 82vw;
  text-align: start;
  border-radius: calc(2.5rem - 10px);
  background: var(--surface);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
  overflow: hidden;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-warm);
}
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.chat-header-text { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bubble {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.52;
}
.bubble-in {
  align-self: flex-start;
  background: var(--base);
  color: var(--text);
  border: 1px solid var(--border);
  border-end-start-radius: 4px;
}
.bubble-out {
  align-self: flex-end;
  background: var(--text);
  color: var(--base);
  border-end-end-radius: 4px;
}
.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 14px; }
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-soft);
  animation: typing 1.2s var(--ease) infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Desktop homepage hero */
@media (min-width: 1000px) {
  .hero { padding: 56px 0 88px; }
  .hero-inner {
    max-width: var(--max-width);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 56px;
    text-align: start;
  }
  .hero-copy { align-items: flex-start; }
  .hero .lede { margin-inline: 0; }
  .hero-cta { justify-content: flex-start; }
  .hero-offer { margin-inline: 0; }
  .hero h1 { font-size: clamp(2.5rem, 3.9vw, 3.45rem); }
}

/* Shared section headings & alternating surfaces */
.problem h2,
.how-it-works h2,
.demo h2,
.fuel-section h2,
.value-stack h2,
.pricing h2,
.guarantee h2,
.faq h2,
.contact h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.22;
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--space-7);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.problem,
.fuel-section,
.pricing,
.contact {
  background: var(--base-warm);
  border-top: 1px solid var(--border);
  padding: var(--space-9) 0;
}

.how-it-works,
.demo,
.value-stack,
.guarantee,
.faq {
  background: var(--base);
  border-top: 1px solid var(--border);
  padding: var(--space-9) 0;
}

/* Try the demo */
.demo { text-align: center; }
.demo .eyebrow { display: block; width: fit-content; margin: 0 auto var(--space-4); }
.demo-lede {
  color: var(--text-soft);
  max-width: 580px;
  margin: -28px auto var(--space-6);
  font-size: 1.04rem;
  line-height: 1.65;
}
.proof-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.38;
  max-width: 600px;
  margin: 0 auto var(--space-2);
}
html[dir="rtl"] .proof-item h3 { font-family: var(--font-ar); font-weight: 700; }
.proof-item p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto var(--space-5);
}
.raime-demo-inline { display: flex; justify-content: center; }

/* Problem — bento cards */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.bento-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease), border-color 400ms var(--ease);
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.bento-lg { grid-column: span 1; }
.stat {
  color: var(--accent-text);
  font-weight: 600;
  font-size: 1.24rem;
  line-height: 1.3;
  margin: 0 0 10px;
  font-family: var(--font-display);
}
.stat-desc {
  color: var(--text-soft);
  font-size: 1.01rem;
  line-height: 1.65;
  margin: 0;
}

/* How it works */
.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}
.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.steps li:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  min-width: 48px;
  height: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.steps h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  line-height: 1.38;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}
.steps p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-soft);
}
.how-it-works .cta-block {
  max-width: 460px;
  margin: var(--space-6) auto 0;
  text-align: center;
}

/* Fuel equation */
.fuel { text-align: center; max-width: 760px; margin: 0 auto; }
.fuel-equation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}
.fuel-term {
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 1.04rem;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.fuel-op { color: var(--accent-text); font-size: 1.4rem; font-weight: 700; }
.fuel p {
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.68;
  margin: 0 auto 14px;
  max-width: 620px;
}
.fuel p:last-child { margin-bottom: 0; }

/* Double-bezel shell shared: value-stack + pricing */
.value-shell,
.pricing-shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 10px;
  border-radius: calc(var(--radius-lg) + 8px);
  background: linear-gradient(155deg, rgba(201, 169, 97, 0.28), rgba(201, 169, 97, 0.06));
  border: 1px solid var(--accent-border);
  box-shadow: var(--shadow-lg);
}
.value-core,
.pricing-core {
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 36px 32px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.value-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
  color: var(--text-soft);
}
.value-amount { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.value-total {
  border-top: 1px solid var(--text);
  border-bottom: none;
  margin-top: 8px;
  padding-top: 16px;
  font-weight: 600;
  color: var(--text);
}
.value-total .value-amount { text-decoration: line-through; color: var(--text-soft); font-weight: 400; }
.value-price { border-bottom: none; padding-top: 4px; font-weight: 600; color: var(--text); font-size: 1.2rem; }
.value-price .value-amount { color: var(--accent-text); font-weight: 700; }
.value-note { color: var(--text-soft); font-size: 0.88rem; margin-top: 20px; text-align: center; }
.value-core[hidden] { display: none; }
.value-group { color: var(--text); font-weight: 600; }
.value-missing {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--base);
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Package switch */
.package-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 520px);
  margin: -8px auto 34px;
  padding: 5px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.package-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 11px 8px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: var(--text-soft);
  font: inherit;
  cursor: pointer;
  text-align: center;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.package-tab:hover { color: var(--text); }
.package-tab-name { font-weight: 600; font-size: 0.92rem; line-height: 1.25; }
.package-tab-price { font-size: 0.78rem; opacity: 0.85; }
.package-tab[aria-selected="true"] {
  background: var(--text);
  color: var(--base);
  box-shadow: 0 8px 18px -8px rgba(var(--shadow-color), 0.5);
}
.package-tab[aria-selected="true"] .package-tab-price { color: var(--accent); opacity: 1; }
.package-tab:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.package-switch + .currency-picker { margin-top: 0; }

/* Currency switcher */
.currency-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: -24px auto 40px;
  max-width: 100%;
}
.currency-picker[hidden] { display: none; }
.currency-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}
html[dir="rtl"] .currency-label { letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.currency-switch {
  position: relative;
  display: inline-flex;
  gap: 2px;
  padding: 5px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.currency-switch::-webkit-scrollbar { display: none; }
.currency-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--text);
  box-shadow: 0 8px 18px -8px rgba(var(--shadow-color), 0.5);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
  pointer-events: none;
}
.currency-option {
  position: relative;
  z-index: 1;
  flex: none;
  padding: 10px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font: 600 0.8rem/1 var(--font-body);
  letter-spacing: 0.08em;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
html[dir="rtl"] .currency-option { font-family: var(--font-ar); font-size: 0.9rem; letter-spacing: 0; padding: 9px 14px; }
.currency-option:hover { color: var(--text); }
.currency-option[aria-checked="true"] { color: var(--accent); }
.currency-option:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.currency-caption { margin: 0; min-height: 1.3em; font-size: 0.85rem; color: var(--text-soft); text-align: center; }
[data-price] { font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity 0.3s var(--ease); }
[data-price].is-changing { opacity: 0.85; }

/* Offer & pricing card */
.single-plan { max-width: 640px; margin: 0 auto; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  max-width: var(--max-width);
  margin: 0 auto;
}
.plan-card {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.plan-featured { max-width: none; margin: 0; display: flex; }
.plan-featured .pricing-core { display: flex; flex-direction: column; width: 100%; }
.plan-card .plan-list,
.plan-featured .plan-list { flex: 1; align-content: start; }

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.plan-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text);
}
.plan-badge {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.plan-for {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.55;
}
.plan-deadline { margin: -12px 0 22px; color: var(--accent-text); font-size: 0.9rem; font-weight: 600; }
.plan-list-lead { font-weight: 600; color: var(--text); }

.plan-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 22px 0 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--accent);
}
.plan-was { color: var(--text-soft); font-size: 1.05rem; text-decoration-thickness: 1px; }
.plan-now {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
.plan-card .plan-now { font-size: clamp(1.85rem, 4vw, 2.25rem); }
.plan-usd {
  color: var(--text-soft);
  font-size: 0.98rem;
  font-weight: 500;
  margin-inline-start: 0;
}
.plan-terms {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.55;
}
.plan-terms a {
  color: var(--accent-text);
  font-weight: 600;
  text-underline-offset: 3px;
}
.plan-terms a:hover { color: var(--text); }

.plan-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 14px;
}
.plan-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1.01rem;
  line-height: 1.55;
  color: var(--text);
}
.plan-list li:last-child {
  margin-top: 4px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  font-weight: 600;
}
.plan-check {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--accent-text);
}

.pricing-note {
  color: var(--text-soft);
  font-size: 0.96rem;
  font-weight: 500;
  margin: 24px auto 0;
  max-width: 620px;
  text-align: center;
  line-height: 1.6;
}
.section-lede {
  color: var(--text-soft);
  text-align: center;
  max-width: 540px;
  margin: -32px auto 36px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Guarantee */
.guarantee-inner { max-width: 820px; margin: 0 auto; }
.guarantee-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guarantee-single { max-width: 720px; margin: 0 auto; }
.guarantee-card {
  border: 1.5px solid var(--accent);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.guarantee-card .guarantee-figure {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--accent-text);
  font-family: var(--font-display);
}
.guarantee-figure span { font-size: 3rem; font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.guarantee-figure small { font-size: 1rem; color: var(--text-soft); }
.guarantee-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  line-height: 1.35;
  color: var(--text);
}
.guarantee-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.03rem;
  line-height: 1.68;
}

.conditions {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  list-style: none;
  display: grid;
  gap: 14px;
}
.conditions li {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  padding-inline-start: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.conditions li:last-child { border-bottom: 0; padding-bottom: 0; }
.conditions li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 6px;
  color: var(--accent-text);
  font-weight: 700;
}
.conditions a {
  color: var(--accent-text);
  font-weight: 600;
  text-underline-offset: 3px;
}
.conditions a:hover { color: var(--text); }

.guarantee-inner > h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-align: center;
  margin: 44px auto 16px;
  max-width: 720px;
  color: var(--text);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.faq-item:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}
.faq-item[hidden] { display: none; }
.faq-q {
  font-weight: 600;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--text);
}
.faq-a {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

@media (min-width: 861px) {
  .faq-grid:not(:has(.faq-item[hidden])) .faq-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .faq-grid:has(.faq-item[hidden]) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: var(--max-width);
  }
}

/* Contact & Qualification Form */
.contact-inner { max-width: 560px; text-align: center; margin: 0 auto; }
.contact-inner > p {
  color: var(--text-soft);
  font-size: 1.03rem;
  line-height: 1.65;
  margin: -24px auto 28px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: start;
}
#contactForm:not(:has([data-qualify])) {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  min-width: 0;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease);
}
.contact-form input::placeholder { color: #6E6A60; opacity: 1; }
.contact-form input:hover,
.contact-form select:hover { border-color: var(--text-soft); }
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-inline-end: 36px;
}
html[dir="rtl"] .contact-form select { background-position: 15px 55%, 20px 55%; }

/* WhatsApp number with country list (sa.html): code first, number after, in both languages */
.phone-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.phone-field {
  display: grid;
  grid-template-columns: minmax(0, 11.5rem) minmax(0, 1fr);
  gap: 10px;
  direction: ltr;
}
.phone-field select { min-width: 0; text-overflow: ellipsis; }
html[dir] .phone-field select {
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  padding: 13px 34px 13px 12px;
}

.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.contact-form input[aria-invalid="true"],
.contact-form select[aria-invalid="true"] { border-color: #B4533A; }

/* Honeypot: hidden without a large negative offset (which causes RTL horizontal scroll) */
.form-trap { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.cf-turnstile { max-width: 100%; overflow: hidden; }

.form-consent {
  margin: 0 !important;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-soft);
  text-align: center;
}
.form-consent a {
  color: var(--accent-text);
  font-weight: 600;
  text-underline-offset: 3px;
}
.form-consent a:hover { color: var(--text); }

.contact-form .btn[disabled] { opacity: 0.6; cursor: progress; }
.contact-form .btn {
  margin-top: 8px;
  min-height: 54px;
  font-size: 1.05rem;
  font-weight: 700;
}
.form-status {
  margin: 0 !important;
  text-align: center;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--accent-text);
}
.form-status.is-error { color: #9E3D26; }

/* Booking step */
.booking { margin-top: 32px; scroll-margin-top: 100px; }
.booking h3 { font-size: 1.3rem; margin-bottom: 10px; }
.contact .booking p { margin-bottom: 20px; color: var(--text-soft); }
.booking-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 700px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.contact .booking .booking-alt { margin: 14px 0 0; font-size: 0.9rem; }
.booking-alt a { color: var(--accent-text); font-weight: 600; }
.contact .booking .booking-done { margin: 14px 0 0; color: var(--accent-text); font-weight: 600; }

/* Pre-booking qualification steps (/sa) */
.contact .qualify,
.contact .form-step {
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact .qualify { text-align: center; align-items: stretch; }
.qualify-title {
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.3;
  margin: 0 !important;
  color: var(--text) !important;
  font-family: var(--font-display);
}
html[lang="ar"] .contact .qualify .qualify-title { font-family: var(--font-ar); font-weight: 700; }
.contact .qualify .qualify-intro {
  margin: 0 auto 8px !important;
  max-width: 34ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-soft);
}
.qualify-chips {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.qualify-chips li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 5px 13px;
}
.qualify-chips[hidden],
.qualify-intro[hidden] { display: none; }
.contact .qualify .btn { margin: 8px 0 0; }

.qualify fieldset {
  border: 0;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.qualify legend {
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
  float: left;
  width: 100%;
}
html[dir="rtl"] .qualify legend { float: right; }
.qualify-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; clear: both; }
.contact-form .qualify-choices label {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), transform 150ms var(--ease);
}
.qualify-choices label:hover { border-color: var(--accent-text); background: var(--surface-warm); }
.qualify-choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qualify-choices label:has(input:checked) { border-color: var(--accent-text); background: var(--accent-soft); }
.qualify-choices label:has(input:focus-visible) { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.qualify fieldset[aria-invalid="true"] .qualify-choices label { border-color: #B4533A; }

.contact-form[hidden],
.not-yet[hidden],
.form-step[hidden],
.qualify[hidden] { display: none; }
.qualify fieldset[hidden],
.qualify .btn[hidden],
.qualify-step[hidden] { display: none; }

.qualify-step { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.contact .qualify .qualify-step { margin: 4px 0 0 !important; font-size: 0.85rem; color: var(--text-soft); }
.qualify-bar { display: block; height: 6px; border-radius: 99px; background: var(--border); overflow: hidden; }
.qualify-bar i { display: block; height: 100%; width: 25%; background: var(--accent); border-radius: inherit; transition: width 350ms var(--ease); }
.qualify-count { font-size: 0.85rem; color: var(--text-soft); font-weight: 600; }

.qualify.is-asking .qualify-title { font-size: 1rem; color: var(--text-soft) !important; font-weight: 500; }
.qualify.is-asking fieldset { border-top: 0; padding: 8px 0 4px; animation: qIn 300ms var(--ease); }
.qualify.is-asking legend { font-size: 1.2rem; font-weight: 700; line-height: 1.48; text-align: center; float: none; margin-bottom: 16px; }
.contact-form .qualify.is-asking .qualify-choices label { min-height: 56px; padding: 16px 12px; font-size: 1.06rem; border-radius: 14px; }

@keyframes qIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .qualify.is-asking fieldset { animation: none; }
  .qualify-bar i { transition: none; }
}

.form-step { gap: 18px; scroll-margin-top: 100px; }
.form-step-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 4px; }
.form-step-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 4px 12px;
}
.contact .form-step .qualify-title { font-size: 1.25rem; font-weight: 700; }

.not-yet {
  margin-top: 32px;
  padding: 32px 26px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
  scroll-margin-top: 100px;
}
.not-yet h3 { font-size: 1.25rem; margin: 0 0 10px; }
.contact .not-yet p { margin: 0 0 12px; color: var(--text-soft); font-size: 1rem; line-height: 1.6; }
.contact .not-yet p:last-child { margin-bottom: 0; }

/* Legal pages (privacy, terms) */
.legal { max-width: 720px; margin: 0 auto; padding: 140px 24px 96px; }
.legal h1 { font-family: var(--font-display); font-weight: 500; font-size: 2rem; margin-bottom: 8px; }
.legal p, .legal li { color: var(--text-soft); line-height: 1.7; font-size: 1rem; }
.legal h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; margin-top: 40px; }
.legal a { color: var(--accent-text); font-weight: 600; }
.legal ul { padding-inline-start: 20px; }
.legal-updated { font-size: 0.92rem; }

/* 404 page */
.notfound {
  min-height: 72vh;
  max-width: 640px;
  margin: 0 auto;
  padding: 140px 24px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.notfound h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.notfound-lede { color: var(--text-soft); font-size: 1.05rem; margin: 0 0 32px; max-width: 460px; }
.notfound-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Terms and Privacy carry English + Arabic; show the active language */
html[lang="ar"] [data-lang-block="en"],
html:not([lang="ar"]) [data-lang-block="ar"] { display: none; }

/* Footer */
.site-footer {
  background: var(--base-warm);
  border-top: 1px solid var(--border);
  padding: var(--space-7) 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 0.94rem;
}
.footer-inner a {
  text-decoration: none;
  color: var(--text-soft);
  transition: color 250ms var(--ease);
}
.footer-inner a:hover { color: var(--accent-text); }
.footer-inner span { font-family: var(--font-display); font-weight: 600; }
.footer-links { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; }
.footer-legal { flex-basis: 100%; margin: 0; font-size: 0.85rem; color: var(--text-soft); }

/* Cookie notice (tracking.js) */
.consent {
  position: fixed;
  inset-inline-start: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 360px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-soft);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.consent.is-visible { opacity: 1; transform: none; }
.consent p { margin: 0 0 12px; line-height: 1.52; }
.consent a { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent button {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  font: 600 0.84rem/1 var(--font-body);
  cursor: pointer;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.consent button:hover { border-color: var(--accent-text); background: var(--surface-warm); }
html[dir="rtl"] .consent button { font-family: var(--font-ar); }
.consent button[data-consent="grant"] {
  background: var(--text);
  color: var(--base);
  border-color: var(--text);
}
.consent button[data-consent="grant"]:hover { background: #2A2823; }

/* Responsive adjustments */
@media (max-width: 980px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); max-width: 580px; }
  .plan-featured { order: -1; }
}

@media (max-width: 860px) {
  .bento-grid,
  .faq-grid,
  .guarantee-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .section-inner { padding: 0 18px; }
  .nav { top: 10px; padding: 0 12px; }
  .nav-pill { padding: 8px 10px 8px 16px; gap: 12px; }
  html[dir="rtl"] .nav-pill { padding: 8px 16px 8px 10px; }

  .hero { padding: 20px 0 48px; }
  .hero-bg-video { opacity: 0.36; }
  .hero-fade-overlay {
    background: linear-gradient(180deg, rgba(250, 250, 248, 0.86) 0%, rgba(250, 250, 248, 0.72) 52%, var(--base) 96%);
  }
  .hero-inner { gap: 36px; padding: 0 18px; }
  .eyebrow { margin-bottom: 12px; font-size: 0.75rem; padding: 6px 12px; }
  .hero h1 { font-size: clamp(1.85rem, 6.8vw, 2.5rem); line-height: 1.2; margin-bottom: 12px; }
  html[dir="rtl"] .hero h1 { line-height: 1.3; }
  .hero .lede { font-size: 1.02rem; line-height: 1.58; margin-bottom: 18px; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .hero-cta .btn-primary { width: 100%; min-height: 52px; padding-inline: 22px; }
  .hero-cta .btn-ghost { align-self: center; min-height: 42px; padding: 9px 20px; font-size: 0.92rem; }
  .hero-offer { margin-top: 14px; padding: 12px 15px; font-size: 0.94rem; line-height: 1.5; }

  .problem,
  .fuel-section,
  .pricing,
  .contact,
  .how-it-works,
  .demo,
  .value-stack,
  .guarantee,
  .faq {
    padding: var(--space-8) 0;
  }

  .problem h2,
  .how-it-works h2,
  .demo h2,
  .fuel-section h2,
  .value-stack h2,
  .pricing h2,
  .guarantee h2,
  .faq h2,
  .contact h2 {
    margin-bottom: var(--space-6);
  }
  .section-lede,
  .demo-lede,
  .contact-inner > p {
    margin-top: -16px;
    margin-bottom: 24px;
  }

  .bento-card { padding: 22px 20px; border-radius: 20px; }
  .steps { gap: 14px; }
  .steps li {
    flex-direction: row;
    gap: 14px;
    padding: 20px 18px;
    border-radius: 20px;
  }
  .step-num { min-width: 42px; height: 42px; font-size: 1rem; }

  .value-shell,
  .pricing-shell {
    padding: 6px;
    border-radius: 26px;
    margin-inline: 0;
  }
  .value-core,
  .pricing-core,
  .plan-card {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .plan-price { padding: 16px 16px; margin: 18px 0 12px; }
  .value-row { gap: 16px; font-size: 0.94rem; line-height: 1.45; padding: 13px 0; }
  .value-total { padding-top: 16px; }
  .value-price { font-size: 1.12rem; }

  .guarantee-card { padding: 24px 20px; border-radius: 20px; }
  .conditions { padding: 20px 18px; border-radius: 20px; }
  .faq-item { padding: 22px 20px; border-radius: 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Keep cookie notice anchored beside the 60px floating chat launcher so it never covers the hero fold */
  .consent {
    bottom: 14px;
    inset-inline-start: 12px;
    inset-inline-end: 82px;
    max-width: none;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.82rem;
  }
  .consent p { margin-bottom: 10px; }
  body:has(.sticky-cta.is-on) .consent {
    bottom: 78px;
    inset-inline-end: 12px;
  }
}

@media (max-width: 560px) {
  .nav-actions { gap: 8px; }
  .nav-actions .btn-small { display: none; }
  .nav-links-mobile .nav-mobile-cta { display: block; }
}

@media (max-width: 520px) {
  .contact .qualify,
  .contact .form-step,
  #contactForm:not(:has([data-qualify])) {
    padding: 24px 18px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .phone-field { grid-template-columns: minmax(0, 1fr); }
  .fuel-equation { gap: 8px; }
  .fuel-term { padding: 8px 14px; font-size: 0.94rem; }
  .fuel-op { font-size: 1.15rem; }
  .package-tab { padding: 10px 4px; }
  .package-tab-name { font-size: 0.86rem; }
  .package-tab-price { font-size: 0.74rem; }
  .currency-option { min-height: 44px; min-width: 44px; padding: 10px 8px; font-size: 0.74rem; letter-spacing: 0.04em; }
  html[dir="rtl"] .currency-option { min-height: 44px; min-width: 44px; padding: 9px 9px; font-size: 0.84rem; }
  .footer-links { gap: 6px 20px; }
  .footer-inner a { display: inline-block; padding: 8px 0; }
  .form-consent a { display: inline-block; padding: 8px 2px; margin: -8px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video-wrap { display: none; }
  .consent { transition: none; }
}

/* 2026-11-16: the booking form sits right under the hero (Gemini's order and spacing) */
.hero:has(+ .contact) { padding-bottom: var(--space-7); }
.vsl-hero:has(+ .contact) { padding-bottom: var(--space-6); }
.hero + .contact, .vsl-hero + .contact { background: var(--base-warm); border-top: 1px solid var(--accent-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75); padding-top: var(--space-8); scroll-margin-top: 84px; }
.vsl-hero ~ .how-it-works { background: var(--base-warm); }
@media (max-width: 640px) {
  .hero:has(+ .contact) { padding-bottom: var(--space-6); }
  .vsl-hero:has(+ .contact) { padding-bottom: var(--space-5); }
  .hero + .contact, .vsl-hero + .contact { padding-top: var(--space-7); }
}
