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

:root {
    --padding-container: 100px 0;
    --color-title: #001A49;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #000000 100%);
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Estrellas grandes y brillantes */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    background: white;
    box-shadow: 
        100px 200px white,
        300px 500px white,
        600px 800px white,
        900px 400px white,
        1200px 700px white,
        150px 1000px white,
        400px 1200px white,
        700px 1400px white,
        1100px 1600px white,
        1300px 300px white;
    animation: animStars 120s linear infinite;
    z-index: -1;
    border-radius: 50%;
    filter: blur(1px) brightness(2);
}

/* Estrellas medianas */
.stars::after {
    content: "";
    position: absolute;
    top: 0;
    width: 3px;
    height: 3px;
    background: white;
    box-shadow: 
        200px 300px white,
        500px 600px white,
        800px 900px white,
        100px 400px white,
        1400px 500px white,
        600px 1300px white,
        1000px 1500px white;
    animation: animStars 150s linear infinite;
    border-radius: 50%;
    filter: blur(2px) brightness(2.5);
}

/* Movimiento vertical */
@keyframes animStars {
    from { transform: translateY(0); }
    to { transform: translateY(-2000px); }
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
    overflow: hidden;
}

/* Imagen de fondo responsiva */
.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* hace la imagen responsiva */
	clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 96%, 0 80%);
    z-index: -2;
}

/* Capa de degradado con recorte */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0000008c 0%, #0000008c 100%);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 96%, 0 80%); /* recorte inferior */
}

/* Nav */

.nav {
    --padding-container: 0;
    height: 100%;
    display: flex;
    align-items: center;
}
.nav__logo {
    display: flex;
    align-items: center; /* Centra verticalmente la imagen y el texto */
    gap: 10px; /* Espacio entre el logo y el texto */
}

.nav__logo img {
    width: 50px; /* Ajusta el tamaño del logo si lo necesitas */
    height: auto;
}

.nav__title {
    font-weight: 400; /* más uniforme */
    font-size: 2rem;
    margin: 0;
}

.nav__link {
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;
}

.nav__items {
    list-style: none;
}

.nav__links {
    color: #fff;
    text-decoration: none;
}

