:root {
  --yellow: #F5C400;
  --asphalt: #24272C;
  --line: #FAFAF6;
  --sign: #1C4F9C;
  --grey: #6A6E75;
  --wa: #11783A;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --wrap: min(68rem, 100% - 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding: 1rem 0 5.5rem; -webkit-tap-highlight-color: rgba(28, 79, 156, .2); }
body {
  margin: 0;
  background: var(--line);
  color: var(--asphalt);
  font: 400 1.0625rem/1.6 var(--body);
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); /* room for the mobile call bar */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sign); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; max-width: 62ch; }

/* header */
.top { background: var(--yellow); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; padding-block: .9rem .2rem; }
.brand { display: flex; align-items: center; gap: .6rem; font: 800 1.35rem/1 var(--display); text-decoration: none; }
.brand svg { width: 2.2rem; height: 2.2rem; }
/* mobile: one swipeable row under the brand */
.top nav { display: flex; gap: 1.25rem; font-weight: 600; width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { text-decoration: none; white-space: nowrap; display: flex; align-items: center; min-height: 2.75rem; }

/* hero */
.hero { background: var(--yellow); padding: 2.5rem 0 3rem; position: relative; }
.hero::after { /* checker band, the one taxi ornament on the page */
  content: ""; position: absolute; inset: auto 0 0; height: 14px;
  background: repeating-conic-gradient(var(--asphalt) 0 25%, var(--yellow) 0 50%) 0 0 / 14px 14px;
}
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; margin-bottom: .2em; }
.hero .number {
  display: block; width: fit-content;
  font: 800 clamp(3.4rem, 15vw, 9.5rem)/.9 var(--display);
  letter-spacing: -.02em; text-decoration: none; margin: .1em 0 .25em;
}
.hero .lead { font-size: 1.2rem; max-width: 46ch; }
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 600; }
.facts li::before { content: ""; display: inline-block; width: .55rem; height: .55rem; background: var(--asphalt); margin-right: .5rem; vertical-align: .1em; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .8rem 1.4rem; border-radius: 6px;
  font: 700 1.1rem/1 var(--body); text-decoration: none; border: 2px solid var(--asphalt);
}
.btn svg { width: 1.25rem; height: 1.25rem; flex: none; }
.btn-call { background: var(--asphalt); color: var(--line); }
.btn-wa { background: var(--line); color: var(--asphalt); }

/* sections */
section { padding: 4rem 0; }
.intro { font-size: 1.15rem; color: var(--grey); }

