@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root{
    --padding-container: 100px 0;
    --color-title: #001a49;
}



body {
    font-family: 'Poppins', sans-serif;
    /*background-color: #834eff22; /*COLOR DEL FONDO DE LA PAGINA*/
}


.container{
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);

}

.hero{
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #000000; /*COLOR DEL TEXTO DE LA PORTADA*/
}

.hero::before{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: 
    linear-gradient(180deg, #fffafa00 0%, #ffffff00 100%),
    url("../images/LOGOHORIZONTAL.png");
background-repeat: no-repeat, no-repeat;
background-size: cover;  /* AQUÍ está la solución */
background-position: center, center;
z-index: -1;
}

/* Contenedor principal */
.ticker-container {
    width: 100%;
    overflow: hidden;
    background: #0E0E0E;
    padding: 10px 0;
    border-top: 2px solid #222;
    border-bottom: 2px solid #222;
    display: flex;
}

/* Animación */
.ticker {
    display: flex;
    gap: 40px;
    animation: scroll 22s linear infinite;
    white-space: nowrap;
}

@keyframes scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* Cada item */
.ticker__item {
    display: flex;
    align-items: center;
    background: #151515;
    padding: 8px 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
    gap: 10px;
    color: #eee;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

/* Nombre de moneda */
.currency {
    font-weight: 600;
    color: #4da6ff;
}

/* Bandera */
.ticker__item img {
    width: 22px;
    height: auto;
    border-radius: 3px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .ticker__item {
        font-size: 12px;
        padding: 6px 10px;
        gap: 6px;
    }
}


/* Nav */
/* ============================
   NAVBAR GENERAL
============================ */

.navbar {
    width: 100%;
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================
   LOGO
============================ */

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
  
}

.nav-logo img {
    height: 48px;
}

.nav-logo span {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0A2A66;
    font-family: "Poppins", sans-serif;
}

/* ============================
   ENLACES
============================ */

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #0A2A66;
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: 0.3s ease;
}

/* Efecto hover elegante */
.nav-links a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #D49126; /* dorado corporativo */
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================
   MENÚ HAMBURGUESA (MÓVIL)
============================ */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #0A2A66;
    border-radius: 5px;
    transition: 0.3s ease;
}

/* Animación del toggle */
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 900px) {

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 75px;
        right: 0;
        background: #ffffff;
        width: 100%;
        flex-direction: column;
        gap: 20px;
        padding: 25px 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: 0.35s ease;
    }

    /* Menú visible */
    .nav-links.active {
        transform: translateY(0%);
        opacity: 1;
    }
}


/* Hero CONTEINER */

 .hero__container{
    max-width: 800px;
    --padding-container:0;
    display: grid;
   grid-auto-rows: max-content;
   align-content: center;
   gap: 1em;
   padding-bottom: 100px;
   text-align: center;
}

.hero__title{
    font-size: 3em; /*TAMAÑO DE LA LETRA DEL TITULO*/
}

.hero__paragraph{
    margin-bottom: 20px;
}


/* ABOUT */
/* ---- ESTILOS GENERALES ---- */

