/* ============================================================
   Hamid Corporation — Cooling & Appliance Services
   Design tokens + light/dark themes
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

:root {
  /* tunable via Tweaks */
  --accent-h: 195;          /* hue */
  --accent-c: 0.11;         /* chroma */
  --radius-scale: 1;        /* roundness multiplier */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;

  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* derived accent ramp */
  --accent:      oklch(0.62 var(--accent-c) var(--accent-h));
  --accent-600:  oklch(0.55 var(--accent-c) var(--accent-h));
  --accent-700:  oklch(0.48 var(--accent-c) var(--accent-h));
  --accent-soft: oklch(0.95 calc(var(--accent-c) * 0.4) var(--accent-h));
  --accent-on:   #ffffff;

  /* radii */
  --r-xs: calc(8px  * var(--radius-scale));
  --r-sm: calc(12px * var(--radius-scale));
  --r-md: calc(18px * var(--radius-scale));
  --r-lg: calc(26px * var(--radius-scale));
  --r-xl: calc(34px * var(--radius-scale));
  --r-pill: 999px;

  /* spacing rhythm */
  --section-y: clamp(72px, 9vw, 132px);
  --maxw: 1200px;
}

/* ---------- LIGHT (default) ---------- */
:root, [data-theme="light"] {
  --bg:         oklch(0.985 0.004 230);
  --bg-2:       oklch(0.965 0.006 230);
  --surface:    #ffffff;
  --surface-2:  oklch(0.975 0.005 230);
  --border:     oklch(0.91 0.008 235);
  --border-2:   oklch(0.86 0.01 235);
  --text:       oklch(0.27 0.025 250);
  --text-2:     oklch(0.48 0.02 250);
  --text-3:     oklch(0.62 0.015 250);
  --shadow-c:   220 40% 30%;
  --shadow-sm:  0 1px 2px hsl(var(--shadow-c) / 0.06), 0 2px 8px hsl(var(--shadow-c) / 0.05);
  --shadow-md:  0 4px 14px hsl(var(--shadow-c) / 0.08), 0 12px 34px hsl(var(--shadow-c) / 0.07);
  --shadow-lg:  0 8px 24px hsl(var(--shadow-c) / 0.10), 0 30px 60px hsl(var(--shadow-c) / 0.12);
  --hero-glow:  oklch(0.92 calc(var(--accent-c) * 0.5) var(--accent-h));
  --grid-line:  oklch(0.92 0.006 235);
  --ph-a: oklch(0.93 0.01 235);
  --ph-b: oklch(0.89 0.012 235);
}

/* ---------- DARK ---------- */
[data-theme="dark"] {
  --bg:         oklch(0.18 0.018 255);
  --bg-2:       oklch(0.205 0.02 255);
  --surface:    oklch(0.235 0.021 255);
  --surface-2:  oklch(0.26 0.022 255);
  --border:     oklch(0.32 0.022 255);
  --border-2:   oklch(0.4 0.025 255);
  --text:       oklch(0.96 0.008 240);
  --text-2:     oklch(0.78 0.014 240);
  --text-3:     oklch(0.64 0.016 245);
  --accent:      oklch(0.74 calc(var(--accent-c) * 1.05) var(--accent-h));
  --accent-600:  oklch(0.68 var(--accent-c) var(--accent-h));
  --accent-700:  oklch(0.6 var(--accent-c) var(--accent-h));
  --accent-soft: oklch(0.32 calc(var(--accent-c) * 0.6) var(--accent-h));
  --accent-on:   oklch(0.16 0.02 255);
  --shadow-c:   255 60% 3%;
  --shadow-sm:  0 1px 2px hsl(var(--shadow-c) / 0.4), 0 2px 8px hsl(var(--shadow-c) / 0.35);
  --shadow-md:  0 6px 18px hsl(var(--shadow-c) / 0.45), 0 16px 40px hsl(var(--shadow-c) / 0.4);
  --shadow-lg:  0 10px 30px hsl(var(--shadow-c) / 0.5), 0 36px 70px hsl(var(--shadow-c) / 0.55);
  --hero-glow:  oklch(0.45 calc(var(--accent-c) * 0.8) var(--accent-h));
  --grid-line:  oklch(0.28 0.018 255);
  --ph-a: oklch(0.28 0.02 255);
  --ph-b: oklch(0.32 0.022 255);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .5s ease, color .5s ease;
  overflow-x: hidden;
}

