:root {
  --ink: #12212b;
  --ink-2: #26343d;
  --muted: #687782;
  --line: #dbe3e8;
  --paper: #ffffff;
  --wash: #f5f8f8;
  --yellow: #f7c72f;
  --yellow-dark: #c89309;
  --teal: #047c75;
  --red: #d84335;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(18, 33, 43, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 16px; z-index: 20; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip-link:focus { left: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 227, 232, .76);
}
.site-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: var(--ink); background: var(--yellow); box-shadow: inset 0 -3px 0 rgba(0,0,0,.1); }
.brand__text { font-size: 22px; }
.site-nav__list { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.site-nav__list a:hover { color: var(--teal); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.header-call { font-size: 13px; font-weight: 800; color: var(--teal); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 8px; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.btn--small { min-height: 40px; padding-inline: 14px; font-size: 14px; }
.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 22px rgba(247, 199, 47, .32); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.14); }
.btn--light { background: #fff; color: var(--ink); }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background: #101e27;
}
.hero__media { position: absolute; inset: 0; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,30,39,.95), rgba(16,30,39,.72) 45%, rgba(16,30,39,.14)); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, .98fr) minmax(390px, 460px); gap: clamp(28px, 5vw, 68px); align-items: center; min-height: 760px; padding: 72px 0 58px; }
.hero__copy h1 { margin: 10px 0 12px; font-size: clamp(56px, 9vw, 116px); line-height: .9; letter-spacing: 0; }
.hero__copy p { max-width: 620px; margin: 0; font-size: 20px; color: rgba(255,255,255,.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-city {
  display: grid;
  gap: 10px;
  max-width: 560px;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
}
.hero-city > span { color: var(--yellow); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.drivello-city-selector { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.drivello-city-selector .btn { min-height: 46px; white-space: nowrap; }
.eyebrow { display: inline-flex; color: var(--yellow); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.trust-strip span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 800; }

.booking-panel,
.driver-panel {
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.booking-panel { width: 100%; max-width: 460px; justify-self: end; }
.booking-panel__header { display: grid; gap: 3px; margin-bottom: 18px; }
.booking-panel__header span { color: var(--teal); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.booking-panel__header strong { font-size: 24px; line-height: 1.1; }

.section { padding: 88px 0; }
.section--compact { padding: 24px 0; border-bottom: 1px solid var(--line); background: var(--wash); }
.section--ink { background: var(--ink); color: #fff; }
.section--driver { background: #eef6f5; }
.section--taxonomy { background: #fbfaf3; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head h2,
.split h2 { margin: 8px 0 10px; font-size: clamp(34px, 5vw, 58px); line-height: 1; letter-spacing: 0; }
.section-head p,
.split p { margin: 0; color: var(--muted); font-size: 18px; }
.section--ink .split p { color: rgba(255,255,255,.74); }
.section-head--row { display: flex; justify-content: space-between; gap: 40px; max-width: none; align-items: end; }
.section-head--row p { max-width: 430px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats-row div { background: #fff; padding: 26px; }
.stats-row strong { display: block; font-size: 34px; line-height: 1; }
.stats-row span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; font-weight: 700; }
.page-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.page-link-grid a { display: grid; gap: 8px; padding: 24px; background: #fff; }
.page-link-grid strong { font-size: 18px; }
.page-link-grid span { color: var(--muted); font-size: 14px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,33,43,.09); }
.service-card span { display: inline-flex; color: var(--teal); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.service-card h3 { margin: 30px 0 10px; font-size: 25px; }
.service-card p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: center; }
.safety-list { display: grid; gap: 12px; }
.safety-list div { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.safety-list strong { color: var(--yellow); }
.safety-list span { color: rgba(255,255,255,.76); }

.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pill-cloud a { padding: 11px 14px; border-radius: 999px; background: var(--wash); border: 1px solid var(--line); font-weight: 800; font-size: 14px; }
.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.route-grid a { display: grid; gap: 12px; min-height: 120px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.route-grid strong { color: var(--teal); font-size: 14px; }

.drivello-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.drivello-category-grid article {
  min-height: 148px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.drivello-category-grid h3 { margin: 0 0 8px; font-size: 18px; }
.drivello-category-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.drivello-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.driver-panel h3 { margin: 0 0 18px; font-size: 24px; }
.page-hero { padding: 86px 0; color: #fff; background: linear-gradient(135deg, #101e27, #163d42); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: center; }
.page-hero h1 { margin: 8px 0 12px; font-size: clamp(42px, 6vw, 78px); line-height: .96; }
.page-hero p { max-width: 680px; color: rgba(255,255,255,.78); font-size: 19px; }
.site-footer { background: #101e27; color: #fff; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 44px; }
.footer-grid h2 { margin: 0 0 14px; font-size: 15px; color: var(--yellow); }
.footer-grid p { color: rgba(255,255,255,.7); }
.footer-grid a:not(.brand):not(.btn) { display: block; margin: 8px 0; color: rgba(255,255,255,.78); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.62); font-size: 13px; }

.drivello-form { display: grid; gap: 12px; }
.drivello-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drivello-trip-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.drivello-trip-tabs label { cursor: pointer; }
.drivello-trip-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.drivello-trip-tabs span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}
.drivello-trip-tabs input:checked + span { border-color: var(--yellow-dark); background: var(--yellow); color: var(--ink); }
.drivello-field { display: grid; gap: 6px; }
.drivello-field span { font-size: 12px; font-weight: 900; color: var(--ink-2); }
.drivello-field input,
.drivello-field select,
.drivello-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.drivello-field textarea { min-height: 96px; resize: vertical; }
.drivello-form .btn { width: 100%; }
.drivello-form__note { margin: 0; color: var(--muted); font-size: 12px; }

.prose { max-width: 840px; }
.prose h1 { font-size: clamp(38px, 5vw, 62px); }

@media (max-width: 1120px) {
  .site-nav { position: absolute; left: 20px; right: 20px; top: 76px; display: none; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav__list { display: grid; gap: 14px; }
  .menu-toggle { display: inline-block; }
  .header-call { display: inline-flex; }
}

@media (max-width: 1020px) {
  .hero__grid,
  .split { grid-template-columns: 1fr; }
  .hero__grid { gap: 34px; align-items: end; min-height: auto; }
  .hero__media::after { background: linear-gradient(90deg, rgba(16,30,39,.95), rgba(16,30,39,.76)); }
  .booking-panel { max-width: 620px; justify-self: start; }
  .service-grid,
  .drivello-category-grid,
  .route-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head--row { display: block; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .site-header__actions .btn { display: none; }
  .hero { min-height: auto; }
  .hero__grid { min-height: auto; padding: 54px 0 36px; }
  .hero__copy p { font-size: 17px; }
  .trust-strip span { font-size: 12px; }
  .section { padding: 62px 0; }
  .stats-row,
  .page-link-grid,
  .service-grid,
  .drivello-category-grid,
  .route-grid,
  .footer-grid,
  .drivello-form__row,
  .drivello-city-selector { grid-template-columns: 1fr; }
  .drivello-trip-tabs { grid-template-columns: repeat(2, 1fr); }
  .safety-list div { grid-template-columns: 1fr; gap: 6px; }
  .site-footer__bottom { display: grid; }
}
