/* ============================================================
   AutoMedic — Car Repair & Service · Al Quoz, Dubai
   Design system: technical / diagnostic, high-contrast workshop
   ============================================================ */

:root {
  /* Brand palette (research/brand-system.md) */
  --primary: #D62828;   /* signal red */
  --primary-700: #B01E1E;
  --ink: #111827;       /* deep panel / secondary */
  --ink-900: #0C111B;
  --accent: #F5A300;    /* amber CTA / highlight */
  --accent-600: #DB9200;
  --surface: #F5F6F8;   /* page background */
  --paper: #FFFFFF;
  --text: #111318;
  --muted: #6B7280;
  --muted-2: #9098A4;
  --border: #D9DEE5;
  --border-strong: #C2C9D2;
  --focus: #2A6FDB;

  /* on-dark */
  --on-dark: #EEF1F5;
  --on-dark-muted: #9AA3AF;
  --dark-border: rgba(255,255,255,.12);
  --dark-border-2: rgba(255,255,255,.07);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(16,19,24,.05), 0 1px 1px rgba(16,19,24,.04);
  --shadow: 0 6px 22px -8px rgba(16,19,24,.18), 0 2px 6px -2px rgba(16,19,24,.08);
  --shadow-lg: 0 28px 60px -22px rgba(12,17,27,.45);

  --container: 1200px;
  --gutter: clamp(18px, 4.4vw, 56px);
  --header-h: 70px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* technical label / eyebrow */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--primary);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--accent); }
.eyebrow.on-dark::before { background: var(--accent); }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { max-width: 640px; margin-bottom: clamp(34px, 5vw, 52px); }
.section-head h2 { font-size: clamp(30px, 5vw, 46px); margin-top: 16px; }
.section-head p { color: var(--muted); font-size: clamp(16px, 2.2vw, 18px); margin-top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 22px;
  border-radius: var(--r);
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px -6px rgba(214,40,40,.6); }
.btn-primary:hover { background: var(--primary-700); }
.btn-amber { background: var(--accent); color: var(--ink-900); box-shadow: 0 6px 18px -6px rgba(245,163,0,.55); }
.btn-amber:hover { background: var(--accent-600); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-900); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-ghost-dark { background: rgba(255,255,255,.04); color: var(--on-dark); border-color: var(--dark-border); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.btn-block { width: 100%; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }

/* crop-mark / tick corner motif */
.ticks { position: relative; }
.ticks::before, .ticks::after {
  content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none;
}
.ticks::before { top: 10px; left: 10px; border-top: 2px solid var(--primary); border-left: 2px solid var(--primary); }
.ticks::after { bottom: 10px; right: 10px; border-bottom: 2px solid var(--primary); border-right: 2px solid var(--primary); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  background: rgba(245,246,248,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: background .25s, box-shadow .25s;
}
.site-header.scrolled { background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-chip {
  width: 44px; height: 44px; border-radius: 10px;
  background: #fff; border: 1px solid var(--border);
  display: grid; place-items: center; padding: 5px;
  box-shadow: var(--shadow-sm);
}
.brand-chip img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; line-height: 1; }
.brand-name span { color: var(--primary); }
.brand-name-stack { display: inline-block; font-size: 21px; line-height: .92; }
.brand-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; white-space: nowrap; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--text);
  padding: 9px 13px; border-radius: 7px; transition: background .18s, color .18s;
}
.nav a:hover { background: rgba(17,24,39,.06); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-family: var(--font-mono); font-weight: 500; font-size: 14px;
  color: var(--ink); padding: 9px 14px; border-radius: 8px; border: 1px solid var(--border-strong);
  background: #fff; transition: border-color .18s, transform .12s;
}
.header-call:hover { border-color: var(--ink); }
.header-call svg { width: 16px; height: 16px; color: var(--primary); }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 9px; border: 1px solid var(--border-strong); background: #fff; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--ink-900); color: var(--on-dark);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 26px var(--gutter) 36px;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a.m-link {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  padding: 16px 0; border-bottom: 1px solid var(--dark-border-2);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav a.m-link span { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.mobile-cta { margin-top: auto; display: grid; gap: 12px; padding-top: 28px; }

