/* ========================================
   LANDING PAGE STYLES - MENTALFAM
   Colores del logo: #7B4397 (Morado) y #1E9A8A (Verde azulado)
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7B4397;
    --secondary-color: #1E9A8A;
    --gradient: linear-gradient(135deg, #7B4397 0%, #1E9A8A 100%);
    --dark: #2c3e50;
    --light: #ecf0f1;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVEGACIÓN
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background: var(--gradient);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(123, 67, 151, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 67, 151, 0.4);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('WhatsApp Image 2025-12-04 at 4.02.15 PM (4).jpeg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 67, 151, 0.9) 0%, rgba(30, 154, 138, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 2rem;
    color: var(--white);
}

/* ========================================
   OBJETIVO SECTION
   ======================================== */

.objetivo {
    padding-top: 140px;
    padding-bottom: 120px;
    background: var(--light);
    position: relative;
    z-index: 1;
}

.objetivo-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.objetivo-icon {
    flex-shrink: 0;
}

.objetivo-icon i {
    font-size: 6rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.objetivo-text h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.objetivo-text p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--dark);
}

/* ========================================
   MISIÓN Y VISIÓN SECTION
   ======================================== */

.mision-vision {
    padding-top: 120px;
    padding-bottom: 100px;
    background: var(--white);
}

