/* ==========================================================================
   El Indio — Mauricio Medina
   Concepto: escenario con spotlight. Tema oscuro cálido + acento rojo de marca.
   Sin frameworks. Tipografía: Passion One (marquesina) + Nunito Sans.
   ========================================================================== */

/* ----------------------------- Tokens ----------------------------------- */
:root {
  /* Paleta bloqueada (tema oscuro "escenario") */
  --bg:        #0c0a09;
  --bg-2:      #141010;
  --surface:   #1b1512;
  --surface-2: #221a15;
  --ink:       #f6efe6;
  --muted:     #bcaf9f;
  --muted-2:   #8b7f70;
  --line:      rgba(246, 239, 230, 0.10);
  --line-2:    rgba(246, 239, 230, 0.18);

  /* Acento único: rojo de marca (logo) */
  --amber:        #fb020d;
  --amber-deep:   #8a0107;
  --amber-bright: #ff3b35;
  --amber-soft:   rgba(251, 2, 13, 0.14);

  /* Estados semánticos (sólo para pills de disponibilidad, distintos del acento de marca) */
  --ok:   #78c07a;
  --few:  #f3b23c;
  --sold: #d9694f;

  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  --shadow:    0 26px 60px -30px rgba(0, 0, 0, 0.85);
  --shadow-amber: 0 30px 80px -40px rgba(251, 2, 13, 0.45);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1240px;

  --font-display: "Passion One", "Nunito Sans", sans-serif;
  --font-head: "Nunito Sans", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
}

/* ----------------------------- Reset ------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.02; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--amber); color: #fff; font-weight: 700;
  padding: 10px 16px; border-radius: 10px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------- Texturas / atmósfera ----------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.stage-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 72% 8%, rgba(251, 2, 13, 0.16), transparent 60%),
    radial-gradient(55% 40% at 15% 0%, rgba(251, 2, 13, 0.08), transparent 55%);
}

#top-sentinel { position: absolute; top: 0; height: 1px; width: 100%; }


/* ----------------------------- Botones ---------------------------------- */
.btn {
  --pad-y: 0.95rem;
  --pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), box-shadow .25s var(--ease), color .2s;
}
.btn--sm { --pad-y: 0.6rem; --pad-x: 1.05rem; font-size: 0.88rem; }

.btn--solid {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(251, 2, 13, 0.7);
}
.btn--solid:hover { background: var(--amber-bright); transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(251, 2, 13, 0.8); }
.btn--solid:active { transform: translateY(0) scale(0.98); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0) scale(0.98); }

/* ------------------------------- Nav ------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12, 10, 9, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 65px; width: auto; display: block; }

.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; color: var(--muted);
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--amber); transition: width .28s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: .75rem; }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px;
  background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; width: 20px; margin-inline: auto; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 90;
  background: rgba(12, 10, 9, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2rem 1.5rem;
  animation: menuIn .3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .4rem; }
.mobile-menu a {
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--ink);
}
.mobile-menu .btn { margin-top: 1.2rem; border-bottom: none; justify-content: center; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ------------------------------ Hero ------------------------------------ */
.hero {
  position: relative;
  margin-top: -72px;          /* la foto sube detrás del nav transparente */
  padding-top: 72px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(12,10,9,0.60) 0%, transparent 24%, transparent 52%, rgba(12,10,9,0.94) 100%),
    linear-gradient(90deg, rgba(12,10,9,0.97) 0%, rgba(12,10,9,0.86) 30%, rgba(12,10,9,0.5) 60%, rgba(12,10,9,0.18) 100%),
    radial-gradient(70% 60% at 78% 30%, rgba(251,2,13,0.12), transparent 60%),
    url("fotos/hero.webp");
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, 68% 26%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.10); } }

.hero__grid {
  position: relative; z-index: 2;
  width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto;
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(560px, 90vh, 880px);
  padding-block: clamp(3rem, 7vh, 6rem) clamp(2rem, 4vw, 3rem);
}
.hero__copy { max-width: 640px; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.74rem;
  color: var(--amber); margin-bottom: 1.1rem;
}

