/* =================================================================
   AMARGADAS PERO FORRADAS · Landing Rocío Magán
   Maquetado 1:1 desde Figma (frame "Landing" 1440px)
   ================================================================= */

/* ---------- Fuentes locales (assets/fonts) ---------- */
@font-face {
  font-family: "Benton Mod Disp Comp";
  src: url("../assets/fonts/BentonModDispComp-Light.woff2") format("woff2"),
       url("../assets/fonts/BentonModDispComp-Light.otf") format("opentype"),
       url("../assets/fonts/BentonModDispComp-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Benton Mod Disp Comp";
  src: url("../assets/fonts/BentonModDispComp-Regular.woff2") format("woff2"),
       url("../assets/fonts/BentonModDispComp-Regular.otf") format("opentype"),
       url("../assets/fonts/BentonModDispComp-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --red: #9f110f;
  --red-light: #d71e1e;
  --brown: #92521d;
  --gold: #ad7742;
  --cta-brown: #a3734a;
  --ink: #23160a;
  --text: #7b5c3f;
  --text-italic: #704d2f;
  --text-hero: #6f4c2b;
  --cream: #fff7ed;

  --bg-sand: #f8eee6;
  --bg-cream: #fff8f2;
  --bg-white: #fffdfc;
  --bg-hero: #EEE2D6;

  --f-display: "Benton Mod Disp Comp", "Bodoni Moda", "Didot", serif;
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --f-cta: "Instrument Serif", serif;
  --f-script: "Mrs Saint Delafield", cursive;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Recorte de caja de texto como en Figma (cap height / baseline) */
.trim { text-box: trim-both cap alphabetic; }

.c-red { color: var(--red) !important; }
.c-red-light { color: var(--red-light) !important; }
.c-brown { color: var(--brown) !important; }
.c-gold { color: var(--gold) !important; }
.d-block { display: block; }
.center { text-align: center; }

/* ---------- Layout ---------- */
.section { padding: 68px 20px; display: flex; flex-direction: column; align-items: center; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; }
.section--2 { background: var(--bg-sand); }
.section--3, .section--4, .section--6, .section--8 { background: var(--bg-cream); }
.section--5, .section--7, .section--9, .section--10 { background: var(--bg-white); }

.stack-56 { display: flex; flex-direction: column; align-items: center; gap: 56px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }

.split { display: flex; align-items: center; justify-content: center; gap: 80px; }
.split__col { padding: 36px 0; }
.split__col--left { width: 481px; }
.split__col--right { width: 479px; display: flex; flex-direction: column; align-items: center; }

/* ---------- Tipografía ---------- */
.display {
  text-wrap: balance;
  font-family: var(--f-display);
  font-weight: 300;
  text-transform: uppercase;
  color: var(--ink);
}
.display--92 { font-size: 92px; line-height: 88px; letter-spacing: -1.84px; }
.display--68 { font-size: 68px; line-height: 64px; letter-spacing: -1.36px; }
.title-481 { width: 481px; max-width: 100%; text-align: center; }
.nowrap-desktop { white-space: nowrap; text-align: center; }

.card-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.64px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.card-text { font-size: 18px; line-height: 24px; letter-spacing: -0.36px; color: var(--text); }
.num { font-weight: 500; font-size: 18px; line-height: 24px; letter-spacing: -0.36px; color: var(--text); white-space: nowrap; }

.body-italic { font-style: italic; font-size: 18px; line-height: 24px; letter-spacing: -0.36px; color: var(--text-italic); }
.quote { text-wrap: balance; font-size: 20px; line-height: 26px; letter-spacing: -0.4px; color: var(--text-hero); text-align: center; font-weight: 500; }
.quote em { font-weight: 400; }

/* ---------- CTA ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  border-radius: 8px;
  color: var(--cream);
  font-family: var(--f-cta);
  font-size: 30px;
  line-height: normal;
  letter-spacing: -0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s var(--ease);
  will-change: transform;
}
.cta--red { background: var(--red); }
.cta--brown { background: var(--cta-brown); }
.cta--full { width: 100%; padding: 20px 16px; } /* card de entrada: sigue a todo el ancho (340px útiles) */
.cta__icon { width: 28px; height: 28px; flex-shrink: 0; transition: transform .45s var(--ease); }
/* Hover / press / magnetismo → css/motion.css */
.cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* =================================================================
   HERO (coordenadas Figma escaladas con --u)
   ================================================================= */
.hero {
  --u: min(1px, calc(100vw / 1440));
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg-hero) url("../assets/images/hero-background.png") center top / auto 100% no-repeat;
}
.hero__stage {
  position: relative;
  width: calc(1440 * var(--u));
  height: calc(856 * var(--u));
  margin: 0 auto;
}
.hero__stage > * { position: absolute; }

.hero__title {
  top: calc(327 * var(--u));
  left: calc(50% + 5.5 * var(--u));
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-weight: 300;
  font-size: calc(148 * var(--u));
  line-height: normal;
  letter-spacing: calc(-2.96 * var(--u));
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--red);
  background: radial-gradient(ellipse 28% 90% at 21% 0%, rgba(0,0,0,.28) 21%, rgba(0,0,0,0) 62%), var(--red);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 1;
}
.hero__pero {
  left: calc(737.5 * var(--u));
  top: calc(357 * var(--u));
  width: calc(74 * var(--u));
  height: calc(42 * var(--u));
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-90deg);
  background: rgba(255, 255, 255, .12);
  font-family: var(--f-display);
  font-weight: 300;
  font-size: calc(32 * var(--u));
  letter-spacing: calc(-0.64 * var(--u));
  color: #fff;
  z-index: 1;
}
.hero__hat {
  left: calc(343.83 * var(--u));
  top: calc(300 * var(--u));
  width: calc(90.85 * var(--u));
  height: calc(63.32 * var(--u));
  object-fit: contain;
  z-index: 2;
}
.hero__signature {
  left: calc(1153.5 * var(--u));
  top: calc(447 * var(--u));
  font-family: var(--f-script);
  font-size: calc(36 * var(--u));
  letter-spacing: calc(-0.72 * var(--u));
  color: #a4734a;
  white-space: nowrap;
  z-index: 1;
}

