:root {
  --bg: #0d1015;
  --text: #f4f5f7;
  --muted: #b3b9c4;
  --faint: #8a919d;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-line: rgba(255, 255, 255, 0.16);
  --accent: #ffc53d;
  --accent-ink: #1d1600;
  --ok: #4ade80;
  --radius: 18px;
  --blur: blur(22px) saturate(1.4);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
button { font: inherit; color: inherit; }

/* Fixed photo backdrop that the glass panels blur */
.backdrop {
  position: fixed; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,16,21,.55), rgba(13,16,21,.8)),
    url("images/office-cleanout.jpg") center / cover no-repeat;
  filter: blur(6px) saturate(1.1);
  transform: scale(1.06);
}

/* Glass */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 20px 50px -24px rgba(0,0,0,.6);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(28, 32, 40, .92); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: #ffd366; }
.btn-glass { background: var(--glass-strong); border-color: var(--glass-line); color: var(--text); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 12px; z-index: 30;
  display: flex; align-items: center; gap: 20px;
  width: min(1180px, calc(100% - 24px)); margin: 12px auto 0; padding: 8px 8px 8px 12px;
  border-radius: 999px;
  background: rgba(16, 19, 25, .62);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand img { width: 40px; height: 40px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.nav-links a:hover { color: var(--text); background: var(--glass); }

/* Hero */
.hero {
  position: relative; margin-top: -64px; min-height: min(92vh, 820px);
  display: flex; align-items: flex-end; padding: 120px 24px 48px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,16,21,.35) 0%, rgba(13,16,21,.1) 40%, rgba(13,16,21,.85) 100%); }
.hero-panel { position: relative; z-index: 1; width: min(1180px, 100%); margin: 0 auto; padding: 32px; max-width: 640px; margin-left: max(0px, calc((100% - 1180px) / 2)); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); text-transform: uppercase; }
.hero-panel > p { font-size: 1.12rem; color: #dfe3ea; margin: 14px 0 18px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: 999px; padding: 6px 14px; }
.facts a { text-decoration: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(74,222,128,.2); }
.star { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions.center { justify-content: center; margin-top: 24px; }

/* Sections */
.section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); text-transform: uppercase; }
.section-head p { color: var(--muted); margin-top: 8px; font-size: 1.05rem; }

/* Quote builder */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.steps { display: grid; gap: 16px; margin: 0; }
.step { margin: 0; padding: 22px; min-width: 0; }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 1.5rem; font-weight: 700; padding: 0; text-transform: uppercase; }
.step legend + * { clear: both; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 .95rem/1 Inter, sans-serif; flex: none; }
.hint { color: var(--faint); font-size: .9rem; margin: 4px 0 14px; }

.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.item {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  min-height: 56px; padding: 0 6px 0 14px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--glass-line);
  transition: background .15s, border-color .15s;
}
.item.on { background: rgba(255,197,61,.14); border-color: rgba(255,197,61,.7); }
.item-add { all: unset; cursor: pointer; flex: 1; align-self: stretch; display: flex; align-items: center; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.item-add:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.item-count { min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .85rem; display: none; place-items: center; }
.item-minus { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--glass-line); background: rgba(0,0,0,.25); cursor: pointer; font-size: 1.1rem; line-height: 1; display: none; }
.item.on .item-count { display: inline-grid; }
.item.on .item-minus { display: inline-block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; font-weight: 500;
  background: rgba(255,255,255,.05); border: 1px solid var(--glass-line);
}
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }

.field { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; margin-top: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row .field { margin-top: 0; }
.optional { color: var(--faint); font-weight: 400; }
.field input, .field textarea {
  font: inherit; font-weight: 400; color: var(--text); width: 100%;
  background: rgba(0,0,0,.28); border: 1px solid var(--glass-line); border-radius: 12px; padding: 12px 14px;
}
.field input::placeholder, .field textarea::placeholder { color: #7d8490; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,197,61,.25); }

.summary { position: sticky; top: 92px; padding: 22px; display: grid; gap: 18px; }
.summary h3 { font-size: 1.5rem; text-transform: uppercase; }
.load-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .9rem; color: var(--muted); }
.load-top strong { color: var(--text); font-size: 1rem; text-align: right; }
.trailer { width: 100%; height: auto; margin: 8px 0 6px; }
.trailer-bed { fill: rgba(0,0,0,.3); stroke: rgba(255,255,255,.4); stroke-width: 2; }
.trailer-fill { fill: var(--accent); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.trailer-fill.over { fill: #ff8a3d; }
.trailer-frame { fill: none; stroke: rgba(255,255,255,.4); stroke-width: 4; stroke-linecap: round; }
.trailer-wheel { fill: #0d1015; stroke: rgba(255,255,255,.45); stroke-width: 5; }
.fine { color: var(--faint); font-size: .82rem; line-height: 1.5; }
.fine a { color: var(--muted); }
.preview-label { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.preview {
  margin: 0; white-space: pre-wrap; word-break: break-word; max-height: 260px; overflow: auto;
  font: .88rem/1.55 ui-monospace, "Cascadia Mono", Consolas, monospace; color: #e6e9ee;
  background: rgba(0,0,0,.32); border: 1px solid var(--glass-line); border-radius: 12px; padding: 14px;
}
.missing { color: var(--accent); font-size: .88rem; min-height: 1.2em; }
.missing:empty { display: none; }
.send { display: grid; gap: 10px; }
.send-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.send-row .btn { padding: 0 10px; }

/* How it works */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how li { padding: 24px; }
.how h3 { font-size: 1.45rem; text-transform: uppercase; margin: 14px 0 6px; }
.how p { color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 12px; }
.shot { padding: 0; border: 1px solid var(--glass-line); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #222; position: relative; }
.shot.tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .2s; }
.shot:hover img { transform: scale(1.04); }
.shot::after { content: attr(data-cap); position: absolute; left: 10px; bottom: 10px; right: 10px; text-align: left; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 10px; background: rgba(13,16,21,.55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); width: fit-content; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--text); }
.lightbox::backdrop { background: rgba(8,10,14,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; grid-column: 2; min-width: 0; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 14px; object-fit: contain; }
.lightbox figcaption { font-weight: 600; }
.lb-count { color: var(--faint); font-weight: 400; margin-left: 8px; }
.lb-nav, .lb-close { width: 48px; height: 48px; border-radius: 50%; cursor: pointer; background: var(--glass-strong); border: 1px solid var(--glass-line); font-size: 1.8rem; line-height: 1; justify-self: center; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: fixed; top: 16px; right: 16px; font-size: 1.6rem; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review { margin: 0; padding: 26px; display: grid; gap: 12px; }
.stars { color: var(--accent); letter-spacing: 3px; font-size: 1.1rem; }
.review blockquote { margin: 0; font-size: 1.6rem; font-weight: 600; }
.review blockquote.empty { font-size: 1rem; font-weight: 400; color: var(--muted); }
.review figcaption { color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { padding: 0; border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* Footer */
.footer { width: min(1180px, calc(100% - 32px)); margin: 80px auto 24px; padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; font-size: 1.05rem; }
.footer-brand span { color: var(--muted); font-size: .92rem; }
.footer-info { display: grid; grid-template-columns: repeat(4, auto); justify-content: end; gap: 12px 36px; margin: 0; }
.footer-info dt { color: var(--faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-info dd { margin: 2px 0 0; font-weight: 500; }
.footer-info a { text-decoration: none; }
.footer-info a:hover { color: var(--accent); }
.copy { grid-column: 1 / -1; color: var(--faint); font-size: .85rem; border-top: 1px solid var(--glass-line); padding-top: 16px; }

/* Mobile dock + toast */
.dock { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: rgba(20,24,31,.92); border: 1px solid var(--glass-line); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .builder { grid-template-columns: 1fr; }
  .summary { position: static; }
  .how { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer { grid-template-columns: 1fr; }
  .footer-info { grid-template-columns: 1fr 1fr; justify-content: start; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 76px; }
  .nav { top: 8px; width: calc(100% - 16px); margin-top: 8px; padding-left: 8px; }
  .brand span { font-size: .95rem; }
  .nav .btn { display: none; }
  .hero { display: block; min-height: 0; padding: 0 12px; }
  .hero-bg { position: relative; inset: auto; width: calc(100% + 24px); max-width: none; height: 340px; margin: 0 -12px; object-position: center 82%; }
  .hero::after { bottom: auto; height: 340px; background: linear-gradient(180deg, rgba(13,16,21,.45) 0%, rgba(13,16,21,0) 35%, rgba(13,16,21,.7) 100%); }
  .hero-panel { margin-top: -72px; padding: 22px 18px; }
  .hero-panel .actions .btn { flex: 1 1 100%; }
  .section { width: calc(100% - 24px); padding-top: 56px; }
  .step, .summary { padding: 18px 16px; }
  .items { grid-template-columns: 1fr 1fr; gap: 8px; }
  .item { padding-left: 12px; }
  .item-add { font-size: .9rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row .field { margin-top: 16px; }
  .gallery { grid-auto-rows: 160px; gap: 8px; }
  .reviews { grid-template-columns: 1fr; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 12px; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-column: 1; grid-row: 2; }
  .lb-next { grid-column: 2; grid-row: 2; }
  .footer { width: calc(100% - 24px); margin-bottom: 96px; padding: 22px 18px; }
  .dock {
    display: grid; grid-template-columns: 1fr 2fr; gap: 8px;
    position: fixed; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); z-index: 40;
    padding: 8px; border-radius: 999px; background: rgba(20,24,31,.6);
  }
  .toast { bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
