/* ============================================================
   SunMoon Security Solutions — Control Room Design System
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg:        #05070e;
  --bg-2:      #080c17;
  --panel:     #0c1322;
  --panel-2:   #111a2e;
  --panel-3:   #16213a;
  --line:      rgba(120, 160, 220, 0.12);
  --line-2:    rgba(120, 160, 220, 0.20);

  /* ink */
  --ink:       #eaf1ff;
  --ink-soft:  #b9c6e0;
  --ink-mute:  #7e8db0;
  --ink-dim:   #56627e;

  /* accent — electric cyan / blue */
  --cy:        #2fe6ff;
  --cy-2:      #19b6ff;
  --blue:      #2f6dff;
  --cy-glow:   rgba(47, 230, 255, 0.55);
  --cy-soft:   rgba(47, 230, 255, 0.12);

  /* semantic */
  --green:     #34e3a0;
  --amber:     #ffb648;
  --red:       #ff5b6e;

  /* shadows */
  --shadow-1: 0 2px 8px rgba(0,0,0,.4);
  --shadow-2: 0 18px 50px -20px rgba(0,0,0,.7);
  --shadow-glow: 0 0 0 1px rgba(47,230,255,.25), 0 14px 50px -16px rgba(47,230,255,.35);

  /* layout */
  --maxw: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--cy); color: #04121a; }

/* page ambient backdrop */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(47,109,255,.18), transparent 60%),
    radial-gradient(800px 600px at 10% 8%, rgba(47,230,255,.10), transparent 55%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,160,220,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,160,220,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.mono { font-family: var(--font-mono); }

/* eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cy); font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--cy);
  box-shadow: 0 0 8px var(--cy-glow);
}
.eyebrow.no-line::before { display: none; }

/* headings */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
.h-display { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; line-height: 1.02; }
.h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--ink-soft); font-weight: 400; }
.muted { color: var(--ink-mute); }
.text-grad {
  background: linear-gradient(100deg, var(--cy), var(--cy-2) 55%, var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section-head { max-width: 760px; }
.section-head.center { margin: 0 auto; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { color: var(--ink-mute); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  border: 1px solid transparent; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  position: relative; white-space: nowrap; font-family: var(--font-body);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(100deg, var(--cy), var(--cy-2));
  color: #03121a; font-weight: 700;
  box-shadow: 0 4px 14px -6px var(--cy-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -10px var(--cy-glow); }
.btn-ghost {
  background: rgba(255,255,255,.03); color: var(--ink);
  border-color: var(--line-2); backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--cy); color: #fff; transform: translateY(-3px); background: var(--cy-soft); }
.btn-dark { background: var(--panel-2); color: var(--ink); border-color: var(--line); }
.btn-dark:hover { border-color: var(--cy); transform: translateY(-3px); }
.btn-lg { padding: 17px 34px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------- Camera-HUD corner reticle ---------- */
.reticle { position: relative; }
.reticle::before, .reticle::after {
  content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none;
  border-color: var(--cy); opacity: .7;
}
.reticle::before { top: 10px; left: 10px; border-top: 2px solid; border-left: 2px solid; }
.reticle::after { bottom: 10px; right: 10px; border-bottom: 2px solid; border-right: 2px solid; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow-2); }

/* glass panel */
.glass {
  background: linear-gradient(180deg, rgba(18,26,46,.72), rgba(8,12,23,.72));
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
}

/* divider */
.hr { height: 1px; background: var(--line); border: 0; }

/* pills / chips */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft); font-weight: 500;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cy); box-shadow: 0 0 8px var(--cy-glow); }

/* star rating */
.stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,9,16,.82); backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: padding .4s var(--ease);
}
.nav.scrolled .nav-inner { padding: 12px 28px; }

