/* ============================================================
   ViVIP — sitio web v2
   Sistema: Midnight Navy (marca + acción) · Champagne Brass
   (acento decorativo) · neutros cálidos. Spectral + Schibsted.
   Acción = navy sólido en claro / ivory sólido en oscuro.
   ============================================================ */

:root {
  /* Marca */
  --navy-950: #07101F;
  --navy-900: #0D1B30;
  --navy-800: #122541;
  --navy-700: #1B3358;
  --navy-600: #294B7A;
  --navy-300: #8AA6C6;
  --navy-50:  #EEF3F9;

  --brass-700: #8A6A33;
  --brass-500: #C5A572;
  --brass-300: #E3CFA6;
  --brass-100: #F7EFDF;

  --ivory:    #FBF8F2;
  --sand-50:  #F5F1E8;
  --sand-100: #ECE6D9;
  --warm-200: #DDD6C7;
  --warm-500: #726B5E;
  --warm-700: #38332C;
  --ink:      #1A1813;
  --white:    #FFFFFF;

  /* Semántica */
  --surface-page: var(--ivory);
  --surface-alt:  var(--sand-50);
  --text-strong:  var(--ink);
  --text-body:    var(--warm-700);
  --text-muted:   var(--warm-500);
  --text-on-dark: #F2EEE6;
  --text-on-dark-muted: #B9C6D8;
  --text-accent:  var(--brass-700);

  --action:          var(--navy-900);
  --action-hover:    var(--navy-800);
  --on-action:       var(--text-on-dark);
  --action-on-dark:  var(--ivory);
  --on-action-on-dark: var(--navy-900);

  --border-subtle: var(--sand-100);
  --border-default: var(--warm-200);

  --font-display: "Spectral", Georgia, serif;
  --font-ui: "Schibsted Grotesk", -apple-system, sans-serif;

  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 999px;

  --shadow-md: 0 6px 22px rgba(13, 27, 48, 0.10);
  --shadow-lg: 0 20px 50px rgba(13, 27, 48, 0.18);
  --shadow-focus: 0 0 0 3px rgba(41, 75, 122, 0.45);

  --content-max: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 10vw, 120px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 17px; } }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--text-strong); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--content-max); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font: 600 12px/1 var(--font-ui);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-accent);
}
.on-dark .eyebrow { color: var(--brass-300); }

