:root {
  --bg: #ffffff; --bg2: #f4f7f9; --text: #10202b; --muted: #5b6b77; --line: #dfe6eb;
  --brand: #0b7a75; --brand-d: #075e5a; --accent: #ffb020; --ph-bg: #e8eef2;
  --good: #1f8a4c; --bad: #c0392b; --radius: 14px; --shadow: 0 6px 24px #10202b14;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1519; --bg2: #152027; --text: #e8eef2; --muted: #9fb0bb; --line: #26343d;
    --brand: #22b3a9; --brand-d: #1a948c; --ph-bg: #1b2830; --shadow: 0 6px 24px #0006;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 'Plus Jakarta Sans', system-ui, sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: .2em 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 1.6rem; font-weight: 800; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.section { padding: 56px 16px; }
.muted { color: var(--muted); } .small { font-size: .88rem; } .good { color: var(--good); }
.row { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--brand); margin: 0; }
.lead { font-size: 1.15rem; color: var(--muted); }

.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 13px 26px;
  font: inherit; font-weight: 700; cursor: pointer; text-align: center; }
.btn:hover { background: var(--brand-d); text-decoration: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: var(--bg2); }
.btn-sm { padding: 8px 18px; }
.btn-block { width: 100%; margin-top: 12px; }

.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a:not(.btn) { color: var(--text); font-weight: 600; font-size: .95rem; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-style: italic; font-size: 1.3rem; letter-spacing: -.02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand b { color: var(--brand); }
.logo { width: 38px; height: 38px; flex: none; }
@media (max-width: 680px) { .nav nav a:not(.btn) { display: none; } }

.hero { background: linear-gradient(160deg, var(--bg2), var(--bg) 70%); }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 64px 16px; }
.hl { color: var(--brand); }
.hero-img { border-radius: 22px; box-shadow: var(--shadow); width: 100%; height: auto; }
@media (max-width: 820px) { .hero-in { grid-template-columns: 1fr; padding: 40px 16px; } .hero-art { order: -1; } }

.sec-head { display: flex; justify-content: space-between; align-items: baseline; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.car-card { overflow: hidden; color: var(--text); transition: transform .15s; }
.car-card:hover { transform: translateY(-3px); text-decoration: none; }
.car-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.car-body { padding: 16px 18px 18px; }
.car-body h3 { margin: 0 0 2px; }
.car-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.price b { font-size: 1.25rem; } .price.big b { font-size: 1.8rem; }
.tag { font-size: .8rem; background: var(--bg2); border-radius: 999px; padding: 4px 10px; }

.band { background: var(--bg2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--bg); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #10202b; font-weight: 800; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.cta { text-align: center; }

.car-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; margin-top: 14px; align-items: start; }
.car-hero { width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; margin-bottom: 18px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: -8px 0 18px; }
.thumbs img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; }
.specs { color: var(--muted); font-weight: 600; }
.feat { columns: 2; padding-left: 18px; }
.book-box { padding: 22px; position: sticky; top: 84px; }
@media (max-width: 880px) { .car-layout { grid-template-columns: 1fr; } .book-box { position: static; } }

