/* ==========================================================================
   Dubai Repair Masters — styles.css
   Design thesis: warm/cool duality. Brass (Dubai gold, electrical spark,
   craftsmanship) against teal (the cool air of AC, the water of plumbing).
   A maintenance company fixes the hot and the cool. Everything derives
   from this. Dark/light sections alternate as a "hot → cool" rhythm.
   ========================================================================== */

/* ----------------------------------- Tokens ------------------------------ */
:root {
  /* Surfaces — cool, not warm (deliberately avoiding the cream default) */
  --ink: #0d1117;
  --ink-2: #11171f;
  --steel: #161d27;
  --steel-2: #1e2632;
  --paper: #f6f7f9;
  --paper-2: #eceef3;

  /* Lines */
  --line-dark: rgba(231, 236, 242, 0.10);
  --line-dark-strong: rgba(231, 236, 242, 0.18);
  --line-light: #e1e6ed;

  /* Brand accents — the warm/cool pair */
  --brass: #c9a24b;
  --brass-bright: #e2c074;
  --brass-soft: rgba(201, 162, 75, 0.14);
  --teal: #1fb6a6;
  --teal-bright: #38d0bf;
  --teal-soft: rgba(31, 182, 166, 0.14);
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  /* Text */
  --text-dark: #e8edf3;
  --text-dark-mute: #9aa6b4;
  --text-light: #161d27;
  --text-light-mute: #5a6573;

  /* Typefaces */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, "Roboto Mono", monospace;

  /* Type scale (fluid) */
  --fs-h1: clamp(2.3rem, 5.2vw, 4.1rem);
  --fs-h2: clamp(1.75rem, 3.6vw, 2.7rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1.6vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

  /* Spacing */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.42s;

  --shadow-soft: 0 18px 50px -28px rgba(0, 0, 0, 0.55);
  --header-h: 72px;
}

/* ----------------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 3px; }

/* --------------------------------- Layout -------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--ink); color: var(--text-dark); }
.section--steel { background: var(--steel); color: var(--text-dark); }
.section--paper { background: var(--paper); color: var(--text-light); }
.section--paper h2, .section--paper h3, .section--paper h4 { color: var(--text-light); }

/* Subtle grid texture on dark sections */
.section--dark::before, .hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 10%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.section--dark > *, .section--steel > *, .hero > * { position: relative; z-index: 1; }

/* --------------------------------- Typography ---------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p { color: inherit; }
.section--dark p, .section--steel p { color: var(--text-dark-mute); }
.section--paper p { color: var(--text-light-mute); }

.lead { font-size: var(--fs-lead); line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: var(--brass); display: inline-block;
}
.section--paper .eyebrow { color: var(--brass); }
.eyebrow--teal { color: var(--teal); }
.eyebrow--teal::before { background: var(--teal); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
h2 + p { margin-top: 1rem; }

/* Links inline */
.text-link {
  color: var(--teal-bright); font-weight: 600;
  border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease);
}
.text-link:hover { border-color: currentColor; }
.section--paper .text-link { color: var(--teal); }

/* --------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.95rem 1.6rem; border-radius: 999px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border: 1.5px solid transparent; white-space: nowrap; line-height: 1;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--brass { background: var(--brass); color: #1a1206; box-shadow: 0 14px 30px -14px rgba(201, 162, 75, 0.7); }
.btn--brass:hover { background: var(--brass-bright); }
.btn--teal { background: var(--teal); color: #04201d; box-shadow: 0 14px 30px -14px rgba(31, 182, 166, 0.7); }
.btn--teal:hover { background: var(--teal-bright); }
.btn--ghost { background: transparent; color: var(--text-dark); border-color: var(--line-dark-strong); }
.btn--ghost:hover { border-color: var(--text-dark); background: rgba(255,255,255,0.04); }
.btn--ghost-light { background: transparent; color: var(--text-light); border-color: var(--line-light); }
.btn--ghost-light:hover { border-color: var(--text-light); background: rgba(0,0,0,0.03); }
.btn--whatsapp { background: var(--whatsapp); color: #04250f; box-shadow: 0 14px 30px -14px rgba(37, 211, 102, 0.65); }
.btn--whatsapp:hover { background: var(--whatsapp-dark); }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* --------------------------------- Header -------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 17, 23, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.scrolled { background: rgba(13, 17, 23, 0.94); border-bottom-color: var(--line-dark); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1.5rem;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--text-dark); }
.brand-sub { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }

/* Nav */
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  font-size: 0.94rem; font-weight: 600; color: var(--text-dark-mute);
  padding: 0.5rem 0.85rem; border-radius: 999px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav a:hover { color: var(--text-dark); background: rgba(255,255,255,0.05); }