/* brand */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; position: relative; flex-shrink: 0;
  background-color: #0b1426;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M12%202.4%2019.5%205.2%20V11%20c0%204.9-3.5%208.6-7.5%2010.4%20C8%2019.6%204.5%2015.9%204.5%2011%20V5.2%20Z%27%20fill%3D%27rgba%2847%2C230%2C255%2C0.14%29%27%20stroke%3D%27rgb%2847%2C230%2C255%29%27%20stroke-width%3D%271.4%27%20stroke-linejoin%3D%27round%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2710.5%27%20r%3D%273%27%20stroke%3D%27rgb%28235%2C252%2C255%29%27%20stroke-width%3D%271.5%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2710.5%27%20r%3D%271%27%20fill%3D%27rgb%2847%2C230%2C255%29%27%2F%3E%3C%2Fsvg%3E"), linear-gradient(150deg, #14365f 0%, #0b1426 72%);
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: 25px 25px, cover;
  border: 1px solid rgba(47,230,255,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 16px -9px var(--cy-glow);
}
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; line-height: 1; }
.brand-name span { color: var(--cy); }
.brand-sub { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .26em; color: var(--ink-mute); text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 1px; }
.nav-links a {
  padding: 8px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
  transition: color .25s, background .25s; position: relative;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.04); }
.nav-links a.active { color: var(--cy); }
.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; }
.nav-phone svg { width: 17px; height: 17px; color: var(--cy); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 44px; height: 44px; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(5,7,14,.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; padding: 100px 28px 40px;
  transform: translateX(100%); transition: transform .5s var(--ease-out); visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 26px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a:active { color: var(--cy); }
.mobile-menu .btn { margin-top: 28px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 80px 0 36px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.footer h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 20px; font-weight: 500; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--ink-soft); font-size: 15px; line-height: 1.35; transition: color .25s, padding .25s; width: fit-content; }
.footer-links a:hover { color: var(--cy); padding-left: 5px; }
.footer-about p { color: var(--ink-mute); font-size: 15px; margin: 18px 0; max-width: 320px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact a, .footer-contact div { display: flex; gap: 12px; color: var(--ink-soft); font-size: 14.5px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--cy); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom p { color: var(--ink-dim); font-size: 13.5px; }
.footer-bottom .footer-legal { display: flex; gap: 22px; }
.footer-bottom .footer-legal a { color: var(--ink-mute); font-size: 13.5px; }
.footer-bottom .footer-legal a:hover { color: var(--cy); }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: all .3s; }
.social-row a:hover { border-color: var(--cy); color: var(--cy); transform: translateY(-3px); background: var(--cy-soft); }
.social-row svg { width: 18px; height: 18px; }

/* ============================================================
   Floating action buttons (WhatsApp / call)
   ============================================================ */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: 95; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.fab {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.6); position: relative; transition: transform .3s var(--ease); border: none;
}
.fab:hover { transform: scale(1.08) translateY(-2px); }
.fab svg { width: 28px; height: 28px; }
.fab-wa { background: #25d366; color: #fff; }
.fab-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1;
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.9); opacity: 0; } }
.fab-label { position: absolute; right: 70px; white-space: nowrap; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 10px; opacity: 0; transform: translateX(8px); pointer-events: none; transition: all .3s; }
.fab:hover .fab-label { opacity: 1; transform: translateX(0); }

/* ============================================================
   Reveal animation system
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="fade"] { transform: none; }
[data-reveal].in { transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }
[data-delay="6"] { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,14,.75) 0%, rgba(5,7,14,.55) 45%, var(--bg) 100%),
              linear-gradient(90deg, rgba(5,7,14,.9), transparent 60%);
}
.hero-scan {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(47,230,255,.025) 4px);
}
.hero-grid-overlay { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* Hero with custom CCTV photography (cameras right, copy space left) */
.hero--cctv .hero-bg img {
  opacity: 1;
  object-fit: cover;
  object-position: 78% 42%;
  filter: saturate(1.08) contrast(1.04);
}
.hero--cctv .hero-bg::after {
  background:
    linear-gradient(
      102deg,
      rgba(5, 7, 14, 0.94) 0%,
      rgba(5, 7, 14, 0.82) 32%,
      rgba(5, 7, 14, 0.45) 52%,
      rgba(5, 7, 14, 0.12) 68%,
      transparent 82%
    ),
    linear-gradient(
      180deg,
      rgba(5, 7, 14, 0.55) 0%,
      transparent 28%,
      transparent 62%,
      rgba(5, 7, 14, 0.5) 88%,
      var(--bg) 100%
    );
}
.hero--cctv .hero-scan {
  opacity: 0.22;
  mask-image: linear-gradient(90deg, black 0%, black 55%, transparent 85%);
}
.hero--cctv .hero-accent {
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 22%;
  width: 3px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--cy), var(--cy-2), transparent);
  box-shadow: 0 0 24px var(--cy-glow);
  opacity: 0.75;
}
.hero--cctv .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.hero--cctv h1 {
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}
.hero--cctv .lead {
  color: var(--ink-soft);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.35);
}
.hero--cctv .hero-stats {
  margin-top: 48px;
  gap: 16px;
}
.hero--cctv .hero-stat {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(5, 7, 14, 0.5);
  border: 1px solid rgba(120, 160, 220, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero--cctv .btn-ghost {
  background: rgba(5, 7, 14, 0.45);
  backdrop-filter: blur(10px);
}

.hero-tag { margin-bottom: 26px; }
.hero h1 { margin-bottom: 24px; max-width: 16ch; }
.hero .lead { max-width: 56ch; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-cta .btn-label-short { display: none; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; line-height: 1; color: #fff; }
.hero-stat .num span { color: var(--cy); }
.hero-stat .lbl { font-size: 13px; color: var(--ink-mute); margin-top: 8px; font-family: var(--font-mono); letter-spacing: .04em; }

/* live status badge */
.live-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px;
  background: rgba(52,227,160,.08); border: 1px solid rgba(52,227,160,.3); font-size: 13px; color: var(--green); font-weight: 600; font-family: var(--font-mono); white-space: nowrap;
}
.live-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; }
.live-badge .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--green); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

/* ============================================================
   Marquee (trust strip)
   ============================================================ */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 12px; color: var(--ink-mute); font-family: var(--font-mono); font-size: 14px; letter-spacing: .04em; white-space: nowrap; }