.hero__title { display: flex; flex-direction: column; margin-bottom: 1.5rem; }
.hero__kicker {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.1rem, 1.4vw + 0.6rem, 1.6rem);
  color: var(--muted); letter-spacing: 0.02em; margin-bottom: .35rem;
}
.hero__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.2rem, 15vw, 11rem);
  line-height: 0.86;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #ff9d95 46%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 20px 40px rgba(251, 2, 13, 0.18));
}

.hero__lead {
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.3rem);
  color: var(--muted); max-width: 44ch; margin-bottom: 1.9rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.hero__meta li {
  font-size: 0.92rem; color: var(--muted-2);
  padding-left: 1rem; border-left: 2px solid var(--amber-soft);
}
.hero__meta strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }

/* Retrato + spotlight */
.hero__portrait { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.spotlight {
  position: absolute; z-index: -1; left: 50%; top: -8%; transform: translateX(-50%);
  width: 150%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 2, 13, 0.32) 0%, rgba(251, 2, 13, 0.08) 38%, transparent 62%);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

.frame {
  position: relative; border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.frame > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
}
.frame--portrait { aspect-ratio: 4 / 5; }
.frame__bulbs {
  position: absolute; z-index: 3; top: 10px; left: 12px; right: 12px; height: 12px;
  background-image: radial-gradient(circle, var(--amber) 0 2.5px, transparent 3px);
  background-size: 20px 12px; background-repeat: repeat-x;
  opacity: .9; animation: blink 1.6s steps(2, jump-none) infinite;
  filter: drop-shadow(0 0 4px rgba(251, 2, 13, 0.7));
}
@keyframes blink { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

.badge-live {
  position: absolute; z-index: 4; bottom: clamp(1.5rem, 5vh, 3rem); right: 4px;
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(12, 10, 9, 0.72); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: .4rem .8rem; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .12em;
}
.badge-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sold); box-shadow: 0 0 0 0 rgba(217, 105, 79, .6); animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(217, 105, 79, .55); } 70% { box-shadow: 0 0 0 8px rgba(217, 105, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 105, 79, 0); } }

/* Placeholder de imagen (se reemplaza por <img>) */
.ph {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(251, 2, 13, 0.12), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 12px),
    var(--surface-2);
  color: var(--muted-2);
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .5rem .9rem; border: 1px dashed var(--line-2); border-radius: 999px;
  color: var(--muted); background: rgba(12,10,9,0.35);
}

/* Marquesina (ticker) */
.ticker {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(251,2,13,0.05), transparent);
  overflow: hidden; padding-block: .85rem;
}
.ticker__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.ticker__track span {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.3rem, 3.4vw, 2.2rem); letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1px var(--muted-2);
  padding-right: .4rem; white-space: nowrap;
}
.ticker__track i { color: var(--amber); -webkit-text-stroke: 0; font-style: normal; margin-inline: .3rem; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--ticker-distance, 50%))); }
}

/* ---------------------------- Secciones --------------------------------- */
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); scroll-margin-top: 84px; }

.section__head {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}
.section__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4rem);
  letter-spacing: -0.02em; line-height: 0.98;
}
.section__intro { color: var(--muted); max-width: 52ch; font-size: 1.05rem; }
.section__title em, .regreso em, .section__intro em { font-style: italic; color: var(--amber); }

@media (min-width: 860px) {
  .section__head { grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; }
  .section__head .section__intro { justify-self: end; text-align: right; }
}

/* ------------------------------ Shows ----------------------------------- */
.shows { background: linear-gradient(180deg, transparent, rgba(20,16,16,0.6) 20%, transparent); }

.show-feature {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (min-width: 860px) { .show-feature { grid-template-columns: 1.05fr 1fr; } }

.show-feature__media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); }
@media (min-width: 860px) { .show-feature__media { aspect-ratio: auto; height: 100%; min-height: 420px; } }
.show-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.show-feature__body {
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex; flex-direction: column; gap: .5rem;
}
.show-feature__tag {
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; font-size: .74rem;
  color: var(--amber); margin-bottom: .4rem;
}
.show-feature__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -0.01em; line-height: 1.04;
}
.show-feature__sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; }

