
/* ---------- 1. Tokens ---------- */
:root {
  /* Color */
  --bg: #0E0D0B;
  --bg-2: #141310;
  --bg-3: #1A1815;
  --line: #2A2722;
  --line-2: #4A443B;
  --ink: #EDE6DA;
  --muted: #9C9384;
  --gold: #C9A46A;
  --gold-ink: #0E0D0B;
  --cream: #EDE6DA;

  /* Tipografía (estilo B) */
  --f-display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --inout: cubic-bezier(.77, 0, .18, 1);

  /* Layout */
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --r: 18px;
  --r-sm: 12px;
  --nav-h: 104px; /* 18 px de separación + 72 px de píldora + aire */
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--gold-ink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.display { font-family: var(--f-display); font-weight: 500; letter-spacing: -.02em; font-optical-sizing: auto; }
.display em, .h2 em, .h3 em, .h4 em { font-style: italic; color: var(--gold); }
.muted { color: var(--muted); }

.h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; }
.h3 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; }
.h4 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.h5 { font-size: 22px; line-height: 1.2; }
.lead { color: var(--muted); font-size: clamp(15px, 1.3vw, 17px); max-width: 560px; margin-top: 14px; }
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.note, .fine { color: var(--muted); font-size: 13px; }
.fine { margin-top: 14px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 999px; transition: transform .3s var(--out); }
.skip:focus { transform: translateY(72px); }

/* Íconos SVG (sprite) */
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.i--card { width: 26px; height: 26px; color: var(--gold); }
.i--lg { width: 40px; height: 40px; color: var(--gold); stroke-width: 1.2; }

/* ---------- 3. Componentes ---------- */

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  transition: background-color .4s var(--out), border-color .4s var(--out), color .4s var(--out);
  will-change: transform;
}
.btn--sm { padding: 10px 16px; font-size: 13px; }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: #D6B47E; }
.btn--line { border: 1px solid var(--line-2); }
.btn--line:hover { border-color: var(--gold); }

.tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 5px; background: var(--bg-3); border-radius: 999px; }
.tabs--wrap { border-radius: 26px; }
.tabs button { position: relative; z-index: 1; background: none; border: 0; padding: 9px 18px; border-radius: 999px; font-size: 13px; color: var(--muted); transition: color .45s var(--out); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--gold-ink); }
.tabs__ind {
  position: absolute; left: 0; top: 0; height: 38px; width: 0;
  background: var(--gold); border-radius: 999px;
  transition: transform .65s var(--spring), width .65s var(--spring);
}

/* Tarjetas */
.card {
  position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg);
  transition: transform .7s var(--spring), border-color .5s var(--out), opacity .9s ease;
}
.section--alt .card { background: var(--bg-2); }
.card:hover { transform: translateY(-6px); border-color: var(--gold); }
.card .i--card { transition: transform .7s var(--spring); }
.card:hover .i--card { transform: scale(1.12) rotate(-6deg); }
.card h3, .card h4 { margin: 14px 0 6px; }
.card h4 { font-size: 16px; font-weight: 500; }
.card p { color: var(--muted); font-size: 14px; }
.card--sm { padding: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li { font-size: 12px; padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 999px; }

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.chip-float {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: flex; align-items: baseline; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(14, 13, 11, .82); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
}
.chip-float b { font-size: 17px; }
.chip-float em { color: var(--gold); }

/* ---------- 4. Secciones ---------- */

/* Progreso de lectura */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; will-change: transform; }

/* Título del hero: 3 líneas en escritorio, 2 en celular */
.t-desk { display: block; }
.t-mob { display: none; }

/* Elementos exclusivos de celular (ocultos en escritorio) */
.tabbar, .dots, .lightbox__handle, .care__hint { display: none; }