.marquee-item svg { width: 20px; height: 20px; color: var(--cy); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Service cards
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-grid-spaced { margin-top: 54px; }
.svc-card { padding: 32px; display: flex; flex-direction: column; min-height: 280px; }
.svc-card .ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(160deg, var(--cy-soft), rgba(47,109,255,.06)); border: 1px solid var(--line-2);
  color: var(--cy); transition: all .4s;
}
.svc-card:hover .ico { background: linear-gradient(160deg, var(--cy), var(--cy-2)); color: #04121a; box-shadow: 0 0 26px -6px var(--cy-glow); }
.svc-card .ico svg { width: 27px; height: 27px; }
.svc-card h3 { margin-bottom: 12px; font-size: 1.32rem; }
.svc-card p { color: var(--ink-mute); font-size: 15px; flex-grow: 1; }
.svc-card .svc-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--cy); font-weight: 600; font-size: 14.5px; transition: gap .3s; }
.svc-card:hover .svc-link { gap: 13px; }
.svc-card .svc-link svg { width: 16px; height: 16px; }
.svc-card .glow { position: absolute; top: -40%; right: -30%; width: 240px; height: 240px; background: radial-gradient(circle, var(--cy-soft), transparent 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.svc-card:hover .glow { opacity: 1; }

/* ============================================================
   Stats band with counters
   ============================================================ */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat-cell { padding: 30px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.stat-cell .big { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; color: #fff; line-height: 1; }
.stat-cell .big span { color: var(--cy); }
.stat-cell .cap { margin-top: 12px; color: var(--ink-mute); font-size: 14px; font-family: var(--font-mono); letter-spacing: .03em; }

/* ============================================================
   Process / steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.step { padding: 30px; position: relative; }
.step .step-no { font-family: var(--font-mono); font-size: 13px; color: var(--cy); letter-spacing: .1em; margin-bottom: 18px; }
.step .step-ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--cy); margin-bottom: 18px; }
.step .step-ico svg { width: 24px; height: 24px; }
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { color: var(--ink-mute); font-size: 14.5px; }

/* ============================================================
   Feature split (image + text)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .frame-tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; }
.feature-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .tick { width: 26px; height: 26px; border-radius: 8px; background: var(--cy-soft); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--cy); flex-shrink: 0; margin-top: 2px; }
.feature-list .tick svg { width: 15px; height: 15px; }
.feature-list strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 4px; }
.feature-list span {
  color: var(--ink-mute); font-size: 14.5px; line-height: 1.55;
  display: block; overflow-wrap: break-word; word-wrap: break-word;
}
.feature-list li > div { min-width: 0; flex: 1; }
.split-copy { position: relative; z-index: 2; }

/* ============================================================
   Testimonials
   ============================================================ */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst-card { padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.tst-card .quote { color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; flex-grow: 1; }
.tst-card .who { display: flex; align-items: center; gap: 13px; }
.tst-card .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.tst-card .who .name { font-weight: 700; font-size: 14.5px; }
.tst-card .who .role { font-size: 12.5px; color: var(--ink-mute); font-family: var(--font-mono); }
.tst-card .g-badge { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-mute); }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid .g-item { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 1; cursor: pointer; border: 1px solid var(--line); }
.gallery-grid .g-item.tall { aspect-ratio: 1/1.5; grid-row: span 2; }
.gallery-grid .g-item.wide { aspect-ratio: 2/1; grid-column: span 2; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-grid .g-item:hover img { transform: scale(1.08); }
.gallery-grid .g-item .g-cap { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px; background: linear-gradient(transparent 45%, rgba(5,7,14,.85)); opacity: 0; transition: opacity .4s; }
.gallery-grid .g-item:hover .g-cap { opacity: 1; }
.gallery-grid .g-cap span { font-size: 13px; font-weight: 600; color: #fff; font-family: var(--font-mono); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3,5,10,.94); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 12px; border: 1px solid var(--line-2); box-shadow: var(--shadow-2); }
.lightbox .lb-close { position: absolute; top: 24px; right: 28px; width: 48px; height: 48px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line-2); color: #fff; display: grid; place-items: center; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line-2); color: #fff; display: grid; place-items: center; }
.lightbox .lb-prev { left: 22px; } .lightbox .lb-next { right: 22px; }
.lightbox svg { width: 22px; height: 22px; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: var(--line-2); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; width: 100%; background: none; border: none; color: var(--ink); text-align: left; }
.faq-q .pm { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--cy); transition: transform .4s, background .3s; }
.faq-item.open .pm { transform: rotate(135deg); background: var(--cy-soft); }
.faq-q .pm svg { width: 16px; height: 16px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; color: var(--ink-mute); font-size: 15px; }

/* ============================================================
   Forms
   ============================================================ */
.form-card { padding: 38px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); font-family: var(--font-mono); letter-spacing: .02em; }
.field label .req { color: var(--cy); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 15px;
  color: var(--ink); font-family: var(--font-body); font-size: 15px; transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cy); box-shadow: 0 0 0 3px var(--cy-soft); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237e8db0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.form-success { display: none; text-align: center; padding: 30px; }
.form-success.show { display: block; }
.form-success .ok-ico { width: 64px; height: 64px; border-radius: 50%; background: rgba(52,227,160,.12); border: 1px solid rgba(52,227,160,.4); display: grid; place-items: center; margin: 0 auto 20px; color: var(--green); }
.form-success .ok-ico svg { width: 32px; height: 32px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; border-radius: 26px; overflow: hidden; padding: clamp(48px, 6vw, 80px); border: 1px solid var(--line-2); }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.cta-band .cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(47,230,255,.18), transparent 55%), linear-gradient(120deg, rgba(8,12,23,.92), rgba(8,12,23,.7)); }
.cta-band h2 { max-width: 18ch; margin-bottom: 16px; }
.cta-band .lead { max-width: 52ch; margin-bottom: 32px; color: var(--ink-soft); }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero { position: relative; padding: 170px 0 70px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,14,.7), var(--bg)); }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-mute); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--cy); }
.breadcrumb .sep { color: var(--ink-dim); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; max-width: 18ch; }
.page-hero p { color: var(--ink-soft); max-width: 58ch; margin-top: 18px; font-size: 1.1rem; }

