/* ==========================================
   MY LITTLE HOUSE — School of Language
   Diseño: Cálido, moderno, acogedor
   ========================================== */

:root {
    --red: #C0392B;
    --red-light: #E74C3C;
    --red-dark: #962D22;
    --blue: #5B9BD5;
    --blue-light: #AED6F1;
    --blue-dark: #2E86C1;
    --cream: #FFF8F0;
    --cream-dark: #F5E6D3;
    --green: #27AE60;
    --yellow: #F39C12;
    --dark: #2C3E50;
    --dark-light: #34495E;
    --gray: #7F8C8D;
    --gray-light: #ECF0F1;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul { list-style: none; }

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--cream-dark);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
}

.nav-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark);
}

.nav-logo-sub {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-light);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--red);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 4px;
    transition: var(--transition);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.35);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
    font-size: 1.1rem;
    padding: 16px 40px;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.btn-full {
    width: 100%;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, #FFF0E0 50%, #FFE8D0 100%);
    padding-top: 72px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--red);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--blue);
    bottom: 10%;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--yellow);
    top: 40%;
    right: 20%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--red);
    border: 2px solid var(--red-light);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.highlight {
    color: var(--red);
    position: relative;
}

.highlight.warm {
    color: var(--yellow);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--red);
    display: block;
}

.stat-plus {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-dark);
}

/* Hero Logo (real image) */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.3s both;
}

.hero-logo-wrapper {
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: houseFloat 4s ease-in-out infinite;
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes houseFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   POR QUÉ ELEGIRNOS
   ========================================== */
.porque {
    background: var(--cream);
}

.porque-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.porque-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--gray-light);
}

.porque-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--red-light);
}

.porque-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.porque-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.porque-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   NOSOTROS
   ========================================== */
.nosotros {
    background: var(--white);
}

.nosotros-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.nosotros-card {
    background: var(--cream);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 2px solid transparent;
}

.nosotros-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--cream-dark);
}

.nosotros-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.nosotros-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.nosotros-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Values cloud */
.values-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.value-tag {
    background: var(--white);
    color: var(--red);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid var(--cream-dark);
    transition: var(--transition);
}

.value-tag:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    transform: scale(1.05);
}

/* ==========================================
   CURSOS
   ========================================== */
.cursos {
    background: var(--cream);
}

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.curso-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.curso-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red-light);
}

.curso-card.featured {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
}

.curso-badge {
    position: absolute;
    top: 16px;
    right: -30px;
    background: var(--red);
    color: var(--white);
    padding: 4px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.curso-level {
    display: inline-block;
    background: var(--cream);
    color: var(--red);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.curso-emoji {
    font-size: 3rem;
    margin-bottom: 16px;
}

.curso-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.curso-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.curso-features {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.curso-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-light);
}

.curso-features li::before {
    content: '→';
    color: var(--red);
    font-weight: 800;
}

/* ==========================================
   PROCESO (Cómo empezar)
   ========================================== */
.proceso {
    background: var(--white);
}

.proceso-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.proceso-step {
    text-align: center;
    max-width: 220px;
    position: relative;
}

.paso-numero {
    width: 36px;
    height: 36px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    margin: 0 auto 12px;
}

.paso-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.proceso-step h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.proceso-step p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.proceso-arrow {
    font-size: 1.8rem;
    color: var(--red);
    font-weight: 800;
    margin-top: 60px;
    flex-shrink: 0;
}

/* ==========================================
   ACTIVIDADES
   ========================================== */
.actividades {
    background: var(--cream);
}

.actividades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.actividad-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid var(--gray-light);
}

.actividad-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--red-light);
}

.actividad-visual {
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.actividad-icon-large {
    font-size: 4rem;
}

.actividad-content {
    padding: 32px;
}

.actividad-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.actividad-content p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.actividad-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--cream);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    border: 1px solid var(--cream-dark);
}

/* ==========================================
   GALERÍA
   ========================================== */
.galeria {
    background: var(--white);
}

