:root {
  --blue-950: #001D4D;
  --blue-900: #003B83;
  --blue-800: #004EB8;
  --blue-600: #006BFF;
  --blue-100: #E7F1FF;
  --red-600: #F0121B;
  --yellow-500: #FFDD00;
  --green-600: #00A651;
  --white: #FFFFFF;
  --ink: #0D1B2A;
  --muted: #5C6B7A;
  --soft: #F3F7FC;
  --line: rgba(13, 27, 42, .12);
  --shadow: 0 24px 70px rgba(0, 29, 77, .18);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--yellow-500);
  color: var(--blue-950);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 29, 77, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-header.compact {
  position: relative;
  background: var(--blue-950);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(196, 47, 47, 0.917);
  min-width: 190px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .22));
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.03em;
}

.brand small {
  display: block;
  font-size: 12px;
  color: var(--yellow-500);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  transition: .2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px;
  background: var(--white);
  border-radius: 999px;
}

.section {
  padding: 94px 0;
}

.section-blue {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at top left, rgba(255, 221, 0, .22), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(0, 166, 81, .20), transparent 34%),
    linear-gradient(135deg, var(--blue-950), var(--blue-900) 54%, var(--blue-800));
  color: var(--white);
}

.section-blue::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/brand-pattern.png");
  background-size: 620px;
  opacity: .65;
  z-index: -1;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 80px 0 72px;
}

.hero-grid,
.two-columns,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--blue-950);
  background: var(--yellow-500);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 20px 0 18px;
  font-size: clamp(44px, 8vw, 82px);
  line-height: .94;
  letter-spacing: -.07em;
}

h2 {
  margin: 16px 0 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.15;
}

.hero-copy p,
.section-copy p,
.section-heading p {
  font-size: 18px;
  color: rgba(255, 255, 255, .82);
  max-width: 670px;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
}

.hero-actions,
.driver-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: .22s ease;
  cursor: pointer;
}

.btn-primary {
  color: var(--blue-950);
  background: var(--yellow-500);
  box-shadow: 0 16px 34px rgba(255, 221, 0, .22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(255, 221, 0, .28);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .16);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--blue-900);
  background: var(--blue-100);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.trust-row div {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .12);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  color: var(--yellow-500);
  line-height: 1.2;
}

.trust-row span {
  font-size: 13px;
  color: rgba(255, 255, 255, .74);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}

.phone-card {
  width: min(380px, 92vw);
  padding: 14px;
  border-radius: 46px;
  background: linear-gradient(145deg, #081B41, #012C69);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 110px rgba(0, 0, 0, .38);
  transform: rotate(3deg);
}

.phone-top {
  width: 88px;
  height: 8px;
  margin: 8px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
}

.app-screen {
  min-height: 580px;
  padding: 22px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 0, rgba(255, 221, 0, .18), transparent 28%),
    linear-gradient(180deg, #FFFFFF, #EFF5FF);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.app-screen::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(0, 107, 255, .12);
}

.app-header,
.route-card,
.service-select,
.app-button {
  position: relative;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.app-header img {
  width: 54px;
  height: 54px;
}

.app-header strong,
.app-header span {
  display: block;
}

.app-header strong {
  font-size: 22px;
  color: var(--blue-900);
}

.app-header span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.route-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0;
  padding: 16px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(0, 29, 77, .08);
}

.pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.pin.start {
  background: var(--green-600);
}

.pin.end {
  background: var(--red-600);
}

.route-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.route-card strong {
  color: var(--blue-950);
}

.service-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.service {
  padding: 16px;
  border-radius: 22px;
  background: var(--white);
  border: 2px solid transparent;
  box-shadow: 0 14px 30px rgba(0, 29, 77, .08);
}

.service.active {
  border-color: var(--yellow-500);
  background: #FFFBE0;
}

.service span,
.service strong,
.service small {
  display: block;
}

.service span {
  font-size: 28px;
}

.service small {
  color: var(--muted);
}

.app-button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  color: var(--white);
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 18px 38px rgba(0, 59, 131, .28);
}

.floating-badge {
  position: absolute;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-900);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.badge-one {
  left: 4%;
  top: 15%;
}

