/* ==========================================================================
   Dubai House Fix — stylesheet
   Blueprint-ink + hi-vis amber. Built mobile-first. No framework.
   Type: Space Grotesk (display) · Manrope (body) · Space Mono (labels)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* palette */
  --ink: #0e1a2b;
  --ink-2: #16263a;
  --ink-3: #1e3350;
  --steel: #475569;
  --steel-soft: #64748b;
  --sand: #f6f2ea;
  --sand-2: #efe8db;
  --paper: #ffffff;
  --line: #e4ddcf;
  --line-soft: #ece6d8;
  --amber: #ffb200;
  --amber-deep: #e89400;
  --amber-ink: #5a3c00;
  --wa: #25d366;
  --wa-deep: #1da851;
  --white: #ffffff;
  --white-75: rgba(255, 255, 255, 0.75);
  --white-60: rgba(255, 255, 255, 0.60);
  --white-12: rgba(255, 255, 255, 0.12);
  --white-08: rgba(255, 255, 255, 0.08);
  --ink-06: rgba(14, 26, 43, 0.06);
  --ink-10: rgba(14, 26, 43, 0.10);

  /* type */
  --f-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "Space Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;

  /* scale (fluid) */
  --s-h1: clamp(2.5rem, 6vw, 4.5rem);
  --s-h2: clamp(1.85rem, 4vw, 2.85rem);
  --s-h3: clamp(1.25rem, 2.4vw, 1.5rem);
  --s-lead: clamp(1.0625rem, 1.6vw, 1.25rem);
  --s-body: 1.0625rem;
  --s-small: 0.875rem;
  --s-mono: 0.8125rem;

  /* layout */
  --wrap: 1200px;
  --gut: clamp(1.15rem, 4vw, 2rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);
  --section-y-tight: clamp(2.75rem, 5vw, 4.5rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.4s;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

input, textarea, select { font: inherit; color: inherit; }

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

::selection { background: var(--amber); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-tight); }
.section--ink { background: var(--ink); color: var(--white-75); }
.section--sand { background: var(--sand); }
.section--ink-2 { background: var(--ink-2); color: var(--white-75); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section--ink .section-head,
.section--ink-2 .section-head { color: var(--white-75); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--s-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.section--ink .eyebrow,
.section--ink-2 .eyebrow { color: var(--amber); }
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: currentColor;
  display: inline-block;
}
.section-head--center .eyebrow::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section--ink h1, .section--ink h2, .section--ink h3,
.section--ink-2 h1, .section--ink-2 h2, .section--ink-2 h3 { color: var(--white); }

h2 { font-size: var(--s-h2); }
h3 { font-size: var(--s-h3); letter-spacing: -0.01em; }
.section-head h2 { margin-bottom: 0.85rem; }

.lead {
  font-size: var(--s-lead);
  line-height: 1.6;
  color: var(--steel);
  font-weight: 400;
}
.section--ink .lead, .section--ink-2 .lead { color: var(--white-75); }

p { color: var(--steel); }
.section--ink p, .section--ink-2 p { color: var(--white-75); }

.mono { font-family: var(--f-mono); }
.text-amber { color: var(--amber-deep); }
.section--ink .text-amber, .section--ink-2 .text-amber { color: var(--amber); }
.muted { color: var(--steel-soft); }

mark.hl {
  background: linear-gradient(180deg, transparent 58%, var(--amber) 58%);
  color: inherit;
  padding: 0 0.1em;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-amber { --btn-bg: var(--amber); --btn-fg: var(--amber-ink); border-color: var(--amber); }
.btn-amber:hover {
  --btn-bg: var(--amber-deep);
  box-shadow: 0 14px 30px -10px rgba(255, 178, 0, 0.6);
}

.btn-ink { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn-ink:hover { --btn-bg: var(--ink-2); box-shadow: 0 14px 30px -14px rgba(14,26,43,0.55); }

.btn-wa { --btn-bg: var(--wa); --btn-fg: #053d1f; border-color: var(--wa); }
.btn-wa:hover { --btn-bg: var(--wa-deep); box-shadow: 0 14px 30px -10px rgba(37,211,102,0.55); }

.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--ink-10);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.section--ink .btn-ghost,
.section--ink-2 .btn-ghost { --btn-fg: var(--white); border-color: var(--white-12); }
.section--ink .btn-ghost:hover,
.section--ink-2 .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn-sm { padding: 0.7rem 1.1rem; font-size: 0.9rem; }
.btn-lg { padding: 1.1rem 1.85rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-arrow:hover { gap: 0.75rem; color: var(--amber-deep); }
.section--ink .link-arrow, .section--ink-2 .link-arrow { color: var(--white); }
.section--ink .link-arrow:hover, .section--ink-2 .link-arrow:hover { color: var(--amber); }
.link-arrow svg { width: 1rem; height: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 234, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(14, 26, 43, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1.5px var(--amber);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text span { color: var(--amber-deep); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav a {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--ink);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  position: relative;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav a:hover { color: var(--amber-deep); background: var(--sand-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.header-phone {
  font-family: var(--f-mono);
  font-size: 0.92rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.2rem;
}
.header-phone:hover { color: var(--amber-deep); }
.header-phone svg { width: 16px; height: 16px; color: var(--amber-deep); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white-75);
  overflow: hidden;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
/* blueprint grid signature */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 178, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 178, 0, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 75% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 75% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -180px;
  background: radial-gradient(circle, rgba(255, 178, 0, 0.18), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--f-mono);
  font-size: var(--s-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255,178,0,0.2);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,178,0,0.18); }
  50% { box-shadow: 0 0 0 9px rgba(255,178,0,0); }
}
.hero h1 {
  color: var(--white);
  font-size: var(--s-h1);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.35rem;
}
.hero h1 .amberword { color: var(--amber); }
.hero-lead {
  font-size: var(--s-lead);
  color: var(--white-75);
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.25rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--white-12);
}
.hero-meta .item .num {
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-meta .item .lbl {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-60);
  margin-top: 0.4rem;
}

/* hero card — work-order panel */
.hero-card {
  background: linear-gradient(160deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--white-12);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero-card > * { position: relative; }
.workorder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-60);
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px dashed var(--white-12);
}
.workorder-head .badge {
  background: var(--amber);
  color: var(--amber-ink);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.workorder-list { display: grid; gap: 0.55rem; margin-bottom: 1.4rem; }
.workorder-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white-75);
  font-size: 0.97rem;
}
.workorder-list li svg {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--amber);
}
.workorder-cta { display: grid; gap: 0.6rem; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.section--sand .card { background: var(--paper); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(14, 26, 43, 0.28);
  border-color: var(--sand-2);
}

/* service cards — spec sheet */
.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem 1.6rem;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 55px -30px rgba(14, 26, 43, 0.35);
  border-color: var(--sand-2);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card .code {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--steel-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.service-card .code .stat {
  color: var(--amber-deep);
  font-weight: 700;
}
.service-card .ico {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--sand);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  color: var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.service-card:hover .ico { background: var(--amber); color: var(--amber-ink); }
.service-card .ico svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 0.55rem; }
.service-card p { font-size: 0.97rem; color: var(--steel); margin-bottom: 1rem; }
.service-card .when {
  font-size: 0.85rem;
  color: var(--ink);
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.service-card .when b { font-family: var(--f-mono); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-soft); display: block; margin-bottom: 0.15rem; }

/* ---------- Features / why ---------- */
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--sand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--amber-deep);
}
.section--ink .feature .ico, .section--ink-2 .feature .ico {
  background: var(--white-08);
  color: var(--amber);
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.feature p { font-size: 0.95rem; }

/* ---------- Steps / process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.5rem 1.1rem;
  border: 1px solid var(--white-12);
  border-radius: var(--radius);
  background: var(--ink-2);
}
.step .num {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--amber);
  display: block;
  margin-bottom: 0.85rem;
}
.step h3 { color: var(--white); font-size: 1.08rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--white-75); }
.step::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.6rem;
  width: 0.5rem; height: 0.5rem;
  border-top: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.5;
}
.step:last-child::before { display: none; }

/* ---------- Service areas ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 1rem;
}
.area-grid li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.5rem;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.area-grid li svg { width: 15px; height: 15px; color: var(--amber-deep); flex-shrink: 0; }

/* ---------- Stats band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-band .stat .num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-band .stat .num span { color: var(--amber); }
.stat-band .stat .lbl {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-60);
  margin-top: 0.55rem;
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.section--sand .faq-item { background: var(--paper); }
.faq-item.open { border-color: var(--amber); box-shadow: 0 18px 40px -28px rgba(14,26,43,0.3); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  text-align: left;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-q .icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.faq-item.open .faq-q .icon { background: var(--amber); }
.faq-q .icon::before,
.faq-q .icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}
.faq-q .icon::before { width: 12px; height: 2px; }
.faq-q .icon::after { width: 2px; height: 12px; }
.faq-item.open .faq-q .icon::after { transform: rotate(90deg); opacity: 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(--steel); }
.faq-a-inner p + p { margin-top: 0.7rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 178, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 178, 0, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 120%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 120%, #000, transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: var(--white-75); max-width: 560px; margin: 0 auto 1.8rem; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }
.cta-phone {
  font-family: var(--f-mono);
  color: var(--white-75);
  margin-top: 1.4rem;
  font-size: 0.9rem;
}
.cta-phone a { color: var(--amber); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact-methods { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.contact-method {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.contact-method:hover { border-color: var(--amber); transform: translateX(3px); }
.contact-method .ico {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: var(--sand);
  color: var(--amber-deep);
}
.contact-method .ico svg { width: 22px; height: 22px; }
.contact-method .lbl { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-soft); }
.contact-method .val { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-soft);
  margin-bottom: 0.45rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--paper);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--steel-soft); margin-top: 0.85rem; }

/* ---------- Map / area block ---------- */
.map-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, var(--ink-2), var(--ink-3));
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
  padding: 2.5rem;
}
.map-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.map-block > * { position: relative; }
.map-pin {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--amber);
  display: grid; place-items: center;
  margin: 0 auto 1.1rem;
  color: var(--amber-ink);
  box-shadow: 0 0 0 10px rgba(255,178,0,0.18);
  animation: pulse 2.6s var(--ease) infinite;
}
.map-pin svg { width: 30px; height: 30px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--white-75);
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.75rem, 6vw, 4.5rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 178, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 178, 0, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 90% at 85% 20%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 85% 20%, #000 25%, transparent 75%);
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  right: -150px; top: -160px;
  background: radial-gradient(circle, rgba(255,178,0,0.15), transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; max-width: 860px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.page-hero p { color: var(--white-75); font-size: var(--s-lead); max-width: 620px; }

/* breadcrumb */
.breadcrumb {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--white-60);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--white-75); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { opacity: 0.5; }
.breadcrumb [aria-current="page"] { color: var(--amber); }

