:root { --teal:#0e8fad; --sky:#1cc0dc; --ink:#06303c; --sun:#ffc83d; --mist:#eaf7fa; }
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font:16px/1.6 Figtree, system-ui, sans-serif; color:var(--ink); background:#fff; }
h1,h2,h3 { font-family:Fredoka, system-ui, sans-serif; line-height:1.15; }
h1 { font-size:clamp(2.2rem,6vw,4rem); max-width:14ch; }
h2 { font-size:clamp(1.7rem,3.5vw,2.4rem); margin-bottom:8px; }
.wrap { width:min(1100px, 100% - 32px); margin-inline:auto; }
.section { padding-block:72px; scroll-margin-top:60px; }
a { color:inherit; }
:focus-visible { outline:3px solid var(--sun); outline-offset:2px; }

.nav { position:sticky; top:0; z-index:10; background:var(--teal); color:#fff; }
.nav-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-block:12px; }
.nav img { display:block; }
nav { display:flex; gap:24px; }
nav a { text-decoration:none; font-weight:500; }
nav a:hover { text-decoration:underline; }

.btn { display:inline-block; background:var(--sun); color:var(--ink); border:0; border-radius:99px; padding:11px 22px; font:700 1rem Figtree, sans-serif; text-decoration:none; cursor:pointer; }
.btn:hover { filter:brightness(1.07); }

.hero { background:linear-gradient(225deg,var(--sky),var(--teal) 60%); color:#fff; padding-top:64px; overflow:hidden; }
.lead { font-size:1.2rem; margin:16px 0 32px; max-width:46ch; }
.ticket { display:grid; grid-template-columns:1.3fr auto 1.3fr 1fr .7fr auto; gap:12px; align-items:end; background:#fff; color:var(--ink); padding:20px; border-radius:20px; box-shadow:0 18px 40px #06303c40; scroll-margin-top:80px; }
.ticket label { display:grid; gap:4px; font-size:.85rem; font-weight:700; min-width:0; }
.ticket select, .ticket input { width:100%; min-width:0; height:46px; border:1px solid #bfdde4; border-radius:10px; padding:0 10px; font:inherit; color:inherit; background:#fff; }
.swap { height:46px; width:46px; border-radius:50%; border:1px solid #bfdde4; background:var(--mist); cursor:pointer; font-size:1.2rem; }
#results:not(:empty) { margin-top:16px; background:#fff; color:var(--ink); border-radius:16px; padding:8px 20px; }
.trip { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:12px 0; }
.trip + .trip { border-top:1px dashed #bfdde4; }

.road { margin-top:56px; height:84px; background:var(--ink); position:relative; }
.road::after { content:""; position:absolute; left:0; right:0; top:62px; height:4px; background:repeating-linear-gradient(90deg,#fff 0 32px,transparent 32px 64px); }
.bus { position:absolute; width:190px; bottom:24px; left:62%; z-index:1; animation:arrive 1.6s ease-out both; }
@keyframes arrive { from { transform:translateX(-70vw); } }

.note { color:#4c6b73; margin-bottom:24px; }
.board { list-style:none; background:var(--ink); color:#fff; border-radius:20px; padding:8px 24px; }
.board li { display:grid; grid-template-columns:1fr 60px 130px auto; gap:16px; align-items:center; padding:18px 0; }
.board li + li { border-top:1px solid #ffffff22; }
.line { display:flex; align-items:center; gap:12px; }
.line i { flex:1; min-width:24px; border-top:3px dotted var(--sky); }
.board .price { color:var(--sun); font-weight:700; }
.board button { background:none; color:#fff; border:1px solid #ffffff66; border-radius:99px; padding:6px 18px; cursor:pointer; font:inherit; }
.board button:hover { background:#fff; color:var(--ink); }

.band { background:var(--mist); scroll-margin-top:60px; }
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:28px; }
.cards article { background:#fff; border-radius:20px; padding:28px; }
.cards .featured { background:var(--teal); color:#fff; }
.cards h3 { font-size:1.4rem; margin-bottom:8px; }
.cards ul { list-style:none; margin-top:20px; }
.cards li { padding:8px 0; border-top:1px solid #0e8fad33; }

.stops { display:grid; grid-template-columns:repeat(3,1fr); list-style:none; margin-top:36px; }
.stops li { border-top:5px solid var(--teal); padding:28px 24px 0 0; position:relative; }
.stops li::before { content:""; position:absolute; top:-14px; left:0; width:23px; height:23px; border-radius:50%; background:#fff; border:6px solid var(--teal); }

details { border-bottom:1px solid #bfdde4; padding:18px 0; }
summary { font-weight:700; cursor:pointer; }
details p { margin-top:8px; }

footer { background:var(--ink); color:#fff; padding-block:40px; }
.foot { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:20px; }

@media (max-width:900px) {
  nav { display:none; }
  .ticket { grid-template-columns:1fr 1fr; }
  .ticket .swap { display:none; }
  .ticket .btn { grid-column:1/-1; }
  .cards, .stops { grid-template-columns:1fr; }
  .stops li { padding-bottom:28px; }
  .board li { grid-template-columns:1fr auto; gap:8px; }
  .line { grid-column:1/-1; }
  .bus { left:35%; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .bus { animation:none; } }
