/* iMovers — premium minimal stylesheet.
   Design language: calm navy + warm cream, generous spacing, hairline borders,
   one accent (electric blue) reserved for the primary action. */

:root {
  --navy-900: #0E2A47;
  --navy-800: #14365A;
  --navy-700: #1E4977;
  --navy-50:  #F2F5FA;

  --ink-900:  #0B1220;
  --ink-700:  #2A3340;
  --ink-500:  #5B6573;
  --ink-300:  #99A2AF;
  --ink-100:  #E5E8EE;

  --cream:    #FBF8F3;
  --bg:       #FFFFFF;
  --line:     #E7E3DA;

  --accent:        #1F6FEB;
  --accent-strong: #1659C8;
  --accent-soft:   #E8F0FE;

  --success: #1F8A4B;
  --warn:    #B7791F;
  --danger:  #C0392B;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 1px rgba(15, 23, 42, .04);
  --shadow:    0 8px 24px rgba(14, 42, 71, .08), 0 2px 6px rgba(14, 42, 71, .04);
  --shadow-lg: 0 24px 60px rgba(14, 42, 71, .14), 0 6px 12px rgba(14, 42, 71, .06);

  --content: 1140px;

  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-500); }
.small { font-size: 14px; }
.center { text-align: center; }

/* ---- skip link + accessibility ------------------------------------------ */
.skip-link {
  position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;
  background: var(--navy-900); color: #fff; padding: 8px 12px; border-radius: 6px;
}
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; z-index: 1000; }

/* ---- header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1100;        /* must beat Leaflet panes (200–1000) */
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--ink-100);
}
.site-header__bar { display: flex; align-items: center; gap: 24px; height: 72px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-900); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.site-logo__mark { width: 32px; height: 32px; }
.site-logo__word { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.site-nav { display: flex; gap: 28px; margin-left: 12px; }
.site-nav a { color: var(--ink-700); font-weight: 500; }
.site-nav a:hover { color: var(--navy-900); }
.site-header__cta { margin-left: auto; display: flex; gap: 10px; }
.site-nav__toggle { display: none; background: transparent; border: 0; padding: 8px; }
.site-nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy-900); margin: 4px 0; border-radius: 2px; }

.mobile-nav { display: none; padding: 16px 24px 24px; gap: 12px; flex-direction: column; border-bottom: 1px solid var(--ink-100); }
.mobile-nav a { padding: 10px 0; color: var(--ink-900); font-weight: 500; border-bottom: 1px solid var(--ink-100); }

@media (max-width: 860px) {
  .site-nav, .site-header__cta { display: none; }
  .site-nav__toggle { display: block; margin-left: auto; }
  .mobile-nav[data-open="1"] { display: flex; }
}

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(31,111,235,.28); }
.btn--primary:hover { background: var(--accent-strong); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--ink-100); }
.btn--ghost:hover { background: var(--navy-50); color: var(--navy-900); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-800); color: #fff; }
.btn--block { width: 100%; }

/* ---- hero / quote ------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% -20%, rgba(31,111,235,.16), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(14,42,71,.10), transparent 60%),
    linear-gradient(180deg, #FBF8F3 0%, #FFFFFF 80%);
  padding: 64px 0 96px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-areas:
    "intro quote"
    "stats quote";
  column-gap: 56px;
  row-gap: 24px;
  align-items: start;
}
.hero__grid > .hero__intro { grid-area: intro; }
.hero__grid > .quote-card  { grid-area: quote; align-self: start; }
.hero__grid > .hero__stats { grid-area: stats; }

@media (max-width: 960px) {
  .hero { padding: 28px 0 56px; }
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "quote"
      "stats";
    column-gap: 0;
    row-gap: 22px;
  }
  .hero h1 { margin-top: 8px; }
  .hero__stats { margin-top: 0; gap: 18px; }
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--ink-100);
  color: var(--ink-700); font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(31,138,75,.18); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.04; letter-spacing: -0.02em;
  color: var(--navy-900); margin: 18px 0 18px;
}
.hero p.lead { font-size: 18px; color: var(--ink-700); max-width: 540px; }

.hero__stats { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.hero__stats div strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--navy-900); }
.hero__stats div span { color: var(--ink-500); font-size: 13px; }

/* ---- quote card --------------------------------------------------------- */
.quote-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 28px; position: relative;
}
.quote-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.quote-card__title { font-family: var(--font-display); font-size: 22px; color: var(--navy-900); margin: 0; }
.quote-card__badge { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; letter-spacing: .02em; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: var(--ink-700); font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; color: var(--ink-900);
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(31,111,235,.16);
}
.field textarea { min-height: 96px; resize: vertical; }

