/* ==========================================================================
   Global Moving Experts — component styles
   ========================================================================== */

/* ---- Header / navigation ------------------------------------------------ */
.topbar {
  background: var(--color-ink);
  color: rgba(250, 246, 240, 0.85);
  font-size: 0.8rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.55em;
  padding-bottom: 0.55em;
  gap: 1rem;
}
.topbar a { color: inherit; white-space: nowrap; }
.topbar-links { display: flex; gap: 1.4rem; min-width: 0; overflow: hidden; }
.topbar-links a:last-child { overflow: hidden; text-overflow: ellipsis; }

.topbar .nav-item { flex-shrink: 0; }
.topbar .nav-item > button {
  color: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0;
}
.topbar .nav-dropdown { right: 0; left: auto; top: 100%; margin-top: 0; z-index: 150; }
.topbar .nav-dropdown a { color: var(--color-ink); }
.flag-icon { vertical-align: middle; margin-right: 0.15em; border-radius: 2px; position: relative; top: -1px; }

@media (max-width: 640px) {
  .topbar { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.96);
  border-bottom: 1px solid var(--color-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.brand { display: flex; align-items: center; gap: 0.7em; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-clay-dark);
  margin-top: 0.15em;
}

.main-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  color: var(--color-ink);
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--color-clay-dark); text-decoration: none; }

.nav-item { position: relative; }
.nav-item > button {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.35em;
  font: inherit;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-ink);
  cursor: pointer;
  padding: 0.4em 0;
  white-space: nowrap;
}
.nav-item > button:hover { color: var(--color-clay-dark); }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.75rem;
  min-width: 260px;
  display: none;
  list-style: none;
  margin: 0;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { display: block; }
/* Escape dismisses an open dropdown without moving focus (see main.js). */
.nav-item.is-dismissed .nav-dropdown { display: none; }
.nav-dropdown li a {
  display: block;
  padding: 0.55em 0.75em;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.nav-dropdown li a:hover { background: var(--color-paper-dim); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 1.4rem; }
.header-phone { font-weight: 500; font-size: 0.88rem; color: var(--color-ink-70); white-space: nowrap; }
.header-phone:hover { color: var(--color-clay-dark); }
.mobile-nav-cta { display: none; }
/* .main-nav .mobile-lang-switch, not just .mobile-lang-switch: this <ul> sits directly inside
   .main-nav, so the existing ".main-nav > ul { display: flex }" rule (higher specificity) was
   winning over a bare class selector here and showing it, unwrapped, on desktop too. */
.main-nav .mobile-lang-switch { display: none; }
@media (max-width: 560px) {
  .header-actions > .btn { display: none; }
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0.5em 0.7em;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .brand-name { font-size: 0.94rem; }
  .brand-name small { display: none; }
  .header-actions { gap: 0.7rem; }
  .mobile-nav-cta { display: block; margin-top: 1.25rem; }
  .main-nav .mobile-lang-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 1.25rem 0 0;
    margin: 1.25rem 0 0;
    border-top: 1px solid var(--color-line);
  }
  .mobile-lang-switch a { font-size: 0.88rem; color: var(--color-ink-70); }
  .mobile-lang-switch a[aria-current="true"] { color: var(--color-clay-dark); font-weight: 600; }
  .main-nav.is-open {
    display: block;
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--color-paper);
    padding: 5.5rem 1.25rem 2rem;
    overflow-y: auto;
    z-index: 90;
  }
  .main-nav.is-open > ul { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .main-nav.is-open .nav-item { border-bottom: 1px solid var(--color-line); }
  .main-nav.is-open .nav-item > button { width: 100%; justify-content: space-between; padding: 0.9em 0; }
  .main-nav.is-open a { display: block; padding: 0.7em 0; }
  .main-nav.is-open .nav-dropdown { position: static; box-shadow: none; border: none; display: none; padding-left: 0.5rem; }
  .main-nav.is-open .nav-item.is-expanded .nav-dropdown { display: block; }
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
}