.mision-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.mv-card {
    position: relative;
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.mision-card {
    background: linear-gradient(135deg, rgba(123, 67, 151, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.vision-card {
    background: linear-gradient(135deg, rgba(30, 154, 138, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.mv-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(123, 67, 151, 0.3);
}

.mv-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.mv-card h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.mv-card p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    text-align: justify;
}

.mv-decoration {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(123, 67, 151, 0.1) 0%, rgba(30, 154, 138, 0.1) 100%);
    border-radius: 50%;
}

.mv-decoration i {
    font-size: 1.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   QUIÉNES SOMOS SECTION
   ======================================== */

.quienes-somos {
    padding-top: 120px;
    padding-bottom: 100px;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-line {
    width: 100px;
    height: 4px;
    background: var(--gradient);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

.quienes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quienes-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.quienes-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.quienes-features {
    display: grid;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(123, 67, 151, 0.1) 0%, rgba(30, 154, 138, 0.1) 100%);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* ========================================
   FUNDADORES SECTION
   ======================================== */

.fundadores {
    padding-top: 120px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, rgba(123, 67, 151, 0.05) 0%, rgba(30, 154, 138, 0.05) 100%);
}

.fundadores-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.fundadores-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.fundadores-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.fundadores-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(123, 67, 151, 0.4);
    animation: pulse 2s infinite;
}

.fundadores-badge i {
    font-size: 1.2rem;
}

.fundadores-text h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.fundadores-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.fundadores-valores {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.valor-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.valor-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.valor-item > i {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3rem;
}

.valor-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.valor-item p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* ========================================
   SERVICIOS SECTION
   ======================================== */

.servicios {
    padding-top: 120px;
    padding-bottom: 100px;
    background: var(--light);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.servicio-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.servicio-card.featured {
    background: var(--gradient);
    color: var(--white);
}

.servicio-card.featured .servicio-icon i {
    color: var(--white);
}

.servicio-card.featured .servicio-list li i {
    color: var(--white);
}

.servicio-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.servicio-icon {
    text-align: center;
    margin-bottom: 25px;
}

.servicio-icon i {
    font-size: 3.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.servicio-card h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.servicio-card.featured h3 {
    color: var(--white);
}

.servicio-description {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.servicio-list {
    list-style: none;
}

.servicio-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.servicio-card.featured .servicio-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.servicio-list li:last-child {
    border-bottom: none;
}

.servicio-list li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.servicio-footer {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #666;
}

.que-hacemos {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.que-hacemos h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.que-hacemos p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* ========================================
   NEUROPLAY SECTION
   ======================================== */

.neuroplay {
    padding-top: 120px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1) 0%, rgba(135, 206, 250, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.neuroplay::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.neuroplay .container {
    position: relative;
    z-index: 1;
}

.neuroplay .section-header {
    background: linear-gradient(135deg, #E8B4D4 0%, #7DD3D9 100%);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.neuroplay .section-header h2 {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.neuroplay .section-header .section-line {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.neuroplay .section-header p {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Badge de Fecha de Inicio */
.fecha-inicio-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 20px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    animation: pulseGlow 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fecha-inicio-badge i {
    font-size: 1.4rem;
    animation: rotate 3s linear infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Responsive para el badge de fecha */
@media (max-width: 768px) {
    .fecha-inicio-badge {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .fecha-inicio-badge i {
        font-size: 1.2rem;
    }
}

.neuroplay-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

/* Logo y Video */
.neuroplay-media {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.neuroplay-logo-container {
    background: var(--white);
    padding: 15px 30px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.neuroplay-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.neuroplay-video {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: var(--white);
    padding: 10px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 177.78%; /* Aspect ratio 9:16 para video vertical */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

/* Información */
.neuroplay-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.neuroplay-description {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.neuroplay-description h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.neuroplay-description p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 15px;
}

.neuroplay-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Programas por Edad */
.neuroplay-programas {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.neuroplay-programas h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.programas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.programa-item {
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, rgba(123, 67, 151, 0.05) 0%, rgba(30, 154, 138, 0.05) 100%);
    border-radius: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.programa-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(123, 67, 151, 0.2);
}

.programa-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    position: relative;
}

.programa-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent);
    z-index: -1;
}

.programa-icon i {
    font-size: 2.5rem;
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Colores específicos para cada programa */
.programa-baby {
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
}

.programa-peque {
    background: linear-gradient(135deg, #87CEEB, #4682B4);
}

.programa-kids {
    background: linear-gradient(135deg, #98FB98, #32CD32);
}

.programa-explorers {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.programa-xpresate {
    background: linear-gradient(135deg, #DDA0DD, #9370DB);
}

.programa-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.programa-item .edad {
    font-size: 1.05rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 8px;
}

.programa-item .programa-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
    text-align: center;
    padding: 0 5px;
}

/* CTA */
.neuroplay-cta {
    text-align: center;
    padding: 35px 40px;
    background: linear-gradient(135deg, #E8B4D4 0%, #7DD3D9 100%);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.btn-neuroplay {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 45px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: pulse-button 2s infinite;
}

@keyframes pulse-button {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn-neuroplay:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: none;
}

.btn-neuroplay i {
    font-size: 1.5rem;
}

.cta-subtitle {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 968px) {
    .neuroplay-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .neuroplay-logo {
        max-width: 300px;
    }

    .neuroplay-video iframe {
        min-height: 350px;
    }

    .programas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .neuroplay-description h3 {
        font-size: 1.8rem;
    }

    .neuroplay-programas h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .neuroplay {
        padding: 60px 0;
    }

    .neuroplay-description,
    .neuroplay-programas,
    .neuroplay-cta {
        padding: 25px 20px;
    }

    .programas-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .btn-neuroplay {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .video-wrapper {
        padding-bottom: 177.78%;
    }

    .programa-icon {
        width: 80px;
        height: 80px;
    }

    .programa-icon i {
        font-size: 2.2rem;
    }
}

/* ========================================
   INSTALACIONES SECTION
   ======================================== */

.instalaciones {
    padding-top: 120px;
    padding-bottom: 100px;
    background: var(--white);
}

.instalaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.instalacion-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    height: 300px;
}

.instalacion-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instalacion-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.instalacion-item:hover .instalacion-overlay {
    transform: translateY(0);
}

.instalacion-item:hover img {
    transform: scale(1.1);
}

.instalacion-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.instalacion-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   CONTACTO SECTION
   ======================================== */

.contacto {
    padding-top: 120px;
    padding-bottom: 100px;
    background: var(--light);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacto-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contacto-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contacto-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
}

.contacto-text h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contacto-text p,
.contacto-text a {
    color: #555;
    text-decoration: none;
    transition: var(--transition);
}

.contacto-text a:hover {
    color: var(--secondary-color);
}

.contacto-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 400px;
}

.contacto-cta {
    text-align: center;
    padding: 50px;
    background: var(--gradient);
    border-radius: 20px;
    color: var(--white);
}

.contacto-cta h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(123, 67, 151, 0.4);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom i {
    color: #e74c3c;
}

/* ========================================
   BOTONES FLOTANTES
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ========================================
   ANIMACIONES
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .objetivo {
        padding: 80px 0;
    }

    .objetivo-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .objetivo-icon i {
        font-size: 4rem;
    }

    .objetivo-text h2 {
        font-size: 2rem;
    }

    .objetivo-text p {
        font-size: 1.1rem;
    }

    .quienes-content {
        grid-template-columns: 1fr;
    }

    .mision-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mv-card {
        padding: 40px 30px;
    }

    .mv-card h3 {
        font-size: 1.8rem;
    }

    .mv-card p {
        font-size: 1rem;
    }

    .fundadores-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fundadores-badge {
        top: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .fundadores-text h3 {
        font-size: 1.8rem;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .instalaciones-grid {
        grid-template-columns: 1fr;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top {
        bottom: 80px;
        right: 20px;
    }
}

/* ========================================
   MODAL DE LOGIN
   ======================================== */

.modal-login {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-login-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 450px;
    animation: slideDown 0.4s ease;
}

.close-login {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 10001;
}

.close-login:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--primary-color);
    color: var(--white);
}

.login-modal-box {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.logo-section-modal {
    text-align: center;
    margin-bottom: 30px;
}

.logo-modal {
    max-width: 200px;
    height: auto;
}

.login-form-modal {
    width: 100%;
}

.form-group-modal {
    margin-bottom: 20px;
}

.form-group-modal label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.input-group-modal {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-modal i {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 1.1rem;
}

.input-group-modal input,
.input-group-modal select {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background: var(--white);
}

.input-group-modal input:focus,
.input-group-modal select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(123, 67, 151, 0.1);
}

.toggle-password-modal,
.toggle-password-registro,
.toggle-password-confirm {
    position: absolute;
    right: 15px;
    top: 38px;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
    z-index: 100;
    padding: 10px;
    font-size: 1.1rem;
}

.toggle-password-modal:hover,
.toggle-password-registro:hover,
.toggle-password-confirm:hover {
    color: var(--primary-color);
}

.form-group-modal {
    position: relative;
}

.input-group-modal input[type="password"],
.input-group-modal input[type="text"] {
    padding-right: 50px !important;
}

.login-btn-modal {
    width: 100%;
    padding: 14px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(123, 67, 151, 0.3);
}

.login-btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 67, 151, 0.4);
}

.login-options-modal {
    text-align: center;
    margin-top: 20px;
}

.login-options-modal p {
    margin: 8px 0;
    font-size: 0.9rem;
}

.login-options-modal a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.login-options-modal a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .modal-login-content {
        margin: 10% auto;
        width: 95%;
    }

    .login-modal-box {
        padding: 30px 20px;
    }

    .close-login {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}