#root { min-height: 100vh; }

::selection { background: var(--accent-soft); color: var(--text); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

/* ---------- generic atoms ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-700);
  padding: 7px 14px;
  background: var(--accent-soft);
  border-radius: var(--r-pill);
}
[data-theme="dark"] .eyebrow { color: oklch(0.85 calc(var(--accent-c) * 0.9) var(--accent-h)); }

.section-head { max-width: 640px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(30px, 4vw, 50px); }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.6; }

/* buttons */
.btn {
  --pad-y: 14px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15.5px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .ico { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent); color: var(--accent-on);
  box-shadow: 0 6px 18px -6px var(--accent), var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 12px 26px -8px var(--accent), var(--shadow-md); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-700); box-shadow: var(--shadow-md); }
[data-theme="dark"] .btn-ghost:hover { color: var(--accent); }
.btn-wa { background: #25D366; color: #06351a; }
.btn-wa:hover { background: #21c25d; transform: translateY(-2px); box-shadow: 0 12px 26px -8px #25d36699; }
.btn-lg { --pad-y: 17px; --pad-x: 30px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* card base */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* image placeholder */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--ph-a) 0 14px, var(--ph-b) 14px 28px);
  display: grid; place-items: center;
}
.ph span {
  font-family: 'Space Grotesk', monospace;
  font-size: 12.5px; letter-spacing: .04em;
  color: var(--text-3);
  background: var(--surface);
  padding: 5px 12px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}

/* scroll reveal */
[data-animate] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms);
}
[data-animate].in-view, [data-animate][data-shown] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-on);
  box-shadow: 0 6px 16px -6px var(--accent);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: 1px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--text-2);
  padding: 9px 14px; border-radius: var(--r-sm); white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.nav-links { margin-inline-start: 8px; }

/* ---------- language switcher ---------- */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 13px;
  border-radius: var(--r-pill); border: 1px solid var(--border-2); background: var(--surface);
  color: var(--text-2); font-family: inherit; font-weight: 600; font-size: 14px;
  transition: color .2s, border-color .2s, background-color .2s;
}
.lang-btn:hover { color: var(--accent-700); border-color: var(--accent); }
[data-theme="dark"] .lang-btn:hover { color: var(--accent); }
.lang-btn .lang-cur { line-height: 1; }
.lang-chev { transition: transform .25s ease; }
.lang-chev.up { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 184px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 7px; display: grid; gap: 2px; z-index: 90;
  opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right;
  pointer-events: none; transition: opacity .18s ease, transform .18s cubic-bezier(.2,.8,.2,1);
}
[dir="rtl"] .lang-menu { transform-origin: top left; }
.lang-menu.show { opacity: 1; transform: none; pointer-events: auto; }
.lang-opt {
  display: flex; align-items: center; gap: 10px; padding: 10px 13px; width: 100%;
  border: none; background: none; border-radius: var(--r-sm); color: var(--text);
  text-align: start; transition: background-color .15s;
}
.lang-opt:hover { background: var(--surface-2); }
.lang-opt.active { background: var(--accent-soft); }
[data-theme="dark"] .lang-opt.active { background: var(--accent-soft); }
.lang-native { font-weight: 600; font-size: 15px; }
.lang-sub { font-size: 12px; color: var(--text-3); font-family: 'Space Grotesk', monospace; }
.lang-tick { margin-inline-start: auto; color: var(--accent-700); }
[data-theme="dark"] .lang-tick { color: var(--accent); }