.field--with-icon { position: relative; }
/* Icon sits inside .input-shell so its centring is anchored to the input row
   (not the whole field including the label) — that's why placeholders no
   longer collide with it. */
.field--with-icon .input-shell { position: relative; display: block; }
.field--with-icon .input-shell .icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--ink-500); pointer-events: none;
}
/* Match the specificity of `.field input[type="text"]` (0,0,2,1) so this
   actually wins — otherwise the base 16px padding leaks through and the
   placeholder text renders right under the icon. */
.field.field--with-icon input[type="text"],
.field.field--with-icon input[type="email"],
.field.field--with-icon input[type="tel"] { padding-left: 48px; }

/* ---- autocomplete dropdown -------------------------------------------- */
.autocomplete {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  margin: 0; padding: 6px 0; list-style: none;
  background: #fff; border: 1px solid var(--ink-100);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  z-index: 30; max-height: 320px; overflow-y: auto;
}
.autocomplete li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 16px; cursor: pointer;
  border-left: 3px solid transparent;
}
.autocomplete li:hover, .autocomplete li.is-active {
  background: var(--accent-soft); border-left-color: var(--accent);
}
.autocomplete .ac-main { font-size: 14px; font-weight: 500; color: var(--ink-900); }
.autocomplete .ac-sub  { font-size: 12px; color: var(--ink-500); }

/* ---- map preview ------------------------------------------------------ */
.quote-map {
  margin-top: 12px; height: 240px;
  border-radius: var(--radius); border: 1px solid var(--ink-100);
  overflow: hidden; background: var(--navy-50);
  /* Confine Leaflet's internal z-indexes (panes, controls go up to 1000) so
     they can never paint over the sticky header on scroll. */
  position: relative; isolation: isolate; z-index: 0;
}
@media (max-width: 540px) { .quote-map { height: 200px; } }
.quote-map .leaflet-container { font: inherit; border-radius: var(--radius); }
.imv-pin { background: transparent; }
.imv-pin > span {
  display: block; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(14,42,71,.35);
}

.quote-result {
  margin-top: 12px; padding: 18px 20px; border-radius: var(--radius);
  background: linear-gradient(135deg, #0E2A47, #1659C8); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  /* Reserve enough height so loading / ready / error states never reflow the
     surrounding card — that's what was making the page nudge up and down on
     mobile while the price recalculated. */
  min-height: 96px;
}
.quote-result__price { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -.01em; }
.quote-result__price--idle { font-size: 18px; font-family: var(--font-sans); font-weight: 500; }
.quote-result__meta { font-size: 13px; opacity: .9; }
.quote-result__aside { text-align: right; font-size: 12px; opacity: .9; }
.quote-result[data-state="idle"]    { background: var(--navy-50); color: var(--ink-700); }
.quote-result[data-state="loading"] { background: var(--navy-50); color: var(--ink-700); }
.quote-result[data-state="error"]   { background: #fbe9e7; color: var(--danger); }

/* ---- move plan card ---------------------------------------------------- */
.move-plan {
  margin-top: 14px; padding: 18px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.move-plan__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.move-plan__eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); }
.move-plan__badge {
  font-size: 11px; font-weight: 600; letter-spacing: .02em;
  padding: 3px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong);
}
.move-plan__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 0 12px;
  border-bottom: 1px dashed var(--line);
}
.move-plan__what { display: flex; flex-direction: column; gap: 2px; }
.move-plan__what strong { font-family: var(--font-display); font-size: 18px; color: var(--navy-900); line-height: 1.2; }
.move-plan__what span   { font-size: 12px; color: var(--ink-500); }
.move-plan__price       { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.move-plan__price strong{ font-family: var(--font-display); font-size: 22px; color: var(--navy-900); }
.move-plan__price span  { font-size: 11px; color: var(--ink-500); }

.move-plan__breakdown {
  list-style: none; padding: 12px 0 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  /* Reserve room for the typical 4-line breakdown so adding/removing the
     "long-distance" or "long-day" line doesn't ripple the page height. */
  min-height: 112px;
}
.move-plan__breakdown li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; color: var(--ink-700);
}
.move-plan__breakdown li.is-note { color: var(--ink-500); font-style: italic; font-size: 12px; }
.move-plan__breakdown li > span:last-child { color: var(--navy-900); font-variant-numeric: tabular-nums; }

