@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
    --color-main: #ffffff;
    --color-primario: rgb(0, 88, 124);
    --titulo: rgb(0, 88, 124);
    --amarillo: rgb(207, 181, 0);
    --amarillo-claro: rgb(237, 224, 75);
}
body {
    overflow-x: hidden;

    display: contents;
}

img {
    max-width: 100%;
    display: block;
}

body p,
body span,
body a,
body label,
body li,
body button,
body input,
body textarea {
    font-family: "Poppins", sans-serif;
}
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: "Muli-Regular", sans-serif;
}

/* Encabezado */
header {
    position: relative;
    width: 100%;
    height: 60vw;
    display: flex;
}
#logo {
    width: 40%;
    height: 100%;
    background-color: #9d9d9c;
    position: relative;
}
#view {
    width: 50%;
    position: relative;
    /* Esencial para posicionar el video */
    overflow: hidden;
    /* Evita que el video se desborde */
}
.logoWhastsapp {
    position: absolute;
    width: auto;
    height: 5vh;
    top: 3%;
    right: 5%;
}

.menu {
    position: absolute;
    width: 90%;
    height: 10%;
    top: 1%;
    left: 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    background-color: #111111ed;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #d8d8d8;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #fff;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
.menu div {
    display: flex;
    align-items: center;
    height: 100%;
}
.menu div img {
    width: auto;
    height: 5vh;
}
.menu div p {
    font-size: 1.6vw;
    font-weight: 500;
    margin-left: 15%;
    color: rgba(237, 224, 75, 0.9);
}
.menu > img {
    width: auto;
    height: 5vh;
}
.contenidoL {
    width: 80%;
    height: 70%;
    margin-top: 30%;
    margin-left: 10%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contenidoL h2 {
    width: 80%;
    margin: 0 10%;
    font-size: 2.8vw;
    font-weight: 400;
    color: white;
    line-height: 1.2;
}

/* Contenedor Principal */

main {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

/* Presentación de autos */
.car-presentacion {
    width: 100%;
    height: 75vw;
}
.menuSelec {
    width: 100%;
    height: 20%;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    /* background-color: #ededed; */
}
.menuSelec > div {
    position: relative;
    cursor: pointer;
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
}
.disactive {
    visibility: visible;
}
.active {
    visibility: hidden;
}
.color {
    background-color: #5b92b2;
}
.car1 div,
.car2 div,
.car3 div,
.car4 div,
.car5 div {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}
.menuSelec > div > div {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.menuSelec > div > div h2 {
    color: var(--titulo);
    margin-top: 10%;
}
.car1 div img,
.car2 div img,
.car3 div img,
.car4 div img,
.car5 div img {
    width: auto;
    height: 40%;
}
.carroC {
    position: relative;
    width: 100%;
    height: 84%;
}
.carroC article p {
    font-size: 2.3vw;
    font-weight: 500;
    text-align: center;
    color: rgb(0, 88, 124);
}

#car1,
#car2,
#car3,
#car4,
#car5 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}
.imgC {
    width: 96%;
    height: 88%;
    margin: auto;
}
#carroseria {
    background-image: url(../img/automotriz/Carroceriapc.webp);
    background-size: 100% 100%;

    background-position: center;
}
#zonamotor {
    background-image: url(../img/automotriz/Motorpc.webp);
    background-size: 100% 100%;
    background-position: center;
}
#interior {
    background-image: url(../img/automotriz/Interiorespc.webp);
    background-size: 100% 100%;
    background-position: center;
}
#paneldeinstrumentos {
    background-image: url(../img/automotriz/Tableropc.webp);
    background-size: 100% 100%;
    background-position: center;
}
#areacarga {
    background-image: url(../img/automotriz/Cajuelapc.webp);
    background-size: 100% 100%;
    background-position: center;
}
.visible {
    visibility: visible !important;
}

