/* ============================================================
   RELAX — Design tokens
   Palette derived from brand logo (warm orange mark on white)
   and the app's own map/booking screens (deep navy).
   ============================================================ */
:root{
  /* Brand color system */
  --ink:            #18130F;
  --ink-soft:       #564B41;
  --ink-faint:      #8A7C70;

  --cream:          #FFF9F3;
  --cream-deep:     #F7ECE0;
  --cream-line:     #EADFD1;

  --orange-700:     #C2530E;
  --orange-600:     #E76E1B;
  --orange-500:     #F3873C;
  --orange-400:     #FFA463;
  --orange-100:     #FFE7D2;
  --orange-050:     #FFF3E9;

  --navy-900:       #11181F;
  --navy-800:       #182531;
  --navy-700:       #22323F;
  --navy-600:       #324454;
  --navy-line:      rgba(255,255,255,0.09);

  --white:          #FFFFFF;

  /* Typography */
  --font-display: 'Space Grotesk', 'IBM Plex Sans Arabic', sans-serif;
  --font-body:    'Inter', 'IBM Plex Sans Arabic', sans-serif;
  --font-ar:      'IBM Plex Sans Arabic', 'Inter', sans-serif;

  /* Radii / shadow */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-soft: 0 20px 45px -20px rgba(24,19,15,0.25);
  --shadow-card: 0 12px 30px -14px rgba(24,19,15,0.18);

  /* Motion */
  --ease: cubic-bezier(.22,.68,.24,1);
  --dur-s: .25s;
  --dur-m: .55s;
  --dur-l: .9s;

  --container: 1200px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body{ font-family: var(--font-ar); }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font:inherit; cursor:pointer; }
h1,h2,h3,h4,p{ margin:0; }
section{ position:relative; }

:focus-visible{
  outline: 2.5px solid var(--orange-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 900px){ .container{ padding-inline: 40px; } }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: 14px;
}
html[lang="ar"] .eyebrow{ letter-spacing: 0; font-family: var(--font-ar); }
.eyebrow::before{
  content:"";
  width: 22px; height: 2px;
  background: var(--orange-600);
  border-radius: 2px;
}

h2.section-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 16ch;
}
html[lang="ar"] h2.section-title{ font-family: var(--font-ar); max-width: 22ch; letter-spacing:0; font-weight:700; }

.section-sub{
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
}

.section-head{
  margin-bottom: 48px;
}
.section-head.center{
  text-align:center;
  margin-inline:auto;
}
.section-head.center .section-sub{ margin-inline:auto; }

