/* ==========================================================================
   Euro Stars Housing & Accommodation
   Design system: navy #0b425e (brand) / blue #0568a4 (interactive)
   Type: Archivo variable (self-hosted). Light theme, locked.
   Radius rule: controls 10px, cards & media 16px, step badges circular.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../assets/fonts/archivo-latin.woff2') format('woff2');
}

:root {
  --bg: #f4f6f7;
  --surface: #ffffff;
  --surface-tint: #ecf2f5;
  --ink: #12242f;
  --ink-soft: #445864;
  --navy: #0b425e;
  --navy-hover: #093950;
  --navy-deep: #08293c;
  --navy-deepest: #051c2a;
  --blue: #0568a4;
  --blue-hover: #045a8e;
  --gold: #d29a3a;
  --line: #d9e1e6;
  --line-dark: rgba(255, 255, 255, 0.16);
  --ink-inverse: #eef4f7;
  --ink-inverse-soft: #a9c0cd;
  --warn-bg: #fdf3e3;
  --warn-border: #ecd9b4;
  --warn-ink: #6d4a12;
  --shadow-card: 0 1px 2px rgba(11, 44, 62, 0.06), 0 14px 34px -18px rgba(11, 44, 62, 0.25);
  --shadow-lift: 0 2px 4px rgba(11, 44, 62, 0.07), 0 22px 44px -20px rgba(11, 44, 62, 0.32);
  --r-ctrl: 10px;
  --r-card: 16px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-stretch: 106%;
  font-weight: 660;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--navy);
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 4.6vw, 3.55rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.005em; }

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

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }

ul { margin: 0 0 1.1em; padding-left: 1.2em; }

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

::selection { background: rgba(5, 104, 164, 0.22); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--r-ctrl) 0;
}
.skip-link:focus-visible { left: 0; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

#top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 10px; pointer-events: none; }

/* --------------------------------------------------------------- layout */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.wrap-narrow { max-width: 780px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head > p { color: var(--ink-soft); }

.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 58ch; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(11, 44, 62, 0.3);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  margin-right: auto;
}
.brand:hover { color: var(--navy); }
.brand-mark { width: 40px; height: 44px; flex: none; }
.brand-name {
  font-weight: 700;
  font-stretch: 116%;
  font-size: 1.18rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav { display: flex; align-items: center; gap: 0.4rem; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 540;
  font-size: 0.98rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-ctrl);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.site-nav a:hover { background: var(--surface-tint); color: var(--navy); }
.site-nav a[aria-current='page'] { color: var(--navy); font-weight: 680; }

.header-phone { margin-left: 0.6rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-ctrl);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle .icon { width: 1.4em; height: 1.4em; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.55rem;
  border-radius: var(--r-ctrl);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 620;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .icon { width: 1.1em; height: 1.1em; }

.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.95rem; }

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lift); }

.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(11, 66, 94, 0.35); }
.btn-ghost:hover { color: var(--navy); border-color: var(--navy); background: rgba(11, 66, 94, 0.06); transform: translateY(-1px); }

/* On dark bands */
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--ink-inverse); color: var(--navy-deep); transform: translateY(-1px); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.5); }

/* --------------------------------------------------------------- hero (home) */
.hero { overflow: clip; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 680;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.hero-eyebrow .stars { display: inline-flex; gap: 4px; }
.hero-eyebrow .stars i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.hero h1 { margin-bottom: 0.5em; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-media { position: relative; }
.hero-media::before {
  content: '';
  position: absolute;
  inset: 9% -7% -7% 9%;
  background: var(--navy);
  border-radius: var(--r-card);
  opacity: 0.1;
}
.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lift);
}

/* --------------------------------------------------------------- stat strip */
.stat-strip { border-block: 1px solid var(--line); background: var(--surface); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  }
.stat {
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 2.5vw, 2.5rem);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 0.35rem;
}
.stat span { color: var(--ink-soft); font-size: 0.99rem; line-height: 1.45; display: block; max-width: 26ch; }

