/* ==========================================================================
   Eliio V5 · components on top of /website/assets/site-pages.css
   Every colour comes from an --sp-* token, so the same markup takes the V00
   look (theme-v00.css) or the mix look (theme-mix.css). Mobile first.
   ========================================================================== */

/* ---------- Hero ---------- */
.v5-hero .sp-hero-title { max-width: 14ch; }
.v5-hero .sp-lead { max-width: 46ch; }
@media (min-width: 1024px) { .v5-hero .sp-hero-grid.has-media { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }

/* ---------- Three benefits: typography, not cards ---------- */
.v5-benefits { display: grid; gap: 36px; }
.v5-benefits > div { padding-top: 24px; border-top: 2px solid var(--sp-line); }
.v5-benefits > div:first-child { border-top-color: var(--sp-primary); }
.v5-benefits .sp-h3 { font-size: 24px; margin-top: 4px; }
.v5-benefits p { margin-top: 10px; max-width: 34ch; }
@media (min-width: 768px) { .v5-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
@media (min-width: 1024px) { .v5-benefits .sp-h3 { font-size: 28px; } }

/* ---------- Paragraph stacks ---------- */
.v5-text > * + * { margin-top: 14px; }
.v5-text .sp-lead + p, .v5-text p + p { margin-top: 12px; }
.v5-text .sp-actions { margin-top: 28px; }
.v5-split-rev > :first-child { order: 0; }
@media (min-width: 1024px) { .v5-split-rev > :first-child { order: 2; } }

/* ---------- Awaiting approval (claims registry) ---------- */
.v5-pending {
  position: relative; margin-top: 24px; padding: 18px 18px 16px; border-radius: 14px;
  border: 1.5px dashed var(--sp-accent-text); background: color-mix(in srgb, var(--sp-tint) 70%, transparent);
  color: var(--sp-text);
}
.is-band .v5-pending, .is-solid .v5-pending { color: inherit; border-color: currentColor; background: rgb(255 255 255 / 0.06); }
.v5-pending-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 3px 9px; border-radius: 999px;
  background: var(--sp-accent-text); color: var(--sp-bg); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.v5-pending-ids { display: block; margin-top: 4px; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; opacity: 0.85; }
.v5-pending .sp-ticks { margin-top: 8px; }
.v5-pending p { margin: 0; }
.v5-pending p + p { margin-top: 8px; }
.v5-pending small { display: block; margin-top: 10px; font-size: 12.5px; color: var(--sp-muted); }

/* ---------- Temporary media slot (no real asset yet) ---------- */
.v5-ph {
  display: grid; place-items: center; gap: 10px; min-height: 260px; padding: 28px; text-align: center;
  border-radius: var(--sp-r-media); border: 1.5px dashed var(--sp-line-strong);
  background: repeating-linear-gradient(135deg, var(--sp-bg-alt) 0 14px, transparent 14px 28px), var(--sp-bg-alt);
  color: var(--sp-muted); font-size: 14px;
}
.v5-ph .sp-ico { margin: 0 auto; }
.v5-ph b { display: block; color: var(--sp-text); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.v5-ph.is-tall { min-height: 380px; }

/* ---------- Example chip (one example reservation across stages) ---------- */
.v5-example {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: var(--sp-card); border: 1px solid var(--sp-line); box-shadow: var(--sp-shadow); color: var(--sp-text-2); font-size: 13.5px;
}
.v5-example .sp-ico { width: 30px; height: 30px; margin: 0; border-radius: 999px; }
.v5-example .sp-ico .icon { width: 16px; height: 16px; }
.v5-label { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--sp-tint); color: var(--sp-tint-ink); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- Stages on How it works ---------- */
.v5-stage-label { display: inline-block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--sp-accent-text); }
.v5-stage-media { position: relative; }
.v5-stage-media img { width: 100%; border-radius: var(--sp-r-media); }
.v5-stage-media .v5-example { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; }
@media (min-width: 768px) { .v5-stage-media .v5-example { left: -12px; right: auto; bottom: 24px; } }
.v5-stage-media.is-phone { max-width: 420px; margin-inline: auto; }

/* ---------- Day preview on the homepage ---------- */
.v5-day { position: relative; padding: 22px; border-radius: var(--sp-r-card); background: var(--sp-card); border: 1px solid var(--sp-line); box-shadow: var(--sp-shadow); }
.v5-day-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.v5-day-head strong { font-family: var(--sp-font-display); color: var(--sp-text); font-size: 17px; }
.v5-day ol { position: relative; display: grid; gap: 10px; }
.v5-day li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--sp-bg-alt); }
.v5-day li time { font-family: var(--sp-font-display); font-weight: 600; color: var(--sp-accent-text); }
.v5-day li b { display: block; color: var(--sp-text); }
.v5-day li span { font-size: 13px; color: var(--sp-muted); }
.v5-day-full { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--sp-accent-text); color: var(--sp-text); font-size: 14px; }
.v5-day-full .icon { color: var(--sp-accent-text); margin-top: 1px; }
@media (min-width: 1024px) { .v5-day { padding: 28px; } }

