/* ===================================
   My Symphony - Estilos CSS
   Paleta de colores basada en el logo
   =================================== */

/* ===== Variables CSS ===== */
:root {
    /* Colores principales del logo */
    --color-blue: #00a8e8;
    --color-pink: #e91e63;
    --color-yellow: #d4e157;
    --color-red: #e53935;
    --color-orange: #ff9800;
    --color-purple: #9c27b0;
    --color-lime: #c6db3d;
    
    /* Colores de fondo y texto */
    --color-white: #ffffff;
    --color-light: #f8f9fa;
    --color-gray-light: #e9ecef;
    --color-gray: #6c757d;
    --color-dark: #2d3436;
    --color-black: #1a1a1a;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--color-blue) 0%, var(--color-purple) 100%);
    --gradient-warm: linear-gradient(135deg, var(--color-orange) 0%, var(--color-pink) 100%);
    --gradient-vibrant: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-lime) 100%);
    
    /* Tipografía */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Fredoka', sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    
    /* Bordes */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Reset y Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.7;
    background-color: var(--color-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* ===== Tipografía ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* ===== Botones ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-blue);
    border: 2px solid var(--color-blue);
}

.btn-secondary:hover {
    background: var(--color-blue);
    color: var(--color-white);
}

.btn-cta {
    background: var(--gradient-warm);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.btn-cta:hover {
    transform: scale(1.05);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-program {
    background: transparent;
    color: var(--color-blue);
    border: 2px solid var(--color-blue);
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.btn-program:hover {
    background: var(--color-blue);
    color: var(--color-white);
}

/* ===== Etiquetas de sección ===== */
.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-pink);
    margin-bottom: var(--spacing-sm);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header p {
    color: var(--color-gray);
    font-size: 1.125rem;
    margin-top: var(--spacing-sm);
}

/* ===================================
   HEADER / NAVEGACIÓN
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-weight: 500;
    color: var(--color-dark);
    position: relative;
}

.nav-menu a:not(.btn-cta):hover {
    color: var(--color-blue);
}

.nav-menu a:not(.btn-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

.nav-menu a:not(.btn-cta):hover::after {
    width: 100%;
}

/* Submenú desplegable */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 1rem 0;
    margin-top: 0rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10001;
}

.nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-menu .dropdown-menu li {
    width: 100%;
}

.nav-menu .dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-dark);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.nav-menu .dropdown-menu a::after {
    display: none;
}

.nav-menu .dropdown-menu a:hover {
    background: var(--color-light);
    color: var(--color-blue);
    padding-left: 2rem;
}

.nav-menu .dropdown > a::after {
    content: '▾';
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding-top: 100px;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.hero-title {
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 70%;
    animation: fadeInRight 1s ease 0.3s both;
}

.floating-notes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.note {
    position: absolute;
    font-size: 6rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.note-1 {
    color: var(--color-blue);
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.note-2 {
    color: var(--color-pink);
    top: 70%;
    left: 15%;
    animation-delay: 1.5s;
}

.note-3 {
    color: var(--color-yellow);
    top: 25%;
    right: 20%;
    animation-delay: 3s;
}

.note-4 {
    color: var(--color-orange);
    top: 80%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ===================================
   PHILOSOPHY SECTION
   =================================== */
.philosophy {
    padding: var(--spacing-lg) 0;
    background: var(--gradient-primary);
    color: var(--color-white);
}

.philosophy-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    animation: pulse 2s ease-in-out infinite;
}

.philosophy h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.philosophy .lead {
    font-size: 1.375rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--spacing-xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-warm);
    color: var(--color-white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    animation: rotate 20s linear infinite;
}

.badge-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-display);
    line-height: 1;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.about-content p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray);
}

.about-cta {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--gradient-vibrant);
    border-radius: var(--radius-lg);
}

.about-cta .cta-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
}

/* ===================================
   PROGRAMS SECTION
   =================================== */
.programs {
    padding: var(--spacing-xl) 0;
    background: var(--color-light);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.program-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.program-card.featured {
    border: 3px solid var(--color-pink);
}

.program-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    flex-shrink: 0;
}

.program-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-warm);
    color: var(--color-white);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.program-card h3 {
    margin-bottom: var(--spacing-xs);
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}

.program-age {
    color: var(--color-pink);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    min-height: 1.4rem;
}

.program-description {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
    min-height: 80px;
}

