:root {
  --bg: #070706;
  --bg-2: #10131a;
  --ink: #f8f2e6;
  --muted: #b8b1a4;
  --soft: #eee3d0;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --panel: rgba(14, 17, 24, 0.88);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --blue: #415a8d;
  --blue-bright: #aebcf5;
  --cyan: #9bddeb;
  --champagne: #d8b86a;
  --ivory: #f8f2e6;
  --gold: #e4b550;
  --orange: #f08a3c;
  --red: #f05252;
  --purple: #8a5bd8;
  --diamond: #3fb4e8;
  --success: #4ade80;
  --warning: #facc15;
  --danger: #fb7185;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #070706 0%, #10131a 42%, #070706 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Arial, Helvetica, sans-serif;
}

h1 {
  font-size: 4.85rem;
  line-height: 0.9;
  margin-bottom: 22px;
  max-width: 610px;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h1 span + span {
  color: var(--blue-bright);
  text-shadow: 0 0 38px rgba(174, 188, 245, 0.18);
}

h2 {
  font-size: 3.4rem;
  line-height: 0.98;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.16;
}

.site-header {
  align-items: center;
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  left: clamp(14px, 4vw, 64px);
  min-height: 68px;
  padding: 10px 14px;
  position: fixed;
  right: clamp(14px, 4vw, 64px);
  top: 16px;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 46px;
  width: 46px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: -2px;
}

.main-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.main-nav a {
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 9px 12px;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  color: var(--ink);
  outline: none;
}

.main-nav .nav-cta {
  background: linear-gradient(135deg, #536da7, #30446f);
  border-color: rgba(255, 255, 255, 0.16);
  color: white;
  padding-inline: 18px;
}

.hero {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.18fr);
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(118px, 12vw, 150px) clamp(18px, 4vw, 64px) clamp(36px, 6vw, 72px);
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, rgba(7, 7, 6, 0.98), rgba(7, 7, 6, 0.72) 45%, rgba(7, 7, 6, 0.88));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero-visual {
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.98), rgba(7, 7, 6, 0.68) 38%, rgba(7, 7, 6, 0.24) 68%, rgba(7, 7, 6, 0.82)),
    linear-gradient(180deg, rgba(7, 7, 6, 0.25), rgba(7, 7, 6, 0.92)),
    url("assets/daza-hero.png") center / cover no-repeat;
  inset: 0;
  opacity: 0.9;
  overflow: hidden;
  position: absolute;
  z-index: -2;
}

.hood-shine {
  background:
    linear-gradient(102deg, transparent 0 20%, rgba(255, 255, 255, 0.16) 24%, transparent 34%),
    linear-gradient(150deg, transparent 0 50%, rgba(76, 105, 176, 0.35) 52%, transparent 62%);
  height: 70%;
  position: absolute;
  right: -8%;
  top: 4%;
  transform: skewX(-18deg);
  width: 62%;
}

.hero-visual .hood-shine,
.hero-visual .car-silhouette {
  display: none;
}

.car-silhouette {
  border-bottom: 2px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  bottom: 10%;
  height: 26%;
  left: 5%;
  position: absolute;
  right: -8%;
  transform: skewX(-16deg);
}

.car-silhouette span {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  display: block;
  height: 2px;
  margin-top: 7%;
}

.hero-copy {
  align-self: center;
  max-width: 680px;
  position: relative;
}

.eyebrow {
  color: var(--champagne);
  font-size: 0.74rem;
  font-weight: 900;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.16rem;
  max-width: 650px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 26px;
}

.trust-row span,
.service-strip span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 8px 10px;
  text-transform: uppercase;
}

.hero-actions,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.tier-card button,
.admin-actions button {
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.tier-card button:hover,
.button:focus-visible,
.tier-card button:focus-visible {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
  outline: none;
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #536da7, #30446f);
  color: white;
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.09);
  color: var(--ink);
}

.button-ghost {
  border-color: var(--line);
}

.hero-stats {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  max-width: 620px;
}

.hero-stats div {
  min-width: 0;
  padding: 16px;
}

.hero-stats div + div {
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  color: white;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin: 5px 0 0;
  text-transform: uppercase;
}

.hero-board {
  align-self: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(310px, 1fr) minmax(230px, 0.68fr);
  min-width: 0;
}