.move-plan__editor { margin-top: 14px; }
.move-plan__editor summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--ink-100);
  font-size: 13px; font-weight: 500; color: var(--navy-900);
}
.move-plan__editor summary::-webkit-details-marker { display: none; }
.move-plan__editor summary:hover { background: var(--navy-50); }
.move-plan__editor[open] summary svg { transform: rotate(180deg); }
.move-plan__editor summary svg { transition: transform .15s ease; }

.picker { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.picker__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); }
.picker__help  { font-size: 12px; color: var(--ink-500); }

.option-grid {
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.option-grid--small { grid-template-columns: repeat(3, 1fr); }
.opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-sm);
  padding: 10px 12px; text-align: left; cursor: pointer; color: var(--ink-900);
  transition: border-color .12s ease, background .12s ease, transform .12s ease;
}
.opt:hover { border-color: var(--navy-700); }
.opt.is-selected {
  background: var(--navy-900); color: #fff; border-color: var(--navy-900);
  box-shadow: 0 6px 14px rgba(14,42,71,.18);
}
.opt__title { font-size: 13px; font-weight: 600; line-height: 1.2; }
.opt__sub   { font-size: 11px; opacity: .7; }
.opt.is-selected .opt__sub { color: rgba(255,255,255,.85); opacity: 1; }
.opt--sm { align-items: center; justify-content: center; }
.opt--sm .opt__title { font-weight: 500; }

.stepper {
  display: grid; grid-template-columns: 44px 1fr 44px;
  align-items: center; gap: 0;
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-sm);
  padding: 4px;
}
.stepper__btn {
  width: 40px; height: 40px;
  background: transparent; border: 0;
  font-size: 22px; color: var(--navy-900); border-radius: 999px;
}
.stepper__btn:hover:not(:disabled) { background: var(--navy-50); }
.stepper__btn:disabled { color: var(--ink-300); cursor: not-allowed; }
.stepper__display { text-align: center; line-height: 1.1; }
.stepper__display strong { display: block; font-family: var(--font-display); font-size: 22px; color: var(--navy-900); }
.stepper__badge { display: inline-block; min-height: 14px; font-size: 11px; color: var(--accent-strong); font-weight: 600; }
.stepper__badge:empty { display: none; }

/* ---- quote card: phone breathing room --------------------------------- */
@media (max-width: 540px) {
  .quote-card { padding: 18px; border-radius: var(--radius); }
  .quote-card__header { margin-bottom: 14px; }
  .quote-card__title { font-size: 20px; }
  .field { margin-bottom: 12px; gap: 4px; }
  .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select {
    padding: 13px 14px; font-size: 16px; /* 16px keeps iOS Safari from zooming on focus */
  }
  .field.field--with-icon input[type="text"],
  .field.field--with-icon input[type="email"],
  .field.field--with-icon input[type="tel"] { padding-left: 44px; }
  .field--with-icon .input-shell .icon { left: 14px; width: 16px; height: 16px; }
  .quote-result {
    flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 14px 16px; min-height: 90px;          /* still stable on phones */
  }
  .move-plan__breakdown { min-height: 132px; }     /* phones wrap longer lines */
  .quote-result__price { font-size: 26px; }
  .quote-result__aside { text-align: left; }
  .trust-row { gap: 8px; margin-top: 14px; }
  .trust-pill { font-size: 11px; padding: 4px 9px; }
  .autocomplete li { padding: 12px 14px; min-height: 44px; }
  /* Move plan tightens on small screens */
  .move-plan { padding: 14px; }
  .move-plan__what strong { font-size: 16px; }
  .move-plan__price strong { font-size: 20px; }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .option-grid--small { grid-template-columns: repeat(3, 1fr); }
  .opt { padding: 9px 10px; }
}

