/* Layout: road-sign identity — condensed signage type, asphalt neutrals, one signal-yellow accent; header → hero + 24/7 card → 4 services → booking desk → my bookings → admin → contact */
:root {
  --bg: #F1F2F4;
  --surface: #FFFFFF;
  --sunk: #E6E8EC;
  --ink: #14171C;
  --muted: #596070;
  --line: #D6D9DF;
  --accent: #F2B705;
  --on-accent: #14171C;
  --accent-ink: #7D5A00;
  --ok: #1D7F46;
  --ok-bg: #E2F3E9;
  --warn: #9A5B00;
  --warn-bg: #FBEFD9;
  --bad: #B3261E;
  --bad-bg: #FBE4E2;
  --info: #2A4E8C;
  --info-bg: #E3EAF6;
  --plate-bg: #FFFFFF;
  --plate-ink: #111111;
  --eu: #003399;
  --wa: #1A8D4E;
  --f-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 6px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101216;
    --surface: #191C22;
    --sunk: #22262E;
    --ink: #ECEEF2;
    --muted: #9BA2AF;
    --line: #2D323B;
    --accent: #F5C02E;
    --on-accent: #14171C;
    --accent-ink: #F5C02E;
    --ok: #5CCB8A;
    --ok-bg: #16301F;
    --warn: #F0B35A;
    --warn-bg: #33270F;
    --bad: #F28B82;
    --bad-bg: #3A1A18;
    --info: #9DB8EA;
    --info-bg: #1A2538;
    --plate-bg: #FFFFFF;
    --plate-ink: #111111;
    --eu: #003399;
    color-scheme: dark
  }
}

:root[data-theme="dark"] {
  --bg: #101216;
  --surface: #191C22;
  --sunk: #22262E;
  --ink: #ECEEF2;
  --muted: #9BA2AF;
  --line: #2D323B;
  --accent: #F5C02E;
  --on-accent: #14171C;
  --accent-ink: #F5C02E;
  --ok: #5CCB8A;
  --ok-bg: #16301F;
  --warn: #F0B35A;
  --warn-bg: #33270F;
  --bad: #F28B82;
  --bad-bg: #3A1A18;
  --info: #9DB8EA;
  --info-bg: #1A2538;
  --plate-bg: #FFFFFF;
  --plate-ink: #111111;
  --eu: #003399;
  color-scheme: dark
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--surface)
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px))
}

h1,
h2,
h3 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
  margin: 0;
  letter-spacing: .005em
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  text-transform: uppercase
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  text-transform: uppercase
}

h3 {
  font-size: 1.45rem
}

p {
  margin: 0
}

.eyebrow {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .85rem;
  color: var(--accent-ink)
}

.muted {
  color: var(--muted)
}

a {
  color: inherit
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px
}

.mono {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums
}

/* header */
header.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line)
}

.top .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 12px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem
}

.brand b {
  font-family: var(--f-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: .02em
}

.brand small {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  line-height: 1
}

nav.links {
  display: flex;
  gap: 18px
}

nav.links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted)
}

nav.links a:hover {
  color: var(--ink)
}

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden
}

.lang button {
  border: 0;
  background: none;
  padding: 5px 11px;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  color: var(--muted)
}

.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg)
}

@media (max-width:760px) {
  nav.links {
    display: none
  }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--r);
  padding: 11px 18px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s, background .12s
}

.btn:active {
  transform: translateY(1px)
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent)
}

.btn-primary:hover {
  filter: brightness(1.05)
}

.btn-ghost {
  background: transparent;
  border-color: var(--line)
}

.btn-ghost:hover {
  border-color: var(--ink)
}

.btn-sm {
  padding: 6px 11px;
  font-size: .88rem
}

.btn[disabled] {
  opacity: .55;
  cursor: not-allowed
}

/* hero */
.hero .wrap {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  padding-block: 56px 48px;
  align-items: center
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0
}

.hero-copy p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 56ch
}

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

.sos {
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  min-width: 0
}

