/* =========================================================================
   NORTH POLE — Heating, Cooling & Plumbing
   "Field Service Manual" design system
   ========================================================================= */

/* ---- Tokens ---------------------------------------------------------------- */
:root {
  /* palette */
  --polar:   #F5F8FB;
  --frost:   #DCE8F2;
  --frost-2: #E9F1F8;
  --glacier: #1B7FC4;
  --glacier-dk: #14669E;
  --deep:    #0A2A43;
  --deep-soft:#12385A;
  --steel:   #5B7183;
  --steel-lt:#8598A8;
  --line:    #C9D9E7;
  --white:   #FFFFFF;

  /* =======================================================================
     ACCENT THEME — 2 OPTIONS
     -----------------------------------------------------------------------
     Drives every CTA, the "too hot" hero word, focus rings, badges, and the
     ambient gradient behind the hero + under the sticky header.

       data-accent="ember"   (default)  → warm orange   (this block)
       data-accent="aurora"             → the logo's red (block below)

     SWITCH IT: change  'ember' → 'aurora'  in the one-line <script> in the
     <head> of BOTH index.html and contact.html. Nothing else to touch —
     everything downstream is var(--accent*) and re-resolves automatically.
     ======================================================================= */
  --accent:      #E8552B;   /* ember — warm orange */
  --accent-dk:   #CB4420;
  --accent-soft: #FEF4F1;
  --accent-on:   #FFFFFF;   /* text/icon colour on top of the accent */

  /* type */
  --font-display: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;

  /* scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.75vw, 2.1rem);
  --step-3:  clamp(2rem, 1.7rem + 1.5vw, 3.25rem);
  --step-4:  clamp(2.6rem, 2rem + 3vw, 4.75rem);

  /* structure
     Full-width layout: content fills the viewport at every size, held off
     the edges only by --gutter. There is no centered max-width cap.
     Prose blocks keep their own readable measure so long lines don't form.
     Section background colours span the whole window (they live on
     .section, not .wrap). */
  --gutter: clamp(1.15rem, 0.4rem + 3.4vw, 6rem);
  --measure: 68ch;              /* readable line length for prose blocks */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(10, 42, 67, 0.06), 0 2px 8px rgba(10, 42, 67, 0.05);
  --shadow-md: 0 4px 12px rgba(10, 42, 67, 0.08), 0 12px 32px rgba(10, 42, 67, 0.10);
  --shadow-lg: 0 12px 28px rgba(10, 42, 67, 0.14), 0 30px 60px rgba(10, 42, 67, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* OPTION 2 — "aurora": the logo's blue→red identity. Same surfaces as ember,
   but the solid accent is the logo red and the ambient gradient is stronger. */
:root[data-accent="aurora"] {
  --accent:      #E01F26;   /* logo red */
  --accent-dk:   #B8171D;
  --accent-soft: #FDF1F1;
  --accent-on:   #FFFFFF;
}
:root {
  /* used for the hero wash + the sticky-header hairline; ends on --accent so
     it shifts with the theme (blue→purple→orange, or blue→purple→red). */
  --accent-gradient: linear-gradient(100deg, var(--glacier) 0%, #6A4FA6 48%, var(--accent) 100%);
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--steel);
  background: var(--polar);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: var(--glacier); text-decoration: none; }
a:hover { color: var(--glacier-dk); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--deep); line-height: 1.08; font-weight: 800; letter-spacing: -0.01em; }
ul { list-style: none; }

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

/* ---- Layout helpers --------------------------------------------------- */
.wrap { width: 100%; padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: clamp(4rem, 2.5rem + 6vw, 7.5rem); position: relative; }
.section--tint { background: var(--frost-2); }
.section--deep { background: var(--deep); }

/* eyebrow — reads like a form field label / instrument tag */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--glacier);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
}
.section--deep .eyebrow { color: #7FC4EC; }

.section-head { max-width: 52ch; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { margin-top: 1.1rem; font-size: var(--step-1); color: var(--steel); }
.section--deep .section-head h2 { color: var(--white); }
.section--deep .section-head p { color: #A9C4D8; }

/* tick-mark divider — the temperature-scale motif */
.tick-rule {
  height: 14px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 14px);
  opacity: 0.9;
  border: none;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--glacier);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); background: var(--btn-bg); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--accent); }