/* Navegación */
.nav {
  position: fixed; z-index: 50; top: 18px; left: 50%;
  width: min(1440px, calc(100% - 64px)); transform: translateX(-50%);
  border: 1px solid #493F29; border-radius: 100px;
  background: rgba(26, 25, 22, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 45px rgba(0, 0, 0, .19);
  font-family: Arial, Helvetica, sans-serif;
  transition: box-shadow .35s ease, background-color .35s ease;
}
.nav.is-scrolled { background: rgba(26, 25, 22, .96); box-shadow: 0 8px 28px rgba(0, 0, 0, .25); }
.nav__inner { display: flex; align-items: center; gap: 24px; padding: 13px 13px 13px 20px; }
/* Logo: se usa igual en la barra y en el pie de página (.nav__brand) */
.nav__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--gold); font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .035em; line-height: 1.1; text-transform: uppercase; flex-shrink: 0; }
.nav__brand img { width: 43px; height: 43px; border-radius: 50%; object-fit: cover; }
.nav__brand span { display: flex; flex-direction: column; }
.nav__brand b { font-weight: 700; }
.nav__brand small { display: block; margin-top: 6px; font-size: 10px; font-weight: 400; letter-spacing: .15em; color: #E8E0D0; }
.nav__links { display: flex; gap: 30px; font-size: 14px; color: #F5F0E8; }
.nav__links a { position: relative; padding: 9px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 3px; width: 0; height: 1px; background: var(--gold); transition: width .3s ease; }
.nav__links a:hover::after, .nav__links a.is-active::after, .nav__links a[aria-current]::after { width: 100%; }
.nav .nav__cta { font-family: inherit; font-size: 14px; font-weight: 600; padding: 13px 21px; gap: 18px; }
.nav .nav__cta span { display: inline-block; transition: transform .3s ease; }
.nav .nav__cta:hover span { transform: translate(3px, -3px); }
.nav .lang { font-family: inherit; }
.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid #493F29; border-radius: 50%; background: none; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #F5F0E8; transition: transform .5s var(--out); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Botón de idioma */
.lang { position: relative; display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: none; font-size: 11px; letter-spacing: .12em; -webkit-tap-highlight-color: transparent; }
.lang__opt { position: relative; z-index: 1; width: 34px; padding: 5px 0; text-align: center; color: var(--muted); transition: color .45s var(--out); }
.lang__ind { position: absolute; top: 3px; left: 3px; width: 34px; height: calc(100% - 6px); border-radius: 999px; background: var(--gold); transition: transform .6s var(--spring); }
html[lang="es-MX"] .lang__opt:nth-child(2), html[lang="en"] .lang__opt:nth-child(3) { color: var(--gold-ink); }
html[lang="en"] .lang__ind { transform: translateX(34px); }
.lang:hover { border-color: var(--gold); }

/* Menú móvil */
.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: var(--nav-h) var(--pad) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--inout); visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font-family: var(--f-display); font-size: 44px; line-height: 1.15; display: flex; align-items: baseline; gap: 14px; transform: translateY(30px); opacity: 0; transition: transform .8s var(--out), opacity .6s; }
.menu nav a small { font-family: var(--f-body); font-size: 12px; color: var(--gold); }
.menu.is-open nav a { transform: none; opacity: 1; }
.menu.is-open nav a:nth-child(2) { transition-delay: .06s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .12s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .18s; }
.menu .btn { align-self: flex-start; }

