/* =========================================================
   Coffee Wow · estilos del sitio (home)
   ========================================================= */
:root {
  --negro: #000000;
  --negro-2: #0B0806;
  --cafe: #2A1A12;
  --cafe-2: #4A3326;
  --dorado: #DF8901;
  --dorado-2: #F6B638;
  --dorado-3: #FCE477;
  --champan: #FAD998;
  --blanco: #FFFFFF;
  --texto: #F5EFE6;
  --texto-2: rgba(245, 239, 230, .68);
  --linea: rgba(250, 217, 152, .14);
  --bg: #000000;
  --hdr-bg: rgba(0, 0, 0, .62);
  --menu-bg: rgba(0, 0, 0, .96);
  --card: rgba(42, 26, 18, .35);

  --oro: linear-gradient(100deg, #DF8901 0%, #F7D675 38%, #E0AB3C 70%, #FCE587 100%);

  --f-titulo: "Poppins", system-ui, sans-serif;
  --f-texto: "Montserrat", system-ui, sans-serif;

  --wrap: 1200px;
  --pad: clamp(16px, 4vw, 40px);
  --sec: clamp(96px, 14vw, 180px);
  --r: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--dorado); color: var(--negro); }
:focus-visible { outline: 2px solid var(--dorado-2); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); position: relative; }
.gold {
  background: var(--oro);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- capas fijas ---------- */
.scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.scene canvas { position: absolute; inset: 0; display: block; }
.scene__glow {
  position: absolute; inset: 0;
  background: radial-gradient(60% 55% at 72% 45%, rgba(223, 137, 1, .18), transparent 70%),
              radial-gradient(90% 70% at 50% 0%, rgba(42, 26, 18, .9) 0%, transparent 65%);
}
@media (max-width: 760px) {
  .scene__glow { background: radial-gradient(80% 45% at 50% 28%, rgba(223, 137, 1, .2), transparent 70%),
                             radial-gradient(90% 60% at 50% 0%, rgba(42, 26, 18, .9) 0%, transparent 65%); }
}
.grain {
  position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
main, .footer { position: relative; z-index: 1; }

/* ---------- tipografía ---------- */
.eyebrow {
  margin: 0 0 18px;
  font: 600 12px/1 var(--f-texto);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--champan);
}
.eyebrow--dark { color: rgba(0, 0, 0, .7); }
.h2 {
  margin: 0 0 clamp(32px, 5vw, 64px);
  font: 700 clamp(34px, 5.6vw, 72px)/1.05 var(--f-titulo);
  letter-spacing: -.02em;
  color: var(--blanco);
}
.lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--texto-2); }
h3 { margin: 0 0 8px; font: 600 20px/1.25 var(--f-titulo); color: var(--blanco); }
p { margin: 0; }

