/* =========================================================
   COPA 5 DE MAYO
   CSS COMPLETO · RESPONSIVE PREMIUM
   MÓVIL · TABLET · ESCRITORIO
   ========================================================= */

:root {
  --gold: #d8ad43;
  --gold-light: #f1cc70;
  --gold-dark: #a97d18;

  --bg: #060806;
  --bg2: #0b0e0b;
  --surface: #101410;
  --surface2: #151a15;

  --text: #f7f7f3;
  --text-soft: #c9cec7;
  --muted: #8d958c;

  --border: rgba(255,255,255,.10);
  --border-soft: rgba(255,255,255,.06);

  --header: rgba(6,8,6,.88);

  --shadow: 0 25px 80px rgba(0,0,0,.35);

  --radius: 18px;
  --radius-lg: 28px;

  --max: 1380px;

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

html.light-mode {
  --bg: #f3f4f1;
  --bg2: #ffffff;
  --surface: #ffffff;
  --surface2: #eef0ec;

  --text: #111511;
  --text-soft: #444b44;
  --muted: #687068;

  --border: rgba(0,0,0,.10);
  --border-soft: rgba(0,0,0,.06);

  --header: rgba(255,255,255,.90);

  --shadow: 0 25px 70px rgba(20,30,20,.12);
}

/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;

  background:
    radial-gradient(circle at 50% -10%, rgba(216,173,67,.07), transparent 35%),
    var(--bg);

  color: var(--text);

  font-family: "Montserrat", sans-serif;

  overflow-x: hidden;

  transition:
    background .35s ease,
    color .35s ease;
}

body,
button,
input,
textarea {
  font-family: "Montserrat", sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
video {
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

p {
  line-height: 1.75;
}

::selection {
  background: var(--gold);
  color: #111;
}

/* =========================================================
   NOISE
   ========================================================= */

.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;

  pointer-events: none;

  opacity: .025;

  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");

  mix-blend-mode: overlay;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  z-index: 1000;

  top: 0;
  left: 0;
  right: 0;

  min-height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding:
    10px
    max(18px, calc((100vw - var(--max)) / 2));

  background: var(--header);

  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  transition: .3s ease;
}

.site-header::before {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  top: 0;

  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    transparent
  );
}

/* =========================================================
   BRAND
   ========================================================= */

.brand {
  display: flex;
  align-items: center;

  gap: 11px;

  text-decoration: none;

  flex-shrink: 0;
}

.brand-mark {
  width: 49px;
  height: 49px;

  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;

  line-height: 1;
}

.brand-text b {
  color: var(--text);

  font-size: .84rem;
  font-weight: 900;

  letter-spacing: .08em;
}

.brand-text small {
  margin-top: 5px;

  color: var(--gold);

  font-size: .55rem;
  font-weight: 800;

  letter-spacing: .28em;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(14px, 2vw, 30px);

  margin-left: auto;
}

.main-nav a {
  position: relative;

  padding: 10px 2px;

  color: var(--text-soft);

  text-decoration: none;

  font-size: .70rem;
  font-weight: 800;

  letter-spacing: .08em;
  text-transform: uppercase;

  transition: .25s ease;
}

.main-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 2px;

  height: 2px;

  background: var(--gold);

  transform: scaleX(0);

  transition: transform .25s var(--ease);
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav .nav-cta {
  padding: 12px 18px;

  color: #111 !important;

  background: var(--gold);

  border-radius: 999px;

  box-shadow:
    0 8px 30px rgba(216,173,67,.18);
}

.main-nav .nav-cta::after {
  display: none;
}

.main-nav .nav-cta:hover {
  background: var(--gold-light);

  transform: translateY(-2px);
}

/* =========================================================
   HEADER CONTROLS
   ========================================================= */

.header-controls {
  display: flex;
  align-items: center;

  gap: 8px;
}

.live-weather {
  display: flex;
  align-items: center;

  gap: 7px;

  padding: 7px 11px;

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: 12px;
}

.live-weather > span {
  font-size: 1.05rem;
}

.live-weather div {
  display: flex;
  flex-direction: column;
}

.live-weather b {
  font-size: .66rem;
}

.live-weather small {
  margin-top: 2px;

  color: var(--muted);

  font-size: .45rem;
  font-weight: 800;

  letter-spacing: .14em;
}

/* =========================================================
   THEME
   ========================================================= */

.theme-toggle,
.menu-btn {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  padding: 0;

  color: var(--text);

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: 12px;

  transition: .25s ease;
}

.theme-toggle {
  font-size: 1.05rem;
}

.theme-toggle:hover,
.menu-btn:hover {
  color: var(--gold);

  border-color: var(--border-gold);

  transform: translateY(-2px);
}

/* =========================================================
   HAMBURGER
   ========================================================= */

.menu-btn {
  display: none;

  position: relative;
}

.menu-btn span {
  position: absolute;

  width: 19px;
  height: 2px;

  border-radius: 2px;

  background: currentColor;

  transition:
    transform .3s var(--ease),
    opacity .2s ease;
}

.menu-btn span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-btn span:nth-child(3) {
  transform: translateY(6px);
}

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  width: min(var(--max), calc(100% - 48px));

  margin-inline: auto;
}

.section-label {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-bottom: 25px;

  color: var(--gold);

  font-size: .68rem;
  font-weight: 900;

  letter-spacing: .18em;
}

.section-label::before {
  content: "";

  width: 28px;
  height: 2px;

  background: var(--gold);
}

.gold-line {
  margin: 0 0 12px;

  color: var(--gold-light);

  font-size: .73rem;
  font-weight: 900;

  letter-spacing: .14em;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;

  text-wrap: balance;
}

h2 {
  margin-bottom: 0;

  font-family: "Bebas Neue", sans-serif;

  font-size: clamp(3rem, 6vw, 6.5rem);

  font-weight: 400;

  line-height: .92;

  letter-spacing: .015em;
}

h2 span,
h3 span {
  color: var(--gold);
}

.muted {
  color: var(--muted);

  font-size: .95rem;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  min-height: 100svh;

  padding:
    145px 24px
    120px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  overflow: hidden;

  background:
    radial-gradient(
      ellipse at center 40%,
      rgba(216,173,67,.12),
      transparent 35%
    ),
    var(--bg);
}

.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      transparent 60%,
      var(--bg) 100%
    );
}

.hero-glow {
  position: absolute;

  width: min(70vw, 850px);
  height: min(70vw, 850px);

  border-radius: 50%;

  background: rgba(216,173,67,.07);

  filter: blur(80px);

  animation: heroPulse 7s ease-in-out infinite;
}

@keyframes heroPulse {
  0%,100% {
    transform: scale(.9);
    opacity: .5;
  }

  50% {
    transform: scale(1.08);
    opacity: .9;
  }
}

.hero-emblem {
  position: relative;
  z-index: 2;

  width: clamp(130px, 18vw, 240px);

  margin-bottom: 24px;
}

