:root {
  --black: #121317;
  --panel: #1C1E24;
  --line: #2A2D35;
  --white: #F1F2F4;
  --orange: #E8872A;
  --orange-light: #FFB25C;
  --orange-ink: #B45309;
  --chrome: #C2C7CE;
  --muted: #8A9099;
  --light-band: #F1F2F4;
}

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-800.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Archivo', sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  font-weight: 400;
}

h1, h2, h3, h4, .archivo-800 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1.5rem; text-transform: none; }

a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--orange);
  color: var(--black);
  padding: 8px;
  z-index: 1000;
  font-weight: 800;
}
.skip-link:focus {
  top: 0;
}

/* Ribbon */
.preview-ribbon {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--panel);
  color: var(--white);
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  z-index: 900;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--line);
}
.preview-ribbon.hidden {
  display: none !important;
}
.ribbon-chips {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.ribbon-chip {
  background: var(--orange);
  color: var(--black);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-weight: 800;
}
.ribbon-dismiss {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.25rem;
}

/* Mobile Call Bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--panel);
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  z-index: 800;
  align-items: center;
  justify-content: space-between;
}
.mobile-call-bar-info {
  display: flex;
  flex-direction: column;
}
.mobile-call-bar-title {
  font-weight: 800;
  font-size: 0.875rem;
}
.mobile-call-bar-sub {
  font-size: 0.75rem;
  color: var(--muted);
}
.mobile-call-chip {
  background-color: var(--orange);
  color: var(--black);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Layout */
.app-container {
  display: flex;
  min-height: 100vh;
}

.side-rail {
  width: 300px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  background-color: var(--panel);
  border-right: 1px solid var(--line);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}
.main-content {
  flex-grow: 1;
  margin-left: 300px;
}

/* Side Rail Content */
.rail-logo {
  max-width: 180px;
  margin-bottom: 3rem;
}
.rail-call-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.rail-phone-big {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: var(--orange);
  margin-bottom: 0.25rem;
  display: block;
}
.rail-toll-free {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.rail-phone-small {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  display: block;
}
.rail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--orange);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  margin-bottom: 2rem;
}
.rail-badge svg {
  color: var(--orange);
  width: 14px;
  height: 14px;
}
.rail-book-btn {
  background-color: var(--orange);
  color: var(--black);
  padding: 0.75rem 1rem;
  text-align: center;
  border-radius: 4px;
  font-weight: 800;
  margin-bottom: 3rem;
  display: block;
}
.rail-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rail-nav a {
  font-weight: 600;
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.rail-nav a:hover, .rail-nav a.active {
  opacity: 1;
  color: var(--orange);
}

/* Mobile Header */
.mobile-header {
  display: none;
  padding: 1rem;
  background-color: var(--panel);
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
}
.mobile-logo {
  max-width: 140px;
}
.mobile-menu-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile Nav Detail/Dialog */
.mobile-nav-dialog {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 1000;
  padding: 2rem;
  flex-direction: column;
}
.mobile-nav-dialog.open {
  display: flex;
}
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.mobile-nav-dialog .rail-nav {
  margin-top: 2rem;
  font-size: 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  padding: 4rem;
  background-color: var(--black);
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../img/curb-pickup.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(18,19,23,0.55) 0%, rgba(18,19,23,0.92) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-kicker {
  color: var(--orange-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.route-line-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
}
.route-icon {
  color: var(--orange);
  width: 24px; height: 24px;
  flex-shrink: 0;
}
.route-line {
  flex-grow: 1;
  height: 2px;
  background-color: var(--orange);
  position: relative;
  transform-origin: left;
  animation: drawLine 1.5s ease-out forwards;
}
.route-stops {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: -10px;
  width: 100%;
}
.route-stop-text {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--black);
  padding: 0 0.5rem;
}
@keyframes drawLine {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .route-line { animation: none; transform: scaleX(1); }
}
.hero-sub {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
  color: var(--chrome);
  max-width: 600px;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  background-color: var(--orange);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline {
  background-color: transparent;
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-weight: 800;
  border: 2px solid var(--white);
}

/* Vow Band */
.vow-band {
  background-color: var(--panel);
  padding: 6rem 4rem;
}
.vow-quote-mark {
  color: var(--orange);
  font-size: 4rem;
  line-height: 1;
  font-family: serif;
  margin-bottom: 1rem;
}
.vow-text {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 1rem;
  max-width: 900px;
}
.vow-attr {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Proof Strip */
.proof-strip {
  padding: 2rem 4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.proof-item svg {
  color: var(--orange);
  width: 20px;
  height: 20px;
}

/* Services */
.services-section {
  padding: 6rem 4rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}
.service-group {
  border-left: 1px solid var(--orange);
  padding-left: 1.5rem;
}
.service-group h3 {
  color: var(--orange-light);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.service-list {
  list-style: none;
}
.service-list li {
  margin-bottom: 1rem;
  color: var(--white);
}

/* Fleet Strip */
.fleet-strip {
  background-color: var(--light-band);
  color: var(--black);
  padding: 6rem 4rem;
}
.fleet-strip h2 {
  color: var(--black);
}
.fleet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.fleet-sub {
  color: #4a4d55;
  max-width: 600px;
}
.fleet-link {
  color: var(--orange-ink);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.fleet-gallery {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}
.fleet-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  min-width: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.fleet-card img {
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  width: 100%;
}
.fleet-card h3 {
  font-size: 1.125rem;
  margin-top: auto;
  color: var(--black);
}

/* Coverage Band */
.coverage-band {
  position: relative;
  padding: 6rem 4rem;
  text-align: center;
  background-color: var(--black);
}
.coverage-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../img/night-highway.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.coverage-content {
  position: relative;
  z-index: 2;
}
.coverage-stat {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}
.coverage-sampler {
  color: var(--chrome);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.125rem;
}

/* Booking Panel */
.booking-section {
  background-color: var(--panel);
  padding: 6rem 4rem;
  border-top: 1px solid var(--line);
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.booking-info h2 {
  margin-bottom: 1rem;
}
.booking-info-text {
  color: var(--chrome);
  margin-bottom: 2rem;
}
.booking-phone {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--orange);
  display: block;
  margin-bottom: 1rem;
}
.booking-rideshare {
  font-size: 0.75rem;
  color: var(--muted);
}
.booking-form-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  color: var(--black);
}
.booking-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--black);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #4a4d55;
}
.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: 'Archivo', sans-serif;
  font-size: 1rem;
}
.form-submit {
  width: 100%;
  background-color: var(--orange);
  color: var(--black);
  border: none;
  padding: 1rem;
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1rem;
}

/* Footer */
.footer {
  padding: 3rem 4rem;
  background-color: var(--black);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-right {
  display: flex;
  gap: 2rem;
}

/* Internal Pages */
.page-header {
  padding: 6rem 4rem 3rem;
  background-color: var(--black);
}
.page-header h1 {
  margin-bottom: 1rem;
}
.page-kicker {
  color: var(--chrome);
  font-size: 1.125rem;
  max-width: 700px;
}
.services-detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  list-style: none;
}
.services-detail-list li {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--white);
}

.occasions-section {
  padding: 6rem 4rem;
  background: var(--panel);
}
.occasions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.occasions-content p {
  margin-bottom: 1.5rem;
  color: var(--chrome);
}
.occasions-image {
  border-radius: 8px;
  overflow: hidden;
}

.about-block {
  padding: 6rem 4rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.about-block p {
  font-size: 1.25rem;
  color: var(--chrome);
  margin-bottom: 1.5rem;
}

/* Media Queries */
@media (max-width: 1023px) {
  .side-rail { display: none; }
  .main-content { margin-left: 0; }
  .mobile-header { display: flex; }
  .mobile-call-bar { display: flex; }
  
  .hero { padding: 4rem 2rem; }
  .vow-band { padding: 4rem 2rem; }
  .proof-strip { padding: 2rem; flex-direction: column; gap: 1rem; }
  .services-section { padding: 4rem 2rem; }
  .fleet-strip { padding: 4rem 2rem; }
  .coverage-band { padding: 4rem 2rem; }
  .booking-section { padding: 4rem 2rem; }
  .booking-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer { padding: 2rem; flex-direction: column; text-align: center; }
  .page-header { padding: 4rem 2rem 2rem; }
  .occasions-section { padding: 4rem 2rem; }
  .occasions-grid { grid-template-columns: 1fr; }
  .about-block { padding: 4rem 2rem; }
  .services-detail-list { grid-template-columns: 1fr; }
  
  /* Ribbon placement on mobile */
  .preview-ribbon {
    top: auto;
    bottom: calc(0px + 75px); /* approximate mobile call bar height */
    border-bottom: none;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 600px) {
  .fleet-gallery { flex-direction: column; overflow: visible; }
  .fleet-card { min-width: 100%; }
}

/* overflow fix: rail layout width lock */
@media (min-width: 1024px) {
  .main-content { margin-left: 300px; width: calc(100% - 300px); max-width: calc(100% - 300px); min-width: 0; flex: 0 0 auto; }
}
.main-content { min-width: 0; }
@media (min-width: 601px) {
  .fleet-gallery { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .fleet-card { min-width: 0; }
}
svg[viewBox="0 0 256 256"] { stroke-width: 14; }
.proof-item svg { stroke: #E8872A; }
.services-grid .service-group { border-left-color: #E8872A; }
