/* ==========================================================================
   أفضل كهربائي في الكويت — Swiss-Kuwaiti Minimal Luxury Bento Design System
   Mobile-First Surgical Typography | Precision Breakpoints | WhatsApp-First
   ========================================================================== */

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url(/assets/fonts/cairo-700-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/tajawal-400-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/tajawal-700-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  /* Warm Architectural Palette — Calm, Prestigious, Zero Visual Fatigue */
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #eeece6;
  --obsidian: #090d16;
  --obsidian-2: #151c2c;
  --ink: #141923;
  --ink-2: #1f2937;
  --muted: #4b5563;
  --line: #dedbd4;
  --line-2: #c7c3b9;

  /* Brand Brass & Surgical WhatsApp Emerald */
  --gold: #c88a1e;
  --gold-bright: #e5a938;
  --gold-soft: #fdf5e4;
  --gold-ink: #4a3004;
  --wa: #16a34a;
  --wa-2: #15803d;
  --wa-soft: #eafbf0;
  --wa-ink: #0b4a2b;
  --danger: #dc2626;
  --danger-soft: #fef2f2;

  /* Fluid Spacing & Radius */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --sh-xs: 0 1px 3px rgba(9, 13, 22, 0.05);
  --sh-sm: 0 4px 14px rgba(9, 13, 22, 0.06);
  --sh-md: 0 12px 32px rgba(9, 13, 22, 0.09);
  --sh-lg: 0 22px 52px rgba(9, 13, 22, 0.15);
  --max: 1140px;

  /* Mobile-First Base Typography (Crisp & High-Legibility Arabic) */
  --fs-base: 14.5px;
  --pad-x: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; font-size: var(--fs-base); }
body {
  margin: 0;
  font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px;
}

/* Bulletproof Containment: prevent ANY CSS Grid/Flex child from expanding past 100% viewport */
main, .wrap, .layout, .layout > *, .hero-grid > *, article, aside,
.prose, .home-prose, .home-prose .sec, .card, .box, .gov-block,
.sm-block, .concierge-card, .dispatch-bento, .gov-explorer, .seo-drawer, .seo-drawer-body {
  min-width: 0;
  max-width: 100%;
}
main p, main li, main h1, main h2, main h3, main h4, main a, main td, main th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Subtle Reading Progress Bar */
.read-bar {
  position: fixed; top: 0; right: 0; left: 0; height: 3px; z-index: 120;
  pointer-events: none; background: transparent;
}
.read-bar > i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold-bright), var(--wa));
  transition: width 0.08s linear;
}

h1, h2, h3, h4, .fh {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  line-height: 1.28;
  margin: 0 0 0.45em;
  color: var(--obsidian);
  font-weight: 800;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(1.38rem, 4.4vw, 2.55rem); }
h2 { font-size: clamp(1.12rem, 2.4vw, 1.65rem); }
h3 { font-size: clamp(0.96rem, 1.5vw, 1.1rem); }
p { margin: 0 0 0.85em; }
a { color: var(--obsidian); transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease; }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font-family: inherit; font-size: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; top: 0; right: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); background: var(--obsidian); color: #fff; z-index: 300; font-weight: 700; text-decoration: none; }
.skip:focus { width: auto; height: auto; clip: auto; padding: 8px 14px; }

/* ==========================================================================
   PRECISION BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 0.8rem; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-lg { height: 46px; padding: 0 20px; font-size: 0.92rem; }
.btn-block { width: 100%; }

.btn-wa {
  background: var(--wa);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.28);
}
.btn-wa:hover { background: var(--wa-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(22, 163, 74, 0.34); }

.btn-dark, .btn-navy {
  background: var(--obsidian);
  color: #ffffff !important;
}
.btn-dark:hover, .btn-navy:hover { background: var(--obsidian-2); transform: translateY(-1px); }

.btn-amber {
  background: var(--gold-bright);
  color: #1f1400 !important;
}
.btn-amber:hover { background: var(--gold); color: #fff !important; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink) !important;
}
.btn-ghost:hover { border-color: var(--obsidian); background: var(--surface-2); }

.btn-wa-soft {
  background: var(--wa-soft);
  border-color: #bbf7d0;
  color: var(--wa-ink) !important;
}
.btn-wa-soft:hover { background: var(--wa); border-color: var(--wa); color: #fff !important; }

.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: inline-block; flex: none;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ==========================================================================
   1. ULTRA-MINIMAL TOP BAR (DESKTOP ONLY) & HEADER (56px MOBILE)
   ========================================================================== */
.top {
  display: none;
  background: var(--obsidian);
  color: #cbd5e1;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 12px; }
.top-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.top-links { display: flex; align-items: center; gap: 14px; }
.top-links a { color: #e2e8f0; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.top-links a:hover { color: var(--gold-bright); }
.top-links svg { width: 13px; height: 13px; }

header.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.hdr .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  gap: 10px;
  position: relative;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--obsidian);
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  min-width: 0;
}
.logo svg { width: 32px; height: 32px; flex: none; }
.logo span { white-space: nowrap; line-height: 1.15; }
.logo small { display: none; font-family: 'Tajawal', sans-serif; font-size: 0.68rem; font-weight: 600; color: var(--muted); }

