:root {
  --navy: #07192f;
  --navy-2: #0e294b;
  --green: #0e8d45;
  --lime: #6cc63f;
  --maroon: #5a1428;
  --yellow: #f0d53a;
  --cream: #f6f1e7;
  --white: #ffffff;
  --text: #122033;
  --muted: #627287;
  --line: rgba(10, 32, 56, .14);
  --shadow: 0 28px 70px rgba(3, 16, 30, .18);
  --radius: 26px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 34px), var(--container)); margin-inline: auto; }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 2000; background: var(--white); color: var(--navy);
  padding: 10px 14px; border-radius: 10px; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(7,25,47,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a { color: var(--white); font-weight: 800; font-size: 14px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--white); transition: .25s ease; }
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(circle at 15% 20%, rgba(108,198,63,.18), transparent 28%), radial-gradient(circle at 88% 82%, rgba(240,213,58,.13), transparent 24%), linear-gradient(135deg, #04111f 0%, #0b2240 52%, #08172a 100%);
}
.hero-overlay {
  position: absolute; inset: auto -10% -38% -10%; height: 58%; border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(23,130,64,.95), rgba(7,58,29,.95));
  transform: perspective(700px) rotateX(58deg); transform-origin: bottom;
}
.hero-grid {
  position: relative; z-index: 1; min-height: calc(100vh - 82px); display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 72px 0 80px;
}
.kicker {
  display: inline-block; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--yellow);
  font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
}
.kicker-dark { background: rgba(14,141,69,.1); color: var(--green); }
.hero h1, .section h2 {
  margin: 14px 0 16px; font-family: Impact, "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: .02em;
}
.hero h1 { font-size: clamp(54px, 8vw, 104px); line-height: .88; }
.hero p { max-width: 680px; color: rgba(255,255,255,.84); font-size: 18px; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 999px;
  font-weight: 900; transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #07111f; background: var(--lime); box-shadow: 0 12px 28px rgba(108,198,63,.25); }
.button-secondary { color: var(--white); border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.hero-tags li { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; }
.section { padding: 94px 0; }
.section h2 { color: var(--navy); font-size: clamp(38px, 5vw, 66px); line-height: .95; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p { margin: 0; color: var(--muted); }
.program-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; }
.highlight-panel, .contact-card {
  padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.highlight-panel h3 { margin-top: 0; color: var(--navy); font-family: Impact, "Arial Narrow", sans-serif; text-transform: uppercase; font-size: 36px; }
.topic-list { margin: 0; padding-left: 18px; columns: 2; gap: 30px; }
.contact-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact-pills span {
  padding: 9px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13px; font-weight: 800;
}
.media-section { background: linear-gradient(180deg, rgba(255,255,255,.46), rgba(255,255,255,.92)); }
.media-section-alt { background: #ffffff; }
.media-grid { display: grid; gap: 22px; }
.media-grid-feature { grid-template-columns: 1.25fr 1fr 1fr; }
.media-grid-landscape { grid-template-columns: repeat(2, 1fr); }
.media-grid-portrait { grid-template-columns: repeat(5, 1fr); }
.soft-frame {
  position: relative; margin: 0; overflow: hidden; border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,255,255,.72));
  border: 1px solid rgba(90,20,40,.16); box-shadow: 0 18px 44px rgba(4,18,33,.16); padding: 10px; cursor: zoom-in; isolation: isolate;
}
.soft-frame::before {
  content: ""; position: absolute; inset: 6px; border-radius: 22px; border: 1px solid rgba(240,213,58,.55); pointer-events: none; z-index: 2;
}
.soft-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(255,255,255,.10) 72%, rgba(246,241,231,.38) 88%, rgba(246,241,231,.78) 100%);
  pointer-events: none; z-index: 1;
}
.soft-frame img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 20px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 64%, rgba(0,0,0,.98) 78%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 64%, rgba(0,0,0,.98) 78%, transparent 100%);
}
.soft-frame-large { max-width: 420px; margin-left: auto; }
.contact-section { color: var(--white); background: linear-gradient(135deg, #061323, #0d2747); }
.contact-section h2, .contact-section p { color: var(--white); }
.contact-card div + div { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.contact-card span, .contact-card strong { display: block; }
.contact-card span { color: rgba(255,255,255,.6); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.contact-card strong { color: var(--white); margin-top: 4px; }
.site-footer { padding: 26px 0 34px; background: #050d16; color: rgba(255,255,255,.7); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner strong, .footer-inner span { display: block; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.lightbox {
  width: min(94vw, 1100px); max-height: 92vh; background: transparent; border: 0; padding: 0; overflow: visible;
}
.lightbox::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.lightbox figcaption { margin-top: 10px; color: var(--white); text-align: center; font-weight: 700; }
.lightbox-close, .lightbox-nav {
  position: fixed; z-index: 10; border: 0; color: var(--white); background: rgba(255,255,255,.14); cursor: pointer; backdrop-filter: blur(10px);
}
.lightbox-close { top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 68px; border-radius: 16px; font-size: 42px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.reveal { opacity: 1; transform: none; }
.reveal.animate-ready { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.animate-ready.visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
@media (max-width: 1080px) {
  .media-grid-portrait { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: fixed; inset: 82px 0 auto 0; display: grid; gap: 0; background: rgba(7,25,47,.98);
    transform: translateY(-140%); transition: transform .25s ease; padding: 10px 18px 18px;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero-grid, .program-grid, .contact-grid { grid-template-columns: 1fr; }
  .soft-frame-large { margin: 0 auto; }
  .media-grid-feature { grid-template-columns: 1fr; }
  .media-grid-landscape { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero-grid { min-height: auto; padding: 46px 0 70px; }
  .hero h1 { font-size: clamp(46px, 14vw, 76px); }
  .topic-list { columns: 1; }
  .media-grid-portrait { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .header-inner { min-height: 74px; }
  .button { width: 100%; }
  .section { padding: 74px 0; }
  .media-grid-portrait { grid-template-columns: 1fr; }
  .soft-frame { padding: 8px; border-radius: 22px; }
  .soft-frame::before { inset: 5px; border-radius: 17px; }
  .soft-frame img { border-radius: 16px; }
  .lightbox-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Información del equipo y transmisión */
.info-section { background: #fff; }
.team-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.info-card {
  min-height: 150px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #f7f8fa);
  box-shadow: 0 14px 34px rgba(3,16,30,.08);
}
.info-card strong { color: var(--navy); font-size: 20px; line-height: 1.15; }
.info-card > span:last-child { margin-top: 5px; color: var(--muted); font-weight: 800; }
.info-label { margin-bottom: 12px; color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.info-card-accent { color: #fff; background: linear-gradient(145deg, #0e8d45, #075b2f); border-color: transparent; }
.info-card-accent strong, .info-card-accent > span:last-child, .info-card-accent .info-label { color: #fff; }
.broadcast-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}
.broadcast-strip > div { padding: 17px 20px; background: var(--cream); }
.broadcast-strip span, .broadcast-strip strong { display: block; }
.broadcast-strip span { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.broadcast-strip strong { margin-top: 3px; color: var(--navy); }

/* Enlaces de partidos */
.games-section {
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(108,198,63,.17), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(240,213,58,.11), transparent 26%),
    linear-gradient(145deg, #04111f 0%, #07192f 58%, #0b2441 100%);
}
.games-section h2 { color: #fff; }
.requested-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.requested-link-card {
  min-height: 92px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 17px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: rgba(255,255,255,.065);
  transition: transform .2s ease, background .2s ease;
}
.requested-link-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); }
.requested-link-card small, .requested-link-card strong { display: block; }
.requested-link-card small { color: rgba(255,255,255,.6); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.requested-link-card strong { color: #fff; font-size: 18px; }
.requested-link-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; font-weight: 900; }
.youtube-icon { background: #e62117; color: #fff; }
.drive-icon { background: var(--yellow); color: var(--navy); }
.external-arrow { color: rgba(255,255,255,.65); font-size: 20px; }
.game-two-card {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: rgba(255,255,255,.05);
}
.game-two-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(240,213,58,.48);
  border-radius: 22px;
  background: #07192f;
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.game-two-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}
.game-two-content {
  display: grid;
  grid-template-rows: 1fr;
  min-width: 0;
}
.game-live-links { display: grid; align-content: center; gap: 12px; }
.game-live-links a {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  min-height: 76px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}
.game-live-links small, .game-live-links strong { display: block; }
.game-live-links small { color: rgba(255,255,255,.6); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.game-live-links strong { color: #fff; }
.game-live-links b { color: rgba(255,255,255,.55); }
.fb-mark, .yt-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #fff; font-size: 22px; font-weight: 900; }
.fb-mark { background: #1877f2; }
.yt-mark { background: #e62117; }

/* Material visual previamente adjuntado */
.material-section { background: linear-gradient(180deg, #ffffff, #f5f0e5); }
.material-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 54px); align-items: start; }
.material-grid .soft-frame:nth-child(2) { margin-top: 42px; }

.soft-frame img { object-fit: contain; }

@media (max-width: 980px) {
  .team-info-grid { grid-template-columns: repeat(2, 1fr); }
  .game-two-card { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); }
}
@media (max-width: 700px) {
  .broadcast-strip, .requested-links-grid, .material-grid { grid-template-columns: 1fr; }
  .material-grid .soft-frame:nth-child(2) { margin-top: 0; }
  .game-two-card { grid-template-columns: 1fr; }
  .game-two-image img { height: auto; min-height: 0; object-fit: contain; }
}
@media (max-width: 520px) {
  .team-info-grid { grid-template-columns: 1fr; }
  .game-two-card { padding: 18px; border-radius: 22px; }
}

/* Logotipo proporcionado por el usuario */
.brand-logo-link {
  flex: 0 0 auto;
  gap: 0;
}
.brand-logo-shell {
  position: relative;
  width: 118px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.brand-logo-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
}
.brand-logo-image {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 180%;
  height: auto;
  max-width: none;
  display: block;
  transform: translate(-50%, -50%);
  background: #ffffff;
}

/* Videos adjuntos */
.video-gallery-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(108, 198, 63, .10), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(240, 213, 58, .10), transparent 26%),
    linear-gradient(145deg, #07192f 0%, #0b2746 58%, #061321 100%);
  color: var(--white);
}
.video-gallery-section .section-heading h2 { color: var(--white); }
.video-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 5vw, 46px);
  align-items: start;
}
.video-showcase-card {
  position: relative;
  width: min(100%, 620px);
  padding: 10px;
  border: 1px solid rgba(240, 213, 58, .52);
  border-radius: 24px;
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  isolation: isolate;
}
.video-showcase-card:nth-child(2) {
  width: min(100%, 820px);
  margin-left: auto;
}
.video-showcase-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(240, 213, 58, .22), rgba(108, 198, 63, .12));
  filter: blur(18px);
  opacity: .9;
}
.video-soft-edge {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: #000;
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, .045),
    0 12px 30px rgba(0, 0, 0, .22);
}
.video-soft-edge::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 22px rgba(7, 25, 47, .34);
}
.video-soft-edge video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  background: #000;
}

@media (max-width: 820px) {
  .video-gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .brand-logo-shell { width: 100px; height: 74px; border-radius: 9px; }
  .video-showcase-card { padding: 7px; border-radius: 20px; }
  .video-soft-edge { border-radius: 15px; }
}
/* Evita que el visor cerrado genere cualquier espacio al final de la página */
.lightbox:not([open]) {
  display: none !important;
  position: fixed !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-footer { margin-bottom: 0; }
html, body { padding-bottom: 0; }

/* Corrección puntual: tarjeta de contacto con imagen para evitar bloque blanco */
.contact-card-with-image {
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #07192f;
  border-color: rgba(255,255,255,.16);
}
.contact-card-media {
  position: relative;
  margin: 0;
  height: clamp(220px, 28vw, 330px);
  overflow: hidden;
  background: #061323;
}
.contact-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(7,25,47,.72) 100%);
}
.contact-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.contact-card-details {
  padding: 24px 28px 28px;
  background: linear-gradient(145deg, #07192f, #0d2747);
}
.contact-card-details > div + div {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.contact-card-with-image span { color: rgba(255,255,255,.66); }
.contact-card-with-image strong { color: var(--white); }
@media (max-width: 480px) {
  .contact-card-media { height: 235px; }
  .contact-card-details { padding: 20px; }
}

/* Galería */
.recent-gallery-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(108, 198, 63, .08), transparent 25%),
    radial-gradient(circle at 92% 80%, rgba(240, 213, 58, .08), transparent 24%),
    linear-gradient(180deg, #f7f3e9 0%, #ffffff 100%);
}
.recent-gallery-grid {
  columns: 3;
  column-gap: 18px;
  margin-top: 6px;
}
.recent-photo-frame {
  position: relative;
  width: 100%;
  margin: 0 0 18px;
  padding: 8px;
  overflow: hidden;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  border: 1px solid rgba(90, 20, 40, .24);
  border-radius: 22px;
  background: #07192f;
  box-shadow: 0 18px 40px rgba(3, 16, 30, .15);
  cursor: zoom-in;
  isolation: isolate;
}
.recent-photo-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -1;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(240, 213, 58, .24), rgba(108, 198, 63, .15));
  filter: blur(18px);
  opacity: .85;
}
.recent-photo-frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(240, 213, 58, .48);
  border-radius: 16px;
  box-shadow: inset 0 0 20px rgba(7, 25, 47, .18);
}
.recent-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: initial;
  border-radius: 15px;
}
@media (max-width: 900px) {
  .recent-gallery-grid { columns: 2; }
}
@media (max-width: 620px) {
  .recent-gallery-grid { columns: 1; column-gap: 0; }
  .recent-photo-frame { margin-bottom: 14px; }
}