/* ---------- Operations: two real screens ---------- */
.v5-screens { position: relative; padding-bottom: 18%; }
.v5-screens img { border-radius: var(--sp-r-media); box-shadow: var(--sp-shadow); }
.v5-screens img:first-child { width: 82%; }
.v5-screens img + img { position: absolute; right: 0; bottom: 0; width: 52%; border: 1px solid var(--sp-line); }

/* ---------- Story photos ---------- */
.v5-photos { display: grid; gap: 16px; }
@media (min-width: 768px) { .v5-photos { grid-template-columns: 3fr 2fr; } }

/* ==========================================================================
   Booking demo
   ========================================================================== */
.bd { --bd-r: 16px; display: grid; gap: 20px; align-items: start; }
@media (min-width: 1024px) { .bd { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; } }
.bd-main { min-width: 0; padding: 20px; border-radius: var(--sp-r-card); background: var(--sp-card); border: 1px solid var(--sp-line); box-shadow: var(--sp-shadow); }
@media (min-width: 768px) { .bd-main { padding: 32px; } }
.bd-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.bd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--sp-tint); color: var(--sp-tint-ink); font-size: 12px; font-weight: 700; }
.bd-count { font-size: 13px; color: var(--sp-muted); }

.bd-progress { display: flex; gap: 6px; margin-bottom: 26px; }
.bd-progress li { flex: 1; }
.bd-progress button, .bd-progress span {
  display: block; width: 100%; height: 6px; padding: 0; border: 0; border-radius: 99px; background: var(--sp-line); cursor: default;
}
.bd-progress .is-done button { background: var(--sp-primary); opacity: 0.55; cursor: pointer; }
.bd-progress .is-done button:hover { opacity: 1; }
.bd-progress [aria-current="step"] span { background: var(--sp-primary); }
.bd-progress .bd-progress-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.bd-step h2 { font-family: var(--sp-font-display); font-weight: var(--sp-display-weight); color: var(--sp-text); font-size: 24px; line-height: 1.2; letter-spacing: var(--sp-track-h2); }
.bd-step h2:focus { outline: none; }
.bd-step > p.bd-lead { margin-top: 6px; color: var(--sp-text-2); }
.bd-label { display: block; margin: 22px 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sp-muted); }
@media (min-width: 768px) { .bd-step h2 { font-size: 28px; } }

/* Choice buttons: one look for activities, dates, times, toggles */
.bd-choice {
  position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--sp-line); background: var(--sp-card); color: var(--sp-text);
  font: inherit; transition: border-color 150ms, background-color 150ms;
}
.bd-choice:hover { border-color: var(--sp-line-strong); }
.bd-choice[aria-pressed="true"] { border-color: var(--sp-primary); background: var(--sp-tint); }
.bd-choice:focus-visible { outline: 3px solid var(--sp-focus); outline-offset: 2px; }
.bd-choice[disabled] { cursor: not-allowed; opacity: 0.5; }
.bd-choice b { display: block; font-weight: 600; }
.bd-choice small { display: block; margin-top: 2px; color: var(--sp-muted); font-size: 13px; }
.bd-choice .bd-price { position: absolute; right: 16px; top: 14px; font-weight: 600; color: var(--sp-text); font-size: 14px; }
.bd-choice[aria-pressed="true"]::after {
  content: ""; position: absolute; right: 14px; bottom: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sp-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.bd-cards { display: grid; gap: 10px; }
@media (min-width: 640px) { .bd-cards.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bd-cards.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bd-cards.is-3 .bd-choice { padding-bottom: 40px; min-height: 130px; }
.bd-cards.is-3 .bd-price { position: absolute; top: auto; bottom: 14px; left: 16px; right: auto; }

.bd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-chips .bd-choice { width: auto; min-width: 72px; padding: 10px 14px; text-align: center; }
.bd-chips .bd-choice[aria-pressed="true"]::after { display: none; }
.bd-chips .bd-choice.is-full { border-style: dashed; color: var(--sp-muted); }
.bd-chips .bd-choice.is-full small { color: var(--sp-accent-text); }

.bd-stepper { display: inline-flex; align-items: center; gap: 6px; padding: 4px; border-radius: 999px; border: 1.5px solid var(--sp-line); }
.bd-stepper button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sp-bg-alt); color: var(--sp-text); font-size: 20px; font-weight: 600; cursor: pointer; }
.bd-stepper button:focus-visible { outline: 3px solid var(--sp-focus); outline-offset: 2px; }
.bd-stepper output { min-width: 3ch; text-align: center; font-family: var(--sp-font-display); font-weight: 600; font-size: 20px; color: var(--sp-text); }

