/* ==========================================================================
   Florida Screen Fix — token layer + shared components
   Palette sampled from the client's own business card artwork.
   No hex values appear outside :root.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Colour — sampled from business_card_psd.png */
  --cage: #1A3039;          /* card dark field — primary background */
  --cage-deep: #142831;     /* one step down, for recessed bands */
  --frame: #344754;         /* card upper field — anodised aluminium in shade */
  --frame-soft: #243D48;    /* between cage and frame, for cards */
  --spline: #37C0C4;        /* sampled exactly from card icons + QR border */
  --spline-dim: #2AA0A4;    /* pressed state */
  --mesh: #9EABB0;          /* card mid-grey — body text on dark */
  --mesh-quiet: #96A6AD;    /* de-emphasised utility text — 4.5:1 on every surface */
  --sun: #F2F4F3;           /* warmed near-white — headlines, logo field */

  /* Functional */
  --danger: #FF8A7A;
  --success: #6FD3A8;
  --on-spline: #0C1B21;     /* text on a spline-filled button */

  /* Alpha derivations */
  --rule: rgb(158 171 176 / 12%);   /* the mesh hairline */
  --rule-strong: rgb(158 171 176 / 26%);
  --veil: rgb(20 40 49 / 82%);
  --shadow: 0 18px 40px rgb(8 18 23 / 38%);

  /* Type */
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --utility: "Roboto Mono", ui-monospace, "SFMono-Regular", monospace;

  --fs-h1: clamp(2.5rem, 1.6rem + 4.2vw, 4rem);      /* 40 -> 64 */
  --fs-h2: clamp(1.875rem, 1.4rem + 2.1vw, 2.5rem);  /* 30 -> 40 */
  --fs-h3: clamp(1.375rem, 1.25rem + 0.6vw, 1.5625rem);
  --fs-lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.3125rem);
  --fs-body: 1.125rem;      /* 18px desktop */
  --fs-body-sm: 1.0625rem;  /* 17px mobile floor */
  --fs-utility: 0.9375rem;

  /* Spacing — 8px base */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2.5rem;
  --s5: 4rem;
  --s6: 6rem;
  --s7: 8.5rem;

  --section-y: var(--s7);
  --gutter: var(--s3);
  --measure: 1240px;
  --pad-x: clamp(1.25rem, 5vw, 3rem);

  /* Corner language — held with no exceptions: 2px, hardware-like */
  --radius: 2px;
  --radius-lg: 3px;

  /* Motion */
  --spline-run: 420ms;      /* the signature: spline rolled into channel */
  --ease-spline: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-quick: cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index scale */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

@media (max-width: 768px) {
  :root {
    --section-y: var(--s5);
    --fs-body: var(--fs-body-sm);
  }
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--cage);
  color: var(--mesh);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--sun);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  font-weight: 700;
}

h1 { font-size: var(--fs-h1); line-height: 0.94; font-weight: 800; }
h2 { font-size: var(--fs-h2); line-height: 1.05; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }

p { margin: 0 0 var(--s2); }
p:last-child { margin-bottom: 0; }

a { color: var(--spline); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sun); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--spline); color: var(--on-spline); }

:focus-visible {
  outline: 3px solid var(--spline);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: var(--z-toast);
  background: var(--spline);
  color: var(--on-spline);
  padding: var(--s2) var(--s3);
  font-family: var(--utility);
  font-size: var(--fs-utility);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); position: relative; }

.section--band { background: var(--cage-deep); }

/* The mesh: hairline column rules that make the page read as a screen panel */
.meshlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-base);
  background-image: repeating-linear-gradient(
    to right,
    var(--rule) 0 1px,
    transparent 1px calc(100% / 6)
  );
  opacity: 0.55;
}

.section > .wrap { position: relative; z-index: 1; }

.section-head {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--s4);
  align-items: end;
  margin-bottom: var(--s5);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--rule-strong);
}

.section-head p { color: var(--mesh); margin: 0; }

@media (max-width: 768px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: var(--s2);
    margin-bottom: var(--s4);
  }
}

.eyebrow {
  font-family: var(--utility);
  font-size: var(--fs-utility);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--spline);
  margin-bottom: var(--s2);
  display: block;
}

