/* HamoCarwash — wet asphalt, concrete, hi-vis. */

:root {
  --asphalt: #15202B;
  --asphalt-2: #1F2E3C;
  --concrete: #F0EDE6;
  --concrete-2: #E4E0D6;
  --paper: #FFFFFF;
  --ink: #15202B;
  --ink-soft: #55616D;
  --ink-faint: #9AA3AC;
  --hivis: #FF6B1A;
  --hivis-dark: #E25607;
  --water: #1E8FCB;
  --line: #D6D1C6;
  --radius: 6px;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--concrete);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.95; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: 0.02em; text-transform: uppercase;
  text-decoration: none; transition: background-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--hivis); color: var(--asphalt); }
.btn-primary:hover { background: var(--hivis-dark); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Top bar */
.top {
  background: var(--asphalt); color: var(--concrete);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
}
.brand { font-family: var(--display); font-weight: 800; font-size: 28px; text-decoration: none; letter-spacing: 0.01em; }
.brand span { color: var(--hivis); }
.top nav { display: flex; gap: 22px; align-items: center; font-weight: 500; }
.top nav a { text-decoration: none; color: var(--concrete); opacity: .85; }
.top nav a:hover { opacity: 1; }
.top-phone { font-family: var(--display); font-weight: 800; font-size: 22px; opacity: 1 !important; }
@media (max-width: 560px) { .top nav a:not(.top-phone) { display: none; } }

/* Hero */
.hero {
  background: var(--asphalt); color: var(--concrete);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end;
  padding: 40px var(--gutter) 0; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.hero { position: relative; }
.hero-inner { padding-bottom: 56px; }
.hero-where { color: var(--hivis); font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(52px, 8vw, 104px); text-transform: uppercase; }
.hero-sub { margin-top: 22px; font-size: 20px; max-width: 30em; color: #C9D0D7; }
.hero-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.hero-alt { color: var(--concrete); font-weight: 500; }
.hero-photo { position: relative; align-self: end; }
.hero-photo img {
  display: block; width: 100%; max-width: 420px; height: auto; aspect-ratio: 6 / 7; object-fit: cover; object-position: top;
  border-radius: var(--radius) var(--radius) 0 0; margin-left: auto;
  border-bottom: 10px solid var(--hivis);
}
.hero-caption { position: absolute; left: 0; bottom: 18px; background: var(--hivis); color: var(--asphalt); font-weight: 600; padding: 8px 12px; font-size: 15px; max-width: 220px; line-height: 1.3; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-inner { padding-bottom: 32px; }
  .hero-photo img { max-width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius) var(--radius) 0 0; }
  .hero-caption { left: auto; right: 12px; bottom: 24px; }
}
/* Full-bleed dark band behind the hero */
.hero { box-shadow: 0 0 0 100vmax var(--asphalt); clip-path: inset(0 -100vmax); }

/* Packages */
.packages { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 40px; }
.packages-head { max-width: 640px; }
.packages-head h2 { font-size: clamp(40px, 6vw, 64px); text-transform: uppercase; }
.packages-head > p { margin-top: 10px; font-size: 19px; color: var(--ink-soft); }
.level-switch { display: inline-flex; margin-top: 24px; background: var(--concrete-2); padding: 4px; border-radius: 8px; }
.level-switch button {
  border: 0; background: transparent; padding: 10px 22px; border-radius: 5px;
  font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-soft);
}
.level-switch button[aria-checked="true"] { background: var(--asphalt); color: var(--concrete); }
.level-note { margin-top: 10px; color: var(--ink-soft); font-size: 15px; min-height: 1.5em; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; max-width: 520px; } }

.card {
  background: var(--paper); border-radius: var(--radius); border-top: 8px solid var(--asphalt);
  padding: 26px 26px 22px; display: flex; flex-direction: column;
}
.card.is-featured { border-top-color: var(--hivis); }
.card h3 { font-size: 34px; text-transform: uppercase; }
.card-desc { margin-top: 6px; color: var(--ink-soft); }
.card-price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.card-price .from { font-weight: 600; color: var(--ink-soft); font-size: 18px; }
.card-price .amount { font-family: var(--display); font-weight: 800; font-size: 92px; letter-spacing: -0.03em; }
.card-price .amount sup { font-size: 40px; vertical-align: top; top: 0.55em; position: relative; margin-right: 2px; }
.card-price-other { font-size: 14px; color: var(--ink-faint); margin-top: 2px; }
.card-time { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }

.inc { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.inc li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--concrete); font-size: 16px; line-height: 1.35; }
.inc li::before { flex: 0 0 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin-top: 1px; }
.inc li.yes::before { content: "✓"; background: var(--water); color: #fff; }
.inc li.no { color: var(--ink-faint); }
.inc li.no::before { content: "✕"; background: var(--concrete-2); color: var(--ink-faint); }
.inc li.no span { text-decoration: line-through; text-decoration-color: rgba(154,163,172,.7); }

.card .btn { margin-top: 22px; width: 100%; }
.card-suits { margin-top: 14px; font-size: 15px; color: var(--ink-soft); line-height: 1.4; }

.fine-print { margin-top: 36px; padding: 22px 24px; background: var(--concrete-2); border-radius: var(--radius); max-width: 780px; font-size: 15px; color: var(--ink-soft); }
.fine-print p + p { margin-top: 10px; }
.fine-print strong { color: var(--ink); }

/* About */
.about { max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 64px; }
.about h2 { font-size: clamp(34px, 5vw, 52px); text-transform: uppercase; max-width: 12em; }
.about p { margin-top: 16px; max-width: 42em; font-size: 18px; }

/* Contact */
.contact {
  background: var(--asphalt); color: var(--concrete);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
  padding: 64px var(--gutter);
}
.contact-inner-wrap { }
.contact-block h3 { font-size: 18px; font-family: var(--body); font-weight: 600; color: var(--hivis); margin-bottom: 8px; }
.contact-big { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1; text-decoration: none; margin-bottom: 12px; text-transform: uppercase; }
a.contact-big:hover { color: var(--hivis); }
.contact-block p:not(.contact-big) { color: #C9D0D7; font-size: 16px; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; gap: 32px; padding-block: 48px; } }

.foot { background: var(--asphalt-2); color: #C9D0D7; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px var(--gutter); font-size: 15px; }

/* Booking dialog */
.book { border: 0; border-radius: 10px; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--paper); color: var(--ink); }
.book::backdrop { background: rgba(21, 32, 43, .72); }
.book-close-form { position: absolute; top: 10px; right: 10px; margin: 0; }
.book-close { border: 0; background: var(--concrete); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; }
.book-body { padding: 28px 28px 24px; }
.book h2 { font-size: 36px; text-transform: uppercase; }

.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 16px 0 22px; counter-reset: s; }
.steps li { flex: 1; font-size: 13px; font-weight: 600; color: var(--ink-faint); padding-top: 8px; border-top: 3px solid var(--concrete-2); }
.steps li.is-done { color: var(--ink-soft); border-top-color: var(--water); }
.steps li.is-current { color: var(--ink); border-top-color: var(--hivis); }

.pick-list { display: grid; gap: 10px; }
.pick { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; text-align: left; padding: 12px 16px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.pick:hover { border-color: var(--ink-soft); }
.pick.is-selected { border-color: var(--hivis); background: #FFF6EF; }
.pick strong { grid-column: 1; grid-row: 1; font-family: var(--display); font-size: 22px; font-weight: 800; text-transform: uppercase; }
.pick small { grid-column: 1; grid-row: 2; color: var(--ink-soft); font-size: 14px; }
.pick .pick-price { grid-column: 2; grid-row: 1 / span 2; font-family: var(--display); font-size: 28px; font-weight: 800; }

.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-head strong { font-family: var(--display); font-size: 24px; font-weight: 800; text-transform: uppercase; }
.cal-nav { border: 2px solid var(--line); background: transparent; width: 38px; height: 38px; border-radius: var(--radius); font-size: 22px; line-height: 1; }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow span { text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-faint); padding-bottom: 4px; }
.cal-grid button { aspect-ratio: 1; border: 0; border-radius: var(--radius); background: var(--concrete); font-weight: 600; font-size: 16px; }
.cal-grid button.off { background: transparent; color: var(--ink-faint); font-weight: 400; cursor: default; }
.cal-grid button.on { background: var(--water); color: #fff; }
.cal-grid button.on:hover { background: #1878AC; }
.cal-grid button.is-selected { background: var(--hivis); color: var(--asphalt); }
.cal-grid button.today { box-shadow: inset 0 0 0 2px var(--asphalt); }
.cal-grid .pad { aspect-ratio: 1; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 12px 0 14px; }
.slots button { padding: 12px 6px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); font-family: var(--display); font-size: 20px; font-weight: 800; }
.slots button:hover:not([disabled]) { border-color: var(--asphalt); }
.slots button[disabled] { background: var(--concrete); border-color: transparent; color: var(--ink-faint); text-decoration: line-through; cursor: not-allowed; }
.slots button.is-selected { background: var(--hivis); border-color: var(--hivis); color: var(--asphalt); }
.slots-empty { grid-column: 1 / -1; color: var(--ink-soft); padding: 12px 0; }

.hint { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

.details { display: grid; gap: 12px; }
.details label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.details input, .details textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.details input:focus, .details textarea:focus { border-color: var(--water); outline: none; }
.details input.is-invalid { border-color: #C1272D; }
.form-error { color: #C1272D; font-size: 14px; font-weight: 600; min-height: 0; }
.form-error:empty { display: none; }
.summary { background: var(--concrete); border-radius: var(--radius); padding: 14px 16px; font-size: 15px; display: grid; gap: 2px; }
.summary strong { font-family: var(--display); font-size: 22px; font-weight: 800; text-transform: uppercase; }
.summary .summary-price { font-family: var(--display); font-size: 28px; font-weight: 800; margin-top: 4px; }

.done { text-align: left; }
.done h3 { font-size: 30px; text-transform: uppercase; }
.done p { margin-top: 10px; }
.done .summary { margin-top: 16px; margin-bottom: 18px; }

.step-nav { margin-top: 18px; display: flex; justify-content: flex-start; }
.step-nav[hidden] { display: none; }

@media (max-width: 480px) {
  .book-body { padding: 22px 18px 18px; }
  .steps li { font-size: 11px; }
  .card-price .amount { font-size: 80px; }
}
