* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-gris: #F0F0F0;
    --color-blanco: #F9FAFB;
    --color-texto: #000;
    --color-texto-secondary: #353535;
    --color-rojo: #ff6f6f;
    --color-accent-light: #C5B0B0;
    --color-span: #FF0000;
    --color-spanHover: #df0303;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-texto);
    background: var(--color-gris);
    user-select: none;
    -webkit-user-select: none;
    /* Safari/Chrome */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
}

section {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

section.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fondo general del header */
.header {
    background-color: var(--color-gris);
    padding: 12px 20px;
    /*border-bottom: 4px solid #1E1E1E;
    borde superior oscuro */
}

/* Contenedor interno */
.header-container {
    max-width: 95%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: block;
    flex-direction: column;
    align-items: center;
    margin: -1rem;
    padding: -1rem;
}

.logo img {
    height: 7rem;
}

/* Contacto */
.contacto {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 8px;
}

.icono {
    color: var(--color-span);
    font-size: 2.5rem;
}

.contacto small {
    color: var(--color-texto);
    font-size: 0.9rem;
    display: block;
    margin-bottom: -3px;
}

.contacto strong {
    color: var(--color-texto);
    font-size: 1rem;
}

/* Sección Héroe */
#microSistemas {
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 1rem;
    background: var(--color-gris);
}

.rojo {
    color: var(--color-span);
}

.contenedorTitulo {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 90rem;
}

.contenedorTitulo h1 {
    font-size: 5rem;
    margin-bottom: 0.4rem;
    letter-spacing: -0.09em;
    line-height: 1;
    color: #000;
    font-weight: bold;
}

.contenedorTitulo p {
    padding-top: 2rem;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    color: var(--color-texto);
    line-height: 1.4;
    max-width: 50rem;
}

/* Boton CTA 1 */
#agenda {
    background: var(--color-gris);
    padding-bottom: 2rem;
}

.botonAgenda {
    text-align: center;
    width: auto;
    display: flex;
}

.botonAgenda button {
    background: var(--color-span);
    color: white;
    border: none;
    border-radius: 0.1rem;
    padding: 1.1rem 3rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: auto;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
    margin: 0 auto;
}


.botonAgenda button:hover {
    background: var(--color-spanHover);
    transform: translateY(-0.1px) scale(1.01);
    transition: background .3s ease transform 0.3s;
}

.botonAgenda button strong {
    font-size: 2rem;
    display: block;
}

#agenda p {
    display: block;
    font-size: 1.2rem;
    line-height: 1.1;
    color: var(--color-texto-secondary);
    text-align: center;
    max-width: 40%;
    margin: 1rem auto 0 auto;
}

/* Sección completa con fondo claro y padding */
.queridoEmprendedor {
    /* Color de fondo suave */
    padding: 4rem 1rem;
    /* Espaciado vertical y horizontal */
    padding-bottom: 0.5rem;
    display: flex;
    /* Flexbox para centrar */
    justify-content: center;
    /* Centrado horizontal */
}

/* Contenedor del contenido */
.contenedorEmprendedor {
    max-width: 75%;
    /* Limita el ancho del texto */
    width: 100%;
    /* Ocupa todo el ancho disponible */
    text-align: justify;
    /* Justifica el texto (bordes alineados) */
}

/* Encabezado */
.contenedorEmprendedor h2 {
    text-align: center;
    /* Centra solo el título */
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #005bb5;
}

/* Párrafos */
.contenedorEmprendedor p {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.7;
    /* Espacio entre líneas */
    margin-bottom: 1rem;
    color: #000;
}

.contenedorEmprendedor p b {
    font-weight: 600;
}

.contenedorEmprendedor li {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.7;
    /* Espacio entre líneas */
    margin-bottom: 1rem;
    color: #000;
    margin-left: 3rem
}

.contenedorEmprendedor a {
    font-size: 1.6rem;
    position: relative;
    text-decoration: none;
    color: red;
    transition: color 0.3s ease;
}

.contenedorEmprendedor a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: #bd0505;
    transition: width 0.3s ease;
}

.contenedorEmprendedor a:hover {
    color: #bd0505;
}

.contenedorEmprendedor a:hover::after {
    width: 100%;
}

/* Sección diagnostico */
#diagnostico {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
    background: var(--color-gris);
}

.contenedorDiagnostico {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 70%;
}

.contenedorDiagnostico h1 {
    font-size: 3.5rem;
    margin-bottom: 0.4rem;
    letter-spacing: -0.09em;
    line-height: 1;
    color: #000;
    font-weight: bold;
}

/*Seccion de formulario*/

#formulario {
    background: var(--color-gris);
    padding: 2rem 1rem 3rem 1rem;
    display: flex;
    justify-content: center;
}

.formulario-container {
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
}

