/* =========================================================
   CENTRO EXA ENC 1 – Design System
   Paleta: Azul Royal #0056b3 | Negro #111827
   Fuente: Outfit (Google Fonts)
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
  --blue: #0056b3;
  --blue-dark: #003d82;
  --blue-light: #1a6fc4;
  --gold: #D4AF37;
  --gold-light: #f0d060;
  --gold-dark: #a88a1f;
  --white: #ffffff;
  --off-white: #f4f6fa;
  --gray-100: #eef0f5;
  --gray-300: #c0c8d8;
  --gray-500: #7a8499;
  --gray-700: #3a4255;
  --dark: #111827;
  --shadow-sm: 0 2px 8px rgba(0, 86, 179, 0.12);
  --shadow-md: 0 8px 32px rgba(0, 86, 179, 0.15);
  --shadow-lg: 0 20px 60px rgba(0, 86, 179, 0.2);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--off-white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
}

/* ── Utilities ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1rem;
  margin-bottom: 36px;
}

.gold-accent {
  color: var(--dark);
}

.badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 86, 179, 0.4);
}

.btn-gold {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(17, 24, 39, 0.25);
}

.btn-gold:hover {
  background: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.35);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
}

/* ── Announcement Bar ── */
.announcement-bar {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--blue-dark));
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}

.announcement-bar span {
  color: var(--white);
  font-weight: 800;
}

.announcement-bar .close-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.announcement-bar .close-btn:hover {
  opacity: 1;
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: 1380px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.logo-text .name {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.1;
}

.logo-text .tagline {
  font-size: 0.68rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
}

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

/* Social Icons in header */
.header-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: var(--gray-100);
  color: var(--gray-700);
  transition: var(--transition);
}

.header-socials a:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.header-socials a.fb:hover {
  background: #1877f2;
}

.header-socials a.ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.header-socials a.yt:hover {
  background: #ff0000;
}

.header-socials a.wa:hover {
  background: #25d366;
}


/* ── Portal Socios CTA button ── */
.btn-socios {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--blue);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: var(--transition);
  border: 2px solid var(--blue);
}

.btn-socios:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 86, 179, 0.35);
}

/* Hamburger */
.hamburger {

  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO SLIDER ── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 850px;
  /* Increased from 720px to absorb the removed stats bar space */
  overflow: hidden;
  background: var(--blue-dark);
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  /* Subtle dark vignette only at the bottom-left, where text lives.
     No blue tint — photos now show their original colours. */
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.10) 55%,
      rgba(0, 0, 0, 0.00) 100%);
}

.slide-content {
  position: absolute;
  bottom: 80px;
  left: 8%;
  max-width: 560px;
  z-index: 2;
  animation: slideUp 0.7s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-content .slide-tag {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.slide-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
  /* Stronger shadow so text is legible on any photo colour */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.85), 0 0 16px rgba(0, 0, 0, 0.6);
}

.slide-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}



/* ── AD BANNER ── */
.ad-banner-wrapper {
  background: var(--gray-100);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Asegura máxima nitidez en las imágenes de banner publicitario */
.ad-placeholder-lg img,
.ad-banner-wrapper img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  /* WebKit (Chrome, Safari) */
  -webkit-optimize-contrast: auto;
  image-rendering: -webkit-optimize-contrast;
  /* Estándar: fuerza renderizado nítido sin suavizado */
  image-rendering: crisp-edges;
}

.ad-placeholder {
  width: 766px;
  max-width: 100%;
  height: 100px;
  background: linear-gradient(135deg, #e8edf5 0%, #d5dce8 100%);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 500;
  gap: 4px;
}

.ad-placeholder .ad-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-300);
  font-weight: 700;
}

.ad-placeholder i {
  font-size: 1.4rem;
  color: var(--gray-300);
}

/* Ad banner 766x490 */
.ad-placeholder-lg {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: 180px;
  background: transparent;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--gray-500);
  font-size: 1rem;
  font-weight: 500;
  overflow: hidden;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.ad-placeholder-lg i {
  font-size: 2.5rem;
  color: var(--gray-300);
}

.ad-placeholder-lg .ad-dims {
  font-size: 0.8rem;
  color: var(--gray-300);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ── STATS BAR ── */
.stats-bar {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 36px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin-top: 6px;
}

/* ── FIXTURE & RESULTADOS ── */
.fixture-section {
  padding: 70px 20px;
  background: var(--white);
}

.fixture-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 30px;
}

.fixture-main {
  width: 100%;
}

/* Fila 2: Banner de ancho completo debajo del fixture */
.fixture-ad-row {
  background: transparent;
  padding: 0 20px 30px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-500);
  transition: var(--transition);
  border: 2px solid transparent;
}

.tab-btn:hover {
  color: var(--blue);
  background: var(--gray-100);
  border-color: var(--blue);
}

.tab-btn.active {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table th {
  background: var(--blue-dark);
  color: var(--white);
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.data-table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--gray-100);
}