.hero-emblem img {
  width: 100%;

  filter:
    drop-shadow(0 25px 35px rgba(0,0,0,.45));
}

.hero-content {
  position: relative;
  z-index: 3;

  width: min(900px, 100%);
}

.eyebrow {
  display: inline-flex;

  padding: 8px 13px;

  margin-bottom: 15px;

  color: var(--gold-light);

  background: rgba(216,173,67,.07);

  border: 1px solid var(--border-gold);

  border-radius: 999px;

  font-size: .64rem;
  font-weight: 900;

  letter-spacing: .16em;
}

.live-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 23px;

  color: var(--muted);

  font-size: .61rem;
  font-weight: 700;

  letter-spacing: .12em;
}

.live-meta i {
  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: var(--gold);
}

.kicker {
  margin-bottom: 12px;

  color: var(--text-soft);

  font-size: .76rem;
  font-weight: 800;

  letter-spacing: .22em;
}

.hero h1 {
  margin: 0;
}

.hero-copa,
.hero-tepeaca {
  display: block;
}

.hero-copa {
  font-family: "Bebas Neue", sans-serif;

  font-size: clamp(4rem, 10vw, 9rem);

  line-height: .82;

  letter-spacing: .02em;

  color: var(--text);
}

.hero-tepeaca {
  margin-top: 8px;

  color: var(--gold);

  font-family: "Bebas Neue", sans-serif;

  font-size: clamp(2rem, 5vw, 4.5rem);

  line-height: .9;

  letter-spacing: .25em;
}

.hero-copy {
  width: min(650px, 100%);

  margin: 25px auto 0;

  color: var(--text-soft);

  font-size: clamp(.92rem, 1.5vw, 1.08rem);

  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 30px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  min-height: 50px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 22px;

  border-radius: 999px;

  text-decoration: none;

  font-size: .70rem;
  font-weight: 900;

  letter-spacing: .11em;

  transition: .25s var(--ease);
}

.btn.gold {
  color: #10110e;

  background: var(--gold);

  box-shadow:
    0 12px 35px rgba(216,173,67,.17);
}

.btn.gold:hover {
  background: var(--gold-light);

  transform: translateY(-3px);
}

.btn.outline {
  color: var(--text);

  background: transparent;

  border: 1px solid var(--border);
}

.btn.outline:hover {
  border-color: var(--gold);

  color: var(--gold);
}

/* =========================================================
   COUNTDOWN
   ========================================================= */

.countdown-wrap {
  margin-top: 35px;
}

.countdown-wrap > small {
  display: block;

  margin-bottom: 10px;

  color: var(--muted);

  font-size: .55rem;
  font-weight: 800;

  letter-spacing: .16em;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(7px, 2vw, 20px);
}

.countdown > div {
  min-width: 62px;
}

.countdown b {
  display: block;

  font-family: "Bebas Neue", sans-serif;

  font-size: clamp(2rem, 5vw, 3.5rem);

  font-weight: 400;

  line-height: 1;
}

.countdown span {
  display: block;

  margin-top: 4px;

  color: var(--muted);

  font-size: .48rem;
  font-weight: 800;

  letter-spacing: .12em;
}

.countdown em {
  color: var(--gold);

  font-style: normal;

  font-size: 1.4rem;
}

/* =========================================================
   HERO BADGE
   ========================================================= */

.hero-badge {
  position: absolute;

  z-index: 4;

  right: clamp(20px, 5vw, 80px);
  bottom: 105px;

  display: flex;
  flex-direction: column;

  text-align: left;

  padding: 17px;

  background: rgba(10,12,10,.65);

  border: 1px solid var(--border);

  border-radius: 15px;

  backdrop-filter: blur(14px);
}

.hero-badge span {
  color: var(--gold);

  font-size: .48rem;
  font-weight: 900;

  letter-spacing: .16em;
}

.hero-badge strong {
  margin: 2px 0;

  font-family: "Bebas Neue", sans-serif;

  font-size: 3.2rem;

  line-height: .9;
}

.hero-badge b {
  font-size: .62rem;
}

.hero-badge small {
  margin-top: 4px;

  color: var(--muted);

  font-size: .47rem;
}

/* =========================================================
   TICKER
   ========================================================= */

.ticker {
  position: absolute;

  z-index: 5;

  left: 0;
  right: 0;
  bottom: 0;

  overflow: hidden;

  border-top: 1px solid var(--border);

  background: rgba(0,0,0,.15);

  padding: 12px 0;
}

.ticker div {
  width: max-content;

  color: var(--muted);

  font-size: .57rem;
  font-weight: 800;

  letter-spacing: .15em;

  animation: ticker 30s linear infinite;
}

.ticker i {
  margin: 0 20px;

  color: var(--gold);

  font-style: normal;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-35%);
  }
}

/* =========================================================
   INTRO
   ========================================================= */

.intro {
  padding-top: clamp(90px, 10vw, 150px);
  padding-bottom: clamp(90px, 10vw, 150px);
}

.split {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: clamp(40px, 8vw, 130px);

  align-items: start;
}

.lead {
  max-width: 650px;

  font-size: 1rem;
}

.story-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;

  margin-top: 65px;
}

.story-card {
  padding: 30px;

  background:
    linear-gradient(
      145deg,
      var(--surface2),
      var(--surface)
    );

  border: 1px solid var(--border);

  border-radius: var(--radius);

  transition:
    transform .3s ease,
    border-color .3s ease;
}

.story-card:hover {
  transform: translateY(-6px);

  border-color: var(--border-gold);
}

.story-card > span {
  display: block;

  margin-bottom: 25px;

  color: var(--gold);

  font-family: "Bebas Neue", sans-serif;

  font-size: 2rem;
}

.story-card h3 {
  margin-bottom: 15px;

  font-family: "Bebas Neue", sans-serif;

  font-size: 2rem;

  font-weight: 400;
}

.story-card p {
  color: var(--text-soft);

  font-size: .88rem;
}

.text-btn {
  padding: 0;

  margin-top: 12px;

  color: var(--gold);

  background: transparent;

  border: 0;

  font-size: .63rem;
  font-weight: 900;

  letter-spacing: .08em;
}

.text-btn:hover {
  color: var(--gold-light);
}

.manifesto {
  position: relative;

  margin: 70px 0 0;

  padding: clamp(30px, 5vw, 60px);

  text-align: center;

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);
}

.manifesto > span {
  display: block;

  color: var(--gold);

  font-family: Georgia, serif;

  font-size: 5rem;

  line-height: .4;
}

.manifesto p {
  margin: 15px auto 0;

  max-width: 950px;

  font-family: "Bebas Neue", sans-serif;

  font-size: clamp(2rem, 4vw, 4rem);

  line-height: 1;
}

.manifesto b {
  color: var(--gold);
}