/* ============================================================
   HERO — diagnostic checklist
   ============================================================ */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(34px, 6vw, 64px)); padding-bottom: clamp(40px, 6vw, 70px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-status {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em;
  background: #fff; border: 1px solid var(--border); border-radius: 100px;
  padding: 7px 14px 7px 11px; color: var(--ink); box-shadow: var(--shadow-sm);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #2bb673; position: relative; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #2bb673; opacity: .35; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0%{transform:scale(.6);opacity:.6} 100%{transform:scale(1.5);opacity:0} }

.hero h1 { font-size: clamp(40px, 7vw, 76px); margin-top: 22px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); margin-top: 22px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-meta .mk { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1; }
.hero-meta .ml { font-size: 13px; color: var(--muted); margin-top: 6px; }
.hero-meta .stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }

/* hero media + floating diagnostic card */
.hero-media { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-lg); background: var(--ink);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,17,27,.05) 40%, rgba(12,17,27,.55)); }
.hero-badge {
  position: absolute; left: -18px; top: 26px; z-index: 3;
  background: var(--primary); color: #fff; border-radius: 10px;
  padding: 11px 15px; box-shadow: var(--shadow);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  display: flex; align-items: center; gap: 9px;
}
.hero-card {
  position: absolute; right: -16px; bottom: -18px; z-index: 3; width: min(280px, 78%);
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 17px; box-shadow: var(--shadow-lg);
}
.hero-card .hc-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero-checklist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.hero-checklist li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.check {
  width: 19px; height: 19px; border-radius: 5px; background: rgba(43,182,115,.14);
  display: grid; place-items: center; flex: none;
}
.check svg { width: 12px; height: 12px; color: #1f9d63; }
.hero-checklist li.pending { color: var(--muted); }
.hero-checklist li.pending .check { background: rgba(245,163,0,.16); }
.hero-checklist li.pending .check svg { color: var(--accent-600); }

/* ============================================================
   COMMAND BAR (quick action tiles)
   ============================================================ */
.command { background: var(--ink-900); color: var(--on-dark); position: relative; }
.command-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cmd-tile {
  display: flex; align-items: center; gap: 15px; padding: 26px clamp(16px,2.4vw,30px);
  border-right: 1px solid var(--dark-border-2);
  transition: background .2s; position: relative;
}
.cmd-tile:last-child { border-right: 0; }
.cmd-tile:hover { background: rgba(255,255,255,.04); }
.cmd-ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--dark-border); display: grid; place-items: center; flex: none; }
.cmd-ic svg { width: 21px; height: 21px; color: var(--accent); }
.cmd-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.cmd-v { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-top: 3px; color: #fff; }
.cmd-tile.is-link .cmd-v { color: var(--accent); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--surface); }
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  grid-column: span 4; min-height: 300px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.svc-card.wide { grid-column: span 6; }
.svc-media { position: relative; height: 168px; overflow: hidden; background: var(--ink); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-num { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: #fff; background: rgba(12,17,27,.55); backdrop-filter: blur(4px); padding: 5px 9px; border-radius: 6px; }
.svc-body { padding: 18px 19px 20px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 21px; }
.svc-body p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 16px; }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; color: var(--ink); background: var(--surface); border: 1px solid var(--border); padding: 4px 9px; border-radius: 6px; }

