/* ==========================================================
   Maysa Transports — Design tokens
   Marca (manual del logo, logo/Logo MAYSA.pdf):
     carretera y tipografía  #222E57  (RGB 34, 46, 87)
     borde de la carretera   #EF7C27  (RGB 239, 124, 39)
     círculo (sol)           #FFF265  (RGB 255, 242, 101)
     tipografía              Montserrat
   Contraste comprobado (WCAG AA): texto navy-950 sobre naranja 6.2:1,
   sol sobre navy-900 13:1, orange-700 sobre blanco 5.6:1.
   ========================================================== */
:root {
  /* primitivos */
  --navy-950: #121a36;
  --navy-900: #1a2448;
  --navy-800: #222e57; /* marca */
  --navy-700: #34447e;
  --navy-100: #dde2ef;
  --navy-50: #eff1f8;
  --sun-300: #fff265; /* marca */
  --sun-400: #ffe93d;
  --orange-400: #f4944d;
  --orange-500: #ef7c27; /* marca */
  --orange-600: #d4661a; /* íconos sobre blanco (3.7:1) */
  --orange-700: #a84e10; /* texto sobre blanco (5.6:1) */
  --green-600: #15803d;
  --red-600: #c62828;

  /* semánticos */
  --bg: #f8f9fc;
  --surface: #ffffff;
  --surface-soft: var(--navy-50);
  --ink: #151d3b;
  --muted: #4b5574;
  --line: #e3e6ef;
  --primary: var(--orange-500);
  --primary-hover: var(--orange-400);
  --on-primary: var(--navy-950);
  --brand: var(--navy-800);
  --accent-text: var(--orange-700);
  --on-dark-accent: var(--sun-300);
  --focus: #1d4ed8;

  /* tipografía */
  --font-display: "Montserrat", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* forma */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(26, 36, 72, 0.06), 0 2px 8px rgba(26, 36, 72, 0.05);
  --shadow: 0 12px 32px rgba(26, 36, 72, 0.10);
  --shadow-lg: 0 24px 60px rgba(26, 36, 72, 0.16);
  --shadow-primary: 0 8px 20px rgba(239, 124, 39, 0.30);
  --shadow-primary-lg: 0 12px 26px rgba(239, 124, 39, 0.36);

  /* movimiento */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 150ms;
  --t: 240ms;

  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(34, 46, 87, 0.03) 0%, transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { color: var(--navy-900); font-family: var(--font-display); text-wrap: balance; }
p { text-wrap: pretty; }

h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; }

.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.page-hero, .metric-band, .fleet-teaser, .cta-banner-inner, .map-card, .cookie-banner, .footer {
  --focus: var(--sun-300);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tight { padding-top: 0; }
.alt {
  background:
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(239, 124, 39, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse 45% 50% at 5% 90%, rgba(34, 46, 87, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #f3f4f9 0%, var(--surface) 100%);
  border-block: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange-500), var(--sun-300));
}

.section-header { max-width: 720px; margin-bottom: 44px; }
.section-header h2 + p { margin-top: 14px; color: var(--muted); font-size: 1.075rem; }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header.center .eyebrow { justify-content: center; }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.section-header-row .section-header { margin-bottom: 0; }

.hl {
  background: linear-gradient(180deg, transparent 60%, var(--sun-300) 60%);
  padding-inline: 2px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
    box-shadow var(--t) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0.9rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-primary-lg); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--navy-100);
  color: var(--navy-800);
}
.btn-ghost:hover { border-color: var(--navy-700); }

.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn[disabled] { opacity: 0.7; cursor: progress; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy-700);
  text-decoration: none;
}
.link-arrow .ico { transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- Header ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 249, 252, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.topbar.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; border-radius: 8px; }
.brand-logo { width: 176px; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--navy-800);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease);
}
.nav a:not(.btn):hover { background: var(--navy-50); }
.nav a[aria-current="page"] { color: var(--navy-950); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange-500);
}
.nav-cta-mobile { display: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-menu { position: relative; }
.flag {
  position: relative;
  display: inline-block;
  flex: none;
  width: 24px; height: 17px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(26, 36, 72, 0.28);
}
.flag svg { display: block; width: 100%; height: 100%; }
/* sombreado de tela ondeando, como los emojis de bandera de WhatsApp */
.flag::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 20%,
    rgba(0, 0, 0, 0.16) 42%, rgba(255, 255, 255, 0.24) 66%,
    rgba(0, 0, 0, 0.2) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--navy-800);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.lang-trigger:hover { background: var(--navy-50); border-color: var(--navy-100); }