/* Carrusel interior auto */
.carruselContainer {
    width: 100%;
    height: 32vw;
    align-content: center;
    position: relative;
    overflow-x: hidden;
}
.Cimgs {
    width: 100%;
    height: 80%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.Cimgs div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.Cimgs div img {
    position: absolute;
    width: auto;
    height: 100%;
}
/* Ocultar por defecto en escritorio */
.faq-toggle-btn {
    display: none !important;
}
.slide {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 40%;
    width: 40%;
    margin: 0 5%;
}
.slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.btnC {
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btnC img {
    width: auto;
    height: 50%;
    cursor: pointer;
    cursor: pointer;
}
#BtnCIA {
    margin-left: 2.5%;
}
#BtnCIR {
    margin-right: 2.5%;
}

/* Sección principal */
.caracteristicas {
    width: 100%;
    min-height: 20vw;
    margin: 5vw auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primario);
}

/* Contenedor */
.CNcaracteristicas {
    width: 95%;
    display: flex;
    flex-wrap: wrap;
    gap: 2.3vw;
    justify-content: center;
}

/* Tarjetas */
.CNcaracteristicas > div {
    width: 18%;
    min-width: 200px;
    height: 15vw;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

/* Imágenes */
.CNcaracteristicas img {
    max-height: 60%;
    width: auto;
}

/* Títulos */
.CNcaracteristicas h2 {
    font-size: 1.4vw;
    text-align: center;
    color: white;
}
/* Catalogo */
.catalogoP {
    width: 100%;
    height: auto; /* Cambiado a auto para que el contenido dicte el alto */
    min-height: 35vw;
    position: relative;
    overflow: hidden;
    padding: 2vw 0;
}
.catalogoP h2 {
    text-align: center;
    font-weight: 600;
    height: 10%;
    margin-bottom: 0;
    font-size: 3.4vw;
    color: var(--titulo);
}
.carrousel {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider {
    display: flex;
    width: 100%;
    flex-shrink: 0;
    justify-content: space-around; /* Distribuye las 3 tarjetas */
}
.slider div {
    flex: 0 0 33.333%; /* Ocupa exactamente un tercio */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1vw;
    box-sizing: border-box;
}
.slider div img {
    width: 250px; /* Tamaño fijo sugerido para evitar que vibren */
    height: 200px;
    object-fit: contain;
    margin-bottom: 1vw;
}
.slider div p {
    font-size: 1.4vw;
    margin: 1vw 0;
    color: var(--titulo);
    font-weight: 500;
}
.slider div button {
    min-width: 30%;
    padding: 0 1vw;
    height: 8%;
    cursor: pointer;
    background-color: rgb(237, 224, 74);
    border: none;
    border-radius: 5vw;
    font-size: 1.3vw;
    color: rgb(0, 88, 124);
    font-weight: 500;
}
.btnReturn,
.btnNext {
    position: absolute;
    width: 3vw;
    height: 3vw;
    z-index: 2;
}
.btnReturn img,
.btnNext img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}
.btnReturn {
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
}
.btnNext {
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
}

/* Formulario */
.FormC {
    width: 80%;
    height: 40vw;
    margin: auto;
}
.FormC h2 {
    text-align: center;
    font-size: 3vw;
    color: rgb(0, 88, 124);
    margin-bottom: 3vw;
    margin-top: 1vw;
}

.FormC > div {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 80%;
}
.FormC > div div {
    width: 45%;
}
.FormC > div div form {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.FormC > div div form input {
    width: 100%;
    height: 10%;
    margin-bottom: 1%;
    font-size: 1vw;
}
.FormC > div div form textarea {
    width: 100%;
    height: 55%;
    font-size: 1vw;
    color: black;
}
.FormC > div div p {
    width: 60%;
    font-size: 1.55vw;
    text-align: center;
    margin: auto;
}
.FormC .btnContact {
    width: 60%;
    margin: 5% auto 0 auto;
    height: 30%;
    background-image: url(../img/automotriz/Recurso64.webp);
    background-size: 100% 100%;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.FormC > div div div a {
    font-size: 2vw;
    color: white;
    font-weight: 600;
    margin-top: 10%;
    text-decoration: none;
}

/* Preguntas Frecuentes */
.faqs {
    width: 100%;
    height: 40vw;
    position: relative;
}
.cabecera {
    width: 100%;
    height: 30%;
}
.contenido {
    width: 100%;
    height: 70%;
    background: #faf6d7;
}

.wave {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 30%;
    z-index: -1;
    border-bottom: 0.5vw solid #faf6d7;
}
.wave path {
    width: 100%;
    height: 100%;
}
.cabecera {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cabecera h2 {
    font-size: 3.4vw;
    margin-top: 11%;
    color: rgb(0, 88, 124);
    font-weight: 600;
}
.contenido {
    position: absolute;
    top: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.contenido > div {
    width: 50%;
    height: 80%;
}
.FQ1 > div,
.FQ2 > div {
    width: 95%;
    height: 17%;

    align-items: center;
    padding-left: 5%;
    margin-bottom: 1%;
    cursor: pointer;
}
.FQ1 > div p,
.FQ2 > div p {
    font-size: 1.2vw;
    font-weight: 200;
}

.faq-respuesta-movil {
    display: none;
}

.claro {
    background-color: #f7efb6;
}
.fuerte {
    background-color: #f3e996;
}
#respuesta {
    width: 46%;
    height: auto;
}
.respuesta-flotante {
    position: absolute;
    left: 25%;
    top: 25%;
    transform: translate(-50%, -50%);
    background: white;
    z-index: 2;

    padding: 1% 2%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: 0.35s;
}
.respuesta-flotante.activa {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Nuestros Clientes */
.clientes {
    width: 100%;
    height: auto; /* Cambiado a auto para evitar que las imágenes se corten */
    min-height: 25vw; /* Reserva espacio para evitar CLS */
    margin: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden; /* Oculta lo que sale del área visible */
}

.clientes h2 {
    font-size: 3.4vw;
    color: rgb(0, 88, 124);
    font-weight: 600;
    margin-bottom: 2vw;
}

/* El "riel" que se mueve */
.CarruselClientes {
    display: flex;
    width: 100%; /* El ancho se controla por los hijos */
    transition: transform 0.5s ease-in-out;
    will-change: transform; /* Optimización de rendimiento */
}

/* Configuración de las tarjetas (Escritorio: ver 3) */
.slideC {
    flex: 0 0 33.333%; /* Ocupa exactamente un tercio del contenedor */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1vw;
    box-sizing: border-box; /* Para que el padding no rompa el cálculo */
}

.slideC img {
    width: 80%;
    height: 120px; /* Altura fija para consistencia visual y CLS */
    object-fit: contain;
    filter: grayscale(100%); /* Opcional: estilo elegante */
    transition: filter 0.3s;
}

.slideC img:hover {
    filter: grayscale(0%);
}

/* Footer */
footer {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5vw;
    background: var(--amarillo-claro);
}

.ContendFot {
    width: 72%;

    display: flex;
    flex-wrap: wrap;
    margin: 2vw auto;
}
.ContendFot > div {
    height: auto;
    width: 50%;
    border: none; /* ❌ quita el borde */
}
.copy {
    width: 100%;
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--amarillo);
    padding: 10px 0; /* Agrega espacio para que el texto no toque los bordes */
}
.copy span {
    font-size: 1vw;
}
.datos {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}
.datos div {
    width: 95%;
    display: flex;
    flex-direction: column;
    margin-bottom: 2vw;
}
.datos div span {
    font-size: 0.95vw;
}
.datos div button {
    width: 100%;
    margin-bottom: 1vw;
    min-height: 3vw;
    background: none;
    border: 0.2vw solid black;
}
.datos div button:hover {
    background-color: var(--amarillo);
    color: white;
    transition: 0.3s;
}
.btnsF {
    margin-top: 2vw;
}

.ubicacion {
    height: 100%;
}
.ubicacion iframe {
    width: 90%;
    height: 88%;
    margin: 0px 18%;
}

/* Responsive */
@media (max-width: 768px) {
    /* Ajustes para auto letras */

    /* Ajustes para el header */

    header {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    #logo {
        width: 100%;
        min-height: 78vw;
    }

    .menu {
        top: 3%;
        height: auto;
    }

    .menu div p {
        font-size: clamp(12px, 3.4vw, 16px);
    }
    .sidenav {
        padding-top: 15px;
    }
    .sidenav a {
        font-size: 18px;
    }
    .contenidoL {
        width: 88%;
        display: flex;
        align-items: center;
        margin: 16vw auto 8vw auto;
    }

    .contenidoL img {
        width: 50%;
    }

    .contenidoL h2 {
        width: 100%;
        margin: 0;
        padding-top: 3vh;
        font-size: clamp(22px, 6.8vw, 32px);
        text-align: center;
    }

    .menuSelec {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: center;
        align-items: center;
        height: 67vw;
        padding: 1px 0;
    }

    .menuSelec > div {
        flex-direction: column;
        gap: 8px;
        align-items:  ;
        width: 100%;
        box-sizing: border-box;
    }
    .menuSelec > div > div {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .menuSelec > div > div > img {
        display: flex;
        height: 50%;
        width: auto;
    }
    .menuSelec > div > div > h2 {
        font-size: clamp(1px, 3vw, 16px);
        margin-top: 8px;
    }

    #carroseria {
        background-image: url(../img/automotriz/CarroceriMobile.webp);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
    #zonamotor {
        background-image: url(../img/automotriz/MotorMobile.webp);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
    #interior {
        background-image: url(../img/automotriz/InterioresMobile.webp);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
    #paneldeinstrumentos {
        background-image: url(../img/automotriz/TableroMobile.webp);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
    #areacarga {
        background-image: url(../img/automotriz/CajuelaMobile.webp);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .car-presentacion {
        width: 100%;
        height: 150vw;
    }

    .carroC {
        height: 65%;
    }

    .carroC article p {
        width: 92%;
        margin: 1.5vw auto 0 auto;
        font-size: clamp(14px, 3.8vw, 18px);
        line-height: 1.35;
    }

    .imgC {
        width: 95% !important;

        margin: auto;
    }

    #car1,
    #car2,
    #car3,
    #car4,
    #car5 {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        visibility: hidden;
    }
    .carruselContainer {
        width: 100%;
        height: 76vw;
        position: relative;
        overflow-x: hidden;
    }

    .slide {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 84%;
        width: 84%;
        margin: 0 8%;
    }

    #view {
        width: 100%;
        height: 62vw;
    }

    .FormC {
        width: 92%;
        height: auto;
        padding: 0 4%;
        display: block;
        margin: auto;
    }

    .FormC h2,
    .catalogoP h2,
    .cabecera h2,
    .clientes h2 {
        font-size: clamp(24px, 6.2vw, 34px);
    }

    .FormC > div {
        flex-direction: column;
        gap: 18px;
        height: auto;
    }

    .FormC > div div {
        width: 100%;
    }

    .FormC > div div form input {
        min-height: 40px;
        margin-bottom: 10px;
        padding: 0 1px;
        font-size: 14px;
    }

    .FormC > div div form textarea {
        min-height: 120px;

        font-size: 14px;
    }

    .FormC > div div p {
        width: 88%;
        font-size: 16px;
        line-height: 1.35;
    }
    .clientes {
        margin: 10vw auto;
    }
    .CarruselClientes {
        display: flex;
        width: 100%; /* Debe ser 100% para que el desplazamiento funcione */
        justify-content: flex-start; /* Alineado al inicio para el transform */
        height: auto;
    }
    .CNcaracteristicas {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: auto;
        gap: 10px;
        padding: 0 10px;
    }

    .CNcaracteristicas > div {
        min-width: 90px;
        height: 24vw;
        padding: 8px;
    }

    .CNcaracteristicas img {
        height: 55px;
    }

    .CNcaracteristicas h2 {
        font-size: 11px;
    }

    .faqs {
        height: auto;
        width: 90%;
        margin: 4vw;
    }

    .cabecera,
    .contenido {
        position: relative;
        height: auto;
    }

    .cabecera {
        padding: 14px 0;
    }

    .cabecera h2 {
        margin-top: 0;
    }

    .contenido {
        flex-direction: column;
        gap: 2rem;
    }

    .contenido > div {
        width: 94%;
        height: auto;
    }

    .FQ1 > div,
    .FQ2 > div {
        position: relative;

        width: 90%;
        min-height: 52px;
        margin-bottom: 8px;
        padding: 10px 42px 10px 12px;
        position: relative;
        border-radius: 10px;
        transition: background-color 0.2s ease;
    }

    .FQ1 > div p,
    .FQ2 > div p {
        font-size: 14px;
        line-height: 1.35;
    }

    .FQ1 > div::after,
    .FQ2 > div::after {
        content: "+";
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        line-height: 1;
        color: rgb(0, 88, 124);
    }

    .FQ1 > div.faq-abierta,
    .FQ2 > div.faq-abierta {
        background-color: #eadf8a;
    }

    .FQ1 > div.faq-abierta::after,
    .FQ2 > div.faq-abierta::after {
        content: "-";
    }
    .faq-respuesta-movil {
        display: none;
    }
    .faq-respuesta-movil p {
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
        color: #2d2d2d;
    }

    .faq-respuesta-movil.activa {
        display: block;
    }

    .faq-pregunta-oculta,
    .faq-panel-oculto {
        display: none !important;
    }

    .faq-lista-expandida .faq-pregunta-oculta {
        display: flex !important;
    }

    .faq-lista-expandida .faq-panel-oculto.activa {
        display: block !important;
    }

    .faq-toggle-btn {
        display: block !important;
        width: 94%;
        min-height: 44px;
        border: 1px solid rgb(0, 88, 124);
        border-radius: 999px;
        background: #fffdf0;
        color: rgb(0, 88, 124);
        font-size: 14px;
        font-weight: 600;
        margin: 15px auto;
        cursor: pointer;
    }

    #respuesta {
        display: none;
        width: 94%;
    }

    .clientes h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .slideC {
        flex: 1 0 100%; /* Ocupa todo el ancho, se ve de 1 en 1 */
    }

    .slideC img {
        height: 100px;
        width: 70%;
    }
    /* Footer mobile*/
    footer {
        height: auto;
        width: 100%;
        margin: auto;
    }

    .ContendFot {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .ContendFot > div {
        width: 90%; /* Cada sección ocupa todo el ancho */
        margin: 9px;
        flex: 1 1 280px;
        height: auto;
        border-radius: 8px;
        background-color: var(--amarillo);
    }

    .datos div {
        width: 90%;
        margin: auto;
        display: flex;
        flex-direction: column;
    }

    .datos div span {
        font-size: 13px;
        line-height: 1.35;
    }

    .datos div button {
        min-height: 38px;
        border-width: 1px;
    }

    .ubicacion iframe {
        width: 100% !important; /* El mapa se expande al ancho del teléfono */
        height: 300px;
        border-radius: 8px;
        margin: 0; /* Opcional: le da un toque más moderno */
    }

    .copy {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0;
    }

    .copy span {
        font-size: 12px;
    }

    .FormC > div div div a {
        font-size: 4vw;
    }
    .faq-respuesta-movil {
        position: absolute;
    }

    /* Catalogo */

    .tarjeta {
        flex: 0 0 100%;
    }
    .catalogoP {
        height: auto;
        padding: 10vw 0;

        width: 80%;
        margin: auto auto 10% auto; /* Más espacio para los botones en móvil */
    }

    .catalogoP h2 {
        font-size: 7vw; /* Título más grande y legible */
        margin-bottom: 5vw;
    }

    /* Ajustamos el slider para que cada tarjeta sea única en pantalla */
    .slider {
        justify-content: flex-start !important; /* Forza el inicio a la izquierda */
        flex-wrap: nowrap; /* Evita que las tarjetas se bajen */
    }

    .slider .tarjeta {
        flex: 0 0 100%; /* Cada tarjeta ocupa exactamente el total */
        width: 100%;
        padding: 0; /* Limpia paddings que puedan mover la tarjeta */
        margin: 0;
    }

    .slider div img {
        width: 70%; /* Imagen más grande en móvil */
        height: auto;
        max-height: 50vw;
    }

    .slider div p {
        font-size: 5vw; /* Texto de producto legible */
        margin: 4vw 0;
    }

    .slider div button {
        width: 60%;
        height: 12vw;
        font-size: 4.5vw;
        min-width: 20%;
        padding: 0 3vw;
    }

    /* Ajuste de botones de navegación para pulgares */
    .btnReturn,
    .btnNext {
        width: 10vw;
        height: 10vw;
        top: 50%;
    }
}
.carac {
    max-width: 1100px;
    margin: 4vw auto;
    font-family: "Poppins", sans-serif;
}

.seccion-titulo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primario);
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}

.contenedor-info-extra {
    width: 100%;
}

/* ── Botones ── */
.btn-ver-mas,
.btn-ver-menos {
    background: transparent;
    border: 1.5px solid var(--color-primario);
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 1.5vw;
    font-weight: 600;
    color: var(--titulo);
    cursor: pointer;
    display: block;
    margin: 0 auto;
    align-items: center;
    gap: 7px;
    transition:
        background 0.15s,
        color 0.15s;
    letter-spacing: 0.02em;
}

.btn-ver-mas:hover,
.btn-ver-menos:hover {
    background: var(--amarillo);
    color: var(--color-main);
}

.btn-ver-mas:active,
.btn-ver-menos:active {
    transform: scale(0.98);
}

.btn-ver-menos {
    margin-top: 1rem;
}

/* ── Contenedor con animación ── */
.tabla-oculta {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
        max-height 0.45s ease,
        opacity 0.3s ease,
        margin 0.3s ease;
    margin-top: 0;
}

.tabla-oculta.abierta {
    max-height: 2400px;
    opacity: 1;
    margin-top: 1.25rem;
}

/* ── Tabla ── */
.tabla-estilizada {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 13.5px;
    background: var(--color-main);
    border: 1px solid var(--color-primario);
    border-radius: 8px;
    overflow: hidden;
}

.tabla-estilizada thead tr {
    background: var(--color-main);
}

.tabla-estilizada th {
    padding: 11px 13px;
    text-align: left;
    font-weight: 700;
    font-size: 12.5px;
    color: var(--color-primario);
    border-bottom: 1.5px solid var(--color-primario);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tabla-estilizada td {
    padding: 11px 13px;
    vertical-align: top;
    border-bottom: 0.5px solid var(--color-primario);
    color: var(--color-primario);
    line-height: 1.55;
    transition: background-color 0.4s ease;
}

.tabla-estilizada tbody tr:last-child td {
    border-bottom: none;
}

.tabla-estilizada tbody tr:hover td {
    background: var(--amarillo-claro);
}

/* Esta es la nueva clase para el clic, aplicando el fondo exactamente igual a los 'td' */
.tabla-estilizada tbody tr.fila-activa td {
    background: var(--amarillo-claro);

    /* Opcional: Puedes agregar un borde o sombra si quieres que destaque un poco más que el hover normal */
    /* border-bottom: 2px solid var(--color-primario); */
}

/* Anchos de columna */
.tabla-estilizada th:nth-child(1),
.tabla-estilizada td:nth-child(1) {
    width: 17%;
}

.tabla-estilizada th:nth-child(2),
.tabla-estilizada td:nth-child(2) {
    width: 25%;
}

.tabla-estilizada th:nth-child(3),
.tabla-estilizada td:nth-child(3) {
    width: 27%;
}

.tabla-estilizada th:nth-child(4),
.tabla-estilizada td:nth-child(4) {
    width: 18%;
}

.tabla-estilizada th:nth-child(5),
.tabla-estilizada td:nth-child(5) {
    width: 18%;
}

.mat {
    font-weight: 700;
    color: var(--color-primario);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.chip {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 5px;
    font-size: 11.5px;
    font-weight: 600;
    background: rgba(224, 200, 74, 0.18);
    color: var(--color-primario);
    border: 0.5px solid rgba(224, 200, 74, 0.4);
    margin-bottom: 3px;
}

.chip-nota {
    display: block;
    font-size: 11.5px;
    color: var(--color-primario);
    margin-top: 2px;
    line-height: 1.4;
}

.pie-tabla {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .carac {
        margin: 16vw auto;
    }

    .tabla-estilizada {
        font-size: 1.5vw;
        width: 96%;
        margin: 0 auto;
    }

    .tabla-estilizada th,
    .tabla-estilizada td {
        font-size: 1.5vw;
    }

    .chip-nota {
        font-size: 1.5vw;
    }

    .chip {
        font-size: 1.4vw;
    }

    .btn-ver-mas,
    .btn-ver-menos {
        font-size: 4vw;
    }
}

#logo {
    width: 50%;
    height: 100%;
    background-color: #9d9d9c;
    position: relative;
}

#view {
    width: 50%;
    position: relative;
    /* Esencial para posicionar el video */
    overflow: hidden;
    /* Evita que el video se desborde */
}

/* Nuevos estilos para el video de fondo */
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50vw;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;

    /* Se queda al fondo */
}