.nav__menu {
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav__img {
    display: block;
    width: 30px;
}


.nav__close {
    display: var(--show, none);
}


/* Hero container */

.hero__container {
    max-width: 1100px;          /* más ancho */
    --padding-container: 0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 2em;                   /* más espacio entre título y párrafo */
    padding-bottom: 120px;      /* más espacio abajo */
    text-align: center;
}

/* Título más grande */
.hero__title {
    font-size: 4rem;            /* antes estaba en 3rem */
    font-weight: 700;
}

/* Texto más grande y legible */
.hero__paragraph {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 70px;        /* más espacio debajo del párrafo */
}

.cta {
    display: inline-block;
    background-color: #2091F9;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
}

/* Sección Promociones */
.promocion {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Azul llamativo */
    padding: 80px 20px;
    margin: 80px auto;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    color: #fff;
    max-width: 1000px;
}

.promocion__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.promocion__text {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.promocion__btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    background: #00c3ff;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.promocion__btn:hover {
    background: #0088cc;
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
/* Sección Pago con Tarjeta */
.tarjeta {
    background: linear-gradient(135deg, #6a0dad, #8e2de2); /* Morado llamativo */
    padding: 80px 20px;
    margin: 80px auto;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    color: #fff;
    max-width: 1000px;
}

.tarjeta__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.tarjeta__text {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.tarjeta__logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tarjeta__img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
    transition: transform 0.3s ease;
}
.tarjetas {
    display: flex;
    justify-content: center;   /* centra horizontalmente */
    align-items: center;       /* centra verticalmente */
    gap: 30px;                 /* espacio entre tarjetas */
    margin-top: 30px;
    flex-wrap: wrap;           /* evita que se rompa en pantallas muy pequeñas */
}

.card-logo {
    width: 150px;              /* mismo ancho */
    height: 100px;             /* mismo alto */
    object-fit: contain;       /* mantiene proporción */
    display: block;
}
..card-logo:hover {
    transform: scale(1.1);
}

/* About */

.about {
    text-align: center;
	max-width: 80%; 
	
}

.subtitle {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 10px;
}
.about__paragraph {
    line-height: 1.5;
}

.about__main {
    padding-top: 5px;
    display: grid;
    width: 100%;
    margin: 0 auto;
    gap: 2em; /* más espacio entre los recuadros */
    ustify-items: center;
    grid-template-columns: repeat(3, 1fr);
}

.about__icons {
    display: grid;
    gap: 1em;
    justify-items: center;
    width: 100%;               /* que ocupen el ancho disponible */
    max-width: 480px;          /* límite para que no sean demasiado grandes */
    min-height: 520px;
     background: linear-gradient(135deg, #ff8c00, #ff2e63); /* degradado llamativo */
    border-radius: 15px;
    border: 3px solid #000;    /* marco blanco */
    padding: 20px;
      /* sombra más fuerte y difusa */
    box-shadow: 0 8px 20px rgba(0,0,0,0.35), 
                0 12px 40px rgba(0,0,0,0.25); 
}

.about__icon {
    width: 250px;              /* más grande */
    height: auto;
    border-radius: 50%;        /* las hace circulares */
    border: 4px solid #fff;    /* marco blanco alrededor */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); /* sombra para resaltar */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto al pasar el mouse */
.about__icon:hover {
    transform: scale(1.2);  /* agranda un poco */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); /* sombra más intensa */
}

/* Knowledge */

.knowledge {
    background-color: #e5e5f7;
    background-image: radial-gradient(#444cf7 0.5px, transparent 0.5px), radial-gradient(#444cf7 0.5px, #e5e5f7 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    overflow: hidden;
}

.knowledge__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
}

.knowledge__picture{
    max-width: 500px;
}

.knowledge__paragraph{
    line-height: 1.7;
    margin-bottom: 15px;
}

.knowledge__img{
    width: 100%;
    display: block;
}

/* price */

.price{
    text-align: center;
	 padding-top: 50px;
}
.price__container{
    text-align: center;
	 padding-top: 50px;
}

.price__table{
    padding-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em;
    justify-content: space-evenly;
    align-items: center;
}

.price__element{
    background-color: #000;
    border-radius: 1px;
    width: 470px;
    padding: 1px;
	box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    --color-plan: #696871;
    --color-price: #1D293F;
    --bg-cta: #fff;
    --color-cta: #5454D4;
    --color-items: #696871;
}
.price__img {
    width: 100%;              /* Ocupa todo el ancho del recuadro */
    height: 700px;            /* Altura fija para todas */
    object-fit: cover;        /* Recorta proporcionalmente sin deformar */
    border-radius: 10px;      /* Bordes redondeados opcional */
    margin-bottom: 5px;      /* Espacio con el botón */
    display: block;           /* Evita espacios indeseados */
}

.price__element--best{
    width: 370px;
    padding: 60px 40px;
    background-color: #FF7143;
    --color-plan: rgb(255 255 255 / 75%);
    --color-price: #fff;
    --bg-cta: #9F3919;
    --color-cta: #FFF;
    --color-items: #fff;
}
.price__name{
    color: var(--color-plan);
    margin-bottom: 15px;
    font-weight: 300;
}
.price__price{
    font-size: 2.5rem;
    color: var(--color-price);
}
.price__items{
    margin-top: 35px;
    display: grid;
    gap: 1em;
    font-weight: 300;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--color-items);
}
.price__cta {
    display: inline-block;
    width: 100%;                       /* Que ocupe todo el ancho del recuadro */
    padding: 18px 0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-align: center;

    background: linear-gradient(135deg, #ff8c00, #ff2e63); /* degradado llamativo */
    color: #fff;                         /* texto blanco */
    box-shadow: 0 6px 20px rgba(0,0,0,0.35); /* sombra para resaltarlo */
    transition: all 0.3s ease;
}

.price__cta:hover {
    transform: scale(1.08);             /* Efecto zoom */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* sombra más fuerte */
    background: linear-gradient(135deg, #ffb700, #ff0059); /* cambio de colores */
}

/* Testimony */

/* Testimony */
.testimony {
    background: linear-gradient(135deg, #ff8c00, #ff2e63);
    padding: 1px 15px;          /* poco espacio arriba y abajo */
    margin: 60px auto;          /* casi pegado a lo demás */
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    color: #fff;
    text-align: center;
    max-width: 1200px;
}

/* Título más compacto */
.testimony .subtitle {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 5px;     
    margin-bottom: 10px; /* mucho más reducido que antes */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
/* Contenedor testimonios en forma de banner */
.testimony__container {
    display: flex;
    overflow-x: auto;             /* scroll horizontal */
    scroll-snap-type: x mandatory; /* se centra cada slide */
    gap: 20px;
    padding: 20px;
    scrollbar-width: none;        /* oculta scroll en Firefox */
}
.testimony__container::-webkit-scrollbar {
    display: none;                /* oculta scroll en Chrome/Safari */
}

/* Cada testimonio como "slide" */
.testimony__body {
    flex: 0 0 80%;                /* ocupa 80% del ancho */
    max-width: 400px;             /* ancho máximo en PC */
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    padding: 15px;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}
.testimony__body:hover {
    transform: scale(1.03);       /* efecto sutil al pasar el mouse */
}

/* Imagen más pequeña */
.testimony__img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px auto;
}

/* Texto compacto */
.testimony__texts p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 5px 0;
}
/* Hover para resaltar */
.testimony__body:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.testimony__arrow{
    width: 3%;
    cursor: pointer;
}

/* Sección de Contacto */
.contacto {
    background: linear-gradient(135deg, #25D366, #128C7E); /* Verde WhatsApp */
    padding: 80px 20px;
    margin: 80px auto;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    color: #fff;
    max-width: 900px;
}

/* Título */
.contacto__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* Texto */
.contacto__text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Botón de WhatsApp */
.contacto__btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

/* Efecto hover */
.contacto__btn:hover {
    background: #1ebe5d;
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Questions */

.questions{
    text-align: center;
}

.questions__container{
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
}

.questions__padding{
    padding: 0;
    transition: padding .3s;
    border: 1px solid #5454D4;
    border-radius: 6px;
}

.questions__padding--add{
    padding-bottom: 30px;
}

.questions__answer{
    padding: 0 30px 0;
    overflow: hidden;
}

.questions__title{
    text-align: left;
    display: flex;
    font-size: 20px;
    padding: 30px 0 30px;
    cursor: pointer;
    color: var(--color-title);
    justify-content: space-between;
}

.questions__arrow{
    border-radius: 50%;
    background-color: var(--color-title);
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    margin-left: 10px;
    transition:  transform .3s;
}

.questions__arrow--rotate{
    transform: rotate(180deg);
}

.questions__show{
    text-align: left;
    height: 0;
    transition: height .3s;
}

.questions__img{
    display: block;
	 margin-bottom: 20px;
}

.questions__copy{
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
}

/* Footer */

.footer{
    background-color: #1D293F;
}

.footer__title{
    font-weight: 300;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer__title, .footer__newsletter{
    color: #fff;
}


.footer__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 60px;
}

.nav--footer{
    padding-bottom: 20px;
    display: grid;
    gap: 1em;
    grid-auto-flow: row;
    height: 100%;
}

.nav__link--footer{
    display: flex;
    margin: 0;
    margin-right: 20px;
    flex-wrap: wrap;
}

.footer__inputs{
    margin-top: 10px;
    display: flex;
    overflow: hidden;
}

.footer__input{
    background-color: #fff;
    height: 50px;
    display: block;
    padding-left: 10px;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    border: none;
    margin-right: 16px;
}

.footer__submit{
    margin-left: auto;
    display: inline-block;
    height: 50px;
    padding: 0 20px ;
    background-color: #2091F9;
    border: none;
    font-size: 1rem;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.footer__copy{
    --padding-container: 30px 0;
    text-align: center;
    color: #fff;
}

.footer__copyright{
    font-weight: 300;
	 margin-bottom: 50px;
}

.footer__icons{
    margin-bottom: 20px;
}

.footer__img{
    width: 30px;
}

/* 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;
        justify-content: space-evenly;
        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 {
    grid-template-columns: 1fr;  /* Un recuadro debajo del otro */
  }

  .about__icons {
    max-width: 100%; /* Que usen todo el ancho disponible */
  }

    .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){
	 .about__main {
    grid-template-columns: 1fr; /* 1 columna */
  }

  .about__icons {
    max-width: 100%; /* Aprovecha todo el ancho */
  }
    .hero__title{
        font-size: 2rem;
    }

    .hero__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }

    .price__element{
        width: 90%;
    }

    .price__element--best{
        width: 90%;
        /* padding: 40px; */
    }

    .price__price{
        font-size: 2rem;
    }

    .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__copy {
    text-align: center;   /* centra todo el contenido */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;            /* espacio entre líneas */
}

.footer__title {
    margin: 5px 0;        /* quita márgenes grandes */
    text-align: center;   /* asegura centrado */
}

   /* Footer en móvil */
.footer__container {
    flex-direction: column;   /* Los elementos en columna */
    text-align: center;       /* Texto centrado */
    gap: 20px;                /* Espaciado entre elementos */
}

.nav--footer {
    width: 100%;
    display: flex;
    flex-direction: column;   /* Cada link en columna */
    align-items: center;
    gap: 10px;
}

.nav__link--footer {
    flex-direction: column;   /* Links uno debajo del otro */
    align-items: center;
    gap: 15px;
    margin: 0;
}

.footer__social {
    display: flex;
    flex-direction: column;   /* título arriba, íconos abajo */
    align-items: center;
    gap: 15px;
}

.footer__icons {
    display: flex;
    justify-content: center;  /* centra los iconos */
    gap: 15px;                /* separación entre iconos */
}

    .footer__inputs{
        flex-wrap: wrap;
    }

    .footer__input{
        flex-basis: 100%;
        margin: 0;
        margin-bottom: 16px;
    }

    .footer__submit{
        margin-right: auto;
        margin-left: 0;
        

        /* 
        margin:0;
        width: 100%;
        */
    }
}
@media (max-width: 1024px) {
  .about__main {
    grid-template-columns: repeat(1, 1fr); /* 2 columnas */
  }
  .about__icons {
    max-width: 100%; /* Que usen todo el ancho disponible */
  }
}
