@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc; 
    --text-primary: #2d3748;
    --text-secondary: #718096;
    
    --accent: #4299e1;
    --accent-hover: #3182ce;
    
    --pastel-blue: #ebf8ff;
    --pastel-green: #f0fff4;
    --pastel-purple: #faf5ff;
    --pastel-peach: #fffaf0;
    --id-gold: #f6ad55; /* Un toque de dorado corporativo para 'éxito' */

    --border-subtle: #e2e8f0;
    --radius-lg: 32px;
    --radius-pill: 100px;
    --shadow-soft: 0 10px 25px rgba(0,0,0,0.03);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, .outfit { font-family: 'Outfit', sans-serif; }
.text-center { text-align: center; }
.p-0 { padding: 0 !important; overflow: hidden; }

/* NAVBAR */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 5%; position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
}
.logo img { height: 95px; margin: -10px 0; transition: transform 0.3s ease; } /* Ajuste de tamaño sugerido */
.logo img:hover { transform: scale(1.05); }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { color: var(--text-primary); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--accent); }

/* BUTTONS */
.btn-primary {
    background-color: var(--text-primary); color: #ffffff; padding: 14px 28px;
    border-radius: var(--radius-pill); text-decoration: none; font-family: 'Outfit', sans-serif;
    font-weight: 600; display: inline-block; transition: all 0.3s ease; border: none; cursor: pointer; text-align: center;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); background-color: #1a202c; }
.btn-secondary {
    background: transparent; color: var(--text-primary); padding: 14px 28px;
    border-radius: var(--radius-pill); text-decoration: none; font-family: 'Outfit', sans-serif;
    font-weight: 600; text-align: center; border: 1px solid var(--border-subtle); transition: all 0.3s ease; display: inline-block;
}
.btn-secondary:hover { background: var(--bg-secondary); border-color: var(--text-secondary); }

/* HERO SECTION - Modificado sin bordes redondeados abajo */
.hero {
    min-height: 85vh; display: flex; align-items: center; justify-content: space-between;
    padding: 100px 7% 0 7%; background-color: var(--bg-primary); /* Mismo blanco de la página para fundirse con la foto */
    /* ELIMINADO bordes redondeados a peticion del usuario */
}
.hero-content { flex: 1; max-width: 600px; z-index: 2; padding-right: 40px; margin-bottom: 50px; }
.badge {
    background: rgba(45, 55, 72, 0.1); color: var(--text-primary); padding: 8px 16px;
    border-radius: var(--radius-pill); font-size: 0.85rem; font-family: 'Outfit', sans-serif; font-weight: 700; display: inline-block; margin-bottom: 24px;
}
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.15; margin-bottom: 24px; color: var(--text-primary); letter-spacing: -1px; }
.hero p { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 30px; max-width: 500px; }

/* Imagen del héroe visible completa (contain) y fundida con el fondo */
.hero-image {
    flex: 1; position: relative; height: 500px; display: flex; justify-content: center; align-items: center; margin-bottom: 50px;
}
.hero-image img {
    max-width: 100%; max-height: 100%; /* No recorta la imagen */
    object-fit: contain; /* Esto asegura que se vea COMPLETA */
    mix-blend-mode: multiply; /* Elimina cualquier borde banco residuo haciendo que se vuelva transparente contra el fondo blanco */
    /* Sin borde ni sombra para que la foto no parezca una 'caja' */
}

/* TRUST BAR */
.trust-bar {
    display: flex; justify-content: space-around; padding: 50px 10%; background: white; margin-top: -10px; z-index: 10; position: relative; border-bottom: 1px solid var(--border-subtle);
}
.trust-item h3 { font-size: 2rem; color: var(--accent); margin-bottom: 5px; }
.trust-item p { font-weight: 500; color: var(--text-secondary); }

/* ABOUT US SPLIT DESIGN */
.about-split {
    display: flex; align-items: stretch; background: white; min-height: 600px;
}
.about-split-text {
    flex: 1; padding: 100px 5% 100px 7%; display: flex; flex-direction: column; justify-content: center; text-align: left;
}
.about-split-text h2 { font-size: 3.8rem; font-weight: 800; color: var(--text-primary); margin-bottom: 25px; line-height: 1.1; letter-spacing: -2px; }
.about-split-text .divider { width: 120px; height: 3px; background: #2d3748; margin-bottom: 35px; }
.about-split-text p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; max-width: 550px; }
.about-split-image {
    flex: 1; 
    background-image: url('./Material Grafico WEB ANKARA/Imagenes/Imagenes tamaño ORIGINAL/ChatGPT-Image-6-mar-2026-10_20_12.png'); 
    background-size: cover; background-position: center; min-height: 500px;
}
@media (max-width: 900px) {
    .about-split { flex-direction: column; }
    .about-split-text { padding: 80px 7%; }
    .about-split-image { height: 400px; }
    .about-split-text h2 { font-size: 2.8rem; }
}

/* ABOUT US & DIRECTIVOS */
.about-us { padding: 120px 7% 80px; background: white; text-align: center; }
.section-alianza { padding: 80px 15%; text-align: center; background: var(--bg-secondary); }

