/* Fondo general */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    background: #000;
    color: #fff;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}
header .container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { height: 200px; }
nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
}
nav a:hover { text-decoration: underline; }
.banner-fijo {
    display: flex;
    align-items: center;    /* Centrado vertical */
}

.banner-text {
    color: #fff;            /* Texto en blanco */
    font-family: 'Arial', sans-serif; /* Ajusta a tu tipografía */
    font-size: 2.4em;       /* Ajusta tamaño */
    font-weight: bold;
    margin-left: 20px;      /* Espacio entre logo y texto */
}
/* Ajuste general para que header fijo no tape contenido */
body > *:not(header) {
    margin-top: 80px;
}

.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

/* Slider imágenes */
.slider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Texto a la izquierda, encima de las imágenes */
.hero-text {
    position: absolute;       /* Para estar encima del slider */
    top: 50%;                 /* Centrado vertical */
    left: 50px;               /* Separación izquierda */
    transform: translateY(-50%);  /* Ajusta vertical */
    max-width: 500px;
    padding: 20px;
    background: rgba(0,0,0,0.9);  /* Fondo semi-transparente */
    color: #fff;
    z-index: 10;              /* Siempre encima del slider */
    border-radius: 10px;      /* Opcional */
}

.hero-text h2 {
    margin: 0 0 15px 0;
    font-size: 3em;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero-text .btn {
    background: #ff8000;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
}



/* Planes */
.plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 100px 20px;
    gap: 20px;
    background-color: #f4f4f4;
}
.plan {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    padding: 30px;
    text-align: center;
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}
.plan h3 { font-size: 1.8em; margin-bottom: 10px; }
.plan .plan-icon { height: 60px; margin-bottom: 15px; animation: iconBounce 1s infinite alternate; }
@keyframes iconBounce { 0% { transform: translateY(0); } 100% { transform: translateY(-10px); } }
.plan p.price { font-size: 2em; color: #ff0000; margin-bottom: 20px; }
.plan ul { list-style: none; margin-bottom: 20px; padding: 0; }
.plan ul li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.plan ul li::before {
    content: '✓';
    color: #00b300;
    margin-right: 8px;
    font-weight: bold;
}
.paypal-btn {
    background: #ffc439;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}
.paypal-btn:hover { background: #ffb400; }

/* Testimonios slider */
.testimonials {
    padding: 60px 20px;
    text-align: center;
    background: #eee;
}
.testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

/* Contenedor de testimonios */
.testimonial-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* separación entre testimonios en móviles */
}

/* Testimonio individual */
.testimonial {
    opacity: 0;
    max-width: 600px;
    transition: opacity 1s;
    text-align: center;
}
.testimonial.active {
    opacity: 1;
}
.testimonial p {
    font-style: italic;
    margin-bottom: 10px;
}
.testimonial span {
    font-weight: bold;
    color: #333;
    display: block;
}


/* Ajuste responsive */
@media(max-width:600px){
    .testimonial-slider { height: auto; }
    .testimonial { position: relative; opacity: 1; margin-bottom: 20px; }
}


/* Botón Telegram flotante */
.telegram-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0088cc;
    color: #fff;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: 0.3s;
}
.telegram-btn:hover { background: #006699; }

/* Footer */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    font-size: 0.9em;
    clear: both;
    position: relative;
    z-index: 10;
}

/* Responsive */
@media(max-width:960px) {
    .plans { flex-direction: column; align-items: center; padding-top: 60px; }
}

/* Ajustes específicos para móviles */
@media (max-width:768px){
    .hero-text {
        left:15px !important;      /* Más cerca del borde izquierdo */
        right:15px !important;     /* Evita que se salga del viewport */
        max-width: calc(100% - 30px) !important; /* Ocupa casi todo el ancho */
        padding:15px !important;   /* Ajusta padding interno */
    }
    .hero-text h2 { font-size:2em !important; }
    .hero-text p { font-size:1em !important; }
    .hero-text .btn { padding:10px 20px !important; font-size:0.9em !important; }
}

@media (max-width:480px){
    .hero-text {
        top:40% !important;        /* Ajusta posición vertical */
        padding:10px !important;
    }
    .hero-text h2 { font-size:1.5em !important; }
    .hero-text p { font-size:0.9em !important; }
    .hero-text .btn { padding:8px 15px !important; font-size:0.8em !important; }
}