.btn--primary:hover { --btn-bg: var(--accent-dk); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--deep);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { --btn-bg: var(--white); box-shadow: inset 0 0 0 1.5px var(--glacier), var(--shadow-sm); }
.btn--lg { padding: 1.1em 2em; font-size: var(--step-0); }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---- Skip link --------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--deep);
  color: #fff;
  padding: 0.7em 1.2em;
  border-radius: 0 0 var(--radius) var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(245, 248, 251, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6), var(--shadow-sm);
}
/* gradient hairline at the base of the stuck header — carries the theme */
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.site-header.is-stuck::after { opacity: 0.9; }
.site-header > .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.7rem;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: auto; height: 62px; }
.brand picture { display: block; line-height: 0; }
.brand:focus-visible { outline-offset: 6px; }

.nav { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
.nav > a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--deep);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  position: relative;
  transition: color 0.15s;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.8rem; right: 0.8rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--glacier); }
.nav > a:not(.btn):hover::after,
.nav > a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.nav-cta { margin-left: 0.6rem; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.call-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--deep);
  white-space: nowrap;
  padding: 0.4rem;
}
.call-link svg { width: 20px; height: 20px; color: var(--glacier); flex-shrink: 0; }
.call-link:hover { color: var(--glacier); }
.call-link .call-label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--steel-lt);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 3px;
}

/* on desktop the header CTA is redundant with the nav CTA — hide it */
.header-cta { display: none; }

/* hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 22px; height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 1rem + 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 1.5rem + 7vw, 7rem);
  overflow: hidden;
}
/* ambient accent wash — a faint version of the theme's identity.
   In ember mode it reads as icy blue; in aurora mode the blue→red
   gradient of the logo becomes visible. */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: var(--accent-gradient);
  opacity: 0.06;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
:root[data-accent="aurora"] .hero::before { opacity: 0.12; }
@media (prefers-reduced-motion: no-preference) {
  .hero::before { transition: opacity 0.4s var(--ease); }
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  position: relative;
}

/* temperature scale — signature element, left edge */
.temp-scale {
  position: absolute;
  left: calc(var(--gutter) * -1 + 4px);
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: min(78%, 420px);
  display: none;
}
@media (min-width: 1080px) { .temp-scale { display: block; } }
.temp-scale .track { stroke: var(--line); stroke-width: 2; }
.temp-scale .tick { stroke: var(--steel-lt); stroke-width: 2; }
.temp-scale .tick-major { stroke: var(--glacier); stroke-width: 2; }
.temp-scale .fill {
  stroke: var(--glacier);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: scaleFill 1.4s var(--ease) 0.3s forwards;
}
.temp-scale .marker { fill: var(--accent); opacity: 0; animation: markerIn 0.5s var(--ease) 1.5s forwards; }
.temp-scale .marker-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  fill: var(--accent);
  opacity: 0;
  animation: markerIn 0.5s var(--ease) 1.6s forwards;
}
.temp-scale .cap-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  fill: var(--steel-lt);
}
@keyframes scaleFill { to { stroke-dashoffset: 88; } }
@keyframes markerIn { to { opacity: 1; } }

.hero-copy { position: relative; z-index: 2; }
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.5em 0.9em;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.6rem;
}
.hero-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2FBF71;
  box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,191,113,0.5); }
  70% { box-shadow: 0 0 0 9px rgba(47,191,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,191,113,0); }
}
.hero h1 {
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 .warm { color: var(--accent); }
.hero h1 .cool {
  display: block;
  color: var(--glacier);
}
.hero-sub {
  margin-top: 1.5rem;
  font-size: var(--step-1);
  max-width: 42ch;
  color: var(--steel);
}
.hero-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-note {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--steel-lt);
}

/* hero visual */
.hero-visual { position: relative; z-index: 1; }
.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(10,42,67,0) 45%, rgba(10,42,67,0.55) 100%);
}
.hero-readout {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 0.15rem;
  z-index: 3;
}
.hero-readout .k { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-lt); }
.hero-readout .v { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--deep); }
.hero-readout .v small { font-weight: 600; font-size: 0.8rem; color: var(--steel); }

