* {
    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);
}

/* 1. ANCLA DEL TÍTULO */
.titulo-con-raya {
    position: relative;     /* CLAVE: Define el punto de anclaje */
    display: inline-block;  /* Permite que el contenedor se ajuste al ancho del H1 */
    text-align: center;     /* Para centrar el H1 dentro de su contenedor (si aplica) */
}

/* 2. OCULTAR POR DEFECTO (Móvil/Tablet) */
.raya-imagen {
    display: none;          
    position: absolute;     
}

.raya-imagen img {
    width: 100%; 
    height: auto; 
    display: block; 
}

.rojo {
    color: var(--color-span);
}

.curva {
    position: relative;
    display: inline-block;
}

.curva::after {
     content: "";
    position: absolute;
    left: -10%;
    bottom: -20px;
    width: 120%;
    height: 20px;

    border-top: 5px solid red;
    border-radius: 100% 100% 0 0;

    transform: rotate(1deg);
}

.contenedorTitulo {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 75%;
}

.contenedorTitulo h1 {
    font-size: 4rem;
    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: 80%;
}

/* 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;
}

/*Seccion de stats*/
#stats {
    background: var(--color-blanco);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
    padding: 40px 20px;
    max-width: 85%;
    margin: 0 auto;
    justify-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.stat-item img {
    width: 4rem;
    height: auto;
}

.stat-item p {
    font-size: 1.5rem;
    line-height: 1;
    text-align: center;
}

/*Seccion enfoques*/
.enfoques {
    background: var(--color-gris);
    padding: 3rem 1rem;
    display: flex;
    justify-content: center;
}

.contenedorEnfoques {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    gap: 5rem;
    max-width: 80%;
    width: 100%;
}

.imagenEnfoque img {
    width: 25rem;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 1rem;
}

.textoEnfoque p {
    font-size: 1.2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

/* Sección poliza */
#poliza {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
    background: var(--color-gris);
}

.rojo {
    color: var(--color-span);
}

.contenedorPoliza {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 60%;
}

.contenedorPoliza h1 {
    font-size: 5rem;
    margin-bottom: 0.4rem;
    letter-spacing: -0.09em;
    line-height: 1;
    color: #000;
    font-weight: bold;
}

/*dashboard*/
#dashboard {
    background: var(--color-gris);
}

.dashboard {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--color-gris);
    max-width: 95%;
    margin: 0 auto;
    margin-bottom: 3rem;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 30%;
}

.sidebar .item {
    background: var(--color-blanco);
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 1rem;
    text-align: center;
    cursor: pointer;
    transition: .3s;
}

.sidebar .item:hover {
    background: var(--color-rojo);
}

.sidebar .active {
    background: var(--color-span);
    color: var(--color-blanco);
}

/* Panel */
.panel {
    background: var(--color-blanco);
    width: 70%;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.card {
    background: #EFEFEF;
    padding: 1.5rem;
    border-radius: 1.2rem;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Animación fade */
.fade {
    animation: fadeIn .3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sección clientes */
#clientes {
    background: var(--color-blanco);
    padding: 0rem 2rem;
    overflow: hidden;
    margin: 2rem 0rem;
}

#clientes p {
    font-size: 2rem;
    text-align: center;
    padding-top: 1rem;
}

.carrusel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0rem 0;
}

.carrusel-track {
    display: flex;
    gap: 1rem;
}


.carrusel img {
    height: 12rem;
    object-fit: contain;
    flex-shrink: 0;
    user-select: none;
    pointer-events: none;
}


/* Efecto de desvanecimiento en los bordes */
.carrusel::before,
.carrusel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 1rem;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.carrusel::before {
    left: 0;
    background: linear-gradient(to right, var(--color-blanco), transparent);
}

.carrusel::after {
    right: 0;
    background: linear-gradient(to left, var(--color-blanco), transparent);
}

/*Seccion del cuadro de opciones*/
#opciones {
    background: var(--color-gris);
    padding: 3rem 1rem;
    text-align: center;
}

.table-container {
    max-width: 95%;
    margin: 0 auto;
    overflow-x: auto;
    padding: 1rem 0;
}