.quote-card .btn--primary { margin-top: 14px; }

.trust-row { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; background: #fff;
  border: 1px solid var(--ink-100); color: var(--ink-700); font-size: 12px; font-weight: 500;
}

/* ---- sections ----------------------------------------------------------- */
.section { padding: 88px 0; }
@media (max-width: 540px) { .section { padding: 48px 0; } }
.section--alt { background: var(--cream); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
@media (max-width: 540px) { .section__head { margin: 0 auto 28px; } }
.section__head h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); color: var(--navy-900); margin: 0 0 12px; letter-spacing: -.01em; }
.section__head p { color: var(--ink-700); font-size: 17px; }

.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-strong);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card h3 { font-family: var(--font-display); font-size: 20px; color: var(--navy-900); margin: 0 0 8px; }
.card p { color: var(--ink-700); margin: 0; }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); counter-reset: steps; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: steps; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step::before {
  content: counter(steps, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: 18px; color: var(--accent-strong); margin-bottom: 8px;
}
.step h4 { font-family: var(--font-display); font-size: 18px; color: var(--navy-900); margin: 0 0 4px; }
.step p { color: var(--ink-500); font-size: 14px; margin: 0; }

.testimonials { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.testimonial blockquote { margin: 0 0 14px; font-family: var(--font-display); font-size: 19px; line-height: 1.45; color: var(--navy-900); }
.testimonial .stars { color: #f5a623; letter-spacing: 2px; font-size: 14px; }
.testimonial cite { font-style: normal; font-size: 14px; color: var(--ink-500); }

/* ---- photo grid (real moves) ----------------------------------------- */
.photo-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 1fr;
}
@media (max-width: 860px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-card--tall { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .photo-grid { grid-template-columns: 1fr; }
}
.photo-card {
  position: relative; margin: 0; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--navy-50);
  aspect-ratio: 4 / 3;
}
.photo-card--tall { aspect-ratio: 4 / 5; }
.photo-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.photo-card:hover img { transform: scale(1.03); }
.photo-card__badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(14,42,71,0.82); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
/* Photo captions intentionally removed — let the imagery speak. */

/* ---- customer dashboard ----------------------------------------------- */
.page-hero--tight { padding: 36px 0 8px; }
.dash-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 0; }

.dashboard {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  max-width: 720px; margin: 0 auto;
}
.dash-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.dash-card__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
}
.dash-card__eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); display: block; margin-bottom: 4px; }
.dash-card__head h2 { font-family: var(--font-display); font-size: 22px; color: var(--navy-900); margin: 0; line-height: 1.2; }
.dash-card__price { font-family: var(--font-display); font-size: 26px; color: var(--navy-900); white-space: nowrap; }
.dash-card__title { font-family: var(--font-display); font-size: 18px; color: var(--navy-900); margin: 0 0 10px; }

.dash-route { margin: 12px 0 0; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.dash-route dt { font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: .06em; margin-top: 8px; }
.dash-route dt:first-child { margin-top: 0; }
.dash-route dd { margin: 2px 0 0; color: var(--ink-900); font-size: 14px; line-height: 1.4; }

.dash-breakdown { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dash-breakdown li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-700); }
.dash-breakdown li.is-note { font-style: italic; color: var(--ink-500); font-size: 12px; }
.dash-breakdown li > span:last-child { color: var(--navy-900); font-variant-numeric: tabular-nums; }

