/* === Havercamp — Liquid Glass Design System === */

:root {
  --bg-0: #050912;
  --bg-1: #0a1424;
  --bg-2: #0d1f33;
  --ink-0: #f4f8ff;
  --ink-1: #b8c8de;
  --ink-2: #6c7e9a;
  --accent: #5eb8ff;
  --accent-warm: #8ad4ff;
  --glow-1: oklch(0.45 0.08 260);
  --glow-2: oklch(0.45 0.08 260);
  --glow-3: oklch(0.45 0.08 260);
  --glow-4: oklch(0.45 0.08 260);
  --glow-5: oklch(0.45 0.08 260);

  --glass-tint: rgba(255, 255, 255, 0.035);
  --glass-tint-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-bright: rgba(255, 255, 255, 0.22);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 -1px 0 rgba(255, 255, 255, 0.04) inset, 0 30px 80px -20px rgba(0, 0, 0, 0.55), 0 8px 24px -8px rgba(0, 0, 0, 0.35);

  --blur: 32px;

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --font-ar: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-en: 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

[data-theme="light"] {
  --bg-0: #eef3fb;
  --bg-1: #e3ebf6;
  --bg-2: #d6e1f0;
  --ink-0: #0a1424;
  --ink-1: #2d3e58;
  --ink-2: #6c7e9a;
  --glass-tint: rgba(255, 255, 255, 0.30);
  --glass-tint-strong: rgba(255, 255, 255, 0.50);
  --glass-border: rgba(13, 31, 51, 0.06);
  --glass-border-bright: rgba(13, 31, 51, 0.14);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 -1px 0 rgba(13, 31, 51, 0.04) inset, 0 30px 80px -20px rgba(13, 31, 51, 0.18), 0 8px 24px -8px rgba(13, 31, 51, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: var(--font-ar);
  background: var(--bg-0);
  color: var(--ink-0);
  direction: rtl;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* === Monochrome animated background — grid + drifting orbs + sweep === */
.bg-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
/* Base gradient — pure monochrome, faster pan */
.bg-stage::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(255,255,255,0.05), transparent 60%),
    linear-gradient(135deg, #050505 0%, #0e0e0e 40%, #0a0a0a 60%, #050505 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%;
  animation: bgShift 16s ease-in-out infinite;
}
[data-theme="light"] .bg-stage::before {
  background:
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(0,0,0,0.06), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(0,0,0,0.04), transparent 60%),
    linear-gradient(135deg, #fafafa 0%, #f0f0f0 40%, #f5f5f5 60%, #fafafa 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%;
}

/* Animated grid overlay — removed, replaced by colorful blobs in HTML */
.bg-stage > .sweep { display: none; }

.orb { display: none; }

@keyframes drift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  25%     { transform: translate(-160px, 110px) scale(1.18); }
  50%     { transform: translate(-80px, 240px) scale(0.92); }
  75%     { transform: translate(120px, 160px) scale(1.10); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  25%     { transform: translate(180px, -120px) scale(0.9); }
  50%     { transform: translate(280px, 80px) scale(1.15); }
  75%     { transform: translate(100px, 200px) scale(1.0); }
}
@keyframes drift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  25%     { transform: translate(-140px, -160px) scale(1.12); }
  50%     { transform: translate(-220px, -60px) scale(0.92); }
  75%     { transform: translate(-80px, 110px) scale(1.08); }
}
@keyframes drift4 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-200px, -260px) scale(1.12); }
  66%     { transform: translate(160px, -160px) scale(0.92); }
}
@keyframes bgShift {
  0%,100% { background-position: 0% 0%, 100% 100%, 0% 0%; }
  50%     { background-position: 100% 50%, 0% 50%, 100% 100%; }
}
@keyframes gridPan {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 80px 80px, 80px 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .bg-stage::before, .bg-stage > .sweep { animation: none !important; }
}

/* === Subtle noise/grain to enrich the glass === */
.bg-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.04;
  pointer-events: none;
}

/* === The Liquid Glass primitive — Apple-style refraction === */
.glass {
  position: relative;
  background: var(--glass-tint);
  backdrop-filter: blur(var(--blur)) saturate(220%) brightness(1.05);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(220%) brightness(1.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow);
  isolation: isolate;
}
/* Refractive edge highlight — bright top, faint bottom (mimics light bending through glass) */
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(160deg,
    rgba(255,255,255,0.7) 0%,
    rgba(255,255,255,0.15) 22%,
    rgba(255,255,255,0) 45%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.08) 80%,
    rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
