:root{
    --amarillo: #fccb1b;
    --verdeboton: #04AA6D;
    --rojo-tn:#c4344c;
    --rojo-tn-full:#ad2f44;
    --color-texto-principal: #333; /* Definimos un color oscuro para el texto normal */
}

/* ANIMACIÓN: Movimiento lento de abajo hacia arriba (10% de rango) */
@keyframes subtle-vertical-move {
    0% { background-position: 0 0, 50% 45%; } 
    100% { background-position: 0 0, 50% 55%; } 
}

/* ESTILOS DE RESET Y FUENTE */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
}

/* 1. APLICAR EL FONDO VERDE/PUNTOS AL HTML */
html {
    background-image: 
        radial-gradient(circle at center, rgba(0, 0, 0, 0.08) 2px, transparent 0), 
        linear-gradient(-45deg, #f5f5f4, #fffbeb, #f3fae6, #fde68a);
    background-size: 40px 40px, 400% 400%; 
    background-position: 0 0, 50% 50%;
    background-attachment: fixed, scroll; 
    animation: subtle-vertical-move 80s ease-in-out infinite alternate;
    font-family: 'Roboto', sans-serif;
}

/* 2. EL BODY CON FONDO BLANCO Y CENTRADO (El bloque principal) */
body{
    background-color: white; /* <--- Fondo BLANCO */
    max-width: 480px;
    margin: auto;
    min-height: 100vh; /* Para que el fondo blanco cubra toda la altura */
}

/* CORRECCIÓN PARA ENLACES AZULES */
a{
    text-decoration: none;
    /* Aplicar un color de texto por defecto a los enlaces, eliminando el azul/púrpura */
    color: var(--color-texto-principal); 
    cursor: pointer;
}
/* Aseguramos que los enlaces visitados NO se pongan púrpuras */
a:visited {
    color: white; 
}
/* Los botones o enlaces principales pueden tener otro color */
.success a, .suscribe a {
    color: white;
}
/* Los enlaces del footer tienen que ser blancos */
.footer-text a {
    color: #FFFFFF;
    text-decoration: underline;
}

/* FIN CORRECCIÓN ENLACES AZULES */


.mobile-nav {
    max-width: 480px; 
    position: fixed;
    width: 100%;
    background-color: var(--rojo-tn);
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    justify-content: space-between;
}

.hamburger {
    font-size: 40px;
    cursor: pointer;
    color: white;
    transition: transform 0.3s ease;
    text-align: center;
}

/* Estilo para el botón de cierre "X" */
.hamburger.close-btn { 
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 60px; 
    line-height: 40px;
}

.hamburger .menu-name{
    font-size: 10px;
}

.hamburger:hover {
    transform: scale(1.2);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--rojo-tn), var(--rojo-tn-full));
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 999;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    
}

@keyframes oscurecer {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.menu-overlay.active {
    display: flex;
    opacity: 1;
    
}

.menu {
    text-align: center;
    
}

/* Mantenemos los enlaces del menú blancos */
.menu a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    margin: 15px;
    display: block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu a:hover {
    color: #ffeb3b;
}

.menu a:active {
    color: #f44336;
}

.icon-fuera{
    width: 50px;
}



header .logo img {
    width: 90px;
    top:5px;
    z-index: 10;
}

.banner{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 100px;
}

#img-banner{
    width: 90%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.success {
    border: none; 
    color: white; 
    padding: 14px 28px; 
    cursor: pointer; 
    display: inline-flex;
    transition: all 0.3s ease; 
    border: none;
    cursor: pointer;
    font-size: 1.5em;
    font-family: "Roboto", serif;
    position: relative;
    background-color: #04AA6D;
    width: 100%;
    display: block;
    animation: fadeInUp 0.8s ease forwards;
}

.success .internal-text-btn{
    text-align: center;
}

section h2{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: var(--amarillo);
    animation: fadeInUp 1.5s ease forwards;
}

.container{
    text-align: center;
}

.student{
    width: 20%;
    padding-bottom: 15px; 
    padding-top: 15px;       
}

ul{
    text-align: left; 
    padding-bottom: 15px;
    padding-left: 25px;
    padding-right: 25px;
}

ul .custom-offer-text{
    list-style-type: none;
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.items-offer li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    border-left: 3px solid var(--verdeboton);
    overflow-y: hidden;
}
    
ul.items-offer li {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

ul.items-offer li:nth-child(1) {
    animation-delay: 0s;
}

ul.items-offer li:nth-child(2) {
    animation-delay: 0.2s;
}

ul.items-offer li:nth-child(3) {
    animation-delay: 0.4s;
}

p.custom-offer-text {
    margin: 0;
    color: #333;
    text-align: left;
    
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.how-it-works{
    text-align: left;

}

.how-it-works h3{
    padding-top: 15px;
    margin-left: 50px;
    margin-right: 50px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    font-family: 'Arial', sans-serif;
    overflow-y: hidden;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: white;
    border: 1px solid gray; 
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    
}

.internal-step img {
    width: 40px; 
    height: auto;
    margin-bottom: 12px;
}

.step p {
    font-size: 16px;
    color: #333;
    margin: 0;
    line-height: 1.5;
    
}

.contenedor-campana{
    text-align: center;
}

.img-renewal{
    width: 60px;
}

.renewal-texts{
    padding-bottom: 40px;
}

.renewal-texts h2{
    padding-left: 25px;
    padding-bottom: 10px;
}

.renewal-texts p{
    padding-top: 25px;
    padding-left: 25px;
    padding-right: 15px;
}

.bloque-faq{
    background-color: white;
    width: 100%;
    align-items: center;
}

.faq-acordeon{
    background-color: white;
}

.faq-acordeon .contenedor {
    width: 100%;
    position: relative;
    background-color: white;
}

.faq-acordeon .etiqueta {
    position: relative;
    padding: 10px 0;
    color: black;
    cursor: pointer;
    padding-left: 15px;
    background-color: rgb(255, 255, 255);
}

.faq-acordeon .etiqueta::before {
    content: '+';
    color: black;
    position: relative;
    top: 50%;
}

.faq-acordeon .contenido {
    position: relative;
    height: 0;
    text-align: justify;
    overflow: hidden;
    transition: 0.5s;
}

hr{
    width: 100%;
}

.faq-acordeon hr {
    width: 100;
    margin-left: 0;
    border: 1px solid grey;
}

.faq-acordeon .contenedor.activa .contenido {
    height: 100px;
    font-size: 0.9rem;
}

.faq-acordeon .contenedor.activa .etiqueta::before {
    content: '-';
}

.contenido{
    padding-top: 10px;
    padding-left: 25px;
    padding-right: 25px;
    
}

.faq-title{
    padding-left: 15px;
    padding-top: 15px;
    padding-bottom: 10px;
}

.free-training{
    padding-top: 15px;
    padding-bottom: 10px;
}

.suscribe{
    background-color: #c4344c;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 10px;
}

.footer {
    background-color: #c4344c;
    color: #FFFFFF;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.centrar-contenido{
    text-align: center;
}

.footer-content {
    display: block;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.footer-text {
    width: 100%;
    line-height: 1.6;
    font-size: 14px;
}

.footer-text a {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-logo {
    text-align: center;
    width: 100%;
    padding-top: 50px;
}

.footer-logo img {
    width: 200px;
    margin-bottom: 10px;
    text-align: center;
}

.footer-logo h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #000000;
}