/* trust badges */
.trust {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.trust li {
  background: var(--white);
  padding: 1.4rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.trust .ic {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--frost-2);
  color: var(--glacier);
}
.trust .ic svg { width: 22px; height: 22px; }
.trust b { display: block; font-family: var(--font-display); color: var(--deep); font-size: 1.05rem; letter-spacing: -0.01em; }
.trust span { font-size: var(--step--1); color: var(--steel); }

/* ---- Services -------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 0.5rem + 2vw, 2rem);
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--glacier);
}
.svc-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--frost); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(10, 42, 67, 0.86);
  color: #fff;
  padding: 0.4em 0.7em;
  border-radius: 3px;
  backdrop-filter: blur(2px);
}
.svc-body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.svc-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--frost-2);
  color: var(--glacier);
  margin-bottom: 0.3rem;
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: var(--step-1); }
.svc-body p { font-size: var(--step--1); color: var(--steel); flex: 1; }
.svc-list { display: grid; gap: 0.45rem; margin-top: 0.3rem; }
.svc-list li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--deep-soft);
  padding-left: 1.3em;
  position: relative;
}
.svc-list li::before {
  content: "+";
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}
.svc-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--frost);
}
.svc-foot a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.svc-foot a svg { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.svc-foot a:hover svg { transform: translateX(4px); }

/* ---- How it works --------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 0.5rem + 2vw, 2.25rem);
  position: relative;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 2.5rem;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--glacier);
  position: absolute;
  top: 0; left: 0;
  padding-right: 0.8em;
}
.step::after {
  content: "";
  position: absolute;
  top: 0.55rem; left: 3.2em; right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 2px, transparent 2px 8px);
}
.step:last-child::after { display: none; }
.step h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.step p { font-size: var(--step--1); color: var(--steel); }
.step .step-fee {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  border: 1px dashed var(--accent);
  padding: 0.35em 0.7em;
  border-radius: 3px;
}

/* ---- Why us / Warranty --------------------------------------------- */
.why { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.why-visual { position: relative; }
.why-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.warranty-seal {
  position: absolute;
  right: -20px; bottom: -20px;
  width: 128px; height: 128px;
  background: var(--deep);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
}
.warranty-seal .n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; color: #7FC4EC; }
.warranty-seal .t { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 3px; }

.why-copy h2 { font-size: var(--step-3); margin-bottom: 1.2rem; }
.why-points { display: grid; gap: 1.4rem; margin-top: 1.8rem; }
.why-point { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.why-point .ic {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--frost-2);
  color: var(--glacier);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.why-point .ic svg { width: 22px; height: 22px; }
.why-point h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.why-point p { font-size: var(--step--1); color: var(--steel); }

.fee-callout {
  margin-top: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.fee-callout .fig {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 2rem + 2vw, 3.2rem);
  color: var(--deep);
  line-height: 1;
}
.fee-callout .fig sup { font-size: 0.5em; top: -0.7em; color: var(--accent); }
.fee-callout p { font-size: var(--step--1); color: var(--steel); }
.fee-callout strong { color: var(--deep); }

/* ---- Testimonials ------------------------------------------------ */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 0.5rem + 2vw, 2rem);
}
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review .stars { display: flex; gap: 2px; color: var(--accent); }
.review .stars svg { width: 16px; height: 16px; }
.review blockquote { font-size: var(--step-0); color: var(--deep-soft); line-height: 1.6; flex: 1; }
.review .who { display: flex; align-items: center; gap: 0.8rem; padding-top: 1rem; border-top: 1px solid var(--frost); }
.review .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--deep);
  color: #7FC4EC;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
}
.review .who b { display: block; font-family: var(--font-display); color: var(--deep); font-size: 0.95rem; }
.review .who span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--steel-lt); letter-spacing: 0.05em; }

/* ---- FAQ ---------------------------------------------------------- */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--deep);
}
.faq-q .sign {
  flex-shrink: 0;
  width: 26px; height: 26px;
  position: relative;
}
.faq-q .sign::before, .faq-q .sign::after {
  content: "";
  position: absolute;
  background: var(--glacier);
  transition: transform 0.28s var(--ease), opacity 0.2s;
}
.faq-q .sign::before { top: 12px; left: 3px; width: 20px; height: 2px; }
.faq-q .sign::after  { left: 12px; top: 3px; width: 2px; height: 20px; }
.faq-item[open] .faq-q .sign::after { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; }
.faq-a p { padding-bottom: 1.5rem; color: var(--steel); font-size: var(--step-0); max-width: 68ch; }
details.faq-item > summary { list-style: none; cursor: pointer; }
details.faq-item > summary::-webkit-details-marker { display: none; }

