/* ==========================================================================
   Dubai Maintenance Assist — styles.css
   Design system: petrol-teal + brass on cool architect's paper.
   Display: Bricolage Grotesque · Body: IBM Plex Sans · Utility: IBM Plex Mono
   Signature: the "Job Sheet" dispatch card.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --teal-900: #0a2e2c;
  --teal-800: #0c3a38;
  --teal-700: #0e4a48;
  --teal-600: #125e5a;
  --teal-500: #1a7670;
  --teal-300: #6ba8a4;

  --brass-600: #a8843a;
  --brass-500: #c9a24a;
  --brass-400: #d8b768;
  --brass-100: #f3e8cf;

  /* Neutrals */
  --ink: #16202a;          /* primary text — cool graphite */
  --ink-soft: #2c3842;
  --muted: #5c6770;        /* secondary text */
  --faint: #8a949c;
  --paper: #f6f7f8;        /* architect's paper */
  --paper-2: #edeff1;      /* panels */
  --paper-3: #e3e6e9;
  --line: #d9dee1;         /* hairlines */
  --line-strong: #c3cacf;
  --white: #ffffff;

  /* WhatsApp */
  --wa: #25d366;
  --wa-dark: #1da851;

  /* Type */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* Shape */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(16, 32, 40, 0.05), 0 1px 3px rgba(16, 32, 40, 0.06);
  --shadow-md: 0 6px 18px rgba(16, 32, 40, 0.08), 0 2px 6px rgba(16, 32, 40, 0.05);
  --shadow-lg: 0 18px 48px rgba(10, 46, 44, 0.16), 0 4px 12px rgba(16, 32, 40, 0.06);
  --shadow-teal: 0 14px 34px rgba(14, 74, 72, 0.32);

  /* Layout */
  --container: 1180px;
  --container-narrow: 880px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

ul, ol { padding-left: 1.1rem; }
li + li { margin-top: 0.35rem; }

:focus-visible {
  outline: 3px solid var(--brass-500);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--brass-500); color: var(--teal-900); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--teal-900);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
h4 { font-size: 1.12rem; font-weight: 600; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brass-500);
}
.eyebrow--center::before { display: none; }

.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.6rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.8rem, 5vw, 4rem); }
.section--teal { background: var(--teal-900); color: var(--paper); }
.section--teal h1, .section--teal h2, .section--teal h3 { color: var(--white); }
.section--teal .lead, .section--teal p { color: rgba(246, 247, 248, 0.84); }
.section--teal .eyebrow { color: var(--brass-400); }
.section--panel { background: var(--paper-2); }

.section-head { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.stack > * + * { margin-top: 1.1rem; }
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.7rem); }

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

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--teal-700);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.2s var(--ease), color 0.2s var(--ease);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--teal-700); --btn-fg: var(--white); box-shadow: var(--shadow-teal); }
.btn--primary:hover { --btn-bg: var(--teal-600); }
.btn--brass { --btn-bg: var(--brass-500); --btn-fg: var(--teal-900); }
.btn--brass:hover { --btn-bg: var(--brass-400); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--teal-800); border-color: var(--line-strong); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--white); border-color: var(--teal-700); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--teal-900); }
.btn--light:hover { --btn-bg: var(--paper-2); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255,255,255,0.4); box-shadow: none; }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,0.1); border-color: var(--white); }
.btn--whatsapp { --btn-bg: var(--wa); --btn-fg: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.34); }
.btn--whatsapp:hover { --btn-bg: var(--wa-dark); }
.btn--lg { padding: 1.1rem 1.85rem; font-size: 1.06rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.btn-row--center { justify-content: center; }

.text-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
}
.text-link svg { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.text-link:hover { text-decoration: none; }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 248, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: rgba(246, 247, 248, 0.94);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--teal-900);
  border-radius: 11px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(201, 162, 74, 0.55));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
  color: var(--teal-900);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
}

/* Nav */
.primary-nav { display: none; }
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.primary-nav a:hover { background: var(--paper-2); color: var(--teal-800); text-decoration: none; }
.primary-nav a[aria-current="page"] {
  color: var(--teal-800);
  background: var(--brass-100);
}