.show-feature__facts { display: grid; gap: .9rem; margin-bottom: 1.8rem; }
.show-feature__facts li { display: flex; align-items: center; gap: .8rem; font-size: 1rem; color: var(--ink); font-weight: 600; }
.show-feature__icon {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--amber-soft); color: var(--amber);
}

.show-feature__cta { align-self: flex-start; }

.tour__foot { margin-top: 1.8rem; color: var(--muted); text-align: center; }
.tour__foot a { color: var(--amber); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------- Biografía ---------------------------------- */
.bio__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 920px) { .bio__grid { grid-template-columns: 0.85fr 1.15fr; } }

.bio__media { position: relative; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame--tall img { object-position: 48% center; }
.bio__quote {
  margin-top: -2.5rem; margin-left: auto; width: 84%;
  position: relative; z-index: 5;
  background: var(--amber); color: #fff;
  padding: 1.3rem 1.4rem; border-radius: var(--radius);
  box-shadow: var(--shadow-amber);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.25;
}

.bio__copy p { color: var(--muted); margin-bottom: 1.1rem; max-width: 60ch; }
.bio__copy strong { color: var(--ink); font-weight: 700; }
.bio__copy .section__title { margin-bottom: 1.6rem; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
}
.stats__num { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--amber); line-height: 1; }
.stats__lbl { display: block; margin-top: .5rem; font-size: .84rem; color: var(--muted-2); max-width: 18ch; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; gap: 1.4rem; } .stats__lbl { max-width: none; } }

