/* Luk 24: the booking steps (rezervare.html) and the thank-you page (rezervare-trimisa.html).
   Built on site.css. Three drawn objects only this firm has: the Buzău–Otopeni route as the place picker,
   the booking as a receipt (bon) with a torn edge, and the five steps drawn as a road with its markings. */
.bk-page { --side: 372px; }
.bk-page [hidden], .ty-page [hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph { background: #FFF4CC; color: #5C4300; border-bottom: 1.5px dashed var(--gold); padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* ---------- the dark band: header, the road of steps, the step title ---------- */
.bk-band { position: relative; margin: 16px 16px 0; color: #fff; background: var(--ink);
  border-radius: 36px 36px 50% 50% / 36px 36px 56px 56px; }
.bk-band-in { max-width: var(--wrap); margin: 0 auto; padding: 112px 24px 56px; }
.bk-count { margin: 30px 0 0; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.62); }
.bk-title { margin: 6px 0 0; font-weight: 700; font-size: clamp(30px, 4.8vw, 68px);
  line-height: 1.14; letter-spacing: -.025em; outline: none; padding-top: .06em; }
.bk-title:focus-visible { outline: 3px solid var(--y); outline-offset: 6px; }
.bk-sub { margin: 10px 0 0; max-width: 56ch; color: rgba(255,255,255,.74); font-size: 16px; line-height: 1.5; }

/* the road: dashes ahead, a solid yellow line behind you */
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.rail ol::before { content: ""; position: absolute; left: 11px; right: 11px; top: 10px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.34) 0 14px, transparent 14px 24px); }
.rail ol::after { content: ""; position: absolute; left: 11px; top: 9px; height: 4px; border-radius: 2px; background: var(--y);
  width: calc((100% - 22px) * var(--done, 0) / 4); transition: width .45s var(--ease); }