.bd-hint { margin-top: 14px; font-size: 14px; color: var(--sp-muted); }
.bd-status { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--sp-bg-alt); color: var(--sp-text); font-size: 15px; }
.bd-status.is-ok { display: flex; gap: 10px; align-items: center; }
.bd-status.is-ok .icon { color: var(--sp-tick); }
.bd-alt { margin-top: 18px; padding: 18px; border-radius: 14px; border: 1.5px dashed var(--sp-accent-text); background: color-mix(in srgb, var(--sp-tint) 60%, transparent); }
.bd-alt h3 { font-family: var(--sp-font-display); font-weight: 600; color: var(--sp-text); font-size: 18px; }
.bd-alt > p { margin-top: 4px; font-size: 15px; }
.bd-alt-group { margin-top: 14px; }
.bd-alt-group > span { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--sp-text-2); }
.bd-alt .bd-chips .bd-choice { background: var(--sp-card); }
.bd-link { margin-top: 14px; padding: 0; border: 0; background: none; color: var(--sp-link); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.bd-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--sp-line); }
.bd-nav .sp-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.bd-nav-right { display: flex; gap: 10px; margin-left: auto; }
.sp-btn--quiet { color: var(--sp-text-2); background: transparent; border-color: transparent; padding-inline: 10px; }
.sp-btn--quiet:hover { color: var(--sp-text); background: var(--sp-bg-alt); }

/* Timeline in the summary and on the last step */
.bd-day { display: grid; gap: 8px; }
.bd-day li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--sp-line); }
.bd-day li:last-child { border-bottom: 0; }
.bd-day time { font-family: var(--sp-font-display); font-weight: 600; color: var(--sp-accent-text); font-size: 14px; }
.bd-day b { color: var(--sp-text); font-weight: 600; }
.bd-day small { display: block; color: var(--sp-muted); font-size: 12.5px; }
.bd-day .bd-amt { font-size: 14px; color: var(--sp-text); white-space: nowrap; }
.bd-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--sp-text); font-family: var(--sp-font-display); font-weight: 700; color: var(--sp-text); font-size: 18px; }
.bd-note { margin-top: 10px; font-size: 12.5px; color: var(--sp-muted); }

.bd-aside { padding: 20px; border-radius: var(--sp-r-card); background: var(--sp-bg-alt); border: 1px solid var(--sp-line); }
.bd-aside h2 { font-family: var(--sp-font-display); font-weight: 600; color: var(--sp-text); font-size: 18px; }
.bd-aside .bd-people { margin-top: 2px; font-size: 13px; color: var(--sp-muted); }
.bd-aside .bd-empty { margin-top: 12px; color: var(--sp-muted); font-size: 14px; }
.bd-aside .bd-day { margin-top: 10px; }
.bd-aside-toggle { display: none; }
@media (min-width: 1024px) { .bd-aside { position: sticky; top: 100px; } }
/* Phones: the summary becomes a bar pinned to the bottom of the demo */
@media (max-width: 1023px) {
  .bd-aside { position: sticky; bottom: 10px; z-index: 3; padding: 0; overflow: hidden; background: var(--sp-card); box-shadow: 0 -8px 30px -12px rgb(10 10 12 / 0.3); }
  .bd-aside-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border: 0; background: none; color: var(--sp-text); font: inherit; font-weight: 600; cursor: pointer; }
  .bd-aside-toggle span:last-child { font-family: var(--sp-font-display); }
  .bd-aside-body { padding: 0 18px 16px; }
  .bd-aside:not(.is-open) .bd-aside-body { display: none; }
  .bd-aside h2 { display: none; }
}