.hdr-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.hdr-cta-wa, .hdr-cta { display: none; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--obsidian); cursor: pointer; padding: 0;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { border-color: var(--obsidian); background: var(--surface-2); }

.menu-btn {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; padding: 0;
}
.menu-btn span { width: 16px; height: 1.8px; background: var(--obsidian); border-radius: 2px; transition: 0.2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

/* Mobile Off-Canvas Drawer */
.nav-backdrop { position: fixed; inset: 0; background: rgba(11, 15, 25, 0.45); backdrop-filter: blur(2px); z-index: 80; }
nav.main {
  position: fixed; top: 0; bottom: 0; right: 0;
  width: min(310px, 86vw);
  background: var(--surface);
  z-index: 95;
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.16);
  display: flex; flex-direction: column;
}
body.nav-open nav.main { transform: translateX(0); }
body.nav-open { overflow: hidden; }
body.nav-open header.hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; z-index: 100; }
body.nav-open .mbar { display: none !important; }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: #fff; z-index: 2;
}
.drawer-x {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface-2); font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--obsidian);
}
nav.main > ul { list-style: none; margin: 0; padding: 6px 14px; }
nav.main > ul > li { border-bottom: 1px solid var(--line); }
nav.main > ul > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 2px; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: 0.92rem;
}
.car {
  width: 6px; height: 6px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg); opacity: 0.55; transition: 0.18s;
}
.has-mega.open .car { transform: rotate(-135deg); }
.mega { display: none; }
.has-mega.open > .mega { display: block; }
.mega-in { padding: 4px 0 12px; }
.svc-grid, .art-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.svc-grid a, .art-grid a {
  display: block; padding: 6px 8px; border-radius: 8px;
  text-decoration: none; color: var(--ink-2); font-size: 0.84rem; font-weight: 600;
}
.svc-grid a:hover, .art-grid a:hover { background: var(--surface-2); color: var(--obsidian); }
.mega-cols { display: grid; gap: 10px; }
.mega-col .fh { font-size: 0.8rem; color: var(--gold-ink); margin: 0 0 5px; }
.mega-links { display: flex; flex-wrap: wrap; gap: 4px; }
.mega-links a {
  font-size: 0.76rem; color: var(--ink-2); text-decoration: none;
  background: var(--surface-2); border-radius: 6px; padding: 3px 7px; font-weight: 600;
}
.mega-all { display: inline-block; margin-top: 8px; font-size: 0.82rem; font-weight: 800; color: var(--wa-2); text-decoration: none; }
.nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; margin-top: auto; border-top: 1px solid var(--line); }