.pricing-table {
    display: flex;
    gap: 15px;
    /* SEPARACIÓN ENTRE COLUMNAS */
    min-width: 900px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Estilos de las Columnas - CON SEPARACIÓN Y ESQUINAS REDONDEADAS */
.column {
    padding: 0;
    list-style: none;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    /* ESQUINAS REDONDEADAS */
    overflow: hidden;
    /* Para que el contenido respete el border-radius */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Sombra para separación visual */
}

/* Cabeceras de las columnas - LÍNEAS QUE NO TOCAN BORDES */
.column .header {
    position: relative;
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    padding: 20px 15px;
    margin: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
    /* Esquinas redondeadas solo arriba */
}

/* Líneas de separación debajo del título - NO TOCAN BORDES */
.features .header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    /* MARGEN IZQUIERDO */
    right: 15px;
    /* MARGEN DERECHO */
    height: 3px;
    background-color: var(--color-texto);
}

.microsystems .header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    /* MARGEN IZQUIERDO */
    right: 15px;
    /* MARGEN DERECHO */
    height: 3px;
    background-color: var(--color-blanco);
}

.others .header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    /* MARGEN IZQUIERDO */
    right: 15px;
    /* MARGEN DERECHO */
    height: 3px;
    background-color: var(--color-texto);
}

/* Colores de fondo de los headers */
.features .header {
    background-color: var(--color-blanco);
    color: var(--color-texto);
}

.microsystems .header {
    background-color: var(--color-texto);
    color: var(--color-blanco);
}

.others .header {
    background-color: var(--color-blanco);
    color: var(--color-texto);
}

/* Cuerpo de las columnas */
.column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.column li {
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    position: relative;
    /* Para las líneas divisorias */
}

/* Último elemento con esquinas redondeadas abajo */
.column li:last-child {
    border-radius: 0 0 12px 12px;
}

/* Fondo de las columnas */
.features {
    background-color: var(--color-blanco);
    color: var(--color-texto);
}

.microsystems {
    background-color: var(--color-texto);
    color: var(--color-blanco);
}

.others {
    background-color: var(--color-blanco);
    color: var(--color-texto);
}

/* Texto en la columna features */
.features li {
    font-size: 0.95em;
    text-align: left;
    padding-left: 20px;
    justify-content: flex-start;
    line-height: 1.3;
}

/* Íconos */
.check {
    color: var(--color-blanco);
    background-color: var(--color-span);
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.microsystems .check {
    color: var(--color-blanco);
    background-color: var(--color-span);
}

.cross {
    color: var(--color-texto-secondary);
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
}

.microsystems .cross {
    color: var(--color-blanco);
    opacity: 0.7;
}

/* QUITAMOS EL EFECTO HOVER COMPLETAMENTE */
.column {
    transition: none;
    transform: none;
}

.column:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/*Seccion de certificaciones*/
#certificaciones {
    background: var(--color-blanco);
}

#certificaciones p {
    font-size: 2rem;
    text-align: center;
    padding-top: 1rem;
}

.certificado {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 85%;
    margin: 0 auto;
    justify-items: center;
    padding-bottom: 2rem;
}

.certificado img {
    width: 12rem;
    height: auto;
    margin: -2.5rem;
}

/* Sección poliza */
#trabajo {
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 1rem;
    background: var(--color-gris);
}

.contenedorTrabajo {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 60%;
}

.contenedorTrabajo h1 {
    font-size: 5rem;
    margin-bottom: 0.4rem;
    letter-spacing: -0.09em;
    line-height: 1;
    color: #000;
    font-weight: bold;
}

/*Seccion trabajo pasos*/
#pasos {
    background: var(--color-gris);
    padding-bottom: 2rem;
}

.pasos {
    max-width: 55%;
    margin: 0 auto;
    padding: 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.paso:hover {
    background: var(--color-gris);
}

.paso {
    display: flex;
    background: var(--color-blanco);
    padding: 1rem;
    border-radius: .3rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    align-items: flex-start;
}

.numero {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-span);
    margin-right: 1rem;
    line-height: 2;
}

.contenido h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    padding-right: 2rem;
    line-height: 1.1;
}