/* ---- Appointment form ------------------------------------------- */
.book { position: relative; }
.book-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.book-aside h2 { font-size: var(--step-3); color: #fff; margin-bottom: 1.1rem; }
.book-aside p { color: #A9C4D8; font-size: var(--step-0); }
.book-facts { display: grid; gap: 1.1rem; margin-top: 2rem; }
.book-fact { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.book-fact .ic { width: 40px; height: 40px; border-radius: var(--radius); background: rgba(127,196,236,0.12); color: #7FC4EC; display: grid; place-items: center; flex-shrink: 0; }
.book-fact .ic svg { width: 20px; height: 20px; }
.book-fact b { display: block; color: #fff; font-family: var(--font-display); font-size: 0.98rem; }
.book-fact span { font-family: var(--font-mono); font-size: 0.8rem; color: #A9C4D8; }
.book-fact a { color: #fff; }
.book-fact a:hover { color: #7FC4EC; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  box-shadow: var(--shadow-lg);
}
.form-card .form-head { margin-bottom: 1.6rem; }
.form-card .form-head b {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--glacier);
}
.form-card .form-head h3 { font-size: var(--step-2); margin-top: 0.4rem; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.col-2 { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep-soft);
  font-weight: 600;
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8em 0.9em;
  background: var(--polar);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--step--1);
  color: var(--deep);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.field textarea { resize: vertical; min-height: 108px; font-family: var(--font-body); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235B7183' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9em center; padding-right: 2.4em; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--glacier);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27, 127, 196, 0.14);
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.field .err {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-dk);
  min-height: 0;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.2s, transform 0.2s;
}
.field.has-error .err { opacity: 1; transform: translateY(0); }

/* honeypot */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-actions { margin-top: 1.6rem; }
.form-fineprint {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--steel-lt);
  line-height: 1.6;
}

/* form status */
.form-status { margin-top: 1.2rem; display: none; }
.form-status.is-visible { display: block; }
.form-status .msg {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: var(--step--1);
}
.form-status.is-success .msg { background: #ECF9F1; border: 1px solid #B9E5CC; color: #1B6E43; }
.form-status.is-error .msg { background: var(--accent-soft); border: 1px solid #F3C9BC; color: var(--accent-dk); }
.form-status .msg svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

/* success overlay animation */
.form-sent {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  gap: 1rem;
}
.form-sent.is-visible { display: flex; }
.form-sent .check-ring {
  width: 84px; height: 84px;
}
.form-sent .check-ring circle {
  stroke: #2FBF71;
  stroke-width: 4;
  fill: none;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: ringDraw 0.6s var(--ease) forwards;
}
.form-sent .check-ring path {
  stroke: #2FBF71;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: checkDraw 0.35s var(--ease) 0.5s forwards;
}
@keyframes ringDraw { to { stroke-dashoffset: 0; } }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
.form-sent h3 { font-size: var(--step-2); }
.form-sent p { color: var(--steel); max-width: 40ch; }
.btn.is-loading { pointer-events: none; opacity: 0.75; }
.btn.is-loading .btn-label { visibility: hidden; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Footer ---------------------------------------------------- */
.site-footer { background: var(--deep); color: #A9C4D8; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 96px; width: auto; border-radius: var(--radius); }
.footer-brand p { margin-top: 1.1rem; font-size: var(--step--1); max-width: 38ch; }
.footer-col h4 { color: #fff; font-size: 0.8rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a, .footer-col span { color: #A9C4D8; font-size: var(--step--1); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 0.6em; align-items: center; }
.footer-contact svg { width: 15px; height: 15px; color: #7FC4EC; flex-shrink: 0; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: #A9C4D8;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.socials a:hover { background: var(--glacier); color: #fff; border-color: var(--glacier); }
.socials svg { width: 17px; height: 17px; }
.footer-legal {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--steel-lt);
}
.footer-legal a { color: var(--steel-lt); }
.footer-legal a:hover { color: #fff; }

/* developer credit */
.footer-credit {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--steel-lt);
}
.footer-credit a { color: #A9C4D8; }
.footer-credit a:hover { color: #fff; }
.footer-credit .wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.4em 0.75em;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.footer-credit .wa-link svg { width: 14px; height: 14px; color: #25D366; }
.footer-credit .wa-link:hover { background: rgba(37, 211, 102, 0.14); border-color: #25D366; }

/* ---- Scroll reveal ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---- Contact page specifics -------------------------------- */
.page-hero {
  padding-top: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
  background: var(--frost-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: var(--step-3); }
.page-hero p { margin-top: 1rem; font-size: var(--step-1); max-width: 52ch; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-lt); margin-bottom: 1rem; }
.breadcrumb a { color: var(--steel); }

.contact-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.contact-info-card .row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--frost);
  align-items: flex-start;
}
.contact-info-card .row:last-child { border-bottom: none; }
.contact-info-card .ic { width: 42px; height: 42px; border-radius: var(--radius); background: var(--frost-2); color: var(--glacier); display: grid; place-items: center; flex-shrink: 0; }
.contact-info-card .ic svg { width: 20px; height: 20px; }
.contact-info-card .k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-lt); }
.contact-info-card .v { font-family: var(--font-display); font-weight: 700; color: var(--deep); font-size: 1.05rem; margin-top: 0.2rem; }
.contact-info-card .v a { color: var(--deep); }
.contact-info-card .v a:hover { color: var(--glacier); }
.contact-info-card .sub { font-size: 0.82rem; color: var(--steel); margin-top: 0.2rem; }

.map-embed {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(115deg, rgba(27,127,196,0.06), rgba(27,127,196,0)) ,
    repeating-linear-gradient(0deg, var(--frost) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, var(--frost) 0 1px, transparent 1px 40px),
    var(--frost-2);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
}
.map-embed .pin {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.map-embed p { font-family: var(--font-mono); font-size: 0.78rem; color: var(--steel); letter-spacing: 0.04em; }

/* =========================================================================
   Responsive
   ========================================================================= */

/* ---- Wide screens — stay full-width, keep prose + card scale sane ----- */
@media (min-width: 1600px) {
  :root { --gutter: clamp(6rem, 1rem + 6vw, 10rem); }
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; }
  .hero-sub { max-width: 46ch; }
  .section-head { max-width: 60ch; }
  .faq { max-width: 92ch; }
  .faq-a p { max-width: 88ch; }
}
@media (min-width: 2200px) {
  /* very wide monitors: widen gutters further and let card rows breathe
     into 4 columns rather than stretching 3 cards absurdly wide */
  :root { --gutter: clamp(10rem, 2rem + 8vw, 20rem); }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .why { grid-template-columns: 1fr; }
  .why-visual { max-width: 540px; }
  .book-grid { grid-template-columns: 1fr; }
  .contact-columns { grid-template-columns: 1fr; }
}

/* ---- Tablet / mobile nav (<= 960px) ---------------------------------- */
@media (max-width: 960px) {
  :root { --header-h: 66px; }

  .brand img { height: 46px; }

  .nav-toggle { display: block; order: 3; }

  /* call button becomes icon-only */
  .call-link { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .call-link .call-text { display: none; }
  .call-link svg { width: 22px; height: 22px; }

  .header-cta { display: none; }
  .header-actions { gap: 0.35rem; }

  .site-header > .wrap { gap: 0.5rem; padding-block: 0.55rem; }

  /* slide-down panel */
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: var(--polar);
    border-bottom: 1px solid var(--line);
    padding: 0.25rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav > a:not(.btn) {
    padding: 1.05rem 0.25rem;
    border-bottom: 1px solid var(--frost);
    font-size: var(--step-0);
  }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta {
    display: flex;
    justify-content: center;
    margin: 1.25rem 0 0;
    padding-block: 1em;
    font-size: var(--step-0);
  }
}

/* ---- Layout stacking (<= 900px) ------------------------------------- */
@media (max-width: 900px) {
  .services-grid, .steps, .reviews { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .step { padding-top: 2rem; }
  .step::after { display: none; }

  /* hero headline: let it flow, don't force block breaks */
  .hero h1 .cool { display: inline; color: var(--glacier); }
  .hero h1 { font-size: clamp(2.1rem, 1.6rem + 4vw, 3rem); }
}

/* ---- Phone (<= 620px) --------------------------------------------- */
@media (max-width: 620px) {
  :root { --gutter: 1.1rem; }

  .field-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; width: 100%; }
  .hero-status { font-size: 0.72rem; padding: 0.45em 0.8em; }
  .hero-figure { aspect-ratio: 4 / 3.4; }
  .hero-readout { left: 8px; bottom: 12px; padding: 0.7rem 0.9rem; }
  .hero-readout .v { font-size: 1.05rem; }

  .fee-callout { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
  .warranty-seal { width: 96px; height: 96px; right: 8px; bottom: -14px; border-width: 2px; }
  .warranty-seal .n { font-size: 1.55rem; }

  .section-head h2, .why-copy h2, .book-aside h2 { font-size: clamp(1.7rem, 1.3rem + 3vw, 2.2rem); }
  .form-card { padding: 1.35rem 1.15rem; }
  .svc-body { padding: 1.3rem; }
}

/* very narrow — keep the hero headline from overflowing */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.9rem; }
  .brand img { height: 40px; }
}

/* ---- Reduced motion --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .temp-scale .fill { stroke-dashoffset: 88; }
  .temp-scale .marker, .temp-scale .marker-label { opacity: 1; }
}

/* ---- Print ------------------------------------------------ */
@media print {
  .site-header, .nav-toggle, .hero-cta, .form-card, .socials { display: none; }
  body { color: #000; background: #fff; }
}