.estimate-panel,
.tier-ladder,
.booking-form,
.booking-rules,
.tier-card,
.addon-grid article,
.auth-card,
.admin-controls,
.admin-stats article,
.availability-admin-card,
.empty-state,
.admin-booking,
.returning-client-panel,
.admin-client-card,
.client-card,
.client-record {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.estimate-panel {
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
  position: relative;
}

.estimate-panel::before {
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  content: "";
  height: 2px;
  left: 18px;
  position: absolute;
  right: 18px;
  top: 0;
}

.wizard-steps {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wizard-steps span {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.48);
  display: flex;
  font-size: 0.84rem;
  font-weight: 900;
  gap: 8px;
  min-height: 42px;
  padding: 8px;
}

.wizard-steps span.active {
  background: rgba(76, 105, 176, 0.28);
  border-color: rgba(143, 168, 255, 0.5);
  color: white;
}

.wizard-steps small {
  color: inherit;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.panel-heading h2,
.ladder-heading h2 {
  font-size: 1.8rem;
}

.estimate-form {
  display: grid;
  gap: 12px;
}

.field-note,
.form-helper {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  margin: 0;
  text-transform: none;
}

.estimate-form label,
.addon-fieldset,
.booking-form label,
.admin-hero label,
.auth-form label {
  color: var(--muted);
  display: grid;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 8px;
  text-transform: uppercase;
}

input,
select,
textarea {
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  padding: 0 14px;
  width: 100%;
}

[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.18);
}

select {
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 16px center / 7px 7px no-repeat,
    rgba(255, 255, 255, 0.08);
  padding: 0 42px 0 14px;
}

option {
  background: #0c1119;
  color: white;
}

textarea {
  min-height: 108px;
  padding-block: 11px;
  resize: vertical;
}

select:focus-visible,
input:focus-visible,
textarea:focus-visible,
.size-choice-grid button:focus-visible,
.calendar-day:focus-visible {
  border-color: var(--blue-bright);
  outline: 3px solid rgba(143, 168, 255, 0.2);
}

.size-choice-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.size-choice-grid button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  min-height: 42px;
  padding: 8px;
}

.size-choice-grid button.active,
.size-choice-grid button:hover {
  background: rgba(76, 105, 176, 0.32);
  border-color: rgba(143, 168, 255, 0.54);
  color: white;
}

.addon-fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
  padding: 12px;
}

.addon-fieldset legend {
  color: var(--ink);
  padding: 0 6px;
}

.addon-scroll-hint {
  align-items: center;
  background: rgba(216, 184, 106, 0.12);
  border: 1px solid rgba(216, 184, 106, 0.28);
  border-radius: var(--radius);
  color: var(--champagne);
  display: flex;
  font-size: 0.7rem;
  font-weight: 900;
  justify-content: space-between;
  margin: 0 0 9px;
  padding: 7px 9px;
  text-transform: uppercase;
}

.addon-scroll-hint::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 7px;
  transform: rotate(45deg) translateY(-2px);
  width: 7px;
}

.addon-scroll-list {
  display: grid;
  gap: 8px;
  max-height: 178px;
  overflow-y: auto;
  padding: 0 7px 22px 0;
  scrollbar-color: var(--champagne) rgba(255, 255, 255, 0.1);
  scrollbar-width: thin;
}

.addon-scroll-list::-webkit-scrollbar {
  width: 9px;
}

.addon-scroll-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.addon-scroll-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--champagne), var(--blue-bright));
  border-radius: 999px;
}

.addon-scroll-list:focus-visible {
  outline: 3px solid rgba(143, 168, 255, 0.2);
}

.addon-fieldset label {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  color: var(--soft);
  cursor: pointer;
  display: flex;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 11px;
  line-height: 1.25;
  min-height: 54px;
  padding: 10px;
  text-transform: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.addon-fieldset label:hover,
.addon-fieldset label:has(input:checked) {
  background: rgba(76, 105, 176, 0.2);
  border-color: rgba(143, 168, 255, 0.48);
  color: white;
}

.addon-fieldset input[type="checkbox"] {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 22px;
  justify-content: center;
  margin: 0;
  min-height: 22px;
  padding: 0;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  width: 22px;
}

.addon-fieldset input[type="checkbox"]::after {
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  content: "";
  height: 10px;
  opacity: 0;
  transform: rotate(45deg) scale(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
  width: 5px;
}

.addon-fieldset input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--champagne), var(--blue));
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(216, 184, 106, 0.14);
}

.addon-fieldset input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.addon-fieldset.is-disabled {
  opacity: 0.68;
}

.addon-fieldset.is-disabled .addon-scroll-hint {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--muted);
}

.addon-fieldset.is-disabled label {
  cursor: not-allowed;
}

.addon-fieldset small {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
}

.estimate-result,
.booking-summary {
  background: rgba(76, 105, 176, 0.16);
  border: 1px solid rgba(143, 168, 255, 0.24);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 15px;
}