.dash-card__editor { margin-top: 16px; }
.dash-card__editor summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--navy-50); border: 1px solid var(--ink-100);
  font-size: 13px; font-weight: 500; color: var(--navy-900);
}
.dash-card__editor summary::-webkit-details-marker { display: none; }
.dash-card__editor[open] summary svg { transform: rotate(180deg); }
.dash-card__editor summary svg { transition: transform .15s ease; }

.dash-locked {
  margin-top: 16px; padding: 12px 14px; border-radius: var(--radius);
  background: var(--accent-soft); color: var(--accent-strong); font-size: 13px; line-height: 1.5;
}

.plan-editor { margin-top: 14px; }
.plan-editor .picker { margin-top: 14px; }
.plan-editor .picker:first-child { margin-top: 6px; }
.plan-editor .btn { margin-top: 14px; }

.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; }
.seg--small { grid-template-columns: repeat(3, 1fr); }
.seg__btn {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-sm);
  padding: 10px 10px; cursor: pointer; color: var(--ink-900);
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  transition: border-color .12s ease, background .12s ease;
}
.seg--small .seg__btn { align-items: center; justify-content: center; font-weight: 600; }
.seg__btn:hover:not(:disabled) { border-color: var(--navy-700); }
.seg__btn.is-selected { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.seg__btn:disabled, .seg__btn.is-disabled { opacity: .35; cursor: not-allowed; }
.seg__title { font-size: 13px; font-weight: 600; line-height: 1.2; }
.seg__sub { font-size: 11px; opacity: .7; }
.seg__btn.is-selected .seg__sub { color: rgba(255,255,255,.85); opacity: 1; }
.hours-select {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px;
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius);
}

.dash-actions { display: grid; gap: 10px; margin-top: 4px; }

@media (max-width: 540px) {
  .page-hero--tight { padding: 22px 0 4px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 34px); margin-bottom: 6px; }
  .dashboard { gap: 12px; }
  .dash-card { padding: 16px; border-radius: var(--radius); }
  .dash-card__head { gap: 10px; margin-bottom: 10px; }
  .dash-card__head h2 { font-size: 18px; }
  .dash-card__price { font-size: 22px; }
  .next-steps li { padding-top: 12px; padding-bottom: 12px; }
  .seg { grid-template-columns: repeat(2, 1fr); }
  .seg__btn { padding: 9px 10px; }
}

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--ink-100); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--navy-900); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 22px; color: var(--ink-500); }
.faq details[open] summary::after { content: '–'; }
.faq summary + * { margin-top: 10px; color: var(--ink-700); }