/* --- Botones: un solo lenguaje de acción, pill, alto contraste --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--radius-pill);
  padding: 0 28px; height: 54px;
  font: 600 16px/1 var(--font-ui);
  text-decoration: none; cursor: pointer; border: none;
  transition: background .18s var(--ease-out), transform .12s var(--ease-out), box-shadow .18s var(--ease-out);
}
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--action); color: var(--on-action); }
.btn--primary:hover { background: var(--action-hover); box-shadow: var(--shadow-md); }

.on-dark .btn--primary,
.btn--inverse { background: var(--action-on-dark); color: var(--on-action-on-dark); }
.on-dark .btn--primary:hover,
.btn--inverse:hover { background: var(--white); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--navy-900); box-shadow: inset 0 0 0 1.5px var(--navy-900); }
.btn--ghost:hover { background: var(--navy-900); color: var(--text-on-dark); }
.on-dark .btn--ghost { color: var(--text-on-dark); box-shadow: inset 0 0 0 1.5px rgba(242,238,230,.55); }
.on-dark .btn--ghost:hover { background: rgba(242,238,230,.12); color: var(--white); }

.btn--sm { height: 44px; padding: 0 20px; font-size: 14.5px; }

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(7, 16, 31, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 238, 230, 0.08);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand b { font: 500 26px/1 var(--font-display); color: var(--text-on-dark); letter-spacing: 0.01em; }
.brand span { font: 600 8.5px/1 var(--font-ui); letter-spacing: 0.34em; color: var(--brass-300); margin-top: 4px; text-transform: uppercase; }

.site-nav { display: none; gap: 30px; }
@media (min-width: 900px) { .site-nav { display: flex; } }
.site-nav a {
  font: 500 14.5px/1 var(--font-ui); color: var(--text-on-dark-muted);
  text-decoration: none; padding: 8px 2px; transition: color .15s;
}
.site-nav a:hover { color: var(--white); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: min(92svh, 880px);
  display: flex; align-items: center;
  background: var(--navy-950);
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,16,31,.62) 0%, rgba(7,16,31,.18) 38%, rgba(7,16,31,.55) 86%, rgba(7,16,31,.82) 100%),
    linear-gradient(94deg, rgba(7,16,31,.78) 0%, rgba(7,16,31,.34) 46%, rgba(7,16,31,0) 74%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 108px; padding-bottom: clamp(120px, 16vw, 150px); }

.hero__route {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(242,238,230,.28); border-radius: var(--radius-pill);
  padding: 9px 16px;
  font: 600 11.5px/1 var(--font-ui); letter-spacing: 0.18em; color: var(--brass-300);
  text-transform: uppercase;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(44px, 7.2vw, 84px);
  max-width: 11ch;
  margin: 26px 0 18px;
}
.hero h1 em { font-style: italic; color: var(--brass-300); }
.hero__sub { color: var(--text-on-dark-muted); font-size: clamp(17px, 2vw, 20px); max-width: 44ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__trust { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-on-dark-muted); font-size: 13.5px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { color: var(--brass-300); flex: none; }

/* Reveal del hero */
.hero [data-hero] { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease-out) forwards; }
.hero [data-hero="1"] { animation-delay: .05s; }
.hero [data-hero="2"] { animation-delay: .16s; }
.hero [data-hero="3"] { animation-delay: .28s; }
.hero [data-hero="4"] { animation-delay: .40s; }
.hero [data-hero="5"] { animation-delay: .52s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ============ Booking bar ============ */
.booking { position: relative; z-index: 5; margin-top: clamp(-92px, -11vw, -76px); }
.booking__card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(18px, 3vw, 26px);
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .booking__card { grid-template-columns: 1.25fr 1fr 0.85fr auto; align-items: end; }
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font: 600 11.5px/1 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.field select, .field input {
  height: 52px; border: 1.5px solid var(--border-default); border-radius: var(--radius-md);
  background: var(--white); color: var(--text-strong);
  font: 500 16px var(--font-ui); padding: 0 14px;
  transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
  width: 100%;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230D1B30' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select:focus, .field input:focus { outline: none; border-color: var(--navy-600); box-shadow: var(--shadow-focus); }
.booking__note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--text-muted); }
.booking__note b { color: var(--text-body); font-weight: 600; }

/* ============ Cifras ============ */
.stats { padding: clamp(46px, 7vw, 72px) 0 0; }
.stats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px;
  text-align: center;
}
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat b { display: block; font: 500 clamp(30px, 3.6vw, 42px)/1 var(--font-display); color: var(--navy-900); }
.stat span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--text-muted); }

/* ============ Secciones ============ */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--navy-900); }
.section-head { max-width: 620px; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); margin-top: 14px; }
.section-head h2 em { font-style: italic; color: var(--text-accent); }
.section--dark .section-head h2 { color: var(--white); }
.section--dark .section-head h2 em { color: var(--brass-300); }
.section-head p { margin-top: 14px; color: var(--text-muted); max-width: 52ch; }
.section--dark .section-head p { color: var(--text-on-dark-muted); }

/* --- La van: composición editorial --- */
.van-editorial { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) {
  .van-editorial { grid-template-columns: 1.7fr 1fr; gap: 0; }
  .van-editorial__main { margin-right: -60px; }
  .van-editorial__side { margin-top: 90px; z-index: 1; }
}
.van-editorial__main img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; }
.van-editorial__side img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.van-editorial__side figcaption { margin-top: 12px; font-size: 13px; color: var(--text-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-default); border-radius: var(--radius-pill);
  padding: 10px 16px; font: 500 14px var(--font-ui); color: var(--text-body);
  background: var(--white);
}
.chip svg { color: var(--text-accent); flex: none; }