/* ---- Hero — full-bleed photo background, copy + quote panel blended on top --------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 82vh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 6vw, 5.5rem);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .photo-frame {
  position: absolute; inset: 0;
  aspect-ratio: auto; border-radius: 0;
}
.hero-bg .photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22,35,63,0.86) 0%, rgba(22,35,63,0.68) 32%, rgba(22,35,63,0.32) 58%, rgba(22,35,63,0.08) 76%);
}
@media (max-width: 860px) {
  .hero-bg::after { background: linear-gradient(180deg, rgba(22,35,63,0.72) 0%, rgba(22,35,63,0.84) 40%, rgba(22,35,63,0.9) 100%); }
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
.hero-copy .eyebrow { color: var(--color-clay-pale); }
.hero-copy .eyebrow::before { background: var(--color-clay-bright); }
.hero-copy h1 { color: var(--color-white); }
.hero-copy p.lede { color: rgba(250, 246, 240, 0.92); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.9rem; }
.hero-ctas .link-arrow { color: var(--color-white); }
.hero-ctas .btn-primary { background: var(--color-clay-dark); }
.hero-ctas .btn-primary:hover { background: var(--color-clay); }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem 2rem;
  margin-top: 2.4rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(250, 246, 240, 0.25);
  list-style: none;
  padding-left: 0;
}
.hero-points li {
  font-size: 0.86rem;
  color: rgba(250, 246, 240, 0.82);
  display: flex;
  align-items: baseline;
  gap: 0.5em;
}
.hero-points li::before { content: '—'; color: var(--color-clay-bright); }

@media (max-width: 640px) {
  .hero { padding-top: 1.75rem; }
  .hero-ctas { margin-top: 1.3rem; }
  .hero-points { display: none; }
  .hero-panel { padding: 1.1rem; }
  .hero-panel h2 { font-size: 1.05rem; }
  .hero-panel .lede { font-size: 0.85rem; margin-bottom: 0.9rem; }
  .hero-panel .field { margin-bottom: 0.7rem; }
  .hero-panel .field label { font-size: 0.78rem; margin-bottom: 0.3em; }
  .hero-panel .field input,
  .hero-panel .field select { padding: 0.55em 0.7em; font-size: 0.92rem; }
  .hero-panel .route-form legend { margin-bottom: 0.4em; }
  .hero-panel .route-form fieldset { margin-bottom: 0.6rem; }
  .hero-panel .route-divider { margin: 0.5rem 0; }
  .hero-panel .btn-block { padding: 0.7em 1.1em; }
}

.hero-panel {
  position: relative;
  background: var(--color-white);
  color: var(--color-ink);
  border-radius: var(--radius-md);
  padding: clamp(1.4rem, 2.2vw, 1.85rem);
  box-shadow: var(--shadow-lg);
  border-top: 2px solid var(--color-clay);
  z-index: 1;
  justify-self: end;
  width: 100%;
  max-width: 400px;
}
@media (max-width: 860px) {
  .hero-panel { justify-self: stretch; max-width: none; margin-top: 0.5rem; }
}
.hero-panel h2 { font-size: 1.2rem; margin-bottom: 0.25em; }
.hero-panel .lede { font-size: 0.9rem; margin-bottom: 1.3rem; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
}

/* ---- Route quote form ---------------------------------------------------- */
.route-form fieldset {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}
.route-form legend {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-clay-dark);
  margin-bottom: 0.6em;
}
.route-form .field-row { grid-template-columns: 1fr 1fr; }
.route-divider {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin: 0.9rem 0;
  color: var(--color-blue-grey);
}
.route-divider::before, .route-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-line);
}

/* ---- Sections with visuals ------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
@media (max-width: 860px) {
  /* minmax(0, 1fr), not plain 1fr: a bare 1fr track still behaves like minmax(auto, 1fr),
     so it refuses to shrink below its content's min-content width (e.g. a photo-frame's
     intrinsic image size) — that was overflowing the viewport horizontally on narrow phones. */
  .split, .split--reverse { grid-template-columns: minmax(0, 1fr); direction: ltr; }
}

.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-sand);
  aspect-ratio: 4 / 3;
}
.photo-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 500ms ease;
}
.photo-frame:hover img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  .photo-frame img { transition: none; }
  .photo-frame:hover img { transform: none; }
}
.photo-frame--tall { aspect-ratio: 3 / 4; }
.photo-frame--wide { aspect-ratio: 16 / 9; }

/* Placeholder reads as "photography in progress", not a broken image — quiet and on-brand
   rather than a loud graphic block, since the finished site is meant to be photography-led. */
.photo-frame-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
  padding: 1.5rem;
  background: var(--color-sand);
  color: var(--color-ink-50);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.photo-frame-placeholder::before {
  content: '';
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.3px solid var(--color-clay);
  opacity: 0.8;
}
.photo-frame-placeholder span { max-width: 20em; }

/* ---- Destination cards ---------------------------------------------------- */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}
.destination-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 1.25rem;
}
.destination-mosaic .destination-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .destination-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .destination-mosaic .destination-card:nth-child(1) { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 560px) {
  .destination-mosaic { grid-template-columns: 1fr; }
}

.destination-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  background: var(--color-ink-soft);
}
.destination-card:hover { text-decoration: none; }
.destination-card:hover img { transform: scale(1.045); }
/* Base layer: the photo itself (or the fallback --color-ink-soft background if none exists yet).
   No z-index needed — it's the first thing in the card, everything else layers on top of it
   naturally, and it must NOT be a negative z-index (that would paint it behind the card's own
   background instead of in front of it — a real bug caught only once real photos existed to
   test with, see project notes). */