/* --------------------------------------------------------------- split section */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.2rem, 5vw, 5rem);
  align-items: center;
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.split-body > p { color: var(--ink-soft); }
.split-body .text-link { margin-top: 0.6rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 640;
  text-decoration: none;
  color: var(--blue);
}
.text-link .icon { transition: transform 0.2s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------- audience panels */
.panels {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.5rem;
}
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--r-card);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  box-shadow: var(--shadow-card);
}
.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s var(--ease);
}
.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(5, 28, 42, 0.92) 0%, rgba(5, 28, 42, 0.45) 45%, rgba(5, 28, 42, 0.12) 100%);
}
.panel:hover img { transform: scale(1.04); }
.panel h3 {
  color: #fff;
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.panel h3 .icon { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.panel:hover h3 .icon { transform: translate(3px, -3px); }
.panel p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 44ch; }

/* --------------------------------------------------------------- steps */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 4rem);
  counter-reset: step;
}
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.1rem;
  align-items: start;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-tint);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.25rem;
  font-stretch: 110%;
}
.step h3 { margin-bottom: 0.3rem; font-size: 1.18rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* --------------------------------------------------------------- accreditation strip (home) */
.accred-strip { text-align: center; }
.accred-strip h2 { margin-bottom: 0.4rem; }
.accred-strip > .wrap > p { color: var(--ink-soft); max-width: 56ch; margin-inline: auto; }
.accred-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin: 2.2rem 0 1.6rem;
}
.accred-logos img { height: 74px; width: auto; }
.accred-logos .logo-wide { height: 46px; }