/* a featured "diagnostic" panel that spans inside the grid */
.svc-feature {
  grid-column: span 6; border-radius: var(--r-lg); background: var(--ink-900); color: var(--on-dark);
  padding: clamp(24px,3vw,34px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.svc-feature h3 { color: #fff; font-size: clamp(22px, 3vw, 30px); }
.svc-feature p { color: var(--on-dark-muted); margin-top: 12px; font-size: 15.5px; max-width: 36ch; }
.svc-feature .btn { margin-top: 22px; align-self: flex-start; }
.svc-feature .ghost-num { position: absolute; right: -10px; bottom: -34px; font-family: var(--font-display); font-weight: 700; font-size: 160px; color: rgba(255,255,255,.04); line-height: 1; }

/* ============================================================
   BRAND STRIP
   ============================================================ */
.brands { background: #fff; border-block: 1px solid var(--border); padding-block: 40px; }
.brands-inner { display: flex; align-items: center; gap: clamp(20px,4vw,54px); flex-wrap: wrap; justify-content: center; }
.brands-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); max-width: 150px; line-height: 1.5; }
.brand-logos { display: flex; align-items: center; gap: clamp(22px,4vw,48px); flex-wrap: wrap; justify-content: center; }
.brand-logos img { height: 46px; width: auto; object-fit: contain; filter: grayscale(1) opacity(.62); transition: filter .25s; }
.brand-logos img:hover { filter: grayscale(0) opacity(1); }

/* ============================================================
   PROCESS TIMELINE (signature motif)
   ============================================================ */
.process { background: var(--surface); position: relative; }
.proc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 10px; counter-reset: step; }
.proc-step { position: relative; padding: 30px 22px 4px; }
.proc-step::before { /* connector line */
  content: ""; position: absolute; top: 46px; left: 0; right: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
}
.proc-step:first-child::before { left: 50%; }
.proc-step:last-child::before { right: 50%; }
.proc-node {
  position: relative; width: 48px; height: 48px; border-radius: 12px; background: #fff;
  border: 2px solid var(--ink); display: grid; place-items: center; z-index: 1;
  font-family: var(--font-mono); font-weight: 600; font-size: 15px; box-shadow: var(--shadow-sm);
}
.proc-step.active .proc-node { background: var(--primary); border-color: var(--primary); color: #fff; }
.proc-step h3 { font-size: 19px; margin-top: 20px; }
.proc-step p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.proc-step .proc-ic { position: absolute; top: 30px; right: 22px; opacity: .25; }
.proc-step .proc-ic svg { width: 22px; height: 22px; }

/* ============================================================
   GALLERY (large-small-small rhythm)
   ============================================================ */
.gallery { background: var(--ink-900); color: var(--on-dark); }
.gallery .section-head h2 { color: #fff; }
.gallery .section-head p { color: var(--on-dark-muted); }
.gal-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 200px; gap: 14px; grid-auto-flow: dense; }
.gal-item { position: relative; overflow: hidden; border-radius: var(--r); cursor: pointer; background: #1a2232; border: 1px solid var(--dark-border-2); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gal-item:hover img { transform: scale(1.07); }
.gal-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,11,18,.7)); opacity: 0; transition: opacity .3s; }
.gal-item:hover::after { opacity: 1; }
.gal-cap { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gal-item:hover .gal-cap { opacity: 1; transform: translateY(0); }
.gal-zoom { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.gal-item:hover .gal-zoom { opacity: 1; }
.gal-zoom svg { width: 16px; height: 16px; color: #fff; }
.g-a { grid-column: span 6; grid-row: span 2; }
.g-b { grid-column: span 3; grid-row: span 1; }
.g-c { grid-column: span 3; grid-row: span 1; }
.g-d { grid-column: span 3; grid-row: span 2; }
.g-e { grid-column: span 3; grid-row: span 1; }
.g-f { grid-column: span 6; grid-row: span 1; }
.g-g { grid-column: span 3; grid-row: span 1; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.about-media { position: relative; }
.about-media .am-main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about-media .am-main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .am-float {
  position: absolute; right: -14px; bottom: -22px; width: 46%; border-radius: 12px; overflow: hidden;
  border: 5px solid var(--surface); box-shadow: var(--shadow); aspect-ratio: 1/1;
}
.about-media .am-float img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { font-size: clamp(28px,4.5vw,42px); margin-top: 16px; }
.about-copy p { color: var(--muted); margin-top: 18px; font-size: 16.5px; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 30px; }
.about-stat { border: 1px solid var(--border); border-radius: var(--r); padding: 16px; background: #fff; }
.about-stat .as-n { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; }
.about-stat .as-n small { color: var(--primary); }
.about-stat .as-l { font-size: 12.5px; color: var(--muted); margin-top: 7px; }

/* ============================================================
   REVIEW BAND
   ============================================================ */
.review-band { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.review-band .container { position: relative; z-index: 1; }
.review-quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 4vw, 40px); line-height: 1.2; letter-spacing: -.02em; max-width: 18ch; }
.review-quote::before { content: "\201C"; }
.review-quote::after { content: "\201D"; }
.review-meta { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.review-stars { font-size: 20px; letter-spacing: 3px; color: var(--accent); }
.review-src { font-family: var(--font-mono); font-size: 13px; opacity: .9; }
.review-ghost { position: absolute; right: -30px; top: -40px; font-family: var(--font-display); font-weight: 700; font-size: clamp(200px, 34vw, 420px); line-height: 1; color: rgba(255,255,255,.08); z-index: 0; pointer-events: none; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px,4vw,48px); align-items: start; }
.info-rows { display: grid; gap: 2px; margin-top: 26px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.info-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: 0; }
.info-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; flex: none; }
.info-ic svg { width: 20px; height: 20px; color: var(--primary); }
.info-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-v { font-weight: 600; font-size: 16px; margin-top: 3px; }
.info-v a:hover { color: var(--primary); }
.info-row .go { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--primary); display: inline-flex; align-items: center; gap: 5px; }

.map-wrap { margin-top: 14px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--ink); position: relative; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
.map-flag { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(12,17,27,.78); backdrop-filter: blur(6px); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; padding: 7px 11px; border-radius: 7px; display: flex; align-items: center; gap: 7px; pointer-events: none; }

/* form */
.form-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px,3vw,32px); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 24px; }
.form-card .fsub { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink); display: flex; gap: 6px; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 12px 13px; border-radius: var(--r);
  border: 1px solid var(--border-strong); background: #fff; color: var(--text);
  transition: border-color .18s, box-shadow .18s; width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(42,111,219,.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(214,40,40,.12); }