/* ---------- Service detail (services page) ---------- */
.svc {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.svc:last-of-type { border-bottom: 0; }
.svc.reverse .svc-media { order: 2; }
.svc-body .code {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--amber-deep);
  display: block;
  margin-bottom: 0.8rem;
}
.svc-body h2 { margin-bottom: 0.9rem; }
.svc-body > p { font-size: 1.02rem; margin-bottom: 1.3rem; }
.svc-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.svc-lists h4 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-soft);
  margin-bottom: 0.7rem;
}
.svc-lists ul { display: grid; gap: 0.5rem; }
.svc-lists li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--ink);
}
.svc-lists li::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 0.32rem;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 10px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 10px no-repeat;
}
.svc-media {
  border-radius: var(--radius-lg);
  background: var(--sand);
  border: 1px solid var(--line);
  padding: 1.5rem;
  min-height: 240px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.svc-media .big-ico { color: var(--ink); opacity: 0.9; }
.svc-media .big-ico svg { width: clamp(90px, 16vw, 140px); height: clamp(90px, 16vw, 140px); }
.svc-media .tag {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--amber);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
}
.svc-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- About specifics ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.affil {
  border: 1px solid var(--white-12);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ink-2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
}
.affil-logo {
  width: 72px; height: 72px;
  border-radius: 16px;
  background: var(--paper);
  display: grid; place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.affil-logo svg { width: 40px; height: 40px; }
.affil h3 { color: var(--white); margin-bottom: 0.4rem; }
.affil p { color: var(--white-75); font-size: 0.95rem; margin-bottom: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--white-75);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--white-12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--white-12);
}
.footer-brand .brand { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; color: var(--white-75); max-width: 320px; }
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a, .footer-col li { font-size: 0.93rem; color: var(--white-75); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--amber); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.7rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--amber); flex-shrink: 0; margin-top: 0.15rem; }
.footer-affil {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--white-12);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}
.footer-affil a { color: var(--amber); border-bottom: 1px solid rgba(255,178,0,0.4); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.6rem;
  font-size: 0.85rem;
  color: var(--white-60);
}
.footer-bottom .links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--amber); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::before { display: none; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-amber { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc.reverse .svc-media { order: 0; }
  .svc-media { min-height: 180px; }
  .story-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .affil { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 680px) {
  :root { --section-y: clamp(3rem, 10vw, 4rem); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--2.tight, .grid--3.tight { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .svc-lists { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .hero-cta .btn,
  .cta-band .hero-cta .btn,
  .svc-cta .btn,
  .workorder-cta .btn { width: 100%; }
  .link-arrow { width: max-content; }
}

/* Mobile nav drawer */
@media (max-width: 880px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gut) 1.25rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(14,26,43,0.4);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
    z-index: 90;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a {
    padding: 0.95rem 0.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.05rem;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--amber-deep); }
}

/* ---------- 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;
  }
  .reveal { opacity: 1; transform: none; }
}
