/* ==========================================================================
   VO evolution Beauty Truck — hoja de estilos única
   Paleta: romántico suave (marfil / blush / rosa empolvado / oro apagado)
   Sin frameworks: todo el CSS del sitio vive aquí para no bloquear el render.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --ivory:      #fdfaf7;
  --cream:      #f7efe9;
  --blush:      #f0dcd6;
  --rose:       #d9a9a0;
  --rose-deep:  #b47f76;
  --gold:       #c2a25f;
  --ink:        #3a322e;
  --body:       #6b5f58;
  --line:       rgba(180, 127, 118, .22);
  --white:      #ffffff;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap:    1180px;
  --wrap-sm: 760px;
  --radius:  2px;

  --pad-section: clamp(4.5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Tiene que cubrir el alto real del encabezado fijo (120 px en escritorio),
     o el título de la sección queda tapado al llegar por un enlace interno. */
  scroll-padding-top: 8.75rem;
}
@media (max-width: 860px) { html { scroll-padding-top: 6.5rem; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--body);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* Los navegadores dan a <figure> un margen de 1em 40px por defecto, que
   impedía que las fotos de destinos llegaran hasta el borde. */
figure { margin: 0; }

/* --- Tipografía --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: .005em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 1.25rem + 3.1vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); }

p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin: 0 0 1.35rem;
  display: block;
}

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + .85vw, 1.7rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.muted { color: var(--body); }

/* Filete decorativo */
.rule {
  width: 58px; height: 1px;
  background: var(--gold);
  border: 0; margin: 0 0 1.75rem;
}
.rule.center { margin-inline: auto; }

/* --- Layout ------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-sm { width: min(100% - 2.5rem, var(--wrap-sm)); margin-inline: auto; }

.section { padding-block: var(--pad-section); position: relative; }
.section--cream { background: var(--cream); }
.section--blush { background: linear-gradient(170deg, var(--cream), var(--blush)); }

/* Sección con fotografía de fondo.
   La imagen se declara aquí, NO con una variable puesta desde el HTML: un
   url() dentro de una custom property se resuelve contra esta hoja de
   estilos, lo que duplicaba la carpeta (/assets/assets/img/...).
   El velo claro encima mantiene el contraste del texto muy por arriba del
   mínimo accesible. */
.section--photo {
  position: relative;
  isolation: isolate;
  background: var(--cream);
}
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section--photo--freedom::before      { background-image: url("../img/bg-freedom.jpg"); }
.section--photo--testimonials::before { background-image: url("../img/bg-testimonials.jpg"); }
.section--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, var(--ivory) 0%, rgba(253,250,247,.84) 22%,
                                rgba(253,250,247,.84) 78%, var(--ivory) 100%);
}
/* Variante algo más velada, para fondos con mucho detalle */
.section--photo.is-soft::after {
  background:
    linear-gradient(to bottom, var(--ivory) 0%, rgba(253,250,247,.9) 20%,
                                rgba(247,239,233,.9) 80%, var(--ivory) 100%);
}

/* Ahorra render en todo lo que está bajo el fold (Core Web Vitals) */
.section--deferred {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.center { text-align: center; }
.section-head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; }