/* --- Puntos de abordaje --- */
.routes-grid { display: grid; gap: clamp(26px, 4vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .routes-grid { grid-template-columns: 1fr 1.15fr; } }
.routes-grid > figure { margin: 0; order: -1; }
@media (min-width: 900px) { .routes-grid > figure { order: 2; } }
.routes-grid img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; }
.route-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.route-col h3 { font: 600 12px/1 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-accent); margin-bottom: 14px; }
.route-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.route-col li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text-body); font-weight: 500;
}
.route-col li svg { color: var(--navy-600); flex: none; }
.routes-note { margin-top: 24px; padding: 14px 18px; background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); font-size: 14px; color: var(--text-muted); }
.routes-note b { color: var(--text-body); }

/* --- Cómo funciona --- */
.steps { display: grid; gap: 22px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); } }
.step { border-top: 2px solid var(--sand-100); padding-top: 22px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font: 500 15px var(--font-display); color: var(--text-accent);
  letter-spacing: 0.06em;
}
.step h3 { font-size: 21px; margin: 10px 0 8px; }
.step p { font-size: 15px; color: var(--text-muted); }

/* --- Experiencia (video real) --- */
.experience { display: grid; gap: clamp(30px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .experience { grid-template-columns: 0.8fr 1.1fr; } }
.experience__video { justify-self: center; width: min(320px, 78vw); position: relative; }
.experience__video video {
  width: 100%; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(242,238,230,.14);
}
.experience__badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(7,16,31,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: var(--radius-pill); padding: 7px 13px;
  font: 600 11px/1 var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-on-dark);
}
.experience__badge i { width: 7px; height: 7px; border-radius: 50%; background: #E4584C; }
.experience__list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.experience__list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-on-dark-muted); font-size: 15.5px; }
.experience__list b { color: var(--text-on-dark); font-weight: 600; }
.experience__list svg { color: var(--brass-300); flex: none; margin-top: 2px; }

/* --- Precio --- */
.price-card {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: var(--white); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
  padding: clamp(34px, 5vw, 52px);
}
.price-card .amount { font: 500 clamp(56px, 8vw, 84px)/1 var(--font-display); color: var(--navy-900); }
.price-card .amount sup { font-size: 0.42em; top: -0.85em; margin-right: 4px; }
.price-card .per { margin-top: 6px; color: var(--text-muted); font-size: 15px; }
.price-card ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 26px 0 8px; padding: 0; }
.price-card li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-body); font-weight: 500; }
.price-card li svg { color: var(--text-accent); }
.price-card .policy { font-size: 13px; color: var(--text-muted); margin-top: 14px; }
.price-card .btn { margin-top: 26px; }

/* --- FAQ --- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--sand-100); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  cursor: pointer; list-style: none;
  padding: 20px 4px; font: 600 16.5px var(--font-ui); color: var(--text-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%238A6A33' stroke-width='2' stroke-linecap='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>") center/contain no-repeat;
  transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 20px; color: var(--text-muted); font-size: 15px; max-width: 62ch; }

/* --- CTA final --- */
.final { position: relative; overflow: hidden; }
.final__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.final__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,16,31,.92) 20%, rgba(7,16,31,.55) 100%); }
.final .wrap { position: relative; z-index: 1; }
.final h2 { color: var(--white); font-size: clamp(34px, 5vw, 56px); max-width: 15ch; }
.final h2 em { font-style: italic; color: var(--brass-300); }
.final p { color: var(--text-on-dark-muted); margin: 16px 0 30px; max-width: 40ch; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-950); color: var(--text-on-dark-muted); padding: 54px 0 34px; font-size: 14px; }
.site-footer .cols { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand b { font-size: 23px; }
.site-footer h4 { font: 600 11.5px/1 var(--font-ui); letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-300); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: var(--text-on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .legal { border-top: 1px solid rgba(242,238,230,.1); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; font-size: 12.5px; }

/* WhatsApp flotante */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-900); color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); text-decoration: none;
  transition: transform .18s var(--ease-out), background .18s;
}
.wa-fab:hover { transform: translateY(-3px); background: var(--navy-800); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero [data-hero] { animation: none; opacity: 1; transform: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