.rail li { position: relative; z-index: 1; }
.rail li:last-child { text-align: right; }
.rail li:nth-child(n+2):nth-child(-n+4) { text-align: center; }
.rail button { all: unset; box-sizing: border-box; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 9px; cursor: default; color: rgba(255,255,255,.55); font-size: 14px; font-weight: 700; border-radius: 10px; padding: 0 2px 4px; }
.rail li:nth-child(n+2):nth-child(-n+4) button { align-items: center; }
.rail li:last-child button { align-items: flex-end; }
.rail-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255,255,255,.4); display: grid; place-items: center; transition: background .2s, border-color .2s, transform .15s; }
.rail li.done button { color: rgba(255,255,255,.86); cursor: pointer; }
.rail li.done .rail-dot { background: var(--y); border-color: var(--y); }
.rail li.done .rail-dot::after { content: ""; width: 9px; height: 5px; border: solid var(--ink); border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.rail li.now button { color: #fff; }
.rail li.now .rail-dot { border-color: var(--y); box-shadow: 0 0 0 5px rgba(242,178,0,.22); }
.rail li.now .rail-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--y); }
.rail li.done button:hover { color: #fff; }
.rail li.done button:hover .rail-dot { transform: scale(1.12); }
.rail li.done button:active .rail-dot { transform: scale(.94); }
.rail button:focus-visible { outline: 3px solid var(--y); outline-offset: 4px; }

/* ---------- layout: the step on the left, the receipt on the right ---------- */
.bk-grid { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 44px 24px 0; display: grid; grid-template-columns: minmax(0, 1fr) var(--side); gap: 56px; align-items: start; }
.bk-main { min-width: 0; }
.step { animation: step-in .3s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } }
.h-sm { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.h-sm::before { content: none; }
.err-line { margin: 16px 0 0; color: #B3261E; font-weight: 700; font-size: 15px; display: flex; gap: 8px; align-items: flex-start; }
.err-line::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #B3261E; color: #fff; display: grid; place-items: center; font-size: 13px; margin-top: 1px; }
.link-btn { white-space: nowrap; border: 0; background: none; padding: 4px 2px; cursor: pointer; font-weight: 700; font-size: 15px; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; color: var(--ink); border-radius: 6px; }
.link-btn:hover { text-decoration-color: var(--y); text-decoration-thickness: 3px; }
.link-btn:active { color: var(--muted); }

/* ---------- step 1: the route is the place picker ---------- */
.route { border: 0; margin: 0; padding: 0 0 28px; border-bottom: 1px solid var(--line); min-width: 0; }
.route-head, .route-row { display: grid; grid-template-columns: 112px 1fr 1fr; gap: 0 16px; align-items: center; }
.route-head { grid-template-columns: 112px auto 1fr auto; padding-bottom: 18px; }
.route-head::before { content: ""; }
.route-end { display: flex; flex-direction: column; line-height: 1.25; }
.route-end b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.route-end span { font-size: 14px; color: var(--muted); }
.route-end-r { text-align: right; }
.route-line { position: relative; height: 40px; margin: 0 4px; }
.route-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; transform: translateY(-50%); border-radius: 2px;
  background: linear-gradient(90deg, var(--ink) 0 10px, transparent 10px) left center / 100% 100%,
              repeating-linear-gradient(90deg, var(--ink) 0 12px, transparent 12px 20px); }
.route-line::after { content: ""; position: absolute; inset: 50% -2px auto; height: 14px; transform: translateY(-50%);
  background: radial-gradient(circle at 7px 7px, var(--ink) 6px, transparent 6.5px) left / 14px 14px no-repeat,
              radial-gradient(circle at 7px 7px, var(--y) 5px, var(--ink) 5.5px 7px, transparent 7.5px) right / 14px 14px no-repeat; }
.route-km { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; padding: 2px 12px; font-size: 13.5px; font-weight: 700; white-space: nowrap; color: var(--ink); }
.route-row { padding: 6px 0; }
.route-k { font-weight: 700; font-size: 15px; color: var(--muted); }
.st { position: relative; display: block; cursor: pointer; }
.st input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.st-box { display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .12s; }
.st-dot { grid-row: 1 / 3; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #B9BCCB; display: grid; place-items: center; transition: border-color .2s; }
.st-t { font-weight: 800; font-size: 17px; line-height: 1.25; }
.st-p { font-size: 14px; color: var(--muted); line-height: 1.35; }
.st:hover .st-box { border-color: #B9BCCB; background: var(--band); }
.st:active .st-box { transform: scale(.985); }
.st input:checked + .st-box { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fff; }
.st input:checked + .st-box .st-dot { border-color: var(--ink); }
.st input:checked + .st-box .st-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.st input:focus-visible + .st-box { outline: 3px solid var(--y); outline-offset: 3px; }

/* ---------- step 1: the calendar ---------- */
.when { padding-top: 28px; }
.when-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.when-hint { margin: 0; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.when-hint::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 4px rgba(242,178,0,.22); }
.cal { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; position: relative; }
.cal-m { min-width: 0; }
.cal-mh { display: flex; align-items: center; justify-content: space-between; height: 40px; margin-bottom: 6px; }
.cal-mt { font-weight: 800; font-size: 17px; text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s, transform .12s; }
.cal-nav:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav:active:not(:disabled) { transform: scale(.94); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-nav.hide { visibility: hidden; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.cal-wd { font-size: 12.5px; font-weight: 700; color: var(--muted); text-align: center; padding: 4px 0 6px; }
.cal-d { position: relative; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink); z-index: 0; }
.cal-d span { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background .15s, color .15s, box-shadow .15s; }
.cal-d:hover:not(:disabled) span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal-d:active:not(:disabled) span { transform: scale(.92); }
.cal-d:focus-visible { outline: none; }
.cal-d:focus-visible span { outline: 3px solid var(--y); outline-offset: 1px; }
.cal-d:disabled { color: #BFC1CC; cursor: default; }
.cal-d.in::before, .cal-d.a::before, .cal-d.b::before { content: ""; position: absolute; inset: 2px 0; background: var(--band); z-index: 0; }
.cal-d.a::before { left: 50%; }
.cal-d.b::before { right: 50%; }
.cal-d.a.b::before { content: none; }
.cal-d.a span, .cal-d.b span { background: var(--ink); color: #fff; font-weight: 800; }
.cal-d.today span { box-shadow: inset 0 0 0 1.5px var(--line); }
.cal-d.busy span { background-image: repeating-linear-gradient(135deg, transparent 0 4px, rgba(21,22,28,.12) 4px 6px); color: var(--muted); }
.cal-d.short { cursor: not-allowed; }
.cal-d.short span { color: #BFC1CC; text-decoration: line-through; }
.cal-key { margin: 12px 0 0; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.k-busy { width: 22px; height: 14px; border-radius: 4px; background: repeating-linear-gradient(135deg, #EEF0F5 0 4px, rgba(21,22,28,.16) 4px 6px); }
.times { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.tm { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; padding: 12px 12px 12px 18px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .2s, background .2s; }
.tm:hover { border-color: #B9BCCB; background: var(--band); }
.tm:focus-within { border-color: var(--ink); background: #fff; }
.tm-k { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.tm-d { grid-row: 2; font-weight: 800; font-size: 16px; line-height: 1.3; }
.tm-sel { grid-row: 1 / 3; grid-column: 2; position: relative; }
.tm-sel::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.tm select { appearance: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 36px 10px 16px; font-weight: 800; font-size: 16px; cursor: pointer; font-variant-numeric: tabular-nums; }
.tm select:hover { border-color: var(--ink); }
.tm select:focus-visible { outline: 3px solid var(--y); outline-offset: 2px; border-color: var(--ink); }
.tm-days { grid-column: 1 / -1; margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.tm-days b { color: var(--ink); }
.flag { margin: 14px 0 0; padding: 12px 16px; border-left: 4px solid var(--y); background: #FFF8E0; border-radius: 0 12px 12px 0; font-size: 15px; }

/* ---------- step 2: the cars, as ruled rows ---------- */
.notice { margin: 0 0 26px; padding: 18px 20px; border: 1.5px solid var(--ink); border-radius: var(--r-md); display: grid; gap: 12px; }
.notice p { margin: 0; }
.notice .row-b { display: flex; gap: 10px; flex-wrap: wrap; }
.pick-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 4px solid var(--ink); }
.h-busy { margin-top: 40px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.rows { display: flex; flex-direction: column; }
.rows.cc-grid { display: grid; }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  transition: border-color .2s, background .2s, transform .12s; white-space: nowrap; }
.btn-line:hover { border-color: var(--ink); }
.btn-line:active { transform: scale(.97); background: var(--band); }
.btn-line.sm { font-size: 14px; padding: 8px 14px; }

/* ---------- step 3: extras ---------- */
.x-block { padding: 0 0 30px; }
.x-block + .x-block { padding-top: 30px; border-top: 1px solid var(--line); }
.x-block[hidden] + .x-block { padding-top: 0; border-top: 0; }
.notice-car { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.notice-car img { width: 120px; height: 72px; object-fit: contain; filter: grayscale(.6); }
.x-sub { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.x-lines { list-style: none; margin: 12px 0 0; padding: 0; }
.x-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.x-lines li:last-child { border-bottom: 0; }
.x-lines small { grid-column: 1; display: block; color: var(--muted); font-size: 14px; }
.x-lines .amt { grid-row: 1; grid-column: 2; font-weight: 800; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.x-lines .amt small { font-weight: 600; text-align: right; }
.x-tog { margin-top: 10px; }
.tg { display: grid; grid-template-columns: minmax(0, 1fr) auto 48px; gap: 4px 18px; align-items: center; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; transition: background .2s; }
.tg:last-child { border-bottom: 0; }
.tg:hover { background: linear-gradient(90deg, var(--band), transparent); }
.tg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tg-n { font-weight: 800; font-size: 17px; line-height: 1.3; }
.tg-d { grid-column: 1; display: block; color: var(--muted); font-size: 14.5px; line-height: 1.45; font-weight: 400; margin-top: 2px; }
.tg-p { grid-row: 1; grid-column: 2; text-align: right; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tg-p small { display: block; font-weight: 600; color: var(--muted); font-size: 13.5px; }
.tg-p.ask { font-weight: 700; font-size: 14px; color: var(--gold); max-width: 13ch; white-space: normal; line-height: 1.3; }
.tg-sw { grid-row: 1; grid-column: 3; width: 48px; height: 28px; border-radius: 999px; background: #D9DBE4; position: relative; transition: background .2s; }
.tg-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.tg:hover .tg-sw { background: #C9CBD6; }
.tg:active .tg-sw::after { width: 26px; }
.tg input:checked ~ .tg-sw { background: var(--ink); }
.tg input:checked ~ .tg-sw::after { transform: translateX(20px); background: var(--y); }
.tg:active input:checked ~ .tg-sw::after { transform: translateX(16px); }
.tg input:focus-visible ~ .tg-sw { outline: 3px solid var(--y); outline-offset: 3px; }
.tg.no { cursor: not-allowed; }
.tg.no:hover { background: none; }
.tg.no .tg-n, .tg.no .tg-p { color: #9A9DAD; }
.tg.no .tg-sw { background: #ECEDF2; }
.tg.no .tg-sw::after { box-shadow: none; background: #F7F7FA; }
.tg-why { grid-column: 1 / -1; margin-top: 6px; font-size: 14.5px; padding: 10px 14px; border-left: 4px solid var(--y); background: #FFF8E0; border-radius: 0 10px 10px 0; color: var(--ink); }
.x-inc { list-style: none; margin: 10px 0 0; padding: 0; }
.x-inc li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 10px 0; font-size: 15.5px; }
.x-inc .i { width: 22px; height: 22px; color: var(--ok); stroke-width: 2.4; margin-top: 1px; }
.dep { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; padding: 26px 0 0; border-top: 4px solid var(--ink); }
.dep-n { display: flex; flex-direction: column; align-items: flex-start; }
.dep-n b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.dep-n span { margin-top: 6px; font-size: 14px; color: var(--muted); }
.dep-t p { margin: 6px 0 0; color: #3D4050; max-width: 60ch; }

/* ---------- the receipt (bon): a sheet of paper with a torn bottom edge ---------- */
.paper { filter: drop-shadow(0 0 1px rgba(21,22,28,.22)) drop-shadow(0 14px 22px rgba(21,22,28,.08)); }
.rc { --zz: 9px; position: relative; background: #fff; padding: 0 22px calc(18px + var(--zz)); font-size: 15px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zz)) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zz)) 100%; }
.rc::before { content: ""; display: block; height: 8px; margin: 0 -22px 16px; background: var(--ink); }
.rc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; }
.rc-k { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.rc-st { white-space: nowrap; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.rc-car { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; margin-top: 12px; padding-bottom: 12px; border-bottom: 1.5px dashed #D3D5DF; }
.rc-car img { width: 96px; height: 58px; object-fit: contain; }
.rc-car b { display: block; font-weight: 800; font-size: 16px; line-height: 1.25; }
.rc-car span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.rc-nocar { margin: 12px 0 0; padding: 14px; border: 1.5px dashed #D3D5DF; border-radius: 12px; color: var(--muted); font-size: 14.5px; text-align: center; }
.rc-trip { margin: 0; padding: 12px 0; display: grid; gap: 10px; border-bottom: 1.5px dashed #D3D5DF; }
.rc-trip div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; }
.rc-trip dt { font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 1px; }
.rc-trip dd { margin: 0; font-weight: 600; line-height: 1.35; font-size: 14.5px; }
.rc-trip dd b { font-weight: 800; }
.rc-lines { list-style: none; margin: 0; padding: 12px 0 6px; display: grid; gap: 8px; }
.rc-lines li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 6px; font-size: 14.5px; line-height: 1.35; }
.rc-lines li > span:first-child { max-width: 22ch; }
.rc-lines i { border-bottom: 2px dotted #C9CBD6; transform: translateY(-4px); min-width: 12px; }
.rc-lines b { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.rc-lines b small { display: block; font-weight: 600; color: var(--muted); font-size: 12.5px; }
.rc-lines .ask b { font-weight: 700; color: var(--gold); font-size: 13.5px; }
.rc-lines.rm li { grid-template-columns: auto 1fr auto 28px; }
.rc-x, .rc-x-no { width: 28px; height: 28px; }
.rc-x { position: relative; padding: 0; border: 0; background: none; cursor: pointer; align-self: center; color: var(--ink); font: inherit; }
.rc-x::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 1.5px solid #B9BBC9; background: #fff; transition: background .15s, border-color .15s; }
.rc-x span { position: relative; display: block; font-size: 20px; font-weight: 700; line-height: 24px; }
.rc-x:hover::before { background: var(--band); border-color: var(--ink); }
.rc-x:active::before { background: var(--ink); }
.rc-x:active { color: #fff; }
.rc-x:focus-visible { outline: 3px solid var(--y); outline-offset: 2px; border-radius: 50%; }
@media (pointer: coarse), (max-width: 760px) {
  /* 44 px touch target; the row keeps its height through negative margins */
  .rc-lines.rm li { grid-template-columns: auto 1fr auto 44px; }
  .rc-x, .rc-x-no { width: 44px; height: 44px; margin: -8px 0; }
  .rc-x::before { inset: 10px; }
}
.rc-tot { margin-top: 6px; padding-top: 12px; border-top: 3px double var(--ink); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 10px; }
.rc-tot > span { font-weight: 800; font-size: 15px; }
.rc-tot > b { font-weight: 800; font-size: 34px; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.rc-tot small { grid-column: 1 / -1; text-align: right; font-size: 13.5px; color: var(--muted); }
.rc-tot small.rc-ask { color: var(--gold); font-weight: 700; }
.rc-tot.empty > b { font-size: 18px; color: var(--muted); letter-spacing: 0; }
.rc-dep { margin-top: 14px; padding: 12px 0 0; border-top: 1.5px dashed #D3D5DF; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 14px; }
.rc-dep b { font-weight: 800; font-size: 15px; }
.rc-dep small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; line-height: 1.4; }
.rc-now { margin: 14px -22px 0; padding: 10px 22px; background: var(--band); font-weight: 800; font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
.rc-now::before { content: "0 €"; font-size: 12px; background: var(--y); color: var(--ink); border-radius: 999px; padding: 2px 8px; }
.paper-lg { max-width: 660px; }
.paper-lg .rc { --zz: 11px; padding: 0 32px calc(26px + var(--zz)); font-size: 16px; }
.paper-lg .rc::before { margin: 0 -32px 22px; height: 10px; }
.paper-lg .rc-now { margin: 18px -32px 0; padding: 12px 32px; }
.paper-lg .rc-car { grid-template-columns: 180px 1fr; }
.paper-lg .rc-car img { width: 180px; height: 104px; }
.paper-lg .rc-car b { font-size: 20px; }
.paper-lg .rc-trip div { grid-template-columns: 96px 1fr; }
.paper-lg .rc-trip dd { font-size: 16px; }
.paper-lg .rc-lines li { font-size: 16px; }
.paper-lg .rc-lines li > span:first-child { max-width: 34ch; }
.paper-lg .rc-tot > b { font-size: 44px; }
.paper-lg .rc-k { font-size: 20px; }

/* ---------- step 4 and 5 ---------- */
.sum-wrap { display: grid; gap: 40px; }
.rules { border-top: 4px solid var(--ink); padding-top: 22px; }
.rules-l { list-style: none; margin: 10px 0 0; padding: 0; }
.rules-l li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: #3D4050; }
.rules-l b { color: var(--ink); }
.rules-a { display: inline-block; margin-top: 16px; font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.rules-a:hover { text-decoration-color: var(--y); text-decoration-thickness: 3px; }
.who { display: grid; gap: 22px; max-width: 620px; }
.fld { display: grid; gap: 7px; }
.fld > label { font-weight: 700; font-size: 15px; }
.opt { font-weight: 500; color: var(--muted); }
.fld input:not([type=checkbox]), .fld textarea, .ph-in select { width: 100%; border: 1.5px solid #D3D5DF; border-radius: 14px; padding: 13px 16px; font-size: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.fld input:hover, .fld textarea:hover, .ph-in select:hover { border-color: #9EA1B2; }
.fld input:focus, .fld textarea:focus, .ph-in select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(242,178,0,.35); }
.fld input::placeholder { color: #9A9DAD; }
.ph-in { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 8px; }
.ph-in select { appearance: none; font-weight: 700; cursor: pointer; padding-right: 32px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2315161C' stroke-width='2'/%3E%3C/svg%3E") right 14px center no-repeat; }
.fh { margin: 0; font-size: 14px; color: var(--muted); }
.fe { margin: 0; font-size: 14.5px; font-weight: 700; color: #B3261E; display: none; }
.fld.bad .fe { display: flex; gap: 8px; align-items: flex-start; }
.fld.bad .fe::before { content: "!"; flex: none; width: 19px; height: 19px; border-radius: 50%; background: #B3261E; color: #fff; display: grid; place-items: center; font-size: 12px; margin-top: 1px; }
.fld.bad input:not([type=checkbox]), .fld.bad textarea { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.ticks-f { border: 0; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; min-width: 0; }
.tk { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; cursor: pointer; padding: 10px 12px 10px 8px; border-radius: 14px; position: relative; font-size: 15.5px; transition: background .2s; }
.tk:hover { background: var(--band); }
.tk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tk-b { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #9EA1B2; background: #fff; display: grid; place-items: center; transition: background .15s, border-color .15s, transform .12s; }
.tk:active .tk-b { transform: scale(.9); }
.tk input:checked + .tk-b { background: var(--ink); border-color: var(--ink); }
.tk input:checked + .tk-b::after { content: ""; width: 11px; height: 6px; border: solid var(--y); border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.tk input:focus-visible + .tk-b { outline: 3px solid var(--y); outline-offset: 2px; }
.fld-t.bad .tk-b { border-color: #B3261E; }
.fld-t .fe { padding-left: 46px; }
.tk a { font-weight: 700; text-underline-offset: 3px; }
.who-note { margin: 0; font-weight: 700; }

/* call and WhatsApp, under every step */
.talk { margin-top: 44px; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; gap: 14px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.talk p { margin: 0; font-weight: 600; max-width: 52ch; }
.talk-b { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- the side panel (desktop) ---------- */
.bk-side { position: sticky; top: 20px; }
/* the card grows with its rows and is never clipped under the zigzag edge; when it is taller than the window it scrolls with the page instead of sticking (booking.js fitSide) */
.side-in { display: flex; flex-direction: column; gap: 14px; }
.bk-side.free { position: static; }
.side-act { flex: none; }
.side-act .btn-main { width: 100%; }
.side-call { flex: none; }
.btn-main { border: 0; cursor: pointer; background: var(--y); color: var(--ink); font-weight: 800; font-size: 17px; padding: 17px 24px; border-radius: 999px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); transition: background .2s, transform .12s, box-shadow .2s; line-height: 1.2; }
.btn-main:hover { background: #FFC21A; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 0 0 6px rgba(242,178,0,.22); }
.btn-main:active { transform: scale(.97); background: var(--y-deep); }
.btn-main:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 15px; padding: 12px 10px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.btn-back:hover { color: var(--ink); background: var(--band); }
.btn-back:active { transform: scale(.96); }
.btn-back[hidden] { display: none; }
.step-back { margin: -18px 0 18px -10px; }
.side-call { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side-call .btn-line { padding: 10px 12px; }

/* ---------- the bottom bar (phone) ---------- */
.bar { display: none; }

@media (max-width: 1080px) {
  .bk-grid { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .bk-side { display: none; }
  .bk-page { padding-bottom: 92px; }
  .bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; }
  .bar-in { display: flex; align-items: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(21,22,28,.08); }
  .bar-sum { all: unset; box-sizing: border-box; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; cursor: pointer; padding: 4px 8px; border-radius: 12px; }
  .bar-sum:focus-visible { outline: 3px solid var(--y); }
  .bar-sum:active { background: var(--band); }
  .bar-tot { font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
  .bar-tot::after { content: ""; width: 7px; height: 7px; border: solid var(--ink); border-width: 2px 0 0 2px; transform: translateY(2px) rotate(45deg); transition: transform .2s; }
  .bar-sum[aria-expanded="true"] .bar-tot::after { transform: translateY(-2px) rotate(225deg); }
  .bar-meta { font-size: 12.5px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bar-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: border-color .2s, transform .12s; }
  .bar-ic:hover { border-color: var(--ink); }
  .bar-ic:active { transform: scale(.93); background: var(--band); }
  .bar-ic .i { width: 20px; height: 20px; }
  .bar-go { flex: none; padding: 14px 20px; font-size: 16px; }
  .bar-sheet { max-height: 62vh; overflow: auto; padding: 18px 16px 14px; background: rgba(245,246,251,.97); border-top: 1px solid var(--line); }
  .bar-sheet .paper { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .bk-band { margin: 10px 10px 0; border-radius: 28px 28px 50% 50% / 28px 28px 30px 30px; }
  .bk-band-in { padding: 92px 18px 44px; }
  .rail ol::before, .rail ol::after { left: 11px; }
  .rail-l { display: none; }
  .rail button { padding-bottom: 0; }
  .bk-count { margin-top: 22px; font-size: 13.5px; }
  .bk-title { font-size: clamp(28px, 8.6vw, 40px); line-height: 1.16; }
  .bk-sub { font-size: 14px; }
  .bk-grid { padding: 26px 16px 0; gap: 0; }
  .route-head { grid-template-columns: auto 1fr auto; gap: 0 10px; }
  .route-head::before { content: none; }
  .route-end b { font-size: 18px; }
  .route-end span { font-size: 12.5px; max-width: 12ch; }
  .route-line { margin: 0; }
  .route-head { padding-bottom: 30px; }
  .route-km { top: auto; bottom: -22px; transform: translateX(-50%); font-size: 12.5px; padding: 0 4px; }
  .route-row { grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .route-k { grid-column: 1 / -1; font-size: 14px; padding-top: 8px; }
  .st-box { padding: 12px; column-gap: 10px; grid-template-columns: 20px 1fr; }
  .st-dot { width: 20px; height: 20px; }
  .st-t { font-size: 16px; }
  .st-p { font-size: 13px; }
  .cal { grid-template-columns: 1fr; }
  .cal-m + .cal-m { display: none; }
  .cal-d { height: 46px; }
  .times { grid-template-columns: 1fr; }
  .tg { grid-template-columns: minmax(0, 1fr) 48px; padding-right: 0; }
  .tg-p { grid-row: auto; grid-column: 1; text-align: left; }
  .tg-p small { display: inline; margin-left: 6px; }
  .tg-p.ask { max-width: none; }
  .tg-sw { grid-row: 1; grid-column: 2; }
  .dep { grid-template-columns: 1fr; gap: 10px; }
  .paper-lg .rc { --zz: 9px; padding: 0 18px calc(18px + var(--zz)); font-size: 15px; }
  .paper-lg .rc::before { margin: 0 -18px 16px; }
  .paper-lg .rc-now { margin: 14px -18px 0; padding: 10px 18px; }
  .paper-lg .rc-car { grid-template-columns: 112px 1fr; }
  .paper-lg .rc-car img { width: 112px; height: 66px; }
  .paper-lg .rc-car b { font-size: 17px; }
  .paper-lg .rc-trip div { grid-template-columns: 76px 1fr; }
  .paper-lg .rc-trip dd, .paper-lg .rc-lines li { font-size: 14.5px; }
  .paper-lg .rc-tot > b { font-size: 34px; }
  .ph-in { grid-template-columns: minmax(0, 132px) minmax(0, 1fr); }
  .talk { flex-direction: column; align-items: flex-start; }
  .bk-page .foot { margin-top: 56px; }
}
@media (max-width: 380px) {
  .bar-go { padding: 14px 16px; font-size: 15.5px; }
  .bar-ic { width: 42px; height: 42px; }
}
/* the bar never cuts its sum: the second text may wrap; phone and WhatsApp stay in the bar at every width */
@media (max-width: 400px) {
  .bar-meta { white-space: normal; overflow: visible; text-overflow: clip; text-wrap: balance; line-height: 1.25; }
}
@media (max-width: 370px) {
  .bar-in { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .bar-sum { padding: 4px 4px; }
  .bar-tot { font-size: 18px; gap: 4px; }
  .bar-ic { width: 36px; height: 36px; }
  .bar-ic .i { width: 17px; height: 17px; }
  .bar-go { padding: 12px 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .step { animation: none; }
}

/* ---------- the thank-you page ---------- */
.ty-grid { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 44px 24px 0; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: start; }
.ty-now { display: flex; align-items: center; gap: 18px; padding: 0 0 26px; border-bottom: 4px solid var(--ink); }
.ty-now b { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.ty-zero { flex: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--y); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.ty-steps { list-style: none; margin: 0; padding: 8px 0 0; position: relative; }
.ty-steps li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; }
.ty-steps li::before { content: ""; position: absolute; left: 25px; top: 66px; bottom: -22px; width: 2px; background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 14px); }
.ty-steps li:last-child::before { content: none; }
.ty-n { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 20px; background: #fff; position: relative; z-index: 1; }
.ty-steps li:first-child .ty-n { background: var(--ink); color: var(--y); }
.ty-steps h2 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; margin: 12px 0 0; }
.ty-steps h2::before { content: none; }
.ty-steps p { margin: 6px 0 0; color: #3D4050; max-width: 58ch; }
.ty-demo { margin-top: 30px; padding: 16px 18px; border: 1.5px dashed var(--gold); border-radius: var(--r-md); background: #FFFBEE; font-size: 15px; }
.ty-demo b { display: block; margin-bottom: 2px; }
.ty-side { position: sticky; top: 20px; display: grid; gap: 16px; }
.ty-whobox { padding: 0 4px; }
.ty-whobox .rc-trip { border-bottom: 0; }
.ty-empty { padding: 24px; border: 1.5px dashed #D3D5DF; border-radius: var(--r-md); color: var(--muted); }
.ty-empty a { color: var(--ink); font-weight: 700; }
.ty-page .bar { display: none; }
@media (max-width: 1080px) {
  .ty-page { padding-bottom: 0; }
  .ty-grid { grid-template-columns: minmax(0, 1fr); }
  .ty-side { position: static; max-width: 480px; }
}
@media (max-width: 720px) {
  .ty-grid { padding: 26px 16px 0; gap: 36px; }
  .ty-now { gap: 14px; }
  .ty-zero { width: 60px; height: 60px; font-size: 18px; }
  .ty-steps li { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; }
  .ty-steps li::before { left: 21px; top: 58px; bottom: -18px; }
  .ty-n { width: 44px; height: 44px; font-size: 17px; }
  .ty-steps h2 { font-size: 18px; margin-top: 9px; }
}

/* ---------- full build (20 Nov): honeypot, the optional tick, send errors, 409 note, the booking number ---------- */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.fld-opt { margin-top: 6px; padding-top: 10px; border-top: 1px dashed #C9CBD6; }
.fld-opt .fh { margin: 2px 0 0 46px; }
.send-err { margin: 18px 0 0; padding: 14px 18px; border: 2px solid #B3261E; border-radius: var(--r-sm, 14px); color: #7A1710; background: #FFF1EF; font-size: 15.5px; font-weight: 600; }
.send-err[hidden], .taken[hidden] { display: none; }
.notice.taken { border-color: #B3261E; background: #FFF1EF; color: #5A120D; font-weight: 600; }
.rows-none { margin: 10px 0 0; padding: 22px; border: 1.5px dashed #9EA1B2; border-radius: var(--r-md); }
.ty-ref { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: baseline; margin: 0 0 22px; padding: 18px 20px; border: 2px solid var(--ink); border-radius: var(--r-md); background: #FFF8E1; }
.ty-ref[hidden] { display: none; }
.ty-ref-k { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ty-ref b#ty-ref { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ty-ref-st { grid-column: 1 / -1; font-size: 15.5px; }
.ty-ref-st b { font-weight: 800; }
.fe.send-err:not([hidden]) { display: block; }