.destination-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms ease;
}
/* Middle layer: the darkening gradient for text legibility, ABOVE the photo, BELOW the text. */
.destination-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,35,63,0) 0%, rgba(22,35,63,0.35) 100%);
  pointer-events: none;
}
/* Local scrim behind just the text block, fading in above it: the old full-height gradient left
   the region eyebrow/title sit in only ~40-60% dark, so on bright photos (sky, white facades) the
   small text measured 1.2-3:1. This keeps the top of each photo vivid but guarantees AA behind
   the words (measured against the real photo pixels, worst-case brightest 5%). */
.destination-card-body::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0; top: -48px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(22,35,63,0) 0%, rgba(22,35,63,0.8) 30%, rgba(22,35,63,0.9) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .destination-card img { transition: none; }
  .destination-card:hover img { transform: none; }
}
/* Top layer: the actual card text. */
.destination-card-body { padding: 1.3rem 1.4rem; position: relative; z-index: 1; }
.destination-card .eyebrow { color: rgba(250,246,240,0.95); margin-bottom: 0.35em; }
.destination-card .eyebrow::before { background: var(--color-clay-bright); }
.destination-card h3 { color: var(--color-white); margin-bottom: 0.2em; font-size: 1.25rem; }
.destination-card p { color: rgba(250,246,240,0.92); font-size: 0.84rem; margin-bottom: 0.5em; }
.destination-card .card-cta { font-size: 0.84rem; font-weight: 600; color: var(--color-white); }

/* ---- Service cards --------------------------------------------------------- */
.service-rows { border-top: 1px solid var(--color-line); }
.service-row {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  align-items: center;
  gap: 1.75rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--color-line);
  text-decoration: none;
  color: var(--color-ink);
  transition: background var(--transition);
}
.service-row:hover { text-decoration: none; background: var(--color-paper-dim); }
.service-row-index {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-clay-dark);
}
.service-row h3 { margin-bottom: 0.2em; }
.service-row p { margin: 0; font-size: 0.92rem; color: var(--color-ink-70); }
.service-row .card-cta { font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) {
  .service-row { grid-template-columns: 2.5rem 1fr; row-gap: 0.6rem; }
  .service-row .card-cta { grid-column: 1 / -1; }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  background: var(--color-white);
  display: block;
  color: var(--color-ink);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover { text-decoration: none; border-color: var(--color-clay); box-shadow: var(--shadow-sm); }
.service-card h3 { margin-bottom: 0.4em; }
.service-card p { font-size: 0.92rem; color: var(--color-ink-70); margin-bottom: 0.8em; }
.service-card .card-cta { font-size: 0.85rem; font-weight: 600; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.review-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.review-stars { color: var(--color-clay-dark); font-size: 1.05rem; letter-spacing: 0.1em; }
.review-quote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-ink-70);
  flex-grow: 1;
}
.review-meta { display: flex; flex-direction: column; gap: 0.15rem; }
.review-name { font-weight: 600; font-size: 0.92rem; }
.review-route { font-size: 0.85rem; color: var(--color-ink-70); }
.reviews-section .lede { display: flex; align-items: center; justify-content: center; gap: 0.5em; flex-wrap: wrap; }

/* ---- Process / timeline ----------------------------------------------------- */
.process-list { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.process-step {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1.4rem;
  padding-bottom: 2.4rem;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-clay-dark);
  width: 3.25rem; height: 3.25rem;
  border: 1px solid var(--color-clay);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-paper);
  z-index: 1;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.6rem;
  top: 3.25rem;
  bottom: -0.3rem;
  width: 1px;
  background: var(--color-line);
}
.process-step h3 { margin-bottom: 0.3em; }
.process-step p { color: var(--color-ink-70); margin-bottom: 0; font-size: 0.95rem; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--color-line); }
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-item summary {
  padding: 1.2rem 0;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-clay-dark);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer { padding: 0 0 1.3rem; color: var(--color-ink-70); max-width: 44em; }

/* ---- Breadcrumbs ---------------------------------------------------------- */
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--color-ink-70);
  padding: 1rem 0 0;
}
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4em; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 0.5em; color: var(--color-line); }
.breadcrumbs a { color: var(--color-ink-70); }

/* ---- Key facts strip ------------------------------------------------------ */
.key-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.8rem 0;
  padding: 1.5rem;
  background: var(--color-paper-dim);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
}
.key-facts dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-clay-dark); font-weight: 700; margin-bottom: 0.3em; }
.key-facts dd { margin: 0; font-size: 0.95rem; }

/* ---- Table of contents ----------------------------------------------------- */
.page-toc {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin-bottom: 2rem;
  background: var(--color-white);
}
.page-toc h2 { font-size: 0.92rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6em; }
.page-toc ol { columns: 2; gap: 1.5rem; margin: 0; padding-left: 1.1em; font-size: 0.92rem; }
@media (max-width: 560px) { .page-toc ol { columns: 1; } }

