/**
 * Landing Figma - Viva El Fútbol
 * Replica visual del diseño Figma (verde cancha #2E7D32, negro #1a1a1a, blanco)
 * Se carga solo en la página de inicio (body.page-home)
 */

/* ---- Variables tema Figma (override en landing) ---- */
.page-home {
    --color-principal: #2E7D32;
    --color-principal-hover: #256b29;
    --color-secundario: #1a1a1a;
    --color-fondo: #ffffff;
    --color-texto: #1a1a1a;
    --color-texto-suave: #737373;
    --color-borde: rgba(0,0,0,0.1);
    --whatsapp: #25d366;
    --radio: 0.5rem;
    --radio-lg: 0.75rem;
    --ancho-max: 1280px;
}

/* ---- Sin espacios blancos entre secciones (como en Figma) ---- */
.page-home .home-section {
    margin-bottom: 0;
}

body.page-home {
    background: #fff;
}

/* ---- Layout contenedor ---- */
.page-home .main-content {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.page-home .container {
    max-width: var(--ancho-max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .page-home .container { padding: 0 2rem; }
}

/* ---- Header Figma: fijo, blanco, logo + nav anclas ---- */
.page-home .site-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    color: var(--color-secundario);
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: box-shadow 0.3s, background 0.3s;
}

.page-home .site-header.scrolled {
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.page-home .header-inner {
    max-width: var(--ancho-max);
    margin: 0 auto;
    padding: 0 1rem;
    height: 4rem;
}

@media (min-width: 1024px) {
    .page-home .header-inner { height: 5rem; padding: 0 2rem; }
}

.page-home .logo {
    color: var(--color-secundario);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-home .logo:hover { color: var(--color-principal); }

.page-home .logo-icon {
    width: 2.25rem;
    height: 2.25rem;
    background: var(--color-principal);
    color: #fff;
    border-radius: var(--radio);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-home .logo span.primary { color: var(--color-principal); }

.page-home .nav-main a {
    color: var(--color-texto);
    padding: 0.5rem 1rem;
    border-radius: var(--radio);
    font-weight: 500;
    font-size: 0.875rem;
}

.page-home .nav-main a:hover {
    color: var(--color-principal);
    background: rgba(46, 125, 50, 0.08);
}

.page-home .nav-main a.nav-admin {
    margin-left: 0.5rem;
    color: var(--color-texto-suave);
    border: 1px solid var(--color-borde);
}

.page-home .nav-main a.nav-admin:hover {
    color: var(--color-principal);
    border-color: var(--color-principal);
}

/* Menú móvil */
.page-home .nav-toggle {
    border-color: var(--color-texto);
    color: var(--color-texto);
}

.page-home .nav-main.visible {
    background: #fff;
    border-top: 1px solid var(--color-borde);
    padding: 1rem;
}

/* ---- Hero: full viewport, imagen fondo, overlay, título + 2 CTAs ---- */
.page-home .hero-landing {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
}

@media (min-width: 1024px) { .page-home .hero-landing { padding-top: 5rem; } }

.page-home .hero-landing-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-home .hero-landing-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-home .hero-landing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    z-index: 1;
}

.page-home .hero-landing-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1rem;
}

.page-home .hero-landing h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 1.5rem;
    font-weight: 700;
}

.page-home .hero-landing h1 .text-primary { color: var(--color-principal); }

@media (min-width: 768px) {
    .page-home .hero-landing h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .page-home .hero-landing h1 { font-size: 4rem; }
}

.page-home .hero-landing-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    max-width: 36rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .page-home .hero-landing-subtitle { font-size: 1.5rem; }
}

.page-home .hero-landing-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .page-home .hero-landing-ctas { flex-direction: row; }
}

.page-home .hero-landing-ctas .btn {
    min-width: 200px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radio-lg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.page-home .hero-landing-ctas .btn:hover { transform: scale(1.05); }

.page-home .hero-landing-ctas .btn-primary {
    background: var(--color-principal);
}

.page-home .hero-landing-ctas .btn-secondary {
    background: #fff;
    color: var(--color-secundario);
    border: none;
}

.page-home .hero-landing-ctas .btn-secondary:hover {
    background: #f9f9f9;
    color: var(--color-secundario);
}

/* Figma: segundo CTA es botón blanco (bg-white text-secondary) */
.page-home .hero-landing-ctas .btn-hero-white {
    background: #fff;
    color: var(--color-secundario);
    border: none;
}

.page-home .hero-landing-ctas .btn-hero-white:hover {
    background: #f9fafb;
    color: var(--color-secundario);
}

/* Scroll indicator */
.page-home .hero-landing-scroll,
.page-home .hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.8);
    animation: bounce-y 2s ease-in-out infinite;
}