/* --------------------------- El Regreso --------------------------------- */
.regreso { text-align: center; }
.regreso__inner {
  position: relative;
  overflow: hidden;
  background-color: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: var(--shadow);
}
.regreso__inner::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(80% 120% at 50% 0%, rgba(251, 2, 13, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(12, 10, 9, 0.94) 0%, rgba(12, 10, 9, 0.90) 45%, rgba(12, 10, 9, 0.95) 100%),
    url("fotos/footer.webp");
  background-size: cover, cover, cover;
  background-position: center, center, center 22%;
  background-repeat: no-repeat, no-repeat, no-repeat;
}
.regreso__inner > * { position: relative; z-index: 1; }
.regreso__tag {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em; font-size: .74rem;
  color: var(--amber); border: 1px solid var(--amber-soft);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.regreso__title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 5.5rem); line-height: .9; letter-spacing: .01em;
  margin-bottom: 1.5rem;
}
.regreso__title span {
  background: linear-gradient(180deg, var(--amber), var(--amber-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.regreso__lead { color: var(--muted); max-width: 58ch; margin: 0 auto 2.5rem; font-size: 1.1rem; }

.regreso__points {
  display: grid; grid-template-columns: 1fr; gap: 1.2rem;
  text-align: left; margin-bottom: 2.5rem;
}
@media (min-width: 760px) { .regreso__points { grid-template-columns: repeat(3, 1fr); } }
.point { padding: 1.3rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.point__n { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--amber); display: block; margin-bottom: .5rem; }
.point p { color: var(--muted); font-size: .96rem; }

/* --------------------------- Escuela (bento) ---------------------------- */
.bento {
  display: grid; grid-template-columns: 1fr; gap: 1.1rem;
}
@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
  }
  .cell--feature { grid-column: 1 / -1; }
  .cell--cta { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .cell--feature { grid-column: span 2; grid-row: span 3; }
  .cell--cta { grid-column: 3; }
}

.cell {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column; gap: .6rem;
}
.cell:hover { transform: translateY(-3px); border-color: var(--line-2); }
.cell h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.cell p { color: var(--muted); font-size: .96rem; }

.cell--feature { padding: 0; overflow: hidden; gap: 0; }
.cell--feature .cell__media { position: relative; flex: 1 1 auto; min-height: 220px; }
.cell--feature .cell__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.cell--feature .cell__body { padding: 1.6rem; flex: none; }
.cell--feature h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.cell--amber {
  background:
    radial-gradient(120% 120% at 100% 0, rgba(251,2,13,0.22), transparent 55%),
    var(--surface-2);
  border-color: var(--amber-soft);
}
.cell--cta { background: var(--amber); color: #fff; justify-content: space-between; }
.cell--cta h3 { color: #fff; }
.cell--cta p { color: rgba(255, 255, 255, 0.82); }
.cell--cta .btn { align-self: flex-start; margin-top: .6rem; background: #1c0403; color: #fff; box-shadow: none; }
.cell--cta .btn:hover { background: #0f0201; transform: translateY(-2px); }

/* ---------------------------- Videos ------------------------------------ */
.videos__title { margin-bottom: clamp(2rem, 4vw, 3rem); }
.gallery { display: grid; gap: 1.1rem; }
.gallery__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (min-width: 720px) { .gallery__row { grid-template-columns: repeat(4, 1fr); } }

.clip {
  position: relative; display: block; width: 100%; margin: 0; padding: 0;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  aspect-ratio: 16 / 9;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.clip--big { aspect-ratio: 21 / 9; }
.clip:hover, .clip:focus-visible { transform: translateY(-3px); border-color: var(--amber-soft); }

.clip__thumb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(0.92) brightness(0.86);
  transition: filter .3s var(--ease), transform .5s var(--ease);
}
.clip:hover .clip__thumb, .clip:focus-visible .clip__thumb {
  filter: saturate(1) brightness(0.7); transform: scale(1.04);
}

.play {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(251, 2, 13, 0.94); box-shadow: 0 10px 30px -8px rgba(251,2,13,0.7);
  transition: transform .3s var(--ease), background .3s;
}
.play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff;
}
.clip--big .play { width: 78px; height: 78px; }
.clip--big .play::after { border-width: 13px 0 13px 21px; }
.clip:hover .play, .clip:focus-visible .play { transform: translate(-50%, -50%) scale(1.08); background: var(--amber-bright); }

.clip__cap {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.2rem .95rem; font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  background: linear-gradient(0deg, rgba(12,10,9,0.92), transparent);
}
.clip--big .clip__cap { font-size: 1.2rem; padding: 1.8rem 1.5rem 1.15rem; }

/* Modal de reproducción */
.video-modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1.4rem; }
.video-modal[hidden] { display: none; }
.video-modal__backdrop {
  position: absolute; inset: 0; background: rgba(6, 5, 4, 0.88);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.video-modal__panel { position: relative; z-index: 1; width: min(100%, 960px); }
.video-modal__frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; background: #000;
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal__close {
  position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s var(--ease);
}
.video-modal__close:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-1px); }

/* ------------------------------ IGLU TV ----------------------------------
   Acento frío (azul hielo) puntual para esta sección, en crédito al canal
   aliado IGLU TV. Excepción deliberada al rojo de marca del resto del sitio,
   igual que el verde de WhatsApp. La sección tiene su propio fondo helado
   para reemplazar el resplandor rojo ambiental del resto de la página. */
.iglutv {
  position: relative;
  background:
    radial-gradient(120% 90% at 12% -10%, rgba(150, 225, 255, 0.14), transparent 55%),
    radial-gradient(90% 80% at 100% 110%, rgba(190, 240, 255, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, #0a1620 100%);
}

.iglutv__heading { display: flex; align-items: center; gap: 1.1rem; }
.iglutv__badge {
  height: clamp(52px, 8vw, 76px); width: auto; flex: none;
  filter: drop-shadow(0 10px 22px rgba(127, 217, 255, 0.28));
}
.iglutv__brand { color: #7fd9ff; }

.iglutv__panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(190, 240, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(200, 240, 255, 0.16), rgba(127, 217, 255, 0.03) 45%),
    linear-gradient(320deg, rgba(127, 217, 255, 0.12), transparent 55%),
    var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 40px 90px -40px rgba(60, 180, 230, 0.55),
    var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.iglutv__grid {
  display: grid; grid-template-columns: 1fr; gap: 1.1rem;
  padding: 1.5rem 1.5rem 0;
}
@media (min-width: 720px) {
  .iglutv__grid { grid-template-columns: repeat(3, 1fr); }
  .iglutv__clip--big { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .iglutv__grid { grid-auto-rows: 1fr; }
  .iglutv__clip--big { grid-column: span 2; grid-row: span 3; aspect-ratio: auto; height: 100%; min-height: 320px; }
}

.iglutv__clip {
  position: relative; display: block; width: 100%; margin: 0; padding: 0;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(127, 217, 255, 0.22); background: #04070a;
  aspect-ratio: 16 / 9;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.iglutv__clip:hover, .iglutv__clip:focus-visible { transform: translateY(-3px); border-color: #7fd9ff; }
.iglutv__clip img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(0.92) brightness(0.82);
  transition: filter .3s var(--ease), transform .5s var(--ease);
}
.iglutv__clip:hover img, .iglutv__clip:focus-visible img { filter: saturate(1) brightness(0.68); transform: scale(1.04); }
.iglutv__play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(127, 217, 255, 0.94); box-shadow: 0 10px 26px -8px rgba(20, 120, 170, 0.7);
  transition: transform .3s var(--ease), background .3s;
}
.iglutv__play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #04070a;
}
.iglutv__clip:hover .iglutv__play, .iglutv__clip:focus-visible .iglutv__play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.iglutv__cap {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1rem .85rem; font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  background: linear-gradient(0deg, rgba(4,7,10,0.94), transparent);
}
.iglutv__clip--big .iglutv__play { width: 68px; height: 68px; }
.iglutv__clip--big .iglutv__play::after { border-width: 12px 0 12px 19px; }
.iglutv__clip--big .iglutv__cap { font-size: 1.15rem; padding: 1.7rem 1.4rem 1.2rem; }

.iglutv__foot {
  display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap;
  gap: 1rem; padding: 1.3rem 1.5rem;
  border-top: 1px solid rgba(127, 217, 255, 0.18);
}
.iglutv__foot .btn--ghost { border-color: rgba(127, 217, 255, 0.35); color: #cdeeff; }
.iglutv__foot .btn--ghost:hover { border-color: #7fd9ff; color: #7fd9ff; background: rgba(127, 217, 255, 0.08); transform: translateY(-2px); }

/* -------------------------- Testimonios --------------------------------- */
.testi { background: linear-gradient(180deg, transparent, rgba(20,16,16,0.55) 30%, transparent); }
.testi__title { margin-bottom: clamp(2rem, 4vw, 3rem); }
.testi__grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 820px) { .testi__grid { grid-template-columns: repeat(3, 1fr); } }

.quote {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.6rem; position: relative;
}
.quote::before {
  content: "\201C"; position: absolute; top: .2rem; left: 1rem;
  font-family: var(--font-display); font-weight: 900; font-size: 4rem; color: var(--amber-soft); line-height: 1;
}
.quote blockquote { margin: 1.2rem 0 1.2rem; font-size: 1.08rem; line-height: 1.5; color: var(--ink); }
.quote figcaption { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted-2); font-size: .88rem; margin-top: 2px; }

/* ---------------------------- Contacto ---------------------------------- */
.contacto__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .contacto__grid { grid-template-columns: 1fr 1fr; } }

.contacto__lead { color: var(--muted); margin: 1.4rem 0 2.2rem; max-width: 44ch; font-size: 1.05rem; }
.contacto__list { display: grid; gap: 1.3rem; }
.contacto__list li { display: flex; gap: 1rem; align-items: center; }
.ci { display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 12px; background: var(--amber-soft); color: var(--amber); border: 1px solid var(--amber-soft); }
.ci__k { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); }
.ci__v { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); transition: color .2s; }
a.ci__v:hover { color: var(--amber); }
.ci__v--static { font-weight: 600; }

/* Formulario */
.form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: .5rem; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft);
}
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23bcaf9f' stroke-width='2'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.form__submit { margin-top: .3rem; justify-content: center; }
.form__note { margin-top: .4rem; color: var(--ok); font-weight: 600; text-align: center; }

/* ----------------------------- Footer ----------------------------------- */
.footer {
  position: relative;
  background-color: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: 2rem; margin-top: 2rem;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(12, 10, 9, 0.97) 0%, rgba(12, 10, 9, 0.95) 45%, rgba(12, 10, 9, 0.97) 100%),
    url("fotos/footer.webp");
  background-size: cover, cover;
  background-position: center, center 22%;
  background-repeat: no-repeat, no-repeat;
}
.footer > .wrap { position: relative; z-index: 1; }
.footer__inner {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line);
}
@media (min-width: 820px) { .footer__inner { grid-template-columns: 1.3fr 1fr auto; } }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer__logo { height: clamp(48px, 8vw, 72px); width: auto; }
.footer__tag { color: var(--amber); font-family: var(--font-head); font-weight: 700; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .9rem 1.3rem; }
.footer__nav a { color: var(--muted); font-weight: 600; transition: color .2s; }
.footer__nav a:hover { color: var(--amber); }
.footer__social { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (min-width: 820px) { .footer__social { justify-self: end; } }
.footer__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-2); color: var(--ink); transition: all .25s var(--ease); }
.footer__social a:hover { color: var(--amber); border-color: var(--amber); transform: translateY(-2px); }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 1.5rem; color: var(--muted-2); font-size: .86rem;
}
.footer__legal { display: flex; flex-direction: column; gap: .3rem; }
.footer__credit a { color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.footer__credit a:hover { color: var(--amber); }
.footer__top {
  display: inline-flex; align-items: center; gap: .5rem; flex: none;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px;
  padding: .55rem 1rem; transition: color .2s, border-color .2s, transform .25s var(--ease);
}
.footer__top svg { transition: transform .25s var(--ease); }
.footer__top:hover { color: var(--amber); border-color: var(--amber); transform: translateY(-2px); }
.footer__top:hover svg { transform: translateY(-2px); }

/* --------------------- Botón flotante de WhatsApp ------------------------ */
.whatsapp-float {
  position: fixed; z-index: 85;
  right: clamp(16px, 4vw, 28px);
  bottom: calc(clamp(16px, 4vw, 28px) + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.55);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.65); }