/* Hero */
.hero { padding: calc(var(--nav-h) + clamp(32px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(48px, 7.4vw, 104px); line-height: .98; margin: 6px 0 22px; letter-spacing: -.03em; }
.hero__lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); max-width: 480px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__index { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.hero__index b { color: var(--gold); font-weight: 500; margin-right: 4px; }
.hero__index a:hover { color: var(--ink); }
.hero__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.hero__photo-inner { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; }
.marquee__track { display: flex; align-items: center; gap: 32px; width: max-content; font-size: 22px; color: var(--muted); animation: marquee 34s linear infinite; }
.marquee__track i { color: var(--gold); font-style: normal; font-size: 14px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Secciones genéricas */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--alt { background: var(--bg-2); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }

/* Paneles (pestañas) */
.panels { position: relative; }
.panel[hidden] { display: none; }
.panel { transition: opacity .45s ease, transform .7s var(--out); }
.panel.is-leaving { opacity: 0; transform: translateY(-12px); }
.panel.is-entering { opacity: 0; transform: translateY(18px); }

/* Razas */
.breed { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.breed__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.breed__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--out); }
.breed__photo:hover img { transform: scale(1.04); }
.traits { margin: 28px 0 20px; border-top: 1px solid var(--line); }
.traits div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.traits dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.traits dd { margin: 0; font-size: 15px; }
.reyes-title { margin: clamp(56px, 7vw, 96px) 0 24px; }

/* Tarjetas de ejemplar */
.cat {
  display: flex; flex-direction: column; text-align: left; padding: 0; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: transform .7s var(--spring), border-color .5s var(--out), opacity .9s ease;
}
.cat:hover { transform: translateY(-8px); border-color: var(--gold); }
.cat__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
.cat:hover .cat__img img { transform: scale(1.07); }
.cat__txt { display: flex; flex-direction: column; padding: 14px 16px 16px; }
.cat__txt b { font-size: 22px; }
.cat__txt small { color: var(--muted); font-size: 12px; }
.cat--ask { justify-content: center; align-items: flex-start; gap: 10px; padding: 24px; background: var(--bg-2); }
.cat--ask .display { font-size: 26px; line-height: 1.1; }
.cat--ask small { color: var(--gold); font-size: 13px; }

/* Esencia */
.essence { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.essence__photo { margin: 0; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.essence__photo img { width: 100%; height: 100%; object-fit: cover; }
.quote { font-size: clamp(26px, 3vw, 40px); line-height: 1.15; margin: 0 0 40px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv h3 { margin-bottom: 10px; }
.mv p:last-child { color: var(--muted); font-size: 15px; }

/* Cifras */
.stats { border-block: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) 0; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.stat b { font-size: clamp(44px, 5vw, 68px); line-height: 1; min-height: 1em; display: flex; align-items: center; }
.stat > span { color: var(--muted); font-size: 13px; }

/* Videos */
.videos { align-items: start; }
.video { position: relative; display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-3); transition: transform .7s var(--spring), border-color .5s var(--out), opacity .9s ease; }
.video--offset { margin-top: 48px; }
.video:hover { transform: translateY(-8px); border-color: var(--gold); }
.video__img { display: block; aspect-ratio: 9 / 14; overflow: hidden; }
.video__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
.video:hover .video__img img { transform: scale(1.07); }
.video__play {
  position: absolute; top: 42%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--gold-ink);
  transition: transform .7s var(--spring);
}
.video__play .i { width: 22px; height: 22px; fill: currentColor; stroke: none; margin-left: 3px; }
.video__play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--cream); opacity: 0; transform: scale(.8); transition: opacity .4s, transform .8s var(--out); }
.video:hover .video__play { transform: scale(1.12); }
.video:hover .video__play::after { opacity: .6; transform: scale(1); }
.video__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; background: rgba(14, 13, 11, .9); border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.video__cap b { font-size: 19px; }
.video__cap small { color: var(--gold); font-size: 12px; }
.video__bar { height: 2px; margin-top: 10px; background: var(--line); overflow: hidden; }
.video__bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 2.6s linear; }
.video:hover .video__bar i { transform: scaleX(1); }

/* Reservas */
.steps { counter-reset: none; }
.step__n { font-size: 12px; letter-spacing: .18em; color: var(--gold); }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.banner p { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; max-width: 640px; }
.banner p .i { color: var(--gold); margin-top: 2px; }

/* Bienestar */
.care { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); padding: clamp(24px, 4vw, 44px); }
.care .panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 60px); }
.care .panel[hidden] { display: none; }
.care__head h3 { margin: 14px 0 10px; }
.care__head p { color: var(--muted); font-size: 14px; }
.care__list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.care__list li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; border: 1px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px); }
.care .panel.is-active .care__list li { animation: itemIn .7s var(--out) both; animation-delay: calc(var(--i) * 60ms + 80ms); }
@keyframes itemIn { from { opacity: 0; transform: translateX(18px); } }
.includes-title { margin: clamp(56px, 7vw, 88px) 0 6px; }
.includes-lead { margin: 0 0 24px; }
.care__list li.care__note { display: block; color: var(--muted); font-size: 14px; border-bottom: 0; padding-top: 18px; }
.care__list li.care__note::before { display: none; }
.link-gold { color: var(--gold); border-bottom: 1px solid rgba(201, 164, 106, .5); padding-bottom: 1px; white-space: nowrap; transition: border-color .4s; }
.link-gold span { display: inline-block; transition: transform .5s var(--spring); }
.link-gold:hover { border-color: var(--gold); }
.link-gold:hover span, .privilege:hover .link-gold span { transform: translate(3px, -3px); }