@keyframes bounce-y {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.page-home .hero-landing-scroll::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: bounce-y 2s ease-in-out infinite;
}

/* ---- Partidos y resultados (Figma: selector, tabs, cards con sombra, tabla en card, goleadores) ---- */
.page-home .partidos-resultados-figma .tabs-selector-torneo {
    margin-bottom: 1.5rem;
}

.page-home .partidos-resultados-figma .tabs-selector-torneo label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-texto, #333);
}

.page-home .partidos-resultados-figma .tabs-selector-torneo .form-control,
.page-home .partidos-resultados-figma .form-control-figma {
    max-width: 22rem;
    padding: 0.65rem 2rem 0.65rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background: #f5f5f5;
    font-size: 1rem;
    color: var(--color-texto, #333);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.page-home .tabs-selector-torneo .form-control {
    max-width: 20rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-borde);
    border-radius: var(--radio);
}

/* ---- Section lead text ---- */
.page-home .section-figma-lead {
    color: var(--color-texto-suave);
    font-size: 1.125rem;
    margin: 0 0 1.5rem;
    max-width: 40rem;
}

/* ---- Stats Figma: imagen de fondo arriba, transición a oscuro, contadores sin cajas blancas ---- */
.page-home .section-stats.stats-strip {
    position: relative;
    background: #1a1a1a;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

/* Franja superior: color sólido oscuro */
.page-home .section-stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1a1a1a;
}

.page-home .section-stats-bg::after {
    display: none;
}

/* Contenedor de contadores: sin fondo, sin cajas blancas */
.page-home .section-stats .section-stats-inner,
.page-home .section-stats .container {
    position: relative;
    z-index: 1;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 4rem 1rem 5rem;
}

@media (min-width: 1024px) {
    .page-home .section-stats .section-stats-inner,
    .page-home .section-stats .container {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
        padding: 5rem 2rem 6rem;
    }
}

.page-home .stat-item-figma {
    text-align: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
}

/* Figma: icono en bg-primary/10 rounded-full, icon text-primary (verde) */
.page-home .stat-item-figma .stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    padding: 1rem;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 9999px;
    color: var(--color-principal);
}

.page-home .stat-item-figma .stat-icon svg {
    width: 100%;
    height: 100%;
}

/* Número grande + signo "+" */
.page-home .stat-item-figma .stat-num {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    display: inline;
    margin: 0;
}

.page-home .stat-item-figma .stat-plus {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
}

@media (min-width: 1024px) {
    .page-home .stat-item-figma .stat-num,
    .page-home .stat-item-figma .stat-plus { font-size: 3rem; }
}

.page-home .stat-item-figma .stat-label {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-top: 0.25rem;
}

@media (min-width: 1024px) {
    .page-home .stat-item-figma .stat-label { font-size: 1.125rem; }
}

/* ---- Secciones genéricas: sin huecos blancos, fondos continuos ---- */
.page-home .section-figma {
    padding: 4rem 1rem;
    background: #fff;
}

/* Figma: gray-50 = #f5f5f5 (muted) */
.page-home .section-figma.section--gray {
    background: #f5f5f5;
}
.page-home .section-figma.section--white { background: #fff; }

@media (min-width: 1024px) {
    .page-home .section-figma { padding: 6rem 2rem; }
}

/* Figma: títulos text-3xl lg:text-5xl font-bold text-secondary, una palabra en text-primary */
.page-home .section-head-wrap {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .page-home .section-head-wrap { margin-bottom: 3.5rem; }
}

.page-home .section-figma .section-head,
.page-home .section-head {
    text-align: center;
    margin: 0 0 1rem;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-secundario);
    line-height: 1.2;
}

.page-home .section-head .text-primary { color: var(--color-principal); }

@media (min-width: 1024px) {
    .page-home .section-figma .section-head,
    .page-home .section-head { font-size: 3rem; }
}

/* Descripción bajo el título (Figma: text-lg text-muted-foreground max-w-2xl mx-auto) */
.page-home .section-desc {
    font-size: 1.125rem;
    color: var(--color-texto-suave);
    max-width: 42rem;
    margin: 0 auto 0;
    line-height: 1.6;
}

.page-home .section-desc-sm {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.page-home .section-figma .section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-secundario);
    margin: 0 0 1rem;
}

.page-home .section-figma .section-title .text-primary { color: var(--color-principal); }

@media (min-width: 1024px) {
    .page-home .section-figma .section-title { font-size: 3rem; }
}