.program-image {
    margin: var(--spacing-sm) 0 var(--spacing-md) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* ===================================
   BENEFITS SECTION
   =================================== */
.benefits {
    padding: var(--spacing-xl) 0;
}

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.benefit-text p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray);
}

.cta-box {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.1) 0%, rgba(156, 39, 176, 0.1) 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-blue);
}

.cta-box .cta-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.benefits-visual {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.benefit-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--color-blue);
}

.benefit-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery {
    padding: var(--spacing-xl) 0;
    background: var(--color-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    padding: var(--spacing-xl) 0;
}

.video-testimonials,
.text-testimonials {
    margin-bottom: var(--spacing-lg);
}

.video-testimonials h3,
.text-testimonials h3 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: #ffd700;
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.testimonial-text {
    color: var(--color-gray);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--color-dark);
}

.testimonial-author span {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.google-link {
    text-align: center;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-primary);
    color: var(--color-white);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.cta-content .btn-large {
    border: 2px solid var(--color-white);
}

.cta-content .btn-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--color-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info h2 {
    margin-bottom: var(--spacing-sm);
}

.contact-info > p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-blue);
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--color-gray);
    line-height: 1.6;
}

.social-links h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.social-icons a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-form {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--color-gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
}

.form-group textarea {
    resize: vertical;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 60px;
    margin-bottom: var(--spacing-sm);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 0.5rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-contact a:hover {
    color: var(--color-white);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ===================================
   WHATSAPP FLOAT BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-base);
    animation: bounce 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===================================
   PLACEHOLDERS DE IMÁGENES
   =================================== */
.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.1) 0%, rgba(233, 30, 99, 0.1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    border-radius: var(--radius-md);
}

.image-placeholder.small {
    min-height: 200px;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

.image-placeholder p {
    font-size: 0.9rem;
    text-align: center;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.2) 0%, rgba(156, 39, 176, 0.2) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-blue);
}

/* ===================================
   MODAL
   =================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-base);
    z-index: 1;
}

.modal-close:hover {
    background: var(--color-gray-light);
    color: var(--color-dark);
    transform: rotate(90deg);
}

.modal-title {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 2rem 2rem 1rem 2rem;
    margin: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-subtitle {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0 2rem 2rem 2rem;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 400;
    opacity: 0.95;
}

/* Carrusel en el modal */
.modal-carousel {
    background: var(--color-light);
    padding: 1.5rem;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-dark);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-gray-light);
    cursor: pointer;
    transition: all var(--transition-base);
}

.indicator:hover {
    background: var(--color-gray);
}

.indicator.active {
    background: var(--color-blue);
    width: 30px;
    border-radius: 6px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 20001;
}

.lightbox-close:hover {
    color: var(--color-pink);
    transform: rotate(90deg);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-white);
    transition: all var(--transition-base);
    z-index: 20001;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 1.125rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--color-gray);
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-body strong {
    color: var(--color-dark);
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--color-gray-light);
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-footer .btn {
    flex: 1;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        flex-direction: column;
        padding-top: 100px;
        min-height: auto;
        padding-bottom: var(--spacing-md);
    }
    
    .hero-content {
        position: relative;
        z-index: 3;
    }
    
    .hero-text {
        margin: 0;
        max-width: 100%;
        padding: 1rem;
        margin-bottom: 220px;
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
    }
    
    .hero-image {
        position: relative;
        width: 100%;
        height: 400px;
        transform: none;
        margin-top: 0;
        z-index: 1;
    }
    
    .about-grid,
    .benefits-layout,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: 10px;
        right: 10px;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .badge-text {
        font-size: 0.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .programs-grid,
    .gallery-grid,
    .video-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .logo img {
        height: 45px;
    }
    
    /* Modal responsive en móvil */
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-title {
        font-size: 1.5rem;
        padding: 1.5rem 1.5rem 0.75rem 1.5rem;
    }
    
    .modal-subtitle {
        font-size: 1rem;
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        flex-direction: column;
        padding: 1rem 1.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    /* Carrusel responsive */
    .modal-carousel {
        padding: 1rem;
    }
    
    .carousel-slides {
        height: 250px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
    
    /* Lightbox responsive */
    .lightbox img {
        max-width: 95%;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }
    
    .lightbox-btn {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-counter {
        bottom: 15px;
        font-size: 0.9rem;
        padding: 0.375rem 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .floating-notes,
    .btn {
        display: none;
    }
}