.badge-two {
  right: 5%;
  top: 34%;
}

.badge-three {
  left: 10%;
  bottom: 18%;
}

.brand-strip {
  background: var(--yellow-500);
  color: var(--blue-950);
  font-weight: 900;
  overflow: hidden;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 18px 0;
  text-align: center;
}

.section-soft {
  background:
    linear-gradient(180deg, var(--soft), #fff);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.identity-card {
  padding: 26px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(255, 221, 0, .24), transparent 34%),
    linear-gradient(135deg, var(--blue-950), var(--blue-900));
  color: var(--white);
  box-shadow: var(--shadow);
}

.identity-card img {
  border-radius: 22px;
  margin-bottom: 18px;
}

.identity-list {
  display: grid;
  gap: 10px;
}

.identity-list p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .12);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.step,
.contact-card,
.city-card,
.safety-grid div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0, 29, 77, .08);
}

.feature-card {
  padding: 24px;
  transition: .22s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 29, 77, .13);
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--blue-100);
  font-size: 28px;
  margin-bottom: 18px;
}

.feature-card p,
.step p,
.city-card span,
.safety-grid span,
.contact-card p {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--blue-100);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--yellow-500);
  color: var(--blue-950);
  font-weight: 900;
  margin-bottom: 22px;
}

.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.safety-grid div {
  padding: 22px;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}

.safety-grid strong,
.safety-grid span {
  display: block;
}

.safety-grid strong {
  color: var(--yellow-500);
  margin-bottom: 4px;
}

.safety-grid span {
  color: rgba(255, 255, 255, .76);
}

.driver-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 221, 0, .16), transparent 28%),
    linear-gradient(180deg, #fff, var(--soft));
}

.driver-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cities-section {
  background: var(--white);
}

.city-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 16px;
}

.city-card {
  padding: 24px;
}

.city-card.main {
  grid-row: span 2;
  background:
    linear-gradient(135deg, rgba(0, 59, 131, .95), rgba(0, 107, 255, .88)),
    url("../img/brand-pattern.svg");
  color: var(--white);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.city-card strong,
.city-card span {
  display: block;
}

.city-card strong {
  font-size: 22px;
  line-height: 1.1;
}

.city-card.main span {
  color: rgba(255, 255, 255, .82);
}

.contact-section {
  background: var(--soft);
}

.contact-card {
  padding: 28px;
}

.contact-card a {
  color: var(--blue-900);
  font-weight: 900;
}

.site-footer {
  background: var(--blue-950);
  color: var(--white);
  padding: 54px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr;
  gap: 36px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer p {
  color: rgba(255, 255, 255, .70);
  max-width: 420px;
}

.site-footer strong {
  display: block;
  color: var(--yellow-500);
  margin-bottom: 10px;
}

.site-footer a:not(.brand) {
  display: block;
  color: rgba(255, 255, 255, .74);
  margin: 8px 0;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, .64);
  font-size: 14px;
}

.legal-page {
  background:
    radial-gradient(circle at top left, rgba(255, 221, 0, .16), transparent 32%),
    linear-gradient(180deg, var(--soft), #fff);
}

.legal-container {
  padding: 54px 0 90px;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  color: var(--blue-950);
  font-size: clamp(34px, 6vw, 62px);
  margin-bottom: 22px;
}

.legal-card h2 {
  font-size: 24px;
  margin-top: 34px;
  color: var(--blue-900);
}

.legal-card p {
  color: var(--muted);
}

.legal-card .btn {
  margin-top: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .two-columns,
  .contact-grid,
  .driver-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 560px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-grid {
    grid-template-columns: 1fr 1fr;
  }

  .city-card.main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .navbar {
    min-height: 74px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 74px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 22px;
    background: rgba(0, 29, 77, .96);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-copy p,
  .section-copy p,
  .section-heading p {
    font-size: 16px;
  }

  .trust-row,
  .cards-grid,
  .steps,
  .safety-grid,
  .city-grid,
  .service-select,
  .strip-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .phone-card {
    transform: none;
  }

  .floating-badge {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .driver-card,
  .legal-card {
    padding: 26px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .btn,
  .feature-card {
    transition: none;
  }
}