/* Cinta */
.tape {
  top: calc(580 * var(--u));
  left: 50%;
  transform: translateX(-50%);
  width: max(calc(1600 * var(--u)), 100vw);
  height: calc(36 * var(--u));
  min-height: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: rgba(255, 250, 244, .45);
  z-index: 2;
}
.tape__track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  will-change: transform;
}
.tape__track span {
  padding: 0 calc(16 * var(--u));
  font-weight: 500;
  font-size: max(12px, calc(16 * var(--u)));
  letter-spacing: -0.32px;
  text-transform: uppercase;
  color: #a4734a;
  white-space: nowrap;
}

.hero__rocio {
  left: 50%;
  top: 0;
  width: auto;
  max-width: none;
  height: 100%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero__fade {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: max(calc(1441 * var(--u)), 100vw);
  height: calc(856 * var(--u));
  background: radial-gradient(
    ellipse calc(2033 * var(--u)) calc(491 * var(--u)) at 50% calc(365 * var(--u)),
    rgba(238, 226, 214, 0) 55.86%,
    rgba(238, 226, 214, .76) 63.74%,
    rgba(238, 226, 214, 1) 91.45%
  );
  pointer-events: none;
  z-index: 4;
}

/* Logo */
.logo {
  top: calc(48 * var(--u));
  left: calc(605 * var(--u));
  width: calc(231 * var(--u));
  height: calc(20.41 * var(--u));
  z-index: 5;
}
.logo__text {
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: calc(28.53 * var(--u));
  letter-spacing: calc(-0.5706 * var(--u));
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--red);
}
.logo__pero {
  position: absolute;
  left: calc(115.5 * var(--u));
  top: calc(4.5 * var(--u));
  width: calc(20.41 * var(--u));
  height: calc(11.41 * var(--u));
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-90deg);
  font-family: var(--f-display);
  font-weight: 300;
  font-size: calc(8.655 * var(--u));
  letter-spacing: calc(-0.1731 * var(--u));
  color: var(--red-light);
}