.page-home .section-figma .section-desc {
    font-size: 1.125rem;
    color: var(--color-texto-suave);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---- Torneos: grid cards (Figma: imagen centrada arriba, contenido abajo, bien organizado) ---- */
.page-home .torneos-grid-figma {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-items: center;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .page-home .torneos-grid-figma {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .page-home .torneos-grid-figma {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Card: bloque imagen arriba + contenido abajo, bordes redondeados y sombra */
.page-home .torneo-card-figma {
    position: relative;
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s, transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.page-home .torneo-card-figma:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* Bloque imagen: altura fija, imagen centrada (cover + center) */
.page-home .torneo-card-figma-image {
    position: relative;
    width: 100%;
    height: 11rem;
    min-height: 11rem;
    background-color: var(--color-secundario, #2d5a3d);
    background-image: var(--torneo-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.page-home .torneo-card-figma-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-principal);
}

.page-home .torneo-card-figma .torneo-card-figma-badge {
    background: var(--color-principal);
}

.page-home .torneo-card-figma .torneo-card-figma-badge.badge--inscripcion {
    background: #eab308;
    color: #1a1a1a;
}

.page-home .torneo-card-figma-content {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.page-home .torneo-card-figma-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.page-home .torneo-card-figma:hover .torneo-card-figma-title {
    color: var(--color-principal);
}

.page-home .torneo-card-figma-meta {
    font-size: 0.875rem;
    color: var(--color-texto-suave, #666);
    margin: 0 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.page-home .torneo-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.page-home .torneo-meta-icon {
    flex-shrink: 0;
    opacity: 0.8;
}

.page-home .torneo-card-figma-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.6rem 1rem;
    background: rgba(46, 125, 50, 0.12);
    color: var(--color-principal);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: background 0.2s, color 0.2s;
    margin-top: auto;
}

.page-home .torneo-card-figma:hover .torneo-card-figma-btn {
    background: var(--color-principal);
    color: #fff;
}

/* Sin imagen: degradado en el bloque imagen */
.page-home .torneo-card-figma:not([style*="--torneo-bg"]) .torneo-card-figma-image {
    background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
}

/* Link Ver todos los torneos */
.page-home .link-ver-todos {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: var(--color-principal);
    font-weight: 600;
    border: 2px solid var(--color-principal);
    border-radius: var(--radio-lg);
    text-decoration: none;
    transition: all 0.2s;
    margin: 0 auto;
}

.page-home .link-ver-todos:hover {
    background: var(--color-principal);
    color: #fff;
}

.page-home .enlaces-rapidos {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0;
}

/* Tabla de posiciones (Figma: card con sombra, cabecera verde, DG, Pts en verde, filas alternadas) */
.page-home .tabla-grupo-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-texto, #1a1a1a);
    margin: 0 0 1rem;
}

.page-home .tabla-posiciones-wrap.tabla-card-figma {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 2rem;
}

.page-home .tabla-posiciones {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.page-home .tabla-posiciones thead {
    background: var(--color-principal);
    color: #fff;
}

.page-home .tabla-posiciones th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
}

.page-home .tabla-posiciones th:not(:first-child):not(:nth-child(2)) { text-align: center; }

.page-home .tabla-posiciones tbody tr {
    border-bottom: 1px solid #eee;
}

.page-home .tabla-posiciones tbody tr:nth-child(even) {
    background: rgba(46, 125, 50, 0.04);
}

.page-home .tabla-posiciones tbody tr:hover { background: rgba(46, 125, 50, 0.08); }

.page-home .tabla-posiciones td {
    padding: 0.75rem 1rem;
}

.page-home .tabla-posiciones td:not(:first-child):not(:nth-child(2)) { text-align: center; }

.page-home .tabla-posiciones .tabla-pts {
    color: var(--color-principal);
    font-weight: 700;
}

/* Goleadores (Figma: card por fila, badge circular ranking, goles en verde con icono) */
.page-home .goleadores-list-figma {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.page-home .goleador-card-figma {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}

.page-home .goleador-card-figma:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.page-home .goleador-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #fff;
    flex-shrink: 0;
}

.page-home .goleador-badge-1 { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.page-home .goleador-badge-2 { background: #6b7280; }
.page-home .goleador-badge-3 { background: #ea580c; }
.page-home .goleador-badge-4,
.page-home .goleador-badge-5 { background: #9ca3af; }

.page-home .goleador-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.page-home .goleadores-nombre {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-texto, #1a1a1a);
}

.page-home .goleadores-equipo {
    font-size: 0.8125rem;
    color: #666;
}

.page-home .goleadores-goles {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-principal);
}

.page-home .goleador-icon {
    flex-shrink: 0;
}

/* ---- Partidos y resultados: tabs (Figma: barra gris, tab activo blanco redondeado) ---- */
.page-home .tabs-wrap {
    margin-top: 2rem;
}

.page-home .partidos-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    max-width: 40rem;
    margin: 0 auto 2rem;
    padding: 0.25rem;
    background: #e8e8e8;
    border-radius: 0.5rem;
}

.page-home .partidos-tabs .tabs-trigger {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.page-home .partidos-tabs .tabs-trigger:hover {
    color: var(--color-principal);
}

.page-home .partidos-tabs .tabs-trigger.active {
    background: #fff;
    color: var(--color-texto, #1a1a1a);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.page-home .tabs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 48rem;
    margin: 0 auto 2rem;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--color-borde);
    border-radius: var(--radio-lg);
}

@media (min-width: 1024px) {
    .page-home .tabs-list { grid-template-columns: repeat(4, 1fr); }
}

.page-home .tabs-trigger {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--color-texto-suave);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.page-home .tabs-trigger:hover { color: var(--color-principal); }

.page-home .tabs-trigger.active {
    background: #fff;
    color: var(--color-principal);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.page-home .tabs-content { display: none; }
.page-home .tabs-content.active { display: block; }

/* Cards de partidos (Figma: blanco, sombra, bordes redondeados, marcador en caja verde) */
.page-home .partidos-grid-figma {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .page-home .partidos-grid-figma { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .page-home .partidos-grid-figma { grid-template-columns: repeat(3, 1fr); }
}

.page-home .partido-card-figma {
    display: block;
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.page-home .partido-card-figma:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.page-home .partido-card-figma-equipos {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-home .partido-card-figma-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.page-home .partido-card-figma-equipo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-texto, #1a1a1a);
}

.page-home .partido-card-escudo {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
    flex-shrink: 0;
}

.page-home .partido-card-figma-vs {
    font-size: 0.8125rem;
    color: #888;
    text-align: center;
    padding: 0.25rem 0;
}

.page-home .partido-card-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0.35rem 0.6rem;
    background: var(--color-principal);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 0.375rem;
}

.page-home .partido-card-figma-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.8125rem;
    color: #666;
}

.page-home .partido-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.page-home .partido-meta-icon {
    flex-shrink: 0;
    opacity: 0.85;
}

.page-home .select-torneo-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secundario);
    margin-bottom: 0.5rem;
}

.page-home .select-torneo {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto 2rem;
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-borde);
    border-radius: var(--radio);
    font-size: 1rem;
    background: #fff;
}

/* Match cards (partidos) */
.page-home .partidos-grid-figma {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .page-home .partidos-grid-figma { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .page-home .partidos-grid-figma { grid-template-columns: repeat(3, 1fr); }
}

.page-home .match-card-figma {
    background: #fff;
    border-radius: var(--radio-lg);
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.page-home .match-card-figma:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.1); }

.page-home .match-card-figma a {
    text-decoration: none;
    color: inherit;
}

.page-home .match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.page-home .match-row .equipo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.page-home .match-row .escudo-mini {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.page-home .match-row .vs-badge {
    padding: 0.25rem 0.75rem;
    font-weight: 700;
    color: var(--color-texto-suave);
}

.page-home .match-row .score-badge {
    padding: 0.25rem 1rem;
    background: rgba(46, 125, 50, 0.1);
    color: var(--color-principal);
    font-weight: 700;
    border-radius: 0.25rem;
}

.page-home .match-card-figma .match-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-borde);
    font-size: 0.875rem;
    color: var(--color-texto-suave);
}

.page-home .match-card-figma .match-meta span { display: block; margin-bottom: 0.25rem; }

/* Tabla posiciones */
.page-home .table-wrap-figma {
    background: #fff;
    border-radius: var(--radio-lg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 64rem;
    margin: 0 auto;
}

.page-home .table-wrap-figma .overflow-x { overflow-x: auto; }

.page-home .table-wrap-figma table {
    width: 100%;
    border-collapse: collapse;
}

.page-home .table-wrap-figma thead {
    background: var(--color-principal);
    color: #fff;
}

.page-home .table-wrap-figma th {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: left;
}

.page-home .table-wrap-figma th.text-center { text-align: center; }

.page-home .table-wrap-figma tbody tr {
    border-bottom: 1px solid var(--color-borde);
}

.page-home .table-wrap-figma tbody tr:hover { background: #f9fafb; }

.page-home .table-wrap-figma tbody tr.top-2 { background: rgba(46, 125, 50, 0.05); }

.page-home .table-wrap-figma td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.page-home .table-wrap-figma td.text-center { text-align: center; }

.page-home .table-wrap-figma .pts { font-weight: 700; color: var(--color-principal); }

/* Goleadores list */
.page-home .scorers-list {
    max-width: 42rem;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radio-lg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

.page-home .scorer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-borde);
}

.page-home .scorer-row:last-child { border-bottom: none; }

.page-home .scorer-row:hover { background: #f9fafb; }

.page-home .scorer-row .pos {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    margin-right: 1rem;
}

.page-home .scorer-row .pos-1 { background: #facc15; color: #fff; }
.page-home .scorer-row .pos-2 { background: #d1d5db; color: #fff; }
.page-home .scorer-row .pos-3 { background: #b45309; color: #fff; }
.page-home .scorer-row .pos-default { background: #f3f4f6; color: #4b5563; }

.page-home .scorer-row .name-team { flex: 1; }

.page-home .scorer-row .goles {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-principal);
}

/* ---- Nuestros equipos: mismo tamaño todas las cards, más equipos por fila ---- */
.page-home #equipos {
    overflow-x: hidden;
    width: 100%;
    text-align: center;
}

.page-home #equipos .container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .page-home #equipos .container { padding: 0 2rem; }
}

/* Grid: más columnas para aprovechar el ancho (más equipos por fila) */
.page-home .equipos-grid-figma {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 100%;
    align-items: start;
}

@media (min-width: 640px) {
    .page-home .equipos-grid-figma {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .page-home .equipos-grid-figma {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1280px) {
    .page-home .equipos-grid-figma {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1536px) {
    .page-home .equipos-grid-figma {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

/* Card: todas exactamente iguales (mismo tamaño), cuadrado */
.page-home .equipo-card-figma {
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.75rem 0.5rem 0.75rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: box-shadow 0.25s, transform 0.25s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    aspect-ratio: 1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    direction: ltr;
}

.page-home .equipo-card-figma:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* Círculo del escudo: tamaño fijo igual para todos */
.page-home .equipo-card-figma-escudo-wrap {
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    min-width: 4.5rem;
    min-height: 4.5rem;
    max-width: 4.5rem;
    max-height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

/* Imagen del escudo: caja fija igual para todos (ninguno se ve más grande) */
.page-home .equipo-card-figma-escudo {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    max-width: 3rem;
    max-height: 3rem;
    object-fit: contain;
    display: block;
}

.page-home .equipo-card-figma-placeholder {
    font-size: 2rem;
    line-height: 1;
    opacity: 0.6;
}

/* Nombre: ancho completo, 2 líneas, mismo espacio en todas las cards */
.page-home .equipo-card-figma-nombre {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 0.2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.page-home .equipo-card-figma:hover .equipo-card-figma-nombre {
    color: var(--color-principal);
}

.page-home .equipos-ver-todos {
    text-align: center;
    margin: 0;
}

/* ---- Canchas grid (Figma: imagen arriba, tag deporte, nombre, descripción, Ver ubicación + jugadores) ---- */
.page-home .venues-grid-figma {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .page-home .venues-grid-figma { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .page-home .venues-grid-figma { grid-template-columns: repeat(3, 1fr); }
}

.page-home .venue-card-figma {
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.25s, transform 0.25s;
}

.page-home .venue-card-figma:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* Bloque imagen: altura fija, esquinas superiores redondeadas, fondo por tipo de deporte */
.page-home .venue-card-figma-image {
    position: relative;
    width: 100%;
    height: 12rem;
    min-height: 12rem;
    flex-shrink: 0;
}

.page-home .venue-card-figma-image--futbol {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
}

.page-home .venue-card-figma-image--tenis {
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 50%, #1e88e5 100%);
}

/* Tag tipo deporte: esquina inferior izquierda de la imagen, solapando ligeramente */
.page-home .venue-card-figma-tipo {
    position: absolute;
    bottom: 0.75rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--color-principal);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
}

/* Cuerpo de la card: nombre, descripción, meta */
.page-home .venue-card-figma-body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.page-home .venue-card-figma-nombre {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-texto, #1a1a1a);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.page-home .venue-card-figma-desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 1rem;
}

.page-home .venue-card-figma-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

.page-home .venue-meta-link,
.page-home .venue-meta-jugadores {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
}

.page-home .venue-meta-ubicacion {
    color: var(--color-principal);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.page-home .venue-meta-ubicacion:hover {
    opacity: 0.85;
}

.page-home .venue-meta-jugadores {
    color: #666;
}

.page-home .venue-meta-icon {
    flex-shrink: 0;
}

/* ---- Reservar: formulario centrado ---- */
.page-home .booking-form-wrap {
    max-width: 42rem;
    margin: 0 auto;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 1.5rem;
}

@media (min-width: 1024px) {
    .page-home .booking-form-wrap { padding: 2rem; }
}

.page-home .booking-form-wrap .form-group {
    margin-bottom: 1.5rem;
}

.page-home .booking-form-wrap label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-secundario);
    margin-bottom: 0.5rem;
}

.page-home .booking-form-wrap label .icon { color: var(--color-principal); }

.page-home .booking-form-wrap input,
.page-home .booking-form-wrap select,
.page-home .booking-form-wrap textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-borde);
    border-radius: var(--radio);
    font-size: 1rem;
    background: #f9f9f9;
}

.page-home .booking-form-wrap .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.page-home .booking-form-wrap .btn-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--color-principal);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: var(--radio-lg);
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.page-home .booking-form-wrap .btn-submit:hover { background: var(--color-principal-hover); }

/* ---- Reservar: 2 columnas (formulario izquierda, calendario derecha) ---- */
.page-home .booking-layout-figma {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .page-home .booking-layout-figma { grid-template-columns: 1fr 1fr; }
}

.page-home .booking-form-col .contact-info-card,
.page-home .booking-calendar-col .contact-info-card {
    padding: 1.5rem;
}

.page-home .booking-form-col .form-group { margin-bottom: 1rem; }
.page-home .booking-form-col .form-control {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--color-borde);
    border-radius: var(--radio);
    font-size: 1rem;
}
.page-home .booking-form-col .form-row-figma {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
}
@media (max-width: 640px) {
    .page-home .booking-form-col .form-row-figma { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
    .page-home .booking-form-col .contact-info-card { padding: 2rem; }
}

.page-home .contact-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--color-secundario);
}

.page-home .contact-card-desc {
    font-size: 0.9375rem;
    color: var(--color-texto-suave);
    margin: 0 0 1rem;
}

.page-home .calendario-mes-titulo {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.page-home .calendario-grid-reserva {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.page-home .calendario-dia-reserva {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #f5f5f5;
    border-radius: var(--radio);
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
}

.page-home .calendario-dia-reserva.pasado {
    opacity: 0.5;
    background: #eee;
}

.page-home .calendario-dia-reserva.tiene-ocupaciones {
    background: rgba(46, 125, 50, 0.15);
    color: var(--color-principal);
}

.page-home .calendario-dia-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--color-principal);
    color: #fff;
    font-size: 0.65rem;
    min-width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-home .ocupaciones-detalle-titulo {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.page-home .lista-ocupaciones {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    max-height: 200px;
    overflow-y: auto;
}

.page-home .ocupacion-item {
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--color-borde);
    color: var(--color-texto-suave);
}

.page-home .ocupacion-item.oculto { display: none; }

.page-home .sin-ocupaciones { color: var(--color-texto-suave); font-style: italic; }

/* ---- Contacto: 2 cards tipo Figma ---- */
.page-home .section-contacto-figma .section-desc {
    text-align: center;
}

.page-home .contact-two-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .page-home .contact-two-cards { grid-template-columns: 1fr 1fr; }
}

.page-home .contact-item-text {
    margin: 0 0 0.25rem;
    color: var(--color-texto);
    font-size: 0.9375rem;
}

.page-home .contact-link {
    color: var(--color-principal);
    font-size: 0.875rem;
    text-decoration: none;
}

.page-home .contact-link:hover { text-decoration: underline; }

.page-home .contact-redes-wrap {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-borde);
}

.page-home .contact-redes-titulo {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--color-secundario);
}

.page-home .contact-form-wa-wrap {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-borde);
}

.page-home .btn-mapa {
    margin-top: 1rem;
    text-align: center;
}

.page-home .mapa-card .mapa-inner {
    border-radius: var(--radio) var(--radio) 0 0;
    overflow: hidden;
}

.page-home .mapa-card .contact-card-title {
    padding: 0 1rem;
    padding-top: 1rem;
}

/* ---- Noticias grid ---- */
.page-home .news-grid-figma {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .page-home .news-grid-figma { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .page-home .news-grid-figma { grid-template-columns: repeat(3, 1fr); }
}

.page-home .news-card-figma {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s, transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.page-home .news-card-figma:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transform: translateY(-8px);
}

.page-home .news-card-figma .news-image {
    height: 12rem;
    overflow: hidden;
}

.page-home .news-card-figma .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.page-home .news-card-figma:hover .news-image img { transform: scale(1.1); }

.page-home .news-card-figma .news-body { padding: 1.5rem; }

.page-home .news-card-figma .news-date {
    font-size: 0.875rem;
    color: var(--color-texto-suave);
    margin-bottom: 0.5rem;
}

.page-home .news-card-figma h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secundario);
    margin: 0 0 0.75rem;
}

.page-home .news-card-figma:hover h3 { color: var(--color-principal); }

.page-home .news-card-figma .news-excerpt {
    color: var(--color-texto-suave);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-home .news-card-figma .link-leer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-principal);
    font-weight: 600;
}

/* ---- Récords: 2 columnas ---- */
.page-home .records-grid-figma {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .page-home .records-grid-figma { grid-template-columns: repeat(2, 1fr); }
}

/* Récords: PHP usa .record-block-figma */
.page-home .record-block-figma,
.page-home .record-card-figma {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}

.page-home .record-block-figma:hover,
.page-home .record-card-figma:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.page-home .record-block-figma .record-header,
.page-home .record-card-figma .record-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-home .record-block-figma .record-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secundario);
    display: block;
    margin-bottom: 0.5rem;
}

.page-home .record-block-figma .record-block-figma-value {
    margin: 0 0 0.75rem;
    color: var(--color-texto);
}

.page-home .record-block-figma a,
.page-home .record-card-figma .btn-ver {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(46, 125, 50, 0.1);
    color: var(--color-principal);
    font-weight: 600;
    border-radius: var(--radio-lg);
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.page-home .record-block-figma a:hover,
.page-home .record-card-figma .btn-ver:hover {
    background: var(--color-principal);
    color: #fff;
}

/* ---- Fútbol mundial ---- */
.page-home .world-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .page-home .world-grid { grid-template-columns: 2fr 1fr; }
}

.page-home .world-matches .match-card-figma { margin-bottom: 1rem; }

.page-home .world-leagues {
    background: #fff;
    border-radius: var(--radio-lg);
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.page-home .world-leagues h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.page-home .world-leagues .league-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radio);
    transition: background 0.2s;
}

.page-home .world-leagues .league-item:hover { background: rgba(46, 125, 50, 0.05); }

/* ---- Contacto: 2 columnas info + mapa ---- */
.page-home .contact-grid-figma {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .page-home .contact-grid-figma { grid-template-columns: 1fr 1fr; }
}

.page-home .contact-info-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.page-home .contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
}

.page-home .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-home .contact-item .icon-wrap {
    width: 3rem;
    height: 3rem;
    background: rgba(46, 125, 50, 0.1);
    border-radius: var(--radio);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-principal);
    flex-shrink: 0;
}

.page-home .contact-item h4 { font-size: 1rem; margin: 0 0 0.25rem; }

.page-home .contact-item p { margin: 0; color: var(--color-texto-suave); font-size: 0.9375rem; }

.page-home .btn-whatsapp-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--whatsapp);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radio-lg);
    text-decoration: none;
    margin-top: 0.5rem;
    transition: opacity 0.2s;
}