/* Instant Search Modal */
.srch-wrap { position: fixed; inset: 0; z-index: 150; display: flex; align-items: flex-start; justify-content: center; padding: 0; }
.srch-bd { position: absolute; inset: 0; background: rgba(11, 15, 25, 0.55); backdrop-filter: blur(4px); }
.srch-box {
  position: relative; width: 100%; height: 100vh; max-height: 100vh;
  background: var(--surface); display: flex; flex-direction: column; overflow: hidden;
}
.srch-top { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.srch-top svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.srch-top input { flex: 1; border: 0; outline: 0; font-size: 0.96rem; background: transparent; color: var(--obsidian); min-width: 0; }
.srch-x { width: 32px; height: 32px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 8px; font-size: 1.25rem; cursor: pointer; }
.srch-res { flex: 1; overflow-y: auto; padding: 8px 10px; }
.srch-hint, .srch-count { color: var(--muted); font-size: 0.82rem; margin: 8px 6px; }
.srch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.srch-list a {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "c t" "c d";
  gap: 2px 9px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: inherit; align-items: center;
}
.srch-list a:hover { background: var(--surface-2); }
.srch-c { grid-area: c; background: var(--obsidian); color: #fff; font-size: 0.68rem; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.srch-t { grid-area: t; font-weight: 800; color: var(--obsidian); font-size: 0.88rem; }
.srch-d { grid-area: d; color: var(--muted); font-size: 0.78rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.srch-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--bg); font-size: 0.8rem; color: var(--muted); }
.srch-foot a { color: var(--wa-2); font-weight: 800; text-decoration: none; }
body.srch-open { overflow: hidden; }

/* ==========================================================================
   2. EXTRAORDINARY ARCHITECTURAL BENTO HERO (FITS CLEANLY ON 1 MOBILE SCREEN)
   ========================================================================== */
.hero-bento {
  padding: 14px 0 18px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Primary Dark Architectural Canvas Card */
.hero-main-card {
  background:
    radial-gradient(460px 260px at 0% 100%, rgba(22, 163, 74, 0.22) 0%, transparent 65%),
    radial-gradient(420px 240px at 100% 0%, rgba(200, 138, 30, 0.2) 0%, transparent 65%),
    var(--obsidian);
  color: #ffffff;
  border-radius: var(--r-lg);
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--sh-md);
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero-main-card h1 {
  color: #ffffff;
  margin: 0 0 8px;
}
.hero-main-card h1 em {
  font-style: normal;
  color: var(--gold-bright);
}
.hero-sub {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 14px;
  max-width: 520px;
}

/* Side-by-side Primary Action Pair even on 360px phones */
.hero-cta-pair {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.hero-cta-pair .btn { height: 44px; padding: 0 12px; font-size: 0.86rem; }
.hero-cta-pair .btn-call-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
}
.hero-cta-pair .btn-call-light:hover { background: #ffffff; color: var(--obsidian) !important; }

/* Compact Horizontal Swipeable Quick-Issue Pills */
.quick-wa-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  margin-bottom: 14px;
  -webkit-overflow-scrolling: touch;
}
.quick-wa-strip::-webkit-scrollbar { display: none; }
.q-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}
.q-pill:hover { background: var(--wa); border-color: var(--wa); color: #fff; }

/* Surgical Micro-Trust Strip inside Hero */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hm { text-align: center; }
.hm b { display: block; font-family: 'Cairo', sans-serif; font-size: 0.92rem; color: #ffffff; line-height: 1.15; }
.hm b.g { color: #4ade80; }
.hm b.y { color: var(--gold-bright); }
.hm span { display: block; font-size: 0.68rem; color: #94a3b8; margin-top: 2px; }

/* Companion Crisp White 10-Second WhatsApp Dispatch Card */
.dispatch-bento {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--sh-sm);
}
.db-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
}
.db-head h2 { font-size: 0.98rem; margin: 0; }
.db-tag {
  background: var(--wa-soft); color: var(--wa-ink);
  font-size: 0.7rem; font-weight: 800; padding: 3px 8px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}

/* Compact Selectable Fault Chips — High-Contrast & Clear Tap Targets */
.fault-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 11px;
}
.f-chip {
  border: 1.5px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.15s;
}
.f-chip:hover { border-color: var(--wa); color: var(--wa-ink); background: var(--wa-soft); }
.f-chip.active { background: var(--obsidian); color: #ffffff; border-color: var(--obsidian); box-shadow: 0 3px 10px rgba(9, 13, 22, 0.18); }

.db-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  margin-bottom: 9px;
}
.db-input, .db-select {
  width: 100%;
  min-width: 0;
  height: 41px;
  padding: 0 12px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}
.db-input:focus, .db-select:focus { outline: none; border-color: var(--wa); background: #fff; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.14); }
.gps-mini {
  height: 41px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px dashed var(--line-2);
  background: var(--surface);
  color: var(--obsidian);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
}
.gps-mini.attached { background: var(--wa-soft); border-style: solid; border-color: var(--wa); color: var(--wa-ink); }
.db-foot {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-top: 8px; font-size: 0.72rem; color: var(--muted); font-weight: 600;
}

/* ==========================================================================
   3. SECTIONS & SURGICAL COMPACT LAYOUTS
   ========================================================================== */
.sec-block { padding: 20px 0; }
.sec-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.sec-top h2 { margin: 0; }
.sec-top .sub { font-size: 0.8rem; color: var(--muted); margin: 2px 0 0; }
.sec-link { font-family: 'Cairo', sans-serif; font-size: 0.8rem; font-weight: 800; color: var(--wa-2); text-decoration: none; white-space: nowrap; }
.sec-link:hover { color: var(--obsidian); }

/* Compact 2-Column Price Strip */
.price-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.p-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--sh-xs);
}
.p-item:hover { border-color: var(--wa); background: var(--wa-soft); }
.p-item .t { font-size: 0.8rem; font-weight: 700; line-height: 1.3; }
.p-item .pr {
  font-family: 'Cairo', sans-serif; font-size: 0.78rem; font-weight: 800;
  color: var(--gold-ink); background: var(--gold-soft);
  padding: 2px 8px; border-radius: 999px; white-space: nowrap; flex: none;
}

/* ==========================================================================
   4. UNIFIED INTERACTIVE CONCIERGE PANEL (3 TABS: CALCULATOR | TRIAGE | PHOTO)
   ========================================================================== */
.concierge-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--sh-sm);
}
.seg-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  background: var(--surface-2);
  padding: 5px;
  border-radius: 13px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}
