:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --brand-ink: #161310;
  --brand-charcoal: #2f2921;
  --brand-gold: #d49a4c;
  --brand-amber: #b88a3e;
  --brand-cream: #f7f1e6;
  --brand-sand: #f0e6d6;
  --brand-soft: #6f5d47;
  --brand-red: #7a2e1f;
  --surface: #ffffff;
  --surface-alt: #fbf4ea;
  --border: rgba(119,82,30,0.14);
  --shadow: 0 24px 60px rgba(22,18,14,0.14);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--surface-alt) 0%, #f6efe4 42%, var(--surface) 100%);
  color: var(--brand-ink);
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
button,
input,
select,
textarea { font: inherit; }
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.nav-links a {
  color: var(--brand-charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--brand-gold);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--brand-charcoal);
}
.brand-logo,
.ticket-logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 20px 38px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.72);
}
.ticket-logo { margin: 0 auto 1.5rem; display: block; }
.hero {
  position: relative;
  overflow: hidden;
  min-height: 86vh;
  color: #fff;
  background: linear-gradient(180deg, rgba(15,12,9,0.8) 0%, rgba(19,14,10,0.92) 40%, rgba(21,15,11,0.96) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 450'%3E%3Crect x='48' y='154' width='804' height='132' rx='50' fill='%23ffffff' opacity='0.06'/%3E%3Crect x='108' y='190' width='484' height='78' rx='28' fill='%23ffffff' opacity='0.05'/%3E%3Crect x='206' y='230' width='232' height='34' rx='16' fill='%23ffffff' opacity='0.08'/%3E%3Ccircle cx='192' cy='330' r='34' fill='%23ffffff' opacity='0.1'/%3E%3Ccircle cx='704' cy='330' r='34' fill='%23ffffff' opacity='0.1'/%3E%3Cpath d='M110 280h230v24H110z' fill='%23ffffff' opacity='0.06'/%3E%3Cpath d='M602 234h150v94H602z' fill='%23ffffff' opacity='0.08'/%3E%3Crect x='108' y='190' width='484' height='8' fill='%23ffffff' opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 3rem center;
  background-size: 58% auto;
  opacity: 0.7;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,16,12,0.34), rgba(20,16,12,0.12) 52%, rgba(20,16,12,0.56));
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 2rem 5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  letter-spacing: -0.05em;
  line-height: 1.03;
  max-width: 12ch;
}
.hero-copy p {
  margin: 1.25rem 0 0;
  max-width: 46rem;
  color: rgba(255,255,255,0.92);
  font-size: 1.02rem;
  line-height: 1.85;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background: linear-gradient(135deg, #f9d38e, #d7a25b);
  color: var(--brand-ink);
  box-shadow: 0 20px 40px rgba(20,14,10,0.22);
}
.button.secondary {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
}
.hero-panel {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 28px;
  padding: 1.8rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.18);
}
.bus-card {
  background: rgba(255,255,255,0.16);
  border-radius: 22px;
  padding: 1.6rem;
  border: 1px solid rgba(255,255,255,0.18);
}
.bus-card-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.88);
}
.bus-route {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 700;
}
.hero-caption {
  margin-top: 1.4rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.76);
  letter-spacing: 0.04em;
}
.section-panel {
  margin: 2.5rem auto;
  padding: 2rem;
  background: var(--surface);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.section-intro {
  margin-bottom: 1.75rem;
}
.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(212,154,78,0.12);
  color: var(--brand-amber);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-intro h2 {
  margin: 0.75rem 0 0.75rem;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  color: var(--brand-ink);
}
.section-intro p {
  margin: 0;
  color: var(--brand-soft);
}
.quick-booking-panel {
  display: grid;
  gap: 1.5rem;
}
.quick-booking-form {
  display: grid;
  gap: 1rem;
}
.quick-booking-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--brand-charcoal);
}
.route-grid,
.schedule-grid,
.ticketing-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.route-card,
.schedule-card,
.ticketing-card {
  padding: 1.5rem;
  border-radius: 22px;
  background: var(--surface-alt);
  border: 1px solid rgba(119,82,30,0.12);
  box-shadow: 0 18px 30px rgba(17,15,13,0.06);
}
.route-card h3,
.schedule-card h3,
.ticketing-card h3 {
  margin-top: 0;
  color: var(--brand-ink);
  font-size: 1.15rem;
}
.route-card p,
.schedule-card p,
.ticketing-card p,
.feature-list li,
.contact-list li {
  color: var(--brand-soft);
  line-height: 1.8;
}
.route-meta,
.schedule-row {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}
.schedule-row span,
.route-meta span {
  color: var(--brand-soft);
}
.schedule-row strong {
  color: var(--brand-ink);
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.feature-list li {
  padding: 1.2rem 1.4rem;
  border-radius: 20px;
  background: var(--surface-alt);
  border: 1px solid rgba(119,82,30,0.12);
}
.feature-list strong {
  color: var(--brand-ink);
}
.ticketing-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.assistant-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}
.contact-list li strong {
  color: var(--brand-ink);
}
.quote {
  margin-top: 0.75rem;
}
main { padding: 3.5rem 1.5rem 4rem; }
.page,
.ticket { max-width: 1120px; margin: 0 auto; }
.page-shell,
.panel-shell,
.ticket-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.panel-header,
.page-shell .panel-header { margin-bottom: 1.5rem; }
.panel-header h1,
.page-shell h1,
.page h1,
.ticket-head h1 { margin-bottom: 0.5rem; color: var(--brand-ink); font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.05; }
.page-shell p,
.page p,
.ticket p,
.hero-copy p,
.page-shell li { color: var(--brand-soft); font-size: 1rem; }
.styled-form { display: grid; gap: 1rem; }
.styled-form label { display: grid; gap: 0.35rem; font-weight: 700; color: var(--brand-ink); }
input,
select,
button {
  width: 100%;
  padding: 1rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(119,82,30,0.18);
  background: #fff;
  color: var(--brand-ink);
}
input:focus,
select:focus,
button:focus-visible {
  outline: 3px solid rgba(198,149,64,0.18);
  outline-offset: 3px;
  border-color: var(--brand-gold);
}
button { background: linear-gradient(135deg, var(--brand-red), var(--brand-gold)); color: #fff; border: none; cursor: pointer; }
a { color: var(--brand-red); }
a:hover { color: var(--brand-gold); }
.info-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); padding: 0; margin-top: 2.5rem; }
article { background: var(--surface); padding: 1.5rem; border-radius: 22px; box-shadow: 0 18px 40px rgba(17,15,13,0.06); border-top: 4px solid var(--brand-gold); }
article h2 { margin-top: 0; font-size: 1.15rem; color: var(--brand-ink); }
article ul { margin: 1rem 0 0; padding-left: 1.3rem; color: var(--brand-soft); }
article ul li { margin: 0.75rem 0; line-height: 1.75; }
.quote,
.result,
.ticket-footer { background: var(--surface); border-radius: 22px; padding: 1.35rem 1.5rem; border: 1px solid rgba(119,82,30,0.12); box-shadow: 0 16px 32px rgba(17,15,13,0.06); color: var(--brand-soft); }
.detail-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1rem 1.2rem; background: rgba(247,241,230,0.9); border-radius: 18px; }
.detail-row span { color: var(--brand-soft); }
.detail-row strong { color: var(--brand-ink); font-weight: 700; }
.ticket-footer { border-top: 1px solid rgba(119,82,30,0.14); margin-top: 1.4rem; display: grid; gap: 0.65rem; font-size: 0.95rem; }
.page-header { background: linear-gradient(180deg, rgba(17,13,10,0.92), rgba(24,18,12,0.8)); }
.page-header nav { padding: 1rem 1.5rem; background: transparent; box-shadow: none; }
.page-header .brand { color: #fff; }
.page-header .nav-links a { color: rgba(255,255,255,0.92); }
.page-header .nav-links a:hover { color: var(--brand-gold); }
.page-shell ul { padding-left: 1.25rem; }
@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; padding: 3rem 1.5rem 4rem; }
  .hero-copy h1 { font-size: clamp(2.4rem, 7vw, 3.4rem); }
  nav { width: min(100%, calc(100% - 2rem)); }
}
@media (max-width: 760px) {
  nav { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero { min-height: auto; padding-bottom: 2rem; }
  .hero-content { padding: 2.5rem 1.25rem 3rem; }
  .hero-actions,
  .hero-badge { width: 100%; }
  .hero-actions { flex-direction: column; }
  .page,
  .ticket { padding: 0 1rem 2.5rem; }
  .panel-shell,
  .page-shell,
  .ticket-card { padding: 1.5rem; border-radius: 24px; }
  .detail-row { flex-direction: column; align-items: flex-start; }
}