/* Etiqueta */
.event-label {
  top: calc(109 * var(--u));
  left: calc(50% - 0.5 * var(--u));
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  background: linear-gradient(93.69deg, #a4744b 0%, #bd8c61 100.72%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.28px;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
  z-index: 5;
}

.hero__cta {
  top: calc(571 * var(--u));
  left: calc(50% + 0.5 * var(--u));
  translate: -50% 0;
  z-index: 6;
}
.hero__text {
  top: calc(695 * var(--u));
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 92vw);
  text-align: center;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.4px;
  color: var(--text-hero);
  z-index: 6;
}
.hero__text-accent { color: #b48254; }

/* Entrada del hero */
.hero__signature, .logo, .event-label, .hero__cta, .hero__text, .hero__rocio {
  animation-duration: 1.1s;
  animation-timing-function: var(--ease);
  animation-fill-mode: both;
}
.logo, .event-label { animation-name: heroDown; }
.hero__rocio { animation-name: heroRocio; animation-delay: .05s; }
.hero__signature { animation-name: heroFade; animation-delay: .7s; }
.hero__cta { animation-name: heroUp; animation-delay: .5s; }
.hero__text { animation-name: heroUp; animation-delay: .65s; }

@keyframes heroDown  { from { opacity: 0; translate: 0 -14px; } to { opacity: 1; translate: 0 0; } }
@keyframes heroUp    { from { opacity: 0; margin-top: 18px; } to { opacity: 1; margin-top: 0; } }
@keyframes heroFade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroRocio { from { opacity: 0; margin-top: 24px; } to { opacity: 1; margin-top: 0; } }

/* Tape separador entre secciones (mismo estilo que la cinta del hero) */
.tape-band {
  position: relative;
  width: 100%;
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #f5eadf;
}
.tape-band .tape__track span {
  padding: 0 16px;
  font-size: 16px;
}

/* =================================================================
   SECTION 2 · Comentarios
   ================================================================= */
.comments-col { gap: 36px; }
.comments {
  display: block;
  width: 463px;
  max-width: 100%;
  height: auto;            /* mantiene la proporción: nunca se aplasta */
  object-fit: contain;
  transition: transform .6s var(--ease);
}
.comments:hover { transform: scale(1.03) rotate(-.5deg); }

/* =================================================================
   SECTION 3
   ================================================================= */
.body-italic p { min-height: 24px; }
.photo--vida {
  width: 379px; height: 460px; max-width: 100%;
  border-radius: 8px; overflow: hidden;
}
.photo--vida img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 0%; transition: transform 1.2s var(--ease); }
.photo--vida:hover img { transform: scale(1.04); }

/* =================================================================
   SECTION 4 · Pilares
   ================================================================= */