/* --------------------------------------------------------------------------
   4. Buttons — five states each
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 52px;
  padding: 0 var(--s3);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--ease-quick) 160ms,
              color var(--ease-quick) 160ms,
              border-color var(--ease-quick) 160ms,
              transform var(--ease-quick) 160ms;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--spline); color: var(--on-spline); }
.btn--primary:hover {
  background: var(--sun);
  color: var(--cage);
  transform: translateY(-2px);
}
.btn--primary:active { background: var(--spline-dim); transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--sun);
  border-color: var(--rule-strong);
}
.btn--ghost:hover {
  border-color: var(--spline);
  color: var(--spline);
  transform: translateY(-2px);
}
.btn--ghost:active { transform: translateY(0); border-color: var(--spline-dim); }

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Top bar + header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--cage-deep);
  border-bottom: 1px solid var(--rule);
  font-family: var(--utility);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 42px;
  flex-wrap: wrap;
}

.topbar a { color: var(--mesh); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.topbar a:hover { color: var(--spline); }

.topbar-list {
  display: flex;
  gap: var(--s3);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.topbar-list li { display: flex; align-items: center; gap: 6px; }
.topbar-list svg { width: 14px; height: 14px; color: var(--spline); flex: none; }

@media (max-width: 768px) {
  /* The sticky bottom bar already carries call and WhatsApp, so the top bar
     keeps only the offer and stays one clean row above the fold.
     Specificity must match `.topbar-list li` (0,1,1) to win. */
  .topbar-list li.topbar-hide-sm { display: none; }
  .topbar-list.topbar-list { display: none; }
  .topbar-list.topbar-offers { display: flex; flex: 0 1 auto; min-width: 0; }
  .topbar .wrap {
    flex-wrap: nowrap;
    gap: var(--s2);
    justify-content: center;
    min-height: 36px;
  }
  .topbar { font-size: 0.8125rem; }
  .topbar-list li.topbar-offer {
    white-space: nowrap;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgb(26 48 57 / 92%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: padding var(--ease-quick) 200ms;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding-block: var(--s2);
  transition: padding-block var(--ease-quick) 200ms;
}

.site-header.is-scrolled .wrap { padding-block: 0.5rem; }

.brand { display: flex; align-items: center; flex: none; }
.brand img {
  width: clamp(140px, 18vw, 190px);
  height: auto;
  transition: width var(--ease-quick) 200ms;
}
.site-header.is-scrolled .brand img { width: clamp(120px, 14vw, 150px); }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-left: auto;
}

.nav-desktop ul {
  display: flex;
  gap: var(--s3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: var(--sun);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: var(--s1) 0;
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--spline);
  transition: width var(--ease-spline) var(--spline-run);
}
.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  color: var(--sun);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

.nav-mobile {
  display: none;
  background: var(--cage-deep);
  border-bottom: 1px solid var(--rule);
}
.nav-mobile.is-open { display: block; }

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: var(--s2) 0 var(--s3);
}
.nav-mobile li + li { border-top: 1px solid var(--rule); }
.nav-mobile a {
  display: block;
  padding: var(--s2) 0;
  color: var(--sun);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.25rem;
  text-transform: uppercase;
  min-height: 44px;
}
.nav-mobile a:hover { color: var(--spline); }
.nav-mobile .btn { margin-top: var(--s2); }

@media (min-width: 901px) {
  .nav-mobile { display: none !important; }
}

/* --------------------------------------------------------------------------
   6. Hero — asymmetric 7/5, image bleeds off the right edge
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: stretch;
  min-height: min(78vh, 720px);
}

.hero-copy {
  padding: var(--s6) var(--pad-x) var(--s6) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Pull the copy column onto the page measure while the photo bleeds out */
.hero-inner {
  max-width: calc(var(--measure) * 7 / 12);
  margin-left: auto;
  width: 100%;
  padding-right: var(--s4);
}

.hero h1 { margin-bottom: var(--s3); }
.hero h1 .line-accent { color: var(--spline); display: block; }

.hero-lead {
  font-size: var(--fs-lead);
  color: var(--mesh);
  max-width: 46ch;
  margin-bottom: var(--s4);
}

.hero-actions {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-bottom: var(--s4);
}

.hero-strip {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  font-family: var(--utility);
  font-size: var(--fs-utility);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mesh-quiet);
  padding-top: var(--s3);
  border-top: 1px solid var(--rule-strong);
}
.hero-strip span { display: flex; align-items: center; gap: var(--s1); min-width: 0; }
.hero-strip svg { width: 15px; height: 15px; color: var(--spline); flex: none; }