/* Privilegio de nutrición (Fiddelo) */
.privilege {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  margin-top: clamp(40px, 5vw, 64px); padding: 24px 28px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg);
  transition: border-color .5s var(--out), transform .7s var(--spring), opacity .9s ease;
}
.privilege:hover { border-color: var(--gold); transform: translateY(-3px); }
.privilege__mono { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.privilege__mono .i { width: 26px; height: 26px; }
.privilege__copy { display: flex; flex-direction: column; }
.privilege__copy .eyebrow { margin-bottom: 6px; }
.privilege__title { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.privilege__text { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Avales */
.avales { padding: clamp(56px, 7vw, 96px) 0; }
.avales__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.avales__logos { display: flex; gap: 14px; }
.avales__logos img { width: 160px; height: 96px; object-fit: contain; padding: 14px 24px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--r-sm); transition: transform .7s var(--spring), border-color .5s var(--out); }
.avales__logos img:hover { transform: translateY(-4px); border-color: var(--gold); }

/* CTA final */
.cta__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta .btn { margin-top: 28px; }
.qr { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; background: var(--cream); color: var(--gold-ink); border-radius: var(--r); will-change: transform; }
.qr img { width: 132px; height: 132px; }
.qr small { font-size: 12px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand { margin: 0 0 10px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.footer__social a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.footer__social a:hover { color: var(--gold); }
.footer__legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer__legal a:hover { color: var(--ink); }
.totop { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); transition: transform .6s var(--spring), border-color .3s; }
.totop:hover { transform: translateY(-4px); border-color: var(--gold); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8, 7, 6, .86); opacity: 0; transition: opacity .5s ease; }
.lightbox__card { position: relative; margin: 0; width: min(520px, 100%); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .5s ease, transform .7s var(--out); }
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox.is-open .lightbox__card { opacity: 1; transform: none; }
.lightbox__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bg-3); }
.lightbox__card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; }
.lightbox__card figcaption span { display: flex; flex-direction: column; }
.lightbox__card figcaption b { font-size: 24px; }
.lightbox__card figcaption small { color: var(--muted); font-size: 12px; }
.lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(14, 13, 11, .8); font-size: 22px; line-height: 1; transition: transform .5s var(--spring); }
.lightbox__close:hover { transform: rotate(90deg); }

/* ---------- Página de Reservas ---------- */
section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.hero--sub .hero__title { font-size: clamp(40px, 4.3vw, 62px); }
.big-num { display: block; font-size: clamp(64px, 7vw, 96px); line-height: 1; color: var(--gold); margin: 14px 0 6px; font-weight: 400; }
.terms .card p { font-size: 14px; }
.terms__list li { position: relative; padding-left: 18px; margin-top: 10px; color: var(--muted); font-size: 14px; }
.terms__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.terms__list b { color: var(--ink); font-weight: 500; }
.more-link { margin-top: 18px; font-size: 14px; }

/* Acordeón de condiciones */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__head { width: 100%; display: flex; align-items: center; gap: 18px; padding: 24px 0; background: none; border: 0; text-align: left; -webkit-tap-highlight-color: transparent; }
.acc__n { font-size: 12px; letter-spacing: .18em; color: var(--gold); flex: none; }
.acc__title { flex: 1; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; transition: color .4s var(--out); }
.acc__head:hover .acc__title { color: var(--gold); }
.acc__icon { position: relative; width: 18px; height: 18px; flex: none; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--gold); transition: transform .6s var(--spring), opacity .4s; }
.acc__icon::after { transform: rotate(90deg); }
.acc__item.is-open .acc__icon::after { transform: rotate(0deg); opacity: 0; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--out); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner > * { max-width: 760px; }
.acc__inner > :first-child { margin-top: 0; }
.acc__inner > :last-child { margin-bottom: 26px; }
.acc__inner p { color: var(--muted); font-size: 15px; margin: 0 0 12px; padding-left: 40px; opacity: 0; transform: translateY(8px); transition: opacity .5s ease .1s, transform .6s var(--out) .1s; }
.acc__inner .terms__list { padding-left: 40px; margin: 0 0 14px; opacity: 0; transform: translateY(8px); transition: opacity .5s ease .15s, transform .6s var(--out) .15s; }
.acc__item.is-open .acc__inner p, .acc__item.is-open .acc__inner .terms__list { opacity: 1; transform: none; }
.acc__note em { color: var(--gold); font-size: 17px; }