/* --------------------------------------------------------------- CTA band */
.cta-band {
  background:
    radial-gradient(90rem 40rem at 110% -40%, rgba(5, 104, 164, 0.35), transparent 60%),
    var(--navy-deep);
  color: var(--ink-inverse);
  border-radius: var(--r-card);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.6rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.cta-band h2 { color: #fff; margin-bottom: 0.35rem; }
.cta-band p { color: var(--ink-inverse-soft); margin: 0; max-width: 48ch; }
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.cta-actions .phone-line {
  color: var(--ink-inverse);
  text-decoration: none;
  font-weight: 640;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cta-actions .phone-line:hover { color: #fff; }
.cta-stars { display: inline-flex; gap: 5px; margin-bottom: 0.9rem; }
.cta-stars i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* --------------------------------------------------------------- page hero (interior pages) */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.page-hero .lead { margin-top: 0.4rem; }
.page-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}

/* --------------------------------------------------------------- feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.feature .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-ctrl);
  background: var(--surface-tint);
  color: var(--navy);
  margin-bottom: 1.1rem;
}
.feature .feature-icon .icon { width: 1.55em; height: 1.55em; }
.feature h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* --------------------------------------------------------------- fee panel */
.fee-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(2rem, 5vw, 3.2rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.fee-figure { text-align: left; }
.fee-figure b {
  font-size: clamp(3rem, 6vw, 4.2rem);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1;
  display: block;
}
.fee-figure span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.fee-panel h2 { font-size: 1.6rem; }
.fee-panel p { color: var(--ink-soft); margin-bottom: 0; }

/* --------------------------------------------------------------- checklists */
.checklists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.checklist {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.checklist h3 { font-size: 1.2rem; margin-bottom: 1.1rem; }
.checklist ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.checklist li .icon { color: var(--navy); margin-top: 0.2em; width: 1.1em; height: 1.1em; }
.checklist li b { color: var(--ink); font-weight: 640; }

/* --------------------------------------------------------------- note strip (EPC) */
.note-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface-tint);
  border-radius: var(--r-card);
  padding: 1.3rem clamp(1.3rem, 3vw, 2rem);
  color: var(--navy);
}
.note-strip .icon { width: 1.7em; height: 1.7em; flex: none; }
.note-strip p { margin: 0; font-weight: 540; }

/* --------------------------------------------------------------- warning panel (tenants) */
.warn-panel {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--r-card);
  padding: 1.3rem clamp(1.3rem, 3vw, 2rem);
  color: var(--warn-ink);
}
.warn-panel .icon { width: 1.6em; height: 1.6em; flex: none; margin-top: 0.1em; }
.warn-panel p { margin: 0; font-weight: 540; }
.warn-panel a { color: inherit; font-weight: 680; }

/* --------------------------------------------------------------- repairs accordions */
.repairs { display: grid; gap: 1rem; }
.repair {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.repair summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 1.8rem);
  cursor: pointer;
  list-style: none;
  font-weight: 660;
  color: var(--navy);
  font-size: 1.12rem;
  transition: background 0.2s var(--ease);
}
.repair summary::-webkit-details-marker { display: none; }
.repair summary:hover { background: var(--surface-tint); }
.repair summary .chip {
  margin-left: auto;
  font-size: 0.83rem;
  font-weight: 680;
  color: var(--navy);
  background: var(--surface-tint);
  border-radius: var(--r-ctrl);
  padding: 0.35rem 0.8rem;
  white-space: nowrap;
}
.repair summary .icon { transition: transform 0.25s var(--ease); color: var(--ink-soft); }
.repair[open] summary .icon-caret { transform: rotate(180deg); }
.repair-body { padding: 0.3rem clamp(1.25rem, 3vw, 1.8rem) 1.5rem; border-top: 1px solid var(--line); }
.repair-body p { color: var(--ink-soft); font-size: 0.98rem; padding-top: 1rem; margin-bottom: 0.4rem; }
.repair-body ul {
  columns: 2;
  column-gap: 2.5rem;
  list-style: none;
  padding: 0.6rem 0 0;
  margin: 0;
}
.repair-body li {
  break-inside: avoid;
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.repair-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 8px;
  height: 2px;
  background: var(--navy);
  opacity: 0.5;
}

/* --------------------------------------------------------------- number panels */
.numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.number-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.number-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.13rem;
  margin-bottom: 1rem;
}
.number-card h3 .icon { color: var(--navy); width: 1.25em; height: 1.25em; }
.number-card dl { margin: 0; display: grid; gap: 0.7rem; }
.number-card div { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; align-items: baseline; justify-content: space-between; }
.number-card dt { color: var(--ink-soft); font-size: 0.99rem; }
.number-card dd {
  margin: 0;
  font-weight: 700;
  font-stretch: 108%;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.number-card dd a { color: inherit; text-decoration: none; }
.number-card dd a:hover { color: var(--blue); }

/* --------------------------------------------------------------- accreditation cards (about) */
.accred-cards { display: grid; gap: 1.5rem; }
.accred-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.accred-card .accred-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}
.accred-card img { max-height: 84px; width: auto; }
.accred-card h3 { font-size: 1.22rem; margin-bottom: 0.4rem; }
.accred-card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 0.6rem; }

/* --------------------------------------------------------------- policy blocks */
.policies { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.policy h3 { font-size: 1.25rem; }
.policy p, .policy li { color: var(--ink-soft); font-size: 1rem; }
.policy ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; margin-bottom: 1rem; }
.policy li { display: flex; gap: 0.7rem; align-items: flex-start; line-height: 1.5; }
.policy li .icon { color: var(--navy); margin-top: 0.25em; width: 1.05em; height: 1.05em; }

/* --------------------------------------------------------------- contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-details { display: grid; gap: 1rem; margin-bottom: 2.4rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.2rem 1.4rem;
}
.contact-item .icon { color: var(--navy); width: 1.4em; height: 1.4em; margin-top: 0.15em; }
.contact-item b { display: block; color: var(--navy); font-size: 1.02rem; margin-bottom: 0.15rem; }
.contact-item p, .contact-item address { margin: 0; font-style: normal; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.contact-item a { color: var(--blue); text-decoration: none; font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }

.map-frame {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  display: block;
}

/* --------------------------------------------------------------- forms */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
.form-card h2 { font-size: 1.45rem; margin-bottom: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: grid; gap: 0.4rem; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-weight: 640; font-size: 0.95rem; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-ctrl);
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: var(--blue);
  background: #fff;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #6d8291; }
