:root {
  --yellow: #FFCB05;
  --yellow-deep: #F2B400;
  --ink: #14161F;
  --ink-soft: #2A2D3A;
  --paper: #FFFDF5;
  --card: #FFFFFF;
  --muted: #5E6272;
  --line: #E7E3D4;
  --green: #0B8A57;
  --green-bg: #E5F6EE;
  --red: #C0392B;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(20, 22, 31, .35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, h3, p { margin: 0; }
/* Footer sticks to the bottom on short pages. */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.top, .foot { width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
section { padding: 64px 0; }
h2 { font-size: clamp(28px, 4.5vw, 40px); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 12px; }
h3 { font-size: 19px; line-height: 1.25; }
.sub { color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

.preview-bar { margin: 0; padding: 8px 16px; background: var(--ink); color: #fff; font-size: 13px; text-align: center; position: relative; z-index: 3; }
.preview-bar a { color: var(--yellow); }

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1080px; margin: 0 auto; padding: 16px 20px;
  position: relative; z-index: 2;
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 24px; letter-spacing: -.03em; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-link { display: none; }
.lang { padding: 7px 14px; border: 2px solid var(--ink); border-radius: 999px; }
.lang:hover { background: var(--ink); color: var(--yellow); text-decoration: none !important; }

/* Hero */
/* Yellow band behind the header and the whole hero, whatever their height. */
.hero { padding: 20px 0 56px; position: relative; }
.hero::before { content: ""; position: absolute; inset: -90px 0 0; background: var(--yellow); z-index: -1; }
.hero-in { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: grid; gap: 28px; }
.badge {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--ink); color: var(--yellow); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
h1 { font-size: clamp(38px, 9vw, 68px); line-height: 1; letter-spacing: -.035em; font-weight: 850; }
h1 span { display: block; }
.lead { font-size: clamp(17px, 2.4vw, 21px); max-width: 34ch; margin-top: 18px; color: var(--ink-soft); }
.guarantee { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 800; font-size: 17px; }
.guarantee svg { width: 26px; height: 26px; flex: none; padding: 4px; border-radius: 50%; background: var(--ink); color: var(--yellow); }
.routes { display: none; width: 100%; max-width: 480px; margin-top: 30px; }
.route { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 1.6s ease-out .2s forwards; }
.route.r2 { animation-delay: .5s; }
.dot { fill: var(--ink); }
.plane circle { fill: var(--ink); }
.plane path { fill: var(--yellow); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .route { animation: none; stroke-dashoffset: 0; } html { scroll-behavior: auto; } }

/* Cards and forms */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.ride-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .seg-title { font-size: 14px; font-weight: 700; }
.field small { font-size: 13px; color: var(--muted); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=time], input[type=password], input[type=number], select, textarea {
  width: 100%; min-width: 0; font: inherit; color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px;
  -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314161F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 0; padding: 4px; margin: 0; background: #F3EFE0; border-radius: 14px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: 11px 8px; border-radius: 11px; font-weight: 700; font-size: 15px; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: var(--yellow); }
.seg input:focus-visible + span { outline: 3px solid var(--yellow-deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer;
  border: 0; border-radius: 14px; padding: 15px 22px; min-height: 54px;
  transition: transform .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--yellow); }
.btn-primary:hover { background: #000; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wide { display: flex; width: 100%; margin-top: 22px; }
.btn[disabled] { opacity: .55; cursor: default; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-weight: 700; font-size: 15px; min-height: 1.2em; }
.form-msg.ok { color: var(--green); }
.form-msg.err, .errors { color: var(--red); }
.errors { font-weight: 700; margin-bottom: 14px; padding-left: 18px; }

/* Result */
.result { padding-top: 40px; }
.result-route { color: var(--muted); font-weight: 600; margin-bottom: 20px; }
.offers { display: grid; gap: 14px; }
.offer { border-radius: var(--radius); padding: 22px; border: 2px solid var(--line); background: var(--card); }
.offer-shared { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow); }
.offer-name { font-weight: 800; font-size: 18px; }
.offer-name small { font-weight: 500; opacity: .7; font-size: 14px; margin-left: 4px; }
.offer-price { font-size: clamp(44px, 12vw, 64px); font-weight: 850; letter-spacing: -.04em; line-height: 1.05; margin-top: 6px; }
.offer-shared .offer-price { color: var(--yellow); }
.offer-solo .offer-price { color: var(--muted); }
.offer-save { display: inline-block; margin-top: 10px; background: var(--yellow); color: var(--ink); font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.offer-meta { margin-top: 10px; font-size: 15px; opacity: .75; }
.waiting { margin-top: 16px; background: var(--green-bg); color: var(--green); font-weight: 700; padding: 12px 16px; border-radius: 12px; }
.early { margin-top: 26px; display: grid; gap: 14px; border: 2px solid var(--ink); box-shadow: none; }
.early h3 { font-size: 22px; }

/* Photos */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius); background: #E9E4D2; }
.photo-wide { margin-top: 24px; aspect-ratio: 16 / 9; object-fit: cover; }
.split { display: grid; gap: 26px; align-items: center; margin-top: 26px; }
.split > .photo { aspect-ratio: 4 / 3; object-fit: cover; }

/* How */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.steps li { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--yellow); font-weight: 850; margin-bottom: 12px; }
.steps p, .why-item p { color: var(--muted); margin-top: 6px; font-size: 16px; }

/* Prices */
.prices { background: #fff; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: right; padding: 13px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child { text-align: left; }
thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
tbody th { font-weight: 700; }
tbody th a { text-decoration: none; }
tbody th a:hover { text-decoration: underline; text-underline-offset: 3px; }
td.solo { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
td.shared { font-weight: 850; font-size: 19px; }
td.save { color: var(--green); font-weight: 700; }

/* Why */
.grid { display: grid; gap: 22px; margin-top: 26px; }
.why-item { border-left: 5px solid var(--yellow); padding-left: 16px; }

/* FAQ */
details { border-bottom: 2px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: 18px 34px 18px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding: 0 0 18px; }

/* Footer */
.foot { background: var(--ink); color: #fff; padding: 44px 0 26px; margin-top: 20px; }
.foot-in { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: grid; gap: 26px; }
.foot .logo { color: var(--yellow); }
.foot h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--yellow); margin-bottom: 8px; }
.foot p { font-size: 15px; opacity: .85; }
.foot-made { max-width: 1080px; margin: 30px auto 0; padding: 18px 20px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.foot-made a { display: inline-block; line-height: 0; }
.foot-made img { display: block; width: 180px; height: auto; }

/* Inner pages (booking, ride, terms) */
body.inner { background: linear-gradient(var(--yellow) 0, var(--yellow) 150px, var(--paper) 150px) no-repeat var(--paper); }
.page { padding: 12px 0 64px; }
.page .wrap { max-width: 640px; }
.page h1 { font-size: clamp(32px, 7vw, 46px); margin-bottom: 34px; }
.page .card { display: grid; gap: 16px; }
.summary { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.summary .s-route { font-weight: 800; font-size: 20px; }
.summary .s-when { opacity: .8; margin-top: 2px; }
.summary .s-price { color: var(--yellow); font-size: 40px; font-weight: 850; letter-spacing: -.03em; margin-top: 8px; line-height: 1; }
.summary .s-price small { color: #fff; opacity: .65; font-size: 15px; font-weight: 500; letter-spacing: 0; margin-left: 8px; text-decoration: line-through; }
.summary a { color: var(--yellow); font-size: 14px; }
.radio-list { display: grid; gap: 8px; }
.radio-list label { display: flex; gap: 10px; align-items: center; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.radio-list input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex: none; }
.radio-list label:has(input:checked) { border-color: var(--ink); background: #FFF8D6; }
.status { border-radius: var(--radius); padding: 22px; margin-bottom: 18px; background: var(--yellow); }
.status h2 { font-size: 26px; margin-bottom: 4px; }
.status.matched, .status.done { background: var(--green-bg); color: #064B30; }
.status.cancelled { background: #F1EEE4; color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.kv dt { color: var(--muted); font-size: 15px; }
.kv dd { margin: 0; font-weight: 700; text-align: right; }
.actions { display: grid; gap: 10px; }
.link-btn { background: none; border: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 8px; }
.prose p { margin-bottom: 14px; color: var(--ink-soft); }
.prose h2 { font-size: 22px; margin-top: 30px; margin-bottom: 10px; }
.prose .note { margin: -18px 0 0; }
.prose ol { margin: 0 0 14px; padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 6px; }

@media (min-width: 720px) {
  .nav-link { display: inline; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .offers { grid-template-columns: 1.25fr 1fr; align-items: stretch; }
  .grid { grid-template-columns: 1fr 1fr; gap: 30px 44px; }
  .split:has(> .photo) { grid-template-columns: 1fr 1fr; gap: 44px; }
  .split:has(> .photo) .grid { grid-template-columns: 1fr; gap: 22px; margin-top: 0; }
  .foot-in { grid-template-columns: 1.2fr 1fr 1fr; }
  .card { padding: 28px; }
  section { padding: 84px 0; }
}
@media (min-width: 940px) {
  .hero { padding: 44px 0 84px; }
  .hero-in { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .routes { display: block; }
}
