:root {
  --navy: #061a3a;
  --red: #d91e26;
  --ink: #172033;
  --muted: #667085;
  --line: #e8eaf0;
  --cream: #faf8f5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Barlow, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.header {
  height: 76px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  position: relative;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { color: var(--red); font-family: Archivo, sans-serif; font-size: 21px; }
.brand-copy span { color: var(--navy); text-transform: uppercase; letter-spacing: 3px; font-size: 9px; margin-top: 7px; }
.menu-button { width: 44px; height: 44px; border: 1px solid #edf0f4; border-radius: 10px; background: #fff; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu-button span { display: block; width: 20px; height: 2px; background: #0d1b35; }
.nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: white; border-top: 1px solid var(--line); padding: 18px 22px; box-shadow: 0 12px 30px rgba(10,25,55,.12); }
.nav.open { display: grid; gap: 14px; }
.nav a { font-weight: 700; }

.hero {
  min-height: 520px;
  background: url("assets/hero-bus-GOpL8LVi.jpg") center 58% / cover no-repeat;
  position: relative;
  color: #fff;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,13,20,.76) 0%, rgba(8,13,20,.45) 58%, rgba(8,13,20,.12) 100%), linear-gradient(0deg, rgba(8,13,20,.25), transparent 60%); }
.hero-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 72px 22px 42px; }
.hero-copy { max-width: 690px; }
.hero-kicker { color: #ff7676; border: 1px solid rgba(255,255,255,.24); width: fit-content; max-width: 100%; border-radius: 999px; padding: 7px 10px; font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { margin: 0; font-family: Archivo, sans-serif; font-size: clamp(42px, 5vw, 67px); line-height: .99; letter-spacing: -3px; }
.hero-copy > p { max-width: 640px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.88); margin: 22px 0 26px; }
.hero-actions { display: flex; gap: 12px; }
.button { height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border-radius: 5px; padding: 0 24px; font-weight: 700; }
.button-primary { background: var(--red); min-width: 220px; }
.button-outline { border: 1px solid rgba(255,255,255,.58); min-width: 190px; backdrop-filter: blur(4px); }

.booking-card { background: #fff; color: var(--ink); border-radius: 17px; margin-top: 54px; padding: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.route-row { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: end; }
.field { display: flex; flex-direction: column; gap: 7px; color: #667085; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; }
.field select, .field input { width: 100%; height: 48px; border: 0; outline: 0; border-bottom: 1px solid var(--line); background: transparent; color: #172033; font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.swap-button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; margin: 0 auto 6px; color: #7a8190; cursor: pointer; }
.details-row { display: grid; grid-template-columns: 1fr 1fr 220px; gap: 12px; margin-top: 18px; align-items: end; }
.passengers-field { display: flex; flex-direction: column; gap: 7px; color: #667085; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; }
.counter { height: 48px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; text-align: center; }
.counter button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.counter button:disabled { opacity: .35; cursor: default; }
.counter div { color: var(--ink); font-size: 16px; text-transform: none; letter-spacing: 0; }
.counter small { color: #667085; margin-left: 3px; }
.search-button { height: 48px; border: 0; border-radius: 5px; background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; }
.fare-line { margin: 14px 0 10px; color: #667085; font-size: 13px; }
.fare-line b { color: var(--ink); }
.booking-button { width: 100%; height: 48px; border: 0; border-radius: 6px; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; }

.section { max-width: 1180px; margin: 0 auto; padding: 76px 22px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.eyebrow { color: var(--red); font-weight: 700; margin: 0 0 8px; }
.section h2, .why-us h2 { margin: 0; color: var(--navy); font-family: Archivo, sans-serif; font-size: 36px; letter-spacing: -1px; }
.section-subtitle { color: #667085; margin: 8px 0 0; }
.all-link { color: var(--red); font-weight: 700; margin-bottom: 5px; }
.all-link span { margin-left: 8px; }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.route-card { border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px 14px; transition: .2s ease; }
.route-card:hover { border-color: #f1c5c7; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(6,26,58,.07); }
.route-card-head { display: flex; align-items: center; justify-content: space-between; color: var(--navy); font-family: Archivo, sans-serif; font-weight: 700; }
.route-card p { color: #667085; margin: 8px 0 0; font-size: 13px; }
.route-card p:last-child { color: var(--red); font-size: 14px; }

.timetable-section { border-top: 1px solid #f1f2f5; padding-top: 70px; }
.timetable-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.trip-card { border: 1px solid var(--line); border-radius: 9px; padding: 14px 15px; }
.trip-head { display: flex; justify-content: space-between; color: var(--navy); font-family: Archivo, sans-serif; font-weight: 700; }
.trip-head strong { color: var(--red); }
.trip-card p { color: #667085; font-size: 12px; margin: 7px 0; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; }
.badges span { background: #f1f4f8; color: #536174; border-radius: 999px; padding: 5px 8px; font-size: 11px; }

.booking-steps { max-width: 1180px; margin: 0 auto; padding: 76px 22px; }
.booking-steps h2, .why-section h2, .testimonials h2 { color: var(--navy); font-family: Archivo, sans-serif; font-size: 36px; letter-spacing: -1px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.steps-grid article { border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.steps-grid span, .service-grid span, .why-grid span { color: var(--red); font-weight: 800; }
.steps-grid h3, .service-grid h3, .why-grid h3 { color: var(--navy); margin: 24px 0 8px; }
.steps-grid p, .service-grid p, .why-grid p { color: #667085; line-height: 1.55; margin: 0; }
.about-section { background: #f7f8fa; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 76px max(22px, calc((100% - 1136px)/2)); }
.about-copy h2 { max-width: 500px; color: var(--navy); font-family: Archivo, sans-serif; font-size: 38px; line-height: 1.1; }
.about-copy > p:not(.eyebrow) { color: #667085; line-height: 1.65; }
.about-actions { display: flex; gap: 24px; margin-top: 24px; }
.text-link { color: var(--red); font-weight: 700; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.service-grid article { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.why-section { max-width: 1180px; margin: 0 auto; padding: 76px 22px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.why-grid article { border-top: 3px solid var(--red); background: #f8f9fb; padding: 22px; }
.testimonials { background: var(--navy); padding: 76px max(22px, calc((100% - 1136px)/2)); }
.testimonials h2 { color: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.testimonial-grid figure { margin: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; padding: 24px; }
.testimonial-grid blockquote { margin: 0 0 26px; color: #fff; line-height: 1.7; }
.testimonial-grid figcaption { display: flex; flex-direction: column; color: #fff; }
.testimonial-grid figcaption span { color: #b7c1d2; margin-top: 5px; font-size: 13px; }
.travel-cta { background: var(--red); color: #fff; text-align: center; padding: 68px 22px; }
.travel-cta h2 { margin: 0; font-family: Archivo, sans-serif; font-size: 36px; }
.travel-cta p { margin: 12px 0 24px; color: rgba(255,255,255,.86); }
.travel-cta div { display: flex; justify-content: center; gap: 10px; }
.travel-cta a { border: 1px solid rgba(255,255,255,.65); border-radius: 5px; padding: 13px 18px; font-weight: 700; }
.travel-cta a:first-child { background: #fff; color: var(--navy); border-color: #fff; }

footer { max-width: none; margin: 0; padding: 58px max(22px, calc((100% - 1136px)/2)) 24px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr .7fr 1.2fr; gap: 34px; }
.footer-grid h3 { margin: 0 0 12px; color: var(--red); font-family: Archivo, sans-serif; }
.footer-grid h4 { margin: 0 0 14px; color: var(--navy); }
.footer-grid p { color: #667085; line-height: 1.6; }
.footer-grid a { display: block; color: #667085; margin: 8px 0; }
.copyright { border-top: 1px solid var(--line); margin: 38px 0 0; padding-top: 20px; text-align: center; color: #667085; font-size: 13px; }

@media (min-width: 960px) {
  .header { height: 86px; padding: 0 max(22px, calc((100% - 1136px)/2)); }
  .brand img { width: 64px; height: 64px; }
  .brand-copy strong { font-size: 24px; }
  .brand-copy span { font-size: 10px; }
  .menu-button { display: none; }
  .nav { display: flex; position: static; gap: 28px; border: 0; box-shadow: none; padding: 0; color: var(--navy); }
  .hero { min-height: 650px; }
  .hero-inner { padding-top: 98px; }
  .hero-copy { max-width: 760px; }
  .hero h1 { font-size: 58px; }
  .booking-card { max-width: 1120px; height: 280px; margin-top: 58px; padding: 24px; }
  .route-row { grid-template-columns: 1fr 50px 1fr; }
  .details-row { grid-template-columns: 1fr 1fr 220px; }
  .booking-button { height: 52px; }
}

@media (max-width: 959px) {
  .hero { min-height: 760px; }
  .hero-inner { padding-top: 40px; }
  .hero h1 { font-size: 44px; }
  .booking-card { margin-top: 44px; }
  .route-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { grid-template-columns: 1fr; }
  .steps-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header { height: 70px; padding: 0 14px; }
  .brand img { width: 52px; height: 52px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy span { letter-spacing: 2px; font-size: 7px; }
  .nav { top: 70px; }
  .hero { min-height: 690px; background-position: 58% center; }
  .hero-inner { padding: 34px 20px 24px; }
  .hero-kicker { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; font-size: 9px; text-align: center; }
  .hero h1 { font-size: 39px; letter-spacing: -2px; }
  .hero-copy > p { font-size: 15px; line-height: 1.5; margin: 16px 0 20px; }
  .hero-actions { gap: 8px; }
  .button { flex: 1; height: 48px; padding: 0 10px; font-size: 13px; }
  .button-primary { min-width: 0; }
  .button-outline { min-width: 0; }
  .booking-card { margin-top: 34px; padding: 15px; border-radius: 18px; }
  .route-row { grid-template-columns: 1fr 42px 1fr; }
  .field select { font-size: 14px; }
  .swap-button { width: 34px; height: 34px; }
  .details-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .search-button { grid-column: 1 / -1; }
  .section { padding: 58px 20px; }
  .section-heading { align-items: start; }
  .section h2, .why-us h2 { font-size: 29px; }
  .section-subtitle { max-width: 260px; }
  .all-link { white-space: nowrap; font-size: 13px; }
  .route-grid { grid-template-columns: 1fr; }
  .timetable-grid { grid-template-columns: 1fr; }
  .booking-steps, .why-section { padding: 58px 20px; }
  .booking-steps h2, .why-section h2, .testimonials h2 { font-size: 29px; }
  .steps-grid, .why-grid, .testimonial-grid, .service-grid { grid-template-columns: 1fr; }
  .about-section { padding: 58px 20px; gap: 30px; }
  .about-copy h2 { font-size: 29px; }
  .testimonials { padding: 58px 20px; }
  .travel-cta h2 { font-size: 29px; }
  .travel-cta div { flex-direction: column; max-width: 260px; margin: 0 auto; }
  footer { padding: 48px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