.form-wrapper {

    background: var(--color-gris);
    padding: 30px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="tel"],
.form-wrapper textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s;
    color: var(--color-texto);
    background-color: var(--color-blanco);
}

.form-wrapper input::placeholder,
.form-wrapper textarea::placeholder {
    color: var(--color-texto);
    opacity: 1;
    font-weight: bold;
}

.form-wrapper input:focus,
.form-wrapper textarea:focus {
    border-color: var(--color-span);
}

.form-wrapper textarea {
    resize: vertical;
    min-height: 100px;
}

/* Boton enviar */

.boton-enviar-simple {
    /* Estilos de apariencia */
    background: var(--color-span);
    /* Rojo */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;

    /* Centrado y ancho */
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 15px auto 0 auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.boton-enviar-simple:hover {
    background: var(--color-spanHover);
    /* Rojo oscuro al pasar el ratón */
    transform: translateY(-1px);
}

/* Footer */
/* Footer Styles */
.cierrePagina {
    background: var(--color-texto);
    color: var(--color-blanco);
    padding: 0rem 1rem;
    padding-top: 1rem;
}

.footer-container {
    max-width: 95%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    display: flex;
    flex-direction: column;
    flex: 1 1 300px;
}

.logo {
    max-width: 150px;
    height: auto;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons i {
    font-size: 1.5rem;
    color: #ccc;
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: var(--color-span);
}

.contactoDireccion {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 2rem;
    max-width: 90%;
}

/* Contacto */
.contactoFooter {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 2rem;
}

.iconoFooter {
    color: var(--color-span);
    font-size: 2.5rem;
}

.contactoFooter small {
    color: var(--color-blanco);
    font-size: 0.9rem;
    display: block;
    margin-bottom: -3px;
}

.contactoFooter strong {
    color: var(--color-blanco);
    font-size: 1rem;
}

.footer-bottom {
    margin-left: -1rem;
    margin-right: -1rem;
    margin-top: 1rem;
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid var(--color-blanco);
    background: var(--color-blanco);
}

.footer-bottom p {
    font-size: 1rem;
    color: var(--color-texto);
}

.footer-bottom a {
    color: var(--color-texto);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--color-span);
}

/*==================*/
/* RESPONSIVE TABLET */
/*==================*/
@media screen and (max-width: 1024px) and (min-width: 601px) {

    /* Fondo general del header */
    .header {
        padding: 2rem 3rem;
    }

    .contacto small {
        font-size: 0.9rem;
    }

    .contacto strong {
        font-size: 0.9rem;
    }

    /* Sección Héroe */
    #microSistemas {
        padding-top: 0rem;
        padding-bottom: 0.9rem;
    }

    .contenedorTitulo {
        max-width: 80%;
    }

    .contenedorTitulo h1 {
        font-size: 3.5rem;
        margin-bottom: 0.4rem;
    }

    .contenedorTitulo p {
        padding-top: 1rem;
        font-size: 1.2rem;
        margin: 0 auto 1rem;
        line-height: 1.2;
        max-width: 80%;
    }

    /* Boton CTA 1 */
    .botonAgenda button {
        padding: 1rem;
    }

    .botonAgenda button strong {
        font-size: 1.5rem;
    }

    #agenda p {
        display: block;
        font-size: 1rem;
        max-width: 50%;
    }

    /*section queridoEmprendedor*/
    .contenedorEmprendedor {
        max-width: 85%;
    }

    .contenedorEmprendedor p,
    .contenedorEmprendedor li,
    .contenedorEmprendedor a {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .contenedorEmprendedor li {
        margin-left: 2.5rem;
    }

    /* Sección diagnostico */
    .contenedorDiagnostico {
        padding-left: 0rem;
        padding-right: 0rem;
        max-width: 80%;
    }

    .contenedorDiagnostico h1 {
        font-size: 3rem;
    }

    /*Seccion de formulario*/
    /*css para el formulario RAMIROOO*/
    #formulario {
        padding: 0rem;
    }

    /* Footer */
    /* Footer Styles */
    .logo {
        max-width: 8rem;
        height: auto;
    }

    .social-icons {
        display: flex;
        gap: 1rem;
    }

    .social-icons i {
        font-size: 1.3rem;
    }

    /* Contacto */
    .iconoFooter {
        font-size: 2rem;
    }

    .contactoDireccion small {
        line-height: 0;
        padding: 0;
        margin: 0;
    }

    .contactoFooter small {
        font-size: 0.9rem;
    }

    .contactoFooter strong {
        color: var(--color-blanco);
        font-size: 1rem;
    }

    .footer-bottom {
        margin-top: 1rem;
    }

    .footer-bottom p {
        font-size: 0.9rem;
    }

}