/* --- Botones ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.05rem 2.4rem;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }

.btn--primary { background: var(--rose-deep); color: var(--white); }
.btn--primary:hover { background: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn--light { background: rgba(255,255,255,.9); color: var(--ink); }
.btn--light:hover { background: var(--white); }

.btn--wa { background: #25d366; color: #06331a; border-color: #25d366; }
.btn--wa:hover { background: #1eb356; color: var(--white); }

.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-row.center { justify-content: center; }

/* --- Navegación --------------------------------------------------------- */
/* Tres columnas: menú a la izquierda, logo al centro, menú y CTA a la derecha.
   Las columnas se asignan de forma explícita, así el logo puede ir primero en
   el HTML (que es lo correcto para lectores de pantalla) sin descolocarse. */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease),
              padding .4s var(--ease);
}
.nav--solid {
  background: rgba(253, 250, 247, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .8rem;
}

.nav__brand {
  /* La fila es explícita a propósito: sin ella, el colocado automático manda
     los grupos del menú a una segunda fila y el header dobla de alto. */
  grid-row: 1;
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.nav__brand img {
  height: 92px;
  width: auto;
  /* El logo es dorado sobre transparencia: una sombra muy suave lo despega
     del video del hero sin ensuciarlo. */
  filter: drop-shadow(0 1px 4px rgba(58, 50, 46, .22));
  transition: height .4s var(--ease);
}
.nav--solid .nav__brand img { height: 64px; filter: none; }

.nav__brand small {
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rose-deep);
  transition: font-size .4s var(--ease);
}
.nav--solid .nav__brand small { font-size: .62rem; }

/* En escritorio el contenedor desaparece y sus dos grupos se convierten en
   celdas de la rejilla del header. En móvil vuelve a ser el cajón lateral. */
.nav__menu { display: contents; }

.nav__group { display: flex; align-items: center; gap: 1.85rem; }
.nav__group--left  { grid-row: 1; grid-column: 1; justify-self: start; }
.nav__group--right { grid-row: 1; grid-column: 3; justify-self: end; }

.nav__links,
.nav__group { align-items: center; }
.nav__group > a {
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding-block: .25rem;
}
.nav__group > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--rose-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__group > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__lang {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
/* Padding vertical generoso: EN/ES son enlaces cortos y deben poder tocarse. */
.nav__lang a { text-decoration: none; opacity: .5; transition: opacity .3s; padding: .6rem .35rem; }
.nav__lang a:hover { opacity: 1; }
.nav__lang [aria-current="true"] { opacity: 1; color: var(--rose-deep); }
.nav__lang span { opacity: .3; }

.nav__cta { padding: .85rem 1.7rem; font-size: .78rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s;
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero --------------------------------------------------------------- */
/* Dos filas: el contenido se centra en la primera y el indicador de scroll
   vive en la segunda. Así nunca se encima con los botones, sea cual sea la
   altura de la pantalla. */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: center;
  padding: 7rem 0 2.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__media video.is-ready { opacity: 1; }

/* Velo claro: sube el contraste del texto sin oscurecer la escena */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(253,250,247,.55) 0%, rgba(253,250,247,.2) 35%, rgba(253,250,247,.75) 100%),
    radial-gradient(ellipse at center, rgba(253,250,247,.15), rgba(247,239,233,.55));
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 900px;
  grid-row: 1;
  align-self: center;
  /* Un poco por debajo del centro óptico, para despejar el logo del header */
  margin-top: clamp(1.5rem, 9vh, 6rem);
}
.hero h1 {
  margin-bottom: .55em;
  /* Levanta el texto del fondo claro del hero sin oscurecer la foto */
  text-shadow: 0 1px 12px rgba(253, 250, 247, .85);
}
.hero h1 em {
  font-style: italic;
  color: #9c574b;                 /* rosa más profundo: mejor contraste que --rose-deep */
  text-shadow: 0 1px 10px rgba(253, 250, 247, .95), 0 0 3px rgba(253, 250, 247, .8);
}
/* Pleca dorada bajo el título, como el resto del sitio */
.hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: .5em auto 0;
  background: var(--gold);
}
.hero__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + .9vw, 1.65rem);
  color: var(--ink);
  max-width: 46ch;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

.hero__scroll {
  grid-row: 2;
  margin-top: 2.5rem;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  opacity: .65;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--rose-deep), transparent);
  animation: drop 2.4s var(--ease) infinite;
}
@keyframes drop {
  0%, 100% { transform: scaleY(.35); transform-origin: top; opacity: .4; }
  50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}

/* --- Bloques de texto + imagen ------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 6 / 7;
  object-fit: cover;
}
.split--wide .split__media img { aspect-ratio: 14 / 9; }

/* --- Lista de "sin complicaciones" -------------------------------------- */
.checklist { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .9rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-size: 1rem;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px; height: 7px;
  margin-top: .65em;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* --- Grid de características (3 y 3 por fila) --------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.4vw, 2rem);
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.feature:hover img { transform: scale(1.04); }
.feature__body { padding: clamp(1.5rem, 2.4vw, 2rem); }
.feature__icon {
  width: 26px; height: 26px;
  margin-bottom: .9rem;
  color: var(--rose-deep);
}
.feature h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.feature p { font-size: .94rem; margin: 0; }

@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* --- Servicios ---------------------------------------------------------- */
.service-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.service-hero__media img { aspect-ratio: 9 / 11; object-fit: cover; width: 100%; }
.service-hero__body { padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3.5rem) 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.service-card img { aspect-ratio: 9 / 11; object-fit: cover; width: 100%; }
.service-card__body { padding: 1.75rem; }
.service-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.service-card p { font-size: .93rem; margin: 0; }

/* --- Destinos ----------------------------------------------------------- */
.destinations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}

/* Variante a todo el ancho: las cuatro fotos pegadas, de borde a borde.
   Va fuera de .wrap en el HTML, así que no necesita trucos con 100vw
   (que romperían el layout cuando hay barra de scroll). */