/* líneas divididas por SplitText */
.split-line { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 15px/1 var(--f-titulo); letter-spacing: .01em; text-decoration: none;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s;
  will-change: transform;
}
.btn--gold { background: var(--dorado); color: var(--negro); box-shadow: 0 10px 40px -12px rgba(223, 137, 1, .7); }
.btn--gold:hover { background: var(--dorado-2); box-shadow: 0 14px 50px -10px rgba(246, 182, 56, .8); }
.btn--ghost { color: var(--texto); border: 1px solid rgba(250, 217, 152, .35); }
.btn--ghost:hover { border-color: var(--champan); color: var(--blanco); }
.btn--dark { background: var(--negro); color: var(--champan); }
.btn--dark:hover { color: var(--blanco); }

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 100; display: none; }
.intro-on .intro { display: block; animation: introFailsafe 0s 12s forwards; }
.intro-on body { overflow: hidden; }
@keyframes introFailsafe { to { visibility: hidden; } }
.intro__backdrop { position: absolute; inset: 0; background: #000; }
.intro__aura {
  position: absolute; left: 50%; top: 46%; width: min(120vw, 1100px); aspect-ratio: 1;
  transform: translate(-50%, -50%); opacity: 0;
  background: radial-gradient(closest-side, rgba(223, 137, 1, .30), rgba(223, 137, 1, .10) 45%, transparent 72%);
}
.intro__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro__stage { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.intro__fly, .intro__cam { will-change: transform; }
#introLogo { display: block; width: min(74vw, 50vh); height: auto; overflow: visible; visibility: hidden; }
.intro.is-ready #introLogo { visibility: visible; }
.intro__ctrls { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.intro__btn {
  background: transparent; color: #F5EFE6;
  border: 1px solid rgba(250, 217, 152, .35); border-radius: 999px; padding: 8px 14px; cursor: pointer;
  font: 500 12px var(--f-texto); letter-spacing: .14em; opacity: .7;
}
.intro__btn:hover, .intro__btn.is-on { opacity: 1; }
.intro__btn.is-on { border-color: #DF8901; color: #FAD998; }

/* ---------- encabezado ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
  transition: padding .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
/* el fondo con desenfoque vive en un pseudo-elemento: si estuviera en .hdr,
   el menú fijo del celular quedaría atrapado dentro del encabezado */
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--hdr-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .5s;
}
.hdr.is-scrolled::before { opacity: 1; }
.hdr.is-scrolled { border-color: var(--linea); padding-top: 10px; padding-bottom: 10px; }
.menu-open .hdr::before { opacity: 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; position: relative; z-index: 2; }
.brand__iso { height: 56px; width: auto; transition: height .5s var(--ease); }
.brand__word { height: 21px; width: auto; transition: height .5s var(--ease); }
.is-scrolled .brand__iso { height: 48px; }
.is-scrolled .brand__word { height: 19px; }
@media (max-width: 560px) {
  .brand { gap: 9px; }
  .brand__iso, .is-scrolled .brand__iso { height: 46px; }
  .brand__word, .is-scrolled .brand__word { height: 17px; }
  .hdr__actions { gap: 6px; }
  .icon-btn, .burger { width: 40px !important; height: 40px !important; }
}
@media (max-width: 360px) { .brand__word { display: none; } }
.intro-on .brand__iso { opacity: 0; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font: 500 14px var(--f-texto); margin-left: auto; }
.hdr__actions { display: flex; align-items: center; gap: 8px; margin-left: clamp(14px, 2vw, 26px); position: relative; z-index: 2; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--texto); border: 1px solid var(--linea); transition: border-color .3s, color .3s, transform .4s var(--ease);
}
.icon-btn:hover { border-color: var(--dorado); color: var(--dorado-2); }
.icon-btn svg { grid-area: 1 / 1; }
.icon-btn--theme .ico-sun, .icon-btn--theme .ico-moon { transition: transform .6s var(--ease), opacity .4s; }
.icon-btn--theme .ico-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
[data-theme="light"] .icon-btn--theme .ico-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
[data-theme="light"] .icon-btn--theme .ico-moon { opacity: 1; transform: none; }
.icon-btn--sound .snd-on { display: none; }
.icon-btn--sound.is-on { color: var(--dorado-2); border-color: rgba(223, 137, 1, .6); }
.icon-btn--sound.is-on .snd-on { display: inline; animation: sndPulse 1.6s ease-in-out infinite; }
.icon-btn--sound.is-on .snd-off { display: none; }
@keyframes sndPulse { 50% { opacity: .45; } }
.nav a { text-decoration: none; color: var(--texto-2); transition: color .3s; position: relative; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--dorado);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--blanco); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { color: var(--negro) !important; background: var(--dorado); padding: 10px 18px; border-radius: 999px; font-weight: 600; }
.nav__cta:hover { background: var(--dorado-2); }
.burger { display: none; }

@media (max-width: 900px) {
  .burger {
    display: grid; place-items: center; align-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 10px;
    background: transparent; border: 1px solid var(--linea); border-radius: 50%; cursor: pointer; position: relative; z-index: 2;
  }
  .burger span { display: block; width: 18px; height: 1.5px; background: var(--texto); transition: transform .4s var(--ease); }
  .menu-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--menu-bg); font: 600 26px var(--f-titulo);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav a { color: var(--texto); }
  .nav__cta { font-size: 18px; padding: 14px 26px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; position: relative; display: grid; align-items: center;
  padding: 120px var(--pad) 80px;
}
.has-3d .hero__visual { display: none; }
/* logo del hero como marca de agua detrás del grano 3D */
.scene__logo {
  display: none; position: absolute; left: 76%; top: 50%;
  width: clamp(300px, 34vw, 540px); height: auto; transform: translate(-50%, -50%);
  opacity: calc(.16 * var(--hf, 1)); filter: blur(.6px);
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
}
.has-3d .scene__logo { display: block; }
@media (max-width: 760px) {
  .scene__logo { left: 50%; top: 27%; width: min(86vw, 380px); opacity: calc(.13 * var(--hf, 1)); }
}
.hero__inner { width: 100%; max-width: var(--wrap); margin: 0 auto; position: relative; z-index: 2; }
.hero__title {
  margin: 0 0 24px; max-width: 12ch;
  font: 700 clamp(44px, 8.4vw, 116px)/.98 var(--f-titulo); letter-spacing: -.035em; color: var(--blanco);
}
.hero__text { max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--texto-2); margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual {
  position: absolute; right: max(var(--pad), calc((100vw - var(--wrap)) / 2)); top: 50%;
  width: clamp(200px, 30vw, 400px); transform: translateY(-46%); z-index: 1;
  filter: drop-shadow(0 30px 80px rgba(223, 137, 1, .35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -18px; rotate: 2deg; } }
@media (max-width: 900px) {
  .hero { align-items: end; padding-bottom: 110px; }
  .hero__visual { right: 50%; top: 12%; width: min(80vw, 360px); transform: translateX(50%); }
  .hero__visual img { opacity: .2; }
}
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  display: grid; justify-items: center; gap: 10px; text-decoration: none;
  font: 500 11px var(--f-texto); letter-spacing: .3em; text-transform: uppercase; color: var(--texto-2);
}
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--dorado), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- cinta ---------- */
.marquee { border-block: 1px solid var(--linea); overflow: hidden; padding: 22px 0; background: var(--bg); }
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font: 600 clamp(20px, 2.6vw, 34px)/1 var(--f-titulo); white-space: nowrap; color: var(--texto); }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--champan); }
.marquee b { color: var(--dorado); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.section { padding: var(--sec) 0; position: relative; }
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.two-col .h2 { margin-bottom: 0; }
.stack { display: grid; gap: 28px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 9px 16px; border: 1px solid var(--linea); border-radius: 999px; font-size: 14px; color: var(--texto); background: rgba(42, 26, 18, .35); }

/* origen */
.origen { overflow: hidden; }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.topo path { fill: none; stroke: var(--dorado); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* cómo funciona (fija en computador) */
.como { padding-top: 0; padding-bottom: 0; }
.como__wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
  min-height: 100vh; padding-top: 110px; padding-bottom: 60px;
}
.como .h2 { margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--linea);
  background: linear-gradient(160deg, rgba(42, 26, 18, .45), rgba(0, 0, 0, .25));
  opacity: .45; transform: scale(.98); transform-origin: left center;
  transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .5s, background .5s;
}
.step.is-active { opacity: 1; transform: none; border-color: rgba(223, 137, 1, .55);
  background: linear-gradient(160deg, rgba(74, 51, 38, .55), rgba(0, 0, 0, .25)); }