.pad{ padding-block: 88px; }
@media (max-width:720px){ .pad{ padding-block: 64px; } }

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight:600;
  font-size:15px;
  border:1px solid transparent;
  transition: transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
  white-space:nowrap;
}
html[lang="ar"] .btn{ font-family: var(--font-ar); }
.btn-primary{
  background: var(--orange-600);
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(231,110,27,0.55);
}
.btn-primary:hover{ background: var(--orange-700); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(194,83,14,0.55); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover{ background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn-ghost-light{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-light:hover{ background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.btn-sm{ padding: 10px 18px; font-size: 13px; }

.btn-row{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }

/* Store buttons */
.store-btn{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding: 11px 20px 11px 16px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--white);
  border: 1px solid transparent;
  transition: transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
html[lang="ar"] .store-btn{ padding: 11px 16px 11px 20px; }
.store-btn:hover{ transform: translateY(-2px); background:#000; }
.store-btn svg{ width:22px; height:22px; flex:none; }
.store-btn .store-text{ display:flex; flex-direction:column; line-height:1.15; }
.store-btn .store-text small{ font-size:10.5px; opacity:.75; font-weight:400; }
.store-btn .store-text strong{ font-size:15px; font-family: var(--font-display); font-weight:600; }
html[lang="ar"] .store-btn .store-text strong{ font-family: var(--font-ar); }
.store-row{ display:flex; flex-wrap:wrap; gap:12px; }

.store-btn.on-light{ background: var(--white); color: var(--ink); border-color: var(--cream-line); }
.store-btn.on-light:hover{ background: var(--cream-deep); }

/* ============================================================
   Navbar
   ============================================================ */
.nav{
  position: fixed;
  inset-inline:0;
  top:0;
  z-index: 100;
  padding-block: 18px;
  transition: padding var(--dur-s) var(--ease), background var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), backdrop-filter var(--dur-s) var(--ease);
}
.nav .container{ display:flex; align-items:center; justify-content:space-between; gap: 20px; }
.nav.scrolled{
  padding-block: 12px;
  background: rgba(255,249,243,0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 8px 30px -18px rgba(24,19,15,0.3);
}
.nav-logo{ display:flex; align-items:center; gap:10px; flex:none; }
.nav-logo img{ height: 34px; width:auto; }

.nav-links{ display:none; align-items:center; gap: 30px; }
.nav-links a{
  font-size: 14.5px; font-weight:500; color: var(--ink-soft);
  position:relative; padding-block: 4px;
  transition: color var(--dur-s) var(--ease);
}
.nav-links a::after{
  content:""; position:absolute; inset-inline-start:0; bottom:0; height:2px; width:0;
  background: var(--orange-600); transition: width var(--dur-s) var(--ease); border-radius:2px;
}
.nav-links a:hover{ color: var(--ink); }
.nav-links a:hover::after{ width:100%; }
@media (min-width: 1080px){ .nav-links{ display:flex; } }

.nav-right{ display:flex; align-items:center; gap:14px; }

.lang-switch{
  display:flex; align-items:center; gap:2px;
  background: var(--cream-deep);
  border-radius: var(--r-pill);
  padding:3px;
  font-family: var(--font-display);
  font-size:12.5px; font-weight:600;
}
.lang-switch button{
  padding:6px 12px; border-radius: var(--r-pill); background:transparent; color: var(--ink-faint);
  transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}
.lang-switch button.active{ background: var(--ink); color: var(--white); }

.nav-cta{ display:none; }
@media (min-width: 1080px){ .nav-cta{ display:inline-flex; } }

.hamburger{
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  width:42px; height:42px; border-radius: 50%;
  background: var(--cream-deep);
  gap:5px; flex:none;
}
.hamburger span{ width:18px; height:2px; background: var(--ink); border-radius:2px; transition: transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease); }
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1080px){ .hamburger{ display:none; } }

.mobile-menu{
  position: fixed; inset:0; z-index: 99;
  background: var(--cream);
  display:flex; flex-direction:column;
  padding: 100px 28px 40px;
  transform: translateY(-8px);
  opacity:0; visibility:hidden;
  transition: opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease), visibility 0s linear var(--dur-m);
}
.mobile-menu.open{ opacity:1; visibility:visible; transform:translateY(0); transition: opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease); }
.mobile-menu a{
  font-family: var(--font-display); font-size: 26px; font-weight:600;
  padding-block: 14px; border-bottom: 1px solid var(--cream-line);
}
html[lang="ar"] .mobile-menu a{ font-family: var(--font-ar); }
.mobile-menu .btn{ margin-top: 30px; align-self:flex-start; }
@media (min-width: 1080px){ .mobile-menu{ display:none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero{
  padding-top: 140px;
  padding-bottom: 90px;
  background:
    radial-gradient(120% 70% at 15% -10%, var(--orange-050) 0%, transparent 55%),
    var(--cream);
  overflow: clip;
}
.hero .container{
  display:grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items:center;
}
@media (min-width: 980px){
  .hero .container{ grid-template-columns: 1fr 1fr; gap: 40px; }
}

.hero-copy h1{
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 650;
  max-width: 12ch;
}
html[lang="ar"] .hero-copy h1{ font-family: var(--font-ar); font-weight:700; max-width:14ch; letter-spacing:0;}

.hero-copy .section-sub{ font-size:18px; max-width: 46ch; }
.hero-copy{ }
.hero-copy .btn-row{ margin-top: 34px; }

.hero-trust{
  margin-top: 40px;
  display:flex; align-items:center; gap:16px;
  color: var(--ink-faint); font-size:13.5px;
}
.hero-trust .dot{ width:6px; height:6px; border-radius:50%; background: var(--orange-600); }

/* Phone stack */
.phone-stack{
  position:relative;
  height: 560px;
  display:flex; align-items:center; justify-content:center;
  perspective: 1600px;
}
.phone{
  position:absolute;
  width: 220px;
  border-radius: 34px;
  overflow:hidden;
  background: var(--navy-900);
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--navy-900);
  transition: transform .6s var(--ease);
  will-change: transform;
}
.phone img{ width:100%; height:auto; display:block; }
.phone{ --px: 0px; --py: 0px; }
.phone.p1{ transform: translate(-46%,-6%) rotate(-9deg) scale(.9) translate3d(var(--px),var(--py),0); z-index:1; }
.phone.p2{ transform: translate(-6%,-16%) rotate(-2deg) scale(1) translate3d(var(--px),var(--py),0); z-index:3; }
.phone.p3{ transform: translate(34%,-2%) rotate(7deg) scale(.92) translate3d(var(--px),var(--py),0); z-index:2; }
.phone.p4{ transform: translate(2%, 24%) rotate(3deg) scale(.72) translate3d(var(--px),var(--py),0); z-index:4; opacity:.96; }

.phone-badge{
  position:absolute;
  z-index:5;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 12px 16px;
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-display);
  font-size: 13px; font-weight:600;
}
html[lang="ar"] .phone-badge{ font-family: var(--font-ar); }
.phone-badge.badge-1{ top: 6%; inset-inline-end: -2%; animation: float-a 6s ease-in-out infinite; }
.phone-badge.badge-2{ bottom: 8%; inset-inline-start: -4%; animation: float-b 7s ease-in-out infinite; }
.phone-badge .ico{ width:32px; height:32px; border-radius:9px; background: var(--orange-100); display:flex; align-items:center; justify-content:center; color: var(--orange-700); flex:none; }

@keyframes float-a{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
@keyframes float-b{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(10px);} }

@media (max-width: 640px){
  .phone-stack{ height: 440px; }
  .phone{ width: 168px; }
  .phone-badge{ padding: 9px 12px; font-size:11.5px; }
  .phone-badge .ico{ width:26px; height:26px; }
}

/* ============================================================
   Reveal-on-scroll utility
   ============================================================ */
[data-reveal]{
  opacity:0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].in{ opacity:1; transform:none; }
[data-reveal="scale"]{ transform: translateY(18px) scale(.96); }
[data-reveal="scale"].in{ transform:none; }
[data-reveal-group] [data-reveal]{ transition-delay: calc(var(--i, 0) * 90ms); }

/* ============================================================
   What is Relax
   ============================================================ */
.about .container{
  display:grid; grid-template-columns:1fr; gap: 48px; align-items:center;
}
@media (min-width: 980px){ .about .container{ grid-template-columns: .95fr 1.05fr; gap: 70px; } }
.about-visual{
  position:relative;
  display:flex; justify-content:center;
}
.about-visual .frame{
  width: 260px; border-radius: 40px; overflow:hidden;
  border: 8px solid var(--navy-900);
  box-shadow: var(--shadow-soft);
  transform: rotate(-3deg);
}
.about-visual .glow{
  position:absolute; inset:0; margin:auto;
  width:70%; height:70%;
  background: radial-gradient(circle, var(--orange-100) 0%, transparent 70%);
  filter: blur(10px);
  z-index:-1;
}
.about-copy .checklist{ margin-top: 26px; display:flex; flex-direction:column; gap:14px; }
.about-copy .checklist li{ display:flex; align-items:flex-start; gap:12px; font-size:15.5px; color: var(--ink-soft); }
.about-copy .checklist svg{ flex:none; margin-top:2px; color: var(--orange-600); }

/* ============================================================
   How it works
   ============================================================ */
.how{ background: var(--cream-deep); }
.steps{
  display:grid; grid-template-columns: 1fr; gap: 0;
  margin-top: 10px;
  border-top: 1px solid var(--cream-line);
}
.step{
  display:grid; grid-template-columns: 90px 1fr; gap: 24px;
  padding-block: 30px;
  border-bottom: 1px solid var(--cream-line);
  align-items:flex-start;
}
.step-num{
  font-family: var(--font-display); font-weight:600;
  font-size: 15px; color: var(--orange-600);
  display:flex; align-items:center; gap:10px;
}
.step-num::after{ content:""; height:1px; flex:1; background: var(--cream-line); display:none; }
.step h3{
  font-family: var(--font-display); font-size: 21px; font-weight:600; margin-bottom:6px;
}
html[lang="ar"] .step h3{ font-family: var(--font-ar); }
.step p{ color: var(--ink-soft); font-size:15px; line-height:1.6; max-width:52ch; }
@media (min-width: 720px){
  .step{ grid-template-columns: 120px 1fr; }
}

/* ============================================================
   App showcase — horizontal scroller
   ============================================================ */
.showcase{ overflow:hidden; }
.showcase-scroll{
  display:flex; gap: 22px;
  overflow-x:auto;
  padding: 10px 4px 26px;
  margin-top: 44px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--orange-400) transparent;
}
.showcase-scroll::-webkit-scrollbar{ height:6px; }
.showcase-scroll::-webkit-scrollbar-thumb{ background: var(--orange-400); border-radius:6px; }

