/* Estilos Generales */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Botones */
.btn-primary {
    display: inline-block;
    background-color: #007bff; /* Azul vibrante */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    display: inline-block;
    background-color: #28a745; /* Verde para un CTA diferente */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #218838;
}

/* Sección Hero */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../../images/hector1.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Sección de Características */
.features {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.features h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 1.1em;
    color: #555;
}

/* Sección Cómo Funciona */
.how-it-works {
    padding: 60px 20px;
    background-color: #e6f7ff; /* Un tono de azul muy claro */
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #007bff;
    background-color: #e0f2ff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid #007bff;
}

.step-item h3 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 1em;
    color: #555;
}

/* Sección Testimonios */
.testimonials {
    padding: 60px 20px;
    background-color: #f0f0f0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
}

.testimonial-item cite {
    display: block;
    font-weight: bold;
    color: #007bff;
    margin-top: 10px;
}

/* Sección Precios */
.pricing {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.pricing h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.pricing p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #555;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.price-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.price-card.recommended {
    background-color: #e0f2ff;
    border: 2px solid #007bff;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.price-card h3 {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
}

.price-card .price {
    font-size: 3em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 20px;
}

.price-card .price span {
    font-size: 0.5em;
    font-weight: normal;
    color: #666;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    width: 100%;
}

.price-card ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #555;
}

.price-card ul li::before {
    content: ''; /* No content, just for positioning */
    margin-right: 10px;
}

.price-card .btn-primary {
    margin-top: auto; /* Empuja el botón hacia abajo */
    width: 80%;
}

/* Sección FAQ */
.faq {
    padding: 60px 20px;
    background-color: #f0f2f5;
    text-align: center;
}

.faq h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.faq-item {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.faq-item h3 {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
    cursor: pointer; /* Indica que es clicable */
    position: relative;
    padding-right: 30px; /* Espacio para el icono */
}

.faq-item h3::after {
    content: '+'; /* Icono de más */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    content: '-'; /* Icono de menos cuando está activo */
    transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
    font-size: 1.1em;
    color: #555;
    max-height: 0; /* Oculta el contenido por defecto */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding-top: 0;
    padding-bottom: 0;
}

.faq-item.active p {
    max-height: 200px; /* Ajusta este valor si tu contenido es más largo */
    padding-top: 15px;
    padding-bottom: 5px;
}


/* Sección de Llamada a la Acción (CTA) */
.call-to-action {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.call-to-action h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.call-to-action p {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Sección de Formulario de Contacto */
.contact-form {
    padding: 60px 20px;
    background-color: #f0f2f5;
    text-align: center;
}

.contact-form h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.contact-form p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #555;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: left; /* Alinea los labels a la izquierda */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: calc(100% - 20px); /* Ajusta para padding */
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.error-message {
    color: #dc3545; /* Rojo para errores */
    font-size: 0.9em;
    margin-top: 5px;
    display: none; /* Oculto por defecto, visible con JS */
}

.success-message {
    color: #28a745; /* Verde para éxito */
    font-size: 1.1em;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .feature-grid,
    .steps-grid,
    .testimonial-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .call-to-action h2 {
        font-size: 2em;
    }

    .call-to-action p {
        font-size: 1.1em;
    }

    .contact-form form {
        padding: 20px;
    }

    .price-card.recommended {
        transform: scale(1.02); /* Menos escalado en móviles */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }
}


/* Sección Llamado a la Acción WhatsApp */
.whatsapp-cta {
    background-color: #e0f8e9; /* Un tono verde claro asociado a WhatsApp */
    padding: 60px 20px;
    text-align: center;
}

.whatsapp-cta .container {
    max-width: 1000px;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
}

.whatsapp-text {
    flex: 1;
    text-align: left;
}

.whatsapp-text h2 {
    color: #25D366; /* Verde principal de WhatsApp */
    margin-bottom: 15px;
    font-size: 2.2em;
}

.whatsapp-text p {
    color: #333;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.whatsapp-link:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.whatsapp-link span {
    margin-right: 10px;
}

.whatsapp-link .whatsapp-number {
    font-weight: normal;
    opacity: 0.8;
}

.whatsapp-image {
    flex: 1;
    text-align: center;
}

.whatsapp-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive para la sección WhatsApp */
@media (max-width: 768px) {
    .whatsapp-content {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-text {
        text-align: center;
        margin-bottom: 30px;
    }

    .whatsapp-image {
        order: -1; /* Mostrar la imagen primero en móviles */
    }
}

/* Sección Llamado a la Acción YouTube */
.youtube-cta {
   background-color: #ffe0e0; /* Un tono rojo claro asociado a YouTube */
   padding: 60px 20px;
   text-align: center;
}

.youtube-cta .container {
   max-width: 1000px;
}

.youtube-content {
   display: flex;
   align-items: center;
   justify-content: space-around;
   gap: 40px;
}

.youtube-text {
   flex: 1;
   text-align: left;
}

.youtube-text h2 {
   color: #FF0000; /* Rojo principal de YouTube */
   margin-bottom: 15px;
   font-size: 2.2em;
}

.youtube-text p {
   color: #333;
   font-size: 1.1em;
   line-height: 1.6;
   margin-bottom: 25px;
}

.youtube-link {
   display: inline-flex;
   align-items: center;
   background-color: #FF0000;
   color: #fff;
   padding: 12px 25px;
   border-radius: 5px;
   text-decoration: none;
   font-weight: 600;
   transition: background-color 0.3s ease, transform 0.2s ease;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.youtube-link:hover {
   background-color: #cc0000;
   transform: translateY(-2px);
}

.youtube-icon {
   width: 100px; /*30px;*/
   height: auto; /*30px;*/
   margin-right: 10px;
}

.youtube-link span {
   margin-right: 10px;
}

.youtube-image {
   flex: 1;
   text-align: center;
}

.youtube-image img {
   max-width: 100%;
   height: auto;
   border-radius: 8px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive para la sección YouTube */
@media (max-width: 768px) {
   .youtube-content {
       flex-direction: column;
       text-align: center;
   }

   .youtube-text {
       text-align: center;
       margin-bottom: 30px;
   }

   .youtube-image {
       order: -1; /* Mostrar la imagen primero en móviles */
   }
}