/* FEATURES GRID EXTENDED */
.features-wrapper { padding: 80px 7%; background: var(--bg-primary); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { border-radius: var(--radius-lg); padding: 45px 35px; transition: transform 0.3s ease, box-shadow 0.3s ease; border: none; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

/* SORA SCHOOLS STYLE CARDS */
.sora-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
}
.sora-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.sora-card-top {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.sora-card-bottom {
    padding: 35px;
    background: white;
    text-align: left;
    flex-grow: 1;
}
.sora-card-bottom h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--text-primary);
}
.sora-card-bottom p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* SUCCESS FORMULA SECTION (NEW) */
.success-formula {
    padding: 80px 7%;
    background: white;
}
.formula-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.formula-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.formula-item:hover {
    background: white;
    border-color: var(--id-gold);
    box-shadow: var(--shadow-soft);
    transform: translateX(10px);
}
.formula-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--id-gold);
    font-family: 'Outfit', sans-serif;
}
.formula-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}
.formula-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* METHODOLOGY GRID EXPANSION */
.method-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px; /* Asegura uniformidad total */
}
.method-card h3 {
    margin: 20px 0 15px;
    font-size: 1.4rem;
    text-align: center;
}
.method-card .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto;
}

/* ACADEMIC LEVELS JOURNEY */
.academic-levels { padding: 80px 7%; background: var(--bg-secondary); text-align: center; }
.journey-container {
    display: flex; justify-content: center; align-items: center; gap: 40px; margin-top: 50px; flex-wrap: wrap;
    position: relative;
}
.level-step {
    background: white; padding: 40px; border-radius: 30px; box-shadow: var(--shadow-soft);
    max-width: 450px; flex: 1; min-width: 300px; transition: all 0.4s ease; border: 1px solid var(--border-subtle);
    position: relative; z-index: 1;
}
.level-step:hover { transform: translateY(-10px); border-color: var(--accent); }
.level-tag {
    background: var(--accent); color: white; padding: 5px 15px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 700; position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
}
.level-icon { font-size: 3rem; margin-bottom: 20px; }
.level-step h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--text-primary); }
.level-step p { color: var(--text-secondary); font-size: 1rem; line-height: 1.5; }

.journey-arrow {
    font-size: 2rem; color: #cbd5e1;
}
@media (max-width: 900px) {
    .journey-arrow { transform: rotate(90deg); margin: 20px 0; }
}

/* PRICING */
.pricing { padding: 80px 7%; background-color: var(--bg-secondary); border-radius: 80px; margin: 0 2%; }
.pricing-header { text-align: center; margin-bottom: 60px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.price-card { position: relative; background: var(--bg-primary); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 50px 40px; text-align: center; box-shadow: var(--shadow-soft); transition: transform 0.3s ease; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.price-card.popular { background: var(--pastel-blue); border: none; }
.price-card .price { font-size: 3rem; font-weight: 800; font-family: 'Outfit', sans-serif; margin: 20px 0; color: var(--text-primary); letter-spacing: -1px; }
/* TESTIMONIAL CAROUSEL */
.testimonial-carousel {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    width: 100%;
}
.testimonial-track {
    display: flex;
    width: calc(350px * 10); /* Ajustar según número de items duplicados */
    animation: scroll 40s linear infinite;
    gap: 30px;
}
.testimonial-track:hover {
    animation-play-state: paused;
}
.testimonial-item {
    width: 350px;
    flex-shrink: 0;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1520px); } /* 4 items * (350px + 30px gap) = 1520px */
}

/* CONTACT FORM SECTION */
.contact-section { padding: 80px 7%; background: white; }
.contact-card {
    display: flex; gap: 50px; background: var(--bg-secondary); border-radius: var(--radius-lg); 
    padding: 60px; box-shadow: var(--shadow-soft); max-width: 1100px; margin: 0 auto;
    align-items: stretch; border: 1px solid var(--border-subtle);
}
.contact-text { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.contact-text h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--text-primary); line-height: 1.2; }
.contact-text p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 25px; }
.contact-form { flex: 1; background: white; padding: 45px; border-radius: 28px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); border: 1px solid var(--border-subtle); }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }
.form-group input, .form-group select {
    width: 100%; padding: 16px 20px; border-radius: 12px; border: 1px solid #cbd5e1;
    font-family: 'Inter', sans-serif; font-size: 1rem; transition: all 0.3s ease; background: #f8fafc; color: var(--text-primary);
}
.form-group input:focus, .form-group select:focus {
    outline: none; border-color: var(--accent); background: white; box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.15);
}

/* FOOTER */
.main-footer { padding: 80px 7% 40px; background: white; border-top: 1px solid var(--border-subtle); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }

.footer-brand .logo-text { font-size: 3.5rem; font-weight: 900; font-family: 'Outfit', sans-serif; color: var(--text-primary); line-height: 1; margin-bottom: 10px; letter-spacing: -2px; }
.footer-brand .logo-sub { font-size: 0.85rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 30px; letter-spacing: 1px; text-transform: uppercase; }

.footer-brand p { margin-bottom: 12px; font-size: 1rem; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }
.footer-brand p strong { color: var(--text-primary); }
.footer-brand i { color: var(--accent); width: 20px; text-align: center; }

.footer-links h4 { font-size: 1.2rem; margin-bottom: 25px; color: var(--text-primary); }
.footer-links ul li { margin-bottom: 15px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 1rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: 0.9rem; }

/* SOCIAL LINKS FOOTER */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    color: var(--accent) !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-links a:hover {
    background: var(--accent);
    color: white !important;
    transform: translateY(-3px);
}

/* WHATSAPP FLOTANTE */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(0,0,0,0.3);
}

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    .contact-card { flex-direction: column; padding: 40px 20px; gap: 30px; }
    .contact-text { text-align: center; }
}
@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .nav-links { display: none; }
    .hero-image { height: auto; }
}