.data-table .pos-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
}

.data-table tr:nth-child(1) .pos-badge {
  background: var(--blue-dark);
  color: var(--white);
}

.data-table tr:nth-child(2) .pos-badge {
  background: #c0c8d8;
  color: var(--gray-700);
}

.data-table tr:nth-child(3) .pos-badge {
  background: #cd7f32;
  color: white;
}

.team-name {
  font-weight: 700;
  color: var(--blue-dark);
}

.result-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.result-badge.win {
  background: #d1fae5;
  color: #065f46;
}

.result-badge.draw {
  background: #fef3c7;
  color: #92400e;
}

.result-badge.loss {
  background: #fee2e2;
  color: #991b1b;
}

.score {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
}

/* Match card for fixture */
.match-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 4px solid var(--blue);
  transition: var(--transition);
}

.match-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.match-date {
  text-align: center;
  min-width: 55px;
}

.match-date .day {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.match-date .mon {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
}

.match-info {
  flex: 1;
}

.match-teams {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
}

.match-details {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 3px;
}

.match-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--blue);
  color: var(--white);
}

/* Sport filter */
.sport-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.sport-filter {
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sport-filter:hover,
.sport-filter.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

/* ── EVENTS SECTION ── */
.events-section {
  padding: 70px 20px;
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.event-card-img {
  /* Se elimina height fijo para usar relación de aspecto 1:1 */
  aspect-ratio: 1 / 1;
  height: auto;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-card-img .event-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--dark);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.8rem;
}

.event-card-body {
  padding: 20px;
}

.event-card-body .cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 6px;
}

.event-card-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.event-card-body .meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.event-card-body .meta i {
  color: var(--blue);
}

/* ── YOUTUBE SECTION ── */
.youtube-section {
  padding: 70px 20px;
  background: var(--blue-dark);
}

.youtube-section .section-title {
  color: var(--white);
}

.youtube-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.youtube-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.yt-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: 50px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.yt-channel-badge i {
  color: #ff0000;
  font-size: 1.1rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-meta {
  padding: 16px;
}

.video-meta h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.4;
}

.video-meta span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── SOCIAL FEED ── */
.social-section {
  padding: 70px 20px;
  background: var(--white);
}

.social-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.social-panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
}

.social-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
}

.social-panel-header.ig-header {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-panel-header.fb-header {
  background: #1877f2;
}

.social-panel-header i {
  font-size: 1.3rem;
}

.social-embed-area {
  padding: 20px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  color: var(--gray-500);
}

.social-embed-area .embed-placeholder {
  font-size: 0.88rem;
  max-width: 280px;
  line-height: 1.6;
}

.social-embed-area i {
  font-size: 2.5rem;
  color: var(--gray-300);
}

.social-embed-area .embed-link {
  display: inline-block;
  margin-top: 8px;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.social-embed-area .embed-link.ig {
  background: #e6683c;
}

.social-embed-area .embed-link.fb {
  background: #1877f2;
}

/* ── CTA BAND ── */
.cta-band {
  padding: 70px 20px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.cta-band p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin: 0 auto 28px;
  position: relative;
}

.cta-band .btn {
  position: relative;
}

/* ── AD BANNER (2nd – before footer) ── */
.ad-section-2 {
  background: var(--gray-100);
  padding: 24px 20px;
  display: flex;
  justify-content: center;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand .logo-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 10px 0 18px;
}

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

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--blue);
  color: var(--white);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-col .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.footer-col .contact-item i {
  color: var(--blue-light);
  margin-top: 2px;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1200px;
  margin: 50px auto 0;
  font-size: 0.8rem;
}

.footer-bottom .gold {
  color: var(--blue-light);
  font-weight: 700;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
}

/* ── PAGE HERO ── */
.page-hero {
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -150px;
  right: -100px;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}

/* Regla de contraste: todo texto del hero en blanco puro */
.page-hero * {
  color: #fff !important;
}

.page-hero p {
  font-size: 1.05rem;
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: #fff;
  position: relative;
}

.breadcrumb a {
  color: #fff;
}

.breadcrumb span {
  color: #fff;
}

/* ── MOBILE MENU ── */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 999;
  padding: 90px 32px 32px;
  gap: 8px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  display: flex;
  transform: translateX(0);
}

.mobile-nav a {
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
  border-bottom: 1px solid var(--gray-100);
  transition: padding 0.2s;
}

.mobile-nav a:hover {
  padding-left: 24px;
  color: var(--blue);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  font-size: 1.1rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-socials {
  display: flex;
  gap: 12px;
  padding-top: 16px;
}

.mobile-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-700);
  border-bottom: none;
  padding: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fixture-inner {
    flex-direction: column;
  }

  .fixture-sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .main-nav,
  .header-socials {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-slider {
    height: 420px;
  }

  .slide-content {
    left: 5%;
    bottom: 60px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .social-inner {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .tabs {
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 340px;
  }

  .slide-content h1 {
    font-size: 1.5rem;
  }

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