/* ============================================================
   MyHome, Shared Styles
   TaskRabbit-inspired, BLUE palette. Mobile-first. RTL-ready.
   ============================================================ */

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --primary-tint: #DBEAFE;
  --primary-bg: #EFF6FF;

  --white: #FFFFFF;
  --surface-50: #F8FAFC;
  --surface-100: #F1F5F9;
  --surface-200: #E2E8F0;
  --text: #334155;
  --text-strong: #0F172A;
  --text-muted: #64748B;

  --star: #FBBF24;
  --whatsapp: #25D366;
  --success: #16A34A;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --shadow: 0 4px 16px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.14);
  --shadow-blue: 0 10px 30px rgba(37,99,235,.28);

  --container: 1140px;
  --header-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[dir="rtl"] body {
  font-family: 'Tajawal', 'Inter', system-ui, 'Segoe UI', Tahoma, sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--text-strong); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }

.eyebrow { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section-title { font-size: clamp(24px, 4.5vw, 34px); margin: 6px 0 8px; }
.section-sub { color: var(--text-muted); max-width: 560px; font-size: 16px; }
.center { text-align: center; }
.center .section-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 15px; transition: .18s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--text-strong); border: 1.5px solid var(--surface-200); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 22px rgba(37,211,102,.3); }
.btn-whatsapp:hover { filter: brightness(.96); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--surface-200);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 20px; color: var(--text-strong); letter-spacing: -.03em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(140deg, #60A5FA 0%, var(--primary) 45%, var(--primary-dark) 100%);
  color: #fff; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(37,99,235,.35), inset 0 1px 0 rgba(255,255,255,.35);
}
.logo-mark svg { width: 20px; height: 20px; }
.logo b { color: var(--primary); }
.nav { display: none; gap: 4px; margin-inline-start: auto; align-items: center; }
.nav a { padding: 8px 14px; border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; color: var(--text); transition: .15s; }
.nav a:hover, .nav a.active { background: var(--primary-bg); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
  border: 1.5px solid var(--surface-200); border-radius: var(--radius-pill);
  font-weight: 700; font-size: 13px; color: var(--text-strong); background: #fff;
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }

/* Burger (mobile only) */
.burger {
  width: 42px; height: 42px; border-radius: 11px; border: 1.5px solid var(--surface-200);
  background: #fff; display: grid; place-content: center; gap: 4px; padding: 0 11px;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--text-strong); border-radius: 2px; transition: .22s ease; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Slide-in drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(15,23,42,.45); backdrop-filter: blur(2px);
  z-index: 70; opacity: 0; visibility: hidden; transition: .25s;
}
.drawer-backdrop.show { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(320px, 86vw); z-index: 71;
  background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.3,1,.35,1);
}
[dir="rtl"] .mobile-drawer { transform: translateX(-100%); }
.mobile-drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--surface-200); }
.drawer-x { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--text); }
.drawer-x:hover { background: var(--surface-100); }
.drawer-x svg { width: 19px; height: 19px; }
.drawer-nav { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.drawer-link {
  padding: 14px 14px; border-radius: 12px; font-weight: 700; font-size: 16px; color: var(--text-strong);
  display: flex; align-items: center; justify-content: space-between; transition: .15s;
}
.drawer-link::after { content: '›'; color: var(--surface-200); font-size: 20px; }
[dir="rtl"] .drawer-link::after { content: '‹'; }
.drawer-link:hover, .drawer-link.active { background: var(--primary-bg); color: var(--primary); }
.drawer-foot { padding: 14px; border-top: 1px solid var(--surface-200); }

@media (min-width: 860px) {
  .nav { display: flex; }
  .header-actions { margin-inline-start: 0; }
  .burger { display: none; }
  .mobile-drawer, .drawer-backdrop { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--primary-tint) 0%, transparent 60%),
    radial-gradient(900px 500px at 0% 110%, #E0ECFF 0%, transparent 55%),
    var(--primary-bg);
  padding: 48px 0 56px;
}
.hero-grid { display: grid; gap: 34px; align-items: center; }
.hero h1 { font-size: clamp(30px, 6.5vw, 52px); line-height: 1.05; }
.hero p.lead { font-size: clamp(16px, 2.4vw, 19px); color: #475569; margin-top: 14px; max-width: 520px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px;
  background: rgba(255,255,255,.8); border: 1px solid var(--surface-200);
  border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; color: var(--text);
}
.pill svg { width: 15px; height: 15px; color: var(--primary); }

/* Search box */
.search-box {
  margin-top: 26px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 10px; display: flex; gap: 8px; align-items: center;
  max-width: 560px; border: 1px solid rgba(37,99,235,.12);
}
.search-box .ico { color: var(--text-muted); display: grid; place-items: center; padding-inline-start: 8px; }
.search-box .ico svg { width: 20px; height: 20px; }
.search-box input {
  flex: 1; border: none; outline: none; font-size: 16px; color: var(--text-strong);
  background: transparent; min-width: 0;
}
.search-box input::placeholder { color: #94A3B8; }

/* Hero visual: shown on mobile too, just shorter */
.hero-visual { display: block; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}
.hero-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 18px; transform: rotate(-1.5deg);
}
.hero-card .map-mini {
  height: 190px; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(135deg, #DBEAFE, #EFF6FF);
}
.hero-card .route-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(37,99,235,.2); }
.hero-eta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.hero-eta .who { display: flex; align-items: center; gap: 10px; }
.hero-eta .name { font-weight: 800; color: var(--text-strong); font-size: 15px; }
.hero-eta .role { font-size: 12px; color: var(--text-muted); }
.hero-eta .time { text-align: end; }
.hero-eta .time b { color: var(--primary); font-size: 18px; }

/* ---------- Hero photo (replaces the old map card) ---------- */
.hero-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; background: var(--primary-tint);
}
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; bottom: 14px; inset-inline-start: 14px; inset-inline-end: 14px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: 11px 13px; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow);
}
.hero-float .nm { font-weight: 800; color: var(--text-strong); font-size: 14.5px; }
.hero-float .rl { font-size: 12.5px; color: var(--text-muted); }
.hero-float .badge {
  margin-inline-start: auto; background: var(--primary-bg); color: var(--primary);
  font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.hero-float .badge svg { width: 13px; height: 13px; }

/* ---------- Offers ---------- */
.offer-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .offer-grid { grid-template-columns: repeat(3, 1fr); } }
.offer-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--surface-200); transition: .18s ease; display: flex; flex-direction: column;
}
.offer-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.offer-photo { position: relative; height: 158px; overflow: hidden; background: var(--primary-bg); }
.offer-photo img { width: 100%; height: 100%; object-fit: cover; transition: .3s ease; }
.offer-card:hover .offer-photo img { transform: scale(1.06); }
.offer-badge {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 12.5px;
  padding: 6px 12px; border-radius: var(--radius-pill); box-shadow: var(--shadow-blue);
}
.offer-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.offer-body h3 { font-size: 17px; margin-bottom: 6px; }
.offer-body p { font-size: 14px; color: var(--text-muted); flex: 1; }
.offer-body .btn { margin-top: 14px; align-self: flex-start; }