.page-home .btn-whatsapp-inline:hover { opacity: 0.9; color: #fff; }

.page-home .contact-redes {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-borde);
}

.page-home .contact-redes a {
    width: 3rem;
    height: 3rem;
    background: rgba(46, 125, 50, 0.1);
    color: var(--color-principal);
    border-radius: var(--radio);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.page-home .contact-redes a:hover {
    background: var(--color-principal);
    color: #fff;
}

.page-home .mapa-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    min-height: 500px;
}

.page-home .mapa-card iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
}

/* Suscripción WhatsApp: estilos en public.css para todas las pantallas */

.page-home .wa-sub-form {
    max-width: 36rem;
    margin: 0 auto;
}

.page-home .wa-sub-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-home .wa-sub-form input {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radio);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1rem;
}

.page-home .wa-sub-form input::placeholder { color: rgba(255,255,255,0.6); }

.page-home .wa-sub-form .btn-wa-sub {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--whatsapp);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: var(--radio-lg);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.page-home .wa-sub-form .btn-wa-sub:hover { opacity: 0.9; }

/* ---- Footer Figma: fondo oscuro #1a1a1a, 4 columnas exactas ---- */
.page-home .site-footer.figma-footer,
.page-home .site-footer.site-footer-figma {
    background: #1a1a1a;
    color: #fff;
    padding: 3rem 1rem 2rem;
    margin-top: 0;
}

