:root {
  --bg: #f5f6f1;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --ink: #14211f;
  --muted: #58706d;
  --line: #d7dfdb;
  --primary: #0f766e;
  --primary-dark: #0b4d49;
  --accent: #d97d30;
  --success: #177245;
  --shadow: 0 32px 80px -42px rgba(20, 33, 31, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  backdrop-filter: blur(14px);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 1.4rem;
  background: rgba(255,255,255,0.75);
  box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 0.85rem; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand strong, .brand span { display: block; }
.brand span { color: var(--muted); font-size: 0.85rem; }

.desktop-nav, .header-actions, .hero-actions, .trust-row, .step-pills, .form-footer, .quote-top, .quote-grid, .fleet-grid, .service-grid, .contact-cards {
  display: flex;
}
.desktop-nav, .header-actions { align-items: center; gap: 0.75rem; }
.desktop-nav a { font-weight: 600; color: var(--muted); }
.header-actions { flex-wrap: wrap; justify-content: flex-end; }

.primary-button, .ghost-button, .hero-book-button, .step-pill {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}
.primary-button {
  background: linear-gradient(135deg, var(--primary) 0%, #14837a 100%);
  color: #fff;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
}
.ghost-button {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.85rem 1.25rem;
  font-weight: 700;
}
.hero-book-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  font-weight: 800;
  color: #14211f;
  background: linear-gradient(135deg, #f4b15d 0%, #ffd38d 100%);
  box-shadow: 0 18px 36px -20px rgba(244, 177, 93, 0.85);
}
.hero-book-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px -22px rgba(244, 177, 93, 0.95);
}

.hero-section {
  position: relative;
  padding: 2rem 0 4rem;
  min-height: 100vh;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15,118,110,0.78), rgba(20,33,31,0.78)),
    url("../assets/images/home-hero-paid-pc.webp") center/cover no-repeat;
}
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255,216,171,0.34), transparent 28%),
    radial-gradient(circle at bottom right, rgba(159,236,228,0.18), transparent 30%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
  padding-top: 4rem;
}
.hero-copy { color: #fff; }
.eyebrow, .mini-label {
  margin: 0 0 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.72rem;
}
.hero-copy h1, .section-heading h2, .contact-copy h2 {
  margin: 0;
  line-height: 1.05;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}
.hero-text {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  font-size: 1.12rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.86);
}
.trust-row { flex-wrap: wrap; gap: 0.7rem; margin: 2rem 0 0; }
.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}
.trust-row span, .status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
.trust-row span {
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}
.hero-note, .booking-shell, .quote-card, .fleet-card, .service-card, .contact-card, .map-card, .summary-card, .modal-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: var(--shadow);
}
.hero-note {
  max-width: 34rem;
  margin-top: 2rem;
  padding: 1.3rem 1.4rem;
  color: #14302c;
  border-radius: 1.6rem;
}
.hero-note p { margin: 0.45rem 0 0; color: #38514c; line-height: 1.65; }

.booking-shell {
  border-radius: 1.9rem;
  padding: 1.1rem;
  backdrop-filter: blur(14px);
}
.booking-header, .quote-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.booking-header h2 { margin: 0.15rem 0 0; font-size: 1.45rem; }
.mini-text { color: var(--muted); font-size: 0.88rem; }
.step-pills { flex-wrap: wrap; margin: 0.9rem 0 1rem; gap: 0.5rem; }
.step-pill {
  padding: 0.55rem 0.85rem;
  background: #edf3f2;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}
.step-pill.is-active, .step-pill.is-complete { background: #14302c; color: #fff; }
.step-panel { display: none; }
.step-panel.is-active { display: block; }

.field { display: grid; gap: 0.35rem; margin-bottom: 0.8rem; }
.field span, .toggle-group span { font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink);
}
.field input[type="datetime-local"] {
  min-height: 3.05rem;
  -webkit-appearance: none;
  appearance: none;
}
.field input[type="datetime-local"]::-webkit-date-and-time-value {
  text-align: left;
}
.field input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  opacity: 0.85;
}
.trip-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: start;
  margin-bottom: 0.8rem;
}
.toggle-group {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(15,118,110,0.06);
}
.toggle-group label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
}
.wide-button { width: 100%; }
.map-card, .summary-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: 1.15rem;
  margin-top: 0.85rem;
}
.route-map,
.map-card img {
  width: 100%;
  min-width: 0;
  height: 220px;
  border-radius: 1rem;
}
.route-map {
  overflow: hidden;
  background: #dfeae8;
  border: 1px solid rgba(20, 33, 31, 0.08);
}
.route-map[hidden] {
  display: none !important;
}
.map-card img {
  object-fit: cover;
}
.map-card img[hidden] {
  display: none !important;
}
.map-card p, .summary-card p, .fleet-card p, .service-card p, .contact-copy p, .section-heading p, .contact-card span {
  color: var(--muted);
  line-height: 1.65;
}
.quote-card { margin-top: 0.85rem; padding: 0.9rem; border-radius: 1.15rem; }
.quote-top strong { display: block; margin-top: 0.2rem; font-size: 1.5rem; }
.status-badge {
  min-width: 5.5rem;
  padding: 0.45rem 0.75rem;
  background: #14302c;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}
.quote-grid { flex-wrap: wrap; gap: 0.75rem; margin-top: 0.8rem; }
.quote-grid article {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 10rem;
  padding: 0.8rem;
  border-radius: 0.95rem;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
}
.quote-grid span { display: block; color: var(--muted); margin-bottom: 0.35rem; font-size: 0.86rem; }
.quote-grid strong { font-size: 1rem; }

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.vehicle-card {
  border-radius: 1.35rem;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: 0.2s ease;
}
.vehicle-card.is-selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(15,118,110,0.16);
}
.vehicle-card img { width: 100%; height: 180px; object-fit: cover; }
.vehicle-card-content { padding: 1rem; }
.vehicle-card strong { display: block; font-size: 1.1rem; }
.vehicle-card p { margin: 0.35rem 0 0.75rem; color: var(--muted); }
.vehicle-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vehicle-meta span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #eef6f4;
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.form-footer {
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.9rem;
}
.status-message {
  min-height: 1.4rem;
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.status-message.is-error { color: #b42318; }
.status-message.is-success { color: var(--success); }

.content-section { padding: 5rem 0; }
.services-section { background: linear-gradient(180deg, #f7faf9 0%, #eef5f2 100%); }
.contact-section {
  background: linear-gradient(180deg, #1e3431 0%, #132220 100%);
}
.section-heading {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  margin-bottom: 2rem;
}
.section-heading h2, .contact-copy h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.contact-copy,
.contact-copy p,
.contact-copy h2,
.contact-copy .eyebrow {
  color: #f3f7f6;
}
.fleet-grid, .service-grid, .contact-cards { flex-wrap: wrap; gap: 1rem; }
.fleet-card, .service-card {
  flex: 1 1 calc(25% - 0.75rem);
  min-width: 15rem;
  border-radius: 1.6rem;
  overflow: hidden;
}
.fleet-card img, .service-card img { width: 100%; height: 240px; object-fit: cover; }
.fleet-card div, .service-card { padding: 1rem; }
.fleet-card span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.fleet-card h3, .service-card h3 { margin: 0.45rem 0 0; }
.service-card h3, .service-card p { padding: 0 1rem; }
.service-card p { padding-bottom: 1rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
  gap: 1rem;
}
.contact-card {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 14rem;
  display: grid;
  gap: 0.5rem;
  padding: 1.2rem;
  border-radius: 1.35rem;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.14);
}
.contact-card strong {
  color: #ffffff;
}
.contact-card span {
  color: rgba(243, 247, 246, 0.82);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(20,33,31,0.56);
}

.modal[hidden] {
  display: none !important;
}

.modal-card {
  width: min(30rem, 100%);
  padding: 1.6rem;
  border-radius: 1.5rem;
}

@media (max-width: 980px) {
  .desktop-nav, .header-actions .ghost-button { display: none; }
  .hero-grid, .contact-grid, .trip-options { grid-template-columns: 1fr; }
  .vehicle-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-header { padding: 0.75rem 0; }
  .nav-shell { flex-wrap: wrap; align-items: center; }
  .header-actions {
    width: 100%;
    justify-content: stretch;
  }
  .header-actions .hero-book-button,
  .header-actions .primary-button {
    flex: 1 1 0;
    text-align: center;
  }
  .hero-grid { padding-top: 2rem; }
  .hero-copy h1 { font-size: 2.6rem; }
  .booking-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .map-card, .summary-card { grid-template-columns: 1fr; }
  .route-map,
  .map-card img { width: 100%; height: 240px; }
  .quote-grid article, .fleet-card, .service-card, .contact-card { flex-basis: 100%; }
  .form-footer { flex-direction: column-reverse; align-items: stretch; }
}