.field .err { font-size: 12px; color: var(--primary); display: none; }
.field.invalid .err { display: block; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: inline-block; padding: 9px 14px; border-radius: 100px; border: 1px solid var(--border-strong); font-size: 13.5px; font-weight: 500; background: #fff; transition: all .16s; cursor: pointer; }
.chip-opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-foot { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.form-success { display: none; text-align: center; padding: 18px 6px; }
.form-success.show { display: block; animation: fadeUp .4s ease; }
.form-success .fs-ic { width: 62px; height: 62px; border-radius: 50%; background: rgba(43,182,115,.14); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .fs-ic svg { width: 30px; height: 30px; color: #1f9d63; }
.form-success h3 { font-size: 24px; }
.form-success p { color: var(--muted); margin-top: 10px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink-900); color: var(--on-dark); padding-block: clamp(46px,6vw,72px) 0; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--dark-border-2); }
.foot-brand { display: flex; align-items: center; gap: 13px; }
.foot-brand .brand-chip { background: #fff; }
.foot-brand .brand-name { color: #fff; }
.foot-about { color: var(--on-dark-muted); font-size: 14.5px; margin-top: 18px; max-width: 34ch; }
.foot-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 500; margin-bottom: 16px; }
.foot-col a, .foot-col p { display: block; color: var(--on-dark); font-size: 14.5px; padding: 6px 0; opacity: .9; }
.foot-col a:hover { opacity: 1; color: var(--accent); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; flex-wrap: wrap; }
.foot-bottom p { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-muted); }
.foot-bottom .disc { max-width: 60ch; }

/* ============================================================
   STICKY MOBILE ACTION BAR
   ============================================================ */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; background: rgba(12,17,27,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--dark-border); padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); }
.mobile-bar-inner { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mb-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px; border-radius: 9px; color: var(--on-dark); font-size: 11.5px; font-weight: 600; border: 1px solid transparent; }
.mb-btn svg { width: 20px; height: 20px; }
.mb-call { background: var(--primary); color: #fff; }
.mb-enq { background: var(--accent); color: var(--ink-900); }
.mb-dir { background: rgba(255,255,255,.07); border-color: var(--dark-border); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8,11,18,.93); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; animation: fadeUp .25s ease; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; transition: background .18s; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .dot::after { animation: none; } html { scroll-behavior: auto; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 460px; }
  .command-grid { grid-template-columns: repeat(2, 1fr); }
  .cmd-tile:nth-child(2) { border-right: 0; }
  .cmd-tile:nth-child(1), .cmd-tile:nth-child(2) { border-bottom: 1px solid var(--dark-border-2); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav, .header-call { display: none; }
  .menu-toggle { display: flex; }
  .svc-card, .svc-card.wide, .svc-feature { grid-column: span 6; }
  .proc-grid { grid-template-columns: 1fr 1fr; gap: 8px 18px; }
  .proc-step::before { display: none; }
  .proc-step { padding: 18px 4px; }
}
@media (max-width: 680px) {
  :root { --header-h: 62px; }
  body { padding-bottom: 76px; }
  .mobile-bar { display: block; }
  .hero h1 { font-size: clamp(36px, 11vw, 54px); }
  .hero-meta { gap: 18px; }
  .svc-grid { gap: 14px; }
  .svc-card, .svc-card.wide, .svc-feature { grid-column: 1 / -1; }
  .svc-feature { min-height: 220px; }
  .gal-grid { grid-auto-rows: 150px; }
  .g-a { grid-column: span 12; grid-row: span 2; }
  .g-b, .g-c, .g-d, .g-e, .g-f, .g-g { grid-column: span 6; grid-row: span 1; }
  .g-d { grid-row: span 2; }
  .proc-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stat { display: flex; align-items: baseline; gap: 12px; }
  .about-stat .as-l { margin-top: 0; }
  .about-media .am-float { width: 40%; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .review-quote { font-size: clamp(22px, 7vw, 32px); }
  .hero-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 14px; }
  .hero-badge { left: 10px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
@media (max-width: 380px) {
  .command-grid { grid-template-columns: 1fr; }
  .cmd-tile { border-right: 0 !important; border-bottom: 1px solid var(--dark-border-2); }
}