.header-actions { display: none; align-items: center; gap: 0.6rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--teal-900);
  text-decoration: none;
}
.header-phone svg { width: 1.05em; height: 1.05em; color: var(--brass-600); }
.header-phone small { display: block; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* Mobile toggle */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--teal-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 0.9rem var(--gutter) 1.3rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block;
  padding: 0.85rem 0.5rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.mobile-nav a[aria-current="page"] { color: var(--teal-800); }
.mobile-nav .btn { margin-top: 1rem; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 88% -8%, rgba(201, 162, 74, 0.16), transparent 60%),
    radial-gradient(700px 600px at 0% 100%, rgba(14, 74, 72, 0.08), transparent 55%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(620px 420px at 80% 18%, #000, transparent 75%);
  mask-image: radial-gradient(620px 420px at 80% 18%, #000, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}
.hero h1 { margin-bottom: 0.5rem; }
.hero h1 .accent { color: var(--teal-700); position: relative; }
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.22em;
  background: rgba(201, 162, 74, 0.4);
  z-index: -1;
}
.hero-lead { max-width: 54ch; }

.hero-meta {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-meta li::before { content: "●"; color: var(--brass-500); font-size: 0.7em; }

/* Hero dispatch card (signature) */
.dispatch-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  max-width: 440px;
  justify-self: start;
  width: 100%;
}
.dispatch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.1rem;
  background: var(--teal-900);
  color: var(--white);
}
.dispatch-head .ref { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--brass-400); }
.dispatch-head .status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dispatch-head .status::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brass-400);
  box-shadow: 0 0 0 0 rgba(216, 183, 104, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
.dispatch-body { padding: 1.1rem 1.3rem 1.3rem; }
.dispatch-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}
.dispatch-row:last-of-type { border-bottom: 0; }
.dispatch-row .k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dispatch-row .v { font-weight: 600; color: var(--ink); text-align: right; }
.dispatch-foot { margin-top: 0.9rem; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(216, 183, 104, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(216, 183, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 183, 104, 0); }
}

/* ---------- 8. Job Sheet card (signature component) ---------- */
.jobsheet {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.jobsheet::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-700), var(--teal-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.jobsheet:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  text-decoration: none;
}
.jobsheet:hover::before { transform: scaleX(1); }
.jobsheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}
.jobsheet-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--brass-600);
  background: var(--brass-100);
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.jobsheet-icon {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--teal-900);
  border-radius: 12px;
  color: var(--brass-400);
}
.jobsheet-icon svg { width: 24px; height: 24px; }
.jobsheet h3 { margin-bottom: 0.45rem; color: var(--teal-900); }
.jobsheet p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 1rem; }
.jobsheet .includes {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: 0.9rem;
}
.jobsheet .includes li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-soft);
}
.jobsheet .includes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-right: 2px solid var(--brass-500);
  border-bottom: 2px solid var(--brass-500);
  transform: rotate(45deg);
}
.jobsheet-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 9. Grids ---------- */
@media (min-width: 560px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 760px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--services { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--services { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 10. Stats / feature strip ---------- */
.stat {
  text-align: left;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--brass-500);
  letter-spacing: -0.03em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 247, 248, 0.7);
  margin-top: 0.5rem;
}
.section--teal .stat-num { color: var(--brass-400); }

/* Feature list */
.feature {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}
.feature-icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--teal-700);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.feature p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- 11. Process steps ---------- */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
}
.process-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.3rem 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.process-step .step-num {
  position: absolute;
  left: 1.1rem; top: 1.15rem;
  width: 2.4rem; height: 2.4rem;
  display: grid;
  place-items: center;
  background: var(--teal-900);
  color: var(--brass-400);
  border-radius: 9px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
}
.process-step h3 { margin: 0; font-size: 1.12rem; }
.process-step p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.process-step .step-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-600);
}
@media (min-width: 860px) {
  .process-list { grid-template-columns: repeat(4, 1fr); }
  .process-step { padding: 1.4rem 1.3rem; }
  .process-step .step-num { position: static; margin-bottom: 0.7rem; }
}

/* ---------- 12. Service areas chips ---------- */
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.area-chip:hover { background: rgba(255,255,255,0.12); border-color: var(--brass-500); transform: translateY(-2px); text-decoration: none; }
.area-chip svg { width: 0.95em; height: 0.95em; color: var(--brass-400); }

/* ---------- 13. FAQ accordion ---------- */
.faq-list { display: grid; gap: 0.75rem; max-width: var(--container-narrow); margin-inline: auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item.is-open { border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.15rem 1.3rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--teal-900);
  letter-spacing: -0.01em;
}
.faq-q .faq-toggle {
  flex: none;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--teal-700);
  transition: transform 0.3s var(--ease), background 0.2s var(--ease);
}
.faq-item.is-open .faq-toggle { transform: rotate(45deg); background: var(--brass-100); color: var(--brass-600); }
.faq-q .faq-toggle svg { width: 16px; height: 16px; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a-inner { padding: 0 1.3rem 1.3rem; color: var(--ink-soft); }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ---------- 14. CTA band ---------- */
.cta-band {
  background: var(--teal-900);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-teal);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(201, 162, 74, 0.22), transparent 60%),
    radial-gradient(400px 300px at -5% 110%, rgba(26, 118, 112, 0.5), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band p { color: rgba(246, 247, 248, 0.85); max-width: 52ch; }
.cta-band .ref-line {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.cta-band .ref-line::before { content: ""; width: 24px; height: 2px; background: var(--brass-500); }

/* ---------- 15. Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 620px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field .req { color: var(--brass-600); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 118, 112, 0.14);
}
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.4rem 0;
}
.form-divider::before, .form-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}

/* Contact info panel */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.info-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.info-item:last-child { border-bottom: 0; }
.info-item .ico {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--teal-900);
  border-radius: 10px;
  color: var(--brass-400);
}
.info-item .ico svg { width: 20px; height: 20px; }
.info-item .k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.info-item .v { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.info-item .v a { color: var(--ink); }

/* Map-style area block */
.area-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--teal-900);
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--paper);
}
.area-map .map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 38px 38px;
}
.area-map .pin {
  position: relative;
  width: 52px; height: 52px;
  background: var(--brass-500);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.3);
}
.area-map .pin svg { width: 24px; height: 24px; color: var(--teal-900); transform: rotate(45deg); }
.area-map .map-content { position: relative; }

