/* =============================================================
   Paradise Hotels & Resorts
   Estructura de escenas con fondo de video fijo (cross-fade)
   Paleta tomada del logo oficial de Paradise Hotels
   ============================================================= */
:root {
  --green:      #354947;
  --green-deep: #2A3B39;
  --green-dark: #1E2C2A;
  --gold:       #D6A33D;
  --gold-soft:  #E4BC6A;
  --gold-ink:   #A87F2A;
  --aqua:       #6EC9CA;
  --olive:      #8A9850;
  --orange:     #DC863A;

  --bg:        #F6F2E8;
  --bg-2:      #EDE6D6;
  --paper:     #FFFCF5;
  --ink:       #2A3B39;
  --ink-soft:  #3F5250;
  --ink-mute:  #6E7D79;
  --cream:     #F3EEE1;
  --cream-mute:#BFCBC5;
  --line:      rgba(42, 59, 57, 0.14);
  --line-soft: rgba(42, 59, 57, 0.08);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --wrap: 1180px;
  --pad: clamp(1.25rem, 5vw, 4rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  color: var(--ink-soft); background: var(--green-deep);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); font-weight: 500; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--green); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* ---------- Utilidades ---------- */
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.wrap-letter { --wrap: 720px; }

/* =============================================================
   FONDO FIJO (video cross-fade)
   ============================================================= */
.bgstage { position: fixed; inset: 0; z-index: 0; background: var(--green-dark); overflow: hidden; }
.bgmedia {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s var(--ease-out);
  will-change: opacity;
}
.bgmedia.is-on { opacity: 1; }
.bgtint {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(30,44,42,0.94) 0%, rgba(30,44,42,0.80) 40%, rgba(30,44,42,0.36) 74%, rgba(30,44,42,0.22) 100%),
    linear-gradient(180deg, rgba(30,44,42,0.62) 0%, transparent 24%, transparent 62%, rgba(30,44,42,0.7) 100%);
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
  --nav-fg: var(--cream);
}
.nav.is-stuck {
  background: rgba(30, 44, 42, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(243,238,225,0.12);
}
.nav-inner {
  width: min(100% - 2 * var(--pad), var(--wrap));
  margin-inline: auto; display: flex; align-items: center; gap: 1.4rem;
  padding-block: 0.9rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.nav-brand img { width: 34px; height: 34px; flex: none; }
.nav-brand-text { font-family: var(--serif); font-size: 1.08rem; font-weight: 500; color: var(--nav-fg); line-height: 1.15; }
.nav-brand-text span { font-style: italic; opacity: 0.72; font-weight: 400; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { font-size: 0.85rem; color: var(--nav-fg); position: relative; padding-block: 0.3rem; opacity: 0.85; transition: opacity .3s; }
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 0.62rem 1.2rem; font-size: 0.84rem; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; padding: 0; width: 44px; height: 44px; margin-right: -10px;  /* 44x44: mínimo táctil */
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--nav-fg); transition: transform .3s var(--ease-out); }
.nav.is-open .nav-toggle span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================================
   BOTONES
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  font-size: 0.92rem; font-weight: 500;
  transition: transform .4s var(--ease-out), background-color .3s var(--ease-out),
              color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.btn-primary { background: var(--gold); color: var(--green-deep); font-weight: 600; }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(243,238,225,0.4); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--green-deep); transform: translateY(-2px); }
.panel .btn-ghost { border-color: var(--line); color: var(--ink); }
.panel .btn-ghost:hover { background: var(--green); border-color: var(--green); color: var(--cream); }

/* =============================================================
   ESCENAS (transparentes — dejan ver el fondo fijo)
   ============================================================= */
.scene {
  position: relative; z-index: 2;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: clamp(6rem, 14vh, 9rem) clamp(4rem, 10vh, 7rem);
  color: var(--cream);
}
.scene-inner { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.scene-wide { --wrap: 1080px; }
.eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.71rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 1.3rem; color: var(--gold);
}
.snum {
  font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0.06em;
  color: var(--gold); opacity: 0.85;
  padding-right: 0.7rem; border-right: 1px solid currentColor;
}
.panel .eyebrow { color: var(--gold-ink); }
.panel .snum { color: var(--gold-ink); }

