/*!
 * AJuPaM Home - Estilos específicos para index.html
 * Extiende /css/style.css sin interferir con páginas existentes
 * Version: 1.0.0
 */

/* ===== VARIABLES ESPECÍFICAS DEL HOME ===== */
:root {
    /* Extender variables existentes para el home */
    --home-hero-gradient: linear-gradient(135deg, var(--primary-blue) 0%, #2E86AB 100%);
    --home-coral: #FF6B6B;
    --home-lime: #c3d82c;
    --home-pattern-opacity: 0.1;
    --home-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== HERO HOME ESPECÍFICO ===== */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-home.jpg') no-repeat center center/cover
}

.hero-home {
    min-height: 100vh;
    background: var(--home-hero-gradient);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px 0;
    /* Espacio para header fijo */
}

.hero-home .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 75px 75px;
    animation: float-pattern 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes float-pattern {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-home .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-home .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    font-size: 0.95rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-home .hero-title {
    font-family: var(--font-title);
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.85;
    margin-bottom: 2.5rem;
    letter-spacing: 3px;
    font-weight: 400;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.hero-home .title-highlight {
    color: var(--home-lime);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    display: block;
    margin-top: 0.5rem;
}

.hero-home .hero-description {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 3.5rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    padding: 0 1rem;
}

/* ===== ESTADÍSTICAS HERO ===== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem auto 3.5rem auto;
    max-width: 800px;
    justify-items: center;
}

.hero-stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--home-transition);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-stat:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hero-stat .stat-big {
    font-family: var(--font-title);
    font-size: 3rem;
    display: block;
    color: var(--home-lime);
    margin-bottom: 0.75rem;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== BOTONES HERO ===== */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-home .btn {
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--home-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    min-width: 200px;
    text-shadow: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hero-home .btn-primary {
    background: linear-gradient(135deg, var(--home-coral), var(--home-lime));
    color: var(--white);
    border: 2px solid transparent;
}

.hero-home .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff5252, #b8d426);
}

.hero-home .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-home .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* ===== SECCIONES DE CONTENIDO ===== */
.content-section {
    padding: 5rem 0;
}

.content-section.dark-bg {
    background: var(--dark-color);
    color: var(--light-color);
}

#la-liga {
    overflow: visible;
}

.liga-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* ===== ABOUT GRID ===== */

#quienes-somos::before {
    background-image: linear-gradient(to right, var(--light-gray) 40%, rgba(248, 249, 250, 0.7) 65%, rgba(248, 249, 250, 0.5) 100%), url('../images/quienes-somos2.jpg');
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: start;
    margin-top: 3rem;
}

.about-content {
    padding-right: 2rem;
}

.about-content h3 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    line-height: 1.1;
}

.about-content p {
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
}

.recognition-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), #2E86AB);
    color: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(3, 90, 166, 0.3);
}

.recognition-badge i {
    font-size: 2.5rem;
    color: var(--home-lime);
    flex-shrink: 0;
}

.recognition-badge div {
    flex: 1;
}

.recognition-badge h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.recognition-badge p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ===== VALUES ===== */
.about-values {
    display: grid;
    gap: 2rem;
    padding-left: 1rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: var(--home-transition);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(3, 90, 166, 0.2);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--home-coral), var(--home-lime));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.value-content {
    flex: 1;
    padding-top: 0.5rem;
}

.value-content h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.2;
}

.value-content p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.5;
}

/* ===== PROYECTOS GRID ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--home-transition);
    border: 2px solid rgba(3, 90, 166, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--home-coral), var(--home-lime));
}

.project-card.featured.aos-init.aos-animate {
    overflow: visible;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(195, 216, 44, 0.9);
}

.project-card.featured {
    background: linear-gradient(135deg, var(--primary-blue), #1e5f8b);
    color: var(--light-color);
    grid-column: span 3;
    grid-row: span 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 250px;
    padding: 3rem;
}

.project-card.featured::before {
    background: var(--home-lime);
    height: 6px;
}

.project-card.featured .project-info {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card.featured .project-stats {
    justify-self: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.project-card.coming-soon {
    opacity: 0.75;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-color: #dee2e6;
}

.project-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--home-coral), var(--home-lime));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
    flex-shrink: 0;
}

.project-card.featured .project-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    letter-spacing: 1px;
    color: var(--text-color);
    line-height: 1.2;
}

.project-card.featured h3 {
    color: var(--light-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.project-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #555;
    font-size: 1rem;
    flex-grow: 1;
}

.project-card.featured .project-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.project-stats {
    display: flex;
    gap: 3rem;
    margin: 1.5rem 0;
    justify-content: center;
}

.project-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.stat-num {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--home-lime);
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-text {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.3;
}

.project-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--home-lime);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 1rem 0;
    width: fit-content;
}

.project-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.feature-tag {
    background: var(--home-coral);
    color: var(--light-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.coming-soon-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-style: italic;
    margin: 1rem 0;
}

.project-actions {
    margin-top: 1.5rem;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 25px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--home-coral), var(--home-lime));
    color: var(--white);
    border: none;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    transition: var(--home-transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    color: var(--white);
    text-decoration: none;
}

.project-card.featured .btn-small {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-card.featured .btn-small:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== COMUNIDAD STATS ===== */
.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
    justify-items: center;
}

