/* Cloud Spa Booking — blocks + booking dialog.
   Tokens and button fallbacks match the Cloud Spa theme so the plugin also works on its own. */
:root {
  /* shared tokens (theme defines the same values) */
  /* Brand palette */
  --sky: #DCEBFA;          /* signature tint */
  --sky-50: #F2F7FD;       /* lightest wash */
  --sky-200: #C4DCF6;
  --blue: #2F6FD0;         /* accents + CTAs — 4.88:1 on white (AA) */
  --blue-ink: #2560B8;     /* blue text on sky tint — 5.0:1 on #DCEBFA (AA) */
  --blue-hover: #255DB3;
  --navy: #14284F;         /* text + dark sections — 14.5:1 on white */
  --navy-900: #0C1A36;
  --ink-2: #4A5A78;        /* muted text — 6.9:1 on white, 5.7:1 on sky */
  --on-navy-accent: #9CC2F2; /* accent text on navy — 7.3:1 */
  --on-navy-muted: #C3D2E8;
  --line: #D9E5F2;
  --white: #FFFFFF;
  --success: #1E7A4E;
  --success-bg: #E5F4EC;
  --error: #B42318;        /* 6.5:1 on white */
  --error-bg: #FDECEA;
  --warn-bg: #FFF6E0;
  --warn-ink: #7A4B00;

  /* Gradient taken from the logo — use sparingly */
  --cloud-gradient: linear-gradient(180deg, #DCEBFA 0%, #EEF5FD 55%, #FFFFFF 100%);

  /* Type */
  --font-display: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --font-body: "Manrope", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tracking-wide: 0.32em;

  /* Space + shape */
  --gutter: 20px;
  --max: 1200px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 1px 2px rgba(20, 40, 79, .06), 0 10px 30px -12px rgba(20, 40, 79, .18);
  --shadow-lift: 0 2px 4px rgba(20, 40, 79, .06), 0 24px 48px -20px rgba(20, 40, 79, .30);
  --glow: 0 0 0 6px rgba(47, 111, 208, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --header-h: 68px;
  --mobile-bar-h: 72px;
}


/* ---------- Buttons ---------- */
:where(.btn) {
  --bg: var(--blue); --fg: #fff; --bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: .06em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease), color .2s;
}
:where(.btn:hover) { --bg: var(--blue-hover); --bd: var(--blue-hover); color: var(--fg); box-shadow: 0 10px 24px -10px rgba(47,111,208,.6); transform: translateY(-1px); }
:where(.btn:active) { transform: translateY(0); }
:where(.btn--ghost) { --bg: transparent; --fg: var(--navy); --bd: rgba(20,40,79,.22); }
:where(.btn--ghost:hover) { --bg: var(--white); --fg: var(--navy); --bd: var(--navy); box-shadow: none; }
:where(.btn--light) { --bg: #fff; --fg: var(--navy); --bd: #fff; }
:where(.btn--light:hover) { --bg: var(--sky); --bd: var(--sky); --fg: var(--navy); }
:where(.btn--outline-light) { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.45); }
:where(.btn--outline-light:hover) { --bg: rgba(255,255,255,.1); --bd: #fff; --fg: #fff; box-shadow: none; }
:where(.btn--whatsapp) { --bg: #fff; --fg: var(--navy); --bd: var(--line); }
:where(.btn--whatsapp:hover) { --bg: var(--sky-50); --bd: var(--navy); --fg: var(--navy); box-shadow: none; }
:where(.btn--sm) { min-height: 44px; padding: 0 20px; font-size: .92rem; }
:where(.btn--block) { width: 100%; }
:where(.btn[disabled], .btn[aria-disabled="true"]) { opacity: .5; pointer-events: none; }
:where(.btn .icon) { width: 18px; height: 18px; }
.text-link { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--navy); backdrop-filter: blur(6px);
}
.chip .icon { width: 18px; height: 18px; color: var(--blue); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--sky); color: var(--navy);
}
.badge.badge--save { background: var(--success-bg); color: var(--success); letter-spacing: .04em; text-transform: none; font-size: .78rem; }
.badge.badge--quote { background: var(--warn-bg); color: var(--warn-ink); letter-spacing: .04em; text-transform: none; font-size: .78rem; }


/* ---------- Service cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--sky-200); color: var(--navy); }
.service-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #fff, var(--sky) 70%); color: var(--blue); margin-bottom: 22px; box-shadow: inset 0 0 0 1px rgba(47,111,208,.12); }
.service-icon .icon { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.service-card .from { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--line); }
.from-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
.from-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.from-price small { font-size: .8rem; color: var(--ink-2); font-family: var(--font-body); font-weight: 600; }
.card-arrow { color: var(--blue); font-weight: 700; }


/* Before / after project */
.project { margin: 0; }
@media (min-width: 900px) {
  .project { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px; align-items: end; }
  .project .ba { grid-column: 1 / 9; }
  .project .project-caption { grid-column: 9 / 13; padding: 0 0 12px; }
  .project:nth-child(even) .ba { grid-column: 5 / 13; grid-row: 1; }
  .project:nth-child(even) .project-caption { grid-column: 1 / 5; grid-row: 1; text-align: right; }
  .project:nth-child(even) .project-caption .svc { justify-content: flex-end; }
  .project-caption h3 { font-size: 2.1rem; }
}
.project-caption .kicker { display: block; }
.project-caption .svc { display: flex; }
.cs-ba-empty { padding: 40px; border: 1.5px dashed var(--sky-200); border-radius: var(--radius); text-align: center; color: var(--ink-2); background: var(--sky-50); }
.project-caption { padding: 18px 4px 0; }
.project-caption .kicker { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--blue-ink); }
.project-caption h3 { font-size: 1.55rem; font-weight: 400; margin: 6px 0 6px; }
.project-caption p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.project-caption .svc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* Before / after slider */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--sky);
  aspect-ratio: var(--ratio, 16 / 10); box-shadow: var(--shadow-lift); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(20,40,79,.35); pointer-events: none; }