.hero-media {
  position: relative;
  min-height: 320px;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Tie the photo to the field so the bleed does not read as a pasted rectangle */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--cage) 0%, rgb(26 48 57 / 30%) 38%, transparent 100%);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy {
    order: 2;
    padding: var(--s4) var(--pad-x) var(--s5);
  }
  .hero-inner { max-width: none; padding-right: 0; }
  /* Keep the photo present but let the headline and CTA reach the fold */
  .hero-media { order: 1; min-height: 0; height: clamp(200px, 30vh, 300px); }
  .hero-media::after {
    background: linear-gradient(180deg, rgb(26 48 57 / 20%) 0%, var(--cage) 100%);
  }
}

/* --------------------------------------------------------------------------
   7. Trust bar
   -------------------------------------------------------------------------- */

.trustbar {
  background: var(--cage-deep);
  border-bottom: 1px solid var(--rule);
  padding-block: var(--s4);
}

.trustbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s3);
}

.trustbar li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: var(--s2);
  border-left: 2px solid var(--spline);
}

.trustbar .t-num {
  font-family: var(--utility);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--sun);
  line-height: 1.1;
}

.trustbar .t-label {
  font-size: 0.9375rem;
  color: var(--mesh-quiet);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .trustbar ul { grid-template-columns: repeat(2, 1fr); gap: var(--s2) var(--s3); }
}
@media (max-width: 420px) {
  .trustbar ul { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   8. Services — rescreening weighted 2x
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--frame-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s3);
  min-height: 220px;
  overflow: hidden;
  transition: border-color var(--ease-quick) 200ms,
              transform var(--ease-quick) 200ms;
}

.svc:hover { border-color: var(--spline); transform: translateY(-3px); }

.svc h3 { margin-bottom: var(--s1); }
.svc p { font-size: 1rem; color: var(--mesh); }

/* Last card fills the tail of the row so the grid never ends ragged */
.svc--tail { grid-column: span 3; }

.svc-lead {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
  justify-content: flex-end;
  padding: var(--s4);
  border-color: var(--rule-strong);
}

.svc-lead .svc-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.svc-lead .svc-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.svc-lead .svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(20 40 49 / 35%) 0%, rgb(20 40 49 / 92%) 68%);
}
.svc-lead > * { position: relative; z-index: 1; }
.svc-lead h3 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); }
.svc-lead p { font-size: var(--fs-body); max-width: 52ch; }

.svc-num {
  font-family: var(--utility);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--spline);
  margin-bottom: var(--s1);
}

.svc-link {
  margin-top: var(--s3);
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sun);
  text-decoration: none;
  align-self: flex-start;
  min-height: 44px;
}
.svc-link svg { width: 16px; height: 16px; transition: transform var(--ease-quick) 200ms; }
.svc-link:hover { color: var(--spline); }
.svc-link:hover svg { transform: translateX(4px); }

/* Stretched hit area so the whole card is clickable, keyboard reaches the link */
.svc-link::before { content: ""; position: absolute; inset: 0; z-index: 2; }

/* Footnote row — not a card, so it must not inherit card height or fill */
.svc-note {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  font-family: var(--utility);
  font-size: 0.875rem;
  color: var(--mesh-quiet);
  letter-spacing: 0.04em;
  padding: var(--s2) 0 0;
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
}

@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-lead { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .svc--tail { grid-column: span 2; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc-lead, .svc--tail { grid-column: span 1; }
}

/* --------------------------------------------------------------------------
   9. SIGNATURE — the rescreen reveal
   Gallery built as a taut mesh grid; on reveal a spline traces the perimeter.
   -------------------------------------------------------------------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  /* Fixed row height: every tile fills its cell, so the lattice stays taut
     regardless of each photograph's own aspect ratio. */
  grid-auto-rows: clamp(180px, 15.5vw, 230px);
  gap: 1px;
  background: var(--rule-strong);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.tile {
  position: relative;
  grid-column: span 3;
  grid-row: span 1;
  background: var(--cage-deep);
  overflow: hidden;
  isolation: isolate;
  margin: 0;
}

.tile--wide { grid-column: span 6; grid-row: span 2; }
.tile--tall { grid-column: span 3; grid-row: span 2; }

.tile picture { display: block; width: 100%; height: 100%; }

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  transform: scale(1.01);
  transition: opacity var(--ease-spline) var(--spline-run),
              transform var(--ease-spline) 600ms;
}

/* The spline: two strokes that run the perimeter of the tile channel */
.tile::before,
.tile::after {
  content: "";
  position: absolute;
  z-index: 2;
  background: var(--spline);
  pointer-events: none;
  transition: transform var(--ease-spline) var(--spline-run);
}