/* Título con reveal por líneas enmascaradas */
.kin {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.04; letter-spacing: -0.02em;
  color: var(--cream); max-width: 18ch;
  text-shadow: 0 2px 30px rgba(20, 30, 29, 0.45);
}
.scene-hero .kin { font-size: clamp(2.5rem, 7vw, 5.4rem); max-width: 16ch; }
.kin em { font-style: italic; color: var(--gold); }
.kline { display: block; overflow: hidden; padding-bottom: 0.09em; }
.kl { display: block; transform: translateY(115%); transition: transform 1.05s var(--ease-out); }
.is-in .kl { transform: none; }
.kline:nth-child(2) .kl { transition-delay: 0.1s; }
.kline:nth-child(3) .kl { transition-delay: 0.2s; }
.lead {
  margin-top: 1.7rem; max-width: 54ch;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: #DCE4E0; text-shadow: 0 1px 16px rgba(20, 30, 29, 0.5);
}
.scene-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.scene-note { margin-top: 1.6rem; font-size: 0.86rem; color: var(--cream-mute); max-width: 56ch; }

/* Elementos con entrada suave */
.up { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.is-in .up { opacity: 1; transform: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%); }
.scroll-cue span {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: cueDrop 2.4s ease-in-out infinite;
}
@keyframes cueDrop { 0%,100% { opacity: .25; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* Dos columnas dentro de una escena */
.twocol { margin-top: 2.4rem; display: grid; gap: 2rem; grid-template-columns: 1fr; }
.tc h3 {
  font-size: 0.98rem; font-weight: 600; color: var(--gold);
  padding-bottom: 0.8rem; margin-bottom: 1rem;
  border-bottom: 1px solid rgba(243,238,225,0.2);
}
.tc ul { display: grid; gap: 0.7rem; }
.tc li { font-size: 0.93rem; color: #D6DFDA; padding-left: 1.1rem; position: relative; line-height: 1.55; }
.tc li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* Tarjetas de tecnología */
.tech-grid { margin-top: 2.4rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.tech-card {
  padding: 1.5rem;
  border: 1px solid rgba(243,238,225,0.18);
  border-radius: 14px;
  background: rgba(30,44,42,0.42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tech-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--green-deep);
  font-size: 0.8rem; font-weight: 700; margin-bottom: 0.9rem;
}
.tech-card h3 { font-size: 1.02rem; font-weight: 600; color: var(--cream); margin-bottom: 0.5rem; }
.tech-card p { font-size: 0.9rem; color: #C3CFC9; line-height: 1.55; }

/* =============================================================
   FRANJA DE HECHOS
   ============================================================= */
.strip {
  position: relative; z-index: 2;
  background: var(--green-dark); overflow: hidden;
  padding-block: 0.85rem;
  border-block: 1px solid rgba(243,238,225,0.1);
}
.strip-track { display: flex; align-items: center; gap: 1.4rem; width: max-content; animation: stripScroll 46s linear infinite; }
.strip-track span { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); white-space: nowrap; font-weight: 500; }
.strip-track i { color: var(--gold); font-style: normal; }
@keyframes stripScroll { to { transform: translateX(-50%); } }

/* =============================================================
   PANELES (opacos — tapan el fondo fijo)
   ============================================================= */
.panel {
  position: relative; z-index: 2;
  background: var(--bg);
  padding-block: clamp(4rem, 10vw, 8rem);
}
.panel-alt { background: var(--bg-2); }
.panel-green { background: var(--green); color: var(--cream); }
.panel-green .panel-title { color: var(--cream); }
.panel-green .panel-title em { color: var(--gold); }
.panel-green .eyebrow, .panel-green .snum { color: var(--gold); }
.panel-title {
  font-family: var(--serif); font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 400; line-height: 1.1; max-width: 24ch;
}
.panel-title em { font-style: italic; color: var(--gold-ink); }
.panel-green .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- La cuenta ---------- */
.math-wrap { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
.math-lead p { margin-top: 1.2rem; max-width: 50ch; }
.math-note { margin-top: 1.8rem !important; padding-left: 1.3rem; border-left: 2px solid var(--gold); color: var(--ink-soft); font-size: 0.98rem; }
.math-card {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: 16px; padding: clamp(1.4rem, 3vw, 2rem); margin: 0;
  box-shadow: 0 20px 46px -34px rgba(42,59,57,0.4);
}
.math-card figcaption { font-size: 0.71rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1.1rem; font-weight: 600; }
.math-card table { width: 100%; border-collapse: collapse; }
.math-card th { text-align: left; font-weight: 400; font-size: 0.9rem; color: var(--ink-soft); padding: 0.55rem 0; }
.math-card td { text-align: right; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); padding: 0.55rem 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.math-card tr.sep th, .math-card tr.sep td { border-top: 1px solid var(--line); padding-top: 1rem; }
.math-card td.bad { color: #B4553C; }
.math-card td.good { color: #4E7A3E; }
.math-card tr.total th, .math-card tr.total td { border-top: 2px solid var(--green); padding-top: 1rem; }
.math-card tr.total th { font-weight: 600; color: var(--ink); font-size: 0.94rem; }
.math-card tr.total td { font-size: 1.28rem; }
.letter strong { color: var(--ink); font-weight: 600; }
.letter-open { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.72rem) !important; line-height: 1.4; color: var(--ink); margin-bottom: 1.8rem !important; }
.letter-vm { display: grid; gap: 1.6rem; grid-template-columns: 1fr; margin: 2.4rem 0 2rem; padding: 1.7rem; border-radius: 14px; background: var(--bg-2); }
.letter-vm span { display: block; font-size: 0.69rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin-bottom: 0.5rem; }
.letter-vm p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }
.signature { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.sig-name { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 500; color: var(--green); line-height: 1.1; }
.sig-role { display: block; margin-top: 0.5rem; font-size: 0.81rem; color: var(--ink-mute); }

/* ---------- Sí / No ---------- */
.dodont { margin-top: 3rem; display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.dodont h3 {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 1.02rem; font-weight: 600; color: var(--cream);
  padding-bottom: 1rem; margin-bottom: 1.3rem;
  border-bottom: 1px solid rgba(243,238,225,0.18);
}
.mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; flex: none; font-size: 0.71rem; font-weight: 700; }
.mark.do { background: var(--gold); color: var(--green-deep); }
.mark.dont { background: rgba(243,238,225,0.13); color: var(--cream-mute); border: 1px solid rgba(243,238,225,0.25); }
.dodont ul { display: grid; gap: 0.95rem; }
.dodont li { font-size: 0.96rem; line-height: 1.6; padding-left: 1.1rem; position: relative; }
.do-col li { color: #E4EBE6; }
.do-col li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.dont-col li { color: #A6B5AF; }
.dont-col li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 7px; height: 1px; background: #7E8F89; }

/* ---------- Modelo ---------- */
.model-grid { margin-top: 3.2rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.model-card {
  padding: 1.9rem; background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: 16px; border-top: 3px solid var(--gold);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.model-card:nth-child(2) { border-top-color: var(--aqua); }
.model-card:nth-child(3) { border-top-color: var(--olive); }
.model-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(42,59,57,0.4); }
.model-kicker { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-ink); letter-spacing: 0.1em; }
.model-card h3 { font-family: var(--serif); font-size: 1.38rem; font-weight: 500; margin: 0.8rem 0; }
.model-card > p { font-size: 0.95rem; color: var(--ink-mute); }
/* ---------- Hoteles ---------- */
.hotels-grid { margin-top: 3rem; display: grid; gap: 2rem; grid-template-columns: 1fr; }
.hotel-card {
  display: block; background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.hotel-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(42,59,57,0.5); }
.hotel-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.hotel-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.hotel-card:hover .hotel-photo img { transform: scale(1.05); }
.hotel-visit {
  position: absolute; right: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1rem; border-radius: 999px;
  background: rgba(30,44,42,0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--cream); font-size: 0.79rem; font-weight: 500;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}
.hotel-card:hover .hotel-visit { background: var(--gold); color: var(--green-deep); }
.hotel-info { padding: 1.9rem; }
.hotel-logo { height: 44px; width: auto; margin-bottom: 0.7rem; }
.hotel-sub { color: var(--gold-ink); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.hotel-info > p { font-size: 0.95rem; color: var(--ink-mute); }
.hotel-url { display: inline-block; margin-top: 1.2rem; font-size: 0.83rem; color: var(--green); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.brandmark img { width: clamp(180px, 26vw, 280px); height: auto; }
.cta-wrap { display: grid; gap: 3rem; grid-template-columns: 1fr; }
.cta-lead > p { margin-top: 1.3rem; color: #C6D2CC; max-width: 44ch; }
.cta-direct { margin-top: 2.2rem; display: grid; gap: 0.9rem; border-top: 1px solid rgba(243,238,225,0.18); padding-top: 1.6rem; }
.cta-direct li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; font-size: 0.94rem; color: #C6D2CC; align-items: baseline; }
.cta-direct li span { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9CB0A8; }
.cta-direct a { color: var(--cream); border-bottom: 1px solid rgba(214,163,61,0.5); padding-bottom: 1px; transition: border-color .3s, color .3s; }
.cta-direct a:hover { border-color: var(--gold); color: var(--gold); }
.cta-form { background: var(--paper); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.4rem); color: var(--ink-soft); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.field label { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.45rem; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 0.9rem; border: 1px solid var(--line); border-radius: 9px;
  background: var(--bg); color: var(--ink); font: inherit;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: #9AA8A3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,163,61,0.18); }
.field textarea { resize: vertical; }
.cta-form .btn { width: 100%; margin-top: 0.4rem; }
.form-hint { margin-top: 0.9rem; font-size: 0.8rem; color: var(--ink-mute); text-align: center; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer { position: relative; z-index: 2; background: var(--bg); padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: 2rem; }
.footer-inner { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { width: 46px; height: 46px; flex: none; }
.footer-brand strong { font-family: var(--serif); font-size: 1.18rem; font-weight: 500; color: var(--ink); display: block; }
.footer-brand strong span { font-style: italic; color: var(--ink-mute); font-weight: 400; }
.footer-brand p { font-size: 0.86rem; color: var(--ink-mute); margin-top: 0.5rem; max-width: 34ch; }
.footer-cols { display: grid; gap: 1.8rem; grid-template-columns: repeat(2, 1fr); }
.footer-cols h4 { font-size: 0.69rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.8rem; font-weight: 600; }
.footer-cols a { display: block; font-size: 0.88rem; color: var(--ink-soft); padding-block: 0.28rem; }
.footer-cols a:hover { color: var(--gold-ink); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; font-size: 0.78rem; color: var(--ink-mute); }

/* =============================================================
   DOCK (móvil)
   ============================================================= */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 0.6rem; padding: 0.7rem var(--pad) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(30,44,42,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(243,238,225,0.14);
  transform: translateY(110%); transition: transform .5s var(--ease-out);
}
.dock.is-up { transform: none; }
.dock-btn { flex: 1; text-align: center; padding: 0.85rem 0.5rem; border-radius: 999px; font-size: 0.86rem; font-weight: 600; }
.dock-wa { border: 1px solid rgba(243,238,225,0.4); color: var(--cream); }
.dock-cta { background: var(--gold); color: var(--green-deep); }

/* =============================================================
   SPLASH
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  background: var(--green); transition: opacity .7s var(--ease-out), visibility .7s;
  animation: splashSafety .01s 4s forwards;
}
.splash-mark { width: 76px; height: 76px; opacity: 0; animation: splashIn 1s .1s var(--ease-out) forwards; }
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashIn { from { opacity: 0; transform: scale(0.9); }
to { opacity: 1; transform: none; } }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 8rem; }
  .letter-vm { grid-template-columns: 1fr 1fr; gap: 2rem; }
.tech-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .twocol { grid-template-columns: 1fr 1fr; gap: 3rem; }
.math-wrap { grid-template-columns: 1.08fr 0.92fr; gap: 3.5rem; }
.dodont { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.model-grid { grid-template-columns: repeat(3, 1fr); }
.hotels-grid { grid-template-columns: 1fr 1fr; }
.footer-inner { grid-template-columns: 1fr 1.4fr; }
.footer-cols { grid-template-columns: repeat(3, 1fr); }
.tech-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1000px) {
  .cta-wrap { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.cta-form { position: sticky; top: 6rem; }
}
@media (max-width: 859px) {
  .nav-links, .nav-cta { display: none; }
.nav-toggle { display: flex; }
.nav.is-open { background: rgba(30,44,42,0.97); }
.nav.is-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; inset: 100% 0 auto 0;
    background: rgba(30,44,42,0.97);
    border-bottom: 1px solid rgba(243,238,225,0.14);
    padding: var(--pad);
  }
.nav.is-open .nav-links a { padding-block: 0.9rem; border-bottom: 1px solid rgba(243,238,225,0.1); }
  .dock { display: flex; }
  .footer { padding-bottom: 5.5rem; }
  .scroll-cue { display: none; }
  /* Área táctil cómoda en los enlaces de contacto y del pie */
  .cta-direct a, .footer-cols a { display: inline-block; padding-block: 0.5rem; }
  .cta-direct li { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* =============================================================
   REDUCED MOTION — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip-track { animation: none; }
  .scroll-cue span { animation: none; }
  .hotel-card:hover .hotel-photo img { transform: none; }
}


/* =============================================================
   Cita destacada (sustituye a la FAQ)
   ============================================================= */
.pullquote {
  margin: 3rem 0 0; padding: 2rem 0 0;
  border-top: 1px solid var(--line);
  max-width: 46ch;
}
.pullquote p {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.35rem, 3.2vw, 2.05rem);
  line-height: 1.24; color: var(--ink); margin: 0;
}
.pullquote em { font-style: italic; color: var(--gold-ink); }
.pullquote cite {
  display: block; margin-top: 1rem; font-style: normal;
  font-size: 0.94rem; color: var(--ink-mute); line-height: 1.6;
}

/* =============================================================
   Contacto: las cuatro preguntas + pasos
   ============================================================= */
.qlist { counter-reset: ql; margin-top: 1.8rem; display: grid; }
.qlist li {
  counter-increment: ql; position: relative;
  padding: 0.85rem 0 0.85rem 2.6rem;
  border-top: 1px solid rgba(243,238,225,0.18);
  font-family: var(--serif); font-size: clamp(1rem, 1.9vw, 1.15rem);
  color: var(--cream); line-height: 1.36;
}
.qlist li:last-child { border-bottom: 1px solid rgba(243,238,225,0.18); }
.qlist li::before {
  content: counter(ql, decimal-leading-zero);
  position: absolute; left: 0; top: 1.05rem;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--gold);
}
.qlist-foot {
  margin-top: 1.1rem; font-size: 0.92rem; color: var(--gold-soft); font-style: italic;
}

.steps-mini {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 2rem;
}
.steps-mini li {
  font-size: 0.76rem; color: #C6D2CC;
  border: 1px solid rgba(243,238,225,0.22); border-radius: 999px;
  padding: 0.35rem 0.85rem; white-space: nowrap;
}
.steps-mini b { color: var(--cream); font-weight: 600; }

/* =============================================================
   Aviso de salida (exit intent) — solo escritorio
   ============================================================= */
.exit {
  border: 0; padding: 0; margin: auto;
  width: min(100% - 2rem, 480px);
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 40px 90px -30px rgba(20, 30, 29, 0.55);
  color: var(--ink-soft);
  overflow: visible;
  position: relative;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  text-align: left;
}
.exit::backdrop {
  background: rgba(20, 30, 29, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.exit[open] { animation: exitIn .45s var(--ease-out); }
@keyframes exitIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.exit-x {
  position: absolute; top: 0.8rem; right: 1rem;
  font-size: 1.7rem; line-height: 1; color: var(--ink-mute);
  padding: 0.3rem 0.5rem; border-radius: 8px;
  transition: color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.exit-x:hover { color: var(--ink); background: var(--bg-2); }
.exit-mark { width: 44px; height: 44px; margin-bottom: 1.1rem; }
.exit-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-ink); margin-bottom: 0.7rem;
}
.exit-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 1.72rem);
  line-height: 1.18; color: var(--ink); margin-bottom: 0.9rem;
}
.exit-title em { font-style: italic; color: var(--gold-ink); }
.exit-body { font-size: 0.97rem; color: var(--ink-mute); }
.exit-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.exit-actions .btn { flex: 1 1 auto; padding: 0.85rem 1.2rem; font-size: 0.89rem; }
/* El diálogo va sobre fondo claro: el botón secundario necesita su propio contraste */
.exit .btn-ghost { border-color: var(--line); color: var(--ink-soft); }
.exit .btn-ghost:hover { background: var(--green); border-color: var(--green); color: var(--cream); }
.exit-foot {
  margin-top: 1.1rem; padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.81rem; color: var(--ink-mute);
}

/* =============================================================
   Banner de consentimiento de cookies
   ============================================================= */
.consent {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 200;
  width: min(calc(100vw - 2rem), 30rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 24px 60px -24px rgba(20,30,29,.5);
  display: flex; flex-direction: column; gap: 0.9rem;
  animation: consentIn .5s var(--ease-out);
}
@keyframes consentIn { from { opacity:0; transform: translateY(12px); } to { opacity:1; transform:none; } }
.consent-txt { font-size: 0.84rem; line-height: 1.55; color: var(--ink-mute); }
.consent-txt a { color: var(--green); border-bottom: 1px solid var(--gold); }
.consent-txt a:hover { color: var(--gold-ink); }
.consent-btns { display: flex; gap: 0.6rem; }
.consent-btns button {
  flex: 1; padding: 0.62rem 1rem; border-radius: 999px;
  font-size: 0.84rem; font-weight: 600;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.consent-si { background: var(--gold); color: var(--green-deep); }
.consent-si:hover { background: var(--gold-soft); }
.consent-no { border: 1px solid var(--line); color: var(--ink-soft); }
.consent-no:hover { background: var(--green); border-color: var(--green); color: var(--cream); }
@media (max-width: 859px) {
  .consent { bottom: 5rem; }   /* por encima del dock */
}