/* ---------- Split section (become a pro) ---------- */
.split { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--primary-bg); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- App band ---------- */
.app-band {
  background: linear-gradient(135deg, #0F172A, #1E3A8A 62%, var(--primary));
  border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); color: #fff; overflow: hidden;
}
.app-band h2 { color: #fff; font-size: clamp(24px, 4vw, 34px); }
.app-band p { color: #DBEAFE; margin-top: 10px; max-width: 460px; }
.app-band .feature-list li { color: #E0ECFF; }
.app-band .feature-list svg { color: #93C5FD; }
.app-band .app-badges { flex-direction: row; flex-wrap: wrap; margin-top: 18px; }
.app-shot { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.app-shot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Avatar ---------- */
.avatar {
  border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800;
  flex-shrink: 0; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4);
}
.avatar.sq { border-radius: var(--radius); }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 620px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-tile {
  background: #fff; border: 1px solid var(--surface-200); border-radius: var(--radius);
  overflow: hidden; transition: .18s ease; display: block;
}
.cat-tile:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cat-photo-wrap { position: relative; height: 108px; background: var(--primary-bg); overflow: hidden; }
.cat-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .3s ease; }
.cat-tile:hover .cat-photo { transform: scale(1.06); }
.cat-photo-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(37,99,235,.05), rgba(15,23,42,.28)); }
/* Shared centered icon box (service page, etc.) */
.cat-ico {
  width: 54px; height: 54px; border-radius: 15px; margin: 0 auto 12px; display: grid; place-items: center;
  background: var(--primary-bg); color: var(--primary); transition: .18s;
}
.cat-ico svg { width: 28px; height: 28px; }
/* Category tile icon badge (overlaps the photo) */
/* Icon badge sits fully INSIDE the photo so it never covers the title (LTR or RTL) */
.cat-tile-ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--primary); transition: .18s;
  position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 2; box-shadow: var(--shadow);
}
.cat-tile-ico svg { width: 23px; height: 23px; }
.cat-tile:hover .cat-tile-ico { background: var(--primary); color: #fff; }
.cat-body { padding: 14px 16px 16px; }
.cat-name { font-weight: 800; color: var(--text-strong); font-size: 15px; }
.cat-from { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
/* When photos are absent the gradient wrap + icon still look intentional */
.cat-photo-wrap:has(.img-missing), .pc-photo.img-missing { display: block; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 18px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--surface-200); position: relative; }
.step-num { position: absolute; top: 18px; inset-inline-end: 20px; font-weight: 900; font-size: 34px; color: var(--surface-100); }
.step-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-bg); color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; }
.step-ico svg { width: 26px; height: 26px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* ---------- Trust ---------- */
.trust-band { background: var(--surface-50); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-card { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--surface-200); }
.trust-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-bg); color: var(--primary); display: grid; place-items: center; margin-bottom: 12px; }
.trust-ico svg { width: 24px; height: 24px; }
.trust-card h4 { font-size: 16px; margin-bottom: 4px; }
.trust-card p { font-size: 14px; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card { background: #fff; border: 1px solid var(--surface-200); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.stars { display: inline-flex; gap: 2px; color: var(--star); margin-bottom: 10px; }
.stars svg { width: 17px; height: 17px; }
.testi-card p { color: var(--text); font-size: 15px; margin-bottom: 16px; }
.testi-who { display: flex; align-items: center; gap: 11px; }
.testi-who .name { font-weight: 700; color: var(--text-strong); font-size: 14.5px; }
.testi-who .area { font-size: 12.5px; color: var(--text-muted); }

/* ---------- Provider cards ---------- */
.provider-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .provider-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .provider-grid { grid-template-columns: repeat(3, 1fr); } }
.provider-card {
  background: #fff; border: 1px solid var(--surface-200); border-radius: var(--radius);
  overflow: hidden; transition: .18s ease; display: flex; flex-direction: column; position: relative;
}
.provider-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.provider-card[data-href] { cursor: pointer; }
.pc-cover { height: 138px; position: relative; overflow: hidden; }
.pc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.pc-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0) 45%, rgba(15,23,42,.28)); z-index: 1; }
.pc-cover .cat-chip, .pc-cover .fav-btn { z-index: 2; }
.pc-cover .cat-chip {
  position: absolute; bottom: 10px; inset-inline-start: 12px; background: rgba(255,255,255,.92);
  color: var(--primary); font-weight: 700; font-size: 12px; padding: 5px 10px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 6px;
}
.pc-cover .cat-chip svg { width: 14px; height: 14px; }
.fav-btn {
  position: absolute; top: 10px; inset-inline-end: 10px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--text-muted);
  box-shadow: var(--shadow-sm); transition: .15s;
}
.fav-btn svg { width: 19px; height: 19px; }
.fav-btn:hover { transform: scale(1.08); color: #EF4444; }
.fav-btn.active { color: #EF4444; }
.fav-btn.active svg { fill: #EF4444; }
.pc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pc-head { display: flex; gap: 11px; align-items: center; }
.pc-name { font-weight: 800; color: var(--text-strong); font-size: 16px; display: flex; align-items: center; gap: 6px; }
.verified-badge { color: var(--primary); display: inline-flex; }
.verified-badge svg { width: 16px; height: 16px; }
.pc-area { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.pc-area svg { width: 13px; height: 13px; }
.pc-meta { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 13.5px; color: var(--text); }
.pc-rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--text-strong); }
.pc-rating svg { width: 15px; height: 15px; color: var(--star); }
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { background: var(--surface-100); color: var(--text); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--surface-100); }
.pc-price { font-size: 13px; color: var(--text-muted); }
.pc-price b { color: var(--text-strong); font-size: 18px; }
.pc-price .kwd { color: var(--primary); font-weight: 700; font-size: 12px; }

/* ---------- Filter bar ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid var(--surface-200); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); }
.filter-bar .field { position: relative; flex: 1; min-width: 180px; }
.filter-bar .field svg { position: absolute; top: 50%; inset-inline-start: 12px; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); }
.filter-bar input, .filter-bar select {
  width: 100%; padding: 11px 14px 11px 40px; border: 1.5px solid var(--surface-200); border-radius: var(--radius-sm);
  font-size: 14.5px; color: var(--text-strong); background: #fff; outline: none; transition: .15s; font-family: inherit; appearance: none;
}
[dir="rtl"] .filter-bar input, [dir="rtl"] .filter-bar select { padding: 11px 40px 11px 14px; }
.filter-bar select { padding-inline-start: 14px; }
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 15px; border-radius: var(--radius-pill); background: #fff; border: 1.5px solid var(--surface-200); font-weight: 600; font-size: 13.5px; color: var(--text); transition: .15s; }
.chip.active, .chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.result-count { color: var(--text-muted); font-size: 14px; margin: 20px 0 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--text-strong); color: #CBD5E1; padding: 48px 0 26px; margin-top: 30px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-col h5 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col a, .footer-col p { color: #94A3B8; font-size: 14px; display: block; margin-bottom: 9px; transition: .15s; }
.footer-col a:hover { color: #fff; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand .logo b { color: var(--primary-light); }
.social { display: flex; gap: 10px; margin-top: 6px; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--primary); }
.social svg { width: 18px; height: 18px; }
.app-badges { display: flex; flex-direction: column; gap: 10px; }
.app-badge { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 9px 14px; }
.app-badge svg { width: 24px; height: 24px; color: #fff; }
.app-badge .t1 { font-size: 10px; color: #94A3B8; }
.app-badge .t2 { font-size: 14px; font-weight: 700; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #94A3B8; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: .18s;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- AI assistant ---------- */
.ai-fab {
  position: fixed; bottom: 90px; inset-inline-end: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: grid; place-items: center; box-shadow: var(--shadow-blue); transition: .2s;
}
.ai-fab:hover { transform: scale(1.08) translateY(-2px); }
.ai-fab.active { transform: scale(.9); opacity: .85; }
.ai-fab svg { width: 28px; height: 28px; }
.ai-fab-dot {
  position: absolute; top: 3px; inset-inline-end: 3px; width: 13px; height: 13px;
  border-radius: 50%; background: #22C55E; border: 2.5px solid #fff;
  animation: aiPulse 2s infinite;
}
@keyframes aiPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 50% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }

.ai-panel {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 61;
  width: min(384px, calc(100vw - 32px)); height: min(580px, calc(100vh - 110px));
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--surface-200); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97);
  transition: opacity .22s ease, transform .22s cubic-bezier(.2,1,.3,1), visibility .22s;
}
.ai-panel.show { opacity: 1; visibility: visible; transform: none; }

.ai-head {
  display: flex; align-items: center; gap: 11px; padding: 13px 14px; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); flex-shrink: 0;
}
.ai-ava { position: relative; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex-shrink: 0; }
.ai-ava svg { width: 22px; height: 22px; }
.ai-online { position: absolute; bottom: -2px; inset-inline-end: -2px; width: 11px; height: 11px; border-radius: 50%; background: #22C55E; border: 2px solid var(--primary-dark); }
.ai-id { flex: 1; min-width: 0; }
.ai-name { font-weight: 800; font-size: 15px; }
.ai-status { font-size: 11.5px; color: #BFDBFE; }
.ai-chip { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.2); border-radius: var(--radius-pill); padding: 4px 9px; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.ai-chip svg { width: 12px; height: 12px; }
.ai-x { color: #fff; opacity: .8; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; transition: .15s; }
.ai-x:hover { background: rgba(255,255,255,.16); opacity: 1; }
.ai-x svg { width: 16px; height: 16px; }
#aiReset svg { width: 15px; height: 15px; }

.ai-body { flex: 1; overflow-y: auto; padding: 16px 14px; background: var(--surface-50); display: flex; flex-direction: column; gap: 10px; }
.ai-msg { display: flex; max-width: 86%; animation: aiIn .22s ease both; }
@keyframes aiIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ai-msg.bot { align-self: flex-start; }
.ai-msg.me { align-self: flex-end; }
.ai-bub {
  padding: 10px 13px; border-radius: 15px; font-size: 14.3px; line-height: 1.5;
  white-space: pre-wrap; word-break: break-word;
}
.ai-msg.bot .ai-bub { background: #fff; color: var(--text); border: 1px solid var(--surface-200); border-start-start-radius: 5px; }
.ai-msg.me .ai-bub { background: var(--primary); color: #fff; border-end-end-radius: 5px; }
.ai-typing { display: flex; gap: 4px; align-items: center; padding: 13px 14px; }
.ai-typing span { width: 7px; height: 7px; border-radius: 50%; background: #94A3B8; animation: aiBlink 1.3s infinite; }
.ai-typing span:nth-child(2) { animation-delay: .18s; }
.ai-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes aiBlink { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.ai-sugg { display: flex; gap: 7px; flex-wrap: wrap; padding: 0 14px 10px; background: var(--surface-50); }
.ai-s {
  background: #fff; border: 1.5px solid var(--surface-200); color: var(--text);
  border-radius: var(--radius-pill); padding: 7px 12px; font-size: 12.5px; font-weight: 600; transition: .15s;
}
.ai-s:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }

.ai-input { display: flex; gap: 8px; padding: 11px; border-top: 1px solid var(--surface-200); background: #fff; flex-shrink: 0; }
.ai-input input {
  flex: 1; min-width: 0; border: 1.5px solid var(--surface-200); border-radius: var(--radius-pill);
  padding: 11px 15px; font-size: 14.3px; font-family: inherit; color: var(--text-strong); outline: none; transition: .15s;
}
.ai-input input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.ai-send {
  width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; flex-shrink: 0; transition: .15s;
}
.ai-send:hover:not(:disabled) { background: var(--primary-dark); transform: scale(1.06); }
.ai-send:disabled { opacity: .45; cursor: not-allowed; }
.ai-send svg { width: 18px; height: 18px; }
[dir="rtl"] .ai-send svg { transform: scaleX(-1); }

@media (max-width: 480px) {
  .ai-panel { inset-inline: 12px; width: auto; bottom: 12px; height: min(560px, calc(100vh - 90px)); }
  .ai-fab { bottom: 84px; inset-inline-end: 16px; }
  .wa-float { inset-inline-end: 16px; }
}

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 13.5px; color: var(--text-muted); padding: 18px 0 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumb a:hover { color: var(--primary); }
.crumb span { color: var(--surface-200); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--primary-bg); border-bottom: 1px solid var(--surface-200); padding: 26px 0 30px; }
.page-hero .head-ico { width: 60px; height: 60px; border-radius: 16px; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-blue); margin-bottom: 14px; }
.page-hero .head-ico svg { width: 32px; height: 32px; }
.page-hero h1 { font-size: clamp(26px, 5vw, 38px); }
.page-hero p { color: #475569; margin-top: 8px; max-width: 620px; }

/* ---------- Before / After slider ---------- */
.ba-wrap { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; user-select: none; cursor: ew-resize; box-shadow: var(--shadow); touch-action: none; }
.ba-layer { position: absolute; inset: 0; display: grid; place-items: center; }
.ba-after { z-index: 2; width: 50%; overflow: hidden; }
/* The clipped layer shrinks from the reading-start side; the inner keeps the scene at
   full container width and anchors to that same side so the image never slides. */
.ba-after .ba-inner { position: absolute; top: 0; inset-inline-start: 0; height: 100%; width: var(--ba-w, 100%); }
.ba-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ba-label { position: absolute; top: 12px; z-index: 4; background: rgba(15,23,42,.72); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: var(--radius-pill); letter-spacing: .03em; }
/* Logical: the whole comparison mirrors in RTL, so BEFORE sits on the reading-start
   side (left in EN, right in AR) and the clipped layer follows via slider.js. */
.ba-label.before { inset-inline-start: 12px; }
.ba-label.after { inset-inline-end: 12px; background: var(--primary); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; z-index: 3; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.ba-handle::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%232563EB' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-4 5 4 5M16 7l4 5-4 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.ba-handle:focus { outline: none; }
.ba-handle:focus::after { box-shadow: 0 0 0 4px var(--primary-tint), var(--shadow-lg); }

/* ---------- Service detail layout ---------- */
.svc-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .svc-grid { grid-template-columns: 1.4fr .9fr; align-items: start; } }
.svc-card { background: #fff; border: 1px solid var(--surface-200); border-radius: var(--radius); padding: 22px; }
.price-box { background: var(--primary-bg); border: 1px solid var(--primary-tint); border-radius: var(--radius); padding: 20px; }
.price-box .amount { font-size: 30px; font-weight: 900; color: var(--text-strong); }
.price-box .amount span { font-size: 15px; color: var(--primary); font-weight: 700; }
.slot { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1.5px solid var(--surface-200); border-radius: var(--radius-pill); font-weight: 600; font-size: 14px; background: #fff; transition: .15s; }
.slot svg { width: 15px; height: 15px; color: var(--primary); }
.slot.active, .slot:hover { border-color: var(--primary); background: var(--primary-bg); color: var(--primary); }
.slot-next { color: var(--success); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.slot-next svg { width: 16px; height: 16px; }
.mini-pro { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1.5px solid var(--surface-200); border-radius: var(--radius); transition: .15s; cursor: pointer; }
.mini-pro:hover, .mini-pro.active { border-color: var(--primary); background: var(--primary-bg); }
.mini-pro .grow { flex: 1; }
.mini-pro .nm { font-weight: 700; color: var(--text-strong); font-size: 15px; display:flex; align-items:center; gap:5px; }
.mini-pro .sub { font-size: 13px; color: var(--text-muted); }
.mini-pro .pr { font-weight: 800; color: var(--primary); font-size: 15px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14.5px; }
.feature-list svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* ---------- Booking flow ---------- */
.stepper { display: flex; align-items: center; justify-content: space-between; max-width: 640px; margin: 0 auto 28px; }
.stepper .st { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; position: relative; }
.stepper .st:not(:last-child)::after { content: ''; position: absolute; top: 17px; inset-inline-start: 50%; width: 100%; height: 2.5px; background: var(--surface-200); z-index: 0; }
.stepper .st.done:not(:last-child)::after { background: var(--primary); }
.st-dot { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2.5px solid var(--surface-200); display: grid; place-items: center; font-weight: 800; color: var(--text-muted); z-index: 1; transition: .2s; }
.st-dot svg { width: 18px; height: 18px; }
.stepper .st.active .st-dot { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); }
.stepper .st.done .st-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.st-label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); text-align: center; }
.stepper .st.active .st-label, .stepper .st.done .st-label { color: var(--text-strong); }
.booking-card { background: #fff; border: 1px solid var(--surface-200); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 34px); max-width: 720px; margin: 0 auto; box-shadow: var(--shadow); }
.form-label { display: block; font-weight: 700; color: var(--text-strong); font-size: 14.5px; margin: 16px 0 7px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--surface-200); border-radius: var(--radius-sm);
  font-size: 15px; color: var(--text-strong); font-family: inherit; outline: none; transition: .15s; background: #fff;
}
.form-textarea { min-height: 96px; resize: vertical; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.form-input.err, .form-textarea.err { border-color: #EF4444; box-shadow: 0 0 0 3px #FEE2E2; }
.field-err { color: #EF4444; font-size: 12.5px; margin-top: 5px; display: none; }
.field-err.show { display: block; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.opt {
  border: 1.5px solid var(--surface-200); border-radius: var(--radius); padding: 14px; cursor: pointer; transition: .15s;
  display: flex; gap: 10px; align-items: flex-start;
}
.opt:hover { border-color: var(--primary-light); }
.opt.active { border-color: var(--primary); background: var(--primary-bg); }
.opt .ck { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--surface-200); flex-shrink: 0; display: grid; place-items: center; margin-top: 1px; }
.opt.active .ck { border-color: var(--primary); background: var(--primary); }
.opt.active .ck svg { width: 12px; height: 12px; color: #fff; }
.opt .t { font-weight: 700; color: var(--text-strong); font-size: 14.5px; }
.opt .d { font-size: 13px; color: var(--text-muted); }
.date-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.date-cell { border: 1.5px solid var(--surface-200); border-radius: var(--radius); padding: 12px 8px; text-align: center; cursor: pointer; transition: .15s; }
.date-cell:hover { border-color: var(--primary-light); }
.date-cell.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.date-cell .dow { font-size: 12px; font-weight: 600; opacity: .8; }
.date-cell .dnum { font-size: 20px; font-weight: 800; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.photo-drop { border: 2px dashed var(--surface-200); border-radius: var(--radius); padding: 26px; text-align: center; color: var(--text-muted); transition: .15s; cursor: pointer; }
.photo-drop:hover { border-color: var(--primary); background: var(--primary-bg); }
.photo-drop svg { width: 30px; height: 30px; color: var(--primary); margin-bottom: 8px; }
.photo-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.photo-thumb { width: 68px; height: 68px; border-radius: 12px; background: var(--primary-bg); border: 1px solid var(--primary-tint); display: grid; place-items: center; color: var(--primary); position: relative; font-size: 11px; text-align: center; padding: 4px; }
.photo-thumb .rm { position: absolute; top: -6px; inset-inline-end: -6px; width: 20px; height: 20px; border-radius: 50%; background: #EF4444; color: #fff; font-size: 13px; display: grid; place-items: center; }
.review-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--surface-100); font-size: 14.5px; }
.review-row .k { color: var(--text-muted); } .review-row .v { font-weight: 700; color: var(--text-strong); text-align: end; }
.total-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--surface-200); }
.total-row .k { font-weight: 700; } .total-row .v { font-size: 24px; font-weight: 900; color: var(--primary); }
.flow-nav { display: flex; gap: 12px; margin-top: 26px; }
.flow-nav .btn { flex: 1; }

/* ---------- Tracking ---------- */
.track-map { position: relative; width: 100%; height: clamp(300px, 52vh, 460px); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #E8F0FE, #F1F5F9); box-shadow: var(--shadow); border: 1px solid var(--surface-200); }
.track-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.van { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-blue), 0 0 0 8px rgba(37,99,235,.18); transform: translate(-50%, -50%); z-index: 5; transition: none; }
.van svg { position: static; width: 24px; height: 24px; }
.home-pin { position: absolute; transform: translate(-50%, -100%); z-index: 4; color: var(--success); }
.home-pin svg { position: static; width: 40px; height: 40px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); }
.pulse { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: rgba(37,99,235,.35); transform: translate(-50%, -50%); z-index: 3; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,.4); } 100% { box-shadow: 0 0 0 26px rgba(37,99,235,0); } }
.track-panel { background: #fff; border: 1px solid var(--surface-200); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.eta-big { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.eta-big .lab { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.eta-big .num { font-size: 40px; font-weight: 900; color: var(--primary); line-height: 1; }
.eta-big .num span { font-size: 18px; }
.progress-track { height: 8px; border-radius: 99px; background: var(--surface-100); overflow: hidden; margin: 18px 0 6px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary-light), var(--primary)); border-radius: 99px; width: 0%; transition: width .8s linear; }
.track-status { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--text-strong); margin-top: 10px; }
.track-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(22,163,74,.15); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.pro-strip { display: flex; align-items: center; gap: 13px; padding: 16px 0; border-top: 1px solid var(--surface-100); margin-top: 16px; }
.pro-strip .grow { flex: 1; min-width: 0; }
.pro-strip .nm { font-weight: 800; color: var(--text-strong); }
.pro-strip .sub { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
/* Inline icons inside a text line must be constrained or the raw SVG blows up */
.pro-strip .sub svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--star); }

/* Map overlay note (shown for future-dated bookings) */
.map-note {
  position: absolute; inset-inline: 14px; bottom: 14px; z-index: 6;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border: 1px solid var(--surface-200); border-radius: var(--radius);
  padding: 11px 13px; display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--text-strong); box-shadow: var(--shadow);
}
.map-note svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; }
.van.idle { filter: grayscale(.5); opacity: .75; box-shadow: none; }
.status-badge {
  display: inline-flex; align-items: center; gap: 6px; background: var(--primary-bg);
  color: var(--primary); font-weight: 800; font-size: 12px; padding: 5px 11px; border-radius: var(--radius-pill);
}
.call-btns { display: flex; gap: 8px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--surface-200); color: var(--primary); flex-shrink: 0; transition: .15s; }
.round-btn:hover { background: var(--primary-bg); border-color: var(--primary); }
.round-btn svg { width: 20px; height: 20px; }
/* WhatsApp is green so it reads differently from the call handset */
.round-btn.wa { color: var(--whatsapp); border-color: #BBF7D0; }
.round-btn.wa:hover { background: #F0FDF4; border-color: var(--whatsapp); }
.pro-tel { color: var(--primary); font-weight: 700; white-space: nowrap; }
.pro-tel:hover { text-decoration: underline; }
.success-hero { text-align: center; padding: 12px 0 4px; }
.success-check { width: 76px; height: 76px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; box-shadow: 0 12px 30px rgba(22,163,74,.35); animation: pop .5s cubic-bezier(.2,1.3,.4,1) both; }
.success-check svg { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.track-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .track-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }

/* ---------- Plus page ---------- */
.plus-hero { background: linear-gradient(140deg, #0F172A, #1E3A8A 60%, var(--primary)); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 52px); position: relative; overflow: hidden; }
.plus-hero h1 { color: #fff; font-size: clamp(28px, 5vw, 44px); }
.plus-hero p { color: #DBEAFE; max-width: 520px; margin-top: 12px; font-size: 17px; }
.plus-badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); color: #fff; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 99px; margin-bottom: 14px; }
.plan-card { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); border: 2px solid var(--primary); position: relative; }
.plan-card .ribbon { position: absolute; top: 18px; inset-inline-end: -1px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 99px 0 0 99px; }
.plan-price { font-size: 46px; font-weight: 900; color: var(--text-strong); } .plan-price span { font-size: 16px; color: var(--text-muted); font-weight: 600; }
.benefit { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--surface-100); }
.benefit .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--primary-bg); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.benefit .ic svg { width: 21px; height: 21px; }
.benefit h4 { font-size: 15.5px; margin-bottom: 2px; } .benefit p { font-size: 13.5px; color: var(--text-muted); }
.plus-two { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .plus-two { grid-template-columns: 1.1fr .9fr; } }
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--surface-100); font-size: 14.5px; }
.compare th { background: var(--surface-50); font-weight: 700; color: var(--text-strong); }
.compare td.yes { color: var(--success); font-weight: 700; } .compare td.no { color: #94A3B8; }

/* ---------- Stats (about) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: #fff; border: 1px solid var(--surface-200); border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
}
.stat .n { font-size: clamp(26px, 4vw, 34px); font-weight: 900; color: var(--primary); line-height: 1; }
.stat .l { font-size: 13px; color: var(--text-muted); margin-top: 6px; font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--surface-200); border-radius: var(--radius); overflow: hidden; transition: .18s; }
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 18px; font-weight: 700; font-size: 15.5px; color: var(--text-strong); text-align: start;
}
.faq-q:hover { color: var(--primary); }
.faq-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-bg); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; transition: .22s; }
.faq-ico svg { width: 15px; height: 15px; }
.faq-item.open .faq-ico { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 18px 17px; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card {
  display: flex; gap: 13px; align-items: flex-start; background: #fff;
  border: 1px solid var(--surface-200); border-radius: var(--radius); padding: 18px; transition: .18s;
}
.contact-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-bg); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .ic svg { width: 21px; height: 21px; }
.contact-card h4 { font-size: 15.5px; margin-bottom: 3px; }
.contact-card p { font-size: 13.5px; color: var(--text-muted); }
.contact-card .val { font-weight: 700; color: var(--primary); font-size: 14px; margin-top: 5px; display: block; }
.contact-two { display: grid; gap: 26px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .contact-two { grid-template-columns: 1fr 1fr; } }

/* ---------- Mobile pass ---------- */
@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .section-tight { padding: 26px 0; }
  .hero { padding: 30px 0 38px; }
  .hero-grid { gap: 24px; }
  .hero-photo { aspect-ratio: 4/3.1; }             /* shorter, so the fold still shows content */
  .hero-float { padding: 9px 11px; gap: 8px; }
  .hero-float .badge { display: none; }             /* keep the card readable at 360px */
  .search-box { padding: 8px; border-radius: var(--radius); }
  .search-box input { font-size: 16px; }            /* 16px stops iOS zooming on focus */
  .search-box .btn { padding: 12px 16px; }

  .cat-grid { gap: 12px; }
  .cat-photo-wrap { height: 92px; }
  .offer-photo { height: 140px; }

  .app-band .split, .split { gap: 22px; }
  .app-band { padding: 24px 18px; }

  /* Stepper: labels shrink instead of wrapping into a mess */
  .stepper { margin-bottom: 20px; }
  .st-label { font-size: 10.5px; line-height: 1.25; }
  .st-dot { width: 32px; height: 32px; font-size: 14px; }
  .stepper .st:not(:last-child)::after { top: 15px; }

  .booking-card { border-radius: var(--radius); }
  .flow-nav { position: sticky; bottom: 0; background: #fff; padding-top: 12px; }

  .track-map { height: 300px; }
  .eta-big .num { font-size: 34px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .review-row { font-size: 13.5px; }
  .btn { padding: 12px 18px; }
  .btn-lg { padding: 14px 22px; font-size: 15px; }
}

/* Floating actions must never cover the primary CTA on small screens */
@media (max-width: 480px) {
  .wa-float { width: 52px; height: 52px; bottom: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
  .ai-fab { width: 52px; height: 52px; bottom: 78px; }
  .ai-fab svg { width: 25px; height: 25px; }
}

/* Anything that could push the page sideways is clipped */
html, body { max-width: 100%; overflow-x: hidden; }

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.fade-in { animation: fadeIn .4s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mt-24 { margin-top: 24px; } .mt-16 { margin-top: 16px; }
.flex { display: flex; } .between { justify-content: space-between; } .items-center { align-items: center; }
.gap-10 { gap: 10px; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--text-muted); }
.empty-state svg { width: 40px; height: 40px; color: var(--surface-200); margin-bottom: 12px; }
