/* =========================================================
   Glass Painting: site styles
   Colors and fonts live in the variables below.
   ========================================================= */

:root {
  --ink: #1e2b37;
  --ink-2: #334352;
  --muted: #56636f;
  --cream: #f8f3ea;
  --cream-2: #f1e8da;
  --paper: #ffffff;
  --clay: #b8532e;
  --clay-700: #9a4424;
  --clay-100: #f7e4da;
  --sea: #9dc3b4;
  --sea-100: #e4efe9;
  --sea-700: #3f7867;
  --slate: #2f4b5c;
  --line: rgba(30, 43, 55, 0.12);
  --field-border: #d3cbbf;

  --shadow: 0 1px 2px rgba(30, 43, 55, 0.05), 0 8px 24px rgba(30, 43, 55, 0.07);
  --shadow-lg: 0 2px 4px rgba(30, 43, 55, 0.05), 0 20px 50px rgba(30, 43, 55, 0.13);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1160px;
  --header-h: 76px;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

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

a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1em; }

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

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Icon sprite (hidden) and icon drawing style */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

use[href^="#i-"] {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
use[href="#i-mark"] { stroke: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-700); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-sm { min-height: 42px; padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.btn-lg { min-height: 56px; padding: 0.85rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 243, 234, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(30, 43, 55, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.brand-tag {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  gap: 1.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}
.site-nav a:hover { color: var(--clay); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 20px; height: 20px; color: var(--clay); }
.header-phone:hover { color: var(--clay); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1139.98px) {
  .header-inner { gap: 0.75rem; }
  .nav-toggle { display: inline-flex; }
  .no-js .nav-toggle { display: none; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(30, 43, 55, 0.1);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
    padding: 0.25rem 0 1rem;
  }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { padding: 0.95rem 0; font-size: 1.1rem; }

  /* Phone shows as a round icon button */
  .header-phone {
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--clay-100);
  }
  .header-phone span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 599.98px) {
  :root { --header-h: 68px; }
  .header-cta { display: none; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.25rem; }
  .brand-tag { font-size: 0.64rem; }
}

/* ---------- Shared section styles ---------- */

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-white { background: var(--paper); }

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

.section h2 { font-size: clamp(2rem, 4.2vw, 3rem); }

.section-intro { font-size: 1.125rem; color: var(--ink-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--clay-700);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 24px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sea) 0 33.3%, var(--clay) 33.3% 66.6%, var(--slate) 66.6%);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.75rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.75rem, 6.2vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: 1.4rem;
}

.brush {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.brush::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.1em;
  bottom: 0.02em;
  height: 0.4em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 13C46 6 104 4 160 5c50 1 94 2 134 0 3 0 4 4 1 5-30 4-74 7-122 8-60 1-116 3-168 2-4 0-6-6-1-7z' fill='%239dc3b4'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.lead {
  max-width: 36em;
  font-size: clamp(1.1rem, 1.6vw, 1.22rem);
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0 1.5rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-points li { display: flex; align-items: center; gap: 0.45rem; }
.hero-points svg { width: 20px; height: 20px; color: var(--sea-700); }

.hero-art { position: relative; }
.house-art { width: 100%; height: auto; }

.hero-badge {
  position: absolute;
  left: 0;
  top: 4%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.hero-badge strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--clay);
}
.hero-badge span { font-size: 0.86rem; font-weight: 700; line-height: 1.3; }

/* ---------- Trust strip ---------- */

.trust {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-block: 0;
  padding: 0;
  list-style: none;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.6rem 1.35rem;
}
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--sea-100);
  color: var(--sea-700);
}
.trust-icon svg { width: 24px; height: 24px; }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.2;
}
.trust-item div span { display: block; font-size: 0.93rem; line-height: 1.4; color: var(--muted); }

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.swatch-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.swatch-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 160px;
  padding: 1.6rem 1.8rem;
  color: #fff;
}
.swatch-interior .swatch-top { background: var(--sea-700); }
.swatch-exterior .swatch-top { background: var(--clay); }
.swatch-top h3 { margin: 0; font-size: clamp(1.65rem, 2.6vw, 2.05rem); color: #fff; }
.swatch-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.swatch-icon { width: 60px; height: 60px; flex: none; opacity: 0.95; }
.swatch-body { padding: 1.6rem 1.8rem 2rem; }
.swatch-body > p { color: var(--ink-2); }

.check-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}
.check-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-weight: 500; }
.check-list svg { flex: none; width: 20px; height: 20px; margin-top: 0.2rem; color: var(--sea-700); }
.swatch-exterior .check-list svg { color: var(--clay); }