/* Specular highlight — concentrated at the top corner like a real glass curve */
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(255,255,255,0.22), transparent 60%),
    radial-gradient(ellipse 80% 30% at 50% 100%, rgba(255,255,255,0.06), transparent 70%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}
[data-theme="light"] .glass::after {
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(ellipse 80% 30% at 50% 100%, rgba(255,255,255,0.15), transparent 70%);
  mix-blend-mode: normal;
}
.glass > * { position: relative; z-index: 3; }

.glass-strong { --glass-tint: var(--glass-tint-strong); }

/* === Layout === */
.shell {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* === Top nav === */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 20px;
}
.shell { padding-top: 80px; }
.nav {
  margin: 0 auto;
  max-width: 1280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 22px;
  border-radius: var(--r-pill);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-brand .brand-mark {
  height: 28px;
  width: auto;
  display: block;
}
[data-theme="dark"] .nav-brand .brand-mark {
  filter: invert(1) brightness(1.4) hue-rotate(180deg);
}
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-1);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s;
}
.nav-links a:hover { color: var(--ink-0); background: var(--glass-tint); }
.nav-cta {
  font-family: var(--font-ar);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--ink-0);
  color: var(--bg-0);
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.nav-cta:hover { transform: scale(1.03); }

/* === Hero === */
.hero {
  padding: 60px 0 100px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--glass-tint);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--ink-1);
  margin-bottom: 28px;
  white-space: nowrap;
  max-width: 100%;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.hero h1 {
  font-size: clamp(26px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-top {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}
.hero-logo-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hero-logo-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(94, 184, 255, 0.25));
  animation: heroLogoFloat 6s ease-in-out infinite;
}
[data-theme="light"] .hero-logo-img {
  filter: drop-shadow(0 20px 50px rgba(0, 52, 92, 0.18));
}
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 980px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-logo-side { order: -1; padding: 0; }
  .hero-logo-img { max-width: 280px; }
}
.hero h1 .em {
  color: #00345C;
}
.hero p.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-1);
  max-width: 560px;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.hero-credentials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  max-width: 640px;
}
.cred-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--glass-tint);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  font-size: 15px;
  color: var(--ink-1);
  line-height: 1.4;
}
.cred-row b { color: var(--ink-0); font-weight: 600; }
.cred-mark {
  color: var(--accent);
  font-size: 10px;
  flex-shrink: 0;
}
.hero-tagline {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  color: var(--ink-0);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.hero-tagline .dots {
  color: var(--accent);
  font-weight: 700;
  margin: 0 6px;
  letter-spacing: 0.1em;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.btn {
  font-family: var(--font-ar);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink-0);
  color: var(--bg-0);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(94,184,255,0.3); }
.btn-glass {
  background: var(--glass-tint);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  color: var(--ink-0);
  border: 1px solid var(--glass-border-bright);
}
.btn-glass:hover { background: var(--glass-tint-strong); }

/* hero showcase = cinematic stage with floating glass badges */
.hero-showcase {
  margin-top: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-stage {
  position: relative;
  height: 520px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(94,184,255,0.15), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(138,212,255,0.12), transparent 60%),
    linear-gradient(135deg, rgba(13,31,51,0.6), rgba(10,20,36,0.4));
  border: 1px solid var(--glass-border);
  isolation: isolate;
}
[data-theme="light"] .hero-stage {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(94,184,255,0.25), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(138,212,255,0.20), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.5), rgba(214,225,240,0.3));
}
/* subtle perspective grid on the floor */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, transparent 0%, transparent 60%,
      var(--glass-border) 60%, var(--glass-border) 60.1%, transparent 60.1%),
    repeating-linear-gradient(90deg,
      transparent 0 60px,
      var(--glass-border) 60px, var(--glass-border) 60.5px);
  mask: linear-gradient(180deg, transparent 55%, #000 70%, transparent 95%);
  -webkit-mask: linear-gradient(180deg, transparent 55%, #000 70%, transparent 95%);
  opacity: 0.4;
  pointer-events: none;
}
.hero-car-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
}
.hero-car-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.ph-frame {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 21/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--ink-1);
  border-style: solid;
  border-width: 0;
  opacity: 0.6;
}
.ph-corner.tl { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.ph-corner.tr { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.ph-corner.bl { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.ph-corner.br { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.ph-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ph-text .ph-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-2);
}
.ph-text .ph-ar {
  font-size: 14px;
  color: var(--ink-1);
}

/* Floating glass badges — they sit ON TOP of the stage */
.float-badge {
  position: absolute;
  padding: 14px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  --glass-tint: var(--glass-tint-strong);
  animation: floatY 6s ease-in-out infinite;
}
.float-badge .fb-label {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.float-badge .fb-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-0);
  margin-top: 2px;
}
.float-badge .fb-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
.fb-1 { top: 32px; right: 32px; animation-delay: 0s; }
.fb-2 { bottom: 80px; left: 32px; animation-delay: -2s; }
.fb-3 { top: 50%; left: 32px; transform: translateY(-50%); animation-delay: -4s; flex-direction: column; align-items: flex-start; gap: 4px; }
.fb-rating { display: flex; align-items: center; gap: 8px; }
.fb-rating-num { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.fb-stars { display: flex; gap: 1px; color: var(--accent); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.fb-3 { animation: floatY3 6s ease-in-out infinite; animation-delay: -4s; }
@keyframes floatY3 {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 6px)); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* bottom strip — process flow */
.hero-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 22px 28px;
  border-radius: var(--r-md);
}
.strip-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  justify-content: center;
}
.strip-num {
  font-family: var(--font-en);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #00345c;
  font-weight: 700;
}
.strip-txt { font-size: 14px; font-weight: 500; color: var(--ink-1); }
.strip-divider { width: 1px; height: 36px; background: var(--glass-border); }