.nav a[aria-current="page"] { color: var(--text-dark); background: var(--brass-soft); }
.nav a[aria-current="page"]::before { content: ""; }
.nav-affil { color: var(--teal-bright) !important; }
.nav-affil:hover { background: var(--teal-soft) !important; }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.call-btn {
  display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center;
  padding: 0.35rem 1rem 0.35rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line-dark-strong); background: rgba(255,255,255,0.03);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.call-btn:hover { border-color: var(--brass); background: var(--brass-soft); }
.call-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dark-mute); }
.call-num { font-family: var(--font-mono); font-weight: 600; font-size: 0.95rem; color: var(--text-dark); letter-spacing: 0.01em; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line-dark-strong); flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------- Hero ---------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero::after {
  /* warm/cool dual glow — the design thesis */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(201,162,75,0.20), transparent 60%),
    radial-gradient(55% 60% at 8% 92%, rgba(31,182,166,0.16), transparent 62%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-title { font-size: var(--fs-h1); letter-spacing: -0.025em; }
.hero-title .accent-brass { color: var(--brass-bright); }
.hero-title .accent-teal { color: var(--teal-bright); }
.hero-lead { margin-top: 1.4rem; max-width: 34ch; color: var(--text-dark-mute); }
.hero-cta { margin-top: 2rem; }
.hero-meta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2.25rem; }
.hero-meta .metric { display: flex; flex-direction: column; }
.hero-meta .num { font-family: var(--font-display); font-weight: 600; font-size: 1.65rem; color: var(--text-dark); }
.hero-meta .lbl { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dark-mute); }

/* Dispatch panel — the signature */
.dispatch {
  background: linear-gradient(160deg, var(--steel-2), var(--steel));
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-soft);
  position: relative; overflow: hidden;
}
.dispatch::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), var(--teal), transparent);
}
.dispatch-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.1rem; border-bottom: 1px dashed var(--line-dark); }
.dispatch-id { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dark-mute); }
.dispatch-status { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-bright); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 0 rgba(56,208,191,0.7); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56,208,191,0.55); }
  70% { box-shadow: 0 0 0 11px rgba(56,208,191,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,208,191,0); }
}
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }

.dispatch-title { font-size: 1.35rem; margin: 1.2rem 0 0.35rem; }
.dispatch-sub { font-size: 0.92rem; color: var(--text-dark-mute); margin-bottom: 1.4rem; }
.dispatch-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  padding: 0.4rem 0.7rem; border-radius: 7px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark);
  color: var(--text-dark); display: inline-flex; align-items: center; gap: 0.4rem;
}
.tag .dot { width: 6px; height: 6px; border-radius: 50%; }
.tag .dot.b { background: var(--brass); }
.tag .dot.t { background: var(--teal); }

.dispatch-readout { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-bottom: 1.5rem; }
.readout-cell { background: rgba(0,0,0,0.22); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); padding: 0.85rem 0.95rem; }
.readout-cell .k { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dark-mute); }
.readout-cell .v { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text-dark); margin-top: 0.2rem; }
.readout-cell .v.brass { color: var(--brass-bright); }
.readout-cell .v.teal { color: var(--teal-bright); }

.dispatch-actions { display: flex; gap: 0.6rem; }
.dispatch-actions .btn { flex: 1; }

/* ------------------------------- Cards / grids --------------------------- */
.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.6rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--steel);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 1.85rem);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  position: relative; overflow: hidden;
  height: 100%;
}
.section--paper .card { background: #fff; border-color: var(--line-light); }
.card:hover { transform: translateY(-4px); border-color: var(--brass); }
.section--paper .card:hover { border-color: var(--brass); }

.card-icon {
  width: 46px; height: 46px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brass-soft); color: var(--brass-bright);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon.teal { background: var(--teal-soft); color: var(--teal-bright); }
.card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.96rem; }
.card-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.1rem; font-weight: 600; font-size: 0.9rem; color: var(--teal-bright); }
.section--paper .card-link { color: var(--teal); }
.card-link svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Numbered index on cards */
.card .idx { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--text-dark-mute); }
.section--paper .card .idx { color: var(--text-light-mute); }

/* Service mini-tags */
.mini-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.mini-tags span { font-family: var(--font-mono); font-size: 0.68rem; padding: 0.25rem 0.55rem; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); color: var(--text-dark-mute); }
.section--paper .mini-tags span { background: var(--paper-2); border-color: var(--line-light); color: var(--text-light-mute); }

/* ------------------------------- Feature split --------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--narrow-text .split-text { max-width: 44ch; }

/* Check list */
.check-list { display: grid; gap: 0.8rem; margin-top: 1.5rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.98rem; }
.check-list .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--teal-soft); color: var(--teal-bright); margin-top: 0.1rem; }
.section--paper .check-list .tick { background: var(--teal-soft); }
.check-list .tick svg { width: 13px; height: 13px; }

