/* =====================================================
=                 ESTILOS GENERALES                   =
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    
}

body {
    line-height: 1.6;
    color: #222; /* color base para textos */
    background: linear-gradient(180deg, #f8fafc, #e6edf5);
}

h1, h2, h3, h4, h5 {
    color: #0b2c5f;
}

p, li, span {
    color: #333;
}

/* =====================================================
=                 SECCIÓN LOGO                        =
===================================================== */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 34px;      /* tamaño pequeño y elegante */
    width: auto;
}

.brand-text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;    /* blanco para navbar oscuro */
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .brand-logo {
        height: 28px;
    }

    .brand-text {
        font-size: 16px;
    }
}

/* =====================================================
=                 NAVBAR                              =
===================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #0b2c5f;
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.btn-nav {
    background: #f1c40f;
    color: #000;
    padding: 10px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
}

/* Menu */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

@media (max-width: 900px) {

    .nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        background: #0b2c5f;
        flex-direction: column;
        width: 250px;
        padding: 30px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        border-radius: 0 0 0 20px;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
    }

    .btn-nav {
        display: none;
    }
}

/* =====================================================
=                 HERO                                =
===================================================== */
.hero {
    background: url(img/fondo.png) center/cover no-repeat;
    height: 100vh;
    color: #ffffff;
    position: relative;
}

.hero-content {
    padding: 120px 8%;
    max-width: 750px;
}

/* Caja oscura SOLO para textos del hero */
.hero-text-box {
    background: rgba(0, 0, 0, 0.55);
    padding: 35px 40px;
    border-radius: 20px;
    max-width: 620px;
    backdrop-filter: blur(3px);
}

/* Título principal */
.hero-content h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin: 20px 0;
    color: #ffffff;
}

.hero-content h2 span {
    color: #f1c40f;
    font-weight: 800;
}

/* Texto hero */
.hero-content p {
    font-size: 18px;
    font-weight: 400;
    color: #f1f1f1;
    margin-bottom: 25px;
}

/* Badge */
.badge {
    display: inline-block;
    background: #f1c40f;
    color: #000;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
}

/* Botones hero */
.hero-buttons {
    margin: 20px 0;
}

.btn-primary {
    background: #0b2c5f;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

.btn-secondary {
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

/* Estadísticas hero */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 25px;
}

.hero-stats strong {
    font-size: 32px;
    color: #f1c40f;
    display: block;
}

.hero-stats span {
    font-size: 14px;
    color: #ffffff;
    opacity: 0.9;
}

/* =====================================================
=                 SOBRE NOSOTROS                =
===================================================== */

/* Sección general */
.section {
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
}

/* Fondo alternado moderno */
.section:nth-child(even) {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
}

.section:nth-child(odd) {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

/* Contenedor flex para texto y foto */
.nosotros-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Texto sobre nosotros */
.texto-nosotros {
    flex: 1 1 400px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.texto-nosotros h2 {
    font-size: 2.2rem;
    color: #003366;
    margin-bottom: 15px;
}

.texto-nosotros p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Cuadro de info */
.info-box {
    background-color: #003366;
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.info-box h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: #f1c40f;
}

.info-box p {
    margin: 0;
    font-size: 0.95rem;
    color: antiquewhite;
}

/* Imagen a la derecha */
.imagen-nosotros {
    flex: 1 1 400px;
    text-align: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.imagen-nosotros img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.imagen-nosotros img:hover {
    transform: scale(1.05);
}

/* Animación de entrada al hacer scroll */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 900px) {
    .nosotros-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .imagen-nosotros img {
        max-width: 80%;
    }
}

/* =====================================================
=                 FILOSOFÍA                           =
===================================================== */

.filosofia {
    background: linear-gradient(135deg, #f5f7fa, #ffffff);
}

.filosofia-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filosofia-title {
    font-size: 2.5rem;
    color: #0b2c5f;
    margin-bottom: 10px;
}

.filosofia-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 50px;
}

.filosofia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
}

.filosofia-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.filosofia-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.filosofia-card .icon {
    font-size: 42px;
    display: block;
    margin-bottom: 15px;
}

.filosofia-card h3 {
    color: #0b2c5f;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.filosofia-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Animación visible */
.filosofia-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .filosofia-title {
        font-size: 2rem;
    }
}

/* =====================================================
=                 EQUIPO PROFESIONAL                  =
===================================================== */

.equipo {
    background: #ffffff;
}

.equipo-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.equipo-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0b2c5f;
    margin-bottom: 10px;
}

.equipo-title {
    font-size: 2.6rem;
    color: #0b2c5f;
    margin-bottom: 50px;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* Card */
.equipo-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    height: 420px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.equipo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.equipo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(11,44,95,0.95),
        rgba(11,44,95,0.6),
        rgba(11,44,95,0.2)
    );
    color: #ffffff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    transition: background 0.4s ease;
}