/* =========================================================
   ORGANIZATION
   ========================================================= */

.organization {
  padding-bottom: 140px;
}

.org-layout {
  display: grid;

  grid-template-columns: 1.1fr .9fr;

  gap: 70px;

  align-items: center;
}

.org-services {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.org-services div {
  min-height: 100px;

  display: flex;
  align-items: center;

  padding: 20px;

  color: var(--text-soft);

  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  font-size: .65rem;
  font-weight: 800;

  letter-spacing: .08em;

  transition: .25s ease;
}

.org-services div:hover {
  color: var(--gold);

  background: var(--surface);
}

.route {
  display: flex;
  align-items: center;

  gap: 15px;

  margin-top: 70px;
}

.route b {
  color: var(--text);

  font-size: .65rem;
  font-weight: 900;

  letter-spacing: .1em;
}

.route i {
  flex: 1;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--gold),
      var(--border)
    );
}

/* =========================================================
   EDITION
   ========================================================= */

.edition {
  padding: 100px 0;

  background:
    linear-gradient(
      180deg,
      var(--bg2),
      var(--bg)
    );
}

.edition-head {
  display: flex;
  align-items: end;
  justify-content: space-between;

  gap: 40px;
}

.million {
  flex-shrink: 0;

  text-align: right;
}

.million small,
.million span {
  display: block;

  color: var(--muted);

  font-size: .58rem;
  font-weight: 800;

  letter-spacing: .15em;
}

.million strong {
  display: block;

  color: var(--gold);

  font-family: "Bebas Neue", sans-serif;

  font-size: clamp(4rem, 8vw, 8rem);

  line-height: .75;
}

/* =========================================================
   AWARDS
   ========================================================= */

.awards-showcase {
  padding-top: 80px;
}

.awards-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;

  gap: 30px;

  margin-bottom: 30px;
}

.awards-intro h3 {
  margin: 0;

  font-family: "Bebas Neue", sans-serif;

  font-size: clamp(3rem, 5vw, 5rem);

  font-weight: 400;

  line-height: .85;
}

.awards-controls {
  display: flex;
  align-items: center;

  gap: 10px;
}

.award-arrow {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  color: var(--text);

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: 50%;

  transition: .25s ease;
}

.award-arrow:hover {
  color: #111;

  background: var(--gold);

  border-color: var(--gold);
}

.award-dots {
  display: flex;

  gap: 6px;
}

.award-dot {
  width: 7px;
  height: 7px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background: var(--muted);

  opacity: .5;
}

.award-dot.active {
  width: 22px;

  border-radius: 99px;

  background: var(--gold);

  opacity: 1;
}

.awards-viewport {
  overflow: hidden;

  border-radius: var(--radius-lg);
}

.awards-track {
  display: flex;

  transition: transform .55s var(--ease);
}

.award-slide {
  min-width: 100%;

  display: grid;

  grid-template-columns: 1.2fr .8fr;

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  overflow: hidden;
}

.award-media {
  min-height: 500px;

  overflow: hidden;
}

.award-media img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform .7s ease;
}

.award-slide:hover .award-media img {
  transform: scale(1.035);
}

.award-copy {
  padding: clamp(30px, 5vw, 70px);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.award-copy small {
  color: var(--gold);

  font-size: .62rem;
  font-weight: 900;

  letter-spacing: .16em;
}

.award-copy h4 {
  margin: 12px 0;

  font-family: "Bebas Neue", sans-serif;

  font-size: clamp(2.8rem, 5vw, 5.5rem);

  font-weight: 400;

  line-height: .88;
}

.award-copy p {
  color: var(--text-soft);

  font-size: .9rem;
}

.award-copy > b {
  margin-top: 25px;

  color: var(--muted);

  font-size: .6rem;
}

.award-trophy-art {
  min-height: 500px;

  display: grid;
  place-items: center;

  background:
    radial-gradient(
      circle,
      rgba(216,173,67,.16),
      transparent 55%
    );

  font-size: clamp(7rem, 15vw, 13rem);
}

.award-swipe-hint {
  display: none;

  margin-top: 15px;

  color: var(--muted);

  font-size: .55rem;
  font-weight: 800;

  letter-spacing: .1em;

  text-align: center;
}

.award-swipe-hint span {
  color: var(--gold);

  margin-left: 8px;
}

.legal-note {
  padding-top: 25px;

  color: var(--muted);

  font-size: .65rem;
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
  padding-top: 130px;
  padding-bottom: 130px;
}

.gallery-head,
.info-head {
  display: flex;
  justify-content: space-between;
  align-items: end;

  gap: 60px;

  margin-bottom: 45px;
}

.gallery-head > p,
.info-head > p {
  width: min(500px, 100%);

  margin: 0;

  color: var(--text-soft);

  font-size: .9rem;
}

.visual-grid {
  display: grid;

  grid-template-columns: repeat(12, 1fr);

  grid-auto-rows: 300px;

  gap: 14px;
}

.visual {
  position: relative;

  overflow: hidden;

  border-radius: var(--radius);

  background: var(--surface);
}

.visual img,
.gallery-video {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform .7s var(--ease);
}

.visual:hover img,
.visual:hover .gallery-video {
  transform: scale(1.04);
}

.v1 {
  grid-column: span 7;
  grid-row: span 2;
}

.v2 {
  grid-column: span 5;
}

.v3 {
  grid-column: span 5;
}

.v4 {
  grid-column: span 7;
}

.visual-shade,
.video-shade {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.05),
      rgba(0,0,0,.78)
    );
}

.visual-copy {
  position: absolute;

  left: 24px;
  right: 24px;
  bottom: 23px;

  z-index: 3;
}

.visual-copy small {
  display: block;

  margin-bottom: 7px;

  color: var(--gold-light);

  font-size: .55rem;
  font-weight: 900;

  letter-spacing: .15em;
}

.visual-copy b {
  display: block;

  color: #fff;

  font-family: "Bebas Neue", sans-serif;

  font-size: clamp(2rem, 4vw, 4rem);

  font-weight: 400;

  line-height: .88;
}

/* =========================================================
   VIDEO
   ========================================================= */

.video-topline {
  position: absolute;

  z-index: 4;

  top: 20px;
  left: 20px;
  right: 20px;

  display: flex;
  justify-content: space-between;

  gap: 15px;
}

.video-topline span {
  color: var(--gold);

  font-size: .55rem;
  font-weight: 900;

  letter-spacing: .14em;
}

.video-topline i {
  color: rgba(255,255,255,.7);

  font-size: .48rem;
  font-style: normal;

  letter-spacing: .08em;
}

.video-center {
  position: absolute;

  z-index: 5;

  left: 50%;
  top: 50%;

  width: 70px;
  height: 70px;

  display: grid;
  place-items: center;

  transform: translate(-50%,-50%);

  color: #111;

  background: var(--gold);

  border: 0;

  border-radius: 50%;

  box-shadow: 0 15px 45px rgba(0,0,0,.35);

  transition: .25s ease;
}