.seg-tab {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 9px 6px;
  border-radius: 9px;
  cursor: pointer;
  transition: 0.16s;
}
.seg-tab.active { background: var(--obsidian); color: #ffffff; box-shadow: var(--sh-xs); }
.seg-panel[hidden] { display: none !important; }

/* Tab 1: Compact Calculator */
.calc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.calc-lbl { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.calc-badge { background: var(--obsidian); color: var(--gold-bright); padding: 1px 9px; border-radius: 999px; font-family: 'Cairo'; font-size: 0.78rem; }
.calc-range { width: 100%; accent-color: var(--obsidian); height: 6px; cursor: pointer; }
.calc-out {
  background: var(--obsidian);
  color: #ffffff;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.calc-out .lbl { display: block; font-size: 0.72rem; color: #94a3b8; }
.calc-out .amt { font-family: 'Cairo', sans-serif; font-size: 1.35rem; font-weight: 900; color: var(--gold-bright); line-height: 1.1; }
.calc-out .amt small { font-size: 0.78rem; margin-right: 3px; color: #fde68a; }

/* Tab 2: Compact Emergency Triage */
.tr-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 10px; }
.tr-chips::-webkit-scrollbar { display: none; }
.tr-chip {
  flex: none; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink-2);
  border-radius: 999px; padding: 6px 11px; font-size: 0.78rem; font-weight: 700; cursor: pointer;
}
.tr-chip.active { background: var(--obsidian); color: #fff; border-color: var(--obsidian); }
.tr-box { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.tr-tag { display: inline-block; font-size: 0.72rem; font-weight: 800; color: var(--danger); background: var(--danger-soft); padding: 2px 9px; border-radius: 999px; margin-bottom: 6px; }
.tr-box h3 { font-size: 0.94rem; margin-bottom: 6px; }
.tr-list { margin: 0 0 12px; padding-right: 16px; font-size: 0.82rem; color: var(--ink-2); }
.tr-list li { margin-bottom: 4px; }

/* Tab 3: Photo Diagnosis via WhatsApp */
.photo-box {
  background: linear-gradient(135deg, #0b1f17 0%, #113827 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.photo-box h3 { color: #ffffff; font-size: 0.98rem; margin: 0; }
.photo-box p { color: #d1fae5; font-size: 0.82rem; margin: 0; }

/* ==========================================================================
   5. SURGICAL BENTO SERVICES GRID (ALL 10 SERVICES — COMPACT & SCANNABLE)
   ========================================================================== */
.svc-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.svc-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: var(--sh-xs);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.svc-row:hover { border-color: var(--obsidian); transform: translateY(-2px); }
.svc-top { display: flex; align-items: center; gap: 10px; }
.svc-ic {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--surface-2); color: var(--obsidian);
  display: grid; place-items: center; flex: none;
}
.svc-ic svg { width: 17px; height: 17px; }
.svc-meta { flex: 1; min-width: 0; }
.svc-meta h3 { font-size: 0.9rem; margin: 0; line-height: 1.3; }
.svc-meta h3 a { text-decoration: none; color: var(--obsidian); }
.svc-meta h3 a:hover { color: var(--wa-2); }
.svc-pr { font-size: 0.72rem; font-weight: 800; color: var(--gold-ink); background: var(--gold-soft); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.svc-desc { font-size: 0.8rem; color: var(--muted); margin: 0; line-height: 1.5; }
.svc-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 7px; border-top: 1px solid var(--line);
}
.svc-more { font-size: 0.76rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.svc-more:hover { color: var(--obsidian); }

/* ==========================================================================
   6. INTERACTIVE 6-GOVERNORATE AREA EXPLORER (107 SEO LINKS, ZERO CLUTTER)
   ========================================================================== */
.gov-explorer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--sh-sm);
}
.gov-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.gov-tabs::-webkit-scrollbar { display: none; }
.gov-tab {
  flex: none;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}
.gov-tab.active { background: var(--obsidian); color: var(--gold-bright); border-color: var(--obsidian); }
.gov-panel { display: none; }
.gov-panel.active { display: block; }
.gov-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  flex-wrap: wrap; margin-bottom: 10px;
}
.gov-panel-head h3 { font-size: 0.94rem; margin: 0; }
.area-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.area-pills a {
  background: var(--bg); border: 1px solid var(--line); color: var(--ink-2);
  text-decoration: none; font-size: 0.76rem; font-weight: 700;
  padding: 4px 9px; border-radius: 8px;
}
.area-pills a:hover { background: var(--obsidian); color: #fff; border-color: var(--obsidian); }

/* ==========================================================================
   7. HORIZONTAL SCROLL-SNAP REVIEWS & ARTICLES (MOBILE APP FEEL)
   ========================================================================== */
.h-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.h-scroll::-webkit-scrollbar { display: none; }
.rev-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
  box-shadow: var(--sh-xs);
}
.rev-stars { color: var(--gold-bright); font-size: 0.85rem; letter-spacing: 1px; }
.rev-card p { font-size: 0.82rem; color: var(--ink-2); margin: 0; line-height: 1.55; }
.rev-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 8px; font-size: 0.76rem; }
.rev-foot strong { color: var(--obsidian); font-family: 'Cairo'; }
.rev-foot span { color: var(--muted); }

.art-mini {
  flex: 0 0 74%;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column;
  box-shadow: var(--sh-xs);
}
.art-mini img { aspect-ratio: 16/10; width: 100%; object-fit: cover; background: var(--surface-2); }
.art-mini .b { padding: 10px 12px; }
.art-mini h3 { font-size: 0.86rem; margin: 0 0 4px; line-height: 1.38; }
.art-mini p { font-size: 0.76rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Compact 3-Step Strip */
.steps-strip { display: grid; grid-template-columns: 1fr; gap: 8px; }
.st-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; display: flex; align-items: flex-start; gap: 10px;
}
.st-n {
  width: 28px; height: 28px; border-radius: 8px; background: var(--obsidian); color: var(--gold-bright);
  font-family: 'Cairo'; font-weight: 900; font-size: 0.86rem; display: grid; place-items: center; flex: none;
}
.st-box h3 { font-size: 0.88rem; margin: 0 0 2px; }
.st-box p { font-size: 0.78rem; color: var(--muted); margin: 0; }

/* ==========================================================================
   8. COLLAPSIBLE SEO ENCYCLOPEDIA + GEO SUMMARY (ZERO VISUAL BLOAT)
   ========================================================================== */
.seo-drawer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-xs);
}
.seo-drawer > summary {
  padding: 14px 16px;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--obsidian);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.seo-drawer > summary::-webkit-details-marker { display: none; }
.seo-drawer > summary::after {
  content: "عرض الدليل";
  font-size: 0.74rem;
  background: var(--surface-2);
  color: var(--ink-2);
  padding: 4px 10px;
  border-radius: 999px;
  flex: none;
}
.seo-drawer[open] > summary::after { content: "إخفاء"; background: var(--obsidian); color: #fff; }
.seo-drawer-body { padding: 0 14px 14px; border-top: 1px solid var(--line); }

.geo-mini {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  font-size: 0.8rem;
  color: var(--ink-2);
}
.geo-mini strong { color: var(--obsidian); }
.geo-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.geo-links a {
  font-size: 0.74rem; font-weight: 700; color: var(--ink); text-decoration: none;
  background: var(--surface-2); padding: 3px 9px; border-radius: 6px;
}

/* Final Compact Obsidian Conversion Card */
.final-card {
  background: var(--obsidian);
  color: #ffffff;
  border-radius: var(--r-lg);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}
.final-card h2 { color: #ffffff; margin: 0 0 4px; font-size: 1.15rem; }
.final-card p { color: #cbd5e1; margin: 0; font-size: 0.84rem; }
.final-btns { display: flex; gap: 8px; width: 100%; }
.final-btns .btn { flex: 1; }

/* ==========================================================================
   9. FULL COMPATIBILITY FOR ALL 146 INNER PAGES (CLEAN & TIGHT ON MOBILE)
   ========================================================================== */
.hero, .area-hero, .art-hero, .list-hero, .page-hero {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(200, 138, 30, 0.18) 0%, transparent 65%),
    var(--obsidian);
  color: #ffffff;
}
.area-hero .wrap, .art-hero .wrap, .list-hero .wrap, .page-hero .wrap { padding: 22px var(--pad-x) 24px; }
.crumbs { font-size: 0.74rem; color: #94a3b8; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.crumbs a { color: #e2e8f0; text-decoration: none; font-weight: 600; }
.crumbs span { color: var(--gold-bright); }
.area-hero h1, .art-hero h1, .list-hero h1, .page-hero h1 { color: #ffffff; margin-bottom: 6px; }
.area-hero .eyebrow, .hero .eyebrow { color: var(--gold-bright); font-family: 'Cairo'; font-size: 0.76rem; font-weight: 800; margin-bottom: 6px; }
.area-hero .facts, .badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 8px; }
.area-hero .facts span, .badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px; padding: 4px 11px; font-size: 0.76rem; font-weight: 700; color: #f1f5f9;
}
.badge svg { width: 14px; height: 14px; color: var(--gold-bright); flex: none; }
.hero-phone {
  display: inline-block; font-family: 'Cairo'; font-weight: 900;
  font-size: clamp(1.45rem, 4.5vw, 2.1rem); color: var(--gold-bright);
  text-decoration: none; margin: 4px 0 6px;
}
.area-hero .cta, .hero .cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.art-hero p, .list-hero p, .page-hero p { color: #cbd5e1; margin: 0; font-size: 0.88rem; max-width: 700px; }

/* Universal 24x24 icon safeguard so no icon SVG can ever expand to full viewport */
svg[viewBox="0 0 24 24"], svg[viewbox="0 0 24 24"] { width: 18px; height: 18px; flex: none; }

/* 4-Tile Quick Service Row inside Hero / TV Stand Page */
.svc4-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.svc4 {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 9px 11px;
  color: #f8fafc;
  text-decoration: none;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.3;
  transition: 0.18s;
}
.svc4:hover { background: rgba(229, 169, 56, 0.18); border-color: var(--gold-bright); color: #ffffff; }
.svc4 .ico {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--gold-bright); color: var(--obsidian);
  display: grid; place-items: center; flex: none;
}
.svc4 .ico svg { width: 16px; height: 16px; }
@media (min-width: 768px) {
  .svc4-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
}

/* Complete coverage for remaining volt classes (quick-box, steps-list, tips, tv_card, hero-art) */
.hero-art { border-radius: var(--r); overflow: hidden; }
.quick-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--sh-xs); }
.quick-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.qp { display: flex; justify-content: space-between; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; font-size: 0.82rem; font-weight: 700; }
.qp b { color: var(--gold-ink); font-family: 'Cairo'; white-space: nowrap; }
.steps-list, .tips { padding-right: 20px; margin: 0 0 1em; }
.steps-list li, .tips li { margin-bottom: 7px; font-size: 0.95rem; line-height: 1.8; color: var(--ink); }
.tv_card { border-color: var(--line-2); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px 0; align-items: start; }
.home-layout { padding: 12px 0; }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--sh-xs); overflow-x: clip; }
.home-prose { background: transparent; border: 0; padding: 0; box-shadow: none; overflow: visible; }
.home-prose .sec { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 16px 15px; margin-bottom: 12px; scroll-margin-top: 72px; overflow-x: clip; }
.prose h2, .home-prose .sec h2 {
  position: relative; padding-right: 12px; margin-top: 1.25em; margin-bottom: 0.6em; font-size: 1.12rem; color: var(--obsidian);
}
.prose h2:first-child, .home-prose .sec > h2:first-of-type { margin-top: 0; }
.prose h2::before, .home-prose .sec h2::before {
  content: ""; position: absolute; right: 0; top: 0.14em; bottom: 0.14em;
  width: 3.5px; border-radius: 99px; background: var(--gold);
}
.prose h3, .home-prose .sec h3 { margin-top: 1.1em; margin-bottom: 0.45em; font-size: 0.98rem; color: var(--obsidian); }
.prose p, .prose li, .home-prose .sec p, .home-prose .sec li {
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--ink);
}
.prose p, .home-prose .sec p { margin: 0 0 0.95em; }
.prose strong, .home-prose .sec strong { color: var(--obsidian); font-weight: 800; }
.prose ul, .prose ol { padding-right: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: 12px; margin: 10px 0 14px; width: 100%; max-width: 100%; height: auto; }
.prose img.banner, .home-prose img.banner { width: 100%; max-width: 100%; height: auto; aspect-ratio: 1672/941; object-fit: cover; }