/* top + right, drawn from the top-left */
.tile::before {
  inset: 0 0 auto 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
}
/* bottom + left, drawn from the bottom-right */
.tile::after {
  inset: auto 0 0 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right center;
}

.tile:hover img,
.tile:focus-within img { opacity: 1; transform: scale(1.045); }

.tile:hover::before,
.tile:hover::after,
.tile:focus-within::before,
.tile:focus-within::after,
.tile.is-revealed::before,
.tile.is-revealed::after { transform: scaleX(1); }

.tile-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: var(--s3) var(--s2) var(--s2);
  font-family: var(--utility);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sun);
  background: linear-gradient(180deg, transparent, rgb(20 40 49 / 88%));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--ease-quick) 240ms, transform var(--ease-quick) 240ms;
}

.tile:hover .tile-caption,
.tile:focus-within .tile-caption { opacity: 1; transform: translateY(0); }

/* Touch: no hover, so the reveal is driven by scroll and captions stay visible */
@media (hover: none) {
  .tile-caption { opacity: 1; transform: none; }
  .tile img { opacity: 1; }
}

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: clamp(150px, 22vw, 200px);
  }
  .tile, .tile--tall { grid-column: span 3; grid-row: span 1; }
  .tile--wide { grid-column: span 6; grid-row: span 2; }
}
@media (max-width: 520px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 42vw;
  }
  .tile, .tile--tall, .tile--wide { grid-column: span 1; grid-row: span 1; }
}

.work-foot {
  margin-top: var(--s4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   10. Why us
   -------------------------------------------------------------------------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4) var(--gutter);
}

.why-item { padding-top: var(--s3); border-top: 2px solid var(--rule-strong); }
.why-item .w-num {
  font-family: var(--utility);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--spline);
  display: block;
  margin-bottom: var(--s1);
}
.why-item h3 { margin-bottom: var(--s1); font-size: 1.25rem; }
.why-item p { font-size: 1rem; }

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   11. Reviews
   -------------------------------------------------------------------------- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gutter);
}

.review {
  background: var(--frame-soft);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--spline);
  border-radius: var(--radius);
  padding: var(--s3);
}

.review blockquote {
  margin: 0 0 var(--s2);
  font-size: var(--fs-lead);
  color: var(--sun);
  line-height: 1.45;
}

.review figcaption {
  font-family: var(--utility);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--mesh-quiet);
  text-transform: uppercase;
}

.stars { display: flex; gap: 3px; margin-bottom: var(--s2); }
.stars svg { width: 17px; height: 17px; color: var(--spline); }

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 860px;
  border-top: 1px solid var(--rule-strong);
}

.faq-item { border-bottom: 1px solid var(--rule-strong); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  background: none;
  border: 0;
  padding: var(--s3) 0;
  min-height: 64px;
  text-align: left;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--sun);
}
.faq-q:hover { color: var(--spline); }

.faq-icon {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--spline);
  transition: transform var(--ease-spline) 300ms, opacity var(--ease-quick) 200ms;
}
.faq-icon::before { inset: 12px 0 12px 0; height: 2px; }
.faq-icon::after  { inset: 0 12px 0 12px; width: 2px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); opacity: 0; }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--ease-spline) 340ms;
}
.faq-a > div { padding-bottom: var(--s3); max-width: 68ch; }

/* --------------------------------------------------------------------------
   13. Quote form
   -------------------------------------------------------------------------- */

.quote {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s5);
  align-items: start;
}

@media (max-width: 900px) {
  .quote { grid-template-columns: 1fr; gap: var(--s4); }
}

/* Offer lines under the quote aside — wrap freely, unlike the hero strip */
.offer-strip {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--rule-strong);
  font-family: var(--utility);
  font-size: var(--fs-utility);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mesh-quiet);
}

.quote-aside .phone-big {
  font-family: var(--utility);
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2rem);
  font-weight: 500;
  color: var(--sun);
  text-decoration: none;
  display: inline-block;
  margin-bottom: var(--s2);
  letter-spacing: 0.02em;
}
.quote-aside .phone-big:hover { color: var(--spline); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}
.field--full { grid-column: 1 / -1; }

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field label {
  font-family: var(--utility);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mesh);
}
.field .req { color: var(--spline); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 var(--s2);
  background: var(--cage-deep);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  color: var(--sun);
  font-family: var(--body);
  font-size: var(--fs-body);
  transition: border-color var(--ease-quick) 160ms, box-shadow var(--ease-quick) 160ms;
}