.pillars { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; }
.pillar {
  width: 366px;
  display: flex; flex-direction: column; gap: 40px;
  padding: 40px 36px 48px;
  background: var(--bg-white);
  border: 1px solid var(--gold);
  border-radius: 8px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pillar__top { display: flex; justify-content: space-between; align-items: flex-start; }
.icon-48 { width: 48px; height: 48px; object-fit: contain; }
.pillar__content { display: flex; flex-direction: column; gap: 28px; }

/* =================================================================
   SECTION 5 · Ponentes
   ================================================================= */
.speakers { width: 100vw; }
.speakers__viewport {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.speakers__viewport.is-dragging { cursor: grabbing; }
.speakers__track { display: flex; gap: 16px; width: max-content; will-change: transform; user-select: none; }

.speaker {
  position: relative;
  flex-shrink: 0;
  width: 400px;
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: #121212 var(--speaker-bg, none) center / cover no-repeat;
}
.speaker__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, center top);
  pointer-events: none;
  transition: transform 1s var(--ease);
}
.speaker::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 48.104%, rgba(0,0,0,.8) 79.7%, #000 100%);
  pointer-events: none;
}
.speaker:hover .speaker__img { transform: scale(1.05); }
.speaker__text {
  position: absolute;
  left: 40px; bottom: 48px;
  width: calc(100% - 40px);
  display: flex; flex-direction: column; gap: 24px;
  z-index: 1;
}
.speaker__name {
  font-family: var(--f-script);
  font-size: 48px;
  line-height: normal;
  letter-spacing: -0.96px;
  color: #feebdb;
  white-space: nowrap;
}
.speaker__role { font-size: 18px; line-height: 32px; letter-spacing: -0.64px; color: #6f6f6f; }

/* =================================================================
   SECTION 6 · Agenda
   ================================================================= */
.stages { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.stage-row { display: flex; align-items: center; justify-content: center; gap: 80px; }
.stage-card {
  width: 480px;
  display: flex; flex-direction: column; gap: 40px;
  padding: 40px 36px 48px;
  border: 2px dashed var(--gold);
  border-radius: 8px;
  transition: background-color .4s var(--ease);
}
.stage-card:hover { background: var(--bg-white); }
.stage-img { width: 400px; height: 240px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.stage-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 11.6%; transition: transform 1.2s var(--ease); }
.stage-row:hover .stage-img img { transform: scale(1.05); }

/* =================================================================
   SECTION 7 · Para ti si
   ================================================================= */
.fit { width: 100%; display: flex; justify-content: center; align-items: flex-start; gap: 40px; }
.fit-card {
  display: flex; flex-direction: column; gap: 40px;
  padding: 40px 40px 48px 36px;
  background: var(--bg-white);
  border: 1px solid var(--red);
  border-radius: 8px;
}
.check-list, .info-list { display: flex; flex-direction: column; gap: 16px; }
.check-list li, .info-list li { display: flex; align-items: center; gap: 16px; }
.check-list img, .info-list img { width: 24px; height: 24px; flex-shrink: 0; object-fit: contain; }
.check-list span { font-size: 22px; line-height: 28px; letter-spacing: -0.44px; color: var(--ink); white-space: nowrap; }

/* =================================================================
   SECTION 8 · Entradas
   ================================================================= */
.tickets { width: 100%; display: flex; justify-content: center; align-items: flex-start; gap: 40px; }
.ticket {
  width: 396px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  padding: 28px;
  border: 2px dashed var(--gold);
  border-radius: 8px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
/* Si solo hay una entrada, la card gana algo de anchura para no quedar perdida */
.tickets > .ticket:only-child { width: 460px; }
.ticket__img { width: 100%; height: 168px; border-radius: 8px; overflow: hidden; }
.ticket__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 11.6%; }
.ticket__content { width: 100%; display: flex; flex-direction: column; gap: 28px; }
.price { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 400; line-height: 36px; text-transform: uppercase; white-space: nowrap; }
.price__now { font-size: 68px; letter-spacing: -1.36px; color: var(--gold); }
.price__old { font-size: 32px; letter-spacing: -0.64px; color: var(--ink); }
.ticket__list { font-size: 18px; line-height: 26px; letter-spacing: -0.36px; color: var(--text); }
.ticket__list--red { color: var(--red-light); }
.ticket__list p { min-height: 26px; }
.ticket__list ul { list-style: disc; }
.ticket__list li { margin-left: 24px; color: var(--ink); }
.ticket__bottom { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 12px; }
.secure img { width: 22px; height: 22px; }
.secure span { font-weight: 500; font-size: 18px; line-height: 24px; letter-spacing: -0.36px; color: var(--text); }

/* =================================================================
   SECTION 9 · Ubicación
   ================================================================= */
.info-list { gap: 24px; }
.info-list span { flex: 1; font-size: 22px; line-height: 28px; letter-spacing: -0.44px; color: var(--ink); }
.venue {
  display: block;
  width: 100%; height: 440px;
  border: 2px solid var(--red);
  border-radius: 8px;
  overflow: hidden;
}
.venue img { width: 100%; height: 100%; object-fit: cover; object-position: 95% center; transition: transform 1.2s var(--ease); }
.venue:hover img { transform: scale(1.04); }

/* =================================================================
   SECTION 10 · FAQ
   ================================================================= */
.faq { width: 880px; max-width: 100%; }
.faq__item { border-bottom: 1px solid var(--gold); }
.faq__item:first-child { border-top: 1px solid var(--gold); }
.faq__item summary {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 22px; line-height: 28px; letter-spacing: -0.44px;
  color: var(--ink);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary img { width: 24px; height: 24px; flex-shrink: 0; transition: transform .45s var(--ease); }
.faq__item summary:hover { background: rgba(173, 119, 66, .06); }
.faq__item[open] summary { color: var(--red); }
.faq__item[open] summary img { transform: rotate(-12deg) scale(1.1); }
.faq__answer { overflow: hidden; }
.faq__answer p {
  padding: 0 24px 22px 64px;
  font-size: 18px; line-height: 26px; letter-spacing: -0.36px;
  color: var(--text);
}
.faq__answer a { color: var(--red); text-decoration: underline; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { background: var(--bg-sand); padding: 68px 20px; }
.footer__content {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-style: italic; font-size: 18px; line-height: 24px; letter-spacing: -0.36px;
  color: var(--text-italic);
  white-space: nowrap;
}
.footer__content a:hover { color: var(--red); }

/* =================================================================
   Reveal on scroll
   ================================================================= */
[data-reveal] { opacity: 0; translate: 0 28px; transition: opacity 1s var(--ease), translate 1s var(--ease), filter 1s var(--ease); }
[data-reveal].is-visible { opacity: 1; translate: 0 0; }
.pillars > [data-reveal]:nth-child(2), .fit > [data-reveal]:nth-child(2), .tickets > [data-reveal]:nth-child(2) { transition-delay: .12s; }
.pillars > [data-reveal]:nth-child(3) { transition-delay: .24s; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1240px) {
  .pillars { gap: 24px; }
  .pillar { width: auto; flex: 1; }
  .card-title { white-space: normal; }
  .fit-card { flex: 1; min-width: 0; }
  .check-list span { white-space: normal; }
}

@media (max-width: 1100px) {
  .split { flex-direction: column; gap: 32px; }
  .split__col--left, .split__col--right { width: 100%; max-width: 560px; }
  .split__col { padding: 0; }
  .section--3 .split__col--left { order: 0; }

  .pillars { flex-direction: column; align-items: center; }
  .pillar { width: 100%; max-width: 560px; }

  .stage-row, .stage-row--reverse { flex-direction: column; gap: 20px; width: 100%; max-width: 560px; }
  .stage-row--reverse .stage-img { order: 2; }
  .stage-card, .stage-img { width: 100%; }
  .stage-img { height: auto; aspect-ratio: 400 / 240; }

  .fit { flex-direction: column; align-items: center; }
  .fit-card { width: 100%; max-width: 560px; }
  .check-list span { white-space: normal; }

  .tickets { flex-direction: column; align-items: center; }
  .ticket { width: 100%; max-width: 420px; }

  .nowrap-desktop { white-space: normal; }
  .display--92 { font-size: 72px; line-height: 70px; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__stage { height: calc(856 * var(--u) + 56px); }
  .hero__fade { height: calc(856 * var(--u) + 56px); }
}

/* ---------- Hero móvil / tablet (Figma "Hero" móvil · frame 440px) ----------
   --m = 1px en un móvil de 440px. Escala entre 0.8px (≈350px) y 1.3px (tablet),
   así la composición se mantiene idéntica en cualquier ancho. */
@media (max-width: 1023px) {
  .hero {
    --m: clamp(0.8px, calc(100vw / 440), 1.3px);
  }
  .hero__stage {
    width: 100%;
    height: auto;
    min-height: calc(856 * var(--m));
  }

  /* Logo */
  .logo { top: calc(48 * var(--m)); left: calc(50% - 115.5 * var(--m)); width: calc(231 * var(--m)); height: calc(20.41 * var(--m)); }
  .logo__text { font-size: calc(28.53 * var(--m)); letter-spacing: calc(-0.5706 * var(--m)); }
  .logo__pero {
    left: calc(115.5 * var(--m)); top: calc(4.5 * var(--m));
    width: calc(20.41 * var(--m)); height: calc(11.41 * var(--m));
    font-size: calc(8.655 * var(--m)); letter-spacing: calc(-0.1731 * var(--m));
  }

  /* Etiqueta */
  .event-label {
    top: calc(109 * var(--m));
    font-size: max(11.5px, calc(14 * var(--m)));
    padding: calc(12 * var(--m)) calc(14 * var(--m));
    gap: calc(6 * var(--m));
  }

  /* Título en dos líneas: el <h1> pasa a ser un lienzo y cada palabra se coloca como en Figma */
  .hero__title {
    inset: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    font-size: calc(113.846 * var(--m));
    letter-spacing: calc(-2.2769 * var(--m));
    background: none;
    -webkit-text-fill-color: currentColor;
    pointer-events: none;
  }
  .hero__space { display: none; }
  .hero__word {
    position: absolute;
    left: 50%;
    translate: -50% 0;
    white-space: nowrap;
    color: var(--red);
  }
  .hero__word--1 {
    top: calc(236 * var(--m));
    background: radial-gradient(ellipse 14% 95% at 74% 12%, rgba(0,0,0,.32) 21%, rgba(0,0,0,0) 62%), var(--red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero__word--2 {
    top: calc(338.2 * var(--m));
    left: calc(50% + 36.74 * var(--m));
  }

  /* "PERO" vertical rojo, pegado al borde izquierdo */
  .hero__pero {
    left: max(calc(50% - 238.76 * var(--m)), calc(-18.76 * var(--m)));
    top: calc(350.2 * var(--m));
    width: calc(90.56 * var(--m));
    height: calc(53.04 * var(--m));
    background: none;
    color: var(--red-light);
    font-size: calc(38.811 * var(--m));
    letter-spacing: calc(-0.7762 * var(--m));
  }

  /* Sombrero */
  .hero__hat {
    display: block;
    left: calc(50% + 68.97 * var(--m));
    top: calc(216 * var(--m));
    width: calc(78.91 * var(--m));
    height: calc(55 * var(--m));
  }

  /* Rocío: ajustada a la altura del hero, centrada */
  .hero__rocio {
    top: 0;
    height: calc(856 * var(--m));
    width: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__fade {
    display: block;
    width: 100vw;
    height: calc(856 * var(--m));
    background: radial-gradient(
      ellipse calc(2033 * var(--m)) calc(491 * var(--m)) at 50% calc(365 * var(--m)),
      rgba(238, 226, 214, 0) 55.86%,
      rgba(238, 226, 214, .76) 63.74%,
      rgba(238, 226, 214, 1) 91.45%
    );
  }
  /* Todo lo que queda por debajo de la imagen se funde con el color del hero */
  .hero__stage::after {
    content: "";
    position: absolute;
    left: 50%; translate: -50% 0;
    top: calc(855 * var(--m));
    bottom: 0;
    width: 100vw;
    background: var(--bg-hero);
    z-index: 4;
  }

  /* Firma */
  .hero__signature {
    left: calc(50% - 68 * var(--m));
    top: calc(504 * var(--m));
    font-size: calc(36 * var(--m));
    letter-spacing: calc(-0.72 * var(--m));
  }

  /* Cinta */
  .tape { top: calc(574 * var(--m)); width: 100vw; height: 36px; }
  .tape__track span { font-size: 15px; padding: 0 14px; }

  /* CTA centrado sobre la cinta */
  .hero__cta { top: calc(592 * var(--m) - 25px); font-size: 26px; padding: 16px 20px; gap: 10px; }
  .hero__cta .cta__icon { width: 24px; height: 24px; }

  /* Texto: en flujo normal para que el hero crezca si hace falta */
  .hero__text {
    position: relative;
    left: auto; top: auto;
    transform: none;
    width: min(calc(380 * var(--m)), calc(100% - 40px));
    margin: 0 auto;
    padding: calc(671 * var(--m)) 0 calc(56 * var(--m));
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.36px;
  }

  @keyframes heroUp { from { opacity: 0; } to { opacity: 1; } }

  /* Títulos de sección centrados en móvil y tablet */
  .section .display { text-align: center; }
  .br-desktop { display: none; }
  .split__col--left { display: flex; flex-direction: column; align-items: center; }
  .split__col--left .display { width: 100%; }
}

@media (max-width: 767px) {
  .section { padding: 56px 20px; }
  .stack-56 { gap: 40px; }
  .display--92 { font-size: 56px; line-height: 54px; letter-spacing: -1.1px; }
  .display--68 { font-size: 46px; line-height: 44px; letter-spacing: -0.9px; }
  .card-title { font-size: 28px; line-height: 32px; }


  .photo--vida { width: 100%; height: auto; aspect-ratio: 379 / 460; }

  .speaker { width: 300px; height: 400px; }
  .speaker__text { left: 28px; bottom: 32px; gap: 16px; }
  .speaker__name { font-size: 40px; }

  .stage-card, .pillar { padding: 32px 24px 36px; gap: 28px; }
  .fit-card { padding: 32px 24px 36px; }
  .check-list span, .info-list span, .faq__item summary { font-size: 20px; line-height: 26px; }

  .ticket { padding: 20px; }
  .price__now { font-size: 60px; }

  .venue { height: auto; aspect-ratio: 479 / 440; }

  .faq__item summary { padding: 18px 12px; }
  .faq__answer p { padding: 0 12px 18px 52px; }

  .cta { font-size: 26px; padding: 16px 20px; gap: 10px; }
  .cta__icon { width: 24px; height: 24px; }
  .cta--full { padding: 18px 12px; }
  .footer { padding: 40px 20px; }
  .footer__content { flex-direction: column; white-space: normal; text-align: center; }
}

/* ---------- CTA flotante móvil ---------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .cta.sticky-cta {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    font-size: 24px;
    padding: 15px 16px;
    box-shadow: 0 14px 30px -12px rgba(159, 17, 15, .55);
    opacity: 0;
    visibility: hidden;
    translate: 0 calc(100% + 24px);
    transition: translate .6s cubic-bezier(.16, 1, .3, 1), opacity .4s ease, visibility 0s linear .6s;
  }
  .cta.sticky-cta.is-shown {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    transition: translate .6s cubic-bezier(.16, 1, .3, 1), opacity .4s ease, visibility 0s;
  }
  .footer { padding-bottom: calc(40px + 72px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 400px) {
  .cta { font-size: 22px; padding: 15px 16px; }
  .cta__icon { width: 22px; height: 22px; }
  .ticket { padding: 16px; }
  .display--92 { font-size: 50px; line-height: 48px; }
  .display--68 { font-size: 42px; line-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; translate: none; filter: none; }
  html { scroll-behavior: auto; }
}