.destinations--full {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.destinations--full .destination { border-radius: 0; }
.destinations--full .destination img { aspect-ratio: 3 / 4; }
.destinations--full figcaption { font-size: clamp(1.05rem, .9rem + .5vw, 1.45rem); }

@media (max-width: 860px) {
  .destinations--full { grid-template-columns: repeat(2, 1fr); }
}
.destination {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.destination img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.destination:hover img { transform: scale(1.05); }
.destination figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1.25rem 1.15rem;
  background: linear-gradient(to top, rgba(58,50,46,.62), transparent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .02em;
}

/* --- Carrusel ----------------------------------------------------------- */
.slider { position: relative; }
.slider__viewport { overflow: hidden; }
.slider__track {
  display: flex;
  transition: transform .7s var(--ease);
  will-change: transform;
}
.slider__slide { flex: 0 0 100%; min-width: 0; }

/* Galería: varias piezas visibles a la vez en pantallas grandes */
.slider--gallery .slider__slide { padding-inline: .5rem; }
.slider--gallery .slider__slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (min-width: 700px)  { .slider--gallery .slider__slide { flex-basis: 50%; } }
@media (min-width: 1080px) { .slider--gallery .slider__slide { flex-basis: 33.3333%; } }

/* Testimonios */
.slider--quotes .slider__slide { padding-inline: clamp(.5rem, 4vw, 3rem); }
.quote { text-align: center; max-width: 720px; margin-inline: auto; }
.quote__stars { color: var(--gold); letter-spacing: .3em; font-size: .95rem; margin-bottom: 1.4rem; }
.quote blockquote {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem);
  line-height: 1.55;
  color: var(--ink);
}
.quote figcaption { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose-deep); }
.quote figcaption span { display: block; letter-spacing: .06em; text-transform: none; color: var(--body); margin-top: .35rem; font-size: .85rem; }

.slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.slider__arrow {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.slider__arrow:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: var(--white); }
.slider__arrow:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
.slider__arrow svg { width: 15px; height: 15px; }

.slider__dots { display: flex; gap: .1rem; }

/* El punto visible mide 7px, pero el botón ocupa 26px para que se pueda
   tocar con el dedo sin fallar (WCAG 2.5.8: mínimo 24x24). */
.slider__dots button {
  width: 26px; height: 26px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.slider__dots button::before {
  content: "";
  width: 7px; height: 7px;
  border: 1px solid var(--rose-deep);
  border-radius: 50%;
  background: transparent;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.slider__dots button[aria-selected="true"]::before { background: var(--rose-deep); transform: scale(1.35); }
.slider__dots button:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: -2px; border-radius: 50%; }

/* --- Formulario --------------------------------------------------------- */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 3.25rem);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.35rem;
}
.field { display: flex; flex-direction: column; gap: .5rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.field label .req { color: var(--rose); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .95rem 1rem;
  font-family: var(--font-sans);
  font-size: .98rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose-deep);
  background: var(--white);
}
.field input:user-invalid,
.field select:user-invalid { border-color: #c0564b; }

.field__error {
  font-size: .78rem;
  color: #c0564b;
  min-height: 1.1em;
  display: none;
}
.field.has-error .field__error { display: block; }
.field.has-error input,
.field.has-error select { border-color: #c0564b; }

.form-consent {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--body);
  margin: 1.5rem 0 0;
}
.form-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.form-note {
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--body);
  opacity: .8;
}

/* Estado de éxito */
.form-success { display: none; text-align: center; padding: clamp(1rem, 3vw, 2rem) 0; }
.form-success .rule { margin-inline: auto; }
.form-panel.is-sent .form-success { display: block; animation: fade-up .6s var(--ease) both; }
.form-panel.is-sent form { display: none; }

.form-error-box {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid #e0b4ad;
  background: #fdf3f1;
  color: #8f3f36;
  font-size: .9rem;
}
.form-error-box.is-visible { display: block; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* --- FAQ ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 3rem 1.5rem 0;
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem);
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .5rem; top: 50%;
  width: 12px; height: 1px;
  background: var(--rose-deep);
  transition: transform .35s var(--ease);
}
.faq summary::before {
  content: "";
  position: absolute;
  right: .5rem; top: 50%;
  width: 12px; height: 1px;
  background: var(--rose-deep);
  transform: rotate(90deg);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.faq details[open] summary::before { transform: rotate(0deg); opacity: 0; }
.faq details > div { padding: 0 3rem 1.75rem 0; font-size: .98rem; }


/* --- Sección oscura (el acento negro del sitio) -------------------------
   Los camiones son negros y esas fotos son las que dan el contraste contra
   el marfil del resto de la página. Aquí la foto va sin velo claro y el
   texto se invierte. */
.section--dark {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: rgba(253, 250, 247, .76);
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/film-poster.jpg");
  background-size: cover;
  background-position: center;
  opacity: .28;
}
.section--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--ink), rgba(58,50,46,.72) 45%, var(--ink));
}
.section--dark h2,
.section--dark h3 { color: var(--ivory); }
.section--dark .eyebrow { color: var(--rose); }
.section--dark .rule { background: var(--gold); }

/* --- Video: portada con botón, el iframe solo se carga al pulsar -------- */
.film {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(253, 250, 247, .16);
  background: #000;
}
.film__play {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.film__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), opacity .5s var(--ease);
}
.film__play:hover img { transform: scale(1.035); opacity: .9; }
.film__play:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }

.film__btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(64px, 8vw, 90px);
  height: clamp(64px, 8vw, 90px);
  border-radius: 50%;
  background: rgba(253, 250, 247, .92);
  display: grid;
  place-items: center;
  transition: transform .4s var(--ease), background-color .4s var(--ease);
  pointer-events: none;
}
.film__play:hover .film__btn { transform: scale(1.08); background: var(--ivory); }
.film__btn svg { width: 26%; height: 26%; margin-left: 8%; color: var(--ink); }

.film iframe { width: 100%; height: 100%; border: 0; display: block; }

.film__note {
  margin-top: 1.1rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(253, 250, 247, .5);
  text-align: center;
}


/* Combo de hoteles antes de elegir ciudad: se ve claramente inactivo. */
.field select:disabled {
  opacity: .55;
  cursor: not-allowed;
  background: var(--cream);
}

/* El campo condicional ("¿Cuál?") entra sin dar un salto brusco. */
.field[hidden] { display: none; }
.field[data-hotel-other]:not([hidden]) { animation: fade-up .35s var(--ease) both; }

/* Campo trampa del formulario: fuera de pantalla, no "display:none" (muchos
   bots ignoran lo que está oculto de esa forma, pero sí rellenan esto). */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --- Páginas legales ---------------------------------------------------- */
.legal-page { padding-top: 8rem; }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin-top: 2.75rem; }
.legal h2:first-of-type { margin-top: 1.5rem; }
.legal ul { padding-left: 1.15rem; margin: 0 0 1.25em; }
.legal li { margin-bottom: .5rem; }
.legal a { color: var(--rose-deep); }
.legal__updated {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.legal__notice {
  margin: 2.5rem 0 0;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  font-size: .92rem;
}

/* --- Cierre / CTA ------------------------------------------------------- */
.closing { text-align: center; }
.closing h2 { max-width: 16ch; margin-inline: auto; }

/* --- Footer ------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(253, 250, 247, .72);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
  font-size: .9rem;
}
.footer a { color: rgba(253, 250, 247, .72); text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--white); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(253, 250, 247, .14);
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.footer h4 {
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }

.footer__social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(253, 250, 247, .22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.footer__social a:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.footer__social svg { width: 16px; height: 16px; }

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(253, 250, 247, .5);
}
.footer__credit strong { color: var(--ivory); font-weight: 400; letter-spacing: .04em; }

/* --- Botón flotante de WhatsApp ----------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .32);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  opacity: 0;
  visibility: hidden;
}
.wa-float.is-visible { opacity: 1; visibility: visible; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37, 211, 102, .45); }
.wa-float svg { width: 28px; height: 28px; }

/* --- Scroll reveal ------------------------------------------------------
   El estado oculto SOLO se aplica cuando hay JS (clase .js en <html>).
   Sin JS, o si el IntersectionObserver falla, el contenido se ve siempre:
   la página nunca queda en blanco.
   ------------------------------------------------------------------------ */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --- Accesibilidad ------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--ivory);
  padding: .75rem 1.25rem;
  text-decoration: none;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 980px) {
  .split, .service-hero { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .service-hero__media img { aspect-ratio: 16 / 10; }
  .service-hero__body { padding: 0 clamp(1.5rem, 5vw, 2.5rem) clamp(2rem, 5vw, 2.5rem); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    grid-template-columns: 1fr auto 1fr;
    padding-block: .75rem;
  }
  .nav__toggle { display: block; grid-row: 1; grid-column: 3; justify-self: end; }
  .nav__brand img { height: 66px; }
  .nav--solid .nav__brand img { height: 52px; }

  /* El contenedor deja de ser "display: contents" y vuelve a ser el cajón */
  .nav__menu {
    display: flex;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.75rem;
    padding: 5rem 2.25rem;
    background: var(--ivory);
    box-shadow: -12px 0 40px rgba(58, 50, 46, .12);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    overflow-y: auto;
  }
  .nav__menu.is-open { transform: none; }

  .nav__group {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
  }
  .nav__group > a { font-size: 1rem; }
  .nav__group .btn { width: 100%; }
  .nav__cta { display: inline-flex; }

  .hero { min-height: 92svh; }
  .hero__inner { margin-top: clamp(1rem, 5vh, 2.5rem); }
  .hero h1::after { width: 56px; margin-top: .45em; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .nav__cta { width: auto; }
  .faq summary, .faq details > div { padding-right: 2.25rem; }
}

/* --- Preferencia de movimiento reducido --------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__media video { display: none; }
}

/* --- Impresión ---------------------------------------------------------- */
@media print {
  .nav, .wa-float, .hero__scroll, .slider__nav { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  body { background: #fff; }
}