/* === Section heading === */
.section { padding: 90px 0; position: relative; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head .tag {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head .tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 720px;
  text-wrap: balance;
}
.section-head .desc {
  font-size: 16px;
  color: var(--ink-1);
  max-width: 360px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* === Services === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
.service-card {
  padding: 0;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
  cursor: pointer;
}
.service-card:hover { transform: translateY(-6px); }
.service-card .img-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(45deg, rgba(94,184,255,0.06) 0 14px, rgba(94,184,255,0.02) 14px 28px),
    rgba(94,184,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}
.service-card .img-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4));
  pointer-events: none;
}
[data-theme="light"] .service-card .img-slot::after {
  background: linear-gradient(180deg, transparent 50%, rgba(255,255,255,0.5));
}
.service-card .img-slot .ph-tag {
  position: relative;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-2);
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--glass-tint);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px dashed var(--glass-border-bright);
}
.service-card .card-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  justify-content: flex-end;
}
.service-card .card-body .num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-2);
}
.service-card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-top: 4px;
}
.service-card .card-body p {
  font-size: 14px;
  color: var(--ink-1);
  line-height: 1.55;
  text-wrap: pretty;
}
a.service-card { text-decoration: none; color: inherit; }
.service-card .img-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 80%
  );
  transform: translateX(150%);
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
  pointer-events: none;
}
.service-card:hover .img-slot::before {
  transform: translateX(-150%);
}
.service-card .img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.service-card:hover .img-slot img {
  transform: scale(1.08) translateY(-6px);
}

/* === Gallery (before/after) === */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s;
}
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:hover { transform: scale(1.01); }
.gallery-placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(94,184,255,0.06) 0 14px, rgba(94,184,255,0.02) 14px 28px),
    var(--bg-2);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 45%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.gallery-item .meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gallery-item .meta .kind {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-warm);
}
.gallery-item .meta .title { font-size: 18px; font-weight: 600; }
.gallery-item .meta .ph {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-2);
  margin-top: 6px;
}
.gallery-item .ba-tag {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: white;
}

/* === Testimonials === */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testi-card .stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
}
.testi-card blockquote {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-0);
  font-weight: 500;
  flex: 1;
  text-wrap: pretty;
}
.testi-card .who {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}
.testi-card .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg-0);
  font-size: 16px;
}
.testi-card .who-info .name { font-weight: 600; font-size: 15px; }
.testi-card .who-info .car { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.testi-card .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* === Why Us === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(94,184,255,0.22), rgba(94,184,255,0.04));
  border: 1px solid var(--glass-border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 4px;
}
[data-theme="light"] .why-icon { color: #00345C; }
.why-card .why-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #00345C;
  line-height: 1;
  margin-bottom: 4px;
  opacity: 0.5;
}
[data-theme="dark"] .why-card .why-num { color: var(--accent); }
.why-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-0);
}
.why-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-1);
  text-wrap: pretty;
}

