/* Estilos Generales */
:root {
    --primary-color: #FF5722; /* Naranja vibrante para CTA */
    --secondary-color: #3F51B5; /* Azul para elementos complementarios */
    --text-color: #333;
    --light-text-color: #666;
    --white-color: #fff;
    --light-bg: #f8f8f8;
    --dark-bg: #222;
    --border-radius: 8px;
    --spacing-unit: 1rem; /* 16px */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif; /* Más moderno para títulos */
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif; /* Más legible para el cuerpo y subtítulos */
    color: var(--text-color);
    margin-bottom: var(--spacing-unit) * 1.5;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: var(--spacing-unit) * 2;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: var(--spacing-unit);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Botones */
.button {
    display: inline-block;
    padding: var(--spacing-unit) 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.primary-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.primary-button:hover {
    background-color: #e04a1e; /* Tono más oscuro del naranja */
    border-color: #e04a1e;
}

.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Header Sticky */
#main-header {
    background-color: var(--white-color);
    padding: var(--spacing-unit) 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Espacio entre elementos de navegación */
}

.phone-link {
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-button {
    background-color: #25D366; /* Verde WhatsApp */
    color: var(--white-color);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #1DA851;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e04a1e;
}

/* Hero Section */
#hero {
    background-color: var(--light-bg);
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: left;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: var(--light-text-color);
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sección de Problemas */
#problemas {
    padding: 4rem 0;
    background-color: var(--white-color);
}

.problem-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.problem-cards .card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.problem-cards .card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.problem-cards .card h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.icon-red {
    color: #e74c3c; /* Un rojo para las '❌' */
}

/* Sección de Solución */
#solucion {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
}

#solucion h2 {
    color: var(--white-color);
}

.solution-bullets {
    list-style: none;
    margin: 0 auto 2rem auto;
    max-width: 800px;
    text-align: left;
}

.solution-bullets li {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.solution-bullets li i {
    font-size: 1.5rem;
    color: var(--white-color);
    margin-top: 3px; /* Alineación visual */
}

.icon-green {
    color: #27ae60; /* Un verde para las '✅' */
}

#solucion .primary-button {
    background-color: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}

#solucion .primary-button:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-color: var(--light-bg);
}

/* Sección Beneficios Clave */
#beneficios {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.beneficios-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: left;
}

.beneficios-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.beneficios-text ul {
    list-style: none;
}

.beneficios-text ul li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.beneficios-text ul li::before {
    content: '★'; /* Icono de estrella, puedes cambiarlo por un SVG o Font Awesome */
    color: var(--primary-color);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

.beneficios-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.beneficios-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sección Testimonios */
#testimonios {
    padding: 4rem 0;
    background-color: var(--white-color);
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card .author {
    font-weight: 600;
    text-align: right;
    color: var(--light-text-color);
}

/* Sección Cómo Funciona */
#como-funciona {
    padding: 4rem 0;
    background-color: var(--dark-bg);
    color: var(--white-color);
    text-align: center;
}

#como-funciona h2 {
    color: var(--white-color);
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.step {
    background-color: #333;
    border-radius: var(--border-radius);
    padding: 2rem;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.step p {
    font-size: 1.1rem;
}

#como-funciona .primary-button {
    background-color: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}

#como-funciona .primary-button:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-color: var(--light-bg);
}

/* Sección Contacto / Formulario */
#contacto {
    padding: 4rem 0;
    background-color: var(--white-color);
    text-align: center;
}

#contacto h2 {
    color: var(--primary-color);
}

.price-info {
    font-size: 1.2rem;
    color: var(--light-text-color);
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.contact-form .primary-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Sección FAQ */
#faq {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

#faq h2 {
    color: var(--text-color);
}

.faq-item {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.faq-item p {
    color: var(--light-text-color);
}

/* Footer */
#main-footer {
    background-color: var(--dark-bg);
    color: var(--white-color);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-contact p,
.footer-contact a {
    color: var(--white-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-nav a {
    color: var(--white-color);
    margin: 0 0.8rem;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.microcopy {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
    width: 100%; /* Asegura que ocupe todo el ancho para centrado */
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content,
    .beneficios-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text,
    .beneficios-text {
        max-width: 100%;
    }

    .hero-ctas {
        justify-content: center;
    }

    .header-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav a {
        display: block;
        margin: 0.5rem 0;
    }

    /* Prevent content from being hidden behind fixed bottom CTA */
    main {
        padding-top: 80px;
        padding-bottom: 84px;
    }

    /* Improve stacking and visibility */
    .mobile-sticky-cta {
        box-shadow: 0 2px 10px rgba(0,0,0,0.06);
        background-color: var(--white-color);
    }

    /* Make hero spacing tighter on small screens due to sticky elements */
    #hero { padding-top: 2rem; }

    /* Tarjeta (business card) section responsive tweaks */
    #tarjeta .tarjeta-image { max-width: 100%; }
    #tarjeta .tarjeta-highlight { margin-bottom: 1rem; font-size: 0.95rem; }
    #tarjeta .tarjeta-details { text-align: center; margin-top: 1rem; }
    #tarjeta .tarjeta-details ul { display: inline-block; text-align: left; }
    #tarjeta .tarjeta-details ul li { padding-left: 1rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-text .subtitle {
        font-size: 1.1rem;
    }

    .problem-cards .card,
    .testimonial-card,
    .step {
        min-width: unset;
        width: 100%;
    }

    .solution-bullets li,
    .beneficios-text ul li {
        font-size: 1rem;
    }
}


/* Sección Tarjeta de Presentación */
#tarjeta {
    padding: 4rem 0;
    background-color: var(--white-color);
    text-align: center;
}

#tarjeta h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.tarjeta-image {
    max-width: 900px;
    margin: 0 auto;
}

.tarjeta-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#tarjeta .tarjeta-details {
    max-width: 800px;
    margin: 1.5rem auto 0 auto;
    text-align: left;
}

#tarjeta .tarjeta-details p {
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

#tarjeta .tarjeta-details ul {
    list-style: none;
    padding-left: 0;
}

#tarjeta .tarjeta-details ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

#tarjeta .tarjeta-details ul li::before {
    content: '\2713';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

#tarjeta .tarjeta-highlight {
    margin: 0 auto 1rem auto;
    max-width: 800px;
    background-color: var(--light-bg);
    border: 2px dashed var(--primary-color);
    color: var(--text-color);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    text-align: center;
}


/* Mobile overrides (placed last to ensure precedence) */
@media (max-width: 768px) {
    #tarjeta .tarjeta-details { text-align: center; }
    #tarjeta .tarjeta-details ul { display: inline-block; text-align: left; }
    #tarjeta .tarjeta-image { max-width: 100%; }
}