:root {
    --primary: #0A2A66;
    --text: #2E2E2E;
    --gray: #6f6f6f;
    --bg-light: #f5f7fa;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ---- SECCIÓN ABOUT ---- */

.about-section {
    padding: 70px 0;
    background: var(--bg-light);
}

.about-header p {
    text-align: center;
    max-width: 900px;
    margin: auto;
    line-height: 1.7;
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

/* ---- TARJETAS ---- */

.about-card {
    background: #fff;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.about-card h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-card p {
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 1rem;
    text-align: center;
}

/* ---- ICONOS ---- */

.icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.8rem;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 600px) {
    .section-title {
        font-size: 2rem;
    }

    .about-card {
        padding: 20px;
    }
}


/* ================================
   ESTILO GENERAL MEJORADO
=================================== */

.SocialSection {
    padding: 60px 0;
    background: linear-gradient(180deg, #f6f7e5 0%, #ffffff 100%);
    border-top: 4px solid #181a5b17;
}

/* CONTENEDOR */
/* ================================
   CONTENEDOR PRINCIPAL
=================================== */


.Knowledge{

 background-color: #f6f7e5;
}
.Knowledge__container {
    background-color: #f6f7e5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

/* ================================
   TEXTOS
=================================== */

.Knowledge__texts h2 {
    font-size: 2rem;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    color: #0f1d60;
}

.Knowledge__paragraph {
    line-height: 1.75;
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

/* ================================
   LISTA CORPORATIVA
=================================== */

.Knowledge__list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.Knowledge__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 1.05rem;
}

.Knowledge__list i {
    font-size: 1.3rem;
    color: #21409A;
    background: #e9edf9;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease;
}

.Knowledge__list li:hover i {
    transform: scale(1.15);
}

/* ================================
   IMAGEN PARALLAX
=================================== */

.Knowledge__picture {
    max-width: 500px;
    margin: auto;
}

.parallax-container {
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px #00000025;
}

.parallax-img {
    width: 100%;
    border-radius: 26px;
    transform: scale(1.12);
    transition: transform 1.2s ease;
}

.parallax-container:hover .parallax-img {
    transform: scale(1.25) translateY(-12px);
}

/* ================================
   ANIMACIONES
=================================== */

.fade-in {
    opacity: 0;
    animation: fadeIn 1.3s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.slide-up {
    opacity: 0;
    transform: translateY(35px);
    animation: slideUp 1.3s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   RESPONSIVE
=================================== */

@media (max-width: 992px) {
    .Knowledge__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .Knowledge__texts {
        max-width: 600px;
        margin: auto;
        text-align: left !important;
    }

    .Knowledge__list {
        margin: auto;
    }

    .Knowledge__picture {
        order: -1;
        max-width: 420px;
    }
}

@media (max-width: 600px) {
    .Knowledge__texts h2 {
        font-size: 1.65rem;
    }

    .Knowledge__paragraph,
    .Knowledge__list li {
        font-size: 1rem;
    }

    .parallax-container {
        border-radius: 18px;
    }
}





/* ================================
   SECCIÓN EJECUTIVOS
=================================== */

.executive {
    padding: 60px 0;
}

.executive__title {
    font-size: 2rem;
    font-weight: 600;
    color: #0f1d60;
    margin-bottom: 40px;
    text-align: left;
}

.executive__content {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 3rem;
    align-items: center;
}

.executive__photo img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 25px #00000020;
}

.executive__name {
    font-size: 2rem;
    color: #21409A;
    margin-bottom: 5px;
}

.executive__username {
    color: #1d82ff;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.1rem;
}

.executive__username:hover {
    text-decoration: underline;
}

.executive__socials {
    margin: 12px 0 22px 0;
    display: flex;
    gap: 15px;
}

.executive__socials i {
    font-size: 1.4rem;
    color: #000;
    cursor: pointer;
    transition: transform .2s ease;
}

.executive__socials i:hover {
    transform: scale(1.2);
}

.executive__paragraph {
    font-size: 1.05rem;
    line-height: 1.75;
    opacity: 0.9;
    text-align: justify;
    margin-bottom: 15px;
}

/* ================================
   RESPONSIVE
=================================== */

@media (max-width: 992px) {
    .executive__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .executive__paragraph {
        text-align: left;
    }

    .executive__photo {
        max-width: 350px;
        margin: auto;
    }
}

@media (max-width: 600px) {
    .executive__name {
        font-size: 1.6rem;
    }

    .executive__title {
        text-align: center;
        font-size: 1.8rem;
    }

    .executive__socials {
        justify-content: center;
    }
}




/*TESTIMONY */


.testimony{
    background-color: #f6f7e5;
}
.price{
    text-align: center;

}

.testimony__container{
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 1em;
    align-items: center;
}

.testimony__body{
    display: grid;
    grid-template-columns: 1fr max-content;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    grid-column: 2/3;
    grid-row: 1/2;
    opacity: 0;
    pointer-events: none;
}


.testimony__body--show{
    pointer-events: unset;
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
}

.testimony__img{
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
}

.testimony__texts{
    max-width: 700px;
}

.testimony__course{
    background-color: #181a5b;
    color: #fff;
    display: inline-block;
    padding: 5px;
}

.testimony__arrow{
    width: 90%;
    cursor: pointer;
}



/* FOOTER ES LA LINEA DE ABAJO DE LA PAGINA*/

/* ---------- FOOTER GENERAL ---------- */
.footer {
    background-color: #000000;      /* Azul corporativo */
    color: #ffffff;
    
    font-family: 'Arial', sans-serif;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* ---------- PARTE SUPERIOR ---------- */
.footer__top {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

/* ---------- CONTACTO ---------- */
.footer__contact .footer__title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer__contact p {
    margin: 8px 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer__contact i {
    margin-right: 8px;
    color: #4DB6F6;
}

.footer__question {
    margin-top: 15px;
    font-weight: bold;
}

.footer__socials {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.footer__socials i {
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.3s;
}

.footer__socials i:hover {
    color: #4DB6F6;
}


/* CERTIFICACIONES — DE ESQUINA A ESQUINA */
.footer__seals {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Las lleva a las esquinas */
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.footer__seals img {
    width: 38%;        /* Para que ambas ocupen todo el ancho */
    max-width: 260px;  /* Evita que se deformen en pantallas grandes */
    filter: brightness(0.95);
    transition: 0.3s ease;
}

.footer__seals img:hover {
    transform: scale(1.03);
    filter: brightness(1);
}

/* ---------- COLUMNS ---------- */
.footer__links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer__column h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer__column a {
    display: block;
    color: #dcdcdc;
    text-decoration: none;
    margin: 6px 0;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer__column a:hover {
    color: #4DB6F6;
    padding-left: 5px;
}

/* ---------- PARTE INFERIOR ---------- */
.footer__bottom {
    margin-top: 40px;
    padding: 18px 0;
    background-color: #092033;
    text-align: center;
    font-size: 0.9rem;
    color: #cfcfcf;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .footer__top {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer__links {
        margin-top: 20px;
    }
}

@media (max-width: 600px) {
    .footer__column {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer__socials {
        justify-content: flex-start;
    }

    .footer__seals img {
        width: 130px;
    }
}


/* MEDIA QUERIES */

@media (max-width:800px){
    .nav__menu{
        display: block;

    }

    .nav__link--menu{ 
        position: fixed;
        background-color: #000;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column; /*PARA QUE LOS ELEMENTOS SE PONGAN UNO DEBAJO DEL OTRO, EN COLUMNAS*/
        justify-content: space-evenly; /*PARA REPARTIR EL ESPACIO EQUITATIVAMENTE*/
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
    }

    .nav__link--show{
        --show: block;
        opacity: 1;
        pointer-events: unset;
    }

    .nav__close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }

    .hero__title{
        font-size: 2.5rem;
    }

    .about__main{
        gap: 2em;
    }

    .about__icons:last-of-type{
        grid-column: 1/-1;
    }

    .Knowledge__container{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }
    .Knowledge__picture{
        grid-row: 1/2;
        justify-self: center;
    }

    .testimony__container{
        grid-template-columns: 30px 1fr 30px;
    }

    .testimony__body{
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        gap: 3em;
        justify-items: center;
    }

    .testimony__img{
        width: 200px;
        height: 200px;
    }

    .questions__copy{
        width: 100%;
    }

    .footer__container{
        flex-wrap: wrap;
    }

    .nav--footer{
        width: 100%;
        justify-items: center;
    }

    .nav__link--footer{
        width: 100%;
        justify-content: space-evenly;
        margin: 0;
    }

    .footer__form{
        width: 100%;
        justify-content: space-evenly;
    }

    .footer__input{
        flex: 1;

    }

}

@media (max-width:600px){
    
    .hero__title{
        font-size: 2rem;
    }
    .hero__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }
    .price__element{
        width: 90%;
    }
    .price__element--best{
        width: 90%;
    }   

    .price__price{
        font-size: 2em;

    }

    .testimony{
        --padding-container: 60px 0;

    }

    .testimony__container{
        grid-template-columns: 28px 1fr 28px;
        gap: .9em;
    }

    .testimony__arrow{
        width: 100%;
    }

    .testimony__course{
        margin-top: 15px;
    }

    .questions__title{
        font-size: 1rem;
    }

    .footer__title{
        justify-self: start;
    }

    .nav--footer{
        padding: 0;
        margin-bottom: 60px;
    }

    .nav__link--footer{
        justify-content: space-between;
    }

    .footer__inputs{
        flex-wrap: wrap;
    }
    .footer__input{
        flex-basis: 100%;
        margin-bottom: 16px;
    }

    .footer__submit{
        margin-right: auto;
         /*PARA QUE SE VEA EL BOTON AMPLIO
        margin: 0; 
        width:100%*/

    }

}