@view-transition { navigation: auto; }
.nav { view-transition-name: rf-nav; }
.tabbar { view-transition-name: rf-tabbar; }
::view-transition-group(rf-nav), ::view-transition-group(rf-tabbar) { animation-duration: .35s; }
::view-transition-old(root) { animation: rfVtOut .28s ease both; }
::view-transition-new(root) { animation: rfVtIn .65s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes rfVtOut { to { opacity: 0; } }
@keyframes rfVtIn { from { opacity: 0; transform: translateY(14px); } }
/* Navegadores sin transición nativa (Firefox): el contenido entra con el mismo desvanecido. */
.no-vt.vt-arrive main, .no-vt.vt-arrive .footer { animation: rfVtIn .65s cubic-bezier(.16, 1, .3, 1) both; }
/* Al llegar desde otra página, lo que ya está a la vista aparece completo, sin re-animar la intro. */
.vt-instant .hero, .vt-instant .hero * { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .no-vt.vt-arrive main, .no-vt.vt-arrive .footer { animation: none; }
}

/* Aviso de privacidad */
.hero--legal { padding-bottom: 0; }
.hero--legal .hero__grid { grid-template-columns: 1fr; }
.hero--legal .wrap { max-width: 860px; }
.legal { padding-top: clamp(40px, 5vw, 64px); }
.legal__wrap { max-width: 860px; }
.legal__sec { padding: 28px 0; border-top: 1px solid var(--line); }
.legal__h { display: flex; align-items: baseline; gap: 16px; font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 12px; }
.legal__n { font-family: var(--f-body); font-size: 12px; letter-spacing: .18em; color: var(--gold); flex: none; }
.legal__sec p { color: var(--muted); font-size: 15px; margin: 0 0 10px; padding-left: 36px; }
.legal__sec .terms__list { padding-left: 36px; margin: 0 0 12px; }

/* ---------- 5. Movimiento ---------- */

/* Intro del hero */
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transition: transform 1.2s var(--out); }
.js .hero:not(.is-in) .hero__title .line > span { transform: translateY(110%); }
.hero__title .line:nth-child(1) > span { transition-delay: .25s; }
.hero__title .line:nth-child(2) > span { transition-delay: .34s; }
.hero__title .line:nth-child(3) > span { transition-delay: .43s; }
.reveal-line { overflow: hidden; }
.reveal-line > span { display: inline-block; transition: transform 1s var(--out) .15s; }
.js .hero:not(.is-in) .reveal-line > span { transform: translateY(110%); }
.fade-in { transition: opacity 1s ease, transform 1.1s var(--out); }
.js .hero:not(.is-in) .fade-in { opacity: 0; transform: translateY(18px); }
.hero__lead.fade-in { transition-delay: .6s; }
.hero__ctas.fade-in { transition-delay: .7s; }
.hero__index.fade-in { transition-delay: .8s; }
.hero__photo-inner { transition: opacity 1.2s ease .1s, transform 1.8s var(--out) .1s; }
.js .hero:not(.is-in) .hero__photo-inner { opacity: 0; transform: scale(1.06); }
.js .hero:not(.is-in) .chip-float { opacity: 0; transform: translateY(12px); }
.chip-float { transition: opacity .8s ease 1.3s, transform 1s var(--out) 1.3s; }
.hero.is-in .hero__photo img { animation: hop 1s var(--spring) 1.1s both; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-14px); } 65% { transform: translateY(3px); } }

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(36px); }
.reveal { transition: opacity .9s ease, transform 1.1s var(--out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero:not(.is-in) * { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --nav-h: 72px; --pad: 20px; --tabbar-h: 64px; }
  .nav { top: 10px; width: calc(100% - 28px); }
  .nav__inner { padding: 8px 8px 8px 12px; }
  .nav__brand { font-size: 13px; }
  .nav__brand img { width: 36px; height: 36px; }
  .nav .nav__brand small { display: none; }
  body { padding-bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom)); }
  .hide-m { display: none; }
  .nav__links, .nav .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__inner { gap: 12px; }
  .section { padding: 64px 0; }
  .head { margin-bottom: 28px; }
  .h2 { font-size: clamp(30px, 8.4vw, 40px); }
  .h3 { font-size: clamp(26px, 7vw, 32px); }
  .lead { font-size: 15px; }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 4px) 0 36px; }
  .hero__grid { grid-template-columns: 1fr; gap: 22px; }
  .hero__photo { order: -1; aspect-ratio: auto; height: 44svh; min-height: 280px; border-radius: 22px; }
  .hero__title { font-size: clamp(34px, 9.6vw, 42px); line-height: 1.02; margin: 2px 0 12px; letter-spacing: -.025em; }
  .t-desk { display: none; }
  .t-mob { display: block; }
  .hero__lead { font-size: 15px; }
  .hero__ctas { flex-wrap: nowrap; margin-top: 20px; }
  .hero__ctas .btn--gold { flex: 1; justify-content: center; }
  .hero__more { width: 50px; padding: 0; justify-content: center; flex: none; }
  .hero__index { display: none; }
  .eyebrow { margin-bottom: 8px; }
  .chip-float { left: 12px; bottom: 12px; padding: 8px 13px; font-size: 12px; }
  .chip-float b { font-size: 15px; }

  /* Barra inferior */
  .tabbar {
    position: fixed; z-index: 45; left: 12px; right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    height: var(--tabbar-h); padding: 0 6px;
    display: flex; align-items: center; justify-content: space-around;
    background: rgba(26, 24, 21, .86); border: 1px solid var(--line); border-radius: 32px;
    backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
    transition: transform .6s var(--out);
  }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 56px; padding: 6px 0; font-size: 10px; color: var(--muted); transition: color .35s; -webkit-tap-highlight-color: transparent; }
  .tabbar a .i { width: 21px; height: 21px; transition: transform .5s var(--spring); }
  .tabbar a.is-active { color: var(--gold); }
  .tabbar a.is-active .i { transform: translateY(-1px) scale(1.08); }
  .tabbar a.is-active::after { content: ""; position: absolute; bottom: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
  .tabbar__wa { min-width: 0 !important; width: 50px; height: 50px; padding: 0 !important; justify-content: center; border-radius: 50%; background: var(--gold); color: var(--gold-ink) !important; }
  .tabbar__wa .i { width: 24px !important; height: 24px !important; }
  .menu.is-open ~ .tabbar, body.sheet-open .tabbar { transform: translateY(140%); }

  .btn:active, .tabbar a:active { transform: scale(.97); transition-duration: .15s; }
  .cat, .video, .card { -webkit-tap-highlight-color: transparent; }
  .card:hover, .cat:hover, .video:hover { transform: none; }
  .cat:hover, .video:hover, .card:hover, .privilege:hover { border-color: var(--line); }
  .privilege:hover { transform: none; }
  .cat:hover .cat__img img, .video:hover .video__img img, .breed__photo:hover img { transform: none; }
  .video:hover .video__play { transform: none; }
  .video:hover .video__play::after { opacity: 0; transform: scale(.8); }
  .video:hover .video__bar i { transform: scaleX(0); }
  .card:hover .i--card { transform: none; }
  .cat:hover .go, .video:hover .tk, .link-gold:hover span, .privilege:hover .link-gold span { transform: none; }

  /* Carruseles */
  [data-carousel] {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    gap: 12px; overflow-x: auto; overflow-y: hidden;
    overscroll-behavior-x: contain; overscroll-behavior-y: auto;
    margin-inline: calc(var(--pad) * -1); padding: 4px var(--pad) 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y;
    -webkit-user-select: none; user-select: none;
  }
  .js [data-carousel] > .reveal { opacity: 1; transform: none; transition: none; }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel] > * { -webkit-touch-callout: none; }
  [data-carousel] img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; pointer-events: none; }
  .cats { grid-auto-columns: 72%; }
  .videos { grid-auto-columns: 60%; }
  .video__img { aspect-ratio: 9 / 13; }
  .includes { grid-auto-columns: 66%; }
  .video--offset { margin-top: 0; }
  .dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 16px; }
  .dots i { position: relative; width: 8px; height: 8px; border-radius: 4px; background: #7A7163; transition: width .5s var(--out), background-color .4s; }
  .dots i::after { content: ""; position: absolute; inset: -10px -5px; }
  .dots i.is-active { width: 24px; background: var(--gold); }

  /* Razas */
  .head .tabs { width: 100%; }
  .head .tabs button { flex: 1; }
  .breed { grid-template-columns: 1fr; gap: 22px; }
  .breed__photo { aspect-ratio: 4 / 3.6; border-radius: 22px; }
  .reyes-title { margin: 48px 0 18px; }
  .cat__txt b { font-size: 20px; }
  .cat--ask .display { font-size: 23px; }

  /* Acordeón de rasgos */
  .traits { margin: 22px 0 16px; }
  .traits div { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .traits dt { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .traits dt::after { content: "+"; font-family: var(--f-body); font-size: 18px; line-height: 1; color: var(--gold); transition: transform .5s var(--spring); }
  .traits div.is-open dt::after { transform: rotate(45deg); }
  .traits dd { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--out), opacity .4s; opacity: 0; }
  .traits dd > span { overflow: hidden; }
  .traits div.is-open dd { grid-template-rows: 1fr; opacity: 1; padding-bottom: 14px; }

  /* Esencia, cifras */
  .essence, .mv { grid-template-columns: 1fr; }
  .essence__photo { aspect-ratio: 4 / 3; }
  .quote { margin-bottom: 28px; }
  .stats .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }

  /* Reservas: línea de tiempo */
  .steps { display: flex; flex-direction: column; gap: 0; position: relative; }
  .steps .card { border: 0; border-radius: 0; background: none; padding: 0 0 26px 40px; position: relative; }
  .steps .card::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 1px; background: var(--line-2); }
  .steps .card:last-child::before { display: none; }
  .steps .step__n { position: absolute; left: 0; top: 0; width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; font-size: 9px; letter-spacing: 0; background: var(--bg); }
  .steps h3 { margin-top: 0; }
  .banner { flex-direction: column; align-items: stretch; }
  .banner .btn { justify-content: center; }

  /* Cuidados: pestañas deslizables + panel con swipe */
  .tabs--wrap { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: calc(100% + var(--pad) * 2); margin-inline: calc(var(--pad) * -1); border-radius: 0; background: none; padding: 4px var(--pad); }
  .tabs--wrap::-webkit-scrollbar { display: none; }
  .tabs--wrap button { flex: none; background: var(--bg-3); margin-right: 6px; }
  .tabs--wrap .tabs__ind { z-index: 1; }
  .tabs--wrap button[aria-selected="true"] { background: transparent; }
  .care { padding: 22px 18px; touch-action: pan-y; }
  .care .panel { grid-template-columns: 1fr; gap: 10px; }
  .care__list li { font-size: 14px; padding: 12px 0; }
  .care__hint { display: block; text-align: center; color: var(--muted); font-size: 11px; margin-top: 12px; }

  /* Avales, CTA, footer */
  .avales__logos img { width: 140px; height: 84px; }
  .terms { grid-template-columns: 1fr; gap: 12px; }
  .hero--sub .hero__photo { height: 36svh; min-height: 230px; }
  .hero--sub .hero__title { font-size: clamp(32px, 8.8vw, 38px); }
  .acc__head { padding: 20px 0; gap: 14px; }
  .acc__inner p, .acc__inner .terms__list { padding-left: 0; }
  .hero--legal { padding-bottom: 0; }
  .legal__sec p, .legal__sec .terms__list { padding-left: 0; }
  .privilege { grid-template-columns: auto 1fr; gap: 16px; padding: 20px; }
  .privilege__mono { width: 46px; height: 46px; align-self: start; }
  .privilege__cta { grid-column: 2; justify-self: start; }
  .cta__inner { grid-template-columns: 1fr; }
  .qr { display: none; }
  .footer__social { flex-direction: column; gap: 12px; }

  /* Hoja inferior para ejemplares */
  .lightbox { place-items: end center; padding: 0; }
  .lightbox__card { width: 100%; border-radius: 26px 26px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); transform: translateY(100%); transition: transform .6s var(--out), opacity .3s; opacity: 1; }
  .lightbox.is-open .lightbox__card { transform: translateY(var(--drag, 0px)); }
  .lightbox__card.is-dragging { transition: none; }
  .lightbox__handle { display: block; position: absolute; top: 10px; left: 50%; z-index: 3; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(237, 230, 218, .5); }
  .lightbox__card img { aspect-ratio: 1; max-height: 58svh; }
  .lightbox__card figcaption { flex-direction: column; align-items: stretch; }
  .lightbox__card figcaption .btn { justify-content: center; }
}

/* Celulares bajos (iPhone SE, etc.) */
@media (max-width: 860px) and (max-height: 700px) {
  .hero__photo { height: 34svh; min-height: 200px; }
  .hero__title { font-size: 32px; }
  .hero__lead { font-size: 14px; }
}
@media (max-width: 380px) {
  .tabbar a { min-width: 48px; font-size: 9px; }
}
