/* ==========================================================================
   Hereford Car Keys — global stylesheet
   Dark premium automotive/technology aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --bg: #0a0e16;
  --bg-soft: #0d1320;
  --surface: #111827;
  --surface-2: #162032;
  --surface-3: #1b2739;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef1f7;
  --text-muted: #a3adbf;
  --text-faint: #768195;

  --accent: #ff8a1e;
  --accent-hover: #ffa24d;
  --accent-soft: rgba(255, 138, 30, 0.12);
  --accent-border: rgba(255, 138, 30, 0.38);
  --accent-ink: #0b0e15; /* text placed on the accent colour */

  --ok: #34d399;
  --danger: #f87171;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1160px;
  --container-narrow: 820px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 10px 30px -18px rgba(0, 0, 0, 0.65);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed: 180ms;

  /* Fixed bars */
  --header-h: 72px;
  --bottom-bar-h: 64px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom, 0px));
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  margin: 0 0 1rem;
}

strong {
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.section--alt {
  background: var(--bg-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease),
    border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-soft);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 0.62rem 1.1rem;
  font-size: 0.9rem;
}

.btn .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 14, 22, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.06rem;
  white-space: nowrap;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--accent), #e8660f);
  color: var(--accent-ink);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.brand small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
}

.nav__link:hover {
  color: var(--text);
  background: var(--surface);
}

.nav__link[aria-current="page"] {
  color: var(--text);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.75rem;
}

/* Dropdown (Services) */
.nav__group {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 260px;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease),
    visibility var(--speed) var(--ease);
}

.nav__group.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.93rem;
}

.dropdown a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.dropdown a .dd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  place-items: center;
}

.nav__toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile panel */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__inner {
  padding: 1rem var(--gutter) 1.5rem;
}

.mobile-menu__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 1.25rem 0 0.5rem;
}

.mobile-menu__title:first-child {
  margin-top: 0;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

.mobile-menu .mobile-cta {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 138, 30, 0.14), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(37, 68, 120, 0.35), transparent 55%),
    var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Give the hero photography more presence on larger desktop screens without
   reducing the usable width of the quote form or changing the mobile layout. */
@media (min-width: 1200px) {
  .hero__grid {
    max-width: 1360px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.hero__copy h1 {
  margin-bottom: 1rem;
}

.hero__copy .lead {
  max-width: 34em;
  margin-bottom: 1.75rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero__quickquote {
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero__qq-row {
  display: flex;
  gap: 0.7rem;
}

.hero__quickquote label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: block;
}

.hero__quickquote input {
  flex: 1;
  min-width: 0;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__trust .tick {
  width: 16px;
  height: 16px;
  color: var(--ok);
}

/* --------------------------------------------------------------------------
   7. Image fallback component
   -------------------------------------------------------------------------- */
.ph {
  position: relative;
  margin: 0;
  aspect-ratio: var(--ph-ratio, 4 / 3);
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.035), transparent 45%),
    var(--surface);
  display: grid;
  place-items: center;
}

.ph--tall {
  border-radius: var(--radius);
}

.ph--loaded {
  border-style: solid;
  border-color: var(--border);
}

.ph-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.25rem;
  color: var(--text-muted);
}

.ph-icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
  opacity: 0.9;
  margin-bottom: 0.3rem;
}

.ph-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.ph-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.ph-desc {
  font-size: 0.86rem;
  max-width: 30em;
}

.ph-spec {
  font-size: 0.76rem;
  color: var(--text-faint);
}

.ph-file {
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--text-faint);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
}

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--ph-pos, center);
}

/* --------------------------------------------------------------------------
   8. Cards & grids
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.card:hover {
  border-color: var(--border-strong);
}

a.card {
  color: inherit;
  text-decoration: none;
}

a.card:hover {
  color: inherit;
  border-color: var(--accent-border);
  transform: translateY(-3px);
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1rem;
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

/* Feature list */
.feature {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* --------------------------------------------------------------------------
   9. Forms
   -------------------------------------------------------------------------- */
.field {
  margin-bottom: 1.1rem;
}

.field label,
.field .label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.field .hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-faint);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-faint);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a3adbf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.field__error {
  display: none;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--danger);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}