/* media fallback — gradient sits behind any <img>, shows if image 404s */
.hero-bg, .split-media, .gallery-grid .g-item, .page-hero-bg, .cta-band .cta-bg, .proj-card .proj-media, .img-wrap {
  background-image:
    radial-gradient(120% 120% at 20% 10%, rgba(47,230,255,.16), transparent 55%),
    linear-gradient(135deg, #0c1322, #16213a 60%, #0a1020);
  background-color: var(--panel);
}
.img-broken { opacity: 0 !important; }

/* badge tag for media */
.frame-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(5,7,14,.7); backdrop-filter: blur(8px); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.frame-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ============================================================
   Responsive
   ============================================================ */
/* hide the inline phone first when space tightens, then collapse to hamburger */
@media (max-width: 1180px) { .nav-phone { display: none; } }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav-cta .btn-primary { display: none; }
  .nav-inner { padding: 14px 20px; gap: 12px; }
  .nav.scrolled .nav-inner { padding: 10px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .svc-grid, .tst-grid { grid-template-columns: repeat(2, 1fr); }
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }
  .split-media {
    aspect-ratio: 16 / 10;
    max-height: 280px;
    width: 100%;
    transform: none !important;
    margin-bottom: 4px;
  }
  .split-media img { object-position: center 30%; }
  [data-reveal="left"],
  [data-reveal="right"] { transform: translateY(28px); }
  [data-reveal="left"].in,
  [data-reveal="right"].in { transform: none; }
  [data-parallax] { transform: none !important; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .sectors-grid, .tst-grid, .steps { grid-template-columns: 1fr; }
  .svc-grid:not(.sectors-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .svc-grid-spaced { margin-top: 28px; }
  #services .section-head { margin-bottom: 4px; }
  #services .section-head .lead { font-size: 0.95rem; line-height: 1.55; }
  .svc-card {
    min-height: unset;
    padding: 14px;
  }
  .svc-card .ico {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .svc-card .ico svg { width: 20px; height: 20px; }
  .svc-card h3 {
    font-size: 0.92rem;
    margin-bottom: 6px;
    line-height: 1.25;
  }
  .svc-card p {
    font-size: 12.5px;
    line-height: 1.45;
    flex-grow: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .svc-card .svc-link {
    margin-top: 10px;
    font-size: 12px;
    gap: 5px;
  }
  .svc-card .svc-link svg { width: 13px; height: 13px; }
  .svc-card.reticle::before { top: 6px; left: 6px; }
  .svc-card.reticle::after { bottom: 6px; right: 6px; }
  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .stat-cell { padding: 20px 14px; }
  .stat-cell .big { font-size: clamp(1.65rem, 5.5vw, 2.2rem); }
  .stat-cell .cap {
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.4;
    font-family: var(--font-body);
    letter-spacing: 0;
  }
  .section-sm { padding: 48px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g-item.wide,
  .gallery-grid .g-item.tall { grid-column: span 1; grid-row: span 1; aspect-ratio: 1; }
  .footer {
    padding: 48px 0 calc(108px + env(safe-area-inset-bottom, 0px));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }
  .footer-about { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-about p { max-width: none; font-size: 14.5px; line-height: 1.6; }
  .footer h4 { margin-bottom: 14px; font-size: 11px; }
  .footer-links { gap: 10px; }
  .footer-links a { font-size: 14px; }
  .footer-contact a span,
  .footer-contact div span { line-height: 1.5; }
  .footer-bottom { margin-top: 36px; gap: 16px; }
  .split .h2 { font-size: clamp(1.45rem, 5.5vw, 1.85rem); margin: 12px 0 14px !important; }
  .split .lead { font-size: 0.98rem; line-height: 1.6; }
  .feature-list { gap: 16px; margin-top: 22px; }
  .feature-list li { gap: 12px; align-items: flex-start; }
  .split .btn-lg { width: 100%; justify-content: center; margin-top: 24px !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .fab-stack { right: 16px; bottom: 16px; }
  .fab { width: 54px; height: 54px; }
  .cta-band { padding: 36px 24px; }
  .form-card { padding: 26px; }
  .timeline-card { grid-template-columns: 1fr !important; gap: 12px !important; }
  .timeline-card .timeline-year { font-size: 1.35rem !important; }
  .mobile-menu { padding: 88px 20px 32px; }
  .mobile-menu a { font-size: 22px; padding: 14px 0; }

  /* —— Mobile header —— */
  .nav-inner { padding: 12px 16px; }
  .brand { min-width: 0; flex: 1; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; background-size: 22px 22px, cover; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 8px; letter-spacing: .18em; }
  .nav-cta { gap: 8px; flex-shrink: 0; }
  .nav-toggle { width: 42px; height: 42px; }

  /* —— Mobile hero —— */
  .hero {
    min-height: auto;
    padding: 108px 0 32px;
    align-items: flex-start;
  }
  .hero .wrap { width: 100%; }
  .hero h1.h-display {
    font-size: clamp(1.85rem, 8.2vw, 2.65rem);
    line-height: 1.12;
    max-width: 100%;
    margin-bottom: 18px;
  }
  .hero .lead {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 100%;
    margin-bottom: 28px;
    color: var(--ink-soft);
  }
  .live-badge {
    white-space: normal;
    font-size: 11px;
    padding: 7px 12px;
    line-height: 1.35;
    max-width: 100%;
  }
  .hero-tag { margin-bottom: 18px; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 15px;
  }
  .hero-cta .btn-lg { padding: 16px 22px; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
    margin-top: 36px;
    padding-right: 0;
    width: 100%;
  }
  .hero-stat { min-width: 0; }
  .hero-stat:nth-child(3) { grid-column: 1 / -1; }
  .hero-stat .num { font-size: clamp(1.65rem, 6vw, 2.1rem); }
  .hero-stat .lbl {
    font-size: 12px;
    line-height: 1.45;
    color: var(--ink-soft);
    margin-top: 6px;
  }
  .hero--cctv .hero-bg img {
    object-position: 70% 35%;
  }
  .hero--cctv .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(5, 7, 14, 0.92) 0%, rgba(5, 7, 14, 0.82) 42%, rgba(5, 7, 14, 0.88) 100%),
      linear-gradient(102deg, rgba(5, 7, 14, 0.88) 0%, rgba(5, 7, 14, 0.5) 55%, transparent 100%);
  }
  .hero--cctv .hero-inner { max-width: 100%; }
  .hero--cctv .hero-accent { display: none; }
  .hero--cctv .hero-stat {
    background: rgba(5, 7, 14, 0.65);
  }

  /* —— Mobile page heroes —— */
  .page-hero {
    padding: 108px 0 48px;
  }
  .page-hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
    max-width: 100%;
  }
  .page-hero p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .nav-inner { padding: 10px 14px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 16px; }

  .hero { padding-top: 100px; padding-bottom: 28px; }
  .hero h1.h-display { font-size: clamp(1.7rem, 7.8vw, 2.35rem); }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-stat:nth-child(3) { grid-column: auto; }
  .hero-stat {
    padding: 14px 16px;
    background: rgba(12, 19, 34, 0.55);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }

  .hero-cta .btn,
  .cta-band .hero-cta .btn { white-space: normal; text-align: center; }
  .hero-cta .btn-ghost span.btn-label-long { display: none; }
  .hero-cta .btn-ghost span.btn-label-short { display: inline; }

  .fab-stack {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 22px; height: 22px; }
  .fab-label { display: none; }

  body.has-fab { padding-bottom: 0; }
  .hero { padding-bottom: 100px; }
  .page-hero { padding-bottom: 56px; }
  .contact-section-tight { padding-top: 48px !important; }
  .stat-band { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-cell { padding: 16px 12px; }
  .stat-cell .big { font-size: 1.55rem; }
  .stat-cell .cap { font-size: 11.5px; }
  .section { padding: clamp(52px, 10vw, 72px) 0; }
  .footer-legal { flex-wrap: wrap; gap: 12px 18px; }

  .svc-grid:not(.sectors-grid) { gap: 10px; }
  .svc-grid-spaced { margin-top: 22px; }
  .svc-card { padding: 12px; }
  .svc-card h3 { font-size: 0.88rem; }
  .svc-card p {
    font-size: 11.5px;
    -webkit-line-clamp: 2;
  }
  .svc-card .svc-link { font-size: 11px; margin-top: 8px; }
}

@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; }
  .svc-card:hover .ico { transform: none; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  padding: 12px 20px; background: var(--cy); color: #03121a; font-weight: 700;
  border-radius: var(--radius-sm); font-size: 14px;
}
.skip-link:focus { left: 12px; outline: none; box-shadow: var(--shadow-glow); }

/* ---------- Focus visible ---------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.filters button:focus-visible,
.faq-q:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--cy);
  outline-offset: 3px;
}

/* ---------- Sectors (home) ---------- */
.sectors-grid { margin-top: 50px; }
.sector-card {
  aspect-ratio: 16/11;
  display: block;
  position: relative;
}
.sector-card img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.sector-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 30%, rgba(5,7,14,.92));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(18px, 4vw, 26px);
}
.sector-overlay h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
.sector-overlay p { color: var(--ink-soft); font-size: 14.5px; margin-top: 6px; }

/* ---------- Timeline (about) ---------- */
.timeline-stack { margin-top: 46px; display: flex; flex-direction: column; gap: 0; }
.timeline-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  padding: 26px 30px; margin-bottom: 14px; align-items: center;
}
.timeline-year {
  font-size: 1.6rem; font-weight: 700; color: var(--cy);
  font-family: var(--font-display);
}

/* ---------- Gallery filters ---------- */
.filters {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin: 0 auto 40px;
}
.filters button {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.02); color: var(--ink-soft);
  font-family: var(--font-mono); font-size: 13px; transition: all .3s;
}
.filters button:hover { border-color: var(--cy); color: #fff; }
.filters button.active {
  background: linear-gradient(100deg, var(--cy), var(--cy-2));
  color: #03121a; border-color: transparent; font-weight: 600;
}
@media (hover: none) {
  .gallery-grid .g-item .g-cap { opacity: 1; }
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.contact-section-tight { padding-top: 60px; }
.page-hero-compact { padding-bottom: 40px; }
.info-card { padding: 30px; }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic {
  width: 46px; height: 46px; border-radius: 12px; background: var(--cy-soft);
  border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--cy); flex-shrink: 0;
}
.info-row .ic svg { width: 21px; height: 21px; }
.info-row .lab {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px;
}
.info-row .val { color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1.5; }
.info-row a.val:hover { color: var(--cy); }
.map-wrap {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2);
  height: 320px; position: relative; margin-top: 22px;
}
.map-wrap iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(.3) invert(.92) hue-rotate(180deg) contrast(.9);
}
.hours-table { display: flex; flex-direction: column; gap: 0; }
.hours-table .row {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.hours-table .row:last-child { border: 0; }
.hours-table .day { color: var(--ink-soft); }
.hours-table .time { color: var(--ink); font-family: var(--font-mono); font-size: 13px; }
.hours-table .row.today .day,
.hours-table .row.today .time { color: var(--cy); font-weight: 600; }
.form-hint { font-size: 12.5px; text-align: center; margin-top: 14px; }
.info-card-spaced { margin-top: 22px; }
.hours-label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Projects page ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-card { overflow: hidden; display: flex; flex-direction: column; }
.proj-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj-card:hover .proj-media img { transform: scale(1.07); }
.proj-cat { position: absolute; top: 14px; left: 14px; z-index: 2; }
.proj-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.proj-body .loc {
  font-family: var(--font-mono); font-size: 12px; color: var(--cy);
  letter-spacing: .05em; margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.proj-body h3 { font-size: 1.22rem; margin-bottom: 10px; }
.proj-body p { color: var(--ink-mute); font-size: 14.5px; flex-grow: 1; }
.proj-meta {
  display: flex; gap: 18px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
}
.proj-meta div { font-size: 13px; color: var(--ink-mute); }
.proj-meta strong {
  display: block; color: var(--cy); font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
}
.filters-proj { margin-bottom: 44px; }
@media (max-width: 900px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .proj-grid { grid-template-columns: 1fr; }
}

/* ---------- Legal page ---------- */
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.legal-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.legal-nav a {
  padding: 9px 14px; border-radius: 9px; font-size: 14px; color: var(--ink-mute);
  border-left: 2px solid transparent; transition: all .25s;
}
.legal-nav a:hover { color: var(--cy); background: rgba(255,255,255,.03); }
.legal-toc-title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-dim); margin-bottom: 12px; padding-left: 14px;
}
.legal-body h2 { font-size: 1.9rem; margin: 0 0 6px; scroll-margin-top: 110px; }
.legal-body .upd { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-mute); margin-bottom: 30px; }
.legal-body h3 { font-size: 1.18rem; margin: 34px 0 10px; color: var(--ink); }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; margin-bottom: 14px; }
.legal-body ul { padding-left: 22px; list-style: disc; }
.legal-body li { margin-bottom: 8px; }
.legal-body .block { padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid var(--line); }
.legal-body a { color: var(--cy); }
.page-hero-legal { padding-bottom: 50px; }
@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 20px; }
}

/* ---------- Mobile menu active ---------- */
.mobile-menu a.active { color: var(--cy); }

/* ---------- Testimonials Google link ---------- */
.review-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: all .3s;
}
.review-chip:hover { border-color: var(--cy); color: var(--cy); background: var(--cy-soft); }
.review-chip svg { width: 18px; height: 18px; color: var(--amber); }

/* ---------- Reduced motion: marquee ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .fab-wa::before { animation: none; }
}