.show-card{
  flex: 0 0 auto;
  width: 230px;
  scroll-snap-align:start;
  transition: transform var(--dur-m) var(--ease);
}
.show-card .frame{
  border-radius: 30px;
  overflow:hidden;
  border: 7px solid var(--navy-900);
  box-shadow: var(--shadow-card);
}
.show-card .label{
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight:600; font-size:14.5px;
  display:flex; align-items:center; gap:8px;
}
html[lang="ar"] .show-card .label{ font-family: var(--font-ar); }
.show-card .label .n{ color: var(--orange-600); font-size:12px; }
.show-card:hover{ transform: translateY(-6px); }

.showcase-hint{ display:flex; align-items:center; gap:10px; color: var(--ink-faint); font-size:13px; margin-top:6px; }

/* ============================================================
   Offers
   ============================================================ */
.offers{ background: var(--navy-900); color: var(--white); }
.offers .eyebrow{ color: var(--orange-400); }
.offers .eyebrow::before{ background: var(--orange-400); }
.offers .section-sub{ color: rgba(255,255,255,0.68); }

.offer-grid{
  display:grid; grid-template-columns: 1fr; gap:18px;
  margin-top: 44px;
}
@media (min-width: 700px){ .offer-grid{ grid-template-columns: 1fr 1fr; } }