.lang-trigger[aria-expanded="true"] { border-color: var(--navy-700); background: var(--navy-50); }
.lang-chev { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.lang-trigger[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }

.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 240px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform-origin: top right;
  animation: lang-in 180ms var(--ease);
}
.lang-list[hidden] { display: none; }
@keyframes lang-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.lang-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}
.lang-list button:hover, .lang-list button:focus-visible { background: var(--navy-50); }
.lang-list button:focus-visible { outline-offset: -2px; }
.lang-list .flag { width: 28px; height: 20px; }
.lang-name { flex: 1; display: grid; font-weight: 700; font-size: 0.95rem; line-height: 1.25; color: var(--navy-900); }
.lang-name small { font-weight: 500; font-size: 0.8rem; color: var(--muted); }
.lang-check { width: 18px; height: 18px; color: var(--green-600); stroke-width: 3; opacity: 0; }
.lang-list button[aria-current="true"] { background: var(--navy-50); }
.lang-list button[aria-current="true"] .lang-check { opacity: 1; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--navy-800);
  cursor: pointer;
}
.menu-toggle .ico { width: 22px; height: 22px; }

/* ---------- Decorative background shapes ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
}
.orb--orange {
  width: 500px; height: 500px;
  background: rgba(239, 124, 39, 0.22);
  top: -120px; right: -100px;
}
.orb--navy {
  width: 450px; height: 450px;
  background: rgba(34, 46, 87, 0.15);
  bottom: -100px; left: -80px;
}
.orb--navy-lg {
  width: 600px; height: 600px;
  background: rgba(34, 46, 87, 0.10);
  top: 50%; left: 50%;
  translate: -50% -50%;
}
.section { position: relative; overflow: clip; }

/* ---------- Hero (inicio) ---------- */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(239, 124, 39, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 90%, rgba(34, 46, 87, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 40% 40%, rgba(255, 242, 101, 0.08) 0%, transparent 55%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 { margin-bottom: 20px; font-size: clamp(2.2rem, 4.1vw, 3.4rem); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 580px; margin-bottom: 30px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--navy-800);
  font-weight: 600;
  font-size: 0.925rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { color: var(--orange-600); }

.hero-visual { position: relative; padding: 24px 0 0 24px; }


.hero-visual::before {
  content: "";
  position: absolute;
  right: -40px; top: -10px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 124, 39, 0.38) 2px, transparent 2.5px) 0 0 / 16px 16px;
  z-index: -1;
}

.glass {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.route-panel {
  position: absolute;
  top: 0; left: 0;
  width: min(300px, 78%);
  padding: 16px 18px;
  border-radius: 18px;
}
.route-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 242, 101, 0.7);
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status { display: inline-flex; align-items: center; gap: 6px; color: var(--green-600); font-weight: 700; font-size: 0.8rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(21, 128, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); } }

.route-points { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy-800); font-size: 0.95rem; }
.rp { display: inline-flex; align-items: center; gap: 6px; }
.rp .ico { color: var(--navy-700); }
.dot-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--navy-700) 0 6px, transparent 6px 11px); opacity: 0.5; }