label { display: block; font-weight: 600; font-size: .9rem; margin: 12px 0 0; }
input, select { display: block; width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--text); font: inherit; }
input:focus, select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 20px 0 6px; }
.check input { width: auto; margin-top: 5px; }
.upload input { padding: 9px; background: var(--bg2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.form { padding: 24px; margin-top: 20px; }
.form h2 { font-size: 1.2rem; margin-top: 18px; }
.alert { background: #fff4e0; color: #7a4b00; border: 1px solid #ffd58a; border-radius: 10px; padding: 12px 14px; margin: 12px 0; }

.quote { margin: 14px 0 0; min-height: 22px; }
.quote.err { color: var(--bad); }
.qt { width: 100%; border-collapse: collapse; font-size: .95rem; color: var(--text); }
.qt td { padding: 5px 0; } .qt td:last-child { text-align: right; }
.qt .tot td { border-top: 1px solid var(--line); font-weight: 800; padding-top: 9px; font-size: 1.05rem; }
.summary { padding: 18px; margin-top: 16px; }
.sum-car { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.sum-img { width: 120px; border-radius: 10px; flex: none; }
.pickup { padding: 20px; margin: 18px 0; border-color: var(--brand); }
.code { font-family: ui-monospace, monospace; font-size: 1.4rem; font-weight: 800; letter-spacing: .15em; background: var(--bg2); padding: 2px 10px; border-radius: 8px; }

.cal { margin-top: 20px; display: grid; gap: 16px; }
.cal-m h4 { margin: 0 0 6px; font-size: .9rem; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: .78rem; }
.cal-g .dow { color: var(--muted); font-weight: 700; }
.cal-g .d { padding: 5px 0; border-radius: 6px; }
.cal-g .past { color: var(--line); }
.cal-g .busy { background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); text-decoration: line-through; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: middle; }
.dot.busy { background: color-mix(in srgb, var(--bad) 35%, transparent); }

.prose h3 { margin-top: 1.4em; }
.foot { border-top: 1px solid var(--line); padding: 36px 0 24px; margin-top: 40px; background: var(--bg2); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; margin-bottom: 18px; }
@media (max-width: 640px) { .foot-in { grid-template-columns: 1fr; } }

/* ---------- admin ---------- */
.admin .section { padding-top: 28px; }
.admin h1 { font-size: 1.8rem; }
.inline { display: inline; margin: 0; }
.flash { background: color-mix(in srgb, var(--brand) 14%, transparent); border: 1px solid var(--brand); border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; font-weight: 600; }
.pad { padding: 20px; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--bg2); border-radius: var(--radius); padding: 16px; color: var(--muted); font-size: .88rem; }
.stat span { display: block; font-size: 1.7rem; font-weight: 800; color: var(--text); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.tabs a { padding: 6px 14px; border-radius: 999px; color: var(--text); background: var(--bg2); font-weight: 600; font-size: .9rem; }
.tabs a.on { background: var(--brand); color: #fff; }
.tbl-wrap { overflow-x: auto; margin-bottom: 24px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); }
.tbl tbody tr { cursor: pointer; } .tbl tbody tr:hover { background: var(--bg2); }
.nowrap { white-space: nowrap; }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; vertical-align: middle; background: var(--bg2); color: var(--muted); }
.s-pending_payment { background: #fff1c2; color: #7a5a00; }
.s-awaiting_approval { background: #ffd9c2; color: #8a3a00; }
.s-confirmed { background: #c9f0d8; color: #146c3a; }
.s-active { background: #c8e3ff; color: #0f4f8f; }
.s-completed { background: var(--bg2); color: var(--muted); }
.s-cancelled, .s-expired { background: #f3d3d0; color: #8f2a20; }
.adm-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; margin-top: 10px; }
@media (max-width: 900px) { .adm-grid { grid-template-columns: 1fr; } }
.id-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.id-photos a { position: relative; display: block; }
.id-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.id-photos span { position: absolute; left: 8px; bottom: 8px; background: #000a; color: #fff; font-size: .75rem; padding: 2px 8px; border-radius: 6px; }
.actions form { margin: 0 0 10px; }
.btn-danger { background: transparent; color: var(--bad); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--bad) 40%, transparent); }
.btn-danger:hover { background: color-mix(in srgb, var(--bad) 10%, transparent); }
textarea { display: block; width: 100%; margin: 5px 0 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
@media (max-width: 560px) { .three { grid-template-columns: 1fr; } }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 14px; }
.ph { position: relative; } .ph img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.ph-act { position: absolute; inset: auto 4px 4px 4px; display: flex; justify-content: space-between; align-items: center; color: #fff; text-shadow: 0 1px 3px #000; }
.ph-act button { background: #000a; color: #fff; border: 0; border-radius: 6px; cursor: pointer; padding: 2px 7px; }
.blocks { list-style: none; padding: 0; margin: 0 0 12px; }
.blocks li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.linkish { background: none; border: 0; color: var(--bad); cursor: pointer; font: inherit; font-size: .85rem; }
.inactive { opacity: .55; }
.fcal { border-collapse: collapse; font-size: .78rem; }
.fcal th, .fcal td { border: 1px solid var(--line); text-align: center; min-width: 28px; height: 32px; padding: 0; }
.fcal tbody th { text-align: left; padding: 0 10px; white-space: nowrap; font-size: .85rem; position: sticky; left: 0; background: var(--bg); }
.fcal thead th { color: var(--muted); font-weight: 600; line-height: 1.2; padding: 4px 0; }
.fcal th.we { background: var(--bg2); }
.fcal .cb a { display: block; line-height: 32px; color: inherit; font-weight: 700; text-decoration: none; }
.blk { background: repeating-linear-gradient(45deg, var(--bg2), var(--bg2) 4px, var(--line) 4px, var(--line) 8px); color: var(--muted); }
.legend .dot { margin-left: 10px; }

/* ---------- weekly rates ---------- */
.car-img-wrap { position: relative; }
.ribbon { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #10202b; font-weight: 800; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px #0003; }
.weekly { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 8px 12px; border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--text); font-size: .95rem; }
.weekly b { font-size: 1.1rem; color: var(--brand); }
.weekly .save { font-size: .78rem; font-weight: 700; color: var(--good); }
.weekly.big { margin: 10px 0 4px; padding: 10px 14px; } .weekly.big b { font-size: 1.4rem; }
.promo { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 28px 32px; margin-bottom: 56px;
  border-radius: 20px; background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 16%, var(--bg)), color-mix(in srgb, var(--accent) 18%, var(--bg))); }
.promo > div { max-width: 640px; } .promo h2 { margin-top: 4px; }

/* ---------- hero v2 ---------- */
.hero2 { position: relative; overflow: hidden; color: #fff; background: #062a29; min-height: 600px; display: flex; align-items: center; }
.hero-bg { position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, #062a29 0%, #062a29 34%, #062a29d9 44%, #062a2966 60%, #062a2900 78%),
              linear-gradient(0deg, #05252466 0%, #05252400 30%); }
.hero2-in { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 72px; padding-bottom: 72px; width: 100%; }
.hero-copy { max-width: 600px; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; background: #ffffff1f; border: 1px solid #ffffff33; backdrop-filter: blur(6px);
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #ffb02040; }
.hero2 h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.1rem); margin: 18px 0 14px; letter-spacing: -.03em; line-height: 1.05; }
.hl2 { color: var(--accent); }
.lead2 { font-size: 1.15rem; color: #d7e7e6; max-width: 520px; margin: 0 0 26px; }
.search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; background: #fff; padding: 10px; border-radius: 18px;
  box-shadow: 0 18px 50px #0006; max-width: 600px; }
.search label { min-width: 0; margin: 0; padding: 4px 10px 2px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
  border-radius: 12px; background: #f2f6f8; }
.search input { min-width: 0; width: 100%; border: 0; padding: 2px 0 6px; margin: 0; background: transparent; color: #10202b; font-weight: 700; font-size: .95rem; }
.search input:focus { outline: none; }
.search label:focus-within { box-shadow: inset 0 0 0 2px var(--brand); }
.search .btn { border-radius: 12px; padding: 0 26px; font-size: 1rem; white-space: nowrap; }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; max-width: 560px; }
.perks li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: #eaf4f3; }
.perks svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: #ffb02026; fill: var(--accent); flex: none; }
.price-tag { display: flex; flex-direction: column; gap: 2px; background: #ffffffeb; color: #10202b; padding: 14px 18px; border-radius: 16px;
  box-shadow: 0 12px 40px #0005; backdrop-filter: blur(8px); min-width: 230px; transition: transform .15s; }
.price-tag:hover { transform: translateY(-3px); text-decoration: none; }
.pt-label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
.pt-price { color: var(--muted); font-size: .9rem; } .pt-price strong { color: #10202b; font-size: 1.15rem; }
@media (max-width: 860px) {
  .hero2 { min-height: 0; }
  .hero-bg { width: 100%; object-position: 60% 50%; }
  .hero-shade { background: linear-gradient(180deg, #052524c7 0%, #052524e6 55%, #052524f7 100%); }
  .hero2-in { flex-direction: column; align-items: stretch; padding-top: 44px; padding-bottom: 40px; }
  .price-tag { align-self: flex-start; }
}
@media (max-width: 560px) {
  .search { grid-template-columns: 1fr 1fr; } .search .btn { grid-column: 1 / -1; padding: 13px; }
  .perks { grid-template-columns: 1fr; }
}
.avail { margin-top: 10px; font-size: .88rem; padding: 7px 12px; border-radius: 10px; }
.avail.ok { background: color-mix(in srgb, var(--good) 12%, transparent); color: var(--good); }
.avail.no { background: color-mix(in srgb, var(--bad) 10%, transparent); color: var(--bad); }
.search-sum { background: var(--bg2); padding: 10px 14px; border-radius: 10px; }
