/* ==========================================================================
   The Moving Bins Co. — design system stylesheet
   Direction: "Bay Window · marigold" (light, warm-neutral ground, single
   marigold accent, geometric rounded sans, pill controls, no borders on
   content — depth comes from one soft shadow or the dark block).
   ========================================================================== */

/* ---- Tokens -------------------------------------------------------------- */
:root {
  /* Color */
  --ground: #F1F2F4;
  --surface: #FFFFFF;
  --soft: #E3E7EC;
  --soft-strong: #DCE1E7;
  --marigold: #D8A93F;
  --marigold-hover: #C79A33;
  --marigold-active: #B78C2C;
  --marigold-pale: #F5E7C4;
  --marigold-ink: #8A6516;
  --marigold-ink-hover: #6E5011;
  --marigold-on-dark: #E4BC63;
  --muted: #5F666F;
  --dim: #868E98;
  --faint: #A6AEB8;
  --disabled-line: #C2C8CE;
  --ink: #1E2226;
  --dark: #23262B;
  --dark-hover: #33383E;
  --dark-active: #14171A;
  --footer-bg: #1E2226;
  --footer-text: #B7BEC5;
  --footer-dim: #868E98;
  --footer-rule: #33383E;
  --footer-link-rule: #4A5057;
  --error: #A8452F;
  --disabled-bg: #EDE3C9;
  --disabled-fg: #A79A7C;
  --field-bg: #F1F2F4;
  --field-disabled-bg: #F6F7F8;
  --field-placeholder: #A6AEB8;
  --booked-bg: #EDEFF2;
  --booked-fg: #B4BBC3;

  /* Radius */
  --radius-field: 16px;
  --radius-block: 24px;
  --radius-card: 28px;
  --radius-pill: 999px;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 56px;
  --space-3xl: 72px;
  --space-4xl: 88px;

  /* Shadow */
  --shadow-card: 0 12px 32px rgba(30, 34, 38, 0.08);
  --shadow-card-soft: 0 12px 32px rgba(30, 34, 38, 0.06);

  /* Type */
  --font-sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
a { color: var(--marigold-ink); text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--marigold); }
a:hover { color: var(--marigold-ink-hover); text-decoration-color: var(--marigold-ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---- Layout ---------------------------------------------------------------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 1000px; }
.container--article { max-width: 860px; }
.container--legal { max-width: 760px; }

.section { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.section--tight { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.section--wide { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.section--surface { background: var(--surface); }
.section--ground { background: var(--ground); }

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.eyebrow { margin-bottom: var(--space-lg); }

.page-head { margin-bottom: 40px; }
.page-head h1 { font-size: 38px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 12px; }
.page-head p { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 52ch; }

/* ---- Header (sticky) ---------------------------------------------------------------- */
header { position: sticky; top: 0; z-index: 50; }

/* ---- Top bar ---------------------------------------------------------------- */
.topbar {
  background: var(--footer-bg);
  color: #C3C9D0;
  font-size: 13px;
  padding: 8px 32px;
}
.topbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__phone { white-space: nowrap; }
.topbar a.topbar__phone-link { color: #C3C9D0; text-decoration: none; }
.topbar a.topbar__phone-link:hover { color: #FFFFFF; }
.topbar__system-link {
  color: #8B939B;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: #4A5057;
}
.topbar__system-link:hover { color: #FFFFFF; text-decoration-color: var(--marigold); }

/* ---- Nav ---------------------------------------------------------------- */
.nav {
  background: var(--surface);
  padding: 18px 32px;
  position: relative;
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* Horizontal lockup: mark + name/tagline. Mark renders at 42px, which is in
   the 40-63px band, so the handle slot is omitted from the markup. */
.nav__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 8px;
}
.nav__brand-mark { display: block; flex: none; width: 42px; height: 42px; }
.nav__brand-text { display: flex; flex-direction: column; }
.nav__brand-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 120ms ease-out;
}
.nav__brand:hover .nav__brand-name { color: var(--muted); }
.nav__brand:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; }
.nav__brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav__link {
  cursor: pointer;
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  transition: transform 130ms var(--ease), background-color 130ms ease, color 130ms ease;
  white-space: nowrap;
}
.nav__link:hover { background: var(--ground); color: var(--ink); transform: translateY(-2px); }
.nav__link:active { background: var(--soft); color: var(--ink); transform: translateY(0) scale(0.98); }
.nav__link.is-current { color: var(--ink); font-weight: 500; }
.nav__link--cta {
  background: var(--marigold);
  color: var(--dark);
  font-weight: 600;
  padding: 12px 22px;
  margin-left: 8px;
}
.nav__link--cta:hover { background: var(--marigold-hover); color: var(--dark); transform: translateY(-3px) scale(1.015); }
.nav__link--cta:active { background: var(--marigold-active); color: var(--dark); transform: translateY(1px) scale(0.985); }
.nav__toggle {
  display: none;
  border: none;
  background: var(--ground);
  border-radius: var(--radius-pill);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav__toggle-bar, .nav__toggle-bar::before, .nav__toggle-bar::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 150ms var(--ease), opacity 150ms ease;
}
.nav__toggle-bar::before { position: absolute; top: -6px; }
.nav__toggle-bar::after { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---- Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 28px;
  text-decoration: none;
  transition: transform 130ms var(--ease), background-color 130ms ease;
  white-space: nowrap;
}
.btn--primary { background: var(--marigold); color: var(--dark); }
.btn--primary:hover { background: var(--marigold-hover); color: var(--dark); transform: translateY(-3px) scale(1.015); }
.btn--primary:active { background: var(--marigold-active); transform: translateY(1px) scale(0.985); }
.btn--secondary { background: var(--ground); color: var(--ink); font-weight: 500; }
.btn--secondary:hover { background: var(--soft); color: var(--ink); transform: translateY(-2px); }
.btn--secondary:active { background: #D6DCE3; transform: translateY(1px) scale(0.98); }
.btn--dark { background: var(--ink); color: #FFFFFF; font-weight: 500; }
.btn--dark:hover { background: var(--dark-hover); color: #FFFFFF; transform: translateY(-3px) scale(1.015); }
.btn--dark:active { background: var(--dark-active); transform: translateY(1px) scale(0.985); }
.btn--outline { background: var(--surface); color: var(--ink); font-weight: 500; outline: 2px solid var(--soft-strong); outline-offset: -2px; }
.btn--outline:hover { background: #F6F7F8; transform: translateY(-3px) scale(1.015); }
.btn--outline:active { background: #EDEFF2; transform: translateY(1px) scale(0.985); }
.btn--sm { padding: 12px 22px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled {
  background: var(--disabled-bg);
  color: var(--disabled-fg);
  cursor: not-allowed;
  transform: none !important;
}

.link {
  cursor: pointer;
  font-size: 14.5px;
  color: var(--marigold-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--marigold);
  background: none;
  border: none;
  font-family: var(--font-sans);
  padding: 0;
}
.link:hover { color: var(--marigold-ink-hover); text-decoration-color: var(--marigold-ink); }
.link--on-dark { color: var(--marigold-on-dark); text-decoration-color: var(--marigold-ink); }
.link--on-dark:hover { color: #F0D08A; text-decoration-color: var(--marigold-on-dark); }

/* ---- Cards & chips ---------------------------------------------------------------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 32px;
}
.card--raised { box-shadow: var(--shadow-card-soft); }
.card--flat { background: var(--ground); border-radius: var(--radius-block); padding: 28px; }
.card--dark { background: var(--dark); color: #E8EBED; }
.card--dark .card__title { color: #FFFFFF; }
.card--dark .card__body { color: var(--footer-text); }
.card__title { font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.card__body { font-size: 15.5px; line-height: 1.7; color: var(--muted); }

.chip {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-size: 14px;
  color: var(--muted);
}
.chip--ground { background: var(--ground); }
.chip--badge { background: var(--marigold-pale); color: var(--marigold-ink); font-size: 12px; padding: 3px 10px; font-weight: 500; }
.chip--check {
  background: var(--marigold-pale);
  color: var(--marigold-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}
.chip--check.chip--check-dark { background: var(--marigold-ink); color: var(--marigold-pale); }

.notice {
  background: var(--surface);
  border-radius: var(--radius-block);
  padding: 20px 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 28px;
}
.notice--error { background: #FBEEEA; color: var(--error); }
.notice--success { background: var(--marigold-pale); color: var(--marigold-ink); }

/* ---- Hero (home) ---------------------------------------------------------------- */
.hero {
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.hero h1 { font-size: 44px; line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 20px; max-width: 20ch; }
.hero__lead { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 46ch; margin-bottom: 32px; }
.hero__pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__gallery { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.hero__gallery-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }

.placeholder-photo {
  border-radius: var(--radius-block);
  background: repeating-linear-gradient(135deg, #E6EAEE 0 8px, #DCE1E7 8px 16px);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  height: 100%;
  min-height: 110px;
  position: relative;
  overflow: hidden;
}
.placeholder-photo--wide { background-image: repeating-linear-gradient(90deg, #E6EAEE 0 10px, #DCE1E7 10px 20px); }
.placeholder-photo__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.7);
  padding: 3px 8px;
  border-radius: 4px;
}
.placeholder-photo--circle { border-radius: var(--radius-pill); align-items: center; justify-content: center; padding: 0; }
.placeholder-photo--circle .placeholder-photo__label { display: none; }

/* ---- Booking widget (home) ---------------------------------------------------------------- */
.booking-widget {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.booking-widget__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.booking-widget__head h2 { font-weight: 600; font-size: 19px; }
.booking-widget__month { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.booking-widget__foot { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--soft); }
.booking-widget__foot-label { font-size: 14px; color: var(--muted); }
.booking-widget__foot-value { font-size: 18px; font-weight: 600; margin-bottom: 16px; white-space: nowrap; }
.booking-widget__note { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.booking-widget__call { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--soft); font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.booking-widget__call strong { color: var(--ink); font-weight: 500; }

/* ---- Calendar ---------------------------------------------------------------- */
.calendar__dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  font-size: 12px;
  color: var(--faint);
  text-align: center;
  margin-bottom: 6px;
}
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.calendar__day {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  background: var(--surface);
  color: var(--ink);
  border: none;
  font-family: var(--font-sans);
}
.calendar__day--empty { visibility: hidden; cursor: default; }
.calendar__day--booked { background: var(--booked-bg); color: var(--booked-fg); cursor: not-allowed; }
.calendar__day--selected { background: var(--marigold); color: var(--dark); }
.calendar__day--today:not(.calendar__day--selected) { outline: 2px solid var(--ink); outline-offset: -2px; }
.calendar__day--past { color: var(--disabled-line); cursor: not-allowed; }
.calendar--lg .calendar__grid { gap: 8px; }
.calendar--lg .calendar__day { height: 54px; font-size: 15px; }
.calendar--lg .calendar__dow { font-size: 12.5px; gap: 8px; }
.calendar__legend { display: flex; gap: 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--soft); font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.calendar__legend-swatch { display: inline-flex; align-items: center; gap: 8px; }
.calendar__legend-dot { width: 14px; height: 14px; border-radius: var(--radius-pill); }
.calendar__legend-dot--selected { background: var(--marigold); }
.calendar__legend-dot--available { background: var(--surface); outline: 1px solid var(--soft-strong); }
.calendar__legend-dot--booked { background: var(--booked-bg); }

/* ---- Steps (how it works) ---------------------------------------------------------------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--marigold-pale);
  color: var(--marigold-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 18px;
}
.step-num--lg { width: 48px; height: 48px; font-size: 18px; }
.step-detail {
  display: grid;
  grid-template-columns: 56px 1fr 260px;
  gap: 28px;
  align-items: start;
}
.step-detail__title { font-weight: 600; font-size: 24px; margin-bottom: 10px; }
.step-detail__body { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin-bottom: 16px; }
.step-detail__note { font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.step-detail__photo { height: 150px; }

.compare-panel {
  background: var(--dark);
  color: #E8EBED;
  border-radius: var(--radius-card);
  padding: 32px;
}
.compare-panel h2 { font-weight: 600; font-size: 22px; margin-bottom: 12px; }
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; }
.compare-grid__title { color: var(--marigold-on-dark); font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.compare-grid__body { font-size: 14.5px; line-height: 1.65; color: var(--footer-text); }

/* ---- Pricing ---------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { display: block; background: var(--surface); border-radius: var(--radius-card); padding: 32px; color: inherit; text-decoration: none; transition: transform 130ms var(--ease), box-shadow 130ms ease; }
.price-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -18px rgba(30, 34, 38, 0.35); }
.price-card:active { transform: translateY(0) scale(0.99); }
.price-card--featured { outline: 2px solid var(--marigold); outline-offset: -2px; }
.price-card__title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-card__title { font-weight: 600; font-size: 19px; }
.price-card__sub { font-size: 14.5px; color: var(--muted); margin: 6px 0 20px; }
.price-card__amount { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.price-card__period { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.price-card__list { font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.price-card__list--rule { border-top: 1px solid var(--ground); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }

.addon-list { display: flex; flex-direction: column; }
.addon-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--ground); font-size: 15px; }
.addon-row:last-child { border-bottom: none; }
.addon-row span:last-child { font-weight: 500; }

/* ---- Service area ---------------------------------------------------------------- */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area-card { background: var(--surface); border-radius: var(--radius-card); padding: 28px; }
.area-card__title { font-weight: 600; font-size: 19px; margin-bottom: 4px; }
.area-card__sub { font-size: 13.5px; color: var(--dim); margin-bottom: 18px; }
.area-card__list { display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--muted); }
.area-card__check { margin-top: 14px; font-size: 13px; color: var(--dim); display: flex; align-items: center; gap: 6px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border-radius: var(--radius-block);
  padding: 24px 28px;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  color: inherit;
}
.faq-item__row { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.faq-item__q { font-weight: 600; font-size: 18px; }
.faq-item__mark { font-size: 20px; color: var(--marigold-ink); line-height: 1; }
.faq-item__a { font-size: 15.5px; line-height: 1.7; color: var(--muted); max-width: 62ch; padding-top: 12px; }

/* ---- Forms ---------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13.5px; color: var(--muted); }
.field__label .optional { color: var(--faint); }
.field__input, .field__textarea {
  background: var(--field-bg);
  border: none;
  border-radius: var(--radius-field);
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--ink);
  width: 100%;
}
.field__input::placeholder, .field__textarea::placeholder { color: var(--field-placeholder); }
.field__textarea { min-height: 90px; resize: vertical; }
.field__input:focus-visible, .field__textarea:focus-visible {
  background: var(--surface);
  outline: 2px solid var(--marigold);
  outline-offset: -2px;
}
.field__input.has-error, .field__textarea.has-error {
  background: var(--surface);
  outline: 2px solid var(--error);
  outline-offset: -2px;
}
.field__error { font-size: 13px; color: var(--error); }
.field--row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--span2 { grid-column: span 2; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.checkbox-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--ground); }
.checkbox-row input[type="checkbox"] {
  width: 22px; height: 22px; flex: 0 0 22px; accent-color: var(--marigold); border-radius: 6px; margin: 0;
}
.checkbox-row label { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---- Booking wizard (book.html) ---------------------------------------------------------------- */
.wizard-steps { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.wizard-step {
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 14.5px;
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--ground);
  color: var(--muted);
}
.wizard-step.is-active { background: var(--surface); color: var(--ink); }
.wizard-step__dot {
  width: 22px; height: 22px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; background: var(--soft); color: var(--muted);
}
.wizard-step.is-active .wizard-step__dot { background: var(--marigold); color: var(--dark); }
.wizard-step.is-done .wizard-step__dot { background: var(--marigold-pale); color: var(--marigold-ink); }

.wizard-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.wizard-panel { background: var(--surface); border-radius: var(--radius-card); padding: 32px; box-shadow: var(--shadow-card-soft); }
.wizard-panel__section { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--soft); }
.wizard-panel__section:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.wizard-panel h2 { font-weight: 600; font-size: 20px; margin-bottom: 6px; }
.wizard-panel__hint { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }

.window-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.window-option {
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  border-radius: var(--radius-block);
  padding: 16px;
  text-align: center;
  font-size: 15px;
  white-space: nowrap;
  background: var(--ground);
  color: var(--muted);
  outline: 2px solid transparent;
  outline-offset: -2px;
}
.window-option.is-selected { background: var(--surface); color: var(--ink); outline-color: var(--marigold); }

.package-list { display: flex; flex-direction: column; gap: 12px; }
.package-option {
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  text-align: left;
  border-radius: var(--radius-block);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--ground);
  outline: 2px solid transparent;
  outline-offset: -2px;
  width: 100%;
}
.package-option.is-selected { background: var(--surface); outline-color: var(--marigold); }
.package-option__name { font-weight: 600; font-size: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.package-option__sub { font-size: 14px; color: var(--muted); margin-top: 3px; }
.package-option__price { font-size: 22px; font-weight: 600; white-space: nowrap; color: var(--ink); }

.weeks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.weeks-option {
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  border-radius: var(--radius-block);
  padding: 16px;
  text-align: center;
  font-size: 15px;
  background: var(--ground);
  color: var(--muted);
  outline: 2px solid transparent;
  outline-offset: -2px;
}
.weeks-option.is-selected { background: var(--surface); color: var(--ink); outline-color: var(--marigold); }
.weeks-option em { color: var(--marigold-ink); font-style: normal; }

.stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--ground); }
.stepper-row:last-child { border-bottom: none; }
.stepper-row__name { font-size: 16px; font-weight: 500; }
.stepper-row__price { font-size: 13.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper__btn {
  cursor: pointer; width: 38px; height: 38px; border-radius: var(--radius-pill);
  background: var(--ground); border: none; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--muted); transition: transform 130ms var(--ease), background-color 130ms ease;
}
.stepper__btn:hover { background: var(--soft); transform: translateY(-2px); }
.stepper__btn:active { background: #D6DCE3; transform: translateY(1px) scale(0.98); }
.stepper__value { min-width: 34px; text-align: center; font-size: 17px; font-weight: 500; }

.express-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.divider-row { display: flex; align-items: center; gap: 14px; margin: 22px 0 20px; }
.divider-row__line { height: 1px; background: var(--soft); flex: 1; }
.divider-row__text { font-size: 13px; color: var(--dim); }

/* ---- Summary rail ---------------------------------------------------------------- */
.summary-rail { background: var(--surface); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-card-soft); position: sticky; top: 20px; }
.summary-rail__rows { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.summary-rail__row { display: flex; justify-content: space-between; gap: 12px; }
.summary-rail__row span:first-child { color: var(--muted); }
.summary-rail__row span:last-child { font-weight: 500; text-align: right; white-space: nowrap; }
.summary-rail__lines { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--soft); display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.summary-rail__total { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--soft); display: flex; justify-content: space-between; align-items: baseline; }
.summary-rail__total-label { font-size: 15px; color: var(--muted); }
.summary-rail__total-amount { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.summary-rail__note { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.summary-rail__call { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--soft); font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ---- Confirmation ---------------------------------------------------------------- */
.confirm-check {
  width: 56px; height: 56px; border-radius: var(--radius-pill);
  background: var(--marigold); color: var(--dark);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 22px;
}
.confirm-grid { background: var(--ground); border-radius: var(--radius-block); padding: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.confirm-grid__label { font-size: 13px; color: var(--muted); }
.confirm-grid__value { font-size: 16px; margin-top: 4px; }
.confirm-next { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--soft); }
.confirm-next__list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ---- Reviews / owner ---------------------------------------------------------------- */
.review-card { background: var(--surface); border-radius: var(--radius-card); padding: 28px; }
.review-card p { margin-bottom: 16px; font-size: 18px; line-height: 1.6; }
.review-card__meta { font-size: 14px; color: var(--muted); }
.rating-card { background: var(--surface); border-radius: var(--radius-card); padding: 28px; }
.rating-card__num { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.rating-card__sub { font-size: 14.5px; color: var(--muted); margin: 8px 0 20px; }
.rating-card__note { font-size: 14.5px; line-height: 1.7; color: var(--muted); border-top: 1px solid var(--ground); padding-top: 18px; }
.owner-card { background: var(--ground); border-radius: var(--radius-card); padding: 28px; display: flex; gap: 16px; align-items: center; }
.owner-card__photo { width: 60px; height: 60px; border-radius: var(--radius-pill); flex: 0 0 60px; }
.owner-card__text { font-size: 15px; line-height: 1.65; color: var(--muted); }
.owner-card__name { color: var(--ink); font-weight: 600; }

/* ---- Policy ---------------------------------------------------------------- */
.policy-hero { background: var(--dark); color: #E8EBED; border-radius: var(--radius-card); padding: 36px; margin-bottom: 20px; }
.policy-hero h2 { font-weight: 600; font-size: 26px; margin-bottom: 12px; }
.policy-hero p { font-size: 16px; line-height: 1.7; color: var(--footer-text); max-width: 56ch; }
.policy-block { background: var(--surface); border-radius: var(--radius-card); padding: 32px; margin-bottom: 16px; }
.policy-block:last-child { margin-bottom: 0; }
.policy-block h2 { font-weight: 600; font-size: 20px; margin-bottom: 12px; }
.policy-block__list { display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.policy-block__list strong { color: var(--ink); font-weight: 500; }

/* ---- Terms ---------------------------------------------------------------- */
.terms-block { background: var(--surface); border-radius: var(--radius-card); padding: 36px; }
.terms-section { display: flex; flex-direction: column; gap: 28px; }
.terms-section__item h2 { font-weight: 600; font-size: 19px; margin-bottom: 10px; }
.terms-section__item p { font-size: 15.5px; line-height: 1.75; color: var(--muted); }

/* ---- Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--surface); border-radius: var(--radius-card); padding: 32px; }
.contact-card__value { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.contact-card__value--sm { font-size: 21px; font-weight: 500; }
.contact-card__meta { font-size: 15px; color: var(--muted); margin-top: 8px; }
.contact-card__body { font-size: 16px; line-height: 1.7; color: var(--muted); }
.contact-form { background: var(--surface); border-radius: var(--radius-card); padding: 32px; box-shadow: var(--shadow-card-soft); }
.contact-form h2 { font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.contact-form__lead { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin-bottom: 22px; }
.contact-form .field { margin-bottom: 14px; }

/* ---- Generic two-up sections ---------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.split-map { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.cta-band p { font-size: 15.5px; color: var(--muted); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Footer ---------------------------------------------------------------- */
.footer { background: var(--footer-bg); color: var(--footer-text); padding: 56px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
/* Reversed lockup: mark at 34px in the reversed palette, no tagline. */
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-radius: 8px;
  transition: color 120ms ease-out;
}
.footer__brand-mark { display: block; flex: none; width: 34px; height: 34px; }
.footer__brand:hover { color: var(--footer-text); }
.footer__brand:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; }
.footer__contact { font-size: 14.5px; line-height: 1.8; margin-top: 14px; }
.footer__social { font-size: 14.5px; margin-top: 14px; }
.footer__social a, .footer__contact a { color: var(--marigold-on-dark); text-decoration-color: var(--marigold-ink); }
.footer__heading { color: #FFFFFF; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.footer__links { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.footer__links a {
  color: var(--footer-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--footer-link-rule);
}
.footer__links a:hover { color: #FFFFFF; text-decoration-color: var(--marigold); }
.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-rule);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--footer-dim);
}

/* ---- Utilities ---------------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .steps-grid, .pricing-grid, .area-grid, .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split, .split-map, .two-up, .contact-grid, .wizard-layout { grid-template-columns: 1fr; }
  .summary-rail { position: static; }
  .step-detail { grid-template-columns: 48px 1fr; }
  .step-detail__photo { grid-column: span 2; height: 180px; }
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-card);
    z-index: 20;
  }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: 12px 14px; }
  .nav__link.nav__link--cta { margin-left: 0; margin-top: 6px; text-align: center; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .topbar { padding: 8px 20px; font-size: 12px; }
  .topbar__inner { justify-content: center; text-align: center; }
  .nav { padding: 14px 20px; }

  .hero { padding: 32px 0 48px; }
  .hero h1 { font-size: 32px; max-width: none; }
  .hero__gallery { grid-template-columns: 1fr; }
  .hero__gallery-stack { grid-template-columns: 1fr 1fr; grid-template-rows: none; }

  .page-head h1 { font-size: 30px; }

  .steps-grid, .pricing-grid, .area-grid, .compare-grid, .two-up { grid-template-columns: 1fr; }
  .section, .section--wide { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
  .section--tight { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

  .form-grid, .field--row2, .express-grid { grid-template-columns: 1fr; }
  .field--span2 { grid-column: auto; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band, .section-head, .compare-panel h2 { text-align: left; }
  .wizard-steps { gap: 8px; }
  .wizard-panel { padding: 22px; }
  .calendar--lg .calendar__day { height: 44px; font-size: 14px; }
  .window-grid, .weeks-grid { grid-template-columns: 1fr 1fr; }
  .confirm-grid { grid-template-columns: 1fr; }
}

/* ---- Logo spec table (design-system.html only) ----------------------------- */
.logo-spec { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.logo-spec-row {
  display: grid;
  grid-template-columns: 24px 1fr 1.4fr 92px;
  gap: 14px;
  align-items: baseline;
  font-size: 13.5px;
  border-top: 1px solid var(--ground);
  padding-top: 12px;
}
.logo-spec-row + .logo-spec-row { margin-top: 12px; }
.logo-spec-row__num { font-family: var(--font-mono); color: var(--dim); }
.logo-spec-row__name { font-weight: 500; }
.logo-spec-row__geo { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }
.logo-spec-row__hex { font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); }
@media (max-width: 900px) {
  .logo-spec { grid-template-columns: 1fr; gap: 20px; }
  /* Stack geometry and hex under the name rather than crushing them into
     one-character-wide columns. */
  .logo-spec-row { grid-template-columns: 24px 1fr; row-gap: 6px; }
  .logo-spec-row__geo, .logo-spec-row__hex { grid-column: 2; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 27px; }
  .page-head h1 { font-size: 26px; }
  .price-card__amount { font-size: 28px; }
  /* Still above the 40px band floor, so the three-shape mark stays correct. */
  .nav__brand { gap: 10px; }
  .nav__brand-mark { width: 40px; height: 40px; }
  .nav__brand-name { font-size: 17px; }
}