.result-kicker,
.tier-label {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate-result strong,
.estimate-result span,
.booking-summary strong {
  display: block;
}

.estimate-result strong,
.booking-summary strong {
  color: white;
  font-size: 1.08rem;
  margin: 4px 0;
}

#resultPrice,
#bookingPrice {
  color: var(--champagne);
  font-size: 1.02rem;
  font-weight: 900;
}

#bookingPrice {
  margin-bottom: 4px;
}

.estimate-result p,
.booking-summary p {
  color: rgba(255, 255, 255, 0.74);
  margin: 6px 0 0;
}

.tier-ladder {
  color: var(--surface);
  padding: clamp(18px, 3vw, 26px);
}

.tier-ladder .eyebrow {
  color: var(--cyan);
}

.tier-ladder ol {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.tier-ladder li {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  grid-template-columns: 54px 1fr auto;
  min-width: 0;
  padding: 10px;
}

.tier-ladder span {
  background: rgba(143, 168, 255, 0.13);
  border: 1px solid rgba(143, 168, 255, 0.22);
  border-radius: 6px;
  color: var(--blue-bright);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 7px 6px;
  text-align: center;
  text-transform: uppercase;
}

.tier-ladder strong {
  color: white;
  font-size: 0.91rem;
  line-height: 1.2;
}

.tier-ladder em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.service-strip {
  background: #05060a;
  border-block: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 16px clamp(18px, 4vw, 64px);
}

.proof-band {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1px clamp(18px, 4vw, 64px) 0;
}

.proof-band article {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 26px);
}

.proof-band span {
  color: var(--blue-bright);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.proof-band h2 {
  font-size: 1.45rem;
  line-height: 1.05;
}

.proof-band p {
  color: var(--muted);
  margin-bottom: 0;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 64px);
}

.section-header {
  max-width: 800px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-header.compact {
  max-width: 500px;
}

.tier-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.tier-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  overflow: hidden;
  padding: 20px;
}

.consultation-card {
  grid-column: 1 / -1;
}

.tier-card-top {
  align-items: start;
  display: flex;
  gap: 14px;
}

.tier-card h3 {
  color: white;
  margin-bottom: 0;
}

.tier-card h4 {
  color: white;
  font-size: 0.9rem;
  margin: 0 0 8px;
}

.tier-card p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.tier-badge {
  align-items: center;
  background: var(--blue);
  border-radius: var(--radius);
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  min-width: 42px;
  padding: 0 8px;
}