.sos-stripe {
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--ink) 14px 28px)
}

.sos-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.sos-body .eyebrow {
  color: var(--accent)
}

.sos-num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--bg)
}

.sos-body p {
  opacity: .8
}

.sos .btn-ghost {
  border-color: color-mix(in srgb, var(--bg) 35%, transparent);
  color: var(--bg)
}

.sos-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center
}

@media (max-width:860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-block: 36px
  }
}

/* services */
section {
  padding-block: 48px
}

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

@media (max-width:1000px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:560px) {
  .svc-grid {
    grid-template-columns: 1fr
  }
}

.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0
}

.svc-ico {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--sunk);
  display: grid;
  place-items: center;
  color: var(--ink)
}

.svc-ico svg {
  width: 26px;
  height: 26px
}

.svc p {
  color: var(--muted);
  flex: 1
}

.svc .hours {
  font-size: .85rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 10px
}

.svc .btn {
  align-self: flex-start
}

/* booking desk */
.desk {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--sunk)
}

.tabs button {
  border: 0;
  background: none;
  padding: 14px 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.tabs button svg {
  width: 20px;
  height: 20px
}

.tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--surface);
  border-bottom-color: var(--accent)
}

@media (max-width:640px) {
  .tabs {
    grid-template-columns: repeat(2, 1fr)
  }

  .tabs button {
    font-size: 1rem
  }
}

form.book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0
}

.col {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0
}

.col+.col {
  border-left: 1px solid var(--line)
}

@media (max-width:860px) {
  form.book {
    grid-template-columns: 1fr
  }

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

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0
}

legend {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 10px;
  padding: 0
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0
}

.field label {
  font-weight: 600;
  font-size: .92rem
}

.field label .opt {
  font-weight: 400;
  color: var(--muted)
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

@media (max-width:460px) {
  .row2 {
    grid-template-columns: 1fr
  }
}

input[type=text],
input[type=tel],
input[type=email],
input[type=date],
input[type=number],
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px 12px;
  min-height: 44px
}

textarea {
  min-height: 76px;
  resize: vertical
}

.invalid {
  border-color: var(--bad) !important;
  box-shadow: 0 0 0 2px var(--bad-bg)
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .95rem
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent)
}

/* plate */
.plate {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--plate-ink);
  border-radius: 6px;
  background: var(--plate-bg);
  overflow: hidden;
  max-width: 260px
}

.plate span {
  background: var(--eu);
  color: #FFFFFF;
  font-weight: 700;
  font-size: .75rem;
  display: flex;
  align-items: flex-end;
  padding: 4px 6px
}

.plate input {
  border: 0 !important;
  background: var(--plate-bg) !important;
  color: var(--plate-ink) !important;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  min-height: 42px !important;
  box-shadow: none !important
}

.plate.invalid {
  box-shadow: 0 0 0 3px var(--bad)
}

/* slots */
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px
}

.slot {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r);
  padding: 9px 4px;
  font-family: var(--f-mono);
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px
}

.slot small {
  font-family: var(--f-body);
  font-size: .7rem;
  color: var(--muted)
}

.slot:hover:not([disabled]) {
  border-color: var(--ink)
}

.slot[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent)
}

.slot[aria-pressed="true"] small {
  color: var(--on-accent)
}

.slot[disabled] {
  cursor: not-allowed;
  background: var(--sunk);
  color: var(--muted);
  text-decoration: line-through
}

.slot[disabled] small {
  text-decoration: none
}

.note {
  font-size: .92rem;
  padding: 10px 12px;
  border-radius: var(--r);
  background: var(--sunk);
  color: var(--muted)
}

.legend-row {
  display: flex;
  gap: 14px;
  font-size: .82rem;
  color: var(--muted);
  flex-wrap: wrap
}

.legend-row i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 5px;
  vertical-align: -1px;
  border: 1px solid var(--line)
}

/* vehicles */
.cars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

@media (max-width:460px) {
  .cars {
    grid-template-columns: 1fr
  }
}

.car {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  padding: 12px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0
}