.toc { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 15px; margin-bottom: 14px; }
.toc h2 { font-size: 0.96rem; margin: 0 0 9px; padding: 0; color: var(--obsidian); }
.toc h2::before { display: none; }
.toc ol { columns: 1; margin: 0; padding-right: 18px; font-size: 0.88rem; line-height: 1.75; }
.toc li { margin-bottom: 4px; }
.toc a { color: var(--obsidian); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--wa-2); text-decoration: underline; }

.cta-inline {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--wa-soft); border: 1.5px solid #a7f3d0; border-radius: 14px; padding: 14px; margin: 16px 0 6px;
  max-width: 100%;
}
.cta-inline > div { min-width: 0; flex: 1 1 200px; }
.cta-inline strong { display: block; font-family: 'Cairo'; font-size: 0.94rem; color: var(--wa-ink); margin-bottom: 2px; }
.cta-inline span { display: block; font-size: 0.84rem; color: #14532d; line-height: 1.5; }
.cta-inline-btns { display: flex; gap: 7px; flex-wrap: wrap; width: 100%; }
.cta-inline-btns .btn { flex: 1 1 125px; height: 38px; font-size: 0.82rem; padding: 0 12px; }

.phone-box { text-align: center; background: var(--obsidian); color: #fff; border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.phone-box span { display: block; color: #e2e8f0; font-size: 0.84rem; }
.phone-box a[dir="ltr"] { display: block; font-family: 'Cairo'; font-weight: 900; font-size: 1.8rem; color: var(--gold-bright); text-decoration: none; }
.phone-box div { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

.note { background: var(--gold-soft); border-right: 3.5px solid var(--gold); padding: 12px 14px; border-radius: 11px; margin: 14px 0; font-size: 0.88rem; line-height: 1.7; color: #3b2602; }
.tbl {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.1em;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.tbl table, .prose table { width: 100%; max-width: 100%; min-width: 0; border-collapse: collapse; font-size: 0.84rem; margin: 0; }
.tbl th, .prose th { background: var(--obsidian); color: #fff; font-family: 'Cairo'; font-weight: 800; padding: 10px 10px; text-align: right; line-height: 1.4; }
.tbl td, .prose td { border-top: 1px solid var(--line); padding: 9px 10px; text-align: right; color: var(--ink); line-height: 1.55; vertical-align: top; }
.tbl tbody tr:nth-child(even) { background: var(--bg); }
.tbl td.num { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 800; color: var(--obsidian); }

.grid { display: grid; gap: 10px; }
.g3, .g2, .grid2, .grid3.why, .rel-grid, .art-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.grid3.why > div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px; }
.grid3.why h3 { font-size: 0.92rem; margin: 0 0 4px; color: var(--obsidian); }
.grid3.why p { margin: 0; font-size: 0.84rem; color: var(--ink-2); }
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.checks li { padding-right: 22px; position: relative; font-size: 0.92rem; color: var(--ink); }
.checks li::before { content: "✓"; position: absolute; right: 0; color: var(--wa); font-weight: 900; }
.checklist ul { padding: 0; }
.checklist li { padding-right: 22px; position: relative; list-style: none; font-size: 0.92rem; color: var(--ink); }
.checklist li::before { content: "!"; position: absolute; right: 0; color: var(--gold); font-weight: 900; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 15px; position: relative; box-shadow: var(--sh-xs); }
.card .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-soft); display: grid; place-items: center; margin-bottom: 10px; color: var(--gold-ink); }
.card .ico svg { width: 20px; height: 20px; }
.card h3 a { text-decoration: none; color: var(--obsidian); }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--ink-2); font-size: 0.86rem; margin: 0; }
.card .more { display: inline-block; margin-top: 8px; color: var(--wa-2); font-weight: 800; font-size: 0.84rem; }

.gov-block { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 15px; margin-bottom: 10px; scroll-margin-top: 72px; }
.gov-block h2 { font-size: 0.98rem; display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.gov-block h2 svg { width: 16px; height: 16px; color: var(--gold); }
.gov-block h2 b { margin-right: auto; font-size: 0.78rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 9px; padding: 5px 11px; text-decoration: none; color: var(--obsidian); font-size: 0.82rem; font-weight: 700; }
.chip:hover { background: var(--obsidian); color: #fff; border-color: var(--obsidian); }

.art-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.art-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.art-card .b { padding: 12px; }
.art-card h3 { font-size: 0.9rem; margin-bottom: 4px; }
.art-card p { margin: 0; color: var(--muted); font-size: 0.78rem; }

.rel { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.82rem; }
.rel span { flex: none; color: var(--gold); display: grid; place-items: center; }
.rel span svg { width: 15px; height: 15px; }

.fig { margin: 14px 0; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.fig svg { width: 100%; height: auto; }
.fig figcaption { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 0.76rem; text-align: center; }

.sm-block { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.sm-block h2 { display: flex; align-items: center; gap: 7px; font-size: 0.96rem; margin: 0 0 10px; }
.sm-block h2 svg { width: 17px; height: 17px; color: var(--gold); }
.sm-block h2 b { background: var(--bg); color: var(--muted); font-size: 0.72rem; border-radius: 999px; padding: 2px 8px; }
.sm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sm-list.cols { grid-template-columns: repeat(2, 1fr); }
.sm-list a { color: var(--ink-2); text-decoration: none; font-size: 0.82rem; display: block; padding: 3px 0; }

/* Unified Minimal FAQ Details */
.faq details, .sec details, .prose details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; margin-bottom: 7px;
}
.faq details[open], .sec details[open], .prose details[open] { border-color: var(--obsidian); }
.faq summary, .sec details summary, .prose details summary {
  cursor: pointer; font-family: 'Cairo'; font-weight: 800; font-size: 0.86rem;
  padding: 12px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--obsidian);
}
.faq summary::-webkit-details-marker, details summary::-webkit-details-marker { display: none; }
.faq summary::after, .sec details summary::after, .prose details summary::after {
  content: "+"; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2);
  display: grid; place-items: center; font-size: 1rem; color: var(--obsidian); flex: none;
}
.faq details[open] summary::after, .sec details[open] summary::after, .prose details[open] summary::after {
  content: "−"; background: var(--obsidian); color: #fff;
}
.faq details p, .sec details p, .prose details p { padding-bottom: 12px; color: var(--ink-2); font-size: 0.82rem; margin: 0; }

/* Sidebar */
.sticky { position: sticky; top: 72px; }
aside .box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
aside .box.dark { background: var(--obsidian); color: #fff; border: 0; }
aside .box.dark h3 { color: #fff; font-size: 0.96rem; }
aside .box.dark p { color: #cbd5e1; font-size: 0.82rem; }
aside .box.dark .btn { width: 100%; margin-top: 7px; }
aside .box h3 { font-size: 0.92rem; margin-bottom: 8px; }
aside ul.links { list-style: none; margin: 0; padding: 0; }
aside ul.links li { border-bottom: 1px dashed var(--line); }
aside ul.links li:last-child { border: 0; }
aside ul.links a { display: block; padding: 7px 0; text-decoration: none; color: var(--ink-2); font-size: 0.82rem; font-weight: 600; }

.cta-band { background: var(--obsidian); color: #fff; padding: 26px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 2px; font-size: 1.08rem; }
.cta-band p { margin: 0; color: #cbd5e1; font-size: 0.82rem; }

/* ==========================================================================
   10. COMPACT ARCHITECTURAL FOOTER
   ========================================================================== */
footer {
  background: var(--obsidian);
  color: #94a3b8;
  padding: 28px 0 34px;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer .cols { display: grid; grid-template-columns: 1fr; gap: 20px; }
footer h3.fh { color: #ffffff; font-size: 0.86rem; margin-bottom: 8px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 12px; }
footer a { color: #94a3b8; text-decoration: none; }
footer a:hover { color: var(--gold-bright); }
.fcol-brand .logo { color: #fff; margin-bottom: 8px; }
.fcol-brand p { font-size: 0.78rem; color: #94a3b8; margin: 0 0 12px; }
.fcta { display: flex; gap: 8px; }
.fhot { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.hotlinks { display: flex; flex-wrap: wrap; gap: 5px; }
.hotlinks a { background: rgba(255, 255, 255, 0.06); border-radius: 999px; padding: 3px 10px; font-size: 0.74rem; color: #cbd5e1; }
.hotlinks a:hover { background: var(--wa); color: #fff; }
footer .copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 18px; padding-top: 14px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
  font-size: 0.74rem;
}

/* ==========================================================================
   11. FLOATING PILL DOCK (MOBILE) & SMART CONCIERGE CHIP (DESKTOP)
   ========================================================================== */
.mbar {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom));
  right: 12px;
  left: 12px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(11, 15, 25, 0.08);
  border-radius: 999px;
  padding: 5px;
  display: flex;
  gap: 6px;
  box-shadow: 0 12px 32px rgba(11, 15, 25, 0.2);
}
.mbar .btn { height: 42px; font-size: 0.84rem; padding: 0 12px; }
.mbar .btn-wa { flex: 1.5; }
.mbar .btn-dark { flex: 1; }

.wa-float-wrap { display: none; }

/* ==========================================================================
   12. PRECISION RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Large Mobile / Phablet (480px+) */
@media (min-width: 480px) {
  :root { --fs-base: 14.5px; --pad-x: 18px; }
  .price-strip { grid-template-columns: repeat(3, 1fr); }
  .svc-bento { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rev-card { flex: 0 0 68%; }
  .art-mini { flex: 0 0 56%; }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  :root { --fs-base: 15px; --pad-x: 22px; }
  body { padding-bottom: 0; }
  .mbar { display: none !important; }
  .hero-bento { padding: 22px 0 24px; }
  .hero-main-card { padding: 28px 26px; }
  .dispatch-bento { padding: 22px; }
  .sec-block { padding: 28px 0; }
  .calc-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .steps-strip { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .h-scroll { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .rev-card, .art-mini { flex: auto; }
  .g3, .grid3.why, .art-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g2, .grid2, .rel-grid, .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inline-btns { width: auto; flex-shrink: 0; }
  .cta-inline-btns .btn { flex: none; }
  .prose, .home-prose .sec { padding: 22px 24px; }
  .toc ol { columns: 2; column-gap: 24px; }
  .final-card { flex-direction: row; align-items: center; padding: 28px 30px; }
  .final-btns { width: auto; flex-shrink: 0; }
  .final-btns .btn { flex: none; padding: 0 22px; }
  footer .cols { grid-template-columns: 1.4fr 1fr 1fr; }
  footer ul { grid-template-columns: 1fr; }
  .srch-wrap { padding: 8vh 16px; }
  .srch-box { max-width: 640px; height: auto; max-height: 78vh; border-radius: 18px; box-shadow: var(--sh-lg); }

  /* Desktop Floating WhatsApp Concierge */
  .wa-float-wrap {
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    position: fixed; bottom: 20px; left: 20px; z-index: 90;
  }
  .wa-float-trigger {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 16px; border-radius: 999px; border: 0;
    background: var(--wa); color: #fff; font-family: 'Cairo'; font-weight: 800; font-size: 0.84rem;
    cursor: pointer; box-shadow: 0 10px 26px rgba(22, 163, 74, 0.38);
  }
  .wa-float-trigger svg { width: 18px; height: 18px; }
  .wa-float-panel {
    width: 285px; background: var(--surface); border-radius: 16px;
    border: 1px solid var(--line); box-shadow: var(--sh-lg); overflow: hidden;
  }
  .wa-fp-head { background: var(--obsidian); color: #fff; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; }
  .wa-fp-head strong { display: block; font-size: 0.88rem; }
  .wa-fp-head span { font-size: 0.72rem; color: #86efac; }
  .wa-fp-close { background: rgba(255,255,255,0.12); border: 0; color: #fff; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; }
  .wa-fp-body { padding: 10px; display: grid; gap: 6px; background: var(--bg); }
  .wa-fp-opt {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
    padding: 9px 11px; text-decoration: none; color: var(--obsidian); font-weight: 700; font-size: 0.8rem;
  }
  .wa-fp-opt:hover { border-color: var(--wa); background: var(--wa-soft); color: var(--wa-ink); }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  :root { --fs-base: 15.5px; --pad-x: 24px; }
  .top { display: block; }
  header.hdr .wrap { height: 64px; }
  .logo { font-size: 1.04rem; }
  .logo svg { width: 36px; height: 36px; }
  .logo small { display: block; }
  .menu-btn, .drawer-head, .nav-cta { display: none !important; }
  .hdr-cta-wa { display: inline-flex; height: 36px; padding: 0 14px; font-size: 0.82rem; }
  .hdr-cta { display: inline-flex; height: 36px; padding: 0 13px; font-size: 0.82rem; }

  nav.main {
    position: static; width: auto; transform: none !important; box-shadow: none;
    background: transparent; overflow: visible; flex-direction: row;
  }
  nav.main > ul { display: flex; align-items: center; gap: 2px; padding: 0; }
  nav.main > ul > li { border: 0; position: relative; }
  nav.main > ul > li > a {
    padding: 7px 10px; border-radius: 8px; font-size: 0.84rem; gap: 4px;
  }
  nav.main > ul > li > a:hover,
  nav.main > ul > li > a[aria-current="page"] { background: var(--surface-2); color: var(--obsidian); }

  .mega {
    display: block; position: absolute; top: calc(100% + 8px); z-index: 70;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.16s ease; pointer-events: none;
  }
  .has-mega:hover > .mega, .has-mega:focus-within > .mega {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
  }
  .mega-in { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-lg); padding: 16px; }
  .mega-svc { right: 0; width: 540px; }
  .mega-arts { right: 0; width: 440px; }
  .mega-areas { right: -140px; width: min(820px, 90vw); }
  .mega-areas .mega-in { max-height: 70vh; overflow-y: auto; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .mega-cols { grid-template-columns: repeat(3, 1fr); gap: 14px; }

  .hero-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: 18px; align-items: stretch; }
  .hero-main-card { padding: 34px 32px; display: flex; flex-direction: column; justify-content: space-between; }
  .dispatch-bento { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
  .svc-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; padding: 28px 0; }
  .g3, .grid3.why, .art-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm-list.cols { grid-template-columns: repeat(4, 1fr); }
  footer .cols { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