/* ---- Final CTA band -------------------------------------------------------- */
.cta-band {
  background: var(--color-ink);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 4vw, 3.25rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { color: var(--color-white); margin-bottom: 0.3em; font-size: 1.6rem; }
.cta-band p { color: rgba(250,246,240,0.78); margin: 0; }
.cta-band-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }

/* ---- Sticky mobile quote bar ------------------------------------------------ */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw; /* not 100% — with just left/right:0 (or width:100%) this measurably rendered
    wider than the viewport on narrow phones (a fixed-position containing-block quirk); 100vw
    ties it directly to the actual viewport width instead. */
  z-index: 95;
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
  padding: 0.8rem 1rem;
  display: none;
  box-shadow: 0 -4px 16px rgba(22,35,63,0.08);
}
.sticky-cta .btn { width: 100%; }
@media (max-width: 720px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 4.5rem; }
}

/* ---- Footer — calm, organized, not visually heavy despite the dark ground ------------------ */
.site-footer { background: var(--color-ink); color: rgba(250, 246, 240, 0.75); }
.footer-top { padding: clamp(3.5rem, 6vw, 5rem) 0 2.75rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand-name { color: var(--color-white); }
.footer-brand p { font-size: 0.9rem; margin-top: 1.1rem; color: rgba(250,246,240,0.6); max-width: 26em; }
.footer-contact { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1.2rem !important; }
.footer-contact a { color: var(--color-clay-bright); font-size: 0.9rem; font-weight: 500; }
.footer-contact a:hover { color: var(--color-white); text-decoration: none; }
.footer-col h3 { color: var(--color-white); font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { color: rgba(250,246,240,0.68); font-size: 0.89rem; }
.footer-col a:hover { color: var(--color-clay-bright); text-decoration: none; }
.footer-col a[aria-current="true"] { color: var(--color-clay-bright); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(250,246,240,0.14);
  padding: 1.4rem 0;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  color: rgba(250,246,240,0.5);
}
.footer-bottom a { color: rgba(250,246,240,0.5); }
.footer-bottom a:hover { color: rgba(250,246,240,0.8); }
.footer-bottom ul { list-style: none; display: flex; gap: 1.3rem; padding: 0; margin: 0; }

/* ---- Quote flow (multi-step) ------------------------------------------------ */
.quote-shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.quote-steps {
  display: flex;
  list-style: none;
  padding: 0; margin: 0 0 2rem;
  counter-reset: qstep;
  gap: 0.4rem;
}
.quote-steps li {
  flex: 1;
  min-width: 0; /* a flex item defaults to min-width:auto (its content's min-content size), so
    without this, 5 unbreakable words like "Destination" refuse to shrink below their natural
    width and push the step bar past the viewport on narrow phones instead of wrapping. */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* paired with min-width:0 + overflow/ellipsis above: once a label can no
    longer fit its own 1/5 share on a narrow phone, truncate it cleanly ("Destinat…") instead of
    letting it spill into the neighbouring label, which is what plain wrapping did here. */
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink-70);
  padding-top: 0.6rem;
  border-top: 2px solid var(--color-line);
}
.quote-steps li.is-active,
.quote-steps li.is-done { color: var(--color-clay-dark); border-top-color: var(--color-clay); }

.quote-shell.is-js .quote-step { display: none; }
.quote-shell.is-js .quote-step.is-active { display: block; }
.quote-shell.is-js .quote-steps { display: flex; }
.quote-shell:not(.is-js) .quote-steps { display: none; }
.quote-step h2 { margin-bottom: 0.2em; }
.quote-step h2:focus { outline: none; } /* focus is moved here after a step change (main.js); it is not a control */
.quote-step > p.lede { margin-bottom: 1.5rem; font-size: 0.95rem; }

.quote-nav { display: flex; justify-content: space-between; margin-top: 1.8rem; gap: 1rem; }
.service-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
@media (max-width: 560px) { .service-checks, .field-row, .route-form .field-row { grid-template-columns: 1fr; } }

.quote-summary { background: var(--color-paper-dim); border-radius: var(--radius-md); padding: 1.2rem; margin-bottom: 1.5rem; font-size: 0.92rem; }
.quote-summary dt { font-weight: 600; display: inline; }
.quote-summary dd { display: inline; margin: 0 0 0.4em; }
.quote-summary div { margin-bottom: 0.3em; }

noscript .quote-noscript-note { display: block; }

/* ---- Related links ---------------------------------------------------------- */
.related-links {
  border-top: 1px solid var(--color-line);
  padding-top: 1.8rem;
  margin: 2rem 0;
}
.related-links h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.8em; }
.related-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.related-links a { font-size: 0.92rem; font-weight: 600; }