/* fare board: road direction signs */
.fares { background: var(--asphalt); color: var(--line); }
.fares .intro { color: #B9BDC3; }
.signs { list-style: none; padding: 0; margin: 2rem 0 1rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.sign {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .25rem 1rem;
  background: var(--sign); color: #fff; text-decoration: none;
  border: 3px solid #fff; box-shadow: 0 0 0 4px var(--sign); border-radius: 8px;
  padding: 1rem 1.1rem; margin: 4px;
}
.sign svg { width: 2rem; height: 2rem; grid-row: span 2; }
.sign .place { font: 800 1.65rem/1.1 var(--display); }
.sign .km { font: 700 1.65rem/1 var(--display); text-align: right; }
.sign .price { grid-column: 2 / 4; font-size: 1rem; display: flex; justify-content: space-between; gap: 1rem; color: #D7E3F7; }
.sign strong { white-space: nowrap; }
.note { font-size: .95rem; color: #B9BDC3; }

/* fare calculator: the readout borrows the taximeter's red digits */
.calc { max-width: 44rem; margin: 2rem 0 2.5rem; padding: 1.25rem; border: 2px solid #3A3E45; border-radius: 8px; background: #1B1D21; }
.calc h3 { margin-bottom: .75rem; }
.calc-fields { display: grid; gap: 1rem; }
.calc label { display: grid; gap: .35rem; font-weight: 600; color: #D9DCE0; }
.calc select, .calc input {
  width: 100%; min-height: 3rem; padding: .5rem .75rem; border: 2px solid transparent; border-radius: 6px;
  background: var(--line); color: var(--asphalt); font: 600 1.1rem/1.2 var(--body); /* ≥16px stops iOS zoom on focus */
}
.calc select:focus-visible, .calc input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.meter { margin: 1rem 0; padding: .9rem 1rem; background: #000; border-radius: 6px; }
.meter output { display: block; font: 700 clamp(2.6rem, 10vw, 3.6rem)/1 var(--display); color: #FF5A3C; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.meter span { display: block; margin-top: .35rem; color: #B9BDC3; font-size: .95rem; }
.calc .btn-wa { width: 100%; }
@media (min-width: 40rem) { .calc-fields { grid-template-columns: 3fr 2fr; } .calc .btn-wa { width: auto; } }

/* services & areas: plain lists, not cards */
.split { display: grid; gap: 2.5rem 4rem; }
.list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.list li { padding: 1.1rem 0; border-top: 2px solid var(--asphalt); }
.list li:last-child { border-bottom: 2px solid var(--asphalt); }
.list h3 { margin-bottom: .25em; }
.list p { margin: 0; color: #3E4248; }
.list a { font-weight: 700; }

.areas { columns: 2 12rem; column-gap: 2rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.areas li { break-inside: avoid; padding: .6rem 0; border-bottom: 1px solid #D9D9D2; display: flex; justify-content: space-between; gap: 1rem; }
.areas span { color: var(--grey); white-space: nowrap; }

/* faq */
.faq { background: #EFEEE6; }
details { border-top: 2px solid var(--asphalt); max-width: 50rem; }
details:last-of-type { border-bottom: 2px solid var(--asphalt); }
summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font: 700 1.35rem/1.25 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font-size: 1.8rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 1rem; }

/* contact */
.contact dl { display: grid; grid-template-columns: max-content 1fr; gap: .75rem 1.5rem; margin: 1.5rem 0; }
.contact dt { color: var(--grey); }
.contact dd { margin: 0; font-weight: 600; }
.contact dd a { text-decoration-thickness: 2px; text-underline-offset: 3px; }

footer { background: var(--asphalt); color: #B9BDC3; padding: 2.5rem 0; font-size: .95rem; }
footer a { color: var(--line); }
footer nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-bottom: 1rem; }
footer nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* breadcrumb on inner pages */
.crumbs { font-size: .95rem; margin-bottom: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; }

/* mobile call bar */
.callbar { position: fixed; inset: auto 0 0; z-index: 10; display: grid; grid-template-columns: 1fr 1fr; background: var(--asphalt); padding: .5rem; gap: .5rem; padding-bottom: max(.5rem, env(safe-area-inset-bottom)); }
.callbar .btn { min-height: 3rem; border-color: transparent; }
.callbar .btn-call { background: var(--yellow); color: var(--asphalt); }
.callbar .btn-wa { background: var(--wa); color: #fff; }

/* touch feedback; konum.js sets .locating while GPS resolves */
.btn, .sign { touch-action: manipulation; transition: transform .1s; }
.btn:active, .sign:active { transform: scale(.97); }
.locating { opacity: .6; cursor: progress; }

/* hover only where a pointer can hover, so taps don't leave sticky states */
@media (hover: hover) {
  .top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .hero .number:hover { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .08em; }
  .btn-call:hover { background: #000; }
  .btn-wa:hover { background: #fff; }
  .callbar .btn-wa:hover { background: var(--wa); }
  .callbar .btn-call:hover { background: var(--yellow); }
  .sign:hover { background: #2460B8; box-shadow: 0 0 0 4px #2460B8; }
}

@media (min-width: 48rem) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .top .wrap { flex-wrap: nowrap; padding-block: .9rem; }
  .top nav { width: auto; gap: 1.5rem; }
  .hero { padding: 4rem 0 5rem; }
  .split { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .sign { transition: none; }
  .btn:active, .sign:active { transform: none; }
}