.video-center:hover {
  transform: translate(-50%,-50%) scale(1.08);

  background: var(--gold-light);
}

.play-triangle {
  width: 0;
  height: 0;

  margin-left: 4px;

  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #111;
}

.video-custom-controls {
  position: absolute;

  z-index: 6;

  left: 18px;
  right: 18px;
  bottom: 90px;

  display: flex;
  align-items: center;

  gap: 8px;

  opacity: 0;

  transform: translateY(8px);

  transition: .25s ease;
}

.video-card:hover .video-custom-controls,
.video-card:focus-within .video-custom-controls {
  opacity: 1;

  transform: translateY(0);
}

.video-control {
  width: 34px;
  height: 34px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  color: #fff;

  background: rgba(0,0,0,.5);

  border: 1px solid rgba(255,255,255,.2);

  border-radius: 50%;
}

.video-progress {
  flex: 1;

  display: flex;
  align-items: center;

  gap: 8px;
}

.video-progress input {
  flex: 1;
}

.video-progress span {
  color: #fff;

  font-size: .52rem;
}

/* =========================================================
   INFO
   ========================================================= */

.info {
  padding-bottom: 140px;
}

.info-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 14px;
}

.info-card {
  min-height: 300px;

  position: relative;

  display: flex;
  flex-direction: column;

  padding: 28px;

  color: var(--text);

  text-align: left;
  text-decoration: none;

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  transition:
    transform .3s ease,
    border-color .3s ease,
    background .3s ease;
}

button.info-card {
  font: inherit;
}

.info-card:hover {
  transform: translateY(-6px);

  border-color: var(--border-gold);

  background: var(--surface2);
}

.info-card > span {
  color: var(--gold);

  font-family: "Bebas Neue", sans-serif;

  font-size: 2rem;
}

.info-card h3 {
  margin: 35px 0 10px;

  font-family: "Bebas Neue", sans-serif;

  font-size: 2rem;

  font-weight: 400;
}

.info-card p {
  margin-top: 0;

  color: var(--text-soft);

  font-size: .82rem;
}

.info-card > b {
  margin-top: auto;

  color: var(--gold);

  font-size: .6rem;
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
  position: relative;

  padding:
    130px 24px
    150px;

  text-align: center;

  overflow: hidden;

  background:
    radial-gradient(
      circle at center,
      rgba(216,173,67,.14),
      transparent 45%
    ),
    var(--surface);
}

.final-logo {
  width: 130px;

  margin: 0 auto 20px;
}

.final-logo img {
  width: 100%;

  filter: drop-shadow(0 20px 30px rgba(0,0,0,.3));
}

.final-cta > p {
  color: var(--gold);

  font-size: .65rem;
  font-weight: 900;

  letter-spacing: .18em;
}

.final-cta h2 {
  font-size: clamp(3.5rem, 7vw, 7rem);
}

.final-cta .route {
  width: min(600px, 100%);

  margin: 45px auto;
}

.route.compact b {
  font-size: .55rem;
}

.final-cta .btn {
  margin-top: 5px;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  width: min(var(--max), calc(100% - 48px));

  margin: auto;

  padding: 35px 0;

  display: grid;

  grid-template-columns: 1fr auto;
  gap: 25px;

  border-top: 1px solid var(--border);

  color: var(--muted);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand b {
  color: var(--text);

  font-size: .75rem;
  letter-spacing: .08em;
}

.footer-brand small {
  margin-top: 4px;

  color: var(--gold);

  font-size: .5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;

  justify-content: flex-end;

  gap: 16px;
}

.footer-links a {
  color: var(--muted);

  text-decoration: none;

  font-size: .58rem;
}

.footer-links a:hover {
  color: var(--gold);
}

footer > small {
  grid-column: 1 / -1;

  font-size: .55rem;
}

/* =========================================================
   MODAL
   ========================================================= */

dialog {
  width: min(650px, calc(100% - 30px));

  padding: 45px;

  color: var(--text);

  background: var(--surface);

  border: 1px solid var(--border-gold);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(0,0,0,.72);

  backdrop-filter: blur(5px);
}

.close-modal {
  position: absolute;

  top: 15px;
  right: 15px;

  width: 38px;
  height: 38px;

  color: var(--text);

  background: var(--surface2);

  border: 1px solid var(--border);

  border-radius: 50%;

  font-size: 1.4rem;
}

#modalContent h2 {
  margin-bottom: 20px;

  font-size: 3rem;
}

#modalContent p {
  color: var(--text-soft);
}

/* =========================================================
   AI ASSISTANT
   ========================================================= */

.ai-launcher {
  position: fixed;

  z-index: 900;

  right: 22px;
  bottom: 22px;

  display: flex;
  align-items: center;

  gap: 10px;

  padding: 9px 14px 9px 9px;

  color: var(--text);

  background: var(--surface);

  border: 1px solid var(--border-gold);

  border-radius: 999px;

  box-shadow: var(--shadow);

  transition: .3s ease;
}

.ai-launcher:hover {
  transform: translateY(-4px);

  border-color: var(--gold);
}

.ai-launcher img {
  width: 43px;
  height: 43px;

  object-fit: contain;
}

.ai-launcher span {
  display: flex;
  flex-direction: column;

  text-align: left;
}

.ai-launcher b {
  font-size: .58rem;
  letter-spacing: .04em;
}

.ai-launcher small {
  margin-top: 3px;

  color: var(--muted);

  font-size: .48rem;
}

.ai-panel {
  position: fixed;

  z-index: 1100;

  right: 22px;
  bottom: 22px;

  width: min(390px, calc(100vw - 30px));

  height: min(600px, calc(100svh - 40px));

  display: none;
  flex-direction: column;

  overflow: hidden;

  background: var(--surface);

  border: 1px solid var(--border-gold);

  border-radius: 24px;

  box-shadow: var(--shadow);
}

.ai-panel.open {
  display: flex;
}

.ai-head {
  display: flex;
  align-items: center;

  gap: 10px;

  padding: 13px;

  background: var(--surface2);

  border-bottom: 1px solid var(--border);
}

.ai-head img {
  width: 42px;
  height: 42px;

  object-fit: contain;
}

.ai-head > div {
  flex: 1;
}

.ai-head b {
  display: block;

  font-size: .72rem;
}

.ai-head small {
  display: block;

  margin-top: 3px;

  color: var(--muted);

  font-size: .48rem;
}

.ai-head small i {
  display: inline-block;

  width: 6px;
  height: 6px;

  margin-right: 4px;

  border-radius: 50%;

  background: #48c774;
}

.ai-head button {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  color: var(--text);

  background: transparent;

  border: 1px solid var(--border);

  border-radius: 50%;
}

.ai-messages {
  flex: 1;

  padding: 18px;

  overflow-y: auto;
}

