:root {
  --navy: #082b63;
  --navy2: #0a3977;
  --blue: #1268df;
  --yellow: #ffd500;
  --ink: #0b1730;
  --muted: #65738c;
  --line: #dbe3ef;
  --bg: #f5f8fc;
  --green: #0c9b58;
  --red: #dc3545;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--ink);
  background: #fff;
}
button,
input,
select {
  font: inherit;
}
.container {
  width: min(1260px, calc(100% - 40px));
  margin: auto;
}
.site-header {
  height: 76px;
  background: #fff;
  border-top: 2px solid #222;
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--yellow);
  color: var(--navy);
  font: 800 21px "Noto Sans Devanagari";
}
.brand strong {
  font: 800 20px "Noto Sans Devanagari";
  display: block;
}
.brand small {
  display: block;
  color: #6d7890;
  margin-top: 2px;
}
.nav-wrap nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
}
.nav-wrap nav a {
  text-decoration: none;
  color: #33415a;
  font-weight: 700;
}
.call-btn,
.primary {
  border: 0;
  background: var(--green);
  color: white;
  border-radius: 12px;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.success {
  border: 0;
  background: var(--navy);
  color: white;
  border-radius: 12px;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.hero {
  background: linear-gradient(120deg, #0a3977 0%, #082b63 55%, #0a315f 100%);
  padding: 56px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  align-items: start;
}
.hero-copy {
  color: white;
  padding-top: 38px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  color: #1268df;
}
.eyebrow.light {
  color: var(--yellow);
}
.hero-copy h1 {
  font-size: 64px;
  line-height: 1.04;
  margin: 18px 0 24px;
  letter-spacing: -2px;
}
.hero-copy > p {
  font-size: 18px;
  line-height: 1.7;
  color: #d8e6fb;
  max-width: 520px;
}
.offer {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}
.offer small {
  font-weight: 900;
  color: var(--yellow);
}
.offer del {
  color: #b8c9e5;
}
.offer strong {
  font-size: 18px;
}
.hero-points {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
}
.booking-shell {
  background: white;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}
.booking-top,
.section-title,
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.booking-top h2,
.section-title h3 {
  margin: 6px 0 0;
  font-size: 26px;
}
.step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eef5ff;
  border: 1px solid #d4e4fb;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.step-pill b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}
.step {
  display: none;
  margin-top: 24px;
}
.step.active {
  display: block;
}
.route-row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 10px;
  align-items: end;
}
.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}
label span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 7px;
}
input,
select {
  width: 100%;
  height: 50px;
  border: 1px solid #ccd6e5;
  border-radius: 12px;
  padding: 0 14px;
  background: white;
  color: var(--ink);
  outline: none;
}
input:focus,
select:focus {
  border-color: #74a8ee;
  box-shadow: 0 0 0 3px #e8f1ff;
}
.swap {
  height: 50px;
  border: 1px solid #cdd9e8;
  background: #f7faff;
  border-radius: 12px;
  color: var(--blue);
  font-size: 21px;
  cursor: pointer;
}
.hint {
  color: #8390a8;
  font-size: 12px;
  margin: 9px 0 0;
}
.trip-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.trip-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}
.trip-card:hover {
  border-color: #94b9ec;
}
.trip-time strong {
  font-size: 21px;
}
.trip-time small,
.trip-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.trip-meta strong {
  font-size: 14px;
}
.trip-price {
  text-align: right;
}
.trip-price del {
  display: block;
  color: #9aa5b6;
  font-size: 12px;
}
.trip-price b {
  font-size: 20px;
  color: var(--navy);
}
.trip-card button {
  padding: 10px 16px;
}
.text-btn {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}
.selected-trip {
  padding: 13px 15px;
  border-radius: 13px;
  background: #f4f8fe;
  border: 1px solid #dce8f8;
  font-size: 13px;
  margin: 14px 0;
}
.passenger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.seat-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin: 22px 0 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.seat-head h4 {
  margin: 0 0 5px;
}
.seat-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.legend {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #66748a;
}
.legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 4px;
}
.l-av {
  background: #eef5ff;
  border: 1px solid #a9c8ef;
}
.l-sel {
  background: var(--yellow);
}
.l-occ {
  background: #d7dde7;
}
.seat-area {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 18px;
}
.bus {
  border: 2px solid #d2dceb;
  border-radius: 28px;
  padding: 12px;
  background: #fbfdff;
}
.bus-front,
.bus-rear {
  text-align: center;
  color: #98a3b5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 0 0 8px;
}
.bus-rear {
  margin: 8px 0 0;
}
.seat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 7px 0;
}
.seat-row.four {
  grid-template-columns: repeat(4, 1fr);
}
.seat,
.driver,
.gap {
  height: 42px;
  border-radius: 9px;
}
.seat {
  border: 1px solid #b7cdef;
  background: #edf5ff;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}
.seat small {
  display: block;
  font-size: 9px;
  color: var(--green);
}
.seat.selected {
  background: var(--yellow);
  border-color: #e0ba00;
}
.seat.occupied,
.seat:disabled {
  background: #e1e6ed;
  border-color: #d6dce5;
  color: #9ca6b5;
  cursor: not-allowed;
}
.deal-seat:not(.selected):not(.occupied) {
  background: #effbf4;
  border-color: #9eddbd;
}
.driver {
  display: grid;
  place-items: center;
  background: #dae8f3;
  color: #55718b;
  font-size: 10px;
  font-weight: 900;
}
.gap {
  background: transparent;
}
.summary {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
}
.summary > div,
.pay-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f5;
  font-size: 12px;
}
.summary span,
.pay-summary span {
  color: var(--muted);
}
.summary .total {
  border: 0;
  padding-top: 16px;
}
.summary .total strong {
  font-size: 23px;
  color: var(--navy);
}
.full {
  width: 100%;
  display: block;
  text-align: center;
  margin-top: 14px;
}
.error {
  color: var(--red);
  font-size: 12px;
  min-height: 16px;
}
.benefits {
  border-bottom: 1px solid #edf0f4;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.benefit-grid article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px;
  border-right: 1px solid #edf0f4;
}
.benefit-grid article:last-child {
  border: 0;
}
.benefit-grid b {
  font-size: 25px;
  color: var(--blue);
}
.benefit-grid strong,
.benefit-grid span {
  display: block;
}
.benefit-grid span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.content-section {
  padding: 72px 0;
}
.content-section.alt {
  background: var(--bg);
}
.promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.promo h2,
.section-head h2 {
  font-size: 38px;
  margin: 8px 0 16px;
}
.promo p,
.section-head p {
  color: var(--muted);
  line-height: 1.7;
}
.promo img {
  width: 100%;
  border-radius: 22px;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tags span {
  background: #eef5ff;
  color: #245690;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 700;
}
.section-head p {
  max-width: 500px;
}
.fare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.fare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
}
.fare-card span,
.fare-card del {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.fare-card b {
  font-size: 18px;
  color: var(--navy);
}
footer {
  background: #061e47;
  color: white;
  padding: 28px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.footer-grid span,
.footer-grid a {
  display: block;
  color: #c4d4ec;
  text-decoration: none;
  font-size: 13px;
  margin-top: 5px;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open {
  display: flex;
}
.backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 17, 40, 0.72);
  backdrop-filter: blur(3px);
}
.payment-card,
.status-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 24px;
  width: min(800px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}
.status-card {
  width: min(520px, 100%);
  text-align: center;
}
.modal-x {
  position: absolute;
  right: 18px;
  top: 15px;
  border: 0;
  background: transparent;
  font-size: 30px;
  color: #8390a3;
  cursor: pointer;
}
.payment-head h2,
.status-card h2 {
  margin: 5px 0 8px;
}
.payment-head p,
.status-card p {
  color: var(--muted);
}
.timer-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff8d8;
  border: 1px solid #f0db75;
  border-radius: 13px;
  padding: 12px 14px;
  margin: 18px 0;
}
.timer-box strong {
  font-size: 20px;
  color: #9d6900;
}
.payment-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}
.qr-panel {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.qr-panel img {
  width: min(260px, 100%);
  max-height: 300px;
  object-fit: contain;
}
.qr-placeholder {
  width: 230px;
  height: 230px;
  max-width: 100%;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border: 2px dashed #cbd7e6;
  border-radius: 18px;
  color: #8a96a9;
}
.qr-panel p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.pay-amount strong {
  font-size: 24px;
  color: var(--navy);
}
#proofForm {
  margin-top: 14px;
}
.status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: #e8faef;
  color: var(--green);
  font-size: 30px;
  font-weight: 900;
}
.status-message {
  padding: 15px;
  border-radius: 13px;
  background: #f5f8fc;
  color: #58677d;
  font-size: 13px;
  margin-bottom: 14px;
}
.disabled {
  pointer-events: none;
  opacity: 0.55;
}
.center {
  display: block;
  margin: 14px auto 0;
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-top: 0;
  }
  .hero-copy h1 {
    font-size: 48px;
  }
  .nav-wrap nav {
    display: none;
  }
  .booking-shell {
    padding: 20px;
  }
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .promo {
    grid-template-columns: 1fr;
  }
  .fare-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1260px);
  }
  .site-header {
    height: 68px;
  }
  .call-btn {
    padding: 11px 12px;
    font-size: 12px;
  }
  .hero {
    padding: 32px 0;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
  .route-row {
    grid-template-columns: 1fr 42px 1fr;
  }
  .search-row,
  .passenger-grid,
  .seat-area,
  .payment-grid {
    grid-template-columns: 1fr;
  }
  .trip-card {
    grid-template-columns: 1fr auto;
  }
  .trip-card .trip-price {
    grid-column: 1;
  }
  .fare-grid,
  .benefit-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .benefit-grid article {
    border-right: 0;
    border-bottom: 1px solid #edf0f4;
  }
  .booking-top {
    align-items: center;
  }
  .step-pill span {
    display: none;
  }
  .seat-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .legend {
    flex-wrap: wrap;
  }
  .content-section {
    padding: 48px 0;
  }
  .promo h2,
  .section-head h2 {
    font-size: 30px;
  }
}