.community-stat {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--home-transition);
    border: 2px solid rgba(3, 90, 166, 0.1);
    width: 100%;
    max-width: 350px;
}

.community-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(3, 90, 166, 0.3);
}

.community-stat .stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--home-coral), var(--home-lime));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.stat-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.stat-big {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 400;
    line-height: 1;
}

.stat-desc {
    font-size: 1rem;
    color: #555;
    font-weight: 600;
    line-height: 1.3;
}

/* ===== GROWTH SECTION ===== */
.growth-section {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
}

.growth-section h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.growth-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--home-transition);
    position: relative;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.timeline-item.active {
    background: linear-gradient(135deg, var(--primary-blue), #2E86AB);
    color: var(--light-color);
}

.timeline-item.active .timeline-number {
    color: var(--home-lime);
}

.timeline-item.active::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--home-coral), var(--home-lime));
    border-radius: calc(var(--border-radius) + 5px);
    z-index: -1;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.timeline-number {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: block;
}

.timeline-content h4 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.timeline-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* ===== SPONSORS SECTION ===== */
.sponsors-section {
    background: linear-gradient(135deg, #b8d426 0%, #ff4757 100%);
    padding: 5rem 0;
    color: var(--dark-color);
    position: relative;
}

.sponsors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
}

.sponsors-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.sponsors-content h2 {
    font-family: var(--font-title);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    color: var(--dark-color);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.sponsors-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
}

.sponsors-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.sponsors-buttons .btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: var(--home-transition);
}

.sponsors-buttons .btn-primary {
    background: var(--dark-color);
    color: var(--light-color);
    border: 2px solid var(--dark-color);
}