/* --------------------------------- Process ------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.4rem); counter-reset: step; }
.step { position: relative; padding-top: 0.5rem; }
.step-num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--brass); margin-bottom: 0.8rem; display: block; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; }
.step-line { position: absolute; top: 0.6rem; right: -0.7rem; width: 1px; height: calc(100% - 1rem); background: var(--line-dark-strong); }
.step:last-child .step-line { display: none; }

/* ------------------------------- Service areas --------------------------- */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.area-chip {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1rem; border-radius: var(--radius-sm);
  background: var(--steel); border: 1px solid var(--line-dark);
  font-size: 0.92rem; font-weight: 600; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.area-chip:hover { border-color: var(--teal); transform: translateY(-2px); }
.area-chip svg { width: 15px; height: 15px; color: var(--teal-bright); flex: none; }

/* ------------------------------- CTA band -------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink-2); border-block: 1px solid var(--line-dark); }
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 80% 50%, rgba(201,162,75,0.16), transparent 70%),
              radial-gradient(45% 80% at 15% 50%, rgba(31,182,166,0.12), transparent 70%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: clamp(2.5rem, 5vw, 3.75rem); position: relative; z-index: 1; }
.cta-inner h2 { max-width: 16ch; }
.cta-inner p { margin-top: 0.6rem; color: var(--text-dark-mute); max-width: 40ch; }

/* --------------------------------- FAQ ----------------------------------- */
.faq-list { display: grid; gap: 0.8rem; max-width: 880px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: var(--steel); overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.section--paper .faq-item { background: #fff; border-color: var(--line-light); }
.faq-item:hover { border-color: var(--line-dark-strong); }
.section--paper .faq-item:hover { border-color: #cfd6df; }
.faq-item.open { border-color: var(--brass); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left; padding: 1.15rem 1.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; color: var(--text-dark);
}
.section--paper .faq-q { color: var(--text-light); }
.faq-q .toggle { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-dark-strong); display: inline-flex; align-items: center; justify-content: center; position: relative; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.section--paper .faq-q .toggle { border-color: var(--line-light); }
.faq-q .toggle::before, .faq-q .toggle::after { content: ""; position: absolute; background: var(--text-dark-mute); border-radius: 1px; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.section--paper .faq-q .toggle::before, .section--paper .faq-q .toggle::after { background: var(--text-light-mute); }
.faq-q .toggle::before { width: 11px; height: 2px; }
.faq-q .toggle::after { width: 2px; height: 11px; }
.faq-item.open .faq-q .toggle { background: var(--brass); border-color: var(--brass); }
.faq-item.open .faq-q .toggle::before, .faq-item.open .faq-q .toggle::after { background: #1a1206; }
.faq-item.open .faq-q .toggle::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: var(--text-dark-mute); }
.section--paper .faq-a-inner { color: var(--text-light-mute); }
.faq-a-inner p + p { margin-top: 0.7rem; }

/* --------------------------------- Values -------------------------------- */
.value-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius); background: var(--steel); border: 1px solid var(--line-dark); }
.section--paper .value-card { background: #fff; border-color: var(--line-light); }
.value-card .vi { flex: none; width: 44px; height: 44px; border-radius: 11px; background: var(--teal-soft); color: var(--teal-bright); display: inline-flex; align-items: center; justify-content: center; }
.value-card .vi svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.value-card p { font-size: 0.94rem; }

/* ------------------------------- Service detail -------------------------- */
.service-block { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-block: clamp(2.2rem, 4vw, 3.2rem); border-top: 1px solid var(--line-light); }
.service-block:first-of-type { border-top: none; }
.service-block:nth-child(even) .service-body { order: -1; }
.service-head .card-icon { width: 54px; height: 54px; border-radius: 14px; margin-bottom: 1.2rem; }
.service-head .card-icon svg { width: 28px; height: 28px; }
.service-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.service-head .eyebrow { margin-bottom: 0.7rem; }
.service-head p { margin-top: 0.9rem; }
.service-body h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light-mute); margin-bottom: 0.7rem; }
.service-body h4:not(:first-child) { margin-top: 1.6rem; }
.service-body ul.plain { display: grid; gap: 0.55rem; }
.service-body ul.plain li { display: flex; gap: 0.6rem; font-size: 0.96rem; color: var(--text-light-mute); }
.service-body ul.plain li::before { content: "—"; color: var(--brass); flex: none; }

.callout-when {
  margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  background: var(--teal-soft); border-left: 3px solid var(--teal);
  font-size: 0.92rem; color: var(--text-light);
}
.callout-when strong { color: var(--teal); }

/* --------------------------------- Contact ------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-card { background: var(--steel); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); }
.contact-row:first-child { padding-top: 0; }
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-row .ci { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--brass-soft); color: var(--brass-bright); display: inline-flex; align-items: center; justify-content: center; }
.contact-row .ci svg { width: 20px; height: 20px; }
.contact-row .ck { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dark-mute); }
.contact-row .cv { font-size: 1.02rem; font-weight: 600; color: var(--text-dark); }
.contact-row .cv a { color: var(--text-dark); }
.contact-row .cv a:hover { color: var(--teal-bright); }

/* Form */
.form-card { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); color: var(--text-light); }
.form-card h2 { color: var(--text-light); }
.form-card p { color: var(--text-light-mute); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light-mute); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-light); background: var(--paper);
  font-size: 0.98rem; color: var(--text-light);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.form-note { font-size: 0.82rem; color: var(--text-light-mute); margin-top: 0.9rem; }

