:root {
  --bg: #ffffff;
  --bg-alt: #f7f6f4;
  --card-bg: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5b5b5b;
  --border: #e5e5e5;
  --accent: #b6551b;
  --accent-hover: #94420f;
  --whatsapp: #1f7a52;
  --whatsapp-hover: #185f40;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --header-bg: rgba(255, 255, 255, 0.9);
}

:root[data-theme="dark"] {
  --bg: #121212;
  --bg-alt: #1a1a1a;
  --card-bg: #1e1e1e;
  --text: #f2f2f2;
  --text-muted: #adadad;
  --border: #2e2e2e;
  --accent: #e08a3e;
  --accent-hover: #f0a35d;
  --whatsapp: #34a373;
  --whatsapp-hover: #46bd89;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(18, 18, 18, 0.85);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121212;
    --bg-alt: #1a1a1a;
    --card-bg: #1e1e1e;
    --text: #f2f2f2;
    --text-muted: #adadad;
    --border: #2e2e2e;
    --accent: #e08a3e;
    --accent-hover: #f0a35d;
    --whatsapp: #34a373;
    --whatsapp-hover: #46bd89;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.35);
    --header-bg: rgba(18, 18, 18, 0.85);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.2s ease, color 0.2s ease;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 8px;
  position: relative;
  padding-bottom: 18px;
}
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--accent);
}

.section-sub {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 40px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
}

.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.logo span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover {
  color: var(--accent);
}
.main-nav a.nav-cta {
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
}
.main-nav a.nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle,
.menu-toggle {
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.menu-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.menu-toggle .icon {
  width: 18px;
  height: 18px;
}

.menu-wrapper {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 48px;
  right: 0;
  min-width: 200px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}
.dropdown-menu[hidden] {
  display: none;
}
.dropdown-menu a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 6px;
}
.dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--accent);
}
.theme-toggle .icon {
  width: 18px;
  height: 18px;
}
.theme-toggle .icon-moon {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 8px;
  font-weight: 600;
  padding: 10px 18px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}
.btn-call {
  background: var(--accent);
  color: #fff;
}
.btn-call:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-1px);
}
.icon-btn {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-small {
  padding: 8px 14px;
  font-size: 0.85rem;
}
.btn-large {
  padding: 14px 26px;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 120px 0 96px;
  background-size: cover;
  background-position: center;
  border-bottom: 3px solid var(--accent);
}
.hero-inner {
  max-width: 780px;
}
.eyebrow {
  color: #f0a35d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin: 0 0 14px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  margin: 0 0 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  color: #e9e4d8;
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.hero .btn-outline:hover {
  border-color: #f0a35d;
  color: #f0a35d;
}

/* Trust strip */
.trust-strip {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}
.trust-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Sections */
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-alt);
}

/* Vehicle cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(20, 15, 0, 0.14);
}
.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.card:hover .card-media img {
  transform: scale(1.06);
}
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
}
.card h3 {
  margin: 0;
  font-size: 1.15rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 6px;
  flex: 1;
}
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-actions .btn {
  text-align: center;
  justify-content: center;
}

/* Trip cards */
.trip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trip-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.trip-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(20, 15, 0, 0.14);
}
.trip-card h3 {
  font-size: 1.15rem;
  margin: 0 0 6px;
}
.trip-meta {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0 18px;
}
.trip-day {
  margin-bottom: 16px;
}
.trip-day h4 {
  font-size: 0.9rem;
  margin: 0 0 4px;
}
.trip-day p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}
.trip-card .card-actions {
  margin-top: auto;
}
.trip-note {
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

/* Routes list */
.routes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}
.routes-list li {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.routes-list li:hover {
  border-color: var(--accent);
  transform: translateX(2px);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  font-size: 0.95rem;
  margin: 0 0 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.contact-card p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}
.contact-link {
  color: var(--text);
}
.contact-link:hover {
  color: var(--accent);
}
.contact-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
  margin-top: 10px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}
.footer-credit {
  margin-top: 6px !important;
  font-size: 0.78rem !important;
  opacity: 0.75;
}
.footer-credit a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trip-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .routes-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 64px 0 48px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
  .header-actions .btn-label {
    display: none;
  }
}
