/* ===== Stack Haus Movers — Global Styles =====
   Palette and lettering are taken from the truck: navy + truck red on white,
   aluminum grey for alternating sections, heavy wide Archivo for headings. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #15284b;
  --navy-deep: #0e1c36;
  --red:       #d0232e;
  --red-dark:  #ad1b25;
  --white:     #ffffff;
  --steel:     #eef1f5;
  --line:      #d8dee7;
  --text:      #3a4457;
  --muted:     #5f6a7d;
  --kraft:     #c68a4e;

  --font: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); font-stretch: 118%; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.3; }
p { max-width: 66ch; }
p + p { margin-top: 1em; }
.lede { font-size: 1.2rem; color: var(--text); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font: inherit; font-weight: 700; font-size: 1rem; font-stretch: 108%;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: .92; }
.brand-name { font-weight: 900; font-stretch: 125%; font-size: 1.35rem; letter-spacing: -.01em; color: var(--navy); }
.brand-name b { color: var(--red); font-weight: 900; }
.brand-sub { display: flex; align-items: center; gap: .4rem; margin-top: .3rem; font-size: .62rem; font-weight: 700; letter-spacing: .32em; color: var(--navy); }
.brand-sub::before, .brand-sub::after { content: ""; width: 14px; height: 2px; background: var(--red); }

.nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--text); padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { font-weight: 700; text-decoration: none; color: var(--navy); white-space: nowrap; }
.header-actions .btn { min-height: 42px; padding: .5rem 1.1rem; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--navy); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-actions { display: none; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.25rem;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--red); }
  .nav .btn { margin-top: 1rem; border-bottom: 2px solid transparent; }
}
@media (min-width: 901px) { .nav .nav-mobile { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-steel { background: var(--steel); }
.section-head { margin-bottom: 2.5rem; max-width: 720px; }
.section-head h2 + p { margin-top: .9rem; font-size: 1.125rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lede { margin-bottom: 1.75rem; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.hero-photo figcaption { margin-top: .6rem; font-size: .9rem; color: var(--muted); }
.hero-call { margin-top: 1.1rem; color: var(--muted); }
.hero-call a { font-weight: 700; }

/* Quick-start quote form in the hero */
.quick-quote { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: .75rem; padding: 1rem; background: var(--steel); border-radius: var(--radius); }
.quick-quote .field label { font-size: .85rem; }
.quick-quote .btn { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
}
@media (max-width: 520px) {
  .quick-quote { grid-template-columns: 1fr 1fr; }
  .quick-quote .field-date { grid-column: 1 / -1; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); margin-bottom: 1rem; }
