/* Prestige Van Madrid — hoja de estilos principal */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0b0c;
  --ink-2: #101012;
  --ink-3: #161618;
  --gold: #c6a15b;
  --gold-bright: #ddbd82;
  --cream: #f5f2ec;
  --muted: #a8a39a;
  --line: rgba(198, 161, 91, 0.22);
  --line-soft: rgba(245, 242, 236, 0.1);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --header-h: 86px;
  --radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-color: rgba(198, 161, 91, 0.32) var(--ink);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: rgba(198, 161, 91, 0.32);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(198, 161, 91, 0.55);
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 78% -12%, rgba(198, 161, 91, 0.09), transparent 62%),
    var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.hero__lead,
.section__lead,
.map-card__caption {
  text-wrap: pretty;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.noscript {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  padding: 0.9rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.noscript a {
  font-weight: 600;
  text-decoration: underline;
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* Cabecera */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(11, 11, 12, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

body.nav-open .site-header {
  background: var(--ink);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand__mark {
  width: 42px;
  height: 42px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand__sub {
  margin-top: 0.32rem;
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__list a:hover {
  color: var(--gold);
}

.nav__list a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  padding: 0.85rem 1.35rem;
  font-size: 0.68rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin-inline: auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: rgba(198, 161, 91, 0.45);
  color: var(--cream);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

/* Hero */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 5rem);
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 66%, rgba(198, 161, 91, 0.05) 66% 66.1%, transparent 66.1%),
    radial-gradient(700px 380px at 15% 25%, rgba(198, 161, 91, 0.06), transparent 70%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.hero__title {
  max-width: 12ch;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5.6vw, 4.7rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.015em;
}

.hero__title em {
  color: var(--gold);
  font-style: italic;
}

.hero__lead {
  max-width: 50ch;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.14);
}

.hero__media {
  position: relative;
  padding: 0.9rem;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  transform: translate(14px, 14px);
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0.9rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.05) 40%, rgba(11, 11, 12, 0.78) 100%);
}

.hero__badge {
  position: absolute;
  z-index: 1;
  left: 1.9rem;
  right: 1.9rem;
  bottom: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--gold);
  background: rgba(11, 11, 12, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero__badge span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero__badge strong {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Barra de confianza */

.trust {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(16, 16, 18, 0.6);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.7rem 1.5rem;
  border-left: 1px solid var(--line-soft);
}

.trust__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 0.15rem;
  color: var(--gold);
}

.trust__item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.trust__item span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

/* Secciones */

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section__title {
  max-width: 18ch;
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section__lead {
  max-width: 58ch;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-pending {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section--alt {
  border-block: 1px solid var(--line-soft);
  background: var(--ink-2);
}

.section__head {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section__head .section__lead {
  margin-top: 0;
}

/* Servicios */

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.card {
  padding: 2rem 1.7rem;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: var(--line);
  background: rgba(198, 161, 91, 0.04);
  transform: translateY(-3px);
}

.card__icon {
  width: 30px;
  height: 30px;
  margin-bottom: 1.4rem;
  color: var(--gold);
}

.service-card h3 {
  margin-bottom: 0.7rem;
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.2;
}

.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Flota */

.fleet__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.fleet-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink-3);
}

.fleet-card__media {
  position: relative;
  overflow: hidden;
}

.fleet-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.fleet-card:hover .fleet-card__media img {
  transform: scale(1.03);
}

.fleet-card__media figcaption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.5rem;
  background: rgba(11, 11, 12, 0.78);
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fleet-card__body {
  padding: 1.6rem 1.6rem 1.8rem;
}

.fleet-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fleet-card__head h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
}

.tag {
  flex: 0 0 auto;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fleet-card__body p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.fleet-card__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 1rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
}

.fleet-card__specs li {
  color: var(--muted);
  font-size: 0.78rem;
}

.fleet-card__specs strong {
  margin-right: 0.2rem;
  color: var(--cream);
  font-weight: 600;
}

/* Tarifas */

.rates__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.rates__note {
  margin-top: 1.2rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.rates__copy .btn {
  margin-top: 1.8rem;
}

.rate-table__wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  background: rgba(16, 16, 18, 0.7);
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
}

.rate-table th,
.rate-table td {
  padding: 1.05rem 1.4rem;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.rate-table thead th {
  background: rgba(198, 161, 91, 0.05);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rate-table tbody th {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 400;
}

.rate-table tbody td {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.15rem;
  text-align: right;
  white-space: nowrap;
}

.rate-table tbody td::first-letter {
  text-transform: uppercase;
}

.rate-table tbody tr:last-child th,
.rate-table tbody tr:last-child td {
  border-bottom: 0;
}

.rate-table tbody tr:hover {
  background: rgba(198, 161, 91, 0.04);
}

/* Cómo funciona */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  padding: 0;
  list-style: none;
}

.step {
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.step__num {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
}

.step h3 {
  margin-bottom: 0.6rem;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.step p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* FAQ */

.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.faq__intro .btn {
  margin-top: 1.8rem;
}

.faq__list details {
  border-bottom: 1px solid var(--line-soft);
}

.faq__list details:first-child {
  border-top: 1px solid var(--line-soft);
}

.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-size: 0.98rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
}

.faq__list details[open] summary::after {
  content: "−";
}

.faq__list details p {
  padding: 0 2rem 1.35rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Reserva y mapa */

.booking__head {
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.booking__aside {
  display: grid;
  gap: 1.4rem;
}

.booking__whatsapp {
  width: 100%;
}

.map-card {
  border: 1px solid var(--line-soft);
  background: rgba(16, 16, 18, 0.65);
}

.map-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line-soft);
}

.map-card__title {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.map-card__switch {
  display: flex;
  gap: 0.35rem;
}

.map-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.map-card__toggle.is-active {
  border-color: var(--gold);
  background: rgba(198, 161, 91, 0.12);
  color: var(--cream);
}

.map-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.map-card__dot--origin {
  background: #6fbf8b;
}

.map-card__dot--destination {
  background: var(--gold);
}

.trip-map {
  height: clamp(300px, 34vw, 400px);
  background: var(--ink);
}

.trip-map__fallback {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

.map-card__caption {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.map-card__caption.is-active {
  color: var(--cream);
}

.map-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.7rem 1rem 0.85rem;
  border-top: 1px solid var(--line-soft);
}

.map-card__credit {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.map-card__credit a,
.map-card__link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-card__link {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-card__link:hover {
  color: var(--gold-bright);
}

/* Leaflet, adaptado a la paleta */

.leaflet-container {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.75rem;
}

.leaflet-container .leaflet-tile {
  filter: invert(0.95) hue-rotate(180deg) brightness(0.78) contrast(1.1) saturate(0.35);
}

.leaflet-container .leaflet-control-zoom {
  border: 1px solid var(--line-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.leaflet-container .leaflet-bar a {
  border-color: var(--line);
  background: rgba(11, 11, 12, 0.88);
  color: var(--cream);
}

.leaflet-container .leaflet-bar a:hover,
.leaflet-container .leaflet-bar a:focus {
  background: var(--ink-3);
  color: var(--gold);
}

.leaflet-container .leaflet-control-attribution {
  background: rgba(11, 11, 12, 0.8);
  color: var(--muted);
  font-size: 0.62rem;
}

.leaflet-container .leaflet-control-attribution a {
  color: var(--gold);
}

.leaflet-container:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.map-marker {
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.18);
  box-shadow: 0 0 0 7px rgba(198, 161, 91, 0.14);
}

.map-marker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.map-marker--origin {
  border-color: #6fbf8b;
  background: rgba(111, 191, 139, 0.18);
  box-shadow: 0 0 0 7px rgba(111, 191, 139, 0.14);
}

.map-marker--origin span {
  background: #6fbf8b;
}

.contact-list {
  border-top: 1px solid var(--line-soft);
}

.contact-list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
}

.contact-list span {
  padding-top: 0.2rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-list a:hover {
  color: var(--gold);
}

.booking__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line-soft);
  background: rgba(16, 16, 18, 0.65);
  color-scheme: dark;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field label span {
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
  accent-color: var(--gold);
  caret-color: var(--gold);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9a958c;
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cream);
  -webkit-box-shadow: 0 0 0 1000px var(--ink) inset;
  caret-color: var(--cream);
}

.field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--ink) inset, 0 0 0 2px var(--gold);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 2px var(--gold);
}

.field textarea {
  min-height: 5rem;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field select option {
  background: var(--ink);
  color: var(--cream);
}

.booking__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

.booking__submit .btn {
  flex: 1 1 220px;
}

#email-link {
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#email-link:hover {
  color: var(--gold);
}

.booking__privacy {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.booking__privacy a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking__status {
  min-height: 1.1rem;
  color: var(--gold);
  font-size: 0.8rem;
}

/* Pie */

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line-soft);
  background: var(--ink-2);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-block: 4rem;
}

.footer__brand p {
  max-width: 34ch;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer__col h3 {
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer__col a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.72rem;
}

.footer__bottom ul {
  display: flex;
  gap: 1.2rem;
}

.footer__bottom a:hover {
  color: var(--gold);
}

/* Páginas legales */

.legal-header {
  border-bottom: 1px solid var(--line-soft);
  background: var(--ink-2);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}

.legal-page {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.legal-page__inner {
  max-width: 800px;
}

.legal-page h1 {
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.05;
}

.legal-page .legal-updated {
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page h2 {
  margin: 2.2rem 0 0.7rem;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.legal-page p + p {
  margin-top: 0.8rem;
}

.legal-page ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.6rem 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-page a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page__back {
  margin-top: 2.5rem;
}

.legal-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.4rem;
  color: var(--muted);
  font-size: 0.72rem;
}

/* Móvil */

@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 1.6rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 2rem 1.25rem 2.4rem;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list a {
    display: block;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.85rem;
  }

  .nav__list a::after {
    display: none;
  }

  .nav__cta {
    width: 100%;
    padding: 1.05rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--header-h) + 3.2rem);
    padding-bottom: 4rem;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__title {
    max-width: 14ch;
  }

  .hero__media {
    order: 2;
    max-width: 640px;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__item {
    border-top: 1px solid var(--line-soft);
  }

  .trust__item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .trust__item:nth-child(-n + 2) {
    border-top: 0;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .rates__grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq__grid {
    grid-template-columns: 1fr;
  }

  .booking {
    grid-template-columns: 1fr;
  }

  .trip-map {
    height: 340px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .fleet__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 2rem, var(--container));
  }

  .brand__name {
    font-size: 1.1rem;
  }

  .brand__sub {
    font-size: 0.5rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__media {
    padding: 0.6rem;
  }

  .hero__media::before {
    transform: translate(9px, 9px);
  }

  .hero__badge {
    left: 1.35rem;
    right: 1.35rem;
    bottom: 1.35rem;
  }

  .trust__grid {
    grid-template-columns: 1fr;
  }

  .trust__item {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .trust__item:first-child {
    border-top: 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .fleet-card__specs {
    grid-template-columns: 1fr 1fr;
  }

  .rate-table th,
  .rate-table td {
    padding: 0.9rem 0.8rem;
  }

  .booking__form {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal.is-pending {
    opacity: 1;
    transform: none;
  }
}