.field textarea { padding: var(--s2); min-height: 132px; resize: vertical; line-height: 1.55; }

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mesh) 50%),
                    linear-gradient(135deg, var(--mesh) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: var(--s5);
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--mesh-quiet); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--spline);
  box-shadow: 0 0 0 3px rgb(55 192 196 / 22%);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--mesh-quiet); opacity: 0.7; }

.field-error {
  font-size: 0.9375rem;
  color: var(--danger);
  display: none;
  align-items: center;
  gap: 6px;
}
.field-error svg { width: 15px; height: 15px; flex: none; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error .field-error { display: flex; }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-status {
  margin-top: var(--s3);
  padding: var(--s2) var(--s3);
  border-radius: var(--radius);
  border: 1px solid var(--rule-strong);
  font-size: 1rem;
  display: none;
}
.form-status.is-success { display: block; border-color: var(--success); color: var(--success); }
.form-status.is-error { display: block; border-color: var(--danger); color: var(--danger); }

.form-foot {
  margin-top: var(--s3);
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}
.form-foot .fine {
  font-family: var(--utility);
  font-size: 0.8125rem;
  color: var(--mesh-quiet);
  letter-spacing: 0.03em;
}

.btn.is-busy { pointer-events: none; opacity: 0.7; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--cage-deep);
  border-top: 1px solid var(--rule);
  padding-block: var(--s5) var(--s4);
  margin-bottom: env(safe-area-inset-bottom);
}

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 3fr 3fr;
  gap: var(--s4);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: var(--s2);
  color: var(--sun);
  letter-spacing: 0.04em;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0; }
.footer-grid a {
  color: var(--mesh);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-grid a:hover { color: var(--spline); text-decoration: underline; }

.footer-brand img { width: 190px; margin-bottom: var(--s2); }
.footer-brand p { font-size: 1rem; max-width: 38ch; }

.footer-nap {
  font-family: var(--utility);
  font-size: 0.9375rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
}
.footer-nap a { color: var(--mesh); display: inline-block; min-height: 32px; line-height: 32px; }

.footer-credit {
  margin-top: var(--s3);
  font-family: var(--utility);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--mesh-quiet);
  letter-spacing: 0.03em;
}
.footer-credit a { color: var(--mesh); }
.footer-credit a:hover { color: var(--spline); }

/* --------------------------------------------------------------------------
   15. Mobile sticky call bar
   -------------------------------------------------------------------------- */

.stickybar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  background: var(--cage-deep);
  border-top: 1px solid var(--rule-strong);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
}

.stickybar a {
  flex: 1;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.stickybar svg { width: 19px; height: 19px; }
.stickybar .sb-call { background: var(--spline); color: var(--on-spline); }
.stickybar .sb-wa { background: transparent; color: var(--sun); border: 1px solid var(--rule-strong); }
.stickybar .sb-wa:hover { border-color: var(--spline); color: var(--spline); }

@media (max-width: 768px) {
  .stickybar { display: flex; }
  body { padding-bottom: 72px; }
}

/* --------------------------------------------------------------------------
   16. Scroll reveal — opacity/transform only
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms var(--ease-spline), transform 560ms var(--ease-spline);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .tile::before, .tile::after { transform: scaleX(1); }
  .tile-caption { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   17. Inner pages (privacy, 404)
   -------------------------------------------------------------------------- */

.page-head {
  padding-block: var(--s5) var(--s4);
  border-bottom: 1px solid var(--rule-strong);
}

.breadcrumb {
  font-family: var(--utility);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--mesh-quiet);
  margin-bottom: var(--s2);
}
.breadcrumb ol { list-style: none; display: flex; gap: var(--s1); margin: 0; padding: 0; flex-wrap: wrap; }
.breadcrumb li::after { content: "/"; margin-left: var(--s1); color: var(--rule-strong); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--mesh); text-decoration: none; }
.breadcrumb a:hover { color: var(--spline); }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin: var(--s4) 0 var(--s2); }
.prose h3 { font-size: 1.1875rem; margin: var(--s3) 0 var(--s1); }
.prose ul { padding-left: var(--s3); }
.prose li { margin-bottom: var(--s1); }

.error-actions { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s4); }

/* --------------------------------------------------------------------------
   18. Touch target floor — links that are reachable by thumb on small screens
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .quote-aside a,
  .footer-nap a,
  .footer-credit a,
  .quote-aside .phone-big {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  /* Wrapping email addresses must not force horizontal scroll */
  .quote-aside a[href^="mailto:"],
  .footer-nap a[href^="mailto:"] {
    overflow-wrap: anywhere;
  }
}