.theme-toggle {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1px solid var(--border-2); background: var(--surface);
  color: var(--text-2); display: grid; place-items: center;
  transition: color .2s, border-color .2s, transform .3s, background-color .2s;
}
.theme-toggle:hover { color: var(--accent-700); border-color: var(--accent); }
[data-theme="dark"] .theme-toggle:hover { color: var(--accent); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .moon, .theme-toggle .sun { display: flex; align-items: center; justify-content: center; line-height: 0; }
.theme-toggle .moon .ic, .theme-toggle .sun .ic { display: flex; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: flex; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.nav-cta { display: inline-flex; }
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: var(--surface); color: var(--text); place-items: center; transition: border-color .2s, color .2s; }
.burger:hover { border-color: var(--accent); }

/* ---------- mobile menu (off-canvas dropdown) ---------- */
.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  padding: 14px clamp(20px, 5vw, 40px) 26px;
  display: grid; gap: 18px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .26s ease, transform .26s cubic-bezier(.2,.8,.2,1);
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
.mm-links { display: grid; gap: 2px; }
.mm-links a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 18px; font-weight: 600; color: var(--text);
  padding: 15px 6px; border-bottom: 1px solid var(--border);
}
.mm-links a svg { color: var(--text-3); }
.mm-links a:active { color: var(--accent-700); }
.mm-langs { display: flex; gap: 8px; }
.mm-lang {
  flex: 1; padding: 12px 8px; border-radius: var(--r-sm);
  border: 1px solid var(--border-2); background: var(--surface);
  color: var(--text-2); font-family: inherit; font-weight: 600; font-size: 15px;
  transition: all .18s;
}
.mm-lang.active { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }
.mm-scrim {
  position: fixed; inset: 0; top: 0; z-index: -1; background: hsl(230 40% 8% / 0.4);
  opacity: 0; pointer-events: none; transition: opacity .26s ease;
}
.mm-scrim.open { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .desktop-only { display: none; }
  .burger { display: grid; }
  .nav-inner { height: 64px; gap: 14px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand-mark svg { width: 18px; height: 18px; }
}
@media (min-width: 901px) { .mobile-menu, .mm-scrim { display: none; } }
@media (max-width: 380px) {
  .brand small { display: none; }
  .nav-actions { gap: 9px; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding-top: 150px; padding-bottom: var(--section-y); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; z-index: 0;
  top: -180px; right: -120px; width: 760px; height: 760px;
  background: radial-gradient(circle at center, var(--hero-glow), transparent 62%);
  opacity: .8; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 72% 26%, #000 0%, transparent 60%);
  mask-image: radial-gradient(circle at 72% 26%, #000 0%, transparent 60%);
  opacity: .55;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(40px, 6vw, 70px); font-weight: 800; }
.hero-copy h1 .hl { color: var(--accent-700); }
[data-theme="dark"] .hero-copy h1 .hl { color: var(--accent); }
.hero-copy .lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--text-2); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.hero-trust .stars { display: flex; gap: 3px; color: #f5a623; }
.hero-trust .stars svg { width: 17px; height: 17px; fill: currentColor; }
.hero-trust .t-txt { font-size: 14.5px; color: var(--text-2); }
.hero-trust .t-txt b { color: var(--text); }
.hero-trust .divider { width: 1px; height: 30px; background: var(--border-2); }

/* hero visual */
.hero-visual { position: relative; }
.hero-photo { aspect-ratio: 4/5; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 15px 17px;
  display: flex; align-items: center; gap: 13px;
}
.float-card .fc-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .fc-ico svg { width: 21px; height: 21px; }
.float-card .fc-t { font-family: var(--font-display); font-weight: 700; font-size: 16px; white-space: nowrap; }
.float-card .fc-s { font-size: 12.5px; color: var(--text-3); margin-top: 1px; white-space: nowrap; }
.fc-1 { top: 26px; left: -34px; animation: float1 6s ease-in-out infinite; }
.fc-2 { bottom: 30px; right: -28px; animation: float2 7s ease-in-out infinite; }
.fc-ico.green { background: oklch(0.94 0.06 150); color: oklch(0.5 0.13 150); }
[data-theme="dark"] .fc-ico.green { background: oklch(0.34 0.07 150); color: oklch(0.82 0.13 150); }
.fc-ico.blue { background: var(--accent-soft); color: var(--accent-700); }
[data-theme="dark"] .fc-ico.blue { color: oklch(0.85 0.1 var(--accent-h)); }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }
@media (prefers-reduced-motion: reduce){ .fc-1,.fc-2{animation:none} }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
}
@media (max-width: 900px) { .hero { padding-top: 104px; } }

/* =====================================================================
   STATS band
   ===================================================================== */
.stats { padding-block: 0; margin-top: 8px; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding: 38px 40px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-md);
}
.stat { text-align: center; position: relative; }
.stat + .stat::before { content:''; position: absolute; left: -9px; top: 12%; height: 76%; width: 1px; background: var(--border); }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.03em; color: var(--text); line-height: 1; }
.stat .num .suf { color: var(--accent-700); }
[data-theme="dark"] .stat .num .suf { color: var(--accent); }
.stat .lbl { margin-top: 9px; font-size: 14px; color: var(--text-2); font-weight: 500; }
@media (max-width: 760px){ .stats-inner{ grid-template-columns: repeat(2,1fr); gap: 28px 18px; } .stat:nth-child(3)::before, .stat + .stat::before{ display:none } }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services { padding-block: var(--section-y); }
.services .section-head { margin-inline: auto; text-align: center; }
.services .section-head .eyebrow { margin-inline: auto; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 34px auto 44px; }
.tab {
  font-size: 14.5px; font-weight: 600; color: var(--text-2);
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border);
  transition: all .2s ease;
}
.tab:hover { border-color: var(--accent); color: var(--accent-700); }
[data-theme="dark"] .tab:hover { color: var(--accent); }
.tab.active { background: var(--accent); color: var(--accent-on); border-color: var(--accent); box-shadow: 0 8px 18px -8px var(--accent); }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 920px){ .svc-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 600px){ .svc-grid{ grid-template-columns: 1fr;} }
.svc-card {
  position: relative; padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
}
.svc-card::after {
  content:''; position:absolute; inset:0; border-radius: inherit; padding:1px;
  background: linear-gradient(160deg, var(--accent), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card:hover::after { opacity: .9; }
.svc-ico {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-700); margin-bottom: 18px;
  transition: background-color .25s, color .25s;
}
[data-theme="dark"] .svc-ico { color: oklch(0.85 0.1 var(--accent-h)); }
.svc-card:hover .svc-ico { background: var(--accent); color: var(--accent-on); }
.svc-ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 20px; }
.svc-card p { margin-top: 9px; font-size: 14.8px; line-height: 1.55; color: var(--text-2); }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.svc-tags span { font-size: 12px; font-weight: 500; color: var(--text-3); padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); }
.svc-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent-700); }
[data-theme="dark"] .svc-link { color: var(--accent); }
.svc-link svg { width: 16px; height: 16px; transition: transform .2s; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }
.svc-card.emergency { background: linear-gradient(165deg, var(--accent-700), var(--accent-600)); border: none; color: #fff; }
.svc-card.emergency h3, .svc-card.emergency p { color: #fff; }
.svc-card.emergency p { color: #ffffffcf; }
.svc-card.emergency .svc-ico { background: #ffffff24; color: #fff; }
.svc-card.emergency .svc-link { color: #fff; }
.svc-card.emergency .svc-tags span { background: #ffffff1f; border-color: #ffffff33; color: #ffffffe0; }

/* =====================================================================
   WHY US
   ===================================================================== */
.why { padding-block: var(--section-y); background: var(--bg-2); border-block: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 940px){ .why-grid{ grid-template-columns: 1fr; gap: 40px;} }
.why-visual { position: relative; }
.why-photo { aspect-ratio: 5/4; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-badge {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 18px 22px; display: flex; align-items: center; gap: 14px;
}
.why-badge .wb-num { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--accent-700); line-height: 1; }
[data-theme="dark"] .why-badge .wb-num { color: var(--accent); }
.why-badge .wb-t { font-size: 13.5px; color: var(--text-2); line-height: 1.3; }
@media (max-width:940px){ .why-badge{ left: 12px; } }
.feat-list { display: grid; gap: 14px; margin-top: 30px; }
.feat {
  display: flex; gap: 16px; padding: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat:hover { transform: translateX(5px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.feat-ico { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-700); }
[data-theme="dark"] .feat-ico { color: oklch(0.85 0.1 var(--accent-h)); }
.feat-ico svg { width: 22px; height: 22px; }
.feat h4 { font-size: 17px; font-family: var(--font-body); font-weight: 700; }
.feat p { margin-top: 4px; font-size: 14.3px; color: var(--text-2); line-height: 1.5; }

/* =====================================================================
   PRICING
   ===================================================================== */
.pricing { padding-block: var(--section-y); }
.pricing .section-head { margin-inline: auto; text-align: center; }
.pricing .section-head .eyebrow { margin-inline: auto; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; align-items: start; }
@media (max-width: 920px){ .plans{ grid-template-columns: 1fr; max-width: 460px; margin-inline: auto;} }
.plan {
  position: relative; padding: 32px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.plan.featured:hover { transform: scale(1.03) translateY(-5px); }
@media (max-width:920px){ .plan.featured{ transform:none;} .plan.featured:hover{transform:translateY(-5px);} }
.plan-badge { position: absolute; top: 20px; right: 20px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-on); background: var(--accent); padding: 5px 12px; border-radius: var(--r-pill); }
.plan h3 { font-size: 21px; font-family: var(--font-body); font-weight: 700; }
.plan .p-sub { margin-top: 6px; font-size: 14px; color: var(--text-3); }
.plan .price { margin-top: 22px; display: flex; align-items: baseline; gap: 4px; }
.plan .price .cur { font-size: 20px; font-weight: 600; color: var(--text-2); }
.plan .price .amt { font-family: var(--font-display); font-weight: 800; font-size: 46px; letter-spacing: -.03em; }
.plan .price .per { font-size: 14px; color: var(--text-3); }
.plan ul { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 13px; }
.plan li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text-2); line-height: 1.4; }
.plan li svg { width: 19px; height: 19px; flex: none; color: var(--accent-700); margin-top: 1px; }
[data-theme="dark"] .plan li svg { color: var(--accent); }
.plan li.off { color: var(--text-3); text-decoration: line-through; }
.plan li.off svg { color: var(--text-3); opacity: .5; }
.pricing-note { text-align: center; margin-top: 30px; font-size: 14px; color: var(--text-3); }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testi { padding-block: var(--section-y); background: var(--bg-2); border-block: 1px solid var(--border); overflow: hidden; }
.testi-grid { columns: 3; column-gap: 22px; margin-top: 44px; }
@media (max-width: 900px){ .testi-grid{ columns: 2;} }
@media (max-width: 600px){ .testi-grid{ columns: 1;} }
.quote {
  break-inside: avoid; margin-bottom: 22px; padding: 26px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote .stars { display: flex; gap: 2px; color: #f5a623; margin-bottom: 14px; }
.quote .stars svg { width: 16px; height: 16px; fill: currentColor; }
.quote p { font-size: 15.3px; line-height: 1.6; color: var(--text); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--accent-on); background: var(--accent); }
.quote .who b { font-size: 14.5px; font-weight: 700; display: block; }
.quote .who span { font-size: 13px; color: var(--text-3); }

/* =====================================================================
   COVERAGE
   ===================================================================== */
.coverage { padding-block: var(--section-y); }
.cov-head { max-width: 640px; margin-inline: auto; text-align: center; }
.cov-head .eyebrow { margin-inline: auto; }
.cov-map {
  position: relative; margin-top: 38px; aspect-ratio: 21/9; max-height: 520px;
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--surface-2);
}
.cov-map iframe { display: block; }
[data-theme="dark"] .cov-map iframe { filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.92); }
.cov-map-tag {
  position: absolute; top: 16px; inset-inline-start: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: 8px 14px; font-size: 13.5px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-sm); pointer-events: none;
}
.cov-map-tag svg { color: var(--accent-700); }
[data-theme="dark"] .cov-map-tag svg { color: var(--accent); }
.area-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.area-chips span { font-size: 14px; font-weight: 500; color: var(--text); padding: 9px 16px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, transform .2s; }
.area-chips span:hover { border-color: var(--accent); transform: translateY(-2px); }
.area-chips span svg { width: 15px; height: 15px; color: var(--accent-700); }
[data-theme="dark"] .area-chips span svg { color: var(--accent); }
.cov-cta { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 700px){ .cov-map { aspect-ratio: 4/3; } }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { padding-block: var(--section-y); background: var(--bg-2); border-block: 1px solid var(--border); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
@media (max-width: 880px){ .faq-grid{ grid-template-columns: 1fr; gap: 30px;} }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--accent); box-shadow: var(--shadow-md); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 22px; display: flex; align-items: center; gap: 16px; color: var(--text); font-size: 16.5px; font-weight: 600; font-family: var(--font-body); }
.faq-q .q-ico { margin-inline-start: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; transition: transform .3s, background-color .2s, color .2s; color: var(--text-2); }
.faq-q .q-ico svg { width: 17px; height: 17px; }
.faq-item.open .q-ico { background: var(--accent); color: var(--accent-on); transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s cubic-bezier(.3,.7,.2,1); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* =====================================================================
   BOOKING
   ===================================================================== */
.booking { padding-block: var(--section-y); position: relative; overflow: hidden; }
.book-card {
  display: grid; grid-template-columns: .92fr 1.08fr;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden;
}
@media (max-width: 860px){ .book-card{ grid-template-columns: 1fr;} }
.book-aside { padding: 44px; background: linear-gradient(165deg, var(--accent-700), var(--accent-600)); color: #fff; position: relative; }
.book-aside::before { content:''; position:absolute; inset:0; opacity:.5; background-image: radial-gradient(circle at 80% 10%, #ffffff30, transparent 45%); }
.book-aside > * { position: relative; }
.book-aside .eyebrow { background: #ffffff26; color: #fff; }
.book-aside h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin-top: 16px; }
.book-aside .b-lead { color: #ffffffd6; margin-top: 14px; font-size: 16px; line-height: 1.6; }
.book-points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.book-points li { display: flex; gap: 13px; align-items: center; font-size: 15px; color: #fff; }
.book-points li .bp-ico { width: 40px; height: 40px; border-radius: 12px; background: #ffffff22; display: grid; place-items: center; flex: none; }
.book-points li .bp-ico svg { width: 20px; height: 20px; }
.book-points li b { display: block; font-size: 15.5px; }
.book-points li span { font-size: 13px; color: #ffffffc0; }

.book-form { padding: 44px; }
.book-form h3 { font-size: 23px; font-family: var(--font-body); font-weight: 700; }
.book-form .bf-sub { font-size: 14.5px; color: var(--text-2); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.field label .req { color: oklch(0.6 0.2 25); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--text);
  padding: 13px 15px; border-radius: var(--r-sm);
  border: 1.5px solid var(--border-2); background: var(--surface-2);
  transition: border-color .18s, box-shadow .18s, background-color .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
  background: var(--surface);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: oklch(0.62 0.2 25); }
.field .err { font-size: 12.5px; color: oklch(0.6 0.2 25); display: none; }
.field.invalid .err { display: block; }
.book-submit { margin-top: 24px; }
.form-success {
  text-align: center; padding: 30px 10px;
}
.form-success .fs-ico { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: oklch(0.94 0.06 150); color: oklch(0.5 0.14 150); }
[data-theme="dark"] .form-success .fs-ico { background: oklch(0.34 0.07 150); color: oklch(0.84 0.14 150); }
.form-success .fs-ico svg { width: 36px; height: 36px; }
.form-success h3 { font-size: 24px; }
.form-success p { color: var(--text-2); margin-top: 10px; font-size: 15px; line-height: 1.6; }
.form-success .fs-hint { font-size: 13px; color: var(--text-3); margin-top: 12px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-top: 70px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px){ .foot-grid{ grid-template-columns: 1fr 1fr; gap: 36px;} }
@media (max-width: 480px){ .foot-grid{ grid-template-columns: 1fr;} }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { font-size: 14.5px; color: var(--text-2); line-height: 1.6; max-width: 290px; }
.foot-phone { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text); transition: color .2s; }
.foot-phone svg { color: var(--accent-700); }
[data-theme="dark"] .foot-phone svg { color: var(--accent); }
.foot-phone:hover { color: var(--accent-700); }
[data-theme="dark"] .foot-phone:hover { color: var(--accent); }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; color: var(--text-2); transition: all .2s; }
.foot-social a:hover { color: var(--accent-on); background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.foot-social a svg { width: 18px; height: 18px; }
.foot-col h5 { font-size: 13px; font-family: var(--font-body); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a { font-size: 14.5px; color: var(--text-2); transition: color .2s; }
.foot-col a:hover { color: var(--accent-700); }
[data-theme="dark"] .foot-col a:hover { color: var(--accent); }
.foot-bottom { margin-top: 56px; border-top: 1px solid var(--border); padding: 26px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.foot-bottom p { font-size: 13.5px; color: var(--text-3); }
.foot-bottom .fb-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.built-by { font-size: 13.5px; color: var(--text-3); }
.built-by a { color: var(--accent-700); font-weight: 600; transition: color .2s; }
[data-theme="dark"] .built-by a { color: var(--accent); }
.built-by a:hover { text-decoration: underline; }

/* =====================================================================
   FLOATING CTAs
   ===================================================================== */
.float-ctas { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; flex-direction: column; gap: 12px; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); border: none; color: #fff; position: relative;
  transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab.wa { background: #25D366; }
.fab.call { background: var(--accent); }
.fab .pulse { position: absolute; inset: 0; border-radius: 50%; animation: fabpulse 2.2s ease-out infinite; }
.fab.wa .pulse { box-shadow: 0 0 0 0 #25d36680; }
.fab.call .pulse { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent); }
@keyframes fabpulse { 0%{ box-shadow: 0 0 0 0 currentColor; } 70%,100%{ box-shadow: 0 0 0 16px transparent; } }
.fab .tip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600;
  padding: 7px 12px; border-radius: var(--r-sm); white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; box-shadow: var(--shadow-md);
}
.fab:hover .tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (prefers-reduced-motion: reduce){ .fab .pulse{ animation:none;} }
@media (max-width: 600px){ .float-ctas{ right: 16px; bottom: 16px;} .fab{ width:52px;height:52px;} }

/* =====================================================================
   NON-LATIN SCRIPTS + RTL
   ===================================================================== */
/* Hindi (Devanagari) & Urdu (Arabic) need looser line-height + no negative tracking */
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] h4 { line-height: 1.3; letter-spacing: 0; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3, html[lang="ur"] h4 { line-height: 1.5; letter-spacing: 0; font-weight: 700; }
html[lang="hi"] .hero-copy h1 { line-height: 1.22; }
html[lang="ur"] .hero-copy h1 { line-height: 1.4; }
html[lang="hi"] body { line-height: 1.55; }
html[lang="ur"] body { line-height: 1.85; }
html[lang="ur"] .eyebrow, html[lang="hi"] .eyebrow { letter-spacing: 0; text-transform: none; }
html[lang="ur"] .foot-col h5, html[lang="hi"] .foot-col h5,
html[lang="ur"] .lbl, html[lang="ur"] .stat .lbl { letter-spacing: 0; }
html[lang="ur"] .foot-col h5, html[lang="hi"] .foot-col h5 { text-transform: none; }
/* numbers stay LTR within RTL text */
.stat .num, .plan .price, .lang-sub { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .stat .num, [dir="rtl"] .plan .price { justify-content: center; }

/* RTL positional fixes */
[dir="rtl"] .plan-badge { right: auto; left: 20px; }
[dir="rtl"] .float-ctas { right: auto; left: 22px; }
[dir="rtl"] .fab .tip { right: auto; left: 68px; transform: translateY(-50%) translateX(-8px); }
[dir="rtl"] .fab:hover .tip { transform: translateY(-50%) translateX(0); }
[dir="rtl"] .svc-link .svc-arrow { transform: scaleX(-1); }
[dir="rtl"] .svc-card:hover .svc-link .svc-arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .feat:hover { transform: translateX(-5px); }
@media (max-width: 600px){ [dir="rtl"] .float-ctas{ right:auto; left:16px;} }
/* keep the Tweaks panel UI left-to-right regardless of page dir */
[dir="rtl"] .twk-panel, [dir="rtl"] .tweaks-panel { direction: ltr; }