.stats-card {
  position: absolute;
  right: 16px; bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
}
.stats-card > div { padding: 6px 14px; }
.stats-card > div + div { border-left: 1px solid var(--line); }
.stats-card strong { display: flex; align-items: center; gap: 4px; font-size: 1.6rem; line-height: 1.1; color: var(--navy-900); }
.stats-card small { color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.star { color: var(--orange-500); fill: var(--orange-500); }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.28;
  z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(26, 36, 72, 0.96) 30%, rgba(26, 36, 72, 0.55));
  z-index: -1;
}
.page-hero h1 { color: #fff; max-width: 760px; margin-bottom: 16px; }
.page-hero .lead { color: rgba(255, 255, 255, 0.84); margin-bottom: 0; }
.page-hero .eyebrow { color: var(--on-dark-accent); }
.page-hero .cta-row { margin: 28px 0 0; }

.breadcrumb { margin-bottom: 18px; font-size: 0.875rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; color: rgba(255, 255, 255, 0.72); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Segmentos ---------- */
.segments {
  border-block: 1px solid var(--line);
  background: linear-gradient(135deg, var(--surface) 0%, var(--navy-50) 50%, rgba(239, 124, 39, 0.04) 100%);
}
.section--services {
  background:
    radial-gradient(ellipse 60% 50% at 95% 90%, rgba(239, 124, 39, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 50% 55% at 0% 10%, rgba(34, 46, 87, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #eef0f7 100%);
}
.section--steps {
  background:
    radial-gradient(ellipse 55% 50% at 50% 90%, rgba(34, 46, 87, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 85% 15%, rgba(239, 124, 39, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, #eef0f7 0%, var(--bg) 100%);
}
.segments-row {
  list-style: none;
  padding: 20px 0;
  margin-block: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.segments-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy-800);
}
.segments-row .ico { color: var(--orange-600); width: 1.4em; height: 1.4em; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); border-color: var(--navy-100); }
.service-card .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-50); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.service-card:hover .media img { transform: scale(1.04); }
.service-card .body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 34px 22px 22px; }
.service-card .body .icon { position: absolute; top: -26px; left: 22px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 0.95rem; }
.service-card .link-arrow { margin-top: auto; padding-top: 16px; }
.service-card .stretched::after { content: ""; position: absolute; inset: 0; }

.icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--sun-300);
  color: var(--navy-950);
  box-shadow: 0 6px 14px rgba(26, 36, 72, 0.14);
}
.icon .ico { width: 24px; height: 24px; }
.icon.soft { background: var(--navy-50); color: var(--navy-800); box-shadow: none; }

/* ---------- Emojis a color (Fluent Emoji 3D) ---------- */
.emoji { display: inline-block; flex: none; width: 1.6em; height: 1.6em; object-fit: contain; vertical-align: middle; }
.hero-trust .emoji { width: 26px; height: 26px; }
.rp .emoji { width: 22px; height: 22px; }
.segments-row .emoji { width: 34px; height: 34px; transition: transform var(--t) var(--ease); }
.segments-row li:hover .emoji { transform: translateY(-3px) scale(1.08); }
.icon.emoji-tile {
  width: 60px; height: 60px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(26, 36, 72, 0.14);
}
.icon.emoji-tile .emoji { width: 40px; height: 40px; transition: transform var(--t) var(--ease); }
.service-card .body .icon.emoji-tile { top: -30px; }
.service-card .body { padding-top: 40px; }
.service-card:hover .emoji, .metric-box:hover .emoji { transform: scale(1.1) rotate(-6deg); }
.metric-box .icon.emoji-tile { width: 56px; height: 56px; }
.metric-box .icon.emoji-tile .emoji { width: 36px; height: 36px; }

.tag .emoji { width: 20px; height: 20px; }
.check-list .emoji { width: 22px; height: 22px; margin-top: 1px; }
.specs .emoji { width: 18px; height: 18px; }
.map-card .emoji { width: 18px; height: 18px; }
.ci-label .emoji { width: 24px; height: 24px; }
.footer-contact .emoji { width: 20px; height: 20px; }
.stars { gap: 3px; }
.stars .emoji { width: 20px; height: 20px; }
.stats-card .emoji { width: 26px; height: 26px; }
.contact-list .icon.emoji-tile { width: 52px; height: 52px; border-radius: 16px; }
.contact-list .icon.emoji-tile .emoji { width: 30px; height: 30px; }
.amenity .icon.emoji-tile .emoji { width: 36px; height: 36px; }
.amenity:hover .emoji, .value:hover .emoji { transform: scale(1.1) rotate(-6deg); }

/* ---------- Split (imagen | texto) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split + .split { margin-top: clamp(56px, 8vw, 96px); }
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  background: var(--navy-50);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.contain { background: #fff; }
.split-media.contain img { object-fit: contain; padding: 8%; }
.split-media .tag {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}
.split-copy h2 { margin-bottom: 16px; }
.split-copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; }
.split-copy .cta-row { margin: 28px 0 0; }

.split-num {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-text);
  letter-spacing: 0.08em;
}

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink); }
.check-list .ico {
  width: 22px; height: 22px;
  padding: 4px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(21, 128, 61, 0.12);
  color: var(--green-600);
  stroke-width: 3;
}
.check-list.cols { grid-template-columns: 1fr 1fr; gap: 12px 24px; }

/* ---------- Flota ---------- */
.fleet-teaser {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: #0b0f14;
  color: #fff;
  overflow: hidden;
}
.fleet-teaser h2 { color: #fff; margin-bottom: 14px; }
.fleet-teaser p { color: rgba(255, 255, 255, 0.78); margin-bottom: 26px; }
.fleet-teaser .eyebrow { color: var(--on-dark-accent); }
.fleet-teaser img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: 50% 12%;
  clip-path: inset(0 0 0 1.5%);
  mix-blend-mode: lighten;
}

.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fleet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.fleet-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-100);
}
.fleet-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--navy-50); }
.fleet-card > img.contain { object-fit: contain; padding: 18px; background: #fff; border-bottom: 1px solid var(--line); }
.fleet-body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.fleet-body h3 { margin-bottom: 6px; }
.fleet-body > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }

.specs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: auto 0 0; }
.specs li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy-800);
  font-size: 0.82rem;
  font-weight: 700;
}
.specs .ico { width: 1em; height: 1em; }