@media (min-width: 1024px) {
    .page-home .site-footer.figma-footer,
    .page-home .site-footer.site-footer-figma { padding: 4rem 2rem 2rem; }
}

.page-home .site-footer.site-footer-figma .container {
    max-width: var(--ancho-max);
    margin: 0 auto;
}

.page-home .footer-inner.figma-footer-inner {
    max-width: var(--ancho-max);
    margin: 0 auto;
}

.page-home .footer-grid-figma,
.page-home .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .page-home .footer-grid-figma,
    .page-home .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (min-width: 1024px) {
    .page-home .footer-grid-figma,
    .page-home .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
        margin-bottom: 3rem;
    }
}

.page-home .footer-grid .logo-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.page-home .footer-grid .logo-footer .primary { color: var(--color-principal); }

.page-home .footer-grid p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.page-home .footer-grid h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #fff;
}

.page-home .footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-home .footer-grid ul li { margin-bottom: 0.5rem; }

.page-home .footer-grid ul a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.875rem;
}

.page-home .footer-grid ul a:hover { color: var(--color-principal); }

.page-home .footer-grid-figma .footer-col-title,
.page-home .footer-grid .footer-col-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
}

.page-home .footer-grid-figma .footer-links,
.page-home .footer-grid .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-home .footer-grid-figma .footer-links li { margin-bottom: 0.5rem; }