.ai-message {
  max-width: 85%;

  margin-bottom: 10px;

  padding: 10px 13px;

  border-radius: 14px;

  font-size: .72rem;

  line-height: 1.55;
}

.ai-message.bot {
  background: var(--surface2);
}

.ai-message.user {
  margin-left: auto;

  color: #111;

  background: var(--gold);
}

.ai-quick {
  display: flex;

  gap: 7px;

  padding: 10px;

  overflow-x: auto;

  border-top: 1px solid var(--border);
}

.ai-quick button {
  flex-shrink: 0;

  padding: 8px 10px;

  color: var(--text-soft);

  background: var(--surface2);

  border: 1px solid var(--border);

  border-radius: 999px;

  font-size: .53rem;
}

.ai-quick button:hover {
  color: #111;

  background: var(--gold);
}

.ai-input {
  display: flex;

  gap: 7px;

  padding: 10px;

  border-top: 1px solid var(--border);
}

.ai-input input {
  min-width: 0;
  flex: 1;

  height: 42px;

  padding: 0 13px;

  color: var(--text);

  background: var(--surface2);

  border: 1px solid var(--border);

  border-radius: 12px;

  outline: none;
}

.ai-input input:focus {
  border-color: var(--gold);
}

.ai-input button {
  width: 42px;

  border: 0;

  border-radius: 12px;

  background: var(--gold);

  color: #111;
}

.ai-disclaimer {
  display: block;

  padding: 0 13px 12px;

  color: var(--muted);

  font-size: .45rem;

  text-align: center;
}

/* =========================================================
   REVEAL
   ========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .site-header {
    padding-inline: 20px;
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: .61rem;
  }

  .live-weather {
    display: none;
  }

  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-card:first-child {
    grid-column: 1 / -1;
  }

  .org-layout {
    grid-template-columns: 1fr;
  }

  .edition-head {
    align-items: start;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .visual-grid {
    grid-auto-rows: 270px;
  }

}

/* =========================================================
   TABLET / MOBILE NAV
   ========================================================= */