/* ---------- 16. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--teal-900);
  color: var(--paper);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 360px at 92% 0%, rgba(201, 162, 74, 0.2), transparent 62%),
    radial-gradient(500px 400px at -10% 120%, rgba(26, 118, 112, 0.45), transparent 60%);
}
.page-hero .map-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(700px 380px at 85% 0%, #000, transparent 78%);
  mask-image: radial-gradient(700px 380px at 85% 0%, #000, transparent 78%);
}
.page-hero-inner {
  position: relative;
  padding-block: clamp(2.6rem, 6vw, 4.2rem);
}
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(246, 247, 248, 0.86); }

/* Breadcrumb */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(246, 247, 248, 0.66);
  margin-bottom: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumb a { color: var(--brass-400); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb [aria-current="page"] { color: var(--paper); }

/* ---------- 17. Two-column content blocks ---------- */
.split {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.25fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.25fr; }
}

.media-card {
  background: var(--teal-900);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(360px 240px at 100% 0%, rgba(201,162,74,0.2), transparent 60%),
    radial-gradient(300px 260px at 0% 100%, rgba(26,118,112,0.5), transparent 60%);
}
.media-card > * { position: relative; }
.media-card .jobsheet-num { background: rgba(201,162,74,0.18); color: var(--brass-400); }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.checklist li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.28em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-900);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 5px; top: 0.6em;
  width: 5px; height: 9px;
  border-right: 2px solid var(--brass-400);
  border-bottom: 2px solid var(--brass-400);
  transform: rotate(45deg);
}
.section--teal .checklist li { color: rgba(246,247,248,0.88); }
.section--teal .checklist li::before { background: var(--brass-500); }
.section--teal .checklist li::after { border-color: var(--teal-900); }

/* Values cards */
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .jobsheet-icon { margin-bottom: 1rem; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* Service detail section */
.service-detail {
  display: grid;
  gap: 1.3rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  height: 100%;
}
.service-detail .sd-head { display: flex; align-items: center; gap: 0.9rem; }
.service-detail .jobsheet-icon { width: 54px; height: 54px; border-radius: 13px; }
.service-detail .jobsheet-icon svg { width: 28px; height: 28px; }
.service-detail .sd-head h2, .service-detail .sd-head h3 { margin: 0; }
.service-detail .sd-grid { display: grid; gap: 1.2rem; }
@media (min-width: 540px) { .service-detail .sd-grid { grid-template-columns: 1fr 1fr; } }
.service-detail .sd-block h4 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-600); margin-bottom: 0.6rem; }
.service-detail .sd-block .includes { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.service-detail .sd-block .includes li { position: relative; padding-left: 1.3rem; color: var(--ink-soft); margin-bottom: 0.3rem; }
.service-detail .sd-block .includes li::before { content: "—"; position: absolute; left: 0; color: var(--brass-500); }

/* ---------- 18. Footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: rgba(246, 247, 248, 0.8);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-700), var(--brass-500), var(--teal-700));
}
.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
}
@media (min-width: 680px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 940px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.footer-brand .brand-name { color: var(--white); }
.footer-brand p { color: rgba(246,247,248,0.7); font-size: 0.95rem; max-width: 34ch; margin-top: 1rem; }
.footer-affil {
  margin-top: 1.3rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: rgba(246,247,248,0.78);
}
.footer-affil strong { color: var(--brass-400); }
.footer-affil a { color: var(--brass-400); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: rgba(246,247,248,0.78); text-decoration: none; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--brass-400); text-decoration: none; }

.footer-contact .v { color: var(--white); font-weight: 600; }
.footer-contact .v a { color: var(--white); }
.footer-contact a:hover { color: var(--brass-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: rgba(246,247,248,0.58);
}
.footer-bottom .footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer-bottom a { color: rgba(246,247,248,0.58); text-decoration: none; }
.footer-bottom a:hover { color: var(--brass-400); }

/* ---------- 19. Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.6rem; }
.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1.2rem; }
.hide-on-mobile { display: none; }
@media (min-width: 860px) { .hide-on-mobile { display: revert; } .hide-on-desktop { display: none; } }
.nowrap { white-space: nowrap; }

/* ---------- 20. Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }

/* ---------- 21. Responsive header ---------- */
@media (min-width: 880px) {
  .primary-nav { display: block; }
  .header-actions { display: flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1.25fr 0.9fr;
    align-items: center;
  }
  .dispatch-card { justify-self: end; }
}

/* ---------- 22. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 23. Print ---------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .cta-band, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
