:root {
  --background: #eceff1;
  --surface: #fff;
  --ink: #1c2226;
  --muted: #55616a;
  --line: #cfd6db;
  --deep: #1d3a33;
  --deeper: #12261f;
  --accent: #f2b705;
  --accent-ink: #1c2226;
  --error: #b3261e;
  --ok: #1d6b45;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #14191c;
    --surface: #1d2428;
    --ink: #eef1f3;
    --muted: #a3b0b8;
    --line: #364047;
    --deep: #0f1f1a;
    --deeper: #0a1511;
    --error: #ff8a80;
    --ok: #6fd39f;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 5.5rem;
  background: var(--background);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1, h2, h3 { margin: 0; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; line-height: 1.05; letter-spacing: .01em; }
h2 { font-size: clamp(1.9rem, 5vw, 2.7rem); }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1rem; }
.site-header { background: var(--deeper); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding-top: .8rem; padding-bottom: .8rem; }
.logo { display: flex; align-items: center; gap: .5rem; font: 700 1.5rem "Barlow Condensed", "Arial Narrow", sans-serif; text-decoration: none; }
.logo svg { width: 30px; height: 24px; }
nav { display: flex; flex-wrap: wrap; gap: .2rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .75rem; border-radius: 6px; font-size: .95rem; text-decoration: none; }
nav a:hover { background: #ffffff1f; }
.hero { position: relative; overflow: hidden; background: var(--deep); color: #fff; }
.hero .wrap { position: relative; z-index: 1; padding-top: 2.2rem; padding-bottom: 3.4rem; }
.hero h1 { max-width: 12ch; font-size: clamp(2.6rem, 8vw, 4.8rem); }
.hero p { max-width: 46ch; margin: 1rem 0 1.4rem; color: #dbe6e1; font-size: 1.1rem; }
.mountain { position: absolute; right: 0; bottom: 0; width: min(780px, 100%); height: auto; opacity: .5; }
.button-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .7rem 1.1rem; border: 2px solid transparent; border-radius: 8px; font: 600 1rem system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.primary:hover { filter: brightness(1.07); }
.button.ghost { border-color: #ffffff88; background: none; color: #fff; }
.button.outline { border-color: var(--ink); background: none; color: var(--ink); }
.button.full { width: 100%; margin-top: .6rem; }
.button[disabled] { opacity: .5; cursor: not-allowed; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 1.6rem; color: #dbe6e1; font-size: .95rem; }
.facts b { color: #fff; }
.section { padding: 2.6rem 0 .6rem; scroll-margin-top: 1rem; }
.lead { max-width: 60ch; margin: .5rem 0 1.2rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.3rem; }
.chip { min-height: 44px; padding: .5rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--background); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(255px, 100%), 1fr)); gap: 1.1rem; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.photo { display: grid; place-items: center; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); background: #fff; }
.photo img { width: 100%; height: 100%; padding: .6rem; object-fit: contain; }
.card-body { display: flex; flex: 1; flex-direction: column; gap: .5rem; padding: .9rem 1rem 1rem; }
.card h3 { font-size: 1.4rem; }
.card p { margin: 0; }
.summary { flex: 1; color: var(--muted); font-size: .94rem; }
.price { font: 700 1.7rem "Barlow Condensed", "Arial Narrow", sans-serif; margin: 0; }
.price small { color: var(--muted); font: 500 .85rem system-ui, sans-serif; }
.in-request { min-height: 1.3em; color: var(--ok); font-size: .85rem; font-weight: 600; }
.card-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .4rem; }
.card-actions .button { flex: 1; padding: .55rem .7rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1.4rem; margin: 1.2rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { padding-top: .7rem; border-top: 4px solid var(--ink); counter-increment: step; }
.steps li::before { content: "Step " counter(step); display: block; color: var(--muted); font-size: .85rem; font-weight: 700; }
.steps b { display: block; font: 700 1.4rem "Barlow Condensed", "Arial Narrow", sans-serif; }
.request-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.4rem; align-items: start; }
@media (max-width: 800px) { .request-layout { grid-template-columns: minmax(0, 1fr); } }
.panel { min-width: 0; padding: 1.1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.panel h3 { margin-bottom: .6rem; font-size: 1.5rem; }
.line { display: grid; grid-template-columns: 1fr auto; gap: .4rem .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.line-name { font-weight: 600; }
.line-meta { color: var(--muted); font-size: .88rem; }
.quantity { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; }
.quantity button { width: 44px; height: 44px; border: 0; background: none; color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.quantity button:disabled { opacity: .35; cursor: not-allowed; }
.quantity output { min-width: 2ch; font-weight: 700; text-align: center; }
.remove { justify-self: start; min-height: 44px; padding: 0 .4rem; border: 0; background: none; color: var(--error); font: inherit; text-decoration: underline; cursor: pointer; }
.empty { color: var(--muted); }
.estimate { margin-top: 1rem; font-size: .95rem; }
.estimate-row { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; }
.estimate-row.total { margin-top: .4rem; padding-top: .4rem; border-top: 2px solid var(--ink); font: 700 1.7rem "Barlow Condensed", "Arial Narrow", sans-serif; }
.available { margin: .5rem 0 0; color: var(--ok); font-weight: 600; }
label { display: block; margin: .8rem 0 .25rem; font-size: .93rem; font-weight: 600; }
input, textarea { width: 100%; min-height: 46px; padding: .65rem .7rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--background); color: var(--ink); font: inherit; }
input[aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 1.2em; margin: .2rem 0 0; color: var(--error); font-size: .88rem; }
.hidden-field { position: absolute; left: -9999px; }
.cf-turnstile { margin-top: .8rem; }
.note { color: var(--muted); font-size: .86rem; }
.success { margin-top: 1rem; padding: 1rem; border-left: 5px solid var(--ok); border-radius: 0 8px 8px 0; background: var(--background); }
.success p { margin: .4rem 0 0; }
.safety-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1rem; }
.safety-grid div { padding-top: .5rem; border-top: 3px solid var(--ink); }
.safety-grid h3 { font-size: 1.3rem; }
.safety-grid p { margin: .3rem 0; color: var(--muted); font-size: .93rem; }
footer { margin-top: 3rem; padding: 1.8rem 0; background: var(--deeper); color: #cfdad5; font-size: .92rem; }
.request-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 20; display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: var(--deeper); color: #fff; }
.request-bar.on { display: flex; }
dialog { width: 100%; max-width: min(560px, 94vw); max-height: 88vh; padding: 0; border: 0; border-radius: 12px; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: #000a; }
.dialog-body { padding: 1.2rem; }
.dialog-body h3 { font-size: 1.9rem; }
.dialog-body h4 { margin: 1rem 0 .3rem; font-size: 1rem; }
.dialog-body ul { margin: .2rem 0; padding-left: 1.2rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