.field.has-error .field__error {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

/* Choice cards (radio) */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice__card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.choice__card strong {
  font-size: 0.98rem;
}

.choice__card span {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.choice input:checked + .choice__card {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.choice input:focus-visible + .choice__card {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.choice__price {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   10. Quote flow
   -------------------------------------------------------------------------- */
.quote-shell {
  max-width: 760px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.quote-progress {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.quote-progress__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.quote-progress__step {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.quote-progress__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}

.quote-progress__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transition: width var(--speed) var(--ease);
}

.quote-steps {
  padding: clamp(1.4rem, 4vw, 2.25rem);
}

.qs-step {
  display: none;
}

.qs-step.is-active {
  display: block;
  animation: stepIn 240ms var(--ease);
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.qs-step h3 {
  margin-bottom: 0.35rem;
}

.qs-step > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.qs-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.qs-actions .spacer {
  flex: 1;
}

/* Summary */
.summary-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.summary-list dl {
  margin: 0;
}

.summary-list .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.summary-list .row:last-child {
  border-bottom: 0;
}

.summary-list dt {
  color: var(--text-muted);
}

.summary-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.guide-price {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  margin-bottom: 1.25rem;
}

.guide-price__amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}

.guide-price__note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

.qs-note {
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   11. Pricing table
   -------------------------------------------------------------------------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.96rem;
}

.price-table th {
  background: var(--bg-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td.price {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.price-table td small {
  display: block;
  color: var(--text-faint);
  font-size: 0.8rem;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   12. Coverage / map
   -------------------------------------------------------------------------- */
.coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--surface);
}

.map-facade {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  min-height: 320px;
  display: grid;
  place-items: center;
}

.map-facade__body {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

.map-facade__body .ph-icon {
  margin-inline: auto;
}

.map-facade iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   13. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.accordion__item + .accordion__item {
  border-top: 1px solid var(--border);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.accordion__trigger:hover {
  color: var(--accent);
}

.accordion__trigger .chev {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform var(--speed) var(--ease);
  color: var(--text-muted);
}

.accordion__item.is-open .chev {
  transform: rotate(180deg);
  color: var(--accent);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms var(--ease);
}

.accordion__panel-inner {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   14. Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
  padding-block: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--text-faint);
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs [aria-current="page"] {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   15. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(800px 420px at 90% -20%, rgba(255, 138, 30, 0.12), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero .lead {
  max-width: 46em;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* Prose (legal / long-form) */
.prose {
  max-width: var(--container-narrow);
  font-size: 0.98rem;
}

.prose h2 {
  font-size: 1.45rem;
  margin-top: 2.25rem;
}

.prose h3 {
  margin-top: 1.5rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose p {
  color: var(--text-muted);
}

.callout {
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--text);
  margin: 1.25rem 0;
}

.callout p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   16. Reviews placeholder
   -------------------------------------------------------------------------- */
.reviews-empty {
  text-align: center;
  padding: 2.5rem 2rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
}

.reviews-empty .ph-icon {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 50% 120%, rgba(255, 138, 30, 0.22), transparent 65%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 42em;
  margin-inline: auto;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.site-footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer ul li {
  margin-bottom: 0.6rem;
}

.site-footer ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.94rem;
}

.site-footer ul a:hover {
  color: var(--text);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.93rem;
  max-width: 30em;
}

.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   19. Mobile bottom action bar
   -------------------------------------------------------------------------- */
.bottom-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(17, 24, 39, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-strong);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bottom-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.55rem var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
}

.bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.45rem 0.3rem;
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
}

.bottom-bar a svg {
  width: 20px;
  height: 20px;
}

.bottom-bar a.is-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.bottom-bar a.is-accent:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

/* --------------------------------------------------------------------------
   20. Utilities & misc
   -------------------------------------------------------------------------- */
.text-muted {
  color: var(--text-muted);
}

.text-accent {
  color: var(--accent);
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: top var(--speed) var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* Simple icon list */
.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.icon-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--text-muted);
}

.icon-list li svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

/* Inline definition lists for legal meta */
.meta-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.meta-list li {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}

.meta-list li:last-child {
  border-bottom: 0;
}

.meta-list .k {
  color: var(--text-muted);
  flex: 0 0 auto;
}

.meta-list .v {
  font-weight: 600;
  text-align: right;
}

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  .nav__cta .btn--ghost {
    display: none;
  }
}

@media (max-width: 767px) {
  .nav {
    display: none;
  }
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: grid;
  }
  .bottom-bar {
    display: block;
  }
  .grid--2,
  .grid--3,
  .grid--4,
  .form-row,
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .hero__qq-row {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .price-table {
    display: block;
    overflow-x: auto;
  }
  .qs-actions {
    flex-wrap: wrap;
  }
  .qs-actions .btn--ghost {
    order: 2;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   22. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