/* === Pricing === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.price-card.featured {
  --glass-tint: var(--glass-tint-strong);
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2), 0 0 0 1px rgba(94,184,255,0.4), 0 0 60px rgba(94,184,255,0.15);
}
.price-card .feature-pill {
  position: absolute;
  top: 18px;
  left: 32px;
  right: auto;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--bg-0);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.price-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.price-card .en-name {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 4px;
}
.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}
.price-card .price .num {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-card .price .cur { font-size: 14px; color: var(--ink-1); font-weight: 500; }
.price-card .price-from { font-size: 12px; color: var(--ink-2); margin-bottom: 4px; }
.price-card .features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.price-card .features li {
  font-size: 14px;
  color: var(--ink-1);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}
.price-card .features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}
.price-card .btn { width: 100%; justify-content: center; }

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  padding: 24px 28px;
  cursor: pointer;
  transition: background 0.3s;
}
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-0);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--glass-tint);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--accent); color: var(--bg-0); border-color: var(--accent); }
.faq-item .answer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  font-size: 15px;
  color: var(--ink-1);
  line-height: 1.7;
}

/* === Contact === */
.contact-shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}
.contact-info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-info h3 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}
.contact-info p { color: var(--ink-1); line-height: 1.6; font-size: 15px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 12px; }
.contact-list .row {
  display: flex;
  gap: 16px;
  align-items: center;
}
.contact-list .row .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--glass-tint);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-list .row .lbl { font-size: 12px; color: var(--ink-2); letter-spacing: 0.05em; }
.contact-list .row .val { font-size: 16px; font-weight: 500; margin-top: 2px; }
.contact-list .row .val.en { font-family: var(--font-en); direction: ltr; text-align: right; }

.contact-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label {
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.05em;
}
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--font-ar);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--ink-0);
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.07);
}
.contact-form textarea { resize: vertical; min-height: 96px; }
[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form select,
[data-theme="light"] .contact-form textarea {
  background: rgba(255,255,255,0.6);
  color: var(--ink-0);
}

/* === Before / After Slider === */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--glass-border);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  background:
    repeating-linear-gradient(45deg, rgba(94,184,255,.06) 0 14px, rgba(94,184,255,.02) 14px 28px),
    var(--bg-2);
}
.ba-slider:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.ba-after { z-index: 1; }

.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  z-index: 10;
  background: linear-gradient(180deg,
    rgba(255,255,255,.0) 0%,
    rgba(255,255,255,.75) 20%,
    rgba(255,255,255,.75) 80%,
    rgba(255,255,255,.0) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  pointer-events: none;
}
.ba-handle {
  pointer-events: all;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink-0);
  cursor: ew-resize;
  transition: transform .2s;
}
.ba-handle:hover,
.ba-slider:active .ba-handle { transform: scale(1.1); }

.ba-label {
  position: absolute;
  top: 16px;
  z-index: 8;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  pointer-events: none;
  transition: opacity .25s;
}
.ba-label-before { left: 16px; }
.ba-label-after  { right: 16px; }

/* === Footer === */
.footer {
  margin-top: 100px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--glass-border);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-row .copy { font-size: 13px; color: var(--ink-2); }
.footer-row .links { display: flex; gap: 20px; }
.footer-row .links a { color: var(--ink-2); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-row .links a:hover { color: var(--ink-0); }

/* === Responsive === */
@media (max-width: 980px) {
  .hero-stage { height: 380px; }
  .float-badge { padding: 10px 12px; }
  .fb-1 { top: 16px; right: 16px; }
  .fb-2 { bottom: 16px; left: 16px; }
  .fb-3 { display: none; }
  .hero-car-ph { padding: 30px; }
  .hero-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-strip .strip-divider { display: none; }
  .services-grid, .testi-grid, .pricing-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .gallery-grid .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .contact-shell { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .shell { padding: 0 16px; }
  .hero-top { margin-bottom: 24px !important; }
  .hero h1 { font-size: 26px; letter-spacing: -0.02em; }
  .hero-credentials .cred-row { width: 100% !important; max-width: 100% !important; font-size: 13px; }
  .hero-tagline { font-size: 14px; }
  .hero-stage { height: 260px; }
  .float-badge { display: none; }
  .hero-strip { grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px; }
  .strip-num { font-size: 22px; }
  .strip-txt { font-size: 12px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-grid .gallery-item { height: 220px; }
  .gallery-grid .gallery-item:nth-child(1) { grid-column: span 1; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; gap: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-row .links { flex-wrap: wrap; gap: 12px; }
  .btn { padding: 10px 18px; font-size: 13px; }
}

/* === Lightbox === */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5,9,18,.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lb-overlay.open { display: flex; }
.lb-img-wrap {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
  cursor: default;
}
.lb-img-wrap img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}
.lb-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
  z-index: 2;
}
.lb-close:hover { background: rgba(255,255,255,.26); }
.bento-item { cursor: pointer; }