@media (max-width: 820px) {

  .site-header {
    min-height: 70px;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
  }

  .brand-text b {
    font-size: .74rem;
  }

  .brand-text small {
    font-size: .48rem;
  }

  .menu-btn {
    display: grid;
  }

  .main-nav {
    position: fixed;

    top: 70px;
    left: 14px;
    right: 14px;

    padding: 12px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 3px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;

    transform:
      translateY(-10px)
      scale(.98);

    transform-origin: top;

    transition:
      opacity .25s ease,
      visibility .25s ease,
      transform .25s ease;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;

    transform:
      translateY(0)
      scale(1);
  }

  .main-nav a {
    width: 100%;

    padding: 15px 16px;

    border-radius: 12px;

    font-size: .68rem;
  }

  .main-nav a:hover {
    background: var(--surface2);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav .nav-cta {
    margin-top: 5px;

    text-align: center;
  }

  .hero {
    padding-top: 125px;
  }

  .hero-badge {
    position: relative;

    right: auto;
    bottom: auto;

    margin-top: 35px;

    flex-direction: row;
    align-items: center;

    gap: 10px;

    padding: 10px 14px;

    text-align: left;
  }

  .hero-badge strong {
    font-size: 2rem;
  }

  .hero-badge small {
    margin: 0;
  }

  .split {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .gallery-head,
  .info-head {
    flex-direction: column;
    align-items: start;

    gap: 20px;
  }

  .visual-grid {
    grid-template-columns: 1fr 1fr;

    grid-auto-rows: 270px;
  }

  .v1 {
    grid-column: span 2;
    grid-row: span 1;
  }

  .v2,
  .v3,
  .v4 {
    grid-column: span 1;
  }

  .award-slide {
    grid-template-columns: 1fr;
  }

  .award-media,
  .award-trophy-art {
    min-height: 380px;
  }

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .section {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    padding: 8px 15px;
  }

  .theme-toggle,
  .menu-btn {
    width: 40px;
    height: 40px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text b {
    font-size: .68rem;
  }

  .brand-text small {
    font-size: .43rem;

    letter-spacing: .2em;
  }

  .hero {
    min-height: auto;

    padding:
      125px 16px
      95px;
  }

  .hero-emblem {
    width: 120px;
  }

  .eyebrow {
    font-size: .52rem;

    letter-spacing: .11em;
  }

  .live-meta {
    gap: 7px;

    font-size: .49rem;
  }

  .kicker {
    font-size: .57rem;

    letter-spacing: .13em;
  }

  .hero-copa {
    font-size: clamp(3.5rem, 18vw, 6rem);
  }

  .hero-tepeaca {
    font-size: clamp(1.8rem, 10vw, 3rem);

    letter-spacing: .16em;
  }

  .hero-copy {
    margin-top: 20px;

    font-size: .84rem;

    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: column;

    width: 100%;

    margin-top: 25px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .countdown {
    gap: 5px;
  }

  .countdown > div {
    min-width: 52px;
  }

  .countdown b {
    font-size: 2rem;
  }

  .countdown span {
    font-size: .42rem;
  }

  .countdown em {
    font-size: 1rem;
  }

  .hero-badge {
    margin-top: 30px;
  }

  .ticker div {
    font-size: .48rem;
  }

  .intro,
  .gallery {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .organization {
    padding-bottom: 80px;
  }

  h2 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .lead {
    font-size: .88rem;
  }

  .story-grid {
    grid-template-columns: 1fr;

    margin-top: 40px;
  }

  .story-card:first-child {
    grid-column: auto;
  }

  .story-card {
    padding: 24px;
  }

  .story-card h3 {
    font-size: 1.8rem;
  }

  .story-card p {
    font-size: .82rem;
  }

  .manifesto {
    margin-top: 40px;

    padding: 28px 20px;
  }

  .manifesto > span {
    font-size: 4rem;
  }

  .manifesto p {
    font-size: 2.1rem;
  }

  .org-services {
    grid-template-columns: 1fr;
  }

  .org-services div {
    min-height: 70px;

    font-size: .58rem;
  }

  .route {
    gap: 8px;

    margin-top: 45px;
  }

  .route b {
    font-size: .47rem;
  }

  .edition {
    padding: 80px 0;
  }

  .edition-head {
    flex-direction: column;
  }

  .million {
    text-align: left;
  }

  .million strong {
    font-size: 5rem;
  }

  .awards-showcase {
    padding-top: 55px;
  }

  .awards-intro {
    flex-direction: column;
    align-items: start;
  }

  .awards-intro h3 {
    font-size: 3.4rem;
  }

  .award-slide {
    border-radius: 20px;
  }

  .award-media,
  .award-trophy-art {
    min-height: 260px;
  }

  .award-copy {
    padding: 25px;
  }

  .award-copy h4 {
    font-size: 3rem;
  }

  .award-copy p {
    font-size: .82rem;
  }

  .award-swipe-hint {
    display: block;
  }

  .visual-grid {
    display: flex;
    flex-direction: column;

    gap: 12px;
  }

  .visual {
    min-height: 280px;
  }

  .v1,
  .v2,
  .v3,
  .v4 {
    grid-column: auto;
  }

  .visual-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .visual-copy b {
    font-size: 2.6rem;
  }

  .video-custom-controls {
    opacity: 1;

    transform: none;

    bottom: 82px;
  }

  .video-center {
    width: 58px;
    height: 58px;
  }

  .info {
    padding-bottom: 80px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 230px;

    padding: 24px;
  }

  .info-card h3 {
    margin-top: 25px;
  }

  .final-cta {
    padding:
      85px 16px
      100px;
  }

  .final-logo {
    width: 105px;
  }

  .final-cta h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .final-cta .route {
    gap: 6px;
  }

  .final-cta .route b {
    font-size: .43rem;
  }

  .final-cta .btn {
    width: 100%;

    padding-inline: 15px;

    font-size: .58rem;
  }

  footer {
    width: calc(100% - 32px);

    display: flex;
    flex-direction: column;

    gap: 20px;
  }

  .footer-links {
    justify-content: flex-start;

    flex-direction: column;

    gap: 10px;
  }

  footer > small {
    line-height: 1.6;
  }

  dialog {
    padding: 35px 22px;
  }

  #modalContent h2 {
    font-size: 2.8rem;
  }

  .ai-launcher {
    right: 12px;
    bottom: 12px;

    max-width: calc(100vw - 24px);
  }

  .ai-launcher img {
    width: 38px;
    height: 38px;
  }

  .ai-launcher b {
    font-size: .51rem;
  }

  .ai-launcher small {
    font-size: .43rem;
  }

  .ai-panel {
    right: 10px;
    bottom: 10px;

    width: calc(100vw - 20px);

    height: calc(100svh - 20px);

    border-radius: 20px;
  }

}

/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  .brand-text {
    display: none;
  }

  .hero-copa {
    font-size: 3.25rem;
  }

  .hero-tepeaca {
    font-size: 1.65rem;
  }

  .countdown > div {
    min-width: 46px;
  }

  .countdown b {
    font-size: 1.7rem;
  }

  .manifesto p {
    font-size: 1.8rem;
  }

}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}
/* =========================================================
   REFINAMIENTO EDITORIAL PREMIUM · V81
   Jerarquía, aire y separación de titulares
   ========================================================= */

:root{
  --section-space: clamp(92px, 10vw, 156px);
  --heading-gap: clamp(18px, 2vw, 28px);
  --copy-max: 720px;
}

/* Separación general entre bloques */
.section{
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section > .section-label,
.section .section-label{
  margin-bottom: 30px;
}

/* Etiquetas superiores más finas y elegantes */
.section-label{
  min-height: 18px;
  letter-spacing: .22em;
  font-size: .64rem;
  line-height: 1.4;
  gap: 14px;
  margin-bottom: 28px;
}

.section-label::before{
  width: 34px;
  height: 1px;
  opacity: .9;
}

/* Línea secundaria: nunca debe quedar pegada al titular */
.gold-line{
  display:block;
  margin: 0 0 22px;
  font-size: .68rem;
  line-height: 1.55;
  letter-spacing: .18em;
  max-width: 760px;
}

/* Titulares principales: más aire, menos sensación comprimida */
h2{
  max-width: 980px;
  margin: 0 0 30px;
  font-size: clamp(2.9rem, 5.7vw, 6.1rem);
  line-height: .98;
  letter-spacing: .012em;
  text-wrap: balance;
}

h2 span{
  display:inline-block;
  margin-top: .04em;
}

/* Titulares secundarios */
h3{
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: .98;
  letter-spacing: .01em;
}

h4{
  line-height: .98;
  letter-spacing: .015em;
}

/* Párrafos inmediatamente posteriores al titular */
h2 + p,
h2 + .muted,
h3 + p{
  margin-top: 0;
}

.muted{
  max-width: var(--copy-max);
  font-size: .94rem;
  line-height: 1.8;
}

/* HERO: más elegante y menos amontonado */
.hero{
  padding-top: clamp(150px, 16vh, 190px);
  padding-bottom: clamp(100px, 12vh, 150px);
}

.hero h1{
  max-width: 1100px;
}

.hero-copa{
  line-height: .9;
  letter-spacing: .018em;
}

.hero-tepeaca{
  margin-top: 18px;
  line-height: 1;
  letter-spacing: .22em;
}

.hero-copy{
  max-width: 650px;
  margin-top: 34px;
  line-height: 1.75;
}

.hero-actions{
  margin-top: 38px;
  gap: 14px;
}

/* HISTORIA */
.intro .split{
  gap: clamp(45px, 7vw, 100px);
}

.story-card{
  padding: clamp(25px, 3vw, 38px);
}

.story-card h3{
  margin-top: 12px;
  margin-bottom: 18px;
}

.story-card p{
  max-width: 520px;
  line-height: 1.75;
}

.manifesto{
  margin-top: clamp(65px, 8vw, 105px);
  padding-top: clamp(40px, 5vw, 70px);
  padding-bottom: clamp(40px, 5vw, 70px);
}

.manifesto p{
  line-height: 1.25;
}

/* ORGANIZACIÓN */
.organization .org-layout{
  gap: clamp(55px, 7vw, 110px);
}

.organization .org-layout > div:first-child h2{
  margin-bottom: 28px;
}

.org-services div{
  line-height: 1.45;
  letter-spacing: .07em;
}

/* EDICIÓN */
.edition{
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.edition-head{
  margin-bottom: clamp(65px, 8vw, 105px);
  gap: clamp(35px, 6vw, 90px);
}

.edition-head h2{
  margin-bottom: 0;
}

.million{
  padding-bottom: 8px;
}

.million strong{
  line-height: .86;
}

.awards-intro{
  margin-bottom: 42px;
  gap: 40px;
}

.awards-intro h3{
  line-height: .98;
}

/* GALERÍA / INFORMACIÓN */
.gallery,
.info{
  scroll-margin-top: 90px;
}

.gallery-head,
.info-head{
  gap: 35px;
  margin-bottom: 42px;
}

.info-grid{
  gap: 16px;
}

.info-card{
  padding: clamp(25px, 3vw, 36px);
}

.info-card h3{
  margin: 12px 0 16px;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
}

.info-card p{
  line-height: 1.7;
}

/* CTA FINAL: más espacio entre marca, titular y botón */
.final-cta{
  padding-top: clamp(105px, 12vw, 170px);
  padding-bottom: clamp(105px, 12vw, 170px);
}

.final-cta p{
  margin: 28px 0 24px;
  letter-spacing: .22em;
}

.final-cta h2{
  margin-bottom: 0;
  line-height: .98;
}

.final-cta .route{
  margin: 52px auto 42px;
}

/* Botones con presencia editorial */
.btn{
  min-height: 50px;
  padding: 15px 24px;
  letter-spacing: .08em;
  line-height: 1.2;
}

/* Separadores y tarjetas: menos ruido visual */
.story-grid,
.info-grid{
  align-items: stretch;
}

.story-card,
.info-card{
  border-color: rgba(216,173,67,.16);
}

/* TABLET */
@media (max-width: 980px){
  h2{
    font-size: clamp(2.8rem, 7vw, 5rem);
  }

  .section{
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .edition-head{
    margin-bottom: 70px;
  }
}

/* MÓVIL: títulos separados, legibles y sin bloques apretados */
@media (max-width: 820px){
  .section{
    width: min(100% - 34px, var(--max));
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section-label{
    margin-bottom: 24px;
    font-size: .58rem;
    letter-spacing: .19em;
  }

  .gold-line{
    margin-bottom: 17px;
    font-size: .62rem;
    line-height: 1.6;
    letter-spacing: .14em;
  }

  h2{
    margin-bottom: 24px;
    font-size: clamp(2.55rem, 12vw, 4.2rem);
    line-height: 1.01;
    letter-spacing: 0;
  }

  h2 span{
    margin-top: .08em;
  }

  h3{
    margin-bottom: 17px;
    font-size: clamp(2.05rem, 9vw, 3.4rem);
    line-height: 1;
  }

  .muted{
    font-size: .88rem;
    line-height: 1.75;
  }

  .hero{
    padding: 128px 17px 90px;
  }

  .hero-copa{
    font-size: clamp(3.25rem, 16vw, 5.4rem);
    line-height: .92;
  }

  .hero-tepeaca{
    margin-top: 15px;
    font-size: clamp(1.6rem, 8vw, 2.8rem);
    line-height: 1;
    letter-spacing: .16em;
  }

  .hero-copy{
    margin-top: 28px;
    line-height: 1.72;
  }

  .hero-actions{
    margin-top: 32px;
  }

  .intro .split{
    gap: 24px;
  }

  .story-card{
    padding: 24px 0;
  }

  .story-card h3{
    margin-top: 10px;
  }

  .manifesto{
    margin-top: 50px;
    padding: 38px 0;
  }

  .organization .org-layout{
    gap: 42px;
  }

  .edition{
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .edition-head{
    gap: 38px;
    margin-bottom: 60px;
  }

  .million{
    text-align: left;
    padding-top: 8px;
  }

  .million strong{
    font-size: clamp(4.2rem, 20vw, 7rem);
  }

  .awards-intro{
    margin-bottom: 32px;
    gap: 25px;
  }

  .gallery-head,
  .info-head{
    gap: 24px;
    margin-bottom: 30px;
  }

  .info-grid{
    gap: 12px;
  }

  .info-card{
    padding: 23px;
  }

  .final-cta{
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .final-cta p{
    margin: 23px 0 20px;
    font-size: .62rem;
    line-height: 1.5;
  }

  .final-cta .route{
    margin: 40px auto 32px;
  }
}

/* TELÉFONOS PEQUEÑOS */
@media (max-width: 480px){
  h2{
    font-size: clamp(2.35rem, 12.5vw, 3.7rem);
  }

  .hero{
    padding-top: 118px;
  }

  .hero-copa{
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

  .gold-line{
    max-width: 320px;
  }

  .section-label{
    gap: 10px;
  }

  .section-label::before{
    width: 24px;
  }
}

/* =========================================================
   CHAT — AJUSTE PREMIUM PARA MÓVIL
   Evita que el panel cubra el header y garantiza un cierre visible.
   ========================================================= */
@media (max-width: 700px) {
  .ai-panel {
    z-index: 1200;
    left: 12px;
    right: 12px;
    bottom: max(76px, env(safe-area-inset-bottom));
    top: auto;
    width: auto;
    height: min(520px, calc(100svh - 150px));
    max-height: calc(100svh - 150px);
    border-radius: 20px;
  }

  .ai-head {
    position: relative;
    flex-shrink: 0;
    min-height: 64px;
    padding: 10px 10px 10px 12px;
    gap: 8px;
  }

  .ai-head img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .ai-head > div {
    min-width: 0;
  }

  .ai-head b {
    font-size: .68rem;
    line-height: 1.2;
  }

  .ai-head small {
    font-size: .44rem;
    line-height: 1.25;
  }

  .ai-head .ai-sound,
  .ai-head #aiClose {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    display: grid;
    place-items: center;
    font-size: 1rem;
    position: relative;
    z-index: 3;
  }

  .ai-head #aiClose {
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
  }

  .ai-messages {
    min-height: 0;
    padding: 12px;
  }

  .ai-message {
    max-width: 90%;
    padding: 9px 11px;
    font-size: .68rem;
    line-height: 1.45;
  }

  .ai-quick {
    flex-shrink: 0;
    padding: 8px;
    gap: 6px;
  }

  .ai-quick button {
    padding: 7px 9px;
    font-size: .49rem;
  }

  .ai-input {
    flex-shrink: 0;
    padding: 8px;
  }

  .ai-input input {
    height: 40px;
    font-size: .68rem;
  }

  .ai-input button {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .ai-disclaimer {
    flex-shrink: 0;
    padding: 0 10px 9px;
  }
}

@media (max-width: 380px) {
  .ai-panel {
    left: 8px;
    right: 8px;
    bottom: max(70px, env(safe-area-inset-bottom));
    height: min(470px, calc(100svh - 135px));
    max-height: calc(100svh - 135px);
    border-radius: 18px;
  }

  .ai-head {
    min-height: 58px;
    padding: 8px;
  }

  .ai-head img {
    width: 32px;
    height: 32px;
  }

  .ai-head .ai-sound,
  .ai-head #aiClose {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }
}

/* =========================================================
   V84 · CHAT Y REPRODUCTOR — ACABADO EDITORIAL
   ========================================================= */
.msg {
  position: relative;
  width: fit-content;
  max-width: min(88%, 340px);
  margin: 0 0 12px;
  padding: 13px 15px 14px;
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 5px;
  color: var(--text);
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  font-family: "Montserrat", sans-serif;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.65;
}

.msg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 4px;
  background: var(--gold);
}

.msg.bot strong {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--gold);
  font-weight: 800;
}

.msg.user {
  margin-left: auto;
  border-color: rgba(231,182,74,.55);
  border-radius: 16px 16px 5px 16px;
  color: #111;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
}

.msg.user::before { display: none; }

.msg.typing {
  min-width: 52px;
  width: 52px;
  padding: 9px 12px;
  color: var(--gold);
  letter-spacing: .18em;
  text-align: center;
}

.msg .lead-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.msg .lead-form input,
.msg .lead-form select {
  width: 100%;
  min-height: 38px;
  box-sizing: border-box;
  padding: 9px 11px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  font: inherit;
  outline: none;
}

.msg .lead-form input:focus,
.msg .lead-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(231,182,74,.12);
}

.msg .lead-form button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  color: #111;
  background: var(--gold);
  font: 800 .58rem/1 "Montserrat", sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
}

.msg .lead-note {
  color: var(--muted);
  font-size: .48rem;
  line-height: 1.4;
}

.ai-head button i,
.ai-input button i,
.video-control i {
  font-size: .82rem;
}

/* El reproductor mantiene los controles dentro de una barra propia,
   sin invadir el titular inferior de la tarjeta. */
.video-custom-controls {
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 58px;
  box-sizing: border-box;
  padding: 11px 16px 12px;
  gap: 9px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.82) 45%);
}

.video-control {
  width: 36px;
  height: 36px;
  color: #fff;
  background: rgba(10,10,10,.72);
  border-color: rgba(255,255,255,.28);
  transition: .2s ease;
}

.video-control:hover {
  color: #111;
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.visual-copy {
  bottom: 72px;
  z-index: 7;
}

.video-card .video-center {
  z-index: 8;
}

/* Ocultar el botón central mientras el video está reproduciéndose. */
.video-card.is-playing .video-center {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.96);
}

@media (max-width:700px) {
  .msg {
    max-width: 91%;
    padding: 11px 12px 12px;
    font-size: .66rem;
    line-height: 1.55;
  }

  .video-custom-controls {
    min-height: 54px;
    padding: 9px 10px 10px;
    opacity: 1;
    transform: none;
  }

  .video-control {
    width: 34px;
    height: 34px;
  }

  .visual-copy {
    left: 16px;
    right: 16px;
    bottom: 66px;
  }
}
@media (max-width:700px) {
  .video-custom-controls { bottom: 0 !important; }
}


/* =========================================================
   HERO WATERMARK · IDENTIDAD DE MARCA
   ========================================================= */
.hero-watermark {
  position: absolute;
  z-index: 1;
  width: min(78vw, 780px);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: .075;
  filter: grayscale(1) brightness(1.8);
  display: grid;
  place-items: center;
}

.hero-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

html.light-mode .hero-watermark {
  opacity: .055;
  filter: grayscale(1) brightness(.65);
}

/* =========================================================
   FOOTER · PREMIUM / ELEGANTE
   ========================================================= */
.site-footer {
  position: relative;
  width: 100%;
  margin: 70px 0 0;
  padding: 58px max(24px, calc((100% - var(--max)) / 2)) 22px;
  background:
    radial-gradient(circle at 15% 0%, rgba(216,173,67,.10), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 75%),
    var(--surface);
  border-top: 1px solid rgba(216,173,67,.28);
  box-shadow: 0 -30px 80px rgba(0,0,0,.18);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .65;
}

.footer-main {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) 1fr 1fr;
  gap: 48px;
  padding-bottom: 42px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo-wrap {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216,173,67,.28);
  border-radius: 18px;
  background: rgba(216,173,67,.06);
  box-shadow: inset 0 0 30px rgba(216,173,67,.05);
}

.footer-logo-wrap img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-brand b {
  display: block;
  color: var(--text);
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.footer-brand small {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .75rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column > span {
  margin-bottom: 5px;
  color: var(--gold);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.footer-column a {
  width: fit-content;
  color: var(--muted);
  text-decoration: none;
  font-size: .68rem;
  transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom small {
  color: var(--muted);
  font-size: .52rem;
  letter-spacing: .06em;
}

@media (max-width: 720px) {
  .hero-watermark {
    width: 125vw;
    opacity: .06;
  }

  .site-footer {
    margin-top: 45px;
    padding-top: 42px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* =========================================================
   APP DOWNLOAD · MÓVIL
   ========================================================= */
.app-download {
  position: relative;
  width: 100%;
  margin-top: 85px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 82% 40%, rgba(216,173,67,.10), transparent 30%),
    linear-gradient(110deg, rgba(216,173,67,.035), transparent 55%);
}

.app-download::before {
  content: "";
  position: absolute;
  left: max(24px, calc((100% - var(--max)) / 2));
  top: 0;
  width: 72px;
  height: 2px;
  background: var(--gold);
}

.app-download-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr);
  gap: 60px;
  align-items: center;
}

.app-kicker {
  color: var(--gold);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.app-copy h2 {
  margin: 14px 0 18px;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: .9;
  letter-spacing: -.035em;
  font-weight: 900;
}

.app-copy h2 span { color: var(--gold); }

.app-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.app-stores {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.store-badge {
  display: block;
  line-height: 0;
  transition: transform .25s var(--ease), opacity .25s ease;
}

.store-badge:hover { transform: translateY(-2px); }
.store-badge img {
  display: block;
  width: 205px;
  max-width: 100%;
  height: auto;
}

.app-stores small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .14em;
}

/* =========================================================
   FOOTER · EDITORIAL / SIN CAJAS
   ========================================================= */
.site-footer {
  margin: 0;
  padding: 68px max(24px, calc((100% - var(--max)) / 2)) 24px;
  background: var(--bg);
  border-top: 0;
  box-shadow: none;
  overflow: hidden;
}

.site-footer::before { display: none; }

.footer-main {
  max-width: var(--max);
  padding-bottom: 52px;
  display: grid;
  grid-template-columns: minmax(300px, 1.7fr) 1fr 1fr;
  gap: 70px;
}

.footer-brand {
  align-items: flex-start;
  gap: 18px;
}

.footer-logo-wrap {
  display: none;
}

.footer-logo {
  width: 66px;
  height: 66px;
  object-fit: contain;
  flex: 0 0 66px;
}

.footer-brand b { font-size: .92rem; }
.footer-brand p { margin-top: 10px; }

.footer-column a { font-size: .7rem; }

.footer-bottom {
  max-width: var(--max);
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
  .app-download { margin-top: 55px; }
  .app-download-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 24px;
  }
  .app-stores { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .app-stores small { flex-basis: 100%; }
  .store-badge img { width: 178px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* AMX SPORTS · FOOTER BRAND */
.footer-brand-mark {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
  line-height: 0;
}

.footer-brand-mark .footer-logo {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
  object-position: 50% 50%;
  transform: none;
  filter: none;
}

/* Logo AMX: blanco en modo noche y negro en modo día. */
html.light-mode .footer-brand-mark .footer-logo,
body.day-mode .footer-brand-mark .footer-logo {
  filter: brightness(0) saturate(100%);
}

html:not(.light-mode) .footer-brand-mark .footer-logo,
body.night-mode .footer-brand-mark .footer-logo {
  filter: brightness(0) invert(1);
}

@media (max-width: 720px) {
  .footer-brand-mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .footer-brand-mark .footer-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    max-width: 46px;
    max-height: 46px;
  }
}