.form-foot { margin-top: 1.3rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-note { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  display: none;
  gap: 0.7rem;
  align-items: flex-start;
  border-radius: var(--r-ctrl);
  padding: 1rem 1.2rem;
  margin-bottom: 1.3rem;
  font-size: 0.99rem;
  line-height: 1.5;
}
.alert.show { display: flex; }
.alert .icon { flex: none; margin-top: 0.15em; }
.alert-ok { background: #e8f3ec; border: 1px solid #c4dfcf; color: #1d5636; }
.alert-err { background: #faecec; border: 1px solid #ecc9c9; color: #7c2727; }

/* --------------------------------------------------------------- prose (legal) */
.prose { max-width: 70ch; }
.prose h1 { margin-bottom: 0.8rem; }
.prose h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose .lead { margin-bottom: 2rem; }

/* --------------------------------------------------------------- footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--ink-inverse-soft);
  margin-top: clamp(3rem, 7vw, 5.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(2.8rem, 6vw, 4.5rem);
}
.footer-brand .brand { color: #fff; margin-bottom: 1rem; margin-right: 0; }
.footer-brand .brand-sub { color: var(--ink-inverse-soft); }
.footer-brand p { font-size: 0.98rem; max-width: 34ch; line-height: 1.6; }
.site-footer h4 {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-links a { color: var(--ink-inverse-soft); text-decoration: none; font-size: 0.99rem; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-contact { font-style: normal; font-size: 0.99rem; line-height: 1.7; }
.footer-contact a { color: var(--ink-inverse); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid var(--line-dark); background: var(--navy-deepest); }
.footer-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.8rem;
  align-items: center;
  padding-block: 1.3rem;
  font-size: 0.88rem;
}
.footer-bottom-bar p { margin: 0; }
.footer-bottom-bar .legal-links { margin-left: auto; display: flex; gap: 1.4rem; }
.footer-bottom-bar a { color: var(--ink-inverse-soft); text-decoration: none; }
.footer-bottom-bar a:hover { color: #fff; }

/* --------------------------------------------------------------- 404 */
.error-hero { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.error-hero .error-code {
  font-size: clamp(4.5rem, 12vw, 7.5rem);
  font-weight: 700;
  font-stretch: 115%;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-hero p { color: var(--ink-soft); max-width: 44ch; margin-inline: auto; }
.error-hero .hero-ctas { justify-content: center; margin-top: 1.8rem; }

/* --------------------------------------------------------------- reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: 0.08s; }
  .reveal-d2 { transition-delay: 0.16s; }
  .reveal-d3 { transition-delay: 0.24s; }
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .site-nav a { padding-inline: 0.6rem; font-size: 0.94rem; }
  .header-phone { display: none; }
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    z-index: 80;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(11, 44, 62, 0.4);
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    display: none;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a { font-size: 1.08rem; padding: 0.8rem 0.9rem; }
  .site-nav .header-phone {
    display: inline-flex;
    margin: 0.6rem 0 0;
    justify-content: center;
  }

  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .panels { grid-template-columns: 1fr; }
  .panel { min-height: 300px; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .checklists { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr; }
  .policies { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 340px; }
  .cta-band { grid-template-columns: 1fr; }
  .fee-panel { grid-template-columns: 1fr; gap: 1.2rem; }
  .accred-card { grid-template-columns: 1fr; gap: 1rem; }
  .accred-card .accred-logo { justify-content: flex-start; min-height: 0; }
  .repair-body ul { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom-bar .legal-links { margin-left: 0; }
}

@media (max-width: 640px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .stat:first-child { border-top: 0; }
  .stat span { max-width: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.05rem; }
  .hero-ctas .btn { flex: 1 1 auto; }
}