.equipo-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: white;
}

.equipo-overlay span {
    font-size: 0.9rem;
    color: #f1c40f;
    font-weight: 600;
    margin-bottom: 15px;
}

.equipo-overlay p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.95;
    color: white;
}

/* Social */
.equipo-social {
    margin-top: 15px;
}

.equipo-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #ffffff;
    color: #0b2c5f;
    border-radius: 50%;
    font-weight: 700;
    text-decoration: none;
}

/* Hover */
.equipo-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.equipo-card:hover .equipo-overlay {
    background: linear-gradient(
        to top,
        rgba(11,44,95,0.98),
        rgba(11,44,95,0.8)
    );
}

/* Animación visible */
.equipo-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.equipo-footer {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .equipo-title {
        font-size: 2rem;
    }
    .equipo-card {
        height: 380px;
    }
}

/* =====================================================
=                 INSCRIPCIÓN                         =
===================================================== */


.inscripcion {
    background: linear-gradient(180deg, #0b2c5f, #081f42);
    color: #ffffff;
}

.inscripcion-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.inscripcion-title {
    font-size: 2.6rem;
    font-weight: 700;
}

.inscripcion-subtitle {
    color: #f1c40f;
    margin-bottom: 60px;
}

/* ===== PASOS ===== */
.pasos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.paso {
    position: relative;
    padding-top: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.paso .numero {
    width: 45px;
    height: 45px;
    background: #f1c40f;
    color: #0b2c5f;
    font-weight: 700;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.paso h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.paso p {
    font-size: 0.85rem;
    color: #000000;
}

/* Visible */
.paso.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== INVERSIÓN ===== */
.inversion-box {
    background: #ffffff;
    color: #222;
    border-radius: 25px;
    padding: 50px 40px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.inversion-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.inversion-box h3 {
    color: #0b2c5f;
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.inversion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.inversion-card h4 {
    color: #0b2c5f;
    margin-bottom: 10px;
}

.precio {
    color: #f1c40f;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.inversion-card ul {
    list-style: none;
    padding: 0;
}

.inversion-card li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.inversion-card li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #f1c40f;
}

/* ===== BOTÓN ===== */
.btn-inscripcion {
    display: inline-block;
    background: #f1c40f;
    color: #0b2c5f;
    padding: 16px 40px;
    border-radius: 35px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-inscripcion:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .inscripcion-title {
        font-size: 2rem;
    }

    .inversion-box {
        padding: 35px 25px;
    }
}

/* =====================================================
=                 NUESTRAS SEDES                      =
===================================================== */

.sedes {
    background: linear-gradient(180deg, #0b2c5f, #081f42);
}

.sedes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sedes-title {
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Grid */
.sedes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Card */
.sede-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.sede-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Badge */
.sede-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f1c40f;
    color: #0b2c5f;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 2;
}

/* Imagen */
.sede-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Contenido */
.sede-content {
    padding: 25px;
}

.sede-content h3 {
    color: #0b2c5f;
    margin-bottom: 10px;
}

.direccion {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #555;
}

/* Mapa */
.mapa iframe {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 15px;
    margin-bottom: 20px;
}

/* Horarios */
.horarios p {
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #333;
}

/* Botón */
.btn-sede {
    display: inline-block;
    margin-top: 15px;
    background: #0b2c5f;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-sede:hover {
    background: #f1c40f;
    color: #0b2c5f;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .sedes-title {
        font-size: 2rem;
    }
}


/* =====================================================
=                 SECCIONES GENERALES                 =
===================================================== */
.section {
    padding: 70px 8%;
    text-align: center;
    background: #ffffff;
}

/* Fondo claro */
.bg-light {
    background: #f9f9f9;
}

.bg-light h2,
.bg-light h3,
.bg-light p,
.bg-light li {
    color: #222;
}

/* Fondo oscuro */
.bg-dark {
    background: #0b2c5f;
    color: #ffffff;
}

.bg-dark h2,
.bg-dark h3,
.bg-dark p,
.bg-dark li {
    color: #ffffff;
}

/* =====================================================
=                 COMPONENTES                         =
===================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    color: #222;
}

.card h3 {
    color: #0b2c5f;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0b2c5f;
}

/* =====================================================
=                 FORMULARIO                          =
===================================================== */
/* --- ESTILOS CONTACTO PROFESIONAL --- */
.seccion-contacto-pro {
    padding: 100px 8%;
    background-color: #ffffff !important; /* Forzar fondo blanco */
    display: flex;
    justify-content: center;
}

.contacto-grid-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dividir en 2 columnas iguales */
    gap: 80px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

/* Títulos e Info */
.titulo-contacto {
    font-size: 3rem;
    line-height: 1.1;
    color: #0b2c5f;
    margin-bottom: 20px;
    text-align: left;
}

.bajada-contacto {
    color: #666;
    margin-bottom: 40px;
    text-align: left;
}

.botones-contacto-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-link {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.card-link:hover { transform: translateX(10px); }
.whatsapp { background-color: #e8f9f1; }
.email { background-color: #f0f7ff; }

.circulo-icono {
    max-width: 45px;
    max-height: 45px;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.whatsapp .circulo-icono { background: #25d366; }
.email .circulo-icono { background: #0b2c5f; }

.textos-card span { font-size: 0.8rem; color: #777; display: block; }
.textos-card strong { color: #0b2c5f; }

/* Formulario Estilo Minimalista (Igual a la foto) */
.formulario-minimalista .campo-grupo {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.formulario-minimalista label {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 5px;
}

.formulario-minimalista input, 
.formulario-minimalista select, 
.formulario-minimalista textarea {
    border: none;
    border-bottom: 1px solid #ddd; /* Solo línea inferior */
    padding: 10px 0;
    font-size: 1rem;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
}

.formulario-minimalista input:focus, 
.formulario-minimalista textarea:focus {
    border-bottom: 2px solid #0b2c5f;
}

.contador {
    font-size: 0.7rem;
    color: #ccc;
    text-align: right;
    margin-top: 5px;
}

.btn-enviar-moderno {
    width: 100%;
    padding: 18px;
    background-color: #0b2c5f;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}

/* Animación de entrada */
.contacto-grid-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ajuste Móvil */
@media (max-width: 850px) {
    .contacto-grid-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}
/* =====================================================
=                 FOOTER                              =
===================================================== */
/* --- FOOTER PROFESIONAL --- */
.footer-pro {
    background-color: #051630; /* Azul más oscuro que el principal */
    color: #ffffff;
    padding: 60px 8% 20px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-column h3 {
    color: #f1c40f; /* Dorado para resaltar */
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-description {
    color: #cbd5e0;
    font-size: 0.9rem;
    margin-top: 15px;
    line-height: 1.5;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.brand-text-footer {
    font-weight: 700;
    font-size: 1.2rem;
    margin-left: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #f1c40f;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.9rem;
}

.social-links a:hover {
    color: #f1c40f;
}

/* Línea de crédito final */
.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: #a0aec0;
}

.developer-credit {
    display: block;
    margin-top: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #f1c40f;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .brand-footer {
        justify-content: center;
    }
}





/* logo Whatsapp flotante */
.whatsapp-flotante {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 50px rgba(45,212,191,0.9);
    z-index: 1000;
    transition: transform 0.2s ease;
}
                  
.whatsapp-flotante img {
    width: 90px;
    height: 90px;
}
                  
.whatsapp-flotante:hover {
    transform: scale(1.1);
}

.filosofia-card,
.inversion-card,
.sede-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

.filosofia-card:hover,
.inversion-card:hover,
.sede-card:hover {
    transform: translateY(-8px);
}

/*Responsive general*/
@media (max-width: 768px) {

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .hero-text-box {
        padding: 25px;
    }

.inscripcion-title,
.sedes-title,
.equipo-title {
    font-size: 1.8rem;
}

.titulo-contacto {
    font-size: 2rem;
}

}

html, body {
    overflow-x: hidden;
}