.whatsapp-float:active { transform: translateY(0) scale(0.97); }
.whatsapp-float svg { position: relative; z-index: 1; }
.whatsapp-float__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; opacity: .55;
  animation: whatsappPulse 2.6s ease-out infinite;
}
@keyframes whatsappPulse {
  0%   { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 640px) {
  .whatsapp-float { width: 54px; height: 54px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
}

/* --------------------- Animaciones de reveal ---------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: .08s; }
.reveal[data-reveal-delay="2"] { transition-delay: .16s; }
.reveal[data-reveal-delay="3"] { transition-delay: .24s; }
.reveal[data-reveal-delay="4"] { transition-delay: .32s; }

/* ---------------------------- Responsive -------------------------------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .menu-toggle { display: flex; }
  .hero__grid { min-height: clamp(520px, 82vh, 720px); }
  .badge-live { display: none; }
  .hero__bg { background-position: center, center, center, 72% 22%; }
  .section__head .section__intro { text-align: left; }
}

@media (max-width: 620px) {
  .hero__meta { gap: 1.1rem; }
}

/* ------------------------- Reduced motion ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; transform: none; justify-content: center; }
  .spotlight, .frame__bulbs, .badge-live .dot, .hero__bg, .whatsapp-float__ring { animation: none; }
  .hero__bg { transform: none; }
  .whatsapp-float__ring { display: none; }
  * { transition-duration: .01ms !important; }
}