.contenido p {
    margin: 0;
    line-height: 1.4;
    padding-right: 2rem;
}

.botonVerMasToggle {
    display: none;
}

/* Sección Testimonios */
#testimonios {
    max-width: 100%;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 2rem;
    /* Fondo con imagen */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("img/Testimonios.png");
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Contenedor del Título */
.contenedorTestimonios {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 70%;
}

.contenedorTestimonios h1 {
    font-size: 5rem;
    margin-bottom: 0.4rem;
    letter-spacing: -0.09rem;
    line-height: 1;
    color: var(--color-blanco);
    font-weight: bold;
}

.contenedorTestimonios h2 {
    font-size: 5rem;
    letter-spacing: -0.7rem;
    line-height: 1;
    font-weight: bold;
    margin-bottom: -2rem;
    color: var(--color-span);
}

.contenedorTestimonios p {
    padding-top: 0rem;
    font-size: 1.4rem;
    margin: 0 auto 1rem;
    color: var(--color-gris);
    line-height: 1.4;
    max-width: 80%;
}

/* --- ESTILOS DEL CARRUSEL DE SLIDES --- */

/* Contenedor principal que centra y oculta el desbordamiento */
.carruselTestimonio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    max-width: 800px;
}

/* El track que contiene todos los testimonios y se mueve */
.carrusel-track-testimonio {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

/* Cada slide individual de testimonio */
.testimonio-slide {
    flex-shrink: 0;
    width: 100%;
    text-align: center;
}

/* Estilos de texto del testimonio */
.testimonio-slide p {
    padding-top: 0rem;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
    color: var(--color-gris);
    line-height: 1.1;
    max-width: 27rem;
}

.testimonio-slide em {
    font-style: normal;
    font-size: 1.3rem;
    color: var(--color-gris);
    line-height: 1.1;
}

/* Las flechas */
.flecha {
    z-index: 10;
    cursor: pointer;
    background: var(--color-span);
    /* Fondo rojo del círculo */
    border-radius: 50%;
    /* Círculo */
    width: 45px;
    /* Tamaño del círculo */
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.flecha.izq {
    left: 0px;
}

.flecha.der {
    right: 0px;
}

/* Estilo para el símbolo de la flecha dentro del <span> */
.flecha span {
    color: var(--color-blanco);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    padding-bottom: 2px;
}


.flecha:hover {
    background: var(--color-spanHover);
    transform: translateY(-50%) scale(1.05);
}

/* Sección preguntas frecuentes */
#preguntas {
    text-align: center;
    padding-top: 3rem;
    background: var(--color-blanco);
}

.contenedorPreguntas {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 67%;
}

.contenedorPreguntas h1 {
    font-size: 5rem;
    letter-spacing: -0.09em;
    line-height: 1;
    color: #000;
    font-weight: bold;
}

/*Seccion preguntas frecuentes*/
#preguntasFrecuentes {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 3rem;
    background: var(--color-blanco);
}

.contenedorModular {
    display: grid;
    gap: 1rem;
    max-width: 50%;
    margin: 2rem auto 0;
}

/* Botón general */
.btn-read-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    padding: 1rem 2rem;
    background: var(--color-gris);
    color: var(--color-texto);
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
}

.btn-read-more b {
    display: block;
    padding-right: 4rem;
}

/* Ícono */
.fa-angle-down {
    font-size: 1.5rem;
    color: var(--color-texto);
    transition: 0.3s;
}

.fa-angle-down:hover {
    color: var(--color-blanco);
}

.btn-read-more.active .fa-angle-down {
    color: var(--color-blanco);
    transform: rotate(180deg) scale(1.1);
}

/* Hover */
.btn-read-more:hover {
    background: var(--color-span);
    color: var(--color-blanco);
}

/* Modal */
.modal-container {
    display: none;
    background: var(--color-gris);
    color: var(--color-texto);
    animation: fadeIn 0.2s ease-in-out;
}

.modal-container.show {
    display: block;
}

.modal {
    padding: 1rem;
    max-height: 60vh;
    overflow-y: auto;
    font-size: 1.3rem;
    text-align: left;
}