.car b {
  font-family: var(--f-display);
  font-size: 1.15rem
}

.car small {
  color: var(--muted)
}

.car[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent)
}

.car[disabled] {
  cursor: not-allowed;
  opacity: .6
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  width: fit-content;
  white-space: nowrap
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor
}

.p-ok {
  background: var(--ok-bg);
  color: var(--ok)
}

.p-bad {
  background: var(--bad-bg);
  color: var(--bad)
}

.p-warn {
  background: var(--warn-bg);
  color: var(--warn)
}

.p-info {
  background: var(--info-bg);
  color: var(--info)
}

.p-mute {
  background: var(--sunk);
  color: var(--muted)
}

.submit-bar {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding: 18px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--sunk)
}

.summary {
  flex: 1;
  min-width: 200px;
  font-size: .95rem
}

.summary b {
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: .02em
}

.msg {
  grid-column: 1/-1;
  margin: 0 24px 18px;
  padding: 12px 14px;
  border-radius: var(--r);
  font-weight: 500
}

.msg.ok {
  background: var(--ok-bg);
  color: var(--ok)
}

.msg.err {
  background: var(--bad-bg);
  color: var(--bad)
}

.msg.info {
  background: var(--info-bg);
  color: var(--info)
}

.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--muted);
  margin-top: 12px
}

/* lists */
.list {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center
}

.item .when {
  font-family: var(--f-mono);
  font-size: .9rem;
  text-align: center;
  min-width: 76px;
  border-right: 1px solid var(--line);
  padding-right: 14px
}

.item .when b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.5rem;
  line-height: 1
}

.item .what {
  min-width: 0
}

.item .acts {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end
}

@media (max-width:560px) {
  .item {
    grid-template-columns: auto 1fr
  }

  .item .acts {
    grid-column: 1/-1;
    justify-content: flex-start
  }
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 22px;
  color: var(--muted);
  text-align: center
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 820px;
  font-size: .92rem
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top
}

th {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
  color: var(--muted);
  background: var(--sunk)
}

tr:last-child td {
  border-bottom: 0
}

td .acts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.admin-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px
}

.admin-bar select {
  width: auto
}

.kpis {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

@media (max-width:860px) {
  .contact-grid {
    grid-template-columns: 1fr
  }
}

.cbox {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0
}

.cline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap
}

.cline span {
  overflow-wrap: anywhere
}

.hours-t {
  width: 100%;
  min-width: 0;
  font-size: .95rem
}

.hours-t td,
.hours-t th {
  padding: 4px 0;
  border: 0;
  background: none
}

.hours-t td:last-child {
  text-align: right;
  font-family: var(--f-mono);
  font-size: .88rem
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  color: var(--muted);
  font-size: .88rem
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap
}

.confirm-inline {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: .88rem
}

.btn-wa {
  background: var(--wa);
  color: #FFFFFF
}

.btn-wa:hover {
  filter: brightness(1.07)
}

.btn-call {
  background: var(--accent);
  color: var(--on-accent)
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none
}

.fab {
  position: fixed;
  z-index: 30;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 10px
}

.fab .btn {
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25)
}

@media (max-width:560px) {
  .fab {
    left: calc(16px + env(safe-area-inset-left, 0px))
  }

  .fab .btn {
    flex: 1
  }
}

footer {
  padding-bottom: 96px
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    animation: none !important
  }
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.legal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 6px 24px;
  font-size: .82rem;
  line-height: 1.5
}

.legal b {
  color: var(--ink)
}

.cancel-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px
}

.cancel-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end
}

@media (max-width:560px) {
  .cancel-row {
    grid-template-columns: 1fr
  }
}

.login {
  max-width: 380px;
  margin: 60px auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.doc {
  max-width: 760px;
  padding-block: 40px
}

.doc h2 {
  font-size: 1.6rem;
  margin-top: 28px
}

.doc p,
.doc li {
  color: var(--ink);
  line-height: 1.65
}

.doc p+p {
  margin-top: 10px
}