.cta-band {
  background: linear-gradient(135deg, #0E2A47 0%, #1659C8 100%);
  color: #fff; border-radius: var(--radius-xl); padding: 56px; text-align: center;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); margin: 0 0 12px; }
.cta-band p { opacity: .85; margin: 0 0 22px; }
.cta-band .btn--primary { background: #fff; color: var(--navy-900); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--navy-50); color: var(--navy-900); }

/* ---- footer ------------------------------------------------------------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 80px; }
.site-footer__grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--ink-700); }
.site-footer a:hover { color: var(--navy-900); }
.site-logo--footer .site-logo__mark rect:first-of-type { fill: var(--navy-900); }
.site-logo--footer .site-logo__mark path { fill: #fff; }
.site-logo--footer .site-logo__mark rect:last-of-type { fill: var(--navy-900); }
.site-logo--footer .site-logo__word { color: var(--navy-900); }
.site-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .site-footer__base { flex-direction: column; align-items: flex-start; } }

/* ---- flashes ------------------------------------------------------------ */
.flash-stack { position: fixed; top: 88px; right: 24px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.flash { padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); font-size: 14px; background: #fff; border: 1px solid var(--ink-100); }
.flash--success { background: #e9f7ef; color: var(--success); border-color: #c6ecd2; }
.flash--error   { background: #fbe9e7; color: var(--danger); border-color: #f4c2bc; }
.flash--info    { background: var(--accent-soft); color: var(--accent-strong); border-color: #c8dcfc; }

/* ---- generic page ------------------------------------------------------- */
.page-hero { padding: 56px 0 24px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 52px); color: var(--navy-900); margin: 0 0 12px; letter-spacing: -.01em; }
.page-hero p { color: var(--ink-700); font-size: 18px; max-width: 680px; }

.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-display); color: var(--navy-900); margin: 32px 0 12px; }
.prose h3 { color: var(--navy-900); margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-700); }

/* ---- booking + checkout ------------------------------------------------- */
.booking { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; margin-top: 32px; }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.panel h2, .panel h3 { font-family: var(--font-display); color: var(--navy-900); margin: 0 0 6px; }

.summary { background: var(--cream); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); position: sticky; top: 100px; }
.summary__price { font-family: var(--font-display); font-size: 36px; color: var(--navy-900); margin: 8px 0; }
.summary dl { margin: 16px 0 0; }
.summary dt { font-size: 12px; color: var(--ink-500); text-transform: uppercase; letter-spacing: .06em; margin-top: 14px; }
.summary dd { margin: 4px 0 0; color: var(--ink-900); }

/* Receipt-style breakdown reused in checkout, confirmation, portal aside. */
.quote-receipt {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.quote-receipt__row { display: flex; justify-content: space-between; gap: 12px; }
.quote-receipt__row--head { font-size: 13px; color: var(--ink-700); margin-bottom: 8px; }
.quote-receipt__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.quote-receipt__list li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-700); }
.quote-receipt__list li.is-note { color: var(--ink-500); font-style: italic; font-size: 12px; }
.quote-receipt__list li > span:last-child { color: var(--navy-900); font-variant-numeric: tabular-nums; }
.quote-receipt__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
}
.quote-receipt__total span { color: var(--ink-700); font-size: 13px; }
.quote-receipt__total strong { font-family: var(--font-display); font-size: 20px; color: var(--navy-900); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }

.move-details .picker { margin-top: 22px; }
.move-details .picker:first-of-type { margin-top: 12px; }

.pill-group { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-group label {
  border: 1px solid var(--ink-100); border-radius: 999px;
  padding: 10px 16px; cursor: pointer; font-size: 14px; color: var(--ink-700);
  background: #fff; transition: all .15s ease;
}
.pill-group input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.pill-group input[type="radio"]:checked + span { color: #fff; }
.pill-group label:has(input:checked) { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.pill-group label:hover { border-color: var(--navy-700); color: var(--navy-900); }
.pill-group label:has(input:checked):hover { color: #fff; }

/* ---- portal ------------------------------------------------------------- */
.portal-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.portal-status--quote     { background: var(--navy-50); color: var(--navy-900); }
.portal-status--confirmed { background: #e8f5ee;        color: var(--success); }
.portal-status--assigned  { background: var(--accent-soft); color: var(--accent-strong); }
.portal-status--complete  { background: #efe9fb;        color: #5e3bbd; }

.next-steps { list-style: none; padding: 0; margin: 16px 0 0; counter-reset: ns; }
.next-steps li { counter-increment: ns; padding: 14px 0 14px 44px; border-top: 1px solid var(--ink-100); position: relative; color: var(--ink-700); }
.next-steps li:first-child { border-top: 0; }
.next-steps li::before {
  content: counter(ns); position: absolute; left: 0; top: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--cream); color: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 13px; border: 1px solid var(--ink-100);
}
.next-steps li.done::before { background: var(--success); color: #fff; border-color: var(--success); content: '✓'; }
.next-steps li.active::before { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- error ------------------------------------------------------------- */
.error-page { padding: 120px 0; text-align: center; }
.error-page h1 { font-family: var(--font-display); font-size: 72px; margin: 0 0 8px; color: var(--navy-900); }
.error-page p { color: var(--ink-500); margin-bottom: 24px; }

/* ---- reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