.services-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.75rem;
  padding: 1.4rem 1.8rem;
  border: 1.5px dashed rgba(184, 83, 46, 0.35);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}
.services-cta p { margin: 0; font-size: 1.08rem; }

/* ---------- About (dark) ---------- */

.section-dark { background: var(--ink); color: #dfe5ea; }
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--sea); }

.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.story-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.story-number {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(7rem, 16vw, 12rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--sea);
  font-variation-settings: "opsz" 48;
}
.story-number span { font-size: 0.5em; vertical-align: 0.75em; margin-left: 0.04em; color: var(--clay); }
.story-caption { max-width: 17em; margin-top: 1rem; font-size: 1.15rem; color: #b8c4cd; }

.story-copy > p { font-size: 1.08rem; }

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}
.value {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}
.value svg { width: 28px; height: 28px; margin-bottom: 0.75rem; color: var(--sea); }
.value h3 { margin-bottom: 0.35rem; font-size: 1.2rem; }
.value p { margin: 0; font-size: 0.97rem; color: #b8c4cd; }

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step { position: relative; padding-top: 4.4rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--clay);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--clay);
  font-variation-settings: "opsz" 24;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 68px;
  right: -0.4rem;
  border-top: 2px dashed rgba(184, 83, 46, 0.3);
}
.step h3 { font-size: 1.3rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Service area ---------- */

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.6rem 0;
  padding: 0;
  list-style: none;
}
.town-list li {
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.95rem;
  font-weight: 600;
}
.town-list li.is-home { border-color: var(--ink); background: var(--ink); color: #fff; }
.area-note { margin: 0; color: var(--ink-2); }
.area-note a { font-weight: 700; color: var(--clay-700); }

.area-map {
  margin: 0;
  padding: 0.75rem;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.area-map svg { width: 100%; height: auto; }
.area-map figcaption { padding: 0.5rem 0.5rem 0.1rem; font-size: 0.8rem; color: var(--muted); text-align: right; }

.map-town text,
.map-home text,
.map-water {
  paint-order: stroke;
  stroke: #eef2ea;
  stroke-width: 4px;
  stroke-linejoin: round;
}
.map-water { font-family: var(--font-body); font-size: 12px; font-style: italic; fill: #5f8795; stroke: #cfe2e8; }
.map-shield rect { fill: var(--slate); }
.map-shield text { font-family: var(--font-body); font-size: 11px; font-weight: 700; fill: #fff; text-anchor: middle; }
.map-town circle { fill: var(--slate); }
.map-town text { font-family: var(--font-body); font-size: 13px; font-weight: 600; fill: var(--ink-2); }
.map-home path { fill: var(--clay); }
.map-home text { font-family: var(--font-display); font-size: 17px; font-weight: 600; fill: var(--ink); }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 0.8rem; max-width: 820px; margin-inline: auto; }
.faq-item {
  padding: 0 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--clay);
  border-bottom: 2px solid var(--clay);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-item p { margin: 0 0 1.25rem; color: var(--ink-2); }
.faq-item a { font-weight: 600; color: var(--clay-700); }

/* ---------- Quote / contact ---------- */

.quote { background: var(--cream-2); }

.quote-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-cards { display: grid; gap: 0.9rem; margin-top: 2rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
a.contact-card { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
a.contact-card:hover { border-color: var(--clay); box-shadow: var(--shadow); }
.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--clay-100);
  color: var(--clay);
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-card small {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card strong { display: block; font-size: 1.15rem; overflow-wrap: anywhere; }

.form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.form-title { font-size: 1.6rem; margin-bottom: 0.3rem; }
.form-lede { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.5rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.2rem;
  align-items: end;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
fieldset.field { margin: 0; padding: 0; border: 0; }

.field label,
.field legend { font-size: 0.95rem; font-weight: 700; }
.field legend { padding: 0; margin-bottom: 0.45rem; }
.req { color: var(--clay); }
.optional { font-weight: 500; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  background: #fdfbf8;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334352' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 18px;
}
.field input::placeholder,
.field textarea::placeholder { color: #8b949c; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(184, 83, 46, 0.15);
}

.choice-group { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.choice { position: relative; }
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--field-border);
  border-radius: 999px;
  background: #fdfbf8;
  font-size: 0.97rem;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.choice:hover span { border-color: var(--ink-2); }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }

.hp { display: none; }

.form-error {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid #efc3b3;
  border-radius: 12px;
  background: #fbebe5;
  color: #7a2a12;
}
.form-error a { font-weight: 700; color: inherit; }

.form-footer { display: grid; gap: 0.8rem; margin-top: 1.5rem; }
.form-note { margin: 0; font-size: 0.88rem; color: var(--muted); text-align: center; }

.form-success { padding: 2.5rem 0.5rem; text-align: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.form-success:focus { outline: none; }
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--sea-100);
  color: var(--sea-700);
}
.success-icon svg { width: 36px; height: 36px; }
.form-success h3 { font-size: 1.7rem; }
.form-success p { max-width: 30em; margin-inline: auto; color: var(--ink-2); }
.form-success a { font-weight: 700; color: var(--clay-700); }

/* ---------- Footer ---------- */

.site-footer { padding: 3.75rem 0 2rem; background: var(--ink); color: #b8c4cd; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 2.5rem;
}
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { max-width: 24em; margin: 0; }
.footer-col h2 {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8fa1ae;
}
.footer-col ul { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: #fff; text-decoration: none; }
.footer-col a:hover { color: var(--sea); }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; }
.footer-contact svg { width: 20px; height: 20px; flex: none; color: var(--sea); }
.footer-contact a { overflow-wrap: anywhere; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Mobile call / quote bar ---------- */

.mobile-cta { display: none; }

@media (max-width: 759.98px) {
  body { padding-bottom: 80px; }
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 24px rgba(30, 43, 55, 0.08);
    transition: transform 0.25s ease;
  }
  .mobile-cta.is-hidden { transform: translateY(110%); }
  .mobile-cta .btn-outline { background: var(--paper); }
}

/* ---------- Responsive layout ---------- */

@media (max-width: 979.98px) {
  .hero-grid,
  .story-grid,
  .area-grid,
  .quote-grid { grid-template-columns: 1fr; }

  .hero-art { max-width: 560px; }
  .story-aside { position: static; display: flex; align-items: flex-end; gap: 1.5rem; }
  .story-caption { margin: 0 0 0.6rem; }

  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(odd) { border-left: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1.75rem; }
  .step:not(:last-child)::after { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 679.98px) {
  .services-grid,
  .values { grid-template-columns: 1fr; }

  .swatch-top { min-height: 130px; padding: 1.4rem 1.4rem; }
  .swatch-body { padding: 1.4rem 1.4rem 1.7rem; }
  .swatch-icon { width: 48px; height: 48px; }

  .services-cta { padding: 1.25rem 1.3rem; }
  .services-cta .btn { width: 100%; }

  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .step { padding: 0.35rem 0 0 4.4rem; min-height: 54px; }

  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 519.98px) {
  .hero-actions .btn { width: 100%; }
  .hero-badge { padding: 0.65rem 0.9rem; }
  .hero-badge strong { font-size: 1.7rem; }
  .hero-badge span { font-size: 0.78rem; }

  .trust-item { flex-direction: column; gap: 0.7rem; padding: 1.25rem 1rem; }

  .story-aside { display: block; }
  .story-caption { margin-top: 0.8rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition: none !important; }
}