/*==================*/
/* RESPONSIVE MOVIL */
/*==================*/
@media (max-width: 600px) {

    /* Fondo general del header */
    .header {
        padding: 2rem 1rem;
    }

    /* Contenedor interno */
    .header-container {
        max-width: 90%;
    }

    .logo img {
        height: 5.2rem;
    }

    .icono {
        font-size: 1.8rem;
    }

    .contacto small {
        font-size: 0.7rem;
    }

    .contacto strong {
        font-size: 0.7rem;
    }

    /* Sección Héroe */
    #microSistemas {
        padding-top: 0rem;
        padding-bottom: 0.9rem;
    }

    .contenedorTitulo {
        max-width: 95%;
    }

    .contenedorTitulo h1 {
        font-size: 2.7rem;
        margin-bottom: 0.4rem;
    }

    .contenedorTitulo p {
        padding-top: 1rem;
        font-size: 1.1rem;
        margin: 0 auto 1rem;
        line-height: 1.2;
        max-width: 95%;
    }

    .desaparecer {
        display: none;
    }

    /* Boton CTA 1 */
    .botonAgenda button {
        padding: 1.1rem 1rem;
        margin: 0 auto;
        max-width: 75%;
        border-radius: 1rem;
    }

    .botonAgenda button strong {
        font-size: 1.3rem;
        max-width: 90%;
        line-height: 1.1;
    }

    #agenda p {
        display: block;
        font-size: 0.9rem;
        max-width: 90%;
    }

    /* section queridoEmprendedor */
    .contenedorEmprendedor {
        max-width: 90%;
        margin-top: -2rem;
        margin-bottom: -1rem;
    }

    .contenedorEmprendedor p,
    .contenedorEmprendedor li,
    .contenedorEmprendedor a {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .contenedorEmprendedor li {
        margin-left: 1.5rem;
    }

    /* Sección diagnostico */
    .contenedorDiagnostico {
        padding: 0rem;
        max-width: 90%;
    }

    .contenedorDiagnostico h1 {
        font-size: 2.2rem;
    }

    /*Seccion de formulario*/
    #formulario {
        padding: 0rem;
    }

    /* Footer */
    .logo {
        max-width: 8rem;
        height: auto;
    }

    .social-icons {
        display: flex;
        gap: 1rem;
    }

    .social-icons i {
        font-size: 1.3rem;
    }

    .footer-container {
        max-width: 90%;
        margin: auto;
        display: flex;
        justify-content: left;
    }

    .contactoDireccion {
        display: flex;
        align-items: left;
        text-align: left;
        justify-content: left;
        gap: 2rem;
        max-width: 100%;
        padding: 2rem 0rem;
        padding-right: 6rem;
    }

    /* Contacto */
    .iconoFooter {
        font-size: 2rem;
    }

    .contactoFooter small {
        font-size: 0.9rem;
    }

    .contactoFooter strong {
        color: var(--color-blanco);
        font-size: 1rem;
    }

    .footer-bottom {
        margin-top: 1rem;
    }

    .footer-bottom p {
        font-size: 0.9rem;
    }
}