/* Map-style area block */
.map-block {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(160deg, var(--steel-2), var(--ink-2));
  position: relative;
}
.map-grid-overlay {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0;
}
.map-visual { position: relative; min-height: 320px; overflow: hidden; }
.map-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
}
.map-pin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem; z-index: 2;
}
.map-pin .pulse-ring { width: 18px; height: 18px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 0 rgba(201,162,75,0.6); animation: pulse-brass 2.6s infinite; }
@keyframes pulse-brass { 0% { box-shadow: 0 0 0 0 rgba(201,162,75,0.5);} 70% { box-shadow: 0 0 0 16px rgba(201,162,75,0);} 100% { box-shadow: 0 0 0 0 rgba(201,162,75,0);} }
@media (prefers-reduced-motion: reduce) { .map-pin .pulse-ring { animation: none; } }
.map-pin .label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-bright); background: rgba(13,17,23,0.7); padding: 0.3rem 0.6rem; border-radius: 6px; border: 1px solid var(--line-dark-strong); }
.map-info { padding: clamp(1.75rem, 3vw, 2.5rem); }
.map-info h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.map-info p { color: var(--text-dark-mute); font-size: 0.96rem; }
.map-info .areas-inline { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.map-info .areas-inline span { font-family: var(--font-mono); font-size: 0.7rem; padding: 0.3rem 0.6rem; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); color: var(--text-dark-mute); }

/* --------------------------------- Footer -------------------------------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-dark); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: 3rem; }
.footer-brand .brand { margin-bottom: 1.1rem; }
.footer-brand p { color: var(--text-dark-mute); font-size: 0.94rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { color: var(--text-dark-mute); font-size: 0.94rem; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--text-dark); }
.footer-affil { padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); background: var(--steel); border: 1px solid var(--line-dark); margin-top: 1.2rem; }
.footer-affil .fk { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dark-mute); }
.footer-affil .fv { font-size: 0.92rem; margin-top: 0.3rem; }
.footer-affil .fv a { color: var(--teal-bright); font-weight: 600; }

.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.84rem; color: var(--text-dark-mute); font-family: var(--font-mono); letter-spacing: 0.02em; }
.footer-bottom .fb-links { display: flex; gap: 1.2rem; }
.footer-bottom .fb-links a { font-size: 0.84rem; color: var(--text-dark-mute); }
.footer-bottom .fb-links a:hover { color: var(--text-dark); }

/* --------------------------------- Breadcrumbs --------------------------- */
.breadcrumbs { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-dark-mute); display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--brass); }
.breadcrumbs span.sep { opacity: 0.5; }
.breadcrumbs span[aria-current] { color: var(--text-dark-mute); }

/* --------------------------------- Page hero ----------------------------- */
.page-hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.page-hero .lead { max-width: 60ch; }

/* --------------------------------- Reveal -------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------- Utilities ------------------------------- */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.text-brass { color: var(--brass-bright); }
.text-teal { color: var(--teal-bright); }
.mono { font-family: var(--font-mono); }
.divider-rule { height: 1px; background: var(--line-dark); margin-block: clamp(2rem, 4vw, 3rem); }
.section--paper .divider-rule { background: var(--line-light); }

/* ------------------------------- Responsive ------------------------------ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-line { display: none; }
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-body { order: 0; }
  .map-grid-overlay { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav, .call-btn { display: none; }
  .nav-toggle { display: flex; }
  /* Mobile nav drawer */
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--ink); padding: 1.5rem var(--gutter) 2rem;
    gap: 0.25rem; overflow-y: auto; border-top: 1px solid var(--line-dark);
  }
  .nav.open a { padding: 0.95rem 0.5rem; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--line-dark); }
  .nav.open a[aria-current="page"] { background: transparent; }
  .nav.open a:hover { background: transparent; padding-left: 1rem; }
  .header-cta { gap: 0.4rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .dispatch-readout { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .areas-grid { grid-template-columns: 1fr; }
  .dispatch-actions { flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
}