.page-home .footer-grid-figma .footer-links a,
.page-home .footer-grid .footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.875rem;
}

.page-home .footer-grid-figma .footer-links a:hover,
.page-home .footer-grid .footer-links a:hover { color: var(--color-principal); }

.page-home .footer-grid-figma .footer-dato,
.page-home .footer-grid .footer-dato {
    font-size: 0.9375rem;
    color: #fff;
    margin: 0 0 0.5rem;
}

.page-home .footer-grid-figma .footer-dato a { color: #fff; }
.page-home .footer-grid-figma .footer-dato a:hover { color: var(--color-principal); }

/* Columna 1: logo trofeo + Viva El Fútbol (Figma) */
.page-home .footer-col-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin: 0 0 1rem;
}

.page-home .footer-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-principal);
    color: #fff;
    border-radius: var(--radio);
}

.page-home .footer-logo-primary {
    color: var(--color-principal);
}

.page-home .footer-logo:hover { color: #fff; }
.page-home .footer-logo:hover .footer-logo-primary { color: var(--color-principal); }

.page-home .footer-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 1rem;
    line-height: 1.5;
}

/* Redes como iconos (cuadrados redondeados, bg white/10, hover verde) */
.page-home .footer-redes-iconos {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.page-home .footer-redes-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: var(--radio);
    transition: background 0.2s, color 0.2s;
}