.ba-handle {
  position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: rgba(255,255,255,.92); box-shadow: 0 6px 18px rgba(20,40,79,.35), 0 0 0 6px rgba(255,255,255,.28); display: grid; place-items: center; color: var(--navy); pointer-events: none;
  transition: transform .2s var(--ease);
}
.ba.is-dragging .ba-handle { transform: scale(1.08); }
.ba-handle .icon { width: 24px; height: 24px; }
.ba-label { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: rgba(20,40,79,.72); color: #fff; pointer-events: none; backdrop-filter: blur(6px); }
.ba-label--before { left: 14px; }
.ba-label--after { right: 14px; background: rgba(255,255,255,.9); color: var(--navy); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; pointer-events: none; }
.ba:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 4px; }
.ba-hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-size: .75rem; font-weight: 600; color: #fff; background: rgba(20,40,79,.55); padding: 5px 12px; border-radius: 999px; pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.ba.was-used .ba-hint { opacity: 0; }


/* ---------- Segmented toggle ---------- */
.segmented { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segmented::-webkit-scrollbar { display: none; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--ink-2); white-space: nowrap; transition: background .25s var(--ease), color .25s; }
.segmented span svg { width: 30px; height: 16px; }
.segmented input:checked + span { background: var(--navy); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (max-width: 520px) { .segmented span svg { display: none; } .segmented span { padding: 0 13px; } }

/* ---------- Pricing ---------- */
.cs-pricing .toggle-row { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-bottom: 36px; }
.cs-pricing .toggle-row .small { color: var(--ink-2); }
.price-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; } }
.price-card { display: flex; flex-direction: column; padding: 30px 26px; }
.price-card h3 { font-size: 1.4rem; font-weight: 400; }
.price-card .tagline { color: var(--ink-2); font-size: .92rem; margin: 6px 0 18px; }
.price-amount { min-height: 76px; display: flex; flex-direction: column; justify-content: center; margin-bottom: 18px; }
.price-amount .amt { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 400; letter-spacing: -.01em; }
.price-amount .amt.is-quote { font-size: 1.7rem; }
.price-amount .sub { font-size: .85rem; color: var(--ink-2); margin-top: 8px; }
.price-amount .amt, .price-amount .sub { transition: opacity .25s; }
.price-amount.is-updating .amt { opacity: .2; }
.features { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.features li { display: flex; gap: 10px; font-size: .95rem; }
.features li .icon { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.price-card .btn { margin-top: auto; }
.card.price-card--featured { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 30px 60px -28px rgba(20,40,79,.65); }
.price-card--featured .tagline, .price-card--featured .price-amount .sub { color: var(--on-navy-muted); }
.price-card--featured .features li .icon { color: var(--on-navy-accent); }
.price-card--featured .badge { position: absolute; top: -13px; left: 26px; background: var(--sky); color: var(--navy); box-shadow: 0 6px 14px -6px rgba(20,40,79,.4); }
@media (min-width: 900px) { .price-card--featured { transform: translateY(-12px); } }
.price-card--featured .badge--quote { position: static; background: #FFE8B5; color: #5A3700; box-shadow: none; }

.price-wide { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 1000px) { .price-wide { grid-template-columns: 1fr 1fr; gap: 20px; } }
.tier-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.tier { text-align: center; padding: 16px 6px; border-radius: var(--radius-sm); background: var(--sky-50); border: 1px solid var(--line); }
.tier .t-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.tier .t-from { font-size: .72rem; color: var(--ink-2); margin-top: 8px; }
.tier .t-amt { font-family: var(--font-display); font-size: clamp(1.25rem, 4.4vw, 1.6rem); line-height: 1.1; }
.tier .t-sub { font-size: .76rem; color: var(--ink-2); margin-top: 4px; }
.tier .badge--save { margin-top: 8px; padding: 3px 8px; font-size: .72rem; }
.tier--best { background: #fff; border-color: var(--blue); box-shadow: var(--glow); }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--sky-50); color: var(--ink-2); font-size: .88rem; margin-bottom: 20px; }
.note .icon { width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }
.pricing-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 36px; color: var(--ink-2); font-size: .9rem; }
.pricing-trust span { display: inline-flex; align-items: center; gap: 8px; }
.pricing-trust .icon { color: var(--blue); width: 18px; height: 18px; }


/* =========================================================
   BOOKING FLOW
   ========================================================= */
.booking { position: fixed; inset: 0; z-index: 100; display: none; }
.booking.is-open { display: block; }
.booking-backdrop { position: absolute; inset: 0; background: rgba(12,26,54,.55); backdrop-filter: blur(4px); animation: fade .3s var(--ease); }
.booking-panel {
  position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column; overflow: hidden;
  animation: rise .35s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@media (min-width: 900px) {
  .booking-panel { inset: 32px; max-width: 1180px; margin: 0 auto; border-radius: var(--radius-lg); box-shadow: 0 40px 100px -30px rgba(0,0,0,.5); }
}
.booking-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
@media (min-width: 900px) { .booking-top { padding: 18px 32px; } }
.booking-top .brand-badge { width: 40px; height: 40px; }
.booking-title { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .06em; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.icon-btn:hover { border-color: var(--navy); }

.progress { flex: none; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); background: var(--sky-50); }
@media (min-width: 900px) { .progress { padding: 18px 32px; } }
.progress-meta { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.progress-meta b { color: var(--navy); }
.progress-bar { height: 4px; border-radius: 99px; background: var(--sky-200); overflow: hidden; }
.progress-bar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; transition: width .4s var(--ease); }
.progress-steps { display: none; list-style: none; padding: 0; margin: 14px 0 0; gap: 4px; }
.progress-steps li { flex: 1; font-size: .74rem; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.progress-steps li::before { content: attr(data-n); width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; border: 1px solid var(--sky-200); background: #fff; }
.progress-steps li.is-done { color: var(--navy); }
.progress-steps li.is-done::before { content: "✓"; background: var(--blue); border-color: var(--blue); color: #fff; }
.progress-steps li.is-current { color: var(--navy); }
.progress-steps li.is-current::before { background: var(--navy); border-color: var(--navy); color: #fff; }
.progress-steps button { all: unset; cursor: pointer; }
.progress-steps button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
@media (min-width: 900px) { .progress-steps { display: flex; } .progress-bar { display: none; } .progress-meta { display: none; } }

.booking-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .booking-body { grid-template-columns: 1fr 360px; } }
.booking-main { overflow-y: auto; padding: 24px 16px 170px; -webkit-overflow-scrolling: touch; }
@media (min-width: 900px) { .booking-main { padding: 36px 40px 120px; } }
.booking-step h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); margin-bottom: 8px; }
.booking-step > .muted { margin-bottom: 24px; }
.booking-step:focus { outline: none; }

.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.option-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .option-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option-body {
  height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.option:hover .option-body { border-color: var(--sky-200); background: var(--sky-50); }
.option input:checked + .option-body { border-color: var(--blue); background: #fff; box-shadow: var(--glow); }
.option input:focus-visible + .option-body { outline: 3px solid var(--blue); outline-offset: 2px; }
.option-body .check { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--sky-200); display: grid; place-items: center; background: #fff; transition: background .2s, border-color .2s; }
.option input:checked + .option-body .check { background: var(--blue); border-color: var(--blue); }
.option input:checked + .option-body .check::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.option input[type="checkbox"] + .option-body .check { border-radius: 7px; }
.vehicle-tile .option-body { align-items: center; text-align: center; padding: 22px 12px 18px; }
.vehicle-tile svg.veh { width: 100%; max-width: 120px; height: 56px; color: var(--navy); margin-bottom: 6px; }
.vehicle-tile input:checked + .option-body svg.veh { color: var(--blue); }
.vehicle-tile .o-title { font-weight: 700; }
.vehicle-tile .o-sub { font-size: .8rem; color: var(--ink-2); }
.service-option .option-body { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 14px; padding-right: 50px; }
.service-option .o-title { font-weight: 700; font-size: 1.04rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.service-option .o-desc { font-size: .88rem; color: var(--ink-2); margin-top: 4px; }
.service-option .o-price { text-align: right; flex: none; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; }
.service-option .o-price small { display: block; font-family: var(--font-body); font-size: .72rem; color: var(--ink-2); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.service-option .o-price.is-quote { font-size: .95rem; font-family: var(--font-body); font-weight: 700; color: var(--warn-ink); max-width: 7.5em; }
@media (max-width: 479px) {
  .service-option .option-body { flex-direction: column; gap: 10px; }
  .service-option .o-price { text-align: left; display: flex; align-items: baseline; gap: 8px; max-width: none !important; }
  .service-option .o-price small { display: inline; }
}
.freq-option .option-body, .tier-option .option-body { align-items: flex-start; padding-right: 44px; }
.freq-option .o-title, .tier-option .o-title { font-weight: 700; }
.freq-option .o-amt, .tier-option .o-amt { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; margin-top: 6px; }
.freq-option .o-sub, .tier-option .o-sub { font-size: .82rem; color: var(--ink-2); }
.addon-option .option-body { flex-direction: row; align-items: center; gap: 14px; padding-right: 50px; }
.addon-option .o-title { font-weight: 700; }
.addon-option .o-sub { font-size: .84rem; color: var(--ink-2); }

.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label, .field .label { font-weight: 700; font-size: .92rem; }
.field .hint { font-size: .84rem; color: var(--ink-2); }
.input, .textarea, .select {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #B9CBE0; background: #fff;
  font: inherit; color: var(--navy); transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 104px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #6F7E98; }
.input:hover, .textarea:hover { border-color: var(--ink-2); }
.input:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: var(--glow); }
.field.has-error .input, .field.has-error .textarea { border-color: var(--error); }
.field.has-error .input:focus { box-shadow: 0 0 0 6px rgba(180,35,24,.12); }
.field-error { display: none; align-items: center; gap: 6px; font-size: .86rem; color: var(--error); font-weight: 600; }
.field.has-error .field-error { display: flex; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-2); width: 20px; height: 20px; }
.input-icon .input { padding-left: 46px; }
.row-2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }

.switch-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); cursor: pointer; }
.switch-row input { position: absolute; opacity: 0; }
.switch { flex: none; position: relative; width: 48px; height: 28px; border-radius: 99px; background: #B9CBE0; transition: background .2s; margin-top: 2px; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.switch-row input:checked + .switch { background: var(--success); }
.switch-row input:checked + .switch::after { transform: translateX(20px); }
.switch-row input:focus-visible + .switch { outline: 3px solid var(--blue); outline-offset: 2px; }

.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 20px; }
.alert .icon { width: 20px; height: 20px; margin-top: 1px; }
.alert--info { background: var(--sky-50); color: var(--navy); border: 1px solid var(--line); }
.alert--info .icon { color: var(--blue); }
.alert--warn { background: var(--warn-bg); color: var(--warn-ink); }
.alert--error { background: var(--error-bg); color: var(--error); }
.alert--error ul { margin: 6px 0 0; padding-left: 18px; }
.alert--error a { color: var(--error); font-weight: 700; }
.alert strong { display: block; }

/* Date + time */
.date-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 -2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.date-chip { flex: none; scroll-snap-align: start; position: relative; }
.date-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.date-chip > span { display: flex; flex-direction: column; align-items: center; width: 66px; padding: 12px 0; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, background .2s, color .2s; }
.date-chip .dow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.date-chip .dom { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.date-chip .mon { font-size: .72rem; color: var(--ink-2); }
.date-chip.is-full > span { background: repeating-linear-gradient(-45deg, #fff, #fff 6px, var(--sky-50) 6px, var(--sky-50) 12px); }
.date-chip.is-full .dom { color: var(--ink-2); }
.date-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.date-chip input:checked + span .dow, .date-chip input:checked + span .mon { color: var(--on-navy-muted); }
.date-chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .slot-grid { grid-template-columns: repeat(3, 1fr); } }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 700; background: #fff; transition: border-color .2s, background .2s; }
.slot span small { font-weight: 600; font-size: .74rem; color: var(--ink-2); }
.slot input:checked + span { border-color: var(--blue); box-shadow: var(--glow); }
.slot input:disabled + span { color: #8A97AE; background: var(--sky-50); text-decoration: line-through; cursor: not-allowed; }
.slot input:disabled { cursor: not-allowed; }
.slot input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.empty-state { text-align: center; padding: 34px 20px; border-radius: var(--radius); border: 1.5px dashed var(--sky-200); background: var(--cloud-gradient); color: var(--ink-2); }
.empty-state .icon { width: 34px; height: 34px; color: var(--blue); margin: 0 auto 10px; display: block; }
.empty-state strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; margin-bottom: 4px; }

/* Review step */
.recap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.recap-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.recap-row:last-child { border-bottom: 0; }
.recap-row dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.recap-row dd { margin: 0; grid-column: 1; font-weight: 600; }
.recap-row dd .muted { font-weight: 500; font-size: .9rem; }
.recap-row .text-link { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .9rem; }
.recap-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px; background: var(--sky-50); }
.recap-total .amt { font-family: var(--font-display); font-size: 1.8rem; }
.terms-line { font-size: .84rem; color: var(--ink-2); }

/* Summary sidebar (desktop) */
.booking-summary { display: none; border-left: 1px solid var(--line); background: var(--cloud-gradient); overflow-y: auto; padding: 32px 28px; }
@media (min-width: 900px) { .booking-summary { display: flex; flex-direction: column; } }
.booking-summary h3 { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; color: var(--blue-ink); }
.sum-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.sum-list li { display: flex; justify-content: space-between; gap: 12px; font-size: .93rem; }
.sum-list li span:first-child { color: var(--ink-2); }
.sum-list li span:last-child { text-align: right; font-weight: 600; }
.sum-total { border-top: 1px solid var(--sky-200); padding-top: 18px; }
.sum-total .lbl { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.sum-total .amt { font-family: var(--font-display); font-size: 2.2rem; line-height: 1.1; margin: 4px 0; }
.sum-total .amt.is-quote { font-size: 1.5rem; }
.sum-total .sub { font-size: .86rem; color: var(--ink-2); }
.sum-flag { margin-top: 12px; }
.sum-empty { color: var(--ink-2); font-size: .93rem; }
.sum-trust { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; font-size: .86rem; color: var(--ink-2); }
.sum-trust span { display: flex; gap: 8px; align-items: center; }
.sum-trust .icon { width: 18px; height: 18px; color: var(--blue); }

/* Footer bar (sticky on mobile, inline on desktop) */
.booking-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -14px 30px -20px rgba(20,40,79,.45);
}
@media (min-width: 900px) { .booking-foot { right: 360px; padding: 16px 40px; box-shadow: none; } }
.foot-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
@media (min-width: 900px) { .foot-summary { display: none; } }
.foot-summary button { all: unset; cursor: pointer; display: flex; flex-direction: column; min-height: 44px; justify-content: center; }
.foot-summary button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.foot-summary .lbl { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.foot-summary .amt { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; }
.foot-summary .amt.is-quote { font-size: 1.05rem; color: var(--warn-ink); font-family: var(--font-body); font-weight: 700; }
.foot-summary .sub { font-size: .76rem; color: var(--ink-2); text-align: right; max-width: 12em; line-height: 1.3; }
.foot-actions { display: flex; gap: 10px; }
.foot-actions .btn { flex: 1; }
.foot-actions .btn--ghost { flex: 0 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .foot-actions { justify-content: space-between; } .foot-actions .btn { flex: 0 0 auto; min-width: 180px; } }

/* Mobile summary sheet */
.sheet { position: absolute; inset: 0; z-index: 5; display: none; }
.sheet.is-open { display: block; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(12,26,54,.4); }
.sheet-card { position: absolute; left: 0; right: 0; bottom: 0; max-height: 80%; overflow-y: auto; background: #fff; border-radius: 24px 24px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); animation: rise .3s var(--ease); }
.sheet-grip { width: 40px; height: 4px; border-radius: 99px; background: var(--sky-200); margin: 0 auto 16px; }

/* Success */
.success { text-align: center; max-width: 560px; margin: 0 auto; padding-top: 12px; }
.success-mark { width: 92px; height: 92px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff, var(--sky) 70%); box-shadow: 0 0 0 10px rgba(220,235,250,.5), 0 20px 40px -18px rgba(47,111,208,.6); color: var(--blue); }
.success-mark .icon { width: 42px; height: 42px; stroke-width: 2; }
.success .ref { display: inline-block; margin: 6px 0 22px; padding: 6px 14px; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--line); font-weight: 700; letter-spacing: .08em; font-size: .9rem; }
.success .recap { text-align: left; }
.success-actions { display: grid; gap: 10px; margin: 8px 0 18px; }
@media (min-width: 640px) { .success-actions { grid-template-columns: 1fr 1fr; } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.booking-brand { display: flex; align-items: center; gap: 10px; }
.booking-top .brand-badge { width: 40px; height: 40px; border-radius: 50%; }
.booking .muted { color: var(--ink-2); }
.booking .small { font-size: .875rem; }
.booking fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.booking h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0; }
.booking p { margin: 0 0 1em; }
.booking .alert p, .booking .alert div { margin: 0; }
.cs-pricing .small { color: var(--ink-2); font-size: .875rem; margin: 0; }
.date-chip.is-full input:checked + span .dom { color: #fff; }

/* Pricing: maintenance plans lead, valets + correction follow */
.price-lead { margin-bottom: 28px; background: linear-gradient(135deg, #fff 0%, var(--sky-50) 55%, var(--sky) 100%); border-color: var(--sky-200); }
.price-lead .badge.badge--save { margin-bottom: 14px; }
.price-lead h3 { font-size: clamp(1.6rem, 3.4vw, 2rem); }
.price-lead .features { margin-bottom: 22px; }
.price-lead .lead-copy .btn { align-self: flex-start; }
.price-lead .lead-copy { display: flex; flex-direction: column; }
.price-lead .lead-tiers-label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); margin: 0 0 10px; }
.price-lead .tiers { margin-bottom: 14px; }
.price-lead .tier { background: #fff; padding: 20px 8px; }
.price-lead .tier .t-amt { font-size: clamp(1.5rem, 5vw, 2.1rem); }
.price-lead .note { margin-bottom: 0; background: rgba(255,255,255,.7); }
@media (min-width: 900px) {
  .price-lead { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: 40px; }
}
@media (max-width: 899px) { .price-lead .lead-copy { margin-bottom: 22px; } .price-lead .lead-copy .btn { align-self: stretch; } }
@media (min-width: 900px) {
  .price-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .price-grid--1 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
.price-wide-single { margin-top: 20px; }
.price-lead .lead-copy .badge { align-self: flex-start; }