.step h3 { font-size: 18px; }
.step__n {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font: 700 17px var(--f-titulo); color: var(--negro); background: var(--oro);
}
.step p, .xcard p, .drink p, .benefit p { color: var(--texto-2); font-size: 15px; }
.como__bar { margin-top: 22px; height: 2px; border-radius: 2px; background: var(--linea); overflow: hidden; }
.como__bar span { display: block; height: 100%; width: 100%; background: var(--oro); transform: scaleX(0); transform-origin: left; }
.como__visual {
  position: relative; aspect-ratio: 4 / 5; max-height: 76vh; width: 100%; justify-self: center;
  border-radius: 28px; overflow: hidden; border: 1px solid var(--linea);
  background: radial-gradient(70% 60% at 50% 45%, rgba(74, 51, 38, .6), rgba(0, 0, 0, .85));
}
.como__layer { position: absolute; inset: 0; margin: 0; }
.como__layer img { width: 100%; height: 100%; object-fit: cover; }
.como__layer--1, .como__layer--2 { opacity: 0; }
.como__layer--1 img { transform: scale(1.75); transform-origin: 62% 46%; }
.como__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 30%;
  background: linear-gradient(180deg, transparent, rgba(246, 182, 56, .22) 85%, rgba(255, 233, 166, .7));
  mix-blend-mode: screen; animation: scan 2.6s var(--ease) infinite;
}
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(340%); } }
.como__layer--2 { display: grid; place-items: center; padding: 8%;
  background: radial-gradient(65% 60% at 50% 45%, #3A2618 0%, #120B07 70%, #070504 100%); }
[data-theme="light"] .como__layer--2 { background: radial-gradient(65% 60% at 50% 45%, #F3E6D2 0%, #E2CFB2 75%, #D5BE9C 100%); }
.foam { width: 100%; height: auto; max-width: 520px; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }
.como__tag {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  padding: 8px 16px; border-radius: 999px; font: 600 12px var(--f-texto); letter-spacing: .2em; text-transform: uppercase;
  color: var(--champan); border: 1px solid rgba(250, 217, 152, .3); background: rgba(0, 0, 0, .45); white-space: nowrap;
}
@media (max-width: 900px) {
  .como { padding: var(--sec) 0; }
  .como__wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 0; padding-bottom: 0; }
  .como__visual { order: -1; aspect-ratio: 1; max-height: none; }
  .como__layer--0, .como__layer--1 { display: none; }
  .como__layer--2 { opacity: 1; }
  .step { opacity: 1; transform: none; }
  .como__bar { display: none; }
}

/* experiencias (scroll horizontal) */
.exp { padding-bottom: 0; overflow: hidden; }
.exp__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 60px; }
.exp__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.exp__head .h2 { margin-bottom: 36px; }
.exp__hint { margin-bottom: 44px; color: var(--champan); font: 600 13px var(--f-texto); letter-spacing: .25em; text-transform: uppercase; white-space: nowrap; }
.exp__hint span { display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.exp__track {
  display: flex; gap: 20px; width: max-content; perspective: 1200px;
  padding: 0 var(--pad) 0 max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  will-change: transform;
}
.xcard {
  position: relative; flex: none; width: clamp(280px, 30vw, 420px); min-height: clamp(340px, 46vh, 460px);
  padding: 34px 30px; border-radius: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  border: 1px solid var(--linea); overflow: hidden; transform-style: preserve-3d; transition: border-color .4s;
  background: linear-gradient(200deg, rgba(74, 51, 38, .35), rgba(11, 8, 6, .85) 70%);
}
.xcard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(246, 182, 56, .2), transparent 45%);
}
.xcard:hover { border-color: rgba(250, 217, 152, .45); }
.xcard:hover::before { opacity: 1; }
.xcard h3 { font-size: clamp(22px, 2vw, 28px); }
.xcard__n {
  position: absolute; right: 24px; top: 14px; font: 700 clamp(64px, 7vw, 110px)/1 var(--f-titulo);
  color: transparent; -webkit-text-stroke: 1px rgba(250, 217, 152, .28); letter-spacing: -.04em;
}
.card__icon {
  position: absolute; top: 30px; left: 30px; width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; color: var(--dorado-2); border: 1px solid var(--linea); background: rgba(0, 0, 0, .4);
}
.xcard--cta { background: var(--oro); border-color: transparent; justify-content: center; gap: 14px; }
.xcard--cta h3, .xcard--cta p { color: var(--negro); }
.xcard--cta p { opacity: .75; }
.xcard--cta .btn { align-self: flex-start; }
@media (max-width: 900px) {
  .exp { padding-bottom: var(--sec); }
  .exp__pin { min-height: 0; padding: 0; }
  .exp__head { display: block; }
  .exp__hint { margin: -18px 0 22px; }
  .exp__track {
    width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 4px var(--pad) 18px; scrollbar-width: none;
  }
  .exp__track::-webkit-scrollbar { display: none; }
  .xcard { width: min(82vw, 340px); min-height: 360px; scroll-snap-align: center; }
}

/* bebidas */
.drinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.drink { text-align: center; padding: 34px 20px 30px; border-radius: var(--r); border: 1px solid var(--linea); background: rgba(11, 8, 6, .6); }
.cup { position: relative; width: 104px; height: 120px; margin: 0 auto 26px; }
.cup__body {
  position: absolute; inset: 0 14px 0 0; border: 2px solid var(--champan); border-top: 0;
  border-radius: 0 0 30px 30px; overflow: hidden; display: flex; flex-direction: column-reverse;
}
.cup__handle { position: absolute; right: 0; top: 28px; width: 22px; height: 40px; border: 2px solid var(--champan); border-left: 0; border-radius: 0 16px 16px 0; }
.capa { display: block; height: var(--h); transform-origin: bottom; }
.capa--cafe { background: linear-gradient(#4A2612, #2A1408); }
.capa--leche { background: linear-gradient(#E9CFA6, #C99E6A); }
.capa--espuma { background: linear-gradient(#FFF8EC, #F2E3C8); }
.capa--caramelo { background: linear-gradient(#E9A23B, #B8670E); }
@media (max-width: 1000px) { .drinks { grid-template-columns: repeat(2, 1fr); } }

/* negocios */
.biz { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.biz__media { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--linea); }
.biz__media img { width: 100%; height: 100%; object-fit: cover; }
.biz__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit { padding: 22px; border-radius: 16px; border: 1px solid var(--linea); background: rgba(42, 26, 18, .35); }
.benefit h3 { font-size: 17px; color: var(--champan); }
.places { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; color: var(--texto-2); font-size: 14px; }
@media (max-width: 900px) { .biz { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .biz__list { grid-template-columns: 1fr; } }

/* imprime */
.imprime { background: var(--oro); color: var(--negro); text-align: center; overflow: hidden; }
.imprime__inner { display: grid; justify-items: center; gap: 22px; }
.imprime__title { margin: 0; font: 700 clamp(48px, 10vw, 140px)/.95 var(--f-titulo); letter-spacing: -.04em; color: var(--negro); }
.imprime__text { font-size: clamp(17px, 1.6vw, 21px); color: rgba(0, 0, 0, .75); }

/* preguntas */
.faq__wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--linea); }
.faq__item { border-bottom: 1px solid var(--linea); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font: 600 clamp(17px, 1.6vw, 20px)/1.3 var(--f-titulo); color: var(--blanco);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--dorado); transition: transform .4s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__item p { padding: 0 0 24px; color: var(--texto-2); max-width: 60ch; }
@media (max-width: 900px) { .faq__wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: transparent; }
.footer__stage { height: clamp(420px, 46vw, 620px); display: grid; place-items: center; }
.footer__stage img { width: clamp(120px, 16vw, 200px); height: auto; }
.has-3d .footer__stage img { display: none; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 60px; border-top: 1px solid var(--linea); }
.footer__brand { display: grid; gap: 18px; justify-items: start; }
.footer__brand img { width: 240px; }
.footer__brand p { color: var(--texto-2); }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { margin: 0 0 6px; font: 600 12px var(--f-texto); letter-spacing: .28em; text-transform: uppercase; color: var(--champan); }
.footer__col a, .footer__col span { color: var(--texto-2); text-decoration: none; font-size: 15px; }
.footer__col a:hover { color: var(--blanco); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--linea); font-size: 13px; color: var(--texto-2); }
.footer__legal a { text-decoration: none; }
.credit strong { font-weight: 600; background: var(--oro); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- transición al cambiar de tema ---------- */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color .6s ease, color .6s ease, border-color .6s ease, fill .6s ease !important;
}

/* ---------- MODO CLARO ---------- */
[data-theme="light"] {
  --bg: #F7F1E8;
  --negro-2: #EFE5D6;
  --texto: #3A2A1F;
  --texto-2: rgba(58, 42, 31, .74);
  --blanco: #140C07;               /* títulos */
  --champan: #9A5B12;              /* etiquetas y detalles */
  --linea: rgba(74, 51, 38, .16);
  --hdr-bg: rgba(247, 241, 232, .8);
  --menu-bg: rgba(247, 241, 232, .97);
  --card: rgba(255, 255, 255, .6);
  color-scheme: light;
}
[data-theme="light"] .gold { background-image: linear-gradient(100deg, #A85A00 0%, #C98A1B 40%, #8F4E00 75%, #B97D12 100%); }
[data-theme="light"] .scene__glow {
  background: radial-gradient(60% 55% at 72% 45%, rgba(223, 137, 1, .16), transparent 70%),
              radial-gradient(90% 70% at 50% 0%, #EADBC4 0%, transparent 65%);
}
[data-theme="light"] .grain { opacity: .05; mix-blend-mode: multiply; }
[data-theme="light"] .scene__logo { opacity: calc(.12 * var(--hf, 1)); }
[data-theme="light"] .chips li,
[data-theme="light"] .benefit,
[data-theme="light"] .drink { background: var(--card); }
[data-theme="light"] .xcard:not(.xcard--cta),
[data-theme="light"] .step { background: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .85)); }
[data-theme="light"] .step.is-active { background: #FFFFFF; }
[data-theme="light"] .xcard__n { -webkit-text-stroke-color: rgba(154, 91, 18, .35); }
[data-theme="light"] .como__visual { background: radial-gradient(70% 60% at 50% 45%, #EADBC4, #D9C4A5); }
[data-theme="light"] .card__icon { background: rgba(255, 255, 255, .8); color: #B8730F; }
[data-theme="light"] .btn--ghost { border-color: rgba(74, 51, 38, .3); }
[data-theme="light"] .btn--dark { color: #FAD998; }
[data-theme="light"] .btn--dark:hover { color: #FFFFFF; }
[data-theme="light"] .marquee span:nth-of-type(even) { -webkit-text-stroke-color: #B8730F; }
[data-theme="light"] .burger span { background: var(--texto); }
[data-theme="light"] .footer__brand img, [data-theme="light"] .brand__word { filter: saturate(1.15) brightness(.85); }

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .marquee__track, .hero__visual, .scroll-hint i { animation: none; }
}

/* =========================================================
   Formulario del QR y página de gracias
   ========================================================= */
.lead-page { min-height: 100vh; display: flex; flex-direction: column; }
.lead-page .scene__glow { opacity: .9; }
.hdr--simple .btn--sm { min-height: 40px; padding: 0 16px; font-size: 13px; }
.lead-main { flex: 1; display: flex; align-items: center; padding: 112px 0 40px; position: relative; z-index: 1; }
.lead { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.lead > *, .thanks > * { animation: leadIn .9s var(--ease) both; }
.lead > :nth-child(2) { animation-delay: .12s; }
@keyframes leadIn { from { opacity: 0; transform: translateY(24px); } }
.lead__title { margin: 0 0 16px; font: 700 clamp(40px, 6vw, 80px)/1 var(--f-titulo); letter-spacing: -.03em; color: var(--blanco); }
.lead__text { max-width: 44ch; color: var(--texto-2); font-size: clamp(16px, 1.4vw, 19px); }
.lead__video {
  margin-top: 28px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--linea);
  aspect-ratio: 16 / 9; background: radial-gradient(70% 70% at 50% 40%, rgba(74, 51, 38, .6), #0B0806);
}
.lead__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead__card {
  padding: clamp(24px, 3vw, 38px); border-radius: 26px; border: 1px solid var(--linea);
  background: linear-gradient(170deg, rgba(42, 26, 18, .72), rgba(11, 8, 6, .82));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.lead__card-title { margin: 0; font: 700 26px var(--f-titulo); color: var(--blanco); }
.lead__card-text { margin: 4px 0 22px; color: var(--texto-2); font-size: 14px; }
.lead__card .field { margin-bottom: 16px; }
.lead__card .field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--champan); }
.lead__card .field input {
  width: 100%; height: 52px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--blanco);
  background: rgba(0, 0, 0, .45); border: 1px solid var(--linea); border-radius: 14px; outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.lead__card .field input::placeholder { color: rgba(245, 239, 230, .35); }
.lead__card .field input:focus { border-color: var(--dorado); box-shadow: 0 0 0 4px rgba(223, 137, 1, .2); background: rgba(0, 0, 0, .6); }
.lead__card .check { margin: 6px 0 22px; }
.lead__card .check__label { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--texto-2); cursor: pointer; }
.lead__card .check__label input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--dorado); }
.lead__submit { width: 100%; }
.lead__card .error { margin: 6px 0 0; font-size: 13px; color: #FF8A80; }
.lead__card .error-box { margin-bottom: 16px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 138, 128, .1); color: #FF8A80; font-size: 14px; }
.lead__card .error-box ul { margin: 0; padding-left: 18px; }
.lead-page .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 18px var(--pad) 22px; border-top: 1px solid var(--linea); font-size: 13px; color: var(--texto-2); }
@media (max-width: 900px) {
  .lead { grid-template-columns: 1fr; }
  .lead__intro { text-align: left; }
  .lead-main { padding-top: 96px; }
}

/* gracias */
.thanks { display: grid; justify-items: center; text-align: center; gap: 4px; max-width: 760px; }
.thanks .lead__text { margin: 0 auto 28px; }
.thanks__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.thanks__badge { position: relative; width: 132px; height: 132px; margin-bottom: 22px; }
.thanks__badge svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 24px rgba(223, 137, 1, .45)); }
.thanks__ring, .thanks__tick { fill: none; stroke: var(--dorado); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.thanks__ring { stroke-width: 3; animation: draw 1s var(--ease) .25s forwards; }
.thanks__tick { stroke-width: 6; stroke: var(--dorado-2); animation: draw .6s var(--ease) 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spark { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 50%;
  background: var(--dorado-3); box-shadow: 0 0 12px var(--dorado); opacity: 0; animation: spark 1.1s var(--ease) 1.2s forwards; }
.spark.s1 { --x: -78px; --y: -50px; } .spark.s2 { --x: 80px; --y: -44px; } .spark.s3 { --x: -64px; --y: 62px; }
.spark.s4 { --x: 70px; --y: 66px; } .spark.s5 { --x: 0; --y: -90px; animation-delay: 1.3s; } .spark.s6 { --x: 4px; --y: 92px; animation-delay: 1.35s; }
@keyframes spark { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 30% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1); } }

[data-theme="light"] .lead__card { background: linear-gradient(170deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .7)); box-shadow: 0 30px 80px -40px rgba(74, 51, 38, .45); }
[data-theme="light"] .lead__card .field input { background: #FFFFFF; color: #1A120C; border-color: rgba(74, 51, 38, .22); }
[data-theme="light"] .lead__card .field input::placeholder { color: rgba(58, 42, 31, .4); }
[data-theme="light"] .lead__card .error, [data-theme="light"] .lead__card .error-box { color: #B3261E; }
[data-theme="light"] .lead__video { background: #E6D6BE; }
@media (prefers-reduced-motion: reduce) { .lead > *, .thanks > *, .spark { animation: none; } .thanks__ring, .thanks__tick { animation: none; stroke-dashoffset: 0; } }

/* =========================================================
   Transición entre páginas (cortina)
   ========================================================= */
.pt { position: fixed; inset: 0; z-index: 300; pointer-events: none; visibility: hidden; }
.pt__panel {
  position: absolute; inset: 0; display: grid; place-items: center; transform: translateY(100%);
  background: radial-gradient(60% 50% at 50% 50%, #2A1A12 0%, #000 72%);
}
.pt__panel::before, .pt__panel::after {
  content: ""; position: absolute; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #DF8901, #F7D675 40%, #E0AB3C 70%, #FCE587);
  box-shadow: 0 0 34px 8px rgba(223, 137, 1, .55);
}
.pt__panel::before { top: 0; }
.pt__panel::after { bottom: 0; }
.pt__logo { width: clamp(70px, 9vw, 110px); height: auto; opacity: 0; transform: scale(.8); filter: drop-shadow(0 0 30px rgba(223, 137, 1, .5)); }
.pt.is-in, .pt.is-cover { visibility: visible; pointer-events: all; }
.pt.is-in .pt__panel { animation: ptIn .62s cubic-bezier(.76, 0, .24, 1) forwards; }
.pt.is-in .pt__logo { animation: ptLogoIn .45s .22s cubic-bezier(.22, 1, .36, 1) forwards; }
.pt.is-cover .pt__panel { transform: none; }
.pt.is-cover .pt__logo { opacity: 1; transform: none; }
.pt.is-cover.is-out .pt__panel { animation: ptOut .8s .12s cubic-bezier(.76, 0, .24, 1) forwards; }
.pt.is-cover.is-out .pt__logo { animation: ptLogoOut .35s forwards; }
@keyframes ptIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes ptOut { from { transform: none; } to { transform: translateY(-100%); } }
@keyframes ptLogoIn { to { opacity: 1; transform: none; } }
@keyframes ptLogoOut { to { opacity: 0; transform: scale(1.12) translateY(-12px); } }
/* mientras carga la página nueva, cubrir de inmediato para que no se vea un parpadeo */
.pt-arriving body::after { content: ""; position: fixed; inset: 0; z-index: 299; background: #000; }

/* botón de sonido del video del formulario */
.lead__video { position: relative; }
.lead__unmute {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; cursor: pointer; font: 600 13px var(--f-texto); color: #FFFFFF;
  background: rgba(0, 0, 0, .55); border: 1px solid rgba(250, 217, 152, .4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, border-color .3s, color .3s;
}
.lead__unmute:hover { border-color: #DF8901; }
.lead__unmute .u-on { display: none; }
.lead__unmute.is-on { color: #FAD998; border-color: #DF8901; }
.lead__unmute.is-on .u-on { display: inline; }
.lead__unmute.is-on .u-off { display: none; }
.lead__unmute:not(.is-on) { animation: unmutePulse 2.2s ease-in-out infinite; }
@keyframes unmutePulse { 50% { box-shadow: 0 0 0 6px rgba(223, 137, 1, .22); } }

/* =========================================================
   Fotos en Experiencias y Bebidas
   (provisionales de Pexels; se cambian en static/img/fotos/)
   ========================================================= */
.xcard--foto { background: #0B0806; }
.xcard--foto::before { display: none; }
.xcard__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.xcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s;
  filter: saturate(.9) contrast(1.05) brightness(.9);
}
.xcard__media::before {      /* sombra para que el texto se lea sobre cualquier foto */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .06) 24%, rgba(0, 0, 0, .12) 42%, rgba(11, 8, 6, .9) 74%, rgba(11, 8, 6, .97) 100%),
    linear-gradient(205deg, rgba(223, 137, 1, .24), transparent 55%);
}
.xcard__media::after {       /* luz dorada que sigue al mouse */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(246, 182, 56, .22), transparent 45%);
}
.xcard--foto:hover .xcard__media img { transform: scale(1.1); filter: saturate(1.05) contrast(1.05) brightness(1); }
.xcard--foto:hover .xcard__media::after { opacity: 1; }
.xcard--foto h3, .xcard--foto p { position: relative; }
.xcard--foto h3 { color: #FFFFFF; }
.xcard--foto p { color: rgba(245, 239, 230, .84); }
.xcard--foto .xcard__n { -webkit-text-stroke-color: rgba(250, 217, 152, .6); }
.xcard--foto .card__icon { background: rgba(0, 0, 0, .5); border-color: rgba(250, 217, 152, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
[data-theme="light"] .xcard--foto { background: #0B0806; }
[data-theme="light"] .xcard--foto .xcard__n { -webkit-text-stroke-color: rgba(250, 217, 152, .6); }

.drink { padding: 10px 10px 26px; overflow: hidden; }
.drink__media { position: relative; margin: 0 0 -86px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #120B07; }
.drink__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.2s var(--ease); }
.drink__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 50%, rgba(11, 8, 6, .7) 100%); }
.drink:hover .drink__media img { transform: scale(1.09); }
.drink .cup { transform: scale(.66); transform-origin: 50% 100%; margin: 0 auto 6px; }
.drink .cup::before {        /* disco detrás de la tacita para separarla de la foto */
  content: ""; position: absolute; left: -26px; right: -12px; top: -10px; bottom: -22px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 8, 6, .96) 64%, rgba(11, 8, 6, 0));
}
.drink h3, .drink p { padding: 0 12px; }
[data-theme="light"] .drink__media { background: #EADBC4; }
[data-theme="light"] .drink__media::after { background: linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, .5) 100%); }
[data-theme="light"] .drink .cup::before { background: radial-gradient(closest-side, rgba(255, 255, 255, .97) 64%, rgba(255, 255, 255, 0)); }
@media (max-width: 560px) {
  .drinks { gap: 10px; }
  .drink { padding: 6px 6px 20px; }
  .drink .cup { transform: scale(.52); margin-bottom: 0; }
  .drink__media { margin-bottom: -96px; }
  .drink h3 { font-size: 17px; }
  .drink h3, .drink p { padding: 0 6px; }
  .drink p { font-size: 13px; }
}

/* =========================================================
   Versión liviana (equipos modestos, ahorro de datos o ?lite)
   La activa el encabezado o, si la página va lenta, la escena 3D.
   ========================================================= */
.perf-low .grain { display: none; }
.perf-low .hdr::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--menu-bg); }
.perf-low .card__icon, .perf-low .lead__card, .perf-low .lead__unmute { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.perf-low .scene__logo { filter: none; }
.perf-low .como__scan { animation: none; opacity: 0; }
.perf-low .xcard__media img, .perf-low .drink__media img { transition: none; filter: none; }
.perf-low .btn { will-change: auto; }

/* =========================================================
   Política de tratamiento de datos
   ========================================================= */
.lead-main--doc { display: block; padding-top: 128px; padding-bottom: 72px; }
body:has(.legal) .hdr::before { opacity: 1; }      /* página larga: el encabezado siempre con fondo */
body:has(.legal) .hdr { border-color: var(--linea); }
html:has(.legal) { scroll-behavior: smooth; }
.legal__head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 60px); animation: leadIn .9s var(--ease) both; }
.legal__title { margin: 0 0 14px; font: 700 clamp(34px, 5.4vw, 66px)/1.04 var(--f-titulo); letter-spacing: -.03em; color: var(--blanco); }
.legal__meta { color: var(--texto-2); font-size: 14px; letter-spacing: .02em; }
.legal__grid { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal__toc { position: sticky; top: 104px; padding: 18px 18px 14px; border-radius: 18px; border: 1px solid var(--linea); background: var(--card); }
.legal__toc-title { margin-bottom: 10px; font: 600 11px var(--f-texto); letter-spacing: .3em; text-transform: uppercase; color: var(--champan); }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a {
  display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: 14px; color: var(--texto-2); text-decoration: none;
  transition: background .3s, color .3s;
}
.legal__toc a::before { content: counter(toc, decimal-leading-zero); flex: none; min-width: 20px; font: 600 12px/1.6 var(--f-titulo); color: var(--champan); opacity: .7; }
.legal__toc a:hover { color: var(--blanco); background: rgba(223, 137, 1, .08); }
.legal__toc a.is-active { color: var(--blanco); background: rgba(223, 137, 1, .14); }
.legal__toc a.is-active::before { opacity: 1; }
.legal__body { max-width: 780px; animation: leadIn .9s var(--ease) .12s both; }
.legal__intro { margin-bottom: 34px; font-size: clamp(16px, 1.4vw, 18px); color: var(--texto-2); }
.legal__intro strong, .legal__sec strong { color: var(--blanco); font-weight: 600; }
.legal__sec { scroll-margin-top: 104px; padding: 30px 0; border-top: 1px solid var(--linea); }
.legal__sec h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 16px; font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--f-titulo); color: var(--blanco); }
.legal__sec h2 span { font-size: .62em; background: var(--oro); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal__sec h3 { margin: 22px 0 8px; font-size: 17px; color: var(--champan); }
.legal__sec p { margin: 0 0 12px; color: var(--texto-2); }
.legal__sec a:not(.btn) { color: var(--dorado-2); text-decoration: none; border-bottom: 1px solid rgba(246, 182, 56, .35); }
.legal__sec a:not(.btn):hover { border-color: var(--dorado-2); }
.legal__card { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--linea); background: var(--linea); }
.legal__card div { padding: 14px 18px; background: var(--negro-2); }
.legal__card dt { margin-bottom: 3px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--champan); }
.legal__card dd { margin: 0; color: var(--blanco); font-size: 15px; overflow-wrap: anywhere; }
.legal__list, .legal__steps { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 10px; }
.legal__list li { position: relative; padding-left: 22px; color: var(--texto-2); }
.legal__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--oro); }
.legal__steps { counter-reset: st; }
.legal__steps li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: var(--texto-2); }
.legal__steps li::before {
  content: counter(st); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 700 14px var(--f-titulo); color: var(--negro); background: var(--oro);
}
.legal__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 16px; padding: 0; list-style: none; }
.legal__chips li { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(223, 137, 1, .45); color: var(--blanco); font-weight: 600; font-size: 14px; background: rgba(223, 137, 1, .08); }
.legal__contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.legal__sec .legal__chan, .legal__chan {
  display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--linea); background: var(--card);
  color: var(--blanco); font-size: 14px; overflow-wrap: anywhere; text-decoration: none; transition: border-color .3s, transform .4s var(--ease);
}
.legal__chan span { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--champan); }
a.legal__chan:hover { border-color: var(--dorado); transform: translateY(-2px); }
.legal__end { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 30px; border-top: 1px solid var(--linea); }
[data-theme="light"] .legal__card div { background: #FFFFFF; }
[data-theme="light"] .legal__sec a:not(.btn) { color: #8F4E00; border-color: rgba(143, 78, 0, .35); }
@media (max-width: 900px) {
  .lead-main--doc { padding-top: 104px; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .legal__toc ol { grid-template-columns: 1fr 1fr; }
  .legal__contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .legal__card { grid-template-columns: 1fr; }
  .legal__toc ol { grid-template-columns: 1fr; }
}

/* nota bajo la casilla de autorización y enlaces legales en los pies de página */
.lead__card .check__label a { color: var(--dorado-2); text-decoration: underline; text-underline-offset: 2px; }
.lead__card .check__note { margin: 8px 0 0 32px; font-size: 12px; color: var(--texto-2); opacity: .85; }
.lead-foot a, .footer__legal a { color: inherit; text-decoration: none; transition: color .3s; }
.lead-foot a:hover, .footer__legal a:hover { color: var(--dorado-2); }
[data-theme="light"] .lead__card .check__label a { color: #8F4E00; }