.tier-details,
.tier-compare {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.tier-details ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.tier-details li,
.booking-rules li {
  color: rgba(255, 255, 255, 0.72);
}

.tier-note {
  border-left: 4px solid currentColor;
  font-style: italic;
  padding-left: 12px;
}

.tier-compare {
  display: grid;
  gap: 7px;
}

.tier-compare strong,
.tier-time {
  font-weight: 900;
}

.tier-compare span {
  color: var(--muted);
  display: block;
}

.tier-time {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: white;
  justify-self: start;
  padding: 9px 12px;
}

.tier-footnote {
  font-size: 0.9rem;
}

.tier-card button {
  align-self: end;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  margin-top: 4px;
  width: 100%;
}

.accent-rinse { border-top: 4px solid var(--warning); }
.accent-consult { border-top: 4px solid var(--blue-bright); }
.accent-zero { border-top: 4px solid #8b929b; }
.accent-one { border-top: 4px solid var(--gold); }
.accent-two { border-top: 4px solid var(--orange); }
.accent-three { border-top: 4px solid var(--red); }
.accent-four { border-top: 4px solid var(--purple); }
.accent-five { border-top: 4px solid var(--diamond); }

.accent-rinse .tier-badge { background: var(--warning); color: #111; }
.accent-consult .tier-badge { background: var(--blue-bright); color: #071019; }
.accent-zero .tier-badge { background: #8b929b; }
.accent-one .tier-badge { background: var(--gold); color: #111; }
.accent-two .tier-badge { background: var(--orange); }
.accent-three .tier-badge { background: var(--red); }
.accent-four .tier-badge { background: var(--purple); }
.accent-five .tier-badge { background: var(--diamond); color: #061018; }

.split-section {
  background: rgba(255, 255, 255, 0.035);
  border-block: 1px solid var(--line);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
}

.addon-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.addon-grid article {
  box-shadow: none;
  padding: 18px;
}

.addon-grid h3 {
  color: white;
  margin-bottom: 8px;
}

.addon-price {
  color: var(--champagne);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.addon-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.process-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.process-list li {
  border-top: 4px solid var(--blue);
  padding: 20px 18px 0 0;
}

.process-list span {
  color: var(--blue-bright);
  display: block;
  font-size: 0.86rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.process-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.booking-section {
  background:
    linear-gradient(180deg, rgba(76, 105, 176, 0.18), transparent 32%),
    var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 64px);
}

.booking-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  margin-top: 28px;
}

.booking-form,
.booking-rules {
  padding: clamp(18px, 3vw, 28px);
}

.booking-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.returning-client-panel {
  align-items: end;
  box-shadow: none;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) auto;
  padding: 16px;
}

.returning-client-panel strong,
.returning-client-panel p {
  display: block;
  margin: 0;
}

.returning-client-panel strong {
  color: white;
  font-size: 1.08rem;
}

.returning-client-panel p {
  color: var(--muted);
  margin-top: 3px;
}

.returning-client-panel a {
  color: var(--blue-bright);
  font-size: 0.84rem;
  font-weight: 900;
  padding-bottom: 12px;
  text-decoration: none;
}

.deposit-notice {
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.28);
  color: #fde68a;
  margin-top: 12px;
  padding: 10px;
}

.calendar-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-day {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 3px;
  min-height: 88px;
  padding: 9px;
  text-align: left;
}

.calendar-day:hover,
.calendar-day[aria-pressed="true"] {
  border-color: var(--blue-bright);
}

.calendar-day:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.calendar-day strong,
.calendar-day span,
.calendar-day small {
  display: block;
}

.calendar-day strong {
  font-size: 0.84rem;
}

.calendar-day span {
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-day small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.calendar-day.open span {
  color: var(--success);
}

.calendar-day.limited span {
  color: var(--orange);
}

.calendar-day.full span,
.calendar-day.closed span {
  color: var(--danger);
}

.availability-summary,
.form-status {
  color: var(--muted);
  font-weight: 800;
  margin: 0;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.booking-rules {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 104px;
}

.booking-rules h3 {
  font-size: 1.45rem;
}

.booking-rules ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.site-footer {
  align-items: center;
  background: #05060a;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 64px);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 900;
  text-decoration: none;
}

.auth-page {
  min-height: 100vh;
}

.auth-shell {
  align-items: center;
  display: grid;
  min-height: 100vh;
  padding: clamp(22px, 5vw, 64px);
}

.auth-card {
  display: grid;
  gap: 26px;
  margin: 0 auto;
  max-width: 460px;
  padding: clamp(22px, 4vw, 36px);
  width: 100%;
}

.auth-card h1 {
  font-size: 3.6rem;
  margin-bottom: 12px;
}

.auth-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.admin-hero {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  padding: clamp(120px, 12vw, 150px) clamp(18px, 4vw, 64px) clamp(44px, 6vw, 82px);
}

.admin-hero h1 {
  margin-bottom: 12px;
}

.admin-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 0;
  max-width: 760px;
}

.admin-toolbar {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.admin-controls {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(280px, 1fr) minmax(180px, 240px) minmax(180px, 240px);
  margin: 0 clamp(18px, 4vw, 64px) clamp(24px, 4vw, 40px);
  padding: 18px;
}

.admin-controls label {
  color: var(--muted);
  display: grid;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 8px;
  text-transform: uppercase;
}

.admin-availability {
  padding: 0 clamp(18px, 4vw, 64px) clamp(34px, 5vw, 54px);
}

.availability-admin-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.availability-admin-card {
  box-shadow: none;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.availability-admin-card > div {
  display: grid;
  gap: 3px;
}

.availability-admin-card strong,
.availability-admin-card span {
  display: block;
}

.availability-admin-card strong {
  color: white;
}

.availability-admin-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.availability-admin-card.open {
  border-color: rgba(74, 222, 128, 0.34);
}

.availability-admin-card.limited {
  border-color: rgba(240, 138, 60, 0.36);
}

.availability-admin-card.full {
  border-color: rgba(251, 113, 133, 0.36);
}

.availability-admin-card label {
  color: var(--muted);
  display: grid;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 7px;
  text-transform: uppercase;
}

.admin-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 clamp(18px, 4vw, 64px) clamp(34px, 5vw, 54px);
}

.admin-stats article {
  padding: 18px;
}

.admin-stats span {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-stats strong {
  color: white;
  display: block;
  font-size: 2.8rem;
  line-height: 1;
  margin-top: 8px;
}

.admin-client-section,
.client-section {
  padding: 0 clamp(18px, 4vw, 64px) clamp(34px, 5vw, 54px);
}

.admin-client-list,
.client-grid,
.client-record-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-client-list,
.client-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-client-card,
.client-card,
.client-record {
  box-shadow: none;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
}

.admin-client-card h2,
.client-card h2,
.client-record h2 {
  font-size: 1.35rem;
  margin: 3px 0 2px;
}

.admin-client-card dl,
.client-card dl,
.client-record dl {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.admin-client-card dt,
.client-card dt,
.client-record dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-client-card dd,
.client-card dd,
.client-record dd {
  margin: 2px 0 0;
}

.client-vehicle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.client-vehicle-list span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 8px 10px;
}

.client-vehicle-list small {
  color: var(--muted);
  display: block;
  font-weight: 800;
}

.client-hero {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(120px, 12vw, 150px) clamp(18px, 4vw, 64px) clamp(44px, 6vw, 82px);
}

.client-hero h1 {
  font-size: clamp(2.85rem, 6vw, 5.3rem);
  margin-bottom: 12px;
}

.client-hero h1 span {
  color: var(--blue-bright);
  display: inline;
  text-shadow: 0 0 38px rgba(174, 188, 245, 0.16);
}

.client-hero p,
.client-card p,
.client-record p {
  color: var(--muted);
  margin-bottom: 0;
}

.client-record {
  grid-template-columns: 1fr;
}

.client-record dl {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.empty-state.inline {
  box-shadow: none;
  margin: 0;
}

.admin-list-section {
  padding: 0 clamp(18px, 4vw, 64px) clamp(56px, 8vw, 104px);
}

.admin-list-section h2 {
  font-size: 2rem;
}

.empty-state {
  color: var(--muted);
  padding: 18px;
}

.admin-list {
  display: grid;
  gap: 16px;
}

.admin-booking {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto;
  padding: 20px;
}

.admin-booking h2 {
  font-size: 1.4rem;
  margin: 8px 0 2px;
}

.admin-booking p {
  color: var(--muted);
}

.admin-booking-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-id {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
}

.status-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 5px 8px;
  text-transform: uppercase;
}

.status-pill.confirmed {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.34);
  color: var(--success);
}

.status-pill.pending-deposit {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.32);
  color: #fde68a;
}

.status-pill.pending-review {
  background: rgba(143, 168, 255, 0.13);
  border-color: rgba(143, 168, 255, 0.34);
  color: var(--blue-bright);
}

.status-pill.cancelled {
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.34);
  color: var(--danger);
}

.status-pill.completed {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.admin-booking dl {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0;
}

.admin-booking dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-booking dd {
  margin: 2px 0 0;
}

.admin-note,
.admin-contact {
  margin-bottom: 6px;
}

.admin-contact a {
  color: var(--blue-bright);
  font-weight: 900;
  text-decoration: none;
}

.admin-actions {
  align-content: start;
  display: grid;
  gap: 8px;
  min-width: 190px;
}

.admin-actions button {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  min-height: 40px;
}

.admin-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 1180px) {
  .hero,
  .hero-board,
  .split-section,
  .booking-layout,
  .admin-hero,
  .client-hero,
  .admin-controls,
  .availability-admin-grid,
  .admin-client-list,
  .client-grid,
  .returning-client-panel,
  .admin-booking {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .booking-rules {
    position: static;
  }
}

@media (min-width: 1500px) {
  h1 {
    font-size: 6.35rem;
    max-width: 740px;
  }
}

@media (max-width: 760px) {
  [id] {
    scroll-margin-top: 132px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    left: 10px;
    right: 10px;
    top: 10px;
  }

  .main-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .main-nav a {
    padding: 7px 8px;
  }

  .hero {
    padding-top: 172px;
  }

  h1 {
    font-size: 3.45rem;
    max-width: 360px;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-stats dt,
  .admin-stats strong {
    font-size: 1.8rem;
  }

  .hero-stats,
  .proof-band,
  .tier-grid,
  .addon-grid,
  .process-list,
  .form-grid,
  .calendar-grid,
  .admin-controls,
  .availability-admin-grid,
  .admin-client-list,
  .client-grid,
  .admin-stats,
  .admin-hero,
  .client-hero,
  .client-record dl,
  .admin-booking dl {
    grid-template-columns: 1fr;
  }

  .hero-stats div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .size-choice-grid,
  .wizard-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tier-ladder li {
    align-items: start;
    grid-template-columns: 54px 1fr;
  }

  .tier-ladder em {
    grid-column: 2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-toolbar {
    justify-content: flex-start;
  }

  .returning-client-panel a {
    padding-bottom: 0;
  }

  .button,
  .tier-card button,
  .admin-actions button {
    width: 100%;
  }
}
