/* Haul Hounds public website — mobile-first */
:root {
  --brand: #146c43;
  --brand-dark: #0b3d2a;
  --brand-ink: #062a1c;
  --brand-50: #ecf8f1;
  --brand-100: #d3efdf;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --ink: #142019;
  --muted: #5a6b62;
  --line: #e1e8e4;
  --bg: #ffffff;
  --bg-soft: #f5f8f6;
  --danger: #c2410c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 40, 25, .06), 0 8px 24px rgba(10, 40, 25, .08);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--brand-ink); }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.ic { flex-shrink: 0; vertical-align: middle; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s; font-family: inherit; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #1f1300; box-shadow: 0 4px 14px rgba(245, 158, 11, .35); }
.btn-primary:hover { background: #fbbf24; }
.btn-green { background: var(--brand); color: #fff; }
.btn-green:hover { background: var(--brand-dark); }
.btn-outline { border-color: currentColor; color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-50); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.08rem; }
.btn-sm { padding: .5rem .9rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* top bar + header */
.topbar { background: var(--brand-ink); color: #cfe9dc; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar span { display: inline-flex; align-items: center; gap: .35rem; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--brand-ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.logo-mark { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); display: grid; place-items: center; color: var(--accent); }
.logo small { display: block; font-weight: 600; font-size: .72rem; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.nav { display: none; gap: .25rem; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: .5rem .75rem; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a.active { background: var(--brand-50); color: var(--brand); }
.header-cta { display: flex; gap: .5rem; align-items: center; }
.header-cta .btn { padding: .6rem 1rem; font-size: .92rem; }
.header-cta .hide-sm { display: none; }
.menu-btn { background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--brand-ink); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; padding: .5rem 1.25rem 1.25rem; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
@media (min-width: 980px) { .nav { display: flex; } .menu-btn { display: none; } .mobile-nav { display: none !important; } .header-cta .hide-sm { display: inline-flex; } }

/* hero */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(245,158,11,.25), transparent 60%), linear-gradient(160deg, var(--brand-dark) 0%, var(--brand-ink) 70%); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(transparent, rgba(0,0,0,.08)); }
.hero .container { display: grid; gap: 2.5rem; padding: 4rem 0 4.5rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 1.15rem; color: #d7ede2; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: #cfe9dc; font-size: .92rem; font-weight: 600; }
.hero-badges span { display: inline-flex; gap: .4rem; align-items: center; }
.hero-badges .ic { color: var(--accent); }
.hero-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 1.5rem; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.hero-card h3 { display: flex; align-items: center; gap: .5rem; }
.steps-mini { list-style: none; padding: 0; margin: 1rem 0 1.25rem; display: grid; gap: .9rem; }
.steps-mini li { display: flex; gap: .85rem; align-items: flex-start; }
.steps-mini .n { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.steps-mini strong { display: block; color: var(--brand-ink); }
.steps-mini span { color: var(--muted); font-size: .92rem; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.25fr .9fr; padding: 5.5rem 0 6rem; } }

/* sections */
.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .6rem; }
.page-hero { background: linear-gradient(160deg, var(--brand-dark), var(--brand-ink)); color: #d7ede2; padding: 3.5rem 0 3rem; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); }
.page-hero p { max-width: 640px; font-size: 1.1rem; margin: 0; }
.crumbs { font-size: .85rem; margin-bottom: .75rem; }
.crumbs a { color: #a7dcc0; text-decoration: none; }

/* service cards */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.svc-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; display: grid; place-items: center; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-art { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--c1, #1b8a57), var(--c2, #0b3d2a)); position: relative; }
.svc-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.2px); background-size: 16px 16px; }
.svc-art .ic { width: 64px; height: 64px; stroke-width: 1.6; position: relative; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.svc-art .ring { position: absolute; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.1); }
.svc-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.svc-body h3 { margin: 0; }
.svc-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.svc-body .more { margin-top: auto; padding-top: .5rem; color: var(--brand); font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: .3rem; }
.tone-0 { --c1: #1f9d63; --c2: #0b4a31; } .tone-1 { --c1: #2c7a9b; --c2: #123d52; } .tone-2 { --c1: #c27a12; --c2: #6b3d05; }
.tone-3 { --c1: #4b6b5c; --c2: #1f342a; } .tone-4 { --c1: #b45309; --c2: #5f2a04; } .tone-5 { --c1: #186c4c; --c2: #08321f; }
.tone-6 { --c1: #4d8b2f; --c2: #1f4612; } .tone-7 { --c1: #33725a; --c2: #0e3324; }

/* how it works */
.steps { counter-reset: s; display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step .ic-wrap { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 1rem; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 1.2rem; right: 1.3rem; font-size: 2.4rem; font-weight: 900; color: var(--brand-100); }

/* features */
.features { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; gap: 1rem; }
.feature .ic-wrap { width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.feature h3 { margin-bottom: .25rem; font-size: 1.08rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* reviews */
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars .off { color: #d6dcd9; }
.review { display: flex; flex-direction: column; gap: .75rem; }
.review blockquote { margin: 0; font-size: 1.02rem; }
.review footer { margin-top: auto; font-weight: 700; color: var(--brand-ink); font-size: .95rem; }
.review footer span { font-weight: 500; color: var(--muted); }
.rating-summary { display: inline-flex; align-items: center; gap: .6rem; background: var(--brand-50); padding: .5rem .9rem; border-radius: 999px; font-weight: 700; color: var(--brand-ink); }
.empty { text-align: center; padding: 2.5rem 1rem; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* faq */
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: .75rem; }
.faq summary { cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--brand-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--brand); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .answer { padding: 0 1.25rem 1.2rem; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand), var(--brand-dark)); color: #e0f3ea; border-radius: 22px; padding: 2.5rem; display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; padding: 3rem 3.5rem; } }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* area chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.chip .ic { color: var(--brand); }

/* footer */
.site-footer { background: var(--brand-ink); color: #a9c9b8; padding: 3.5rem 0 1.5rem; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #e3f3eb; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer .logo { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.mobile-cta .btn { padding: .75rem; font-size: .95rem; }
body.has-mobile-cta { padding-bottom: 76px; }
@media (min-width: 980px) { .mobile-cta { display: none; } body.has-mobile-cta { padding-bottom: 0; } }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 700px) { .form-card { padding: 2.25rem; } }
.field { margin-bottom: 1.15rem; }
.field label, .label { display: block; font-weight: 700; margin-bottom: .4rem; font-size: .95rem; color: var(--brand-ink); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=number], select, textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid #cfd9d3; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(20, 108, 67, .12); }
textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 2fr 1fr 1fr; } }
.err { color: var(--danger); font-size: .88rem; font-weight: 600; margin-top: .35rem; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.choice-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: .55rem; padding: .8rem .9rem; border: 1.5px solid #cfd9d3; border-radius: 12px; font-weight: 600; font-size: .93rem; cursor: pointer; transition: all .12s; background: #fff; height: 100%; }
.choice span .ic { color: var(--brand); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(20,108,67,.2); }
.volume-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.volume-grid .choice span { flex-direction: column; align-items: flex-start; gap: .4rem; }
.truck-meter { width: 100%; height: 8px; border-radius: 4px; background: #e6ece9; overflow: hidden; }
.truck-meter i { display: block; height: 100%; background: var(--brand); border-radius: 4px; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.checkbox input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--brand); }

/* stepper */
.stepper { display: flex; gap: .4rem; margin-bottom: 1.75rem; }
.stepper .s { flex: 1; text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); }
.stepper .s i { display: block; height: 6px; border-radius: 3px; background: #e3e9e6; margin-bottom: .45rem; transition: background .2s; }
.stepper .s.done i, .stepper .s.current i { background: var(--brand); }
.stepper .s.current { color: var(--brand); }
.stepper .s b { display: none; }
@media (min-width: 640px) { .stepper .s b { display: inline; } }
.js .step-panel { display: none; }
.js .step-panel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-panel h2 { font-size: 1.45rem; }
.step-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.no-js-only { display: block; }
.js .no-js-only { display: none; }
.js .step-nav-js { display: flex; }
.step-nav-js { display: none; }

/* photo upload */
.dropzone { border: 2px dashed #b9cbc1; border-radius: 16px; padding: 2rem 1rem; text-align: center; background: var(--bg-soft); cursor: pointer; transition: all .15s; position: relative; }
.dropzone.drag { border-color: var(--brand); background: var(--brand-50); }
.dropzone .ic-wrap { width: 60px; height: 60px; margin: 0 auto .75rem; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--brand); box-shadow: var(--shadow); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone strong { display: block; color: var(--brand-ink); font-size: 1.05rem; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; margin-top: 1rem; }
.previews .pv { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #eee; }
.previews .pv img { width: 100%; height: 100%; object-fit: cover; }
.previews .pv button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.photo-count { font-weight: 700; color: var(--brand); margin-top: .5rem; font-size: .92rem; }
.review-list { display: grid; gap: .5rem; font-size: .95rem; }
.review-list div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.review-list dt { color: var(--muted); }
.notice { display: flex; gap: .75rem; padding: 1rem 1.15rem; border-radius: 12px; background: var(--brand-50); color: var(--brand-ink); font-size: .93rem; align-items: flex-start; }
.notice .ic { color: var(--brand); margin-top: 2px; }
.notice.warn { background: #fff7e6; color: #6b4300; } .notice.warn .ic { color: var(--accent-dark); }
.notice.error { background: #fdecea; color: #7a1d0c; } .notice.error .ic { color: var(--danger); }

/* flash */
.flashes { position: relative; z-index: 30; }
.flash { padding: .9rem 0; font-weight: 600; font-size: .95rem; }
.flash.success { background: #dcf5e7; color: #0b4a2c; } .flash.error { background: #fde4de; color: #7a1d0c; } .flash.info { background: #e6f0fb; color: #123a66; }

/* portal */
.portal-shell { background: var(--bg-soft); min-height: 70vh; padding: 2.5rem 0 4rem; }
.portal-nav { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.portal-nav a, .portal-nav button { padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; cursor: pointer; font-family: inherit; }
.portal-nav a.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.st-new, .st-under_review { background: #e6f0fb; color: #1d4f91; }
.st-estimate_sent { background: #fff2d6; color: #8a5300; }
.st-approved { background: #e9e5ff; color: #4b32b3; }
.st-scheduled { background: #dcf5e7; color: #0b5a34; }
.st-in_progress { background: #d6f3f6; color: #0c5965; }
.st-completed { background: #e3e8e5; color: #2c3a33; }
.st-cancelled { background: #fde4de; color: #8a2a12; }
.req-card { display: grid; gap: .5rem 1rem; padding: 1.25rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; transition: box-shadow .15s; }
.req-card:hover { box-shadow: var(--shadow); }
@media (min-width: 700px) { .req-card { grid-template-columns: 1fr auto; align-items: center; } }
.req-card h3 { margin: 0; font-size: 1.05rem; }
.req-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--muted); font-size: .88rem; }
.req-meta span { display: inline-flex; gap: .3rem; align-items: center; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; margin-bottom: 1.25rem; }
.panel h2 { font-size: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.panel h2 .ic { color: var(--brand); }
.two-col { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.estimate-box { border: 2px solid var(--brand); border-radius: 16px; overflow: hidden; }
.estimate-box .head { background: var(--brand); color: #fff; padding: 1.1rem 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.estimate-box .head .total { font-size: 1.9rem; font-weight: 900; }
.estimate-box table { width: 100%; border-collapse: collapse; }
.estimate-box td { padding: .7rem 1.4rem; border-bottom: 1px solid var(--line); }
.estimate-box td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.estimate-box .body { padding: 1.25rem 1.4rem; }
.decision { display: grid; gap: .75rem; }
@media (min-width: 600px) { .decision { grid-template-columns: 1fr 1fr; } }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 1.1rem 1.6rem; font-size: .93rem; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: -4px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.timeline time { display: block; color: var(--muted); font-size: .8rem; }
.progress-track { display: flex; gap: .3rem; margin: 1rem 0 .4rem; }
.progress-track i { flex: 1; height: 8px; border-radius: 4px; background: #e3e9e6; }
.progress-track i.on { background: var(--brand); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: .5rem; }
.thumbs a { aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: block; background: #eee; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.msg { padding: .8rem 1rem; border-radius: 12px; margin-bottom: .6rem; max-width: 85%; font-size: .95rem; }
.msg.in { background: var(--brand-50); margin-left: auto; }
.msg.out { background: #f1f3f2; }
.msg small { display: block; color: var(--muted); font-size: .78rem; margin-bottom: .2rem; font-weight: 600; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .95rem; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .25rem; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { cursor: pointer; color: #cfd8d3; }
.star-input label .ic { width: 32px; height: 32px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--accent); }
.auth-card { max-width: 440px; margin: 0 auto; }
.error-page { padding: 6rem 0; text-align: center; }
.error-page .code { font-size: 5rem; font-weight: 900; color: var(--brand-100); line-height: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; background: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }
.prose p { color: #33443b; font-size: 1.05rem; }
.progress-labels { flex-wrap: nowrap; font-size: .72rem; }
@media (max-width: 560px) { .logo small { display: none; } .logo { font-size: 1rem; } .header-cta .btn-primary { padding: .55rem .8rem; font-size: .85rem; } }
