/* Livestream MX · Bodas
   Marfil, arena y dorado. Serif de alto contraste con sans ligera. Sin la paleta corporativa. */
body.bodas {
  --bg: #f4eee4;
  --bg-2: #fbf8f2;
  --sand: #e2d6c3;
  --ink: #3a3129;
  --ink-2: #5c5047;
  --muted: #6f6253;
  --line: #e2d6c3;
  --gold: #8a6a3b;
  --gold-2: #b9975b;
  --orange: #8a6a3b;
  --orange-2: #8a6a3b;
  --card: #fbf8f2;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Jost", "Avenir Next", "Helvetica Neue", sans-serif;
  color-scheme: light;
  background: var(--bg);
  color: var(--ink);
  font-weight: 300;
}
.bodas .display { font-family: var(--display); font-stretch: normal; font-weight: 400; letter-spacing: -.01em; line-height: 1; }
.bodas .kicker { color: var(--gold); letter-spacing: .3em; }
.bodas .lead { color: var(--ink-2); font-weight: 300; }
.bodas .btn { font-weight: 400; letter-spacing: .04em; }
.bodas .btn-primary { background: var(--ink); color: #fbf8f2; box-shadow: 0 14px 40px -16px rgba(58,49,41,.55); }
.bodas .btn-ghost { border-color: var(--ink); background: rgba(251,248,242,.4); color: var(--ink); }
.bodas .nav.scrolled { background: rgba(244,238,228,.82); border-color: rgba(58,49,41,.1); }
.bodas .nav-links a:hover, .bodas .nav-links a[aria-current] { color: var(--gold); }
.bodas .lang { border-color: rgba(58,49,41,.3); }
.bodas .lang button[aria-pressed="true"] { background: var(--ink); color: #fbf8f2; }
.bodas .nav .btn { min-height: 38px; }
@media (max-width: 1080px) { .bodas .nav-links { background: rgba(244,238,228,.97); } }
.b-logo { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.b-logo span { font-family: var(--display); font-size: 26px; font-weight: 600; }
.b-logo small { font-size: 11px; letter-spacing: .3em; color: var(--gold); }
.bodas .footer { border-color: var(--line); color: var(--muted); padding: 40px 0; }
.bodas .footer a { color: var(--gold); }
.bodas .field input, .bodas .field select, .bodas .field textarea { background: transparent; border: 0; border-bottom: 1px solid #b9a88e; border-radius: 0; color: var(--ink); padding-inline: 0; }
.bodas .field { color: var(--ink-2); letter-spacing: .04em; }
.bodas :focus-visible { outline-color: var(--gold); }

/* Hero con capas de profundidad */
.b-hero { position: relative; height: 180vh; }
.b-hero .stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; perspective: 1000px; }
.b-hero .bg { position: absolute; inset: -4%; transform: scale(calc(1.12 - .1 * var(--p, 0))) translate3d(var(--mx, 0px), var(--my, 0px), 0); transition: transform .4s var(--ease); }
.b-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.b-hero .veil { position: absolute; inset: 0; background: rgba(244,238,228, calc(.64 + .26 * var(--p, 0))); }
.b-hero .copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 0 var(--gutter); max-width: 980px; transform: translate3d(calc(var(--mx, 0px) * -1.6), calc(var(--my, 0px) * -1.6), 60px) translateY(calc(-40px * var(--p, 0))); transition: transform .4s var(--ease); }
.b-hero h1 { font-size: clamp(50px, 7vw, 112px); }
.b-hero h1 em { color: var(--gold); }

.b-intro { padding: 160px var(--gutter); display: flex; justify-content: center; }
.b-intro p { font-family: var(--display); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.2; text-align: center; max-width: 960px; margin: 0; text-wrap: balance; }

/* Pestañas con giro */
.tabs-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 48px; }
.tabs-bar [role="tab"] { border: 1px solid #cdbfa9; background: transparent; border-radius: 999px; padding: 12px 24px; min-height: 46px; cursor: pointer; letter-spacing: .04em; color: var(--ink); }
.tabs-bar [role="tab"][aria-selected="true"] { background: var(--ink); color: #fbf8f2; border-color: var(--ink); }
.trad { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; align-items: center; perspective: 1600px; }
.trad .ph { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 6px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(58,49,41,.55); }
.trad .ph img { width: 100%; height: 100%; object-fit: cover; }
.flip-in .ph { animation: flip .9s var(--ease) both; }
.flip-in .tx { animation: rise .9s .1s var(--ease) both; }
@keyframes flip { from { transform: rotateY(-70deg) translateZ(-120px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.trad .tx { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.moments { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.moments li { border: 1px solid #cdbfa9; border-radius: 999px; padding: 8px 16px; font-size: 14px; background: var(--bg-2); }

/* Servicios */
.b-services { background: var(--bg-2); padding: 140px 0; }
.b-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 32px; }
.b-grid div { border-top: 1px solid #cdbfa9; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.b-grid strong { font-family: var(--display); font-size: 27px; font-weight: 600; }

/* Reproductor en perspectiva */
.b-stream { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 64px; align-items: center; padding-block: 140px; perspective: 1600px; }
.device { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 60px 100px -50px rgba(58,49,41,.6); transform: rotateX(calc(28deg * (1 - min(var(--p, 0) * 2.2, 1)))) rotateY(calc(-18deg * (1 - min(var(--p, 0) * 2.2, 1)))) translateZ(0); transform-origin: 50% 80%; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--ink); }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player .live { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; align-items: center; font-size: 11px; letter-spacing: .14em; color: #fbf8f2; background: rgba(58,49,41,.7); padding: 4px 10px; border-radius: 999px; }
.player .live i { width: 7px; height: 7px; border-radius: 50%; background: #e0533d; animation: blink 1.6s infinite; }
.player .names { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-family: var(--display); font-style: italic; font-size: 24px; color: #fbf8f2; background: rgba(58,49,41,.55); padding: 2px 14px; border-radius: 6px; white-space: nowrap; }
.tz { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.tz div { display: grid; grid-template-columns: minmax(0, 1fr) auto 70px; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.tz b { font-weight: 500; }
.tz span:last-child { text-align: right; color: var(--muted); font-size: 13px; }

.b-respect { background: var(--ink); color: #f4eee4; padding: 120px var(--gutter); text-align: center; }
.b-respect .kicker { color: #d9c29a; }
.b-respect p { font-family: var(--display); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.3; max-width: 900px; margin: 18px auto 0; }

/* Anillo 3D de galería */
.ring-wrap { padding: 140px 0 100px; overflow: hidden; }
.ring-stage { height: 520px; perspective: 1800px; cursor: grab; touch-action: pan-y; user-select: none; }
.ring-stage.grab { cursor: grabbing; }
.ring { position: relative; width: 300px; height: 400px; margin: 40px auto 0; transform-style: preserve-3d; }
.ring.glide { transition: transform .7s var(--ease); }
.ring figure { position: absolute; inset: 0; margin: 0; border-radius: 6px; overflow: hidden; backface-visibility: hidden; box-shadow: 0 30px 60px -30px rgba(58,49,41,.6); }
.ring figure img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ring figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 13px; letter-spacing: .06em; color: #fbf8f2; background: linear-gradient(transparent, rgba(58,49,41,.75)); }
.ring-nav { display: flex; justify-content: center; gap: 10px; }
.ring-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #cdbfa9; background: var(--bg-2); cursor: pointer; display: grid; place-items: center; }
@media (max-width: 600px) { .ring { width: 220px; height: 300px; } .ring-stage { height: 400px; } }

.b-quote { padding: 100px var(--gutter); text-align: center; }
.b-quote blockquote { font-family: var(--display); font-style: italic; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.3; max-width: 860px; margin: 0 auto 20px; }
.b-form { background: var(--bg-2); padding: 130px 0; }
.b-form form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; max-width: 920px; margin: 40px auto 0; }