/* Asegura que el botón de WhatsApp quede al frente y sea clickable */
.view-content {
    position: relative;
    z-index: 2;
    /* Mayor que el del video */
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    #view {
        width: 100%;
        height: 70%;
    }

    #logo {
        width: 100%;
        height: 30%;
    }

    header {
        height: 216vw;
    }

    .video-background {
        width: 100vw;
    }

    .pc {
        display: none;
    }
}

.button-enviar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: clamp(6rem, 5vh, 3.5rem);
    width: 100%;
    max-width: 12rem;
    padding: 0 1.5rem;
    margin-top: 1.5rem;
    /* Mejor rem que % para márgenes verticales predecibles */

    background: transparent;
    color: rgb(0, 81, 141);
    font-family: "Verdana", sans-serif;
    font-size: 1rem;
    font-weight: 600;

    border: 2px solid rgb(0, 81, 141);

    outline: none;
    cursor: pointer;

    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .button-enviar {
        font-size: 0.9rem;
        max-height: 3rem;
    }
}

.button-enviar:hover {
    background-color: rgb(222, 191, 0);
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: ease-in;
    box-shadow:
        1px 1px rgb(0, 81, 141),
        2px 2px rgb(0, 81, 141),
        3px 3px rgb(0, 81, 141);
    -webkit-transform: translateX(-3px);
    transform: translateX(-3px);
}

.imgC {
    position: relative;
    /* ¡CRUCIAL! Esto atrapa a los botones flotantes dentro del div */
}

/* Los botones flotantes transparentes */
.hotspot {
    position: absolute;
    /* Flotan libremente dentro de .imgC */
    width: 17%;
    /* Usar porcentajes aquí también ayuda a que el botón crezca/encoja con la pantalla */
    aspect-ratio: 1 / 1;
    /* Mantiene el botón perfectamente cuadrado/circular */
    background-color: transparent;
    /* Transparente para producción */

    cursor: pointer;
    z-index: 10;

    /* Centra la coordenada top/left en medio del botón */
    transform: translate(-50%, -50%);
}

@media (min-width: 769px) {
    .mobile {
        display: none;
    }
}