.page-home .footer-redes-ico:hover {
    background: var(--color-principal);
    color: #fff;
}

/* Contacto con íconos verdes */
.page-home .footer-col-contacto .footer-dato {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 0.75rem;
}

.page-home .footer-dato-icon {
    flex-shrink: 0;
    color: var(--color-principal);
    margin-top: 0.15rem;
}

.page-home .footer-col-contacto .footer-dato a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.page-home .footer-col-contacto .footer-dato a:hover {
    color: var(--color-principal);
}

/* Barra inferior (Figma: borde blanco/10, texto gris claro, enlace desarrollador en verde) */
.page-home .footer-bottom-bar {
    padding-top: 2rem;
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

@media (min-width: 768px) {
    .page-home .footer-bottom-bar {
        flex-direction: row;
        text-align: left;
    }
}

.page-home .footer-bottom-bar .footer-copy {
    padding: 0;
    border: none;
    margin: 0;
    color: #fff;
}

.page-home .footer-bottom-bar .footer-dev {
    margin: 0;
    color: rgba(255,255,255,0.9);
}

.page-home .footer-bottom-bar .footer-dev a {
    color: var(--color-principal);
    text-decoration: none;
}

.page-home .footer-bottom-bar .footer-dev a:hover {
    text-decoration: underline;
}

.page-home .footer-copy {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    margin: 0 0 0.5rem;
}

.page-home .footer-dev {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.page-home .footer-dev a { color: var(--color-principal); }

.page-home .footer-copy-bar {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

@media (min-width: 768px) {
    .page-home .footer-copy-bar { flex-direction: row; justify-content: space-between; }
}

.page-home .footer-copy-bar a { color: var(--color-principal); }

/* ---- Botón WhatsApp flotante (siempre visible) ---- */
.page-home .btn-whatsapp-flotante {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 4rem;
    height: 4rem;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 40;
    transition: transform 0.2s, box-shadow 0.2s;
}

.page-home .btn-whatsapp-flotante:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.page-home .btn-whatsapp-flotante-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Animación pulse opcional */
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

.page-home .btn-whatsapp-flotante::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: wa-pulse 2s ease-in-out infinite;
}

/* Utilidad: centrar bloque */
.page-home .text-center { text-align: center; }

/* ====== Eventos Grid ====== */
.eventos-grid-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.evento-item-figma {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #000;
}

.evento-item-figma:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.evento-item-figma img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
    transition: transform 0.5s ease;
}

.evento-item-figma:hover img {
    transform: scale(1.05);
}