.page-head-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; }
.page-head-grid img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .page-head-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Split (photo + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split-wide img { aspect-ratio: 3 / 2; }
.split-tall img { aspect-ratio: 4 / 5; max-height: 640px; }
.split h2 { margin-bottom: 1.1rem; }
.split .btn { margin-top: 1.75rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-flip > :first-child { order: 2; }
}

/* ---------- Service list ---------- */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--navy); }
.service-list li { list-style: none; padding: 1.4rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.service-list li:nth-child(even) { padding-left: 1.5rem; padding-right: 0; border-left: 1px solid var(--line); }
.service-list h3 { margin-bottom: .35rem; }
.service-list h3 a { color: inherit; text-decoration: none; }
.service-list h3 a:hover { color: var(--red); }
.service-list p { color: var(--muted); }
@media (max-width: 700px) {
  .service-list { grid-template-columns: 1fr; }
  .service-list li, .service-list li:nth-child(even) { padding: 1.25rem 0; border-left: 0; }
}

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps li { list-style: none; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.steps h3 { margin-bottom: .4rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Checklists ---------- */
.check-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.5rem; }
.check-cols h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.ticks li { list-style: none; position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--red); border-radius: 2px; }
.ticks.navy li::before { background: var(--navy); }
@media (max-width: 560px) { .check-cols { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; font-weight: 700; font-size: 1.1rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.25rem; }
.faq details > div p { color: var(--text); }

/* ---------- Areas ---------- */
.area-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.area-cols h3 { font-size: 1.05rem; padding-bottom: .5rem; margin-bottom: .75rem; border-bottom: 2px solid var(--navy); }
.area-cols li { list-style: none; padding: .3rem 0; }
@media (max-width: 900px) { .area-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .area-cols { grid-template-columns: 1fr; } }

.area-region { padding: 2.25rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
.area-region:first-of-type { border-top: 2px solid var(--navy); }
.area-region h2 { font-size: 1.5rem; }
.area-region p { margin-top: .5rem; color: var(--muted); font-size: 1rem; }
.area-region ul { columns: 3; column-gap: 1.5rem; }
.area-region li { list-style: none; padding: .3rem 0; break-inside: avoid; }
@media (max-width: 800px) { .area-region { grid-template-columns: 1fr; gap: 1rem; } .area-region ul { columns: 2; } }

/* ---------- Service detail (services page) ---------- */
.service-block { padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.service-block:first-child { border-top: 0; }
.service-block h2 { margin-bottom: 1rem; }
.service-block .ticks { margin-top: 1.25rem; }
.service-block .btn { margin-top: 1.5rem; }
.service-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.service-trio > div { scroll-margin-top: 80px; }
.service-trio h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.service-duo { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .service-trio { grid-template-columns: 1fr; } }

/* ---------- Photo strip (homepage) ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.photo-strip li { list-style: none; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.photo-strip p { margin-top: .8rem; color: var(--muted); }
.photo-strip strong { color: var(--navy); }
@media (max-width: 760px) { .photo-strip { grid-template-columns: 1fr; max-width: 460px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #d7deea; padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.cta-mascot { width: clamp(120px, 16vw, 190px); background: #fff; border-radius: 50%; padding: 12px; aspect-ratio: 1; object-fit: contain; }
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { font-size: 1.125rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
@media (max-width: 640px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aeb9cc; padding: 3.5rem 0 5.5rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-size: .95rem; font-stretch: 100%; color: #fff; margin-bottom: .85rem; letter-spacing: 0; }
.footer-grid li { list-style: none; margin-bottom: .45rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #fff; }
.footer-brand p { margin-top: 1rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 901px) { .site-footer { padding-bottom: 3.5rem; } }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 900px) {
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -1px 0 var(--line); }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; font-weight: 700; text-decoration: none; }
  .call-bar a:first-child { background: #fff; color: var(--navy); }
  .call-bar a:last-child { background: var(--red); color: #fff; }
  .call-bar svg { width: 18px; height: 18px; fill: currentColor; }
  body.has-call-bar { padding-bottom: 56px; }
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label, .field legend, .fieldset-label { font-weight: 600; color: var(--navy); font-size: .95rem; }
.field .hint, .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.optional { font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: .65rem .8rem;
  font: inherit; font-size: 1rem; color: var(--navy);
  background: #fff; border: 1.5px solid #b9c3d2; border-radius: var(--radius);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(21,40,75,.18); }
[aria-invalid="true"] { border-color: var(--red) !important; }
.error-msg { color: var(--red-dark); font-size: .875rem; font-weight: 600; }

/* ---------- Quote page ---------- */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } }

.progress { margin-bottom: 2rem; }
.progress ol { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .5rem; }
.progress li { list-style: none; font-size: .85rem; font-weight: 600; color: var(--muted); }
.progress li::before { content: ""; display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: .5rem; }
.progress li.done::before { background: var(--navy); }
.progress li.current::before { background: var(--red); }
.progress li.current { color: var(--navy); }

.form-step { display: none; border: 0; }
.form-step.active { display: block; }
.form-step > legend { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 800; font-stretch: 112%; color: var(--navy); margin-bottom: .4rem; }
.step-intro { color: var(--muted); margin-bottom: 1.75rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.subhead { grid-column: 1 / -1; font-size: 1.1rem; margin-top: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.subhead:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.choices { border: 0; display: grid; gap: .6rem; }
.choices.cols-2 { grid-template-columns: 1fr 1fr; }
.choices.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .choices.cols-2, .choices.cols-3 { grid-template-columns: 1fr; } }
.choices legend { margin-bottom: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; flex-direction: column; gap: .15rem; height: 100%;
  padding: .8rem 1rem .8rem 2.6rem; cursor: pointer;
  border: 1.5px solid #b9c3d2; border-radius: var(--radius); background: #fff;
  font-weight: 600; color: var(--navy); font-size: .98rem;
  position: relative;
}
.choice label::before {
  content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 16px; height: 16px;
  border: 2px solid #8b97aa; border-radius: 50%; background: #fff;
}
.choice input[type="checkbox"] + label::before { border-radius: 3px; }
.choice input:checked + label { border-color: var(--navy); background: #f3f6fb; box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:checked + label::before { border-color: var(--navy); background: var(--navy); box-shadow: inset 0 0 0 3px #fff; }
.choice input[type="checkbox"]:checked + label::before { box-shadow: none; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.2'/%3E%3C/svg%3E") center / 12px no-repeat; }
.choice input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
.choice label small { font-weight: 400; color: var(--muted); font-size: .85rem; }

.inline-check { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; cursor: pointer; }
.inline-check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--navy); flex: none; }

.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form-nav .btn-red { margin-left: auto; }
.form-note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { display: none; padding: 2rem; border: 2px solid var(--navy); border-radius: var(--radius); }
.form-success.show { display: block; }
.form-success h2 { margin-bottom: .75rem; }

.quote-aside { position: sticky; top: 96px; display: grid; gap: 1.5rem; }
.quote-aside section { padding: 1.5rem; background: var(--steel); border-radius: var(--radius); }
.quote-aside h2 { font-size: 1.1rem; margin-bottom: .6rem; }
.quote-aside .big-phone { display: block; font-size: 1.5rem; font-weight: 800; font-stretch: 112%; color: var(--red); text-decoration: none; margin: .25rem 0; }
.quote-aside ul { margin-top: .25rem; }
.quote-aside li { font-size: .95rem; }
@media (max-width: 960px) { .quote-aside { position: static; } }

/* ---------- Quote floor plan (planner.js) ---------- */
.planner { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.planner + .form-grid { margin-top: 1.75rem; }
.planner-head { font-size: 1.1rem; margin-bottom: .75rem; }
.field.checks { gap: .6rem; }

.room-counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.25rem; }
.counter {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .35rem .4rem .35rem .9rem; border: 1.5px solid #b9c3d2; border-radius: var(--radius);
  font-weight: 600; color: var(--navy);
}
.counter-garage { grid-column: 1 / -1; padding: .25rem 0; }
.counter-cap { grid-column: 1 / -1; margin: 0; max-width: none; }
@media (max-width: 600px) { .room-counters { grid-template-columns: 1fr; } }

.stepper { display: inline-flex; align-items: center; gap: .3rem; flex: none; }
.stepper button {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1.5px solid var(--navy); border-radius: 50%; background: #fff; color: var(--navy);
  font: inherit; font-size: 1.25rem; font-weight: 700; line-height: 1; cursor: pointer;
}
.stepper button:hover:not(:disabled) { background: var(--navy); color: #fff; }
.stepper button:disabled { border-color: var(--line); color: #b9c3d2; cursor: default; }
.stepper output { min-width: 2ch; text-align: center; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (pointer: coarse) { .stepper button { width: 44px; height: 44px; } }

.plan-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 1rem; align-items: start; }
@media (max-width: 760px) { .plan-wrap { grid-template-columns: 1fr; } }
.plan-figure { padding: .5rem; background: #f7f9fc; border: 1.5px solid var(--line); border-radius: var(--radius); }
.plan-figure svg { display: block; width: 100%; height: auto; }
.plan-figure figcaption { margin-top: .4rem; text-align: center; }

/* SVG drawing */
.plan-grid { fill: none; stroke: #e6ebf3; stroke-width: 1; }
.room-floor { fill: #fff; }
.room-tiles { fill: url(#planGrid); }
.plan-room { cursor: pointer; }
.plan-room:hover .room-floor { fill: #f1f4f9; }
.plan-room.is-active .room-floor { fill: #fdf0f0; }
.room-label { font-family: var(--font); font-size: 17px; font-weight: 700; fill: var(--navy); }
.plan-wall-in { fill: none; stroke: var(--navy); stroke-width: 2; pointer-events: none; }
.plan-wall { fill: none; stroke: var(--navy-deep); stroke-width: 4; pointer-events: none; }
.plan-door { stroke: #f7f9fc; stroke-width: 6; }
.plan-active { fill: none; stroke: var(--red); stroke-width: 3; pointer-events: none; }
.fi { fill: #dce4ef; stroke: var(--navy); stroke-width: 1.2; }
.fi-soft { fill: #fff; stroke: var(--navy); stroke-width: 1; }
.fi-dark { fill: var(--navy); stroke: var(--navy); stroke-width: 1; }
.fi-mid { fill: #9fb0c8; stroke: var(--navy); stroke-width: 1; }
.fi-blanket { fill: #f2c8ca; stroke: var(--navy); stroke-width: 1.2; }
.fi-felt { fill: #2e7d5b; stroke: var(--navy); stroke-width: 1; }
.fi-line { stroke: var(--navy); stroke-width: 1; }
.plan-item.ghost .fi, .plan-item.ghost .fi-soft, .plan-item.ghost .fi-dark, .plan-item.ghost .fi-mid, .plan-item.ghost .fi-blanket {
  fill: none; stroke: #9aa6b8; stroke-dasharray: 3 2;
}
.plan-item.ghost .fi-line { stroke: #c4ccd8; }

/* Large items, drawn beside the plan (below it on phones) */
.plan-side { padding: 1rem; background: #fff; border: 2px dashed #b9c3d2; border-radius: var(--radius); }
.plan-side h3 { font-size: 1rem; margin-bottom: .25rem; }
.plan-side ul { list-style: none; display: grid; gap: .5rem; margin-top: .75rem; }
.plan-side ul:empty { display: none; }
.plan-side li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 600; color: var(--navy); line-height: 1.25; }
.plan-side li svg { width: 54px; height: 36px; flex: none; }
.side-empty { margin-top: .75rem; }
@media (max-width: 760px) { .plan-side ul { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

/* Room list: where item counts are changed */
.room-list { display: grid; gap: .5rem; }
.room-card { background: #fff; border: 1.5px solid #b9c3d2; border-radius: var(--radius); }
.room-card[open] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.room-card summary {
  display: flex; align-items: center; gap: 1rem; min-height: 48px; padding: .6rem 1rem;
  font-weight: 700; color: var(--navy); cursor: pointer; list-style: none;
}
.room-card summary::-webkit-details-marker { display: none; }
.room-card summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin: 0 .25rem -.1rem;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translateY(-3px); transition: transform .15s;
}
.room-card[open] summary::after { transform: rotate(-135deg); }
.room-name { flex: 1; }
.room-count { font-size: .9rem; font-weight: 400; color: var(--muted); }
.room-body { display: grid; gap: .75rem; padding: 0 1rem 1rem; }
.bed-size { max-width: 220px; }
.item-rows { list-style: none; display: grid; }
.item-rows li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-top: 1px solid var(--line); }
.item-rows li:first-child { border-top: 0; }
.item-rows li.is-off > span { color: var(--muted); text-decoration: line-through; }
.add-item { max-width: 280px; }

.plan-summary {
  max-width: none; padding: .9rem 1.1rem; background: var(--steel);
  border-left: 4px solid var(--red); border-radius: var(--radius);
  font-weight: 600; color: var(--navy);
}
.plan-summary:empty { display: none; }

/* Step 2 recap */
.confirm-box { display: flex; align-items: center; gap: 1rem 1.25rem; padding: 1rem; background: var(--steel); border-radius: var(--radius); }
.confirm-plan { flex: 0 0 170px; }
.confirm-plan svg { display: block; width: 100%; height: auto; background: #f7f9fc; border-radius: 4px; pointer-events: none; }
.confirm-box p { margin-bottom: .4rem; font-weight: 600; color: var(--navy); }
@media (max-width: 600px) { .confirm-box { flex-direction: column; align-items: stretch; } .confirm-plan { flex-basis: auto; max-width: 240px; } }
.link-btn { min-height: 32px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--red-dark); text-decoration: underline; cursor: pointer; }

/* ---------- Policies ---------- */
.policies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; }
.policies h3 { margin-bottom: .75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--navy); }
.policies li { list-style: none; position: relative; padding-left: 1.2rem; margin-bottom: .6rem; }
.policies li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
@media (max-width: 760px) { .policies { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.mt-2 { margin-top: 2rem; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Reviews (homepage) ---------- */
.stars { color: var(--red); letter-spacing: .1em; font-size: 1.05rem; line-height: 1; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.reviews li { list-style: none; display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); background: #fff; }
.reviews blockquote { margin: 0; flex: 1; }
.reviews blockquote p { color: var(--text); }
.review-by { font-weight: 700; color: var(--navy); }
.review-by span { font-weight: 400; color: var(--muted); }
.review-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.review-links .btn { margin: 0; }
.hero-rating { margin-top: .75rem; }
.hero-rating a { color: var(--navy); font-weight: 600; text-decoration: none; }
.hero-rating a:hover { text-decoration: underline; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews { grid-template-columns: 1fr; } }