.offer-card{
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease);
}
.offer-card:hover{ transform: translateY(-5px); border-color: rgba(243,135,60,.5); }
.offer-card .ico{
  width: 46px; height:46px; border-radius: 13px;
  background: rgba(243,135,60,0.14);
  color: var(--orange-400);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.offer-card h3{ font-family: var(--font-display); font-size:19px; font-weight:600; margin-bottom:8px; }
html[lang="ar"] .offer-card h3{ font-family: var(--font-ar); }
.offer-card p{ font-size:14.5px; line-height:1.6; color: rgba(255,255,255,0.62); }

/* ============================================================
   Why Relax / benefits grid
   ============================================================ */
.benefits-grid{
  display:grid; grid-template-columns: 1fr; gap: 2px;
  margin-top: 44px;
  background: var(--cream-line);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-lg);
  overflow:hidden;
}
@media (min-width: 640px){ .benefits-grid{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px){ .benefits-grid{ grid-template-columns: 1fr 1fr 1fr; } }

.benefit{
  background: var(--cream);
  padding: 30px 26px;
  transition: background var(--dur-s) var(--ease);
}
.benefit:hover{ background: var(--white); }
.benefit .ico{
  width: 40px; height:40px; border-radius: 11px;
  background: var(--orange-100); color: var(--orange-700);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.benefit h3{ font-family: var(--font-display); font-size:16.5px; font-weight:600; margin-bottom:6px; }
html[lang="ar"] .benefit h3{ font-family: var(--font-ar); }
.benefit p{ font-size:14px; color: var(--ink-soft); line-height:1.55; }

/* ============================================================
   Testimonials
   ============================================================ */
.testi-track{
  display:flex; gap:20px; overflow-x:auto; margin-top:44px; padding: 6px 4px 20px;
  scroll-snap-type: x proximity;
}
.testi-card{
  flex: 0 0 auto;
  width: min(360px, 84vw);
  scroll-snap-align:start;
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.testi-stars{ display:flex; gap:3px; color: var(--orange-500); margin-bottom:16px; }
.testi-card p.quote{ font-size:15.5px; line-height:1.65; color: var(--ink-soft); font-style:italic; min-height:80px; }
.testi-foot{ display:flex; align-items:center; gap:12px; margin-top:20px; }
.testi-avatar{
  width:42px; height:42px; border-radius:50%;
  background: var(--orange-100); color:var(--orange-700);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:600; flex:none;
}
.testi-name{ font-family: var(--font-display); font-weight:600; font-size:14.5px; }
html[lang="ar"] .testi-name{ font-family: var(--font-ar); }
.testi-loc{ font-size:12.5px; color: var(--ink-faint); }
.testi-note{ margin-top:18px; font-size:12.5px; color: var(--ink-faint); display:flex; gap:8px; align-items:flex-start; }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta{
  background: linear-gradient(160deg, var(--orange-600), var(--orange-700));
  color: var(--white);
  position:relative;
  overflow:hidden;
}
.final-cta::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(60% 80% at 85% 10%, rgba(255,255,255,0.18), transparent 60%);
}
.final-cta .container{
  position:relative;
  display:grid; grid-template-columns:1fr; gap:36px; align-items:center;
}
@media (min-width: 900px){ .final-cta .container{ grid-template-columns: 1.1fr .9fr; } }
.final-cta h2{
  font-family: var(--font-display); font-weight:650;
  font-size: clamp(28px, 4.4vw, 46px); line-height:1.1; letter-spacing:-0.01em;
}
html[lang="ar"] .final-cta h2{ font-family: var(--font-ar); font-weight:700; }
.final-cta p{ margin-top:14px; font-size:17px; color: rgba(255,255,255,0.9); max-width:44ch; }
.final-cta .store-row{ margin-top: 28px; }

.final-phones{ position:relative; height: 300px; overflow: hidden; }
.final-phones .phone{ border-color: rgba(255,255,255,0.25); }
.final-phone-a{ position:absolute; inset-inline-start:18%; top:0; width:190px; transform:rotate(-6deg); }
.final-phone-b{ position:absolute; inset-inline-start:46%; top:16%; width:190px; transform:rotate(5deg); }
@media (max-width: 640px){
  .final-phones{ height: 220px; }
  .final-phone-a{ width:140px; }
  .final-phone-b{ width:140px; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact .container{
  display:flex; flex-direction:column; align-items:center; text-align:center;
}
.contact-card{
  margin-top: 30px;
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-lg);
  padding: 40px 46px;
  box-shadow: var(--shadow-card);
  display:inline-flex; flex-direction:column; align-items:center; gap:16px;
}
.contact-card .ico{
  width:52px; height:52px; border-radius:14px;
  background: var(--orange-100); color: var(--orange-700);
  display:flex; align-items:center; justify-content:center;
}
.contact-card a.email{
  font-family: var(--font-display); font-weight:600; font-size: 21px;
  color: var(--ink); border-bottom: 2px solid var(--orange-600); padding-bottom:2px;
}
html[lang="ar"] .contact-card a.email{ font-family: var(--font-ar); }

/* ============================================================
   Footer
   ============================================================ */
.footer{ background: var(--navy-900); color: rgba(255,255,255,0.75); padding-top: 70px; }
.footer-top{
  display:grid; grid-template-columns: 1fr; gap:40px;
  padding-bottom: 50px; border-bottom: 1px solid var(--navy-line);
}
@media (min-width: 780px){ .footer-top{ grid-template-columns: 1.3fr 1fr 1fr 1fr; gap:30px; } }
.footer-brand img{ height:32px; margin-bottom:16px; }
.footer-brand p{ font-size:14px; line-height:1.65; max-width:32ch; color: rgba(255,255,255,0.55); }
.footer-col h4{
  font-family: var(--font-display); font-size:13px; font-weight:600;
  text-transform:uppercase; letter-spacing:.06em; color: rgba(255,255,255,0.9);
  margin-bottom:18px;
}
html[lang="ar"] .footer-col h4{ font-family: var(--font-ar); letter-spacing:0; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14px; color: rgba(255,255,255,0.6); transition: color var(--dur-s) var(--ease); }
.footer-col a:hover{ color: var(--orange-400); }
.footer-bottom{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px;
  padding-block: 26px; font-size:13px; color: rgba(255,255,255,0.45);
}

/* ============================================================
   RTL specific tweaks
   ============================================================ */
html[dir="rtl"] .phone.p1{ transform: translate(46%,-6%) rotate(9deg) scale(.9) translate3d(var(--px),var(--py),0); }
html[dir="rtl"] .phone.p2{ transform: translate(6%,-16%) rotate(2deg) scale(1) translate3d(var(--px),var(--py),0); }
html[dir="rtl"] .phone.p3{ transform: translate(-34%,-2%) rotate(-7deg) scale(.92) translate3d(var(--px),var(--py),0); }
html[dir="rtl"] .phone.p4{ transform: translate(-2%, 24%) rotate(-3deg) scale(.72) translate3d(var(--px),var(--py),0); }
html[dir="rtl"] .about-visual .frame{ transform: rotate(3deg); }
html[dir="rtl"] .step-num{ direction: ltr; justify-content:flex-end; }

/* Skip link */
.skip-link{
  position:fixed; top:-60px; inset-inline-start:16px; z-index:200;
  background: var(--ink); color:var(--white); padding:10px 18px; border-radius:8px;
  transition: top var(--dur-s) var(--ease);
}
.skip-link:focus{ top:16px; }

/* ============================================================
   Review submission form
   ============================================================ */
.review-form-wrap{
  margin-top: 40px;
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
  max-width: 680px;
}
@media (min-width: 780px){ .review-form-wrap{ padding: 40px; } }

.review-form-head h3{
  font-family: var(--font-display);
  font-size: 22px; font-weight:600; margin-bottom:6px;
}
html[lang="ar"] .review-form-head h3{ font-family: var(--font-ar); }
.review-form-head p{ font-size:14.5px; color: var(--ink-soft); }

.review-form{ margin-top: 26px; display:flex; flex-direction:column; gap: 22px; }

.field{ display:flex; flex-direction:column; gap:8px; }
.field label,
.field .field-label{
  font-family: var(--font-display);
  font-size: 13.5px; font-weight:600; color: var(--ink);
}
html[lang="ar"] .field label,
html[lang="ar"] .field .field-label{ font-family: var(--font-ar); }

.field input[type="text"],
.field textarea{
  width:100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
.field textarea{ resize: vertical; min-height: 110px; line-height:1.55; }
.field input[type="text"]:focus,
.field textarea:focus{
  outline: none;
  background: var(--white);
  border-color: var(--orange-600);
  box-shadow: 0 0 0 3px var(--orange-050);
}
.field input::placeholder,
.field textarea::placeholder{ color: var(--ink-faint); }

.field.invalid input[type="text"],
.field.invalid textarea{ border-color: #C0342B; }

.field-meta{
  align-self: flex-end;
  font-size: 12px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
html[dir="rtl"] .field-meta{ direction: ltr; }

.field-error{
  font-size: 13px;
  color: #C0342B;
}

/* Star picker */
.star-input{ display:flex; gap:6px; }
html[dir="rtl"] .star-input{ flex-direction: row-reverse; justify-content:flex-end; }
.star-input .star{
  background: transparent;
  border: none;
  padding: 2px;
  line-height: 0;
  color: var(--cream-line);
  transition: color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}
.star-input .star svg{ width: 30px; height: 30px; }
.star-input .star:hover{ transform: scale(1.12); }
.star-input .star.on{ color: var(--orange-500); }
.field.invalid .star-input .star{ color: #E9B4AF; }
.field.invalid .star-input .star.on{ color: var(--orange-500); }

/* Honeypot — visually hidden but not display:none, so bots still fill it */
.hp-field{
  position:absolute;
  width:1px; height:1px;
  overflow:hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.review-actions{
  display:flex; flex-wrap:wrap; align-items:center; gap:16px;
}
.review-actions .btn[disabled]{ opacity:.6; pointer-events:none; }

.form-status{ font-size:14px; line-height:1.5; }
.form-status.ok{ color: #1E7A4B; }
.form-status.err{ color: #C0342B; }

/* Empty state for the reviews list */
.reviews-empty{
  border: 1px dashed var(--cream-line);
  border-radius: var(--r-lg);
  padding: 34px;
  text-align:center;
  color: var(--ink-faint);
  font-size:15px;
  background: var(--white);
}

/* A review written in one language may appear while the page is in the other.
   dir="auto" on the text lets each review follow its own direction, and
   text-align:start keeps it aligned to that direction rather than the page's. */
.testi-card .quote[dir="auto"],
.testi-card .testi-name[dir="auto"]{ text-align: start; }
