/* Stainz Car Detailing — website + booking styles */
:root {
  --ink: #12181B;
  --ink-2: #1B2327;
  --ink-3: #26323A;
  --paper: #F8FAFC;
  --white: #FFFFFF;
  --lagoon: #00C4CC;
  --lagoon-deep: #00A8B0;
  --teal: #0B6E75;
  --teal-ink: #0B4E54;
  --foam: #E2F6F7;
  --line: #D8E1E5;
  --muted: #56656C;
  --muted-dark: #9FB0B7;
  --good: #1E8A4C;
  --bad: #C0392B;
  --display: "Bangers", "Impact", "Arial Black", sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1120px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { text-wrap: balance; margin: 0; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; line-height: 0.95; }
h2.display { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.lede { color: var(--muted); max-width: 60ch; margin: 10px 0 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-main { background: var(--lagoon); color: var(--ink); box-shadow: 0 3px 0 var(--teal-ink); }
.btn-main:hover { background: #19D2DA; }
.btn-main:active { box-shadow: 0 1px 0 var(--teal-ink); transform: translateY(2px); }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(0,196,204,.12); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .9rem; }

/* ---------- demo banner ---------- */
.demo-bar { background: #FFE08A; color: #3D2E00; font-size: .85rem; font-weight: 600; text-align: center; padding: 8px 16px; }

/* ---------- header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(18,24,27,.96); color: var(--white); backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); margin-right: auto; }
.brand img { height: 52px; width: auto; max-width: 220px; object-fit: contain; }
footer.foot .brand img { height: 64px; max-width: 260px; }
.brand .word { font-family: var(--display); font-size: 2rem; letter-spacing: .04em; line-height: 1; color: var(--lagoon); text-shadow: 2px 2px 0 #000; }
.brand small { display: block; font-family: var(--body); font-size: .68rem; font-weight: 700; color: var(--muted-dark); letter-spacing: .08em; text-shadow: none; margin-top: 2px; }
.nav { display: flex; gap: 20px; }
.nav a { color: #D5DFE3; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--lagoon); }
.top .phone { color: var(--white); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
@media (max-width: 880px) { .nav, .top .phone { display: none; } }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding-block: 64px 96px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 9vw, 6.6rem); line-height: .9; letter-spacing: .015em; color: var(--white); text-shadow: 4px 4px 0 var(--lagoon-deep), 8px 8px 0 #000; }
.hero p { color: #C9D5DA; font-size: 1.12rem; max-width: 46ch; margin: 22px 0 28px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .ctas .btn-ghost { color: var(--white); }
.hero-img { position: absolute; inset: 0; z-index: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero .wrap > * { position: relative; z-index: 1; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; padding: 0; list-style: none; color: var(--muted-dark); font-size: .92rem; font-weight: 600; }
.hero .trust li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lagoon); margin-right: 8px; vertical-align: 1px; }

/* the foam edge under the hero */
.foam { position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; z-index: 1; pointer-events: none; }

/* quick quote ticket in hero */
.ticket { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 22px; box-shadow: 8px 8px 0 var(--lagoon); max-width: 420px; justify-self: end; width: 100%; }
.ticket h2 { font-size: 1.05rem; font-weight: 800; margin-bottom: 12px; }
.ticket .pick { display: grid; gap: 8px; margin-bottom: 14px; }
.ticket label.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; font-weight: 700; }
.ticket label.row:has(input:checked) { border-color: var(--lagoon); background: var(--foam); }
.ticket label.row input { accent-color: var(--teal); width: 18px; height: 18px; margin: 0 10px 0 0; }
.ticket label.row span.nm { flex: 1; }
.ticket .amt { font-family: var(--display); font-size: 1.7rem; letter-spacing: .03em; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.ticket .amt s { font-family: var(--body); font-size: .85rem; color: var(--muted); font-weight: 600; margin-right: 6px; letter-spacing: 0; }
.ticket .btn { width: 100%; }
.ticket .fine { font-size: .82rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 84px; gap: 34px; }
  .ticket { justify-self: stretch; max-width: none; box-shadow: 6px 6px 0 var(--lagoon); }
}

/* ---------- size switcher ---------- */
.sizes { display: inline-flex; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 4px; gap: 4px; }
.sizes button { border: 0; background: transparent; border-radius: 999px; padding: 8px 18px; font-weight: 800; cursor: pointer; min-height: 40px; color: var(--ink); }
.sizes button[aria-pressed="true"] { background: var(--ink); color: var(--lagoon); }
.sizes button:not([aria-pressed="true"]):hover { background: var(--foam); }
.ticket .sizes { display: flex; width: 100%; border-color: var(--line); }
.ticket .sizes button { flex: 1; padding: 8px 6px; }
.size-hint { font-size: .88rem; color: var(--muted); margin: 8px 0 14px; min-height: 1.4em; }

/* ---------- sections ---------- */
.sec { padding-block: 84px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: 34px; }
.sec-dark { background: var(--ink); color: var(--white); }
.sec-dark .lede { color: #B9C7CD; }
.sec-foam { background: var(--foam); }
@media (max-width: 640px) { .sec { padding-block: 60px; } }

/* ---------- packages ---------- */
.switch-bar { display: flex; flex-direction: column; align-items: flex-start; }
.switch-bar .lbl { font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 980px) { .pkgs { grid-template-columns: 1fr; max-width: 620px; } }
.pkg { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.pkg .badge { position: absolute; top: -14px; left: 22px; background: var(--lagoon); color: var(--ink); font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--ink); }
.pkg h3 { font-family: var(--display); font-weight: 400; font-size: 2.3rem; letter-spacing: .03em; line-height: 1; }
.pkg .desc { color: var(--muted); margin: 0; font-size: .96rem; }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.price { font-family: var(--display); font-size: 3.3rem; line-height: .9; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.price-line s { color: var(--muted); font-weight: 700; font-size: 1.05rem; }
.save { background: #FFE08A; color: #3D2E00; font-weight: 800; font-size: .8rem; padding: 3px 10px; border-radius: 999px; }
.dur { font-size: .9rem; font-weight: 700; color: var(--teal); }
.incl { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .95rem; }
.incl li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; }
.incl li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--lagoon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%2312181B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.pkg details { border-top: 2px dashed var(--line); padding-top: 12px; }
.pkg summary { cursor: pointer; font-weight: 800; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.pkg summary::-webkit-details-marker { display: none; }
.pkg summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--teal); }
.pkg details[open] summary::after { content: "–"; }
.extras { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: .9rem; }
.extras li { display: flex; justify-content: space-between; gap: 12px; }
.extras li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pkg .btn { margin-top: 4px; }

/* interior / exterior split card */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.half { border: 2px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.half h4 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.half .price { font-size: 2.4rem; }
.half .incl { font-size: .86rem; gap: 5px; }
.half .btn { width: 100%; }
@media (max-width: 420px) { .split { grid-template-columns: 1fr; } }

/* full detail card */
.pkg.featured { background: var(--ink); color: var(--white); box-shadow: 8px 8px 0 var(--lagoon); }
.pkg.featured .desc, .pkg.featured .price-line s { color: #B9C7CD; }
.pkg.featured .dur { color: var(--lagoon); }
.pkg.featured h3, .pkg.featured .price { color: var(--white); }
.pkg.featured details { border-color: var(--ink-3); }
.pkg.featured summary::after { color: var(--lagoon); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--ink-2); border-radius: var(--r-lg); padding: 24px; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--lagoon); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.steps p { margin: 0; color: #B9C7CD; font-size: .96rem; }
.need { margin-top: 26px; border: 2px dashed var(--ink-3); border-radius: var(--r-lg); padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; }
.need b { color: var(--lagoon); font-family: var(--display); font-size: 1.6rem; letter-spacing: .03em; font-weight: 400; }
.need span { color: #D5DFE3; font-weight: 600; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- before / after ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ba { margin: 0; }
.ba-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); border: 2px solid var(--ink); max-width: 100%; touch-action: pan-y; user-select: none; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-frame .after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.ba-frame .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.3); }
.ba-frame .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: var(--lagoon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6' fill='none' stroke='%2312181B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; border: 2px solid var(--ink); }
.ba-frame input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-frame .tag { position: absolute; top: 12px; background: rgba(18,24,27,.8); color: var(--white); font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; pointer-events: none; }
.ba-frame .tag.l { left: 12px; } .ba-frame .tag.r { right: 12px; background: var(--lagoon); color: var(--ink); }
.ba figcaption { font-weight: 700; margin-top: 10px; font-size: .95rem; }
.photo-single { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--ink); }
.photo-single img { width: 100%; height: 100%; object-fit: cover; }
.placeholder { border: 2px dashed var(--muted); border-radius: var(--r-lg); padding: 28px; color: var(--muted); background: var(--white); }
.placeholder b { color: var(--ink); display: block; margin-bottom: 4px; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 22px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.stars { color: #E5A400; letter-spacing: 2px; font-size: 1.1rem; }
.review blockquote { margin: 0; font-size: .98rem; }
.review figcaption { font-weight: 800; font-size: .92rem; color: var(--muted); margin-top: auto; }

/* ---------- area + faq ---------- */
.two { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .two { grid-template-columns: 1fr; gap: 30px; } }
.area-card { background: var(--ink); color: var(--white); border-radius: var(--r-lg); padding: 28px; }
.area-card .display { font-size: 2.6rem; color: var(--lagoon); }
.area-card p { color: #C9D5DA; margin: 10px 0 0; }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 36px 16px 0; list-style: none; position: relative; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }

/* ---------- final cta + footer ---------- */
.cta-band { background: var(--lagoon); color: var(--ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 48px; }
.cta-band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: .95; letter-spacing: .02em; }
.cta-band .btn-dark { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
footer.foot { background: var(--ink); color: #B9C7CD; font-size: .92rem; }
footer.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-block: 48px 36px; }
footer.foot h3 { color: var(--white); font-size: .95rem; margin-bottom: 10px; }
footer.foot a { color: #D5DFE3; text-decoration: none; }
footer.foot a:hover { color: var(--lagoon); }
footer.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--ink-3); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; }
@media (max-width: 760px) { footer.foot .wrap { grid-template-columns: 1fr; } }

/* ============================================================
   BOOKING FLOW
   ============================================================ */
.booking { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: flex; flex-direction: column; }
.bk-top { background: var(--ink); color: var(--white); padding-top: env(safe-area-inset-top, 0px); }
.bk-top .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.bk-top .word { font-family: var(--display); font-size: 1.6rem; color: var(--lagoon); letter-spacing: .04em; margin-right: auto; }
.bk-close { background: transparent; border: 2px solid var(--ink-3); color: var(--white); border-radius: 999px; min-height: 38px; padding: 0 14px; font-weight: 700; cursor: pointer; }
.bk-close:hover { border-color: var(--lagoon); }
.bk-progress { display: flex; gap: 6px; padding-bottom: 12px; }
.bk-progress span { flex: 1; height: 5px; border-radius: 3px; background: var(--ink-3); }
.bk-progress span.on { background: var(--lagoon); }
.bk-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.bk-body .wrap { max-width: 760px; padding-block: 28px 40px; }
.bk-step-label { font-size: .85rem; font-weight: 700; color: var(--teal); margin: 0 0 4px; }
.bk-body h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 7vw, 3rem); letter-spacing: .02em; line-height: .95; margin-bottom: 18px; }
.bk-body h3 { font-size: 1.02rem; font-weight: 800; margin: 26px 0 10px; }
.bk-foot { background: var(--white); border-top: 2px solid var(--ink); padding-bottom: env(safe-area-inset-bottom, 0px); }
.bk-foot .wrap { max-width: 760px; display: flex; align-items: center; gap: 12px; min-height: 76px; padding-block: 10px; }
.bk-sum { margin-right: auto; line-height: 1.25; min-width: 0; }
.bk-sum b { font-family: var(--display); font-weight: 400; font-size: 1.9rem; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.bk-sum small { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-back { background: none; border: 0; font-weight: 700; color: var(--muted); cursor: pointer; padding: 8px; min-height: 44px; }

.opt-grid { display: grid; gap: 10px; }
.opt-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .opt-grid.cols3 { grid-template-columns: 1fr; } }
.opt { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 2px solid var(--line); border-radius: var(--r); padding: 14px 16px; cursor: pointer; position: relative; }
.opt:hover { border-color: var(--lagoon-deep); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--foam); box-shadow: 4px 4px 0 var(--lagoon); }
.opt:has(input:focus-visible) { outline: 3px solid var(--lagoon); outline-offset: 2px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .tick { flex: none; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 50%; margin-top: 2px; background: var(--white); }
.opt input[type=checkbox] ~ .tick { border-radius: 6px; }
.opt:has(input:checked) .tick { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%2300C4CC' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.opt .txt { flex: 1; min-width: 0; }
.opt .nm { font-weight: 800; display: block; }
.opt .sub { font-size: .88rem; color: var(--muted); display: block; }
.opt .pr { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.opt .pr small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.opt .pr s { color: var(--muted); font-weight: 600; font-size: .85rem; margin-right: 4px; }
.opt.size-opt { flex-direction: column; gap: 4px; }
.opt.size-opt .tick { position: absolute; top: 12px; right: 12px; margin: 0; }
.opt.size-opt .nm { font-family: var(--display); font-weight: 400; font-size: 1.9rem; letter-spacing: .03em; line-height: 1; }

/* calendar */
.cal { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-weight: 800; font-size: 1.05rem; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); cursor: pointer; font-size: 1.1rem; font-weight: 800; }
.cal-nav:hover:not([disabled]) { border-color: var(--ink); }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: .75rem; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-day { aspect-ratio: 1; max-width: 100%; border: 0; border-radius: 10px; background: transparent; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; position: relative; min-height: 38px; }
.cal-day.avail { background: var(--foam); color: var(--ink); }
.cal-day.avail::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--teal); }
.cal-day.avail:hover { background: #C7EEF0; }
.cal-day[disabled] { color: #B5C0C5; cursor: default; }
.cal-day.sel { background: var(--ink); color: var(--lagoon); }
.cal-day.sel::after { background: var(--lagoon); }
.cal-note { font-size: .85rem; color: var(--muted); margin: 10px 2px 0; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--white); font-weight: 800; cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--lagoon); border-color: var(--ink); }
.empty-note { background: var(--white); border: 2px dashed var(--line); border-radius: var(--r); padding: 16px; color: var(--muted); }

/* form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 5px; }
.field label small { font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; border: 2px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; background: var(--white); font-size: 16px; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(0,196,204,.35); }
.field.bad input, .field.bad textarea { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: .82rem; font-weight: 600; margin-top: 4px; display: none; }
.field.bad .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--teal); flex: none; margin-top: 1px; }

/* review */
.receipt { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; }
.receipt .rhead { background: var(--ink); color: var(--white); padding: 18px 20px; }
.receipt .rhead b { font-family: var(--display); font-weight: 400; font-size: 1.9rem; letter-spacing: .03em; color: var(--lagoon); display: block; line-height: 1; }
.receipt .rhead span { color: #C9D5DA; font-weight: 600; }
.receipt dl { margin: 0; padding: 8px 20px; }
.receipt dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.receipt dt { color: var(--muted); font-weight: 600; }
.receipt dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.receipt .tot { padding: 14px 20px 18px; display: grid; gap: 6px; background: var(--foam); }
.receipt .tot div { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.receipt .tot .big { font-weight: 800; font-size: 1.15rem; }
.alert { border-radius: var(--r); padding: 12px 16px; font-weight: 600; margin-top: 14px; }
.alert.bad { background: #FDECEA; color: #8A2318; border: 2px solid #F3B7AE; }
.alert.info { background: var(--foam); color: var(--teal-ink); border: 2px solid #A9E3E6; }
.done { text-align: center; padding-block: 30px; }
.done .big-tick { width: 84px; height: 84px; border-radius: 50%; background: var(--lagoon); margin: 0 auto 18px; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); display: grid; place-items: center; }
.done p { color: var(--muted); max-width: 46ch; margin: 10px auto; }
.spin { display: inline-block; width: 18px; height: 18px; border: 3px solid rgba(0,0,0,.2); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-page { min-height: 60vh; display: grid; place-items: center; color: var(--muted); }
body.locked { overflow: hidden; }
.hero .ticket p.size-hint { color: var(--muted); font-size: .88rem; margin: 8px 0 14px; max-width: none; }
.hero .ticket p.fine { color: var(--muted); font-size: .82rem; margin: 10px 0 0; max-width: none; }

/* discount code */
.code-box { margin-top: 16px; background: var(--white); border: 2px dashed var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.code-box label { font-weight: 700; font-size: .92rem; flex: 1 1 100%; }
.code-row { display: flex; gap: 8px; flex: 1 1 100%; }
.code-row input { flex: 1; min-width: 0; min-height: 44px; border: 2px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; font-size: 16px; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.code-row input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(0,196,204,.35); }
.code-on { flex: 1; font-weight: 600; color: var(--good); }
.code-err { flex: 1 1 100%; margin: 0; color: var(--bad); font-size: .86rem; font-weight: 600; }
.receipt .tot .disc { color: var(--good); font-weight: 700; }