.modal ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin: 1rem 0 0.5rem;
}

.modal li {
    margin-bottom: 0.6rem;
    line-height: 1.3;
    font-size: 1.3rem;
}

.modal li::marker {
    color: var(--color-texto);
    font-size: 1.2rem;
}

/* Animación */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Boton CTA 2 */
#agenda2 {
    background: var(--color-blanco);
    padding-bottom: 2rem;
}

.botonAgenda2 button strong {
    font-size: 2rem;
    display: block;
}

#agenda2 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 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: 74%;
}

.contenedorDiagnostico h1 {
    font-size: 6rem;
    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: 3rem;
        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%;
    }

    /*Seccion de stats*/
    .stats {
        gap: 1rem 1rem;
        max-width: 900%;
    }

    .stat-item img {
        width: 3rem;
    }

    .stat-item p {
        font-size: 1.2rem;
    }

    /*Seccion enfoques*/
    .enfoques {
        padding: 2rem 1rem;
    }

    .contenedorEnfoques {
        gap: 2rem;
        max-width: 95%;
        width: 100%;
    }

    .imagenEnfoque img {
        width: 20rem;
    }

    .textoEnfoque p {
        font-size: 1rem;
        margin-top: 1rem;
    }

    /* Sección poliza */
    .contenedorPoliza {
        max-width: 70%;
    }

    .contenedorPoliza h1 {
        font-size: 3.5rem;
    }

    /*dashboard*/
    .dashboard {
        display: flex;
        gap: 1rem;
        padding: 2rem;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    /* Sidebar */
    .sidebar {
        gap: 0.5rem;
        width: 30%;
    }

    .sidebar .item {
        padding: 1rem 1rem;
        font-size: 1rem;
        border-radius: 1rem;
    }

    /* Panel */
    .panel {
        width: 70%;
        padding: 1rem;
        border-radius: 1rem;
    }

    /* Cards */
    .cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .card {
        padding: 1rem;
        border-radius: 1rem;
        font-size: 1rem;
    }

    /* Sección clientes */
    #clientes {
        margin: 1rem 0rem;
    }

    #clientes p {
        font-size: 1.4rem;
        text-align: center;
        padding-top: 0.8rem;
    }

    .carrusel img {
        height: 10rem;
    }

    /*Seccion del cuadro de opciones*/
    .table-container {
        max-width: 95%;
        margin: 0 auto;
        overflow-x: auto;
        padding: 1rem 0;
    }

    .pricing-table {
        gap: 10px;
        min-width: 100%;
        max-width: 100%;
    }

    /* Estilos de las Columnas - CON SEPARACIÓN Y ESQUINAS REDONDEADAS */
    .column {
        padding: 0;
        flex: 1;
        border-radius: 12px;
    }

    /* Cabeceras de las columnas - LÍNEAS QUE NO TOCAN BORDES */
    .column .header {
        font-size: 1.2em;
        padding: 15px 10px;
        min-height: 50px;
    }

    /* Líneas de separación debajo del título - NO TOCAN BORDES */
    .features .header::after {
        left: 15px;
        right: 15px;
    }

    .microsystems .header::after {
        left: 15px;
        right: 15px;
    }

    .others .header::after {
        left: 15px;
        right: 15px;
    }

    .column li {
        padding: 10px 10px;
        min-height: 50px;
    }

    /* Texto en la columna features */
    .features li {
        font-size: 0.95em;
        padding-left: 20px;
        line-height: 1.2;
    }

    /* Íconos */
    .check {
        font-size: 1.5em;
        width: 28px;
        height: 28px;
        padding: 1.1rem;
    }

    .cross {
        font-size: 1.5em;
        line-height: 1;
        padding: 0.4rem;
    }


    /*Seccion de certificaciones*/
    #certificaciones p {
        font-size: 1.4rem;
        padding-top: 0.8rem;
    }

    .certificado img {
        width: 10rem;
        height: auto;
        margin: -2.5rem;
    }

    /* Sección poliza */
    #trabajo {
        text-align: center;
        padding-top: 3rem;
    }

    .contenedorTrabajo {
        padding-left: 0rem;
        padding-right: 0rem;
        max-width: 70%;
    }

    .contenedorTrabajo h1 {
        font-size: 4rem;
    }

    /*Seccion trabajo pasos*/
    .pasos {
        max-width: 70%;
    }

    .numero {
        font-size: 2.5rem;
        line-height: 2.2;
    }

    .contenido h3 {
        font-size: 1.2rem;
        padding-right: 1.5rem;
    }

    .contenido p {
        font-size: 1rem;
        padding-right: 1.5rem;
    }

    /*Seccion Testimonios*/
    #testimonios {
        max-width: 100%;
        padding-top: 1rem;
        padding-bottom: 0rem;
        background-size: 110%;
    }

    .contenedorTestimonios {
        padding-left: 0rem;
        padding-right: 0rem;
        max-width: 80%;
    }

    .contenedorTestimonios h1 {
        font-size: 3.3rem;
        margin-bottom: 0rem;
    }

    .contenedorTestimonios h2 {
        font-size: 3.3rem;
        margin-bottom: -1rem;
    }

    .contenedorTestimonios p {
        padding-top: 0rem;
        font-size: 1.2rem;
        max-width: 80%;
    }

    .testimonio-slide p {
        padding-top: 0rem;
        font-size: 1.1rem;
        max-width: 30rem;
    }

    .testimonio-slide em {
        padding-top: 0rem;
        font-size: 1rem;
        margin: 0 auto 0rem;
    }

    .carruselTestimonio {
        gap: 2rem;
    }

    /* Las flechas */
    .flecha {
        width: 40px;
        height: 40px;
    }

    .flecha.izq {
        left: 5rem;
    }

    .flecha.der {
        right: 5rem;
    }

    /* Estilo para el símbolo de la flecha dentro del <span> */
    .flecha span {
        font-size: 1.4rem;
    }

    /* Sección preguntas frecuentes */
    #preguntas {
        padding-top: 3rem;
    }

    .contenedorPreguntas {
        padding-left: 0rem;
        padding-right: 0rem;
        max-width: 80%;
    }

    .contenedorPreguntas h1 {
        font-size: 3.5rem;
    }

    /*Seccion preguntas frecuentes*/
    #preguntasFrecuentes {
        padding-bottom: 2rem;
    }

    .contenedorModular {
        gap: 0.8rem;
        max-width: 80%;
    }

    /* Botón general */
    .btn-read-more {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    /* Ícono */
    .fa-angle-down {
        font-size: 1.4rem;
    }

    .modal {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .modal li {
        font-size: 1.1rem;
    }

    .modal li::marker {
        font-size: 1.1rem;
    }

    /* Boton CTA 2 */
    .botonAgenda2 button {
        padding: 1rem;
    }

    .botonAgenda2 button strong {
        font-size: 1.5rem;
    }

    #agenda2 p {
        display: block;
        font-size: 1rem;
        max-width: 50%;
    }


    /* Sección diagnostico */
    .contenedorDiagnostico {
        padding-left: 0rem;
        padding-right: 0rem;
        max-width: 80%;
    }

    .contenedorDiagnostico h1 {
        font-size: 4rem;
    }

    /*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%;
    }

    /*Seccion de stats*/
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1rem;
        padding: 1rem;
        max-width: 100%;
    }

    .stat-item {
        gap: 1rem;
    }

    .stat-item img {
        width: 2.2rem;
    }

    .stat-item p {
        font-size: 1rem;
    }

    /*Seccion enfoques*/
    .enfoques {
        padding: 2rem 1rem;
    }

    .contenedorEnfoques {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 90%;
        width: 100%;
    }

    .imagenEnfoque img {
        width: 20rem;
    }

    .textoEnfoque p {
        font-size: 1.05rem;
        margin-top: 0rem;
    }

    /* Sección poliza */
    .contenedorPoliza {
        max-width: 90%;
    }

    .contenedorPoliza h1 {
        font-size: 2.8rem;
    }

    /*dashboard*/
    .dashboard {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    /* Sidebar */
    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        width: 100%;
    }

    .sidebar .item {
        padding: 1rem 1rem;
        font-size: 1.1rem;
        border-radius: 1rem;
    }

    /* Panel */
    .panel {
        width: 100%;
        padding: 1rem;
        border-radius: 1rem;
    }


    /* Cards */
    .cards {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .card {
        padding: 1rem;
        border-radius: 1rem;
        font-size: 1rem;
    }

    /* Sección clientes */
    #clientes {
        margin: 1rem 0rem;
    }

    #clientes p {
        font-size: 1.3rem;
        text-align: center;
        padding-top: 1rem;
        line-height: 1.2;
    }

    .carrusel-track {
        padding: 0rem;
    }

    .carrusel img {
        height: 11rem;
    }

    .contenedorPoliza {
        max-width: 90%;
    }

    .contenedorPoliza h1 {
        font-size: 2.8rem;
    }


    /* ** SECCION OPCIONES ** */

    /* Contenedor principal de la tabla */
    .table-container {
        overflow-x: hidden;
        padding: 1rem;
    }

    /* La tabla en si */
    .pricing-table {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        min-width: unset;
        gap: 0;
    }

    /* Ocultamos las columnas de comparación */
    .microsystems,
    .others {
        display: none;
    }

    /* Columna de características  */
    .column.features {
        background-color: var(--color-gris);
        width: 100%;
        max-width: 450px;
        box-shadow: none;
        border-radius: 0;
    }

    /* Ocultar la cabecera 'Características' */
    .features .header {
        display: none;
    }

    /* Contenedor de la lista */
    .column ul {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    /* Cada elemento de la lista ahora es una 'tarjeta' */
    .features li {
        background: var(--color-blanco);
        border-radius: 8px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        justify-content: space-between;
        padding: 15px 20px;
        min-height: 0;
        font-size: 1rem;
        font-weight: bold;
        line-height: 1.2;
        text-align: left;
        border-bottom: none;
    }

    /* Insertar el Check de Microsistemas  */
    .features li::after {
        content: "✔";
        color: var(--color-blanco);
        background-color: var(--color-span);
        font-size: 1em;
        font-weight: bold;
        line-height: 1;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 8px;
        flex-shrink: 0;
    }

    /* Regla para ocultar  */
    #ocultarFeatures {
        display: none;
    }


    #ocultarFeatures.show {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    /* Botón Ver Más/Menos */
    .botonVerMasToggle {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .botonVerMasToggle button {
        background: var(--color-span);
        color: white;
        border: none;
        border-radius: 8px;
        padding: 0.8rem 1.5rem;
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        width: auto;
        transition: background 0.2s, transform 0.2s;
    }

    .botonVerMasToggle button strong {
        font-size: 1.1rem;
        line-height: 1;
        display: block;
    }

    /* Ocultar elementos de las otras columnas (por si acaso) */
    .cross,
    .check {
        display: none;
    }

    /* ** FIN SECCIÓN OPCIONES ** */

    /*Seccion de certificaciones*/
    #certificaciones p {
        font-size: 1.3rem;
        line-height: 1.2;
        padding-top: 1rem;
        margin: 0rem 2rem;
    }

    .certificado {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding-bottom: 0rem;
    }

    .certificado img {
        width: 8rem;
        height: auto;
        margin: -1rem;
    }

    /* Sección poliza */
    #trabajo {
        text-align: center;
        padding-top: 3rem;
    }

    .contenedorTrabajo {
        padding-left: 0rem;
        padding-right: 0rem;
        max-width: 90%;
    }

    .contenedorTrabajo h1 {
        font-size: 2.8rem;
    }

    /*Seccion trabajo pasos*/
    .pasos {
        max-width: 95%;
    }

    .numero {
        font-size: 2.5rem;
        line-height: 3.1;
    }

    .contenido h3 {
        font-size: 1.2rem;
        padding-right: 0rem;
        line-height: 1;
    }

    .contenido p {
        font-size: 1rem;
        padding-right: 0rem;
        line-height: 1.2;
    }

    /*Seccion Testimonios*/
    #testimonios {
        max-width: 100%;
        padding-top: 1rem;
        padding-bottom: 0rem;
        background-size: 300%;
    }

    .contenedorTestimonios {
        padding-left: 0rem;
        padding-right: 0rem;
        max-width: 95%;
    }

    .contenedorTestimonios h1 {
        font-size: 2.3rem;
        margin-bottom: 0rem;
        line-height: 0.9;
    }

    .contenedorTestimonios h2 {
        font-size: 2.5rem;
        letter-spacing: -0.3rem;
        margin-bottom: -1rem;
    }

    .contenedorTestimonios p {
        padding-top: 0rem;
        font-size: 1.1rem;
        max-width: 80%;
        margin-bottom: 0rem;
        line-height: 2;
    }

    .testimonio-slide p {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .testimonio-slide em {
        padding-top: 0rem;
        font-size: 1rem;
        margin: 0 auto 0rem;
    }

    .carruselTestimonio {
        gap: 2rem;
    }

    /* Las flechas */
    .flecha {
        display: none;
    }

    /* Sección preguntas frecuentes */
    #preguntas {
        padding-top: 3rem;
    }

    .contenedorPreguntas {
        padding-left: 0rem;
        padding-right: 0rem;
        max-width: 95%;
    }

    .contenedorPreguntas h1 {
        font-size: 2.8rem;
    }

    /*Seccion preguntas frecuentes*/
    #preguntasFrecuentes {
        padding-bottom: 2rem;
    }

    .contenedorModular {
        gap: 0.8rem;
        max-width: 90%;
    }

    /* Botón general */
    .btn-read-more {
        font-size: 1.2rem;
        padding: 1rem 1rem;
    }

    /* Ícono */
    .fa-angle-down {
        font-size: 1.4rem;
    }

    .modal {
        padding: 1rem 1rem;
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .modal li {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .modal li::marker {
        font-size: 1.1rem;
    }

    .modal ol {
        font-size: 1.1rem;
        padding-left: 2rem;
        line-height: 1.3;
    }

    .modal ol::marker {
        font-size: 1.1rem;
    }

    /* Boton CTA 2 */
    .botonAgenda2 button {
        padding: 1rem;
    }

    .botonAgenda2 button strong {
        font-size: 1.5rem;
    }

    #agenda2 p {
        display: block;
        font-size: 1rem;
        max-width: 50%;
    }


    /* Sección diagnostico */
    .contenedorDiagnostico {
        padding: 0rem;
        max-width: 90%;
    }

    .contenedorDiagnostico h1 {
        font-size: 2.8rem;
    }

    /*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;
    }
}

/* Responsive Raya este no lo muevas es la unica manera en la que funciona bien*/

/* Responsive Raya este no lo muevas es la unica manera en la que funciona bien*/

/* 3. MEDIA QUERY: ESCRITORIO ESTÁNDAR (1025px - 1599px) */
@media (min-width: 1025px) and (max-width: 1599px) {
    .raya-imagen {
        display: block;
        bottom: 50px; /* Ajusta la altura */
        
        /* TUS VALORES ANTERIORES PARA ESCRITORIO ESTÁNDAR */
        width: 250px; 
        left: 41%;    /* Mantener 41% que funcionaba en este rango */
    }
}

/* 4. MEDIA QUERY: CORRECCIÓN DE PANTALLA GRANDE (1600px - 1920px) */
@media (min-width: 1600px) and (max-width: 1920px) {
    .raya-imagen {
        display: block;
        bottom: 50px; /* Ajusta la altura */
        
        /* AJUSTE MANUAL 1: Necesitas encontrar este left exacto */
        width: 300px; /* Prueba a aumentar el width */
        left: 58%;    /* Ajusta este left si se desvía */
    }
}

/* 5. MEDIA QUERY: CORRECCIÓN ULTRA GRANDE (1921px en adelante, cubre 2560x1664) */
@media (min-width: 1921px) {
    .raya-imagen {
        display: block;
        bottom: 60px; /* Ajusta la altura si la fuente es más grande */
        
        /* AJUSTE MANUAL 2: Necesitas encontrar este left exacto para 2560px */
        width: 350px; 
        left: 65%;    /* Probablemente un valor alto, AJÚSTALO EN EL NAVEGADOR */
    }
}