/* =========================================================
   FIXLAB - style.css
   A premium, editorial mobile phone repair website.
   No glassmorphism. No text gradients. No em dashes.
   ========================================================= */

/* ---------- 1. VARIABLES ---------- */
:root {
  --bg: #FAFAF8;
  --bg-alt: #F3F1EC;
  --ink: #1A1A2E;
  --ink-soft: #4A4A5E;
  --muted: #7A7A8C;
  --accent: #00B4D8;
  --accent-2: #0096C7;
  --amber: #F77F00;
  --amber-2: #E36D00;
  --card: #FFFFFF;
  --dark: #1A1A2E;
  --dark-2: #232342;
  --border: #E8E6E1;
  --border-strong: #D8D5CD;
  --success: #2A9D5C;
  --danger: #D64545;

  --font-head: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(26,26,46,0.04), 0 2px 6px rgba(26,26,46,0.04);
  --shadow: 0 4px 12px rgba(26,26,46,0.06), 0 12px 32px rgba(26,26,46,0.06);
  --shadow-lg: 0 12px 30px rgba(26,26,46,0.10), 0 30px 60px rgba(26,26,46,0.08);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1240px;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; margin-bottom: 0.75rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; }
.accent { color: var(--accent-2); }
code { font-family: 'Space Grotesk', monospace; background: var(--bg-alt); padding: 2px 8px; border-radius: 6px; font-size: 0.9em; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* Selection */
::selection { background: var(--accent); color: #fff; }

/* ---------- 3. LAYOUT HELPERS ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2 { margin-bottom: 16px; }
.section-lead { font-size: 1.1rem; color: var(--ink-soft); }
.section-foot { display: flex; gap: 16px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }
.eyebrow.light { color: #fff; opacity: 0.9; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(0,180,216,0.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,180,216,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(0,180,216,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,180,216,0); }
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  transition: all 0.3s var(--ease); white-space: nowrap; border: 1.5px solid transparent;
}
.btn i { font-size: 0.95em; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,150,199,0.3); }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- 5. NAVBAR ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.site-nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(26,26,46,0.05);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.logo-text { letter-spacing: -0.02em; }
.logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.logo-mark {
  position: relative; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); display: inline-flex; align-items: center; justify-content: center;
}
.logo-phone {
  width: 14px; height: 22px; border: 2px solid #fff; border-radius: 3px;
  position: relative;
}
.logo-phone::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 2px; background: #fff; border-radius: 1px;
}
.logo-wrench {
  position: absolute; right: -4px; bottom: -4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  box-shadow: inset -3px -3px 0 var(--ink);
}

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 0.93rem; font-weight: 500;
  color: var(--ink-soft); transition: all 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--bg-alt); }
.nav-links a.active { color: var(--ink); background: var(--bg-alt); }

.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink);
  transition: all 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.mobile-drawer {
  position: fixed; top: 76px; right: 0; bottom: 0; width: 320px; max-width: 90vw;
  background: var(--bg); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  z-index: 99; padding: 30px 24px; display: flex; flex-direction: column; gap: 20px;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer a { display: block; padding: 14px 16px; border-radius: 10px; font-weight: 500; color: var(--ink); }
.mobile-drawer a:hover { background: var(--bg-alt); }

/* ---------- 6. HERO (3D PHONE) ---------- */
.hero {
  min-height: 100vh; padding: 140px 0 80px;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  min-height: calc(100vh - 220px);
}
.hero-copy { position: relative; z-index: 3; }
.hero-title { margin-bottom: 24px; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-meta { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.meta-item { display: flex; flex-direction: column; }
.meta-num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.meta-lbl { font-size: 0.85rem; color: var(--muted); }
.meta-divider { width: 1px; height: 40px; background: var(--border-strong); }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  font-family: var(--font-head);
}
.scroll-cue i { animation: bob 2s infinite var(--ease); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- 7. CSS-DRAWN SMARTPHONE (3D RIG) ---------- */
.phone-stage {
  position: relative; width: 100%; aspect-ratio: 1/1; max-width: 560px; margin: 0 auto;
  perspective: 1400px;
}
.phone-rig {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-18deg);
  will-change: transform;
}

/* Each layer is a phone-sized rectangle stacked in 3D */
.phone-layer {
  position: absolute; left: 50%; top: 50%;
  width: 240px; height: 480px;
  margin-left: -120px; margin-top: -240px;
  border-radius: 36px;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

/* --- Side Frame --- */
.layer-frame {
  background: linear-gradient(145deg, #3a3a52 0%, #1a1a2e 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.08),
    inset 0 0 30px rgba(0,0,0,0.4);
  z-index: 1;
}
.frame-body { position: relative; width: 100%; height: 100%; }
.side-btn {
  position: absolute; left: -3px; width: 4px; background: #2a2a42; border-radius: 2px;
}
.btn-vol-up { top: 100px; height: 40px; }
.btn-vol-down { top: 150px; height: 40px; }
.btn-power { right: -3px; left: auto; top: 130px; height: 60px; }
.speaker-grille {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px; background: #0a0a18;
  border-radius: 2px;
  box-shadow: 10px 0 0 #0a0a18, -10px 0 0 #0a0a18, 20px 0 0 #0a0a18, -20px 0 0 #0a0a18;
}

/* --- Back Glass --- */
.layer-back {
  background: linear-gradient(160deg, #2a2a42 0%, #15152a 100%);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
  z-index: 2;
}
.back-surface { position: relative; width: 100%; height: 100%; }
.back-logo {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-head); font-weight: 700; color: rgba(255,255,255,0.12);
  font-size: 1.2rem; letter-spacing: 0.1em;
}
.regulatory-mark {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 8px; background: rgba(255,255,255,0.08); border-radius: 2px;
}

/* --- Motherboard --- */
.layer-board {
  background: #0a5c3a;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.4);
  z-index: 3;
}
.board-surface { position: relative; width: 100%; height: 100%; padding: 20px; }
.chip {
  position: absolute; background: #1a1a2e; border: 1px solid #333;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); color: #ccc; font-size: 0.7rem; font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.chip-main { top: 40px; left: 50%; transform: translateX(-50%); width: 80px; height: 80px; border-radius: 8px; }
.chip-small { width: 30px; height: 30px; border-radius: 4px; }
.chip-small:nth-of-type(2) { bottom: 80px; left: 30px; }
.chip-small:nth-of-type(3) { bottom: 80px; right: 30px; }
.trace { position: absolute; background: #d4a84a; }
.t1 { top: 140px; left: 30px; width: 60px; height: 2px; }
.t2 { top: 160px; right: 30px; width: 40px; height: 2px; }
.t3 { top: 200px; left: 60px; width: 2px; height: 80px; }
.t4 { top: 220px; right: 80px; width: 2px; height: 60px; }
.cap { position: absolute; width: 8px; height: 12px; background: #8b6f3d; border-radius: 1px; }
.c1 { top: 260px; left: 40px; }
.c2 { top: 300px; right: 50px; }
.c3 { top: 340px; left: 80px; }

/* --- Battery --- */
.layer-battery {
  background: linear-gradient(160deg, #2d2d44 0%, #1a1a2e 100%);
  border: 2px solid #3a3a52;
  z-index: 4;
}
.battery-surface { position: relative; width: 100%; height: 100%; padding: 30px 20px; }
.bat-stripe {
  position: absolute; top: 0; left: 0; right: 0; height: 30px;
  background: var(--accent);
  border-radius: 34px 34px 0 0;
}
.bat-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.bat-plus, .bat-minus {
  position: absolute; bottom: 20px; font-family: var(--font-head); font-weight: 700;
  color: rgba(255,255,255,0.5); font-size: 1.2rem;
}
.bat-plus { left: 30px; }
.bat-minus { right: 30px; }

/* --- Camera Module --- */
.layer-camera {
  width: 120px; height: 120px; margin-left: -60px; margin-top: -240px;
  left: calc(50% - 60px); top: 30px;
  background: #15152a;
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4), inset 0 0 0 2px rgba(255,255,255,0.08);
  z-index: 5;
}
.camera-surface { position: relative; width: 100%; height: 100%; padding: 14px; }
.lens {
  position: absolute; width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4a4a6e 0%, #1a1a2e 60%, #000 100%);
  box-shadow: inset 0 0 0 3px #2a2a42, 0 2px 6px rgba(0,0,0,0.5);
}
.lens .inner {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #00b4d8 0%, #003d52 80%);
  box-shadow: inset 0 0 4px rgba(0,0,0,0.6);
}
.l1 { top: 14px; left: 14px; }
.l2 { top: 14px; right: 14px; }
.l3 { bottom: 14px; left: 14px; }
.flash {
  position: absolute; bottom: 20px; right: 20px;
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff5c4 0%, #d4a84a 80%);
  box-shadow: 0 0 8px rgba(255,245,196,0.6);
}

/* --- Screen (top-most) --- */
.layer-screen {
  background: #000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), inset 0 0 0 3px #1a1a2e;
  z-index: 6;
  overflow: hidden;
}
.screen-surface {
  position: relative; width: 100%; height: 100%;
  background: linear-gradient(160deg, #1a1a3a 0%, #0a0a1a 100%);
  padding: 14px;
}
.notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 24px; background: #000; border-radius: 14px;
  z-index: 2;
}
.notch::after {
  content: ''; position: absolute; top: 50%; right: 14px; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a2a42, #000);
  box-shadow: inset 0 0 2px rgba(0,180,216,0.5);
}
.status-bar {
  position: absolute; top: 16px; left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: #fff; z-index: 1;
}
.status-bar i { font-size: 0.7rem; }
.app-grid {
  position: absolute; top: 80px; left: 20px; right: 20px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.app-grid i {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0,180,216,0.3);
}
.app-grid i:nth-child(2) { background: linear-gradient(145deg, #F77F00, #E36D00); box-shadow: 0 4px 8px rgba(247,127,0,0.3); }
.app-grid i:nth-child(3) { background: linear-gradient(145deg, #6c63ff, #4038b0); box-shadow: 0 4px 8px rgba(108,99,255,0.3); }
.app-grid i:nth-child(4) { background: linear-gradient(145deg, #2A9D5C, #1e7342); box-shadow: 0 4px 8px rgba(42,157,92,0.3); }
.app-grid i:nth-child(5) { background: linear-gradient(145deg, #e74c7a, #b0305a); box-shadow: 0 4px 8px rgba(231,76,122,0.3); }
.app-grid i:nth-child(6) { background: linear-gradient(145deg, #f4c430, #c89a18); box-shadow: 0 4px 8px rgba(244,196,48,0.3); }
.app-grid i:nth-child(7) { background: linear-gradient(145deg, #7a7a8c, #4a4a5e); box-shadow: 0 4px 8px rgba(122,122,140,0.3); }
.app-grid i:nth-child(8) { background: linear-gradient(145deg, #00b4d8, #0077a0); box-shadow: 0 4px 8px rgba(0,180,216,0.3); }
.home-indicator {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 4px; background: rgba(255,255,255,0.5); border-radius: 2px;
}

/* --- Phone labels --- */
.phone-labels { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
.p-label {
  position: absolute; opacity: 0;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  color: var(--ink); background: #fff;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  will-change: transform, opacity;
}
.p-label::before {
  content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); top: 50%; left: -16px; transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(0,180,216,0.2);
}
/* Position each label near its part */
.p-label[data-for="layer-screen"]   { top: 12%; right: -4%; }
.p-label[data-for="layer-battery"]  { top: 30%; right: -8%; }
.p-label[data-for="layer-board"]    { top: 50%; left: -10%; }
.p-label[data-for="layer-camera"]   { top: 18%; left: -12%; }
.p-label[data-for="layer-back"]     { top: 72%; right: -6%; }
.p-label[data-for="layer-frame"]    { top: 88%; left: -6%; }

/* ---------- 8. TUNNEL TRANSITION ---------- */
.tunnel {
  position: relative; height: 100vh; overflow: hidden;
  background: var(--dark);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.tunnel-inner {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  perspective: 800px;
}
.tunnel-ring {
  position: absolute; border: 2px solid rgba(0,180,216,0.2);
  border-radius: 50%;
  will-change: transform, opacity;
}
.tunnel-ring.r1 { width: 200px; height: 200px; }
.tunnel-ring.r2 { width: 400px; height: 400px; }
.tunnel-ring.r3 { width: 700px; height: 700px; }
.tunnel-copy { position: relative; z-index: 5; text-align: center; max-width: 600px; padding: 0 24px; }
.tunnel-copy h2 { color: #fff; margin-bottom: 16px; }
.tunnel-copy p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

/* ---------- 9. SERVICES ---------- */
.services { padding: 120px 0; background: var(--bg); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.svc-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--accent-2);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
}
.service-card:hover .svc-icon { background: var(--accent); color: #fff; transform: rotate(-6deg); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; margin-bottom: 20px; min-height: 72px; }
.svc-price {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  color: var(--accent-2); font-size: 1.1rem; margin-bottom: 14px;
}
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; color: var(--ink);
  transition: gap 0.3s var(--ease);
}
.svc-link:hover { gap: 14px; color: var(--accent-2); }

/* ---------- 10. STATS ---------- */
.stats {
  padding: 140px 0; background: var(--bg-alt);
  position: relative; overflow: hidden;
  perspective: 1000px;
}
.stats-depth {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  transform-style: preserve-3d;
}
.stat {
  text-align: center; will-change: transform;
}
.stat-num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--ink); letter-spacing: -0.04em; line-height: 1;
  display: inline-block;
}
.stat-suffix {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--accent-2); margin-left: 4px;
}
.stat-lbl { display: block; margin-top: 12px; font-size: 0.95rem; color: var(--muted); }

/* ---------- 11. PROCESS (HORIZONTAL SCROLL) ---------- */
.process { padding: 120px 0 0; background: var(--bg); }
.process .section-head { margin-bottom: 40px; }
.process-track-wrap {
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  padding: 80px 0;
}
.process-track {
  display: flex; gap: 40px; padding: 0 60px;
  width: max-content;
  will-change: transform;
}
.process-step {
  flex: 0 0 320px; background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 36px 30px;
  position: relative;
}
.step-num {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-head); font-weight: 700;
  color: rgba(255,255,255,0.15); font-size: 2rem;
}
.step-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 24px;
}
.process-step h3 { color: #fff; margin-bottom: 10px; }
.process-step p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin: 0; }

/* ---------- 12. TESTIMONIALS CAROUSEL ---------- */
.testimonials { padding: 120px 0; background: var(--bg); }
.carousel-stage {
  perspective: 1400px;
  height: 420px;
  position: relative;
  overflow: hidden;
}
.carousel {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
.tcard {
  position: absolute; top: 50%; left: 50%;
  width: 440px; max-width: 80vw;
  margin-left: -220px; margin-top: -170px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  will-change: transform, opacity;
}
.tcard-stars { color: var(--amber); margin-bottom: 16px; font-size: 0.95rem; }
.tcard-stars i { margin-right: 2px; }
.tcard-quote {
  font-size: 1.1rem; line-height: 1.5; color: var(--ink);
  margin-bottom: 24px; font-weight: 500;
}
.tcard-who { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 0.9rem;
}
.a1 { background: linear-gradient(135deg, #00b4d8, #0077a0); }
.a2 { background: linear-gradient(135deg, #F77F00, #E36D00); }
.a3 { background: linear-gradient(135deg, #6c63ff, #4038b0); }
.a4 { background: linear-gradient(135deg, #2A9D5C, #1e7342); }
.a5 { background: linear-gradient(135deg, #e74c7a, #b0305a); }
.tcard-who strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.tcard-who span { font-size: 0.85rem; color: var(--muted); }

/* ---------- 13. CTA / BOOK NOW ---------- */
.cta {
  padding: 140px 0;
  background: var(--dark);
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.cta-copy h2 { color: #fff; }
.cta-copy p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 32px; }

/* Book form (dark theme) */
.book-form label { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 6px; font-weight: 500; }
.book-form input, .book-form select {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-family: inherit; font-size: 0.95rem;
  transition: all 0.25s var(--ease);
}
.book-form input:focus, .book-form select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.2);
}
.book-form input::placeholder { color: rgba(255,255,255,0.3); }
.form-note { display: block; margin-top: 12px; color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* Mini phone for CTA reassembly */
.cta-phone {
  position: relative; width: 100%; aspect-ratio: 1/1; max-width: 420px; margin: 0 auto;
  perspective: 1200px;
}
.phone-rig-mini {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-20deg) scale(0.85);
}
.phone-rig-mini .phone-layer {
  width: 200px; height: 400px; margin-left: -100px; margin-top: -200px;
  border-radius: 30px;
}

/* ---------- 14. PAGE HERO (subpages) ---------- */
.page-hero {
  padding: 160px 0 80px; background: var(--bg);
  text-align: center;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero-dark {
  background: var(--dark); color: #fff;
}
.page-hero-dark h1, .page-hero-dark h2 { color: #fff; }
.page-hero-dark p { color: rgba(255,255,255,0.75); }
.page-hero-dark .lead { color: rgba(255,255,255,0.75); margin: 0 auto; }

/* ---------- 15. SERVICES DETAIL PAGE ---------- */
.services-detail { padding: 80px 0; }
.svc-detail {
  display: grid; grid-template-columns: 120px 1fr; gap: 32px;
  padding: 40px; margin-bottom: 24px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.svc-detail:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.svc-detail-icon {
  width: 100px; height: 100px; border-radius: 20px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: var(--accent-2);
}
.svc-detail-body h2 { margin-bottom: 12px; }
.svc-detail-body p { margin-bottom: 20px; }
.svc-meta {
  display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 24px;
  font-size: 0.9rem; color: var(--ink-soft);
}
.svc-meta span { display: inline-flex; align-items: center; gap: 8px; }
.svc-meta i { color: var(--accent-2); }

/* ---------- 16. FAQ ---------- */
.faq-section, .faq-page { padding: 80px 0; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-category { margin-bottom: 50px; }
.faq-category h2 {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1.3rem; margin-bottom: 20px;
}
.faq-category h2 i { color: var(--accent-2); }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; background: var(--card); overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item.open { border-color: var(--accent); }
.faq-q {
  width: 100%; padding: 20px 24px; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q i { transition: transform 0.3s var(--ease); color: var(--accent-2); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.3s var(--ease); }
.faq-item.open .faq-a { padding: 0 24px 20px; }
.faq-a p { margin: 0; color: var(--ink-soft); }

.faq-search {
  max-width: 560px; margin: 40px auto 0; position: relative;
}
.faq-search i {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  color: var(--muted);
}
.faq-search input {
  width: 100%; padding: 18px 20px 18px 50px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card);
  font-family: inherit; font-size: 1rem;
  transition: all 0.25s var(--ease);
}
.faq-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,180,216,0.15); }

/* ---------- 17. PRICING ---------- */
.guarantees { padding: 40px 0 80px; }
.guarantee-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px; text-align: center;
  transition: all 0.3s var(--ease);
}
.guarantee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.guarantee-card i {
  font-size: 2rem; color: var(--accent-2); margin-bottom: 16px;
  width: 64px; height: 64px; border-radius: 16px; background: var(--bg-alt);
  display: inline-flex; align-items: center; justify-content: center;
}
.guarantee-card h3 { margin-bottom: 8px; }
.guarantee-card p { margin: 0; font-size: 0.95rem; }

.pricing-section { padding: 40px 0 120px; }
.brand-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  list-style: none; padding: 0; margin: 0 0 40px;
}
.brand-tabs button {
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  background: var(--card); border: 1px solid var(--border); color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s var(--ease);
}
.brand-tabs button:hover { border-color: var(--accent); color: var(--ink); }
.brand-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.price-table { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.price-table-head { padding: 32px; border-bottom: 1px solid var(--border); }
.price-table-head h2 { margin-bottom: 6px; }
.price-table-head p { margin: 0; color: var(--muted); }
.price-table table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 18px 32px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table th { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--bg-alt); }
.price-table td { font-size: 0.95rem; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:hover td { background: var(--bg); }
.badge-popular {
  display: inline-block; margin-left: 10px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--amber); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.tbl-book {
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 0.85rem; font-weight: 600;
  transition: all 0.25s var(--ease);
}
.tbl-book:hover { background: var(--accent-2); }

/* ---------- 18. ABOUT ---------- */
.about-story { padding: 80px 0; }
.workshop-illus {
  background: var(--bg-alt); border-radius: var(--radius-xl);
  aspect-ratio: 1/1; max-width: 480px; margin: 0 auto;
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.workshop-bench { position: absolute; inset: 0; }
.bench-top {
  position: absolute; bottom: 30%; left: 10%; right: 10%; height: 14px;
  background: #8b6f3d; border-radius: 4px;
  box-shadow: 0 4px 0 #6b5429;
}
.bench-leg { position: absolute; bottom: 10%; width: 10px; height: 20%; background: #6b5429; border-radius: 2px; }
.bench-leg.l1 { left: 18%; }
.bench-leg.l2 { right: 18%; }
.bench-phone {
  position: absolute; bottom: calc(30% + 14px); left: 50%; transform: translateX(-50%);
  width: 50px; height: 90px; border-radius: 8px;
  background: #1a1a2e; border: 2px solid #3a3a52;
}
.bench-phone::after {
  content: ''; position: absolute; top: 8px; left: 4px; right: 4px; bottom: 8px;
  background: linear-gradient(160deg, #1a1a3a, #0a0a1a); border-radius: 4px;
}
.bench-screwdriver {
  position: absolute; bottom: calc(30% + 14px); right: 22%;
  width: 8px; height: 70px; background: var(--amber);
  border-radius: 4px; transform: rotate(20deg);
}
.bench-screwdriver::before {
  content: ''; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 14px; background: #888;
}
.bench-lamp {
  position: absolute; top: 15%; right: 15%;
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle, #fff5c4 0%, transparent 70%);
}

.why-us { padding: 100px 0; background: var(--bg-alt); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
.why-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: all 0.3s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.why-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { margin: 0; font-size: 0.95rem; }

.team { padding: 100px 0; }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
}
.team-card {
  text-align: center; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 24px; transition: all 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.avatar-lg {
  width: 90px; height: 90px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.6rem;
  margin-bottom: 16px;
}
.team-card h3 { margin-bottom: 4px; }
.role { display: block; color: var(--accent-2); font-weight: 600; font-size: 0.85rem; margin-bottom: 12px; letter-spacing: 0.03em; }
.team-card p { margin: 0; font-size: 0.9rem; }

.certs { padding: 100px 0; background: var(--bg-alt); }
.cert-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
}
.cert-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px; text-align: center;
}
.cert-card i { font-size: 2.2rem; color: var(--accent-2); margin-bottom: 14px; }
.cert-card h4 { margin-bottom: 4px; font-size: 1rem; }
.cert-card p { margin: 0; font-size: 0.85rem; color: var(--muted); }

.timeline-section { padding: 100px 0; }
.timeline {
  list-style: none; padding: 0; margin: 0;
  position: relative; max-width: 720px; margin: 0 auto;
}
.timeline::before {
  content: ''; position: absolute; left: 80px; top: 0; bottom: 0; width: 2px;
  background: var(--border-strong);
}
.timeline li {
  position: relative; padding: 0 0 40px 140px;
}
.timeline li::before {
  content: ''; position: absolute; left: 74px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.tl-year {
  position: absolute; left: 0; top: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  color: var(--accent-2);
}
.timeline li h4 { margin-bottom: 6px; }
.timeline li p { margin: 0; font-size: 0.95rem; }

/* ---------- 19. CONTACT ---------- */
.emergency-banner { padding: 0 0 60px; }
.emergency-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #fff; border-radius: var(--radius-lg); padding: 28px 32px;
}
.emergency-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.emergency-inner h3 { color: #fff; margin-bottom: 4px; }
.emergency-inner p { color: rgba(255,255,255,0.9); margin: 0; flex: 1; min-width: 200px; }
.emergency-inner .btn-amber { background: #fff; color: var(--amber-2); }
.emergency-inner .btn-amber:hover { background: var(--ink); color: #fff; }

.contact-section { padding: 40px 0 120px; }
.contact-form h2 { margin-bottom: 24px; }
.contact-form label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.req { color: var(--danger); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card);
  font-family: inherit; font-size: 0.95rem; color: var(--ink);
  transition: all 0.25s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,180,216,0.15);
}
.field-error { display: none; color: var(--danger); font-size: 0.85rem; margin-top: 4px; }
.contact-form .invalid input, .contact-form .invalid select, .contact-form .invalid textarea { border-color: var(--danger); }
.contact-form .invalid .field-error { display: block; }

.upload-zone {
  border: 2px dashed var(--border-strong); border-radius: var(--radius);
  padding: 30px; text-align: center; cursor: pointer;
  transition: all 0.25s var(--ease);
  position: relative;
}
.upload-zone:hover { border-color: var(--accent); background: var(--bg-alt); }
.upload-zone i { font-size: 1.8rem; color: var(--accent-2); margin-bottom: 8px; display: block; }
.upload-zone span { display: block; font-weight: 500; margin-bottom: 4px; }
.upload-zone small { color: var(--muted); }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.form-success {
  margin-top: 30px; padding: 30px; border-radius: var(--radius);
  background: #e8f7ee; border: 1px solid var(--success);
  text-align: center;
}
.form-success i { font-size: 2rem; color: var(--success); margin-bottom: 10px; }
.form-success h3 { color: var(--success); }
.form-success p { margin: 0; }

.contact-info { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; }
.contact-info h2 { margin-bottom: 24px; }
.info-list { list-style: none; padding: 0; margin: 0 0 30px; }
.info-list li {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.info-list li:last-child { border-bottom: 0; }
.info-list i {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-alt); color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-list strong { display: block; font-family: var(--font-head); margin-bottom: 2px; }
.info-list span { display: block; color: var(--ink-soft); font-size: 0.9rem; }

/* CSS-drawn map placeholder */
.map-placeholder {
  background: var(--bg-alt); border-radius: var(--radius);
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 24px;
}
.map-grid { position: absolute; inset: 0; }
.map-road { position: absolute; background: #fff; }
.map-road.r1 { top: 30%; left: 0; right: 0; height: 8px; }
.map-road.r2 { top: 60%; left: 0; right: 0; height: 6px; }
.map-road.r3 { left: 25%; top: 0; bottom: 0; width: 6px; }
.map-road.r4 { left: 65%; top: 0; bottom: 0; width: 8px; }
.map-pin {
  position: absolute; top: 40%; left: 50%; transform: translate(-50%,-100%);
  width: 30px; height: 30px; border-radius: 50% 50% 50% 0;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%,-100%) rotate(-45deg);
  box-shadow: 0 4px 12px rgba(0,180,216,0.4);
  animation: pinBounce 2s infinite var(--ease);
}
.map-pin i { transform: rotate(45deg); font-size: 0.9rem; }
@keyframes pinBounce { 0%,100% { transform: translate(-50%,-100%) rotate(-45deg); } 50% { transform: translate(-50%,-110%) rotate(-45deg); } }
.map-label {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--card); padding: 6px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; box-shadow: var(--shadow-sm);
}

.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-alt); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.socials a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---------- 20. TRACK REPAIR ---------- */
.tracker-section { padding: 40px 0 120px; }
.tracker-form {
  max-width: 560px; margin: 0 auto 50px; text-align: center;
}
.tracker-form label { display: block; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; margin-bottom: 14px; }
.tracker-input-row { display: flex; gap: 10px; }
.tracker-form input {
  flex: 1; padding: 16px 20px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card);
  font-family: inherit; font-size: 1rem;
}
.tracker-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,180,216,0.15); }
.tracker-form small { display: block; margin-top: 12px; color: var(--muted); }

.tracker-result {
  max-width: 820px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.tracker-summary {
  display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 24px;
  padding-bottom: 30px; border-bottom: 1px solid var(--border); margin-bottom: 30px;
}
.tracker-summary h2 { margin-bottom: 4px; }
.tracker-device { display: flex; align-items: center; gap: 14px; }
.device-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.tracker-device strong { display: block; font-family: var(--font-head); }
.tracker-device span { font-size: 0.85rem; color: var(--muted); }
.tracker-eta strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--accent-2); }

.status-timeline {
  list-style: none; padding: 0; margin: 0 0 30px;
  position: relative;
}
.status-timeline::before {
  content: ''; position: absolute; left: 22px; top: 22px; bottom: 22px;
  width: 2px; background: var(--border-strong);
}
.status-timeline li {
  display: flex; gap: 20px; padding: 14px 0;
  position: relative;
}
.st-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-alt); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 2px solid var(--border);
  position: relative; z-index: 2;
}
.status-timeline li strong { display: block; font-family: var(--font-head); margin-bottom: 2px; }
.status-timeline li span { display: block; color: var(--ink-soft); font-size: 0.9rem; }
.status-timeline li small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

.status-timeline li.done .st-icon { background: var(--success); color: #fff; border-color: var(--success); }
.status-timeline li.done strong { color: var(--ink); }
.status-timeline li.active .st-icon {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(0,180,216,0.2);
  animation: pulseRing 2s infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(0,180,216,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(0,180,216,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,180,216,0); }
}

.tracker-progress { text-align: center; }
.progress-bar {
  height: 10px; background: var(--bg-alt); border-radius: 999px; overflow: hidden;
  margin-bottom: 10px;
}
.progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px; transition: width 1s var(--ease);
}
.progress-label { font-family: var(--font-head); font-weight: 600; color: var(--accent-2); }

/* ---------- 21. GALLERY ---------- */
.gallery-section { padding: 40px 0 120px; }
.gallery-filters {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  list-style: none; padding: 0; margin: 0 0 40px;
}
.gallery-filters button {
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  background: var(--card); border: 1px solid var(--border); color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.gallery-filters button:hover { border-color: var(--accent); color: var(--ink); }
.gallery-filters button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;
}
.gallery-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.3s var(--ease);
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-card.hidden { display: none; }

.gc-compare {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg-alt); padding: 30px 20px;
  position: relative;
}
.gc-phone {
  width: 100px; height: 180px; border-radius: 18px;
  background: var(--ink); border: 2px solid #3a3a52;
  margin: 0 auto; position: relative; overflow: hidden;
}
.gc-screen {
  position: absolute; top: 8px; left: 6px; right: 6px; bottom: 8px;
  background: linear-gradient(160deg, #1a1a3a, #0a0a1a);
  border-radius: 12px;
}
.gc-divider {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.gc-divider::before, .gc-divider::after {
  content: ''; position: absolute; width: 8px; height: 2px; background: var(--muted);
}
.gc-divider::before { left: 4px; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.gc-divider::after { right: 4px; clip-path: polygon(100% 50%, 0 0, 0 100%); }

/* Before: cracks */
.crack {
  position: absolute; background: rgba(255,255,255,0.6);
  transform-origin: center;
}
.crack.c1 { top: 20%; left: 30%; width: 40%; height: 1px; transform: rotate(25deg); }
.crack.c2 { top: 40%; left: 20%; width: 50%; height: 1px; transform: rotate(-15deg); }
.crack.c3 { top: 60%; left: 40%; width: 30%; height: 1px; transform: rotate(45deg); }

/* Before: water drops */
.water-drop {
  position: absolute; width: 10px; height: 14px; border-radius: 50% 50% 50% 0;
  background: rgba(0,180,216,0.7); transform: rotate(-45deg);
}
.water-drop.d1 { top: 25%; left: 30%; }
.water-drop.d2 { top: 45%; right: 25%; }
.water-drop.d3 { bottom: 30%; left: 40%; }

/* Before: low battery */
.battery-low {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 20px; border: 2px solid #fff; border-radius: 3px;
}
.battery-low::before {
  content: ''; position: absolute; left: 2px; top: 2px; bottom: 2px; width: 20%;
  background: var(--danger);
}
.battery-low::after {
  content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 8px; background: #fff;
}

/* After: full battery */
.battery-full {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 20px; border: 2px solid #fff; border-radius: 3px;
}
.battery-full::before {
  content: ''; position: absolute; left: 2px; top: 2px; bottom: 2px; right: 2px;
  background: var(--success);
}
.battery-full::after {
  content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 8px; background: #fff;
}

/* Before: back crack */
.gc-back-crack {
  position: absolute; inset: 0;
  background:
    linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.5) 49%, rgba(255,255,255,0.5) 51%, transparent 52%),
    linear-gradient(-30deg, transparent 48%, rgba(255,255,255,0.4) 49%, rgba(255,255,255,0.4) 51%, transparent 52%);
}

/* Before: blur circle */
.blur-circle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
  filter: blur(4px);
}
/* After: sharp circle */
.sharp-circle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--accent) 60%, #003d52);
  box-shadow: 0 0 10px rgba(0,180,216,0.5);
}

.gc-body { padding: 24px; }
.gc-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--bg-alt); color: var(--accent-2);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 10px;
}
.gc-body h3 { margin-bottom: 8px; }
.gc-body p { font-style: italic; color: var(--ink-soft); margin-bottom: 12px; }
.gc-who { font-weight: 600; font-size: 0.9rem; color: var(--ink); }

/* ---------- 22. 404 ---------- */
.page-404 {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; background: var(--bg);
}
.err-wrap { max-width: 640px; text-align: center; }
.err-illus { margin-bottom: 30px; }
.broken-phone {
  position: relative; width: 160px; height: 280px; margin: 0 auto;
}
.bp-body {
  position: absolute; inset: 0;
  background: var(--ink); border-radius: 26px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08);
}
.bp-screen {
  position: absolute; top: 10px; left: 8px; right: 8px; bottom: 10px;
  background: linear-gradient(160deg, #1a1a3a, #0a0a1a);
  border-radius: 20px; overflow: hidden;
}
.bp-crack { position: absolute; background: rgba(255,255,255,0.7); }
.bp-crack.c1 { top: 20%; left: 10%; width: 70%; height: 1px; transform: rotate(20deg); }
.bp-crack.c2 { top: 40%; left: 5%; width: 80%; height: 1px; transform: rotate(-15deg); }
.bp-crack.c3 { top: 55%; left: 20%; width: 60%; height: 1px; transform: rotate(35deg); }
.bp-crack.c4 { top: 70%; left: 15%; width: 50%; height: 1px; transform: rotate(-25deg); }
.bp-piece {
  position: absolute; background: var(--ink);
  border-radius: 4px;
}
.bp-piece.p1 { top: -10px; right: -20px; width: 30px; height: 40px; transform: rotate(20deg); }
.bp-piece.p2 { bottom: 20px; left: -25px; width: 25px; height: 30px; transform: rotate(-15deg); }
.bp-piece.p3 { top: 40%; right: -30px; width: 20px; height: 20px; transform: rotate(45deg); }

.err-code {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(5rem, 15vw, 9rem);
  color: var(--accent); line-height: 1; letter-spacing: -0.05em;
  display: block; margin-bottom: 10px;
}
.err-wrap h1 { margin-bottom: 16px; }
.err-wrap p { font-size: 1.1rem; margin-bottom: 30px; }

.err-search {
  max-width: 500px; margin: 0 auto 30px; position: relative;
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 6px 6px 20px;
}
.err-search i { color: var(--muted); }
.err-search input {
  flex: 1; border: 0; background: transparent; padding: 10px 0;
  font-family: inherit; font-size: 0.95rem; outline: none;
}
.err-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 23. FOOTER ---------- */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}
.site-footer h4 { color: #fff; margin-bottom: 18px; font-size: 1rem; }
.footer-logo { margin-bottom: 18px; }
.footer-logo .logo-text { color: #fff; }
.footer-about { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--accent); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-contact i { color: var(--accent); width: 18px; flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  margin-top: 50px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }
.to-top {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ---------- 24. GSAP HELPERS ---------- */
.reveal-up { opacity: 0; transform: translateY(40px); will-change: transform, opacity; }
.reveal-fade { opacity: 0; will-change: opacity; }
.card-3d { opacity: 0; transform: perspective(1000px) rotateY(90deg); transform-origin: left center; will-change: transform, opacity; }

/* ---------- 25. RESPONSIVE ---------- */
@media (max-width: 992px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-copy { order: 2; }
  .phone-stage { order: 1; max-width: 420px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-phone { max-width: 320px; margin-top: 40px; }
  .stats-depth { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .tracker-summary { grid-template-columns: 1fr; text-align: center; }
  .tracker-device { justify-content: center; }
  .svc-detail { grid-template-columns: 1fr; text-align: center; }
  .svc-detail-icon { margin: 0 auto; }
  .svc-meta { justify-content: center; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 120px 0 60px; }
  .page-hero { padding: 130px 0 60px; }
  .services, .testimonials, .why-us, .team, .certs, .timeline-section { padding: 80px 0; }
  .stats { padding: 80px 0; }
  .process { padding: 80px 0 0; }
  .process-track-wrap { padding: 60px 0; }
  .process-step { flex: 0 0 260px; }
  .tcard { width: 320px; margin-left: -160px; padding: 28px 24px; }
  .tcard-quote { font-size: 1rem; }
  .carousel-stage { height: 380px; }
  .price-table th, .price-table td { padding: 14px 18px; font-size: 0.85rem; }
  .timeline::before { left: 30px; }
  .timeline li { padding-left: 80px; }
  .timeline li::before { left: 24px; }
  .tl-year { font-size: 1rem; }
  .emergency-inner { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  /* Reduce 3D effects on mobile for performance */
  .phone-rig { transform: rotateX(4deg) rotateY(-10deg); }
  .phone-layer { width: 180px; height: 360px; margin-left: -90px; margin-top: -180px; border-radius: 28px; }
  .p-label { font-size: 0.7rem; padding: 4px 10px; }
}

@media (max-width: 480px) {
  .stats-depth { grid-template-columns: 1fr; }
  .meta-divider { display: none; }
  .hero-meta { flex-direction: column; gap: 16px; }
  .brand-tabs button { padding: 10px 16px; font-size: 0.85rem; }
  .tracker-input-row { flex-direction: column; }
  .err-actions { flex-direction: column; }
  .err-actions .btn { width: 100%; }
}

/* ---------- 26. PRINT ---------- */
@media print {
  .site-nav, .site-footer, .to-top, .mobile-drawer, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; padding: 20px 0; }
  .phone-stage, .tunnel, .carousel-stage, .cta-phone { display: none; }
  a { color: #000; text-decoration: underline; }
}