.galeria-filtros {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filtro-btn {
    padding: 8px 22px;
    border-radius: 50px;
    border: 2px solid var(--gray-light);
    background: var(--white);
    color: var(--dark-light);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filtro-btn:hover,
.filtro-btn.active {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* ==========================================
   SLIDESHOW
   ========================================== */
.slideshow {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    background: var(--cream-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slideshow-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ====== 6 VARIANTES DE TRANSICIÓN (aleatorias) ====== */

/* 1. Fade clásico */
.slide.anim-fade {
    animation: slideFade 0.9s ease forwards;
}
@keyframes slideFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* 2. Slide desde la derecha */
.slide.anim-slide-right {
    animation: slideFromRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes slideFromRight {
    from { opacity: 0; transform: translateX(100%); }
    to   { opacity: 1; transform: translateX(0); }
}

/* 3. Slide desde la izquierda */
.slide.anim-slide-left {
    animation: slideFromLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes slideFromLeft {
    from { opacity: 0; transform: translateX(-100%); }
    to   { opacity: 1; transform: translateX(0); }
}

/* 4. Zoom-in (aparece chico y crece) */
.slide.anim-zoom-in {
    animation: slideZoomIn 1s ease forwards;
}
@keyframes slideZoomIn {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: scale(1); }
}

/* 5. Ken Burns (zoom suave que sigue mientras está visible) */
.slide.anim-ken-burns img {
    animation: kenBurns 5s ease-out forwards;
}
.slide.anim-ken-burns {
    animation: slideFade 0.9s ease forwards;
}
@keyframes kenBurns {
    from { transform: scale(1); }
    to   { transform: scale(1.12); }
}

/* 6. Blur entrante (sale de desenfoque a foco) */
.slide.anim-blur {
    animation: slideBlur 1s ease forwards;
}
@keyframes slideBlur {
    from { opacity: 0; filter: blur(20px); transform: scale(1.05); }
    to   { opacity: 1; filter: blur(0); transform: scale(1); }
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.85);
    color: var(--red);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    font-weight: 700;
    padding-bottom: 4px;
}

.slide-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slide-prev { left: 16px; }
.slide-next { right: 16px; }

.slide-caption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(192, 57, 43, 0.9);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-counter {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.55);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.slide-thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 24px auto 0;
    max-width: 980px;
}

.slide-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
    flex-shrink: 0;
}

.slide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-thumb.active {
    border-color: var(--red);
    opacity: 1;
    transform: scale(1.05);
}

.slide-thumb:hover {
    opacity: 1;
}

/* ==========================================
   TIMELINE
   ========================================== */
.timeline-section {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
}

.timeline-section .section-tag {
    background: rgba(255,255,255,0.2);
}

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

.timeline-section .highlight {
    color: var(--yellow);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 24px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -42px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--yellow);
    border-radius: 50%;
    border: 3px solid var(--white);
    z-index: 1;
}

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.timeline-content p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   TESTIMONIOS
   ========================================== */
.testimonios {
    background: var(--cream);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonio-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 2px solid var(--gray-light);
    position: relative;
}

.testimonio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--red-light);
}

.testimonio-quote {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--red);
    line-height: 1;
    margin-bottom: -10px;
    opacity: 0.5;
}

.testimonio-card p {
    color: var(--dark-light);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

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

.testimonio-avatar {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 50%;
}

.testimonio-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
}

.testimonio-author span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ==========================================
   INSTAGRAM
   ========================================== */
.instagram-section {
    background: var(--white);
    padding: 80px 0;
}

.instagram-cta {
    text-align: center;
}

/* ==========================================
   CONTACTO
   ========================================== */
.contacto {
    background: var(--cream);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contacto-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contacto-icon {
    font-size: 1.8rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contacto-item h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.contacto-item p {
    color: var(--gray);
}

.contacto-item a {
    color: var(--red);
    font-weight: 600;
    transition: var(--transition);
}

.contacto-item a:hover {
    color: var(--red-dark);
}

.contacto-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237F8C8D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 4px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-motto {
    color: var(--yellow) !important;
    font-weight: 700;
    font-style: italic;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
}

.footer-social a:hover {
    background: var(--red);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6); }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 36px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-logo-wrapper {
        width: 250px;
        height: 250px;
    }

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

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

    .actividades-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .slide-thumb { width: 56px; height: 56px; }

    .proceso-grid {
        flex-wrap: wrap;
        gap: 24px;
    }

    .proceso-arrow {
        display: none;
    }

    .proceso-step {
        flex: 1 1 200px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--cream-dark);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .porque-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .cursos-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .slide-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }

    .slide-prev { left: 8px; }
    .slide-next { right: 8px; }

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

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .galeria-filtros {
        gap: 6px;
    }

    .filtro-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .nosotros-card {
        padding: 28px;
    }

    .contacto-form-wrapper {
        padding: 24px;
    }

    .timeline {
        padding-left: 40px;
    }

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

    .timeline-item::before {
        left: -32px;
    }

    .timeline::before {
        left: 14px;
    }

    .slide-thumb { width: 48px; height: 48px; }

    .slide-caption {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}