.bd-done { text-align: center; padding: 12px 0 4px; }
.bd-done-check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--sp-tint); color: var(--sp-tint-ink); }
.bd-done-check .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.bd-done p { max-width: 44ch; margin: 10px auto 0; }
.bd-ref { display: inline-block; margin-top: 16px; padding: 6px 12px; border-radius: 8px; background: var(--sp-bg-alt); font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--sp-text); }
.bd-end { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--sp-line); }
.bd-end h3 { font-family: var(--sp-font-display); font-weight: var(--sp-display-weight); color: var(--sp-text); font-size: 24px; letter-spacing: var(--sp-track-h2); }
.bd-end .sp-actions { justify-content: center; }
@media (prefers-reduced-motion: no-preference) { .bd-step { animation: bd-in 260ms ease-out; } }
@keyframes bd-in { from { opacity: 0; transform: translateY(6px); } }

/* ==========================================================================
   Demo request form
   ========================================================================== */
.v5-form { display: grid; gap: 18px; }
.v5-field label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--sp-text); font-size: 15px; }
.v5-field label span { font-weight: 400; color: var(--sp-muted); }
.v5-field input, .v5-field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--sp-line-strong);
  background: var(--sp-card); color: var(--sp-text); font: inherit; font-size: 16px;
}
.v5-field textarea { min-height: 120px; resize: vertical; }
.v5-field input:focus, .v5-field textarea:focus { outline: 3px solid var(--sp-focus); outline-offset: 1px; border-color: var(--sp-primary); }
.v5-field .v5-hint { margin-top: 6px; font-size: 13px; color: var(--sp-muted); }
.v5-field .v5-err { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--sp-err); }
.v5-field [aria-invalid="true"] { border-color: var(--sp-err); }
.v5-form-summary { padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--sp-err); color: var(--sp-text); font-weight: 600; }
.v5-form-summary:focus { outline: 3px solid var(--sp-focus); outline-offset: 2px; }
.v5-privacy { font-size: 13.5px; color: var(--sp-muted); }
.v5-form .sp-btn { justify-self: start; }
.v5-form .sp-btn[aria-disabled="true"] { opacity: 0.6; }
.v5-success { padding: 28px; border-radius: var(--sp-r-card); background: var(--sp-tint); color: var(--sp-text); }
.v5-success h2 { font-family: var(--sp-font-display); font-weight: var(--sp-display-weight); font-size: 24px; }
.v5-success h2:focus { outline: none; }
.v5-success p { margin-top: 8px; }
.v5-dev { margin-top: 18px; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed var(--sp-line-strong); font-size: 13px; color: var(--sp-muted); }
.v5-aside { padding: 28px; border-radius: var(--sp-r-card); background: var(--sp-bg-alt); }
.v5-aside p + p { margin-top: 10px; }
.v5-aside .sp-h3 { margin-bottom: 8px; }

/* Error colour per theme (red with AA contrast on both grounds) */
.sp { --sp-err: #b42318; }
@media (prefers-color-scheme: dark) { :root:where(:not([data-theme="light"])):not([data-theme="light"]) .sp { --sp-err: #ff8a80; } }
 :root:where([data-theme="dark"]):not([data-theme="light"]) .sp { --sp-err: #ff8a80; } 
:root[data-theme="dark"] .sp { --sp-err: #ff8a80; }

/* Visually hidden */
.v5-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Language switch in the header nav */
.v5-lang a { font-weight: 600; letter-spacing: 0.04em; }

/* V00 header without the Log In button: the demo CTA takes over its push to the right */
@media (min-width: 1024px) { body[data-variant^="v5-"] .header-cta, body[data-variant^="v6-"] .header-cta { margin-left: auto; } }

/* Skip link (the mix pages have no V00 stylesheet to provide it) */
body[data-variant^="v5-"] > .skip-link, body[data-variant^="v6-"] > .skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10000; padding: 10px 16px; border-radius: 10px;
  background: #f37d30; color: #fff; font: 600 14px/1.2 Inter, system-ui, sans-serif; text-decoration: none;
}
body[data-variant^="v5-"] > .skip-link:focus, body[data-variant^="v6-"] > .skip-link:focus { top: 12px; }