.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.amenity {
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.amenity .icon { margin-bottom: 16px; }
.amenity h3 { font-size: 1.05rem; margin-bottom: 6px; }
.amenity p { color: var(--muted); font-size: 0.92rem; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.cap-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cap-num { color: var(--muted); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.cap-num strong { color: var(--navy-900); font-size: 1.75rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cap-card .specs { margin: 0; }

.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.social a:hover { background: var(--orange-500); color: var(--navy-950); }
.social-light a { background: var(--surface); border: 1px solid var(--line); color: var(--navy-800); }

/* ---------- Métricas ---------- */
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric-box {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.metric-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.metric-box .icon { margin-bottom: 18px; }
.metric-box strong {
  display: block;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.metric-box > span:last-child { color: var(--muted); font-weight: 600; }

.metric-band { background: var(--navy-900); color: #fff; }
.metric-band .metric-box { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); box-shadow: none; }
.metric-band .metric-box strong { color: #fff; }
.metric-band .metric-box > span:last-child { color: rgba(255, 255, 255, 0.76); }
.metric-band h2 { color: #fff; }
.metric-band .eyebrow { color: var(--on-dark-accent); }

/* ---------- Comodidades ---------- */
.perks { margin-top: clamp(36px, 5vw, 52px); }
.perks-title { margin-bottom: 18px; font-size: 1.15rem; }
.perk-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perk {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.35;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.perk:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.perk .icon.emoji-tile { flex: none; width: 48px; height: 48px; border-radius: 14px; box-shadow: none; background: var(--navy-50); border-color: transparent; }
.perk .icon.emoji-tile .emoji { width: 30px; height: 30px; }
.perk:hover .emoji { transform: scale(1.1) rotate(-6deg); }

/* ---------- Cobertura ---------- */
.coverage-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}
.coverage-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.ci-label { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.ci-label .ico { color: var(--orange-600); }
.coverage-item strong { color: var(--navy-900); text-align: right; }

/* ---------- Pasos ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: s;
}
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.step-num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-weight: 800;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- Lugares emblemáticos (portada) ---------- */
.places { background: var(--navy-950); color: rgba(255, 255, 255, 0.8); --focus: var(--sun-300); }
.places h2 { color: #fff; }
.places .eyebrow { color: var(--on-dark-accent); }
.places .section-header { margin-bottom: 28px; }
.places .section-header h2 + p { color: rgba(255, 255, 255, 0.78); }

.place-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip-filter {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.chip-filter:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }
.chip-filter[aria-pressed="true"] { background: var(--orange-500); border-color: var(--orange-500); color: var(--navy-950); }

.places-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 16px;
}
.place-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  isolation: isolate;
}
.place-card[hidden] { display: none; }
.place-card.wide { grid-column: span 2; }
.place-card.tall { grid-row: span 2; }
.place-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.place-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 26, 54, 0) 18%, rgba(18, 26, 54, 0.62) 46%, rgba(18, 26, 54, 0.9) 70%, rgba(18, 26, 54, 0.97) 100%);
}
.place-card:hover img { transform: scale(1.05); }
.place-body {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 6px;
  padding: 18px 20px 18px;
}
.place-tag {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(18, 26, 54, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.place-card h3 { color: #fff; font-size: 1.2rem; line-height: 1.2; }
.place-body h3, .place-body p, .place-cta { text-shadow: 0 1px 2px rgba(18, 26, 54, 0.85), 0 0 14px rgba(18, 26, 54, 0.5); }
.place-card p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.place-card.tall h3, .place-card.wide h3 { font-size: 1.45rem; }
.place-cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin-top: 2px;
  color: var(--sun-300);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.place-cta .ico { width: 1.05em; height: 1.05em; transition: transform var(--t-fast) var(--ease); }
.place-cta::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta es clicable */
.place-card:hover .place-cta { text-decoration: underline; text-underline-offset: 4px; }
.place-card:hover .place-cta .ico { transform: translateX(3px); }
.place-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.place-card:focus-within .place-cta { outline: none; }

.photo-credits { margin-top: 26px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.66); }
.photo-credits summary { display: inline-flex; min-height: 44px; align-items: center; cursor: pointer; font-weight: 600; }
.photo-credits summary:hover { color: #fff; }
.photo-credits .credits-note { margin: 4px 0 10px; max-width: 70ch; }
.photo-credits ul { columns: 2 320px; column-gap: 32px; margin: 6px 0 0; padding-left: 1.1rem; }
.photo-credits li { margin-bottom: 6px; break-inside: avoid; }
.photo-credits a { color: rgba(255, 255, 255, 0.86); text-underline-offset: 2px; }

/* ---------- Testimonios ---------- */
/* ---------- Reseñas — carrusel estilo Horizontes ---------- */
.reviews-section {
  background:
    radial-gradient(ellipse 55% 45% at 85% 0%, rgba(239, 124, 39, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(34, 46, 87, 0.12) 0%, transparent 55%),
    linear-gradient(135deg, #eef0f7 0%, #e8e5f0 50%, #eef0f7 100%);
  overflow: hidden;
}
.reviews-carousel {
  position: relative;
  margin-inline: -16px;
}
.reviews-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms var(--ease), box-shadow 200ms var(--ease);
}
.reviews-nav:hover { background: var(--navy-50); box-shadow: 0 4px 16px rgba(26,36,72,0.12); }
.reviews-nav:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.reviews-nav .ico { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reviews-nav--prev { left: 8px; }
.reviews-nav--next { right: 8px; }

.reviews-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}
.reviews-fade--left  { left: 0;  background: linear-gradient(to right, var(--navy-50), transparent); }
.reviews-fade--right { right: 0; background: linear-gradient(to left, var(--navy-50), transparent); }

.reviews-track {
  display: flex;
  gap: 20px;
  padding: 8px 16px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 360px;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-snap-align: start;
  box-shadow: 0 2px 12px rgba(26, 36, 72, 0.06);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26, 36, 72, 0.12);
}
.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-card__header strong {
  font-size: 1rem;
  color: var(--navy-900);
}
.review-card__stars {
  display: flex;
  gap: 3px;
  color: #facc15;
}
.review-card__stars .ico {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.review-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}
.review-card__role {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.reviews-actions {
  text-align: center;
  margin-top: 28px;
}

@media (max-width: 600px) {
  .review-card { flex: 0 0 85%; }
  .reviews-fade { width: 2rem; }
  .reviews-nav { display: none; }
}

/* ---------- Modal de reseña ---------- */
.review-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 26, 54, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease), visibility 300ms;
}
.review-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.review-modal {
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(18, 26, 54, 0.3);
  transform: translateY(20px) scale(0.97);
  transition: transform 300ms var(--ease);
}
.review-modal-overlay.open .review-modal {
  transform: translateY(0) scale(1);
}
.review-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.review-modal__header h3 {
  font-size: 1.25rem;
  color: var(--navy-900);
  margin: 0;
}
.review-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--navy-50);
  color: var(--navy-800);
  cursor: pointer;
  transition: background 200ms;
}
.review-modal__close:hover { background: var(--navy-100); }
.review-modal__close .ico { width: 20px; height: 20px; }

.review-form .field { margin-bottom: 16px; }
.review-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .review-form .field-row { grid-template-columns: 1fr; } }

.star-rating { display: flex; gap: 4px; }
.star-rating button {
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  color: var(--muted);
  transition: color 200ms;
}
.star-rating button .ico { width: 28px; height: 28px; }
.star-rating button.active { color: #facc15; }
.star-rating button.hover { color: #fde047; }

.avatar {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

/* ---------- Galería ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-50); }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Valores ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.value .icon { margin-bottom: 18px; }
.value h3 { margin-bottom: 8px; }
.value p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
}
.faq details[open] { border-color: var(--navy-100); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--navy-700);
  border-bottom: 2px solid var(--navy-700);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--t) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 50%, #2a3a6e 100%);
  overflow: hidden;
  isolation: isolate;
}
.cta-banner-inner::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 36px solid var(--sun-300);
  opacity: 0.16;
  z-index: -1;
}
.cta-banner-inner::after {
  content: "";
  position: absolute;
  left: -60px; bottom: -100px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 124, 39, 0.2) 0%, transparent 70%);
  z-index: -1;
}
.cta-banner-inner h2 { color: #fff; max-width: 640px; }
.cta-banner-inner p { color: rgba(255, 255, 255, 0.8); margin-top: 10px; }
.cta-banner-inner .eyebrow { color: var(--on-dark-accent); }
.cta-banner-inner .cta-row { margin: 0; flex: none; }

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-copy > p { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.contact-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.contact-list small { display: block; color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.contact-list a, .contact-list strong { color: var(--navy-900); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-head h3 { font-size: 1.35rem; margin-bottom: 4px; }
.form-head p { color: var(--muted); font-size: 0.92rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.field label [aria-hidden="true"], .field-group legend [aria-hidden="true"] { color: var(--red-600); }
.field-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-group legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.field .sub-label { font-weight: 600; font-size: 0.85rem; color: var(--muted); }
/* Punto de recogida y destino con sugerencias de Google Maps (places.js) */
.place-combo { position: relative; }
.place-pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  z-index: 30;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.place-pop[hidden] { display: none; }
.place-list { list-style: none; margin: 0; padding: 6px; max-height: 300px; overflow-y: auto; }
.place-list li {
  display: grid;
  gap: 1px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1.35;
}
.place-list li:hover, .place-list li[aria-selected="true"] { background: var(--navy-50); }
.place-main { font-weight: 700; color: var(--navy-900); font-size: 0.95rem; }
.place-sub { color: var(--muted); font-size: 0.82rem; }
/* atribución exigida por Google cuando las sugerencias se muestran sin mapa */
.place-attr {
  padding: 6px 14px 8px;
  border-top: 1px solid var(--line);
  color: #1f1f1f;
  font: 500 12px/1.4 Roboto, Arial, sans-serif;
  text-align: right;
}
.place-picked {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  color: var(--green-600);
  font-size: 0.85rem;
  font-weight: 600;
}
.place-picked[hidden] { display: none; }
.place-picked .emoji { width: 18px; height: 18px; }
.place-picked a { color: var(--navy-700); font-weight: 700; text-underline-offset: 3px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #cdd3e2;
  border-radius: 12px;
  background: #fbfcfe;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #6b7590; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #aab3c9; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(52, 68, 126, 0.18);
}
.field [aria-invalid="true"] { border-color: var(--red-600); background: #fff8f8; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.15); }
.error { min-height: 0; color: var(--red-600); font-size: 0.85rem; font-weight: 600; }
.error:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-hint { color: var(--muted); font-size: 0.85rem; text-align: center; margin-top: -6px; }

.form-status {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-status.ok { background: #ecfdf3; color: #14532d; border: 1px solid #bbf7d0; }
.form-status.err { background: #fef2f2; color: #7f1d1d; border: 1px solid #fecaca; }

.map-card {
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: #fff;
}
.map-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.map-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.map-card li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
}
.map-card .ico { color: var(--on-dark-accent); width: 1em; height: 1em; }

/* ---------- Páginas legales ---------- */
.page-hero-sm { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.legal-updated { margin-top: 14px; font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, 0.72); }
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.legal-toc-title { margin-bottom: 8px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-700); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.legal-toc a:hover { background: var(--navy-50); color: var(--navy-900); }
.legal { max-width: 72ch; }
.legal-sec + .legal-sec { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.legal h2 { margin-bottom: 12px; font-size: 1.3rem; letter-spacing: -0.01em; }
.legal p, .legal li { color: #333d5c; line-height: 1.75; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; margin: 0; padding-left: 1.25rem; }
.legal li::marker { color: var(--orange-600); }
.legal a { color: var(--navy-700); font-weight: 600; text-underline-offset: 3px; word-break: break-word; }
a[href^="tel:"] { white-space: nowrap; }
.legal code { padding: 2px 6px; border-radius: 6px; background: var(--navy-50); color: var(--navy-900); font-size: 0.88em; }

/* ---------- Casilla de aceptación ---------- */
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}
.field .check input {
  flex: none;
  width: 22px; height: 22px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--navy-800);
  cursor: pointer;
}
.field .check input[aria-invalid="true"] { outline: 2px solid var(--red-600); outline-offset: 2px; }
.check a { color: var(--navy-700); font-weight: 700; text-underline-offset: 3px; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 14px 20px;
  max-width: 780px;
  margin-inline: auto;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lg);
  animation: ck-in 320ms var(--ease);
}
.cookie-banner[hidden] { display: none; }
@keyframes ck-in { from { opacity: 0; transform: translateY(14px); } }
.cookie-text { margin: 0; font-size: 0.9rem; line-height: 1.55; }
.cookie-text strong { color: #fff; }
.cookie-text a { color: var(--on-dark-accent); font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.cookie-banner .btn { flex: none; }
body.cookie-open .fab-call { display: none; }

/* ---------- Enlaces legales del pie ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a {
  display: inline-block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer-legal a:hover { color: var(--on-dark-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.78); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
  width: 184px;
  margin-bottom: 20px;
}
.footer p { font-size: 0.95rem; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer ul a {
  display: inline-block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer ul a:hover { color: var(--on-dark-accent); }
.footer-contact li { display: flex; align-items: center; gap: 10px; padding: 6px 0; overflow-wrap: anywhere; }
.footer-contact .ico { color: var(--on-dark-accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 0.875rem; }

/* ---------- Botón flotante ---------- */
.fab-call {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-lg);
}
.fab-call .ico { width: 24px; height: 24px; }

/* ==========================================================
   3D — carruseles, inclinación y parallax
   ========================================================== */
.c3d { position: relative; }
.c3d-stage {
  position: relative;
  perspective: 1400px;
  transform-style: preserve-3d;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.c3d-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--navy-100);
  box-shadow: var(--shadow-lg);
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: transform 850ms var(--ease), opacity 600ms var(--ease), filter 600ms var(--ease);
}
.c3d-slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }

/* Sin JavaScript: solo la primera foto, sin controles */
.c3d:not(.is-ready) .c3d-slide:not(:first-child) { display: none; }
.c3d:not(.is-ready) .c3d-controls { display: none; }

.c3d-controls { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.c3d-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.c3d-btn:hover { background: var(--navy-50); border-color: var(--navy-700); }
.c3d-btn:active { transform: scale(0.94); }
.c3d-btn .ico { width: 20px; height: 20px; }
.c3d-btn[data-pause] .ico { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.c3d-btn[hidden] { display: none; }
.c3d-dots { display: flex; align-items: center; }
.c3d-dot {
  position: relative;
  width: 32px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.c3d-dot::before {
  content: "";
  position: absolute;
  left: 6px; right: 6px; top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 4px;
  background: #c5cbe0;
  transition: background-color var(--t) var(--ease), left var(--t) var(--ease), right var(--t) var(--ease);
}
.c3d-dot:hover::before { background: var(--navy-700); }
.c3d-dot[aria-current="true"]::before { left: 2px; right: 2px; background: var(--navy-800); }

/* Portada: fotos apiladas en profundidad */
.c3d-stack .c3d-stage { width: 82%; aspect-ratio: 4 / 3.3; perspective-origin: 10% 50%; }
.hero-visual .stats-card { bottom: 88px; right: 0; }
.c3d-stack [data-pos="0"] { transform: translate3d(0, 0, 0) rotateY(0deg); opacity: 1; z-index: 4; }
.c3d-stack [data-pos="1"] { transform: translate3d(15%, -7%, -170px) rotateY(-18deg); opacity: 0.92; filter: brightness(0.8) saturate(0.9); z-index: 3; }
.c3d-stack [data-pos="2"] { transform: translate3d(28%, -13%, -340px) rotateY(-22deg); opacity: 0.6; filter: brightness(0.7) saturate(0.8); z-index: 2; }
.c3d-stack [data-pos="-1"] { transform: translate3d(-40%, 6%, 160px) rotateY(24deg); opacity: 0; z-index: 5; pointer-events: none; }
.c3d-stack [data-pos="hide"] { transform: translate3d(36%, -18%, -480px) rotateY(-24deg); opacity: 0; z-index: 1; }
.route-panel, .stats-card { z-index: 6; }

/* Galería de flota: coverflow */
.c3d-cover .c3d-stage { height: clamp(240px, 38vw, 460px); perspective: 1600px; }
.c3d-cover .c3d-slide { inset: 0 24%; border-radius: 22px; cursor: pointer; }
.c3d-cover [data-pos="0"] { transform: translate3d(0, 0, 0) rotateY(0deg); opacity: 1; z-index: 5; cursor: default; }
.c3d-cover [data-pos="1"] { transform: translate3d(62%, 0, -260px) rotateY(-42deg); opacity: 0.95; filter: brightness(0.72); z-index: 4; }
.c3d-cover [data-pos="-1"] { transform: translate3d(-62%, 0, -260px) rotateY(42deg); opacity: 0.95; filter: brightness(0.72); z-index: 4; }
.c3d-cover [data-pos="2"] { transform: translate3d(108%, 0, -480px) rotateY(-52deg); opacity: 0.5; filter: brightness(0.6); z-index: 3; }
.c3d-cover [data-pos="-2"] { transform: translate3d(-108%, 0, -480px) rotateY(52deg); opacity: 0.5; filter: brightness(0.6); z-index: 3; }
.c3d-cover [data-pos="hide"] { transform: translate3d(0, 0, -700px); opacity: 0; z-index: 0; pointer-events: none; }
.c3d-cover .c3d-slide:not([data-pos="0"]):hover { filter: brightness(0.9); }
.c3d-cover figcaption {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  translate: 0 8px;
  transition: opacity 400ms var(--ease) 200ms, translate 400ms var(--ease) 200ms;
}
.c3d-cover [data-pos="0"] figcaption { opacity: 1; translate: 0 0; }
.c3d-cover .c3d-controls { justify-content: center; margin-top: 26px; }
.gallery-section { overflow: hidden; } /* las fotos laterales no generan scroll horizontal */

/* Capas con parallax (portada) */
[data-depth] { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform 450ms var(--ease); }

/* Inclinación 3D con brillo */
[data-tilt] {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  position: relative;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transform-style: preserve-3d;
  transition: transform 500ms var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
html [data-tilt].tilting { transition: transform 90ms linear, box-shadow var(--t) var(--ease), border-color var(--t) var(--ease), opacity 600ms var(--ease), translate 600ms var(--ease); }
[data-tilt]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.38), transparent 55%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
[data-tilt].tilting::before { opacity: 1; }
.lineup-3d { position: relative; background: #0b0f14; } /* mismo fondo que .fleet-teaser para que la mezcla "lighten" siga funcionando */
.lineup-3d::before { display: none; }

/* Entrada 3D: las tarjetas se despliegan en perspectiva al aparecer, en cascada */
.places-grid, .metric-grid, .steps, .values, .amenities { perspective: 1400px; }
.js .reveal.reveal-3d {
  rotate: x 18deg;
  transform-origin: 50% 100%;
  transition: opacity 700ms var(--ease) var(--d, 0s), translate 700ms var(--ease) var(--d, 0s),
    rotate 900ms var(--ease) var(--d, 0s), transform 500ms var(--ease),
    box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.js .reveal.reveal-3d.in { rotate: none; }
.reveal-3d:nth-child(4n+2) { --d: 90ms; }
.reveal-3d:nth-child(4n+3) { --d: 180ms; }
.reveal-3d:nth-child(4n+4) { --d: 270ms; }

/* Profundidad: la foto del encabezado se mueve más lento que el texto (fx.js) */
.page-hero .bg[data-scroll-depth] { top: -40%; height: 150%; translate: 0 var(--sy, 0px); will-change: translate; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; translate: 0 16px; transition: opacity 600ms var(--ease), translate 600ms var(--ease), transform 500ms var(--ease), box-shadow var(--t) var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .nav a { padding: 10px 10px; }
  .nav-cta { display: none; }
  .card-grid, .metric-grid, .amenities, .perk-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .places-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .menu-toggle { display: grid; }
  .brand-logo { width: 148px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav a[aria-current="page"] { background: var(--navy-50); }
  .nav a[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .nav-cta-mobile { display: inline-flex; margin-top: 8px; }

  .hero-grid, .split, .contact-grid, .fleet-teaser { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero-visual { padding: 20px 0 36px 0; }
  .route-panel { left: 12px; top: 0; }
  .fleet-grid, .values, .steps, .cap-grid { grid-template-columns: 1fr 1fr; }
  .segments-row { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .places-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }

  .fab-call { display: grid; }
  .footer { padding-bottom: 96px; }
}

@media (max-width: 600px) {
  .lang-trigger { padding: 0 8px 0 10px; gap: 6px; }

  .cta-row .btn { flex: 1 1 100%; }
  .card-grid, .metric-grid, .amenities, .fleet-grid, .values, .steps, .cap-grid,
  .field-row, .check-list.cols, .perk-grid { grid-template-columns: 1fr; }
  .segments-row { grid-template-columns: repeat(2, 1fr); }
  .segments-row li { justify-content: flex-start; }
  .hero-visual .stats-card { position: relative; right: auto; bottom: auto; margin: 16px 0 0; }
  .hero-visual { padding-bottom: 0; }
  .gallery { grid-auto-rows: 140px; }
  .gallery figure.tall { grid-row: span 1; }
  .coverage-item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .coverage-item strong { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Páginas legales y aviso en pantallas medianas y pequeñas */
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .legal-toc ol { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .cookie-banner .btn { width: 100%; }
}

/* Carruseles deslizables en móvil */
@media (max-width: 600px) {
  .snap-mobile {
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    grid-template-columns: none;
    gap: 14px;
    margin-inline: -16px;
    padding: 6px 16px 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .snap-mobile::-webkit-scrollbar { display: none; }
  .snap-mobile > * { scroll-snap-align: start; }
  .places-grid { grid-auto-rows: 420px; grid-auto-columns: 82%; }
  .place-card.wide, .place-card.tall { grid-column: auto; grid-row: auto; }

  .c3d-stack .c3d-stage { width: 90%; }
  .c3d-cover .c3d-stage { height: 64vw; }
  .c3d-cover .c3d-slide { inset: 0 12%; }
  .c3d-cover [data-pos="1"] { transform: translate3d(72%, 0, -300px) rotateY(-38deg); }
  .c3d-cover [data-pos="-1"] { transform: translate3d(-72%, 0, -300px) rotateY(38deg); }
  .c3d-cover [data-pos="2"], .c3d-cover [data-pos="-2"] { opacity: 0; }
  .c3d-cover figcaption { left: 10px; bottom: 10px; font-size: 0.82rem; }
}

/* ---------- Efectos visuales premium ---------- */

/* Glow pulsante en botón CTA primario */
@keyframes pulseGlow {
  0%, 100% { box-shadow: var(--shadow-primary), 0 0 0 0 rgba(239, 124, 39, 0.3); }
  50% { box-shadow: var(--shadow-primary-lg), 0 0 20px 4px rgba(239, 124, 39, 0.2); }
}
.hero .btn-primary,
.cta-banner-inner .btn-primary {
  animation: pulseGlow 3s var(--ease) infinite;
}
.hero .btn-primary:hover,
.cta-banner-inner .btn-primary:hover {
  animation: none;
  box-shadow: var(--shadow-primary-lg), 0 0 24px 6px rgba(239, 124, 39, 0.25);
}

/* Gradient shimmer en títulos hero */
.hero h1 .hl {
  background: linear-gradient(135deg, var(--orange-500), var(--sun-300), var(--orange-400));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Decorador flotante animado en hero */
@keyframes floatDot {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
.hero-visual::before {
  animation: floatDot 6s ease-in-out infinite;
}

/* Efecto de profundidad en cards de destinos */
.place-card {
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.place-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(18, 26, 54, 0.28), 0 0 0 1px rgba(239, 124, 39, 0.12);
}
.place-card::after {
  transition: opacity 500ms var(--ease);
}
.place-card:hover::after {
  background: linear-gradient(180deg,
    rgba(18, 26, 54, 0) 10%,
    rgba(18, 26, 54, 0.5) 36%,
    rgba(34, 46, 87, 0.85) 62%,
    rgba(34, 46, 87, 0.96) 100%);
}

/* Brillo en borde del tag al hover */
.place-card:hover .place-tag {
  background: rgba(239, 124, 39, 0.85);
  border-color: rgba(255, 242, 101, 0.3);
  color: var(--navy-950);
  transition: all 300ms var(--ease);
}

/* Línea decorativa animada bajo eyebrow */
.eyebrow {
  position: relative;
}
.section-header .eyebrow::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange-500), var(--sun-300));
}
.section .section-header .eyebrow::after {
  margin-inline: auto;
}

/* CTA banner con gradiente mejorado */
.cta-banner-inner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, #2a3d6e 100%);
}
.cta-banner-inner::after {
  content: "";
  position: absolute;
  left: -60px; bottom: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 124, 39, 0.15), transparent 70%);
  z-index: -1;
}

/* Efecto glassmorphism mejorado en tarjetas de servicios */
.service-card {
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(239, 124, 39, 0.25);
}

/* Stats con efecto de destaque */
.stat { position: relative; }
.stat .big {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sección alt con patrón sutil de fondo */
.section.alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(239, 124, 39, 0.04), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(34, 46, 87, 0.04), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.section.alt { position: relative; }
.section.alt > .container { position: relative; z-index: 1; }

/* Footer con gradiente premium */
.footer {
  background: linear-gradient(180deg, var(--navy-950) 0%, #0d1226 100%);
}

@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; }
  .js .reveal { opacity: 1; translate: 0 0; }
  .js .reveal.reveal-3d { rotate: none; }
  .page-hero .bg[data-scroll-depth] { translate: none; }
}