.sponsors-buttons .btn-primary:hover {
    background: transparent;
    color: var(--dark-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.sponsors-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.sponsors-buttons .btn-secondary:hover {
    background: transparent;
    color: var(--dark-color);
    border-color: var(--dark-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ESPECÍFICO ===== */
.footer {
    padding: 4rem 0 2rem;
}

/* Fila principal: logo + frase + redes */
.footer-brand {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-logo-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-description {
    text-align: center;
    padding: 0 1rem;
}

.footer-description p {
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-description strong {
    color: var(--home-lime);
    font-weight: 700;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Fila de contenido: 3 columnas */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--home-lime);
    letter-spacing: 1px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    text-align: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
    transition: var(--transition);
    font-weight: 500;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--home-coral);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: start;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--home-coral), var(--home-lime));
    color: var(--white);
    border-radius: 50%;
    transition: var(--home-transition);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.contact-item i {
    color: var(--home-lime);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--home-coral);
}

.location-text {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.location-text strong {
    color: var(--home-lime);
    font-weight: 700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.recognition-text {
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}

.recognition-text strong {
    color: var(--home-lime);
    font-weight: 700;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: var(--light-color);
    border-radius: 50%;
    text-align: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-hover);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--home-transition);
    animation: pulse-whatsapp 3s infinite;
}

@keyframes pulse-whatsapp {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* ===== COUNTER ANIMATION ===== */
.counter {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.counter.animate {
    opacity: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-content {
        padding-right: 0;
        text-align: center;
    }

    .project-card.featured {
        grid-template-columns: 1fr;
        grid-column: span 3;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem;
    }

    .project-card.featured .project-info {
        grid-column: span 1;
    }

    .project-card.featured .project-stats {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

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

    .growth-timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 700px;
    }

    .hero-stat {
        min-width: auto;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .hero-home {
        padding: 100px 0 60px 0;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }

    .hero-stat {
        padding: 2rem 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .about-content h3 {
        font-size: 1.8rem;
    }

    .recognition-badge {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 2rem 1.5rem;
    }

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

    .project-card.featured {
        grid-column: span 1;
        padding: 2rem;
    }

    .project-card.featured .project-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .community-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .community-stat {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
        max-width: none;
    }

    .sponsors-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .sponsors-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Footer Responsive */
    .footer-brand {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .footer-logo-section,
    .footer-social {
        justify-content: center;
    }

    .footer-description {
        padding: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
    }

    .contact-info {
        align-items: center;
    }

    .growth-section {
        padding: 2rem 1.5rem;
    }

    .timeline-item {
        padding: 1.5rem;
    }

    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .value-content {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 3rem 0;
    }

    .hero-home .hero-content {
        padding: 0 1rem;
    }

    .hero-home .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        letter-spacing: 1px;
    }

    .hero-home .hero-description {
        font-size: 1.1rem;
        padding: 0;
    }

    .hero-stat .stat-big {
        font-size: 2.5rem;
    }

    .project-card {
        padding: 1.5rem;
        min-height: auto;
    }

    .project-card.featured {
        padding: 1.5rem;
    }

    .community-stat {
        padding: 1.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 1rem;
        right: 1rem;
    }

    .sponsors-content h2 {
        font-size: 2.2rem;
    }

    .sponsors-content p {
        font-size: 1.1rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {

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

    .hero-background {
        animation: none;
    }

    .whatsapp-float {
        animation: none;
    }

    .timeline-item.active::before {
        animation: none;
    }
}

/* ===== NAVEGACIÓN BTN STYLE (COMPATIBILIDAD) ===== */
.nav-link.btn-style {
    background: linear-gradient(135deg, var(--home-coral), var(--home-lime));
    color: var(--light-color) !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--home-transition);
}

.nav-link.btn-style:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-link.btn-style::after {
    display: none;
}

/* ===== BOTONES ADICIONALES PARA LA LIGA ===== */
.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.btn-outline-white i {
    font-size: 1rem;
}

/* Actualización responsive para timeline */
@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
        padding: 0;
        gap: 1.5rem;
    }

    .timeline::before {
        left: 30px;
        top: 0;
        bottom: 0;
        right: auto;
        width: 2px;
        height: calc(100% - 60px);
    }

    .timeline-item {
        text-align: left;
        padding-left: 80px;
        margin-bottom: 1rem;
        position: relative;
    }

    .timeline-marker {
        position: absolute;
        left: 0;
        top: 0;
    }

    .timeline-content {
        min-height: auto;
        padding: 1.25rem;
    }

    .liga-actions {
        flex-direction: column;
    }

    .liga-actions .btn,
    .liga-actions .liga-dropdown {
        width: 100%;
    }

    .liga-dropdown .btn-liga-toggle {
        width: 100%;
        justify-content: center;
    }

    .liga-submenu {
        width: 100%;
        position: static;
        margin-top: 0.5rem;
        display: none;
    }

    .liga-dropdown:hover .liga-submenu {
        display: none;
    }

    .liga-dropdown.active .liga-submenu {
        display: block;
    }
}

/* Ajuste para la grilla de comunidad en móviles */
@media (max-width: 768px) {
    .alcance-flex {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .alcance-card {
        padding: 1.5rem 1rem;
    }

    .alcance-card i {
        font-size: 2rem;
    }

    .alcance-card .stat-number {
        font-size: 2rem;
    }

    .alcance-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .alcance-flex {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .alcance-card {
        padding: 1.25rem 0.75rem;
    }
}

/* Tablets */
@media (max-width: 968px) {
    .alcance-flex {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .timeline {
        gap: 1rem;
    }

    .timeline-content {
        padding: 1.5rem 1rem;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Timeline móvil */
    .timeline {
        flex-direction: column;
        padding: 0;
        gap: 2rem;
    }

    .timeline::before {
        left: 30px;
        top: 0;
        bottom: 0;
        right: auto;
        width: 3px;
        height: calc(100% - 60px);
        background: linear-gradient(180deg, var(--primary-blue) 0%, var(--accent-lime) 100%);
    }

    .timeline-item {
        text-align: left;
        padding-left: 100px;
        margin-bottom: 1rem;
        position: relative;
        min-height: 200px;
    }

    .timeline-marker {
        position: absolute;
        left: 0;
        top: 20px;
    }

    .timeline-content {
        min-height: auto;
        margin-top: 0;
    }

    /* Liga actions móvil */
    .liga-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .liga-actions .btn,
    .liga-actions .liga-dropdown {
        width: 100%;
    }

    .liga-dropdown .btn-liga-toggle {
        width: 100%;
        justify-content: center;
    }

    .liga-submenu {
        width: 100%;
        position: static;
        margin-top: 0.5rem;
        display: none;
    }

    .liga-dropdown:hover .liga-submenu {
        display: none;
    }

    .liga-dropdown.active .liga-submenu {
        display: block;
    }

    /* Comunidad móvil */
    .alcance-flex {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .alcance-card {
        padding: 2rem 1rem;
    }

    .alcance-card i {
        font-size: 2.5rem;
    }

    .alcance-card .stat-number {
        font-size: 2.5rem;
    }

    .alcance-card p {
        font-size: 0.85rem;
    }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .alcance-flex {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .alcance-card {
        padding: 1.75rem 0.75rem;
    }

    .alcance-card i {
        font-size: 2rem;
    }

    .alcance-card .stat-number {
        font-size: 2rem;
    }

    .alcance-card p {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .timeline-item {
        padding-left: 80px;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}