/*==================*/
/* RESPONSIVE 1600+ */
/*==================*/
@media screen and (min-width: 1600px) {

    /* Contenedor principal del Header */
    .header-container {
        max-width: 80%;
    }

    /* Logo */
    .logo img {
        height: 13rem;
        /* Logo más grande */
    }

    /* Contacto en Header */
    .contacto {
        gap: 12px;
    }

    .icono {
        font-size: 4rem;
    }

    .contacto small {
        font-size: 1.6rem;
    }

    .contacto strong {
        font-size: 1.6rem;
    }

    /* Sección Héroe (Título principal) */
    #microSistemas {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .contenedorTitulo {
        max-width: 70%;
    }

    .contenedorTitulo h1 {
        font-size: 6.5rem;
    }

    .contenedorTitulo p {
        padding-top: 3rem;
        font-size: 2.2rem;
        max-width: 75%;
    }

    /* Botón CTA (Agenda) */
    .botonAgenda button {
        padding: 1.5rem 3.5rem;
    }

    .botonAgenda button strong {
        font-size: 3.5rem;
    }

    #agenda p {
        font-size: 1.8rem;
        max-width: 35%;
    }

    /* Sección Stats */
    .stats {
        gap: 60px 30px;
        padding: 60px 20px;
        max-width: 75%;
    }

    .stat-item img {
        width: 6rem;
    }

    .stat-item p {
        font-size: 2.2rem;
    }

    /* Sección Enfoques */
    .contenedorEnfoques {
        gap: 6rem;
        max-width: 75%;
    }

    .imagenEnfoque img {
        width: 35rem;
    }

    .textoEnfoque p {
        font-size: 1.8rem;
    }

    /* Sección Póliza (Título) */
    .contenedorPoliza {
        max-width: 50%;
    }

    .contenedorPoliza h1 {
        font-size: 6.5rem;
    }

    /* Dashboard */
    .dashboard {
        max-width: 85%;
        padding: 3rem;
        margin-bottom: 4rem;
    }

    .sidebar .item {
        font-size: 1.8rem;
        padding: 1.5rem;
        border-radius: 1.2rem;
    }

    .card {
        padding: 2rem;
        font-size: 1.7rem;
        border-radius: 1.5rem;
    }

    /* Sección Clientes (Carrusel) */
    #clientes {
        margin: 4rem 0rem;
    }

    #clientes p {
        font-size: 3rem;
    }

    .carrusel img {
        height: 18rem;
    }

    /* Sección Opciones (Tabla) */
    #opciones {
        padding: 4rem 1rem;
    }

    /* Título ¿Por Qué Somos Tu Mejor Opción? */
    #opciones .contenedorPoliza {
        max-width: 55%;
    }

    .contenedorPoliza h1 {
        font-size: 6.5rem;
    }

    .pricing-table {
        max-width: 1400px;
        min-width: 1000px;
        /* Asegurar un tamaño mínimo decente */
        padding-top: 2rem;
    }

    .column .header {
        font-size: 2rem;
        padding: 25px 20px;
        min-height: 70px;
    }

    .column li {
        padding: 18px 15px;
        min-height: 70px;
    }

    .features li {
        font-size: 1.3rem;
        padding-left: 30px;
    }

    /* Sección Certificaciones */
    #certificaciones p {
        font-size: 3rem;
    }

    .certificado {
        max-width: 80%;
        padding-bottom: 3rem;
    }

    .certificado img {
        width: 18rem;
        margin: -3.5rem;
    }

    /* Sección ¿Cómo Es Trabajar Con Nosotros? */
    .contenedorTrabajo {
        max-width: 50%;
    }

    .contenedorTrabajo h1 {
        font-size: 6rem;
    }

    /* Pasos */
    .pasos {
        max-width: 60%;
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .paso {
        padding: 1.5rem;
    }

    .numero {
        font-size: 4rem;
        margin-right: 1.5rem;
    }

    .contenido h3 {
        font-size: 1.8rem;
    }

    .contenido p {
        font-size: 1.7rem;
    }

    /* Sección Testimonios */
    #testimonios {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    .contenedorTestimonios h1 {
        font-size: 6rem;
    }

    .contenedorTestimonios h2 {
        font-size: 6rem;
    }

    .contenedorTestimonios p {
        font-size: 1.7rem;
    }

    .carruselTestimonio {
        max-width: 1000px;
    }

    .testimonio-slide p {
        font-size: 1.8rem;
        max-width: 35rem;
    }

    .testimonio-slide em {
        font-size: 1.8rem;
    }

    /* Flechas del testimonio */
    .flecha {
        width: 60px;
        height: 60px;
    }

    .flecha span {
        font-size: 2.5rem;
    }

    /* Sección Preguntas Frecuentes */
    #preguntas {
        padding-top: 4rem;
    }

    .contenedorPreguntas {
        max-width: 60%;
    }

    .contenedorPreguntas h1 {
        font-size: 6rem;
    }

    .contenedorModular {
        max-width: 60%;
        margin-top: 3rem;
    }

    .btn-read-more {
        font-size: 1.8rem;
        padding: 1.2rem 2.5rem;
    }

    .fa-angle-down {
        font-size: 1.8rem;
    }

    .modal {
        padding: 1.5rem;
        font-size: 1.7rem;
    }

    .modal ul,
    .modal ol {
        font-size: 1.4rem;
    }

    .modal li {
        font-size: 1.4rem;
    }

    /* Sección Diagnóstico (Título final) */
    .contenedorDiagnostico {
        max-width: 65%;
    }

    .contenedorDiagnostico h1 {
        font-size: 6rem;
    }

    /* Formulario */
    #formulario {
        padding: 3rem 1rem 4rem 1rem;
    }

    .form-wrapper {
        max-width: 60%;
        padding: 40px;
    }

    #formulario .form-wrapper input {
        font-size: 1.8rem;
    }

    .form-wrapper input,
    .form-wrapper textarea {
        padding: 18px 25px;
        font-size: 1.8rem;
    }

    /* Footer */
    .footer-container {
        max-width: 90%;
    }

    .logo {
        max-width: 200px;
        height: auto;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .footer-bottom p {
        font-size: 1.4rem;
    }

    .social-icons i {
        font-size: 2.5rem;
    }

    .contactoDireccion small {
        font-size: 1.4rem;
    }

    .contactoDireccion strong {
        font-size: 1.5rem;
    }

    .iconoFooter {
        font-size: 3rem;
    }

    .contactoFooter small {
        font-size: 1.5rem;
        margin-bottom: -3px;
    }

    .contactoFooter strong {
        font-size: 1.4rem;
    }
}