/* ---------- VARIABLES Y RESETEO ---------- */

:root{
    --rojo: #c40010;
    --rojo-fuerte: #a8000d;
    --rojo-vivo: #ff0202;

    --negro: #111111;
    --gris-oscuro: #333333;
    --gris-texto: #555555;
    --gris-borde: #d7d7d7;
    --gris-claro: #f3f3f3;
    --gris-fondo: #ececeb;
    --blanco: #ffffff;

    --radio-sm: 8px;
    --radio-md: 14px;
    --radio-lg: 20px;

    --sombra-suave: 0 4px 12px rgba(0, 0, 0, .12);
    --sombra-media: 0 10px 28px rgba(0, 0, 0, .16);
    --sombra-modal: 0 24px 70px rgba(0, 0, 0, .35);
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    overflow-x: hidden;

    background: var(--blanco);
    color: var(--negro);
    font-family: Arial, Helvetica, sans-serif;
}

img{
    display: block;
    max-width: 100%;
}

button,
input{
    font: inherit;
}

a{
    color: inherit;
    text-decoration: none;
}

/* ---------- HEADER ---------- */

.header-principal{
    position: sticky;
    z-index: 1000;
    top: 0;

    width: 100%;
    min-height: 104px;
    padding: 8px clamp(20px, 4vw, 64px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    background: var(--blanco);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
}

.logo{
    flex-shrink: 0;
}

.logo img{
    width: clamp(125px, 11vw, 190px);
    height: auto;
}

nav{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.5vw, 34px);
}

nav a{
    position: relative;

    color: var(--negro);
    font-size: 1.08rem;
    font-weight: 700;

    transition: color .2s ease, transform .2s ease;
}

nav a:hover{
    color: var(--rojo);
    transform: translateY(-1px);
}

.activo{
    color: var(--rojo);
    border-bottom: 2px solid var(--rojo);
    padding-bottom: 5px;
}

.boton-whatsapp{
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 11px 20px;

    color: var(--blanco);
    background: var(--rojo-vivo);
    border-radius: 10px 20px;
    font-weight: 700;

    transition: transform .2s ease, background .2s ease;
}

.boton-whatsapp:hover{
    background: var(--rojo);
    transform: scale(1.04);
}

.boton-whatsapp svg{
    width: 20px;
    height: 20px;
}

/* ---------- HERO ---------- */

.hero{
    position: relative;
    isolation: isolate;

    min-height: min(68vh, 700px);
    padding: 72px 24px;

    display: grid;
    place-items: center;

    background-image: url("img/Fondo/fondo6.png");
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid var(--negro);
}

.hero::before{
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;

    background: rgba(0, 0, 0, .44);
}

.hero-contenido{
    width: min(100%, 760px);

    display: flex;
    flex-direction: column;
    align-items: center;

    color: var(--blanco);
    text-align: center;
}

.hero-contenido h1{
    max-width: 720px;
    margin-bottom: 24px;

    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.12;
    text-wrap: balance;
}

.hero-contenido p{
    max-width: 680px;
    margin-bottom: 24px;

    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.55;
}

.hero-botones{
    margin-top: 12px;

    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.boton-principal,
.boton-secundario{
    min-width: 150px;
    min-height: 46px;
    padding: 11px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    font-weight: 700;

    transition: transform .2s ease, background .2s ease;
}

.boton-principal{
    color: var(--blanco);
    background: var(--rojo);
}

.boton-principal:hover{
    background: var(--rojo-fuerte);
    transform: scale(1.04);
}

.boton-secundario{
    color: var(--blanco);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--blanco);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, .15);
}

.boton-secundario:hover{
    background: rgba(255, 255, 255, .15);
    transform: scale(1.04);
}

/* ---------- BENEFICIOS ---------- */

.beneficios{
    padding: 48px clamp(20px, 5vw, 80px);

    display: grid;
    grid-template-columns: repeat(4, minmax(170px, 260px));
    justify-content: center;
    gap: clamp(16px, 3vw, 36px);

    color: var(--blanco);
    background: var(--gris-oscuro);
    border-top: 1px solid var(--negro);
}

.beneficio{
    min-width: 0;
    padding: 20px 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;

    text-align: center;
}

.beneficio svg{
    width: 34px;
    height: 34px;
    margin-bottom: 5px;
    padding: 4px;

    color: var(--rojo-vivo);
    border: 2px solid var(--rojo-vivo);
    border-radius: 10px;
}

.beneficio h3{
    font-size: 1.08rem;
}

.beneficio p{
    color: #e7e7e7;
    font-size: .94rem;
    line-height: 1.45;
}

/* ---------- NOSOTROS ---------- */

.nosotros{
    padding: 80px clamp(28px, 6vw, 100px);

    display: grid;
    grid-template-columns: minmax(360px, 600px) minmax(440px, 760px);
    align-items: center;
    justify-content: center;
    gap: clamp(38px, 5vw, 76px);

    background: rgb(204, 203, 202);
    border-top: 1px solid var(--negro);
}

.nosotros-contenido{
    width: 100%;
    max-width: 600px;
    padding: 28px 30px;

    background: #f9f9f9;
    border: 2px solid var(--negro);
    border-left: 10px solid var(--rojo-vivo);
}

.nosotros-contenido h2{
    margin-bottom: 22px;

    color: var(--gris-oscuro);
    font-size: clamp(2rem, 2.5vw, 2.4rem);
}

.nosotros-contenido p{
    margin-bottom: 20px;

    color: var(--gris-texto);
    font-size: 1rem;
    line-height: 1.75;
}

.nosotros-contenido p:last-child{
    margin-bottom: 0;
}

.nosotros-imagen{
    min-width: 0;
}

.carrusel-nosotros{
    position: relative;

    width: 100%;
    max-width: 760px;
    height: clamp(390px, 34vw, 560px);

    overflow: hidden;

    border-radius: var(--radio-lg);
    box-shadow: var(--sombra-media);
}

.slide-nosotros{
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    opacity: 0;

    transition: opacity .5s ease;
}

.slide-nosotros.activo-slide{
    opacity: 1;
}

/* ---------- FILOSOFÍA ---------- */

.filosofia{
    padding: 10px clamp(28px, 6vw, 100px) 72px;

    background: rgb(204, 203, 202);
    border-bottom: 1px solid var(--negro);
}

.filosofia > h2,
.filosofia h2{
    max-width: 1280px;
    margin: 0 auto 28px;

    color: var(--gris-oscuro);
    font-size: clamp(2rem, 2.5vw, 2.4rem);
}

.filosofia-contenido{
    width: min(100%, 1280px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.filosofia-card{
    min-width: 0;
    padding: 24px 22px;

    background: #f9f9f9;
    border: 1px solid var(--negro);
    border-left: 10px solid var(--rojo-vivo);

    transition: transform .2s ease, box-shadow .2s ease;
}

.filosofia-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--sombra-suave);
}

.filosofia-card h3,
.filosofia-contenido h3{
    margin-bottom: 18px;

    color: var(--gris-oscuro);
    font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.filosofia-card p{
    color: var(--gris-texto);
    line-height: 1.55;
}

/* ---------- CONTACTO ---------- */

.contacto{
    padding: 64px clamp(28px, 5vw, 80px);

    display: grid;
    grid-template-columns: minmax(300px, .85fr) minmax(460px, 1.45fr);
    align-items: stretch;
    gap: 40px;

    background: var(--blanco);
}

.contactoinfo{
    min-width: 0;
    padding: 32px 28px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;

    background: #f9f9f9;
    border: 2px solid var(--negro);
    border-left: 10px solid var(--rojo-vivo);
}

.contactoinfo h2{
    margin-bottom: 8px;

    color: var(--gris-oscuro);
    font-size: clamp(2rem, 2.5vw, 2.4rem);
}

.contactoinfo > p{
    margin-bottom: 12px;

    color: var(--gris-oscuro);
    font-size: 1.02rem;
    line-height: 1.5;
}

.contacto-item{
    display: flex;
    align-items: center;
    gap: 10px;

    transition: transform .2s ease;
}

.contacto-item:hover{
    transform: translateX(3px);
}

.contacto-item a{
    overflow-wrap: anywhere;
}

.contacto-redes{
    margin-top: 8px;

    display: flex;
    align-items: center;
    gap: 15px;
}

.contacto-redes img{
    width: 38px;
    height: 38px;

    object-fit: contain;

    transition: transform .2s ease;
}

.contacto-redes img:hover{
    transform: scale(1.08);
}

.mapa{
    min-width: 0;
}

.mapa iframe{
    width: 100%;
    height: 460px;

    border: 0;
    box-shadow: var(--sombra-suave);

    transition: transform .2s ease;
}

.mapa iframe:hover{
    transform: scale(1.01);
}

.ubicacion-mobile{
    display: none;
}

/* ---------- FOOTER ---------- */

.footer{
    padding: 18px 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    color: var(--blanco);
    background: var(--gris-oscuro);
    text-align: center;
}

.derechos,
.yo{
    font-size: 12px;
}

.yo a{
    color: var(--blanco);
    font-weight: 700;
}

.yo a:hover{
    color: #ff6c78;
}

/* =========================================================
   MODAL DE PRODUCTOS
   ========================================================= */

.productos-ocultos{
    position: fixed;
    z-index: 3000;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 32px;

    background: rgba(0, 0, 0, .66);
}

.productos-ocultos.abierto{
    display: flex;
}

.modal{
    width: min(94vw, 1400px);
    height: min(90dvh, 900px);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #f7f7f7;
    border-radius: 22px;
    box-shadow: var(--sombra-modal);
}

.encabezado{
    flex-shrink: 0;

    padding: 24px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    background: var(--blanco);
    border-top: 6px solid var(--rojo-vivo);
    border-bottom: 1px solid var(--gris-borde);
}

.titulo-modal{
    min-width: 0;
}

.titulo-modal h2{
    margin-bottom: 8px;

    display: flex;
    align-items: center;
    gap: 12px;

    color: #1f1f1f;
    font-size: 30px;
    line-height: 1.1;
}

.titulo-modal h2::before{
    content: "";

    width: 6px;
    height: 32px;
    flex-shrink: 0;

    background: var(--rojo);
    border-radius: 4px;
}

.titulo-modal p{
    color: var(--gris-texto);
    font-size: 16px;
    line-height: 1.35;
}

.cerrar{
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: var(--negro);
    background: #f5f5f5;
    border: 1px solid #cccccc;
    border-radius: var(--radio-sm);
    cursor: pointer;

    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.cerrar:hover{
    color: var(--blanco);
    background: var(--rojo);
    border-color: var(--rojo);
}

.cerrar svg{
    width: 24px;
    height: 24px;
}

.contenido{
    flex: 1;
    min-height: 0;

    padding: 24px;

    display: flex;
    gap: 22px;

    overflow: hidden;

    background: #eeeeee;
}

.filtro{
    width: 260px;
    flex: 0 0 260px;

    padding: 20px;

    display: flex;
    flex-direction: column;
    gap: 18px;

    overflow-y: auto;

    background: var(--gris-claro);
    border-radius: var(--radio-md);
}

.filtro h3{
    color: var(--gris-oscuro);
    font-size: 20px;
}

.filtro input{
    width: 100%;
    padding: 11px 12px;

    color: var(--negro);
    background: var(--blanco);
    border: 1px solid #c7c7c7;
    border-radius: var(--radio-sm);
    outline: none;
}

.filtro input:focus{
    border-color: var(--rojo);
    box-shadow: 0 0 0 3px rgba(196, 0, 16, .10);
}

.grupo-filtro{
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.grupo-filtro h4{
    color: var(--gris-oscuro);
    font-size: 15px;
}

.filtro-btn{
    padding: 10px 12px;

    color: var(--gris-oscuro);
    background: var(--blanco);
    border: 0;
    border-radius: var(--radio-sm);
    cursor: pointer;
    font-weight: 700;

    transition: color .2s ease, background .2s ease;
}

.filtro-btn:hover,
.activo-filtro{
    color: var(--blanco);
    background: var(--rojo);
}

.limpiar-filtros{
    padding: 11px 12px;

    color: var(--blanco);
    background: var(--gris-oscuro);
    border: 0;
    border-radius: var(--radio-sm);
    cursor: pointer;
    font-weight: 700;

    transition: background .2s ease;
}

.limpiar-filtros:hover{
    background: var(--rojo);
}

.productos{
    flex: 1;
    min-width: 0;
    min-height: 0;

    padding: 4px 8px 20px 4px;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 240px));
    align-content: start;
    justify-content: center;
    gap: 22px;

    overflow-x: hidden;
    overflow-y: auto;
}

.productos-card{
    width: 100%;
    min-width: 0;
    min-height: 350px;
    padding: 17px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;

    background: var(--blanco);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);

    transition: transform .2s ease, box-shadow .2s ease;
}

.productos-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.productos-card img{
    width: 100%;
    height: 150px;
    padding: 10px;

    object-fit: contain;

    background: #f4f4f4;
    border-radius: 14px;
}

.productos-card > p,
.nombre-producto{
    min-height: 40px;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #222222;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.descripcion-producto{
    min-height: 50px;

    color: var(--gris-texto);
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.boton-producto{
    margin-top: auto;
    padding: 10px 20px;

    color: var(--blanco);
    background: var(--rojo);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;

    transition: transform .2s ease, background .2s ease;
}

.boton-producto:hover{
    background: var(--rojo-fuerte);
    transform: scale(1.04);
}

.sin-resultados{
    display: none;
    grid-column: 1 / -1;

    padding: 48px 20px;

    color: var(--gris-texto);
    font-weight: 700;
    text-align: center;
}

/* =========================================================
   NOTEBOOK / PANTALLAS MEDIANAS
   ========================================================= */

@media (min-width: 901px) and (max-width: 1366px){

    .header-principal{
        min-height: 86px;
        padding: 7px 28px;
        gap: 20px;
    }

    .logo img{
        width: 112px;
    }

    nav{
        gap: 20px;
    }

    nav a{
        font-size: .98rem;
    }

    .boton-whatsapp{
        padding: 9px 15px;
        font-size: .92rem;
    }

    .hero{
        min-height: 520px;
        padding: 58px 34px;
    }

    .hero-contenido{
        width: min(100%, 610px);
    }

    .hero-contenido h1{
        font-size: 2.45rem;
    }

    .beneficios{
        padding: 40px 30px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .beneficio{
        padding: 18px 10px;
    }

    .nosotros{
        padding: 58px 36px;
        grid-template-columns: minmax(0, 520px) minmax(0, 580px);
        gap: 34px;
    }

    .nosotros-contenido{
        padding: 24px;
    }

    .nosotros-contenido h2{
        font-size: 1.9rem;
    }

    .nosotros-contenido p{
        font-size: .96rem;
        line-height: 1.6;
    }

    .carrusel-nosotros{
        height: 370px;
    }

    .filosofia{
        padding: 4px 36px 58px;
    }

    .filosofia-contenido{
        gap: 18px;
    }

    .filosofia-card{
        padding: 20px 18px;
    }

    .contacto{
        padding: 52px 36px;
        grid-template-columns: minmax(290px, .85fr) minmax(420px, 1.35fr);
        gap: 30px;
    }

    .contactoinfo{
        padding: 26px 22px;
    }

    .mapa iframe{
        height: 380px;
    }

    .modal{
        width: 96vw;
        height: 91dvh;
    }

    .encabezado{
        padding: 18px 22px;
    }

    .titulo-modal h2{
        font-size: 26px;
    }

    .titulo-modal p{
        font-size: 14px;
    }

    .contenido{
        padding: 18px;
        gap: 18px;
    }

    .filtro{
        width: 220px;
        flex-basis: 220px;
        padding: 16px;
    }

    .productos{
        grid-template-columns: repeat(auto-fill, minmax(190px, 220px));
        gap: 18px;
    }

    .productos-card{
        min-height: 320px;
        padding: 15px;
    }

    .productos-card img{
        height: 130px;
    }

    .productos-card > p,
    .nombre-producto{
        font-size: 16px;
    }

    .descripcion-producto{
        min-height: 44px;
        font-size: 13px;
    }
}

/* =========================================================
   CELULAR / TABLET
   ========================================================= */

@media (max-width: 900px){

    .header-principal{
        position: static;
        min-height: auto;
        padding: 14px 18px;

        flex-direction: column;
        gap: 14px;
    }

    .logo img{
        width: 150px;
    }

    nav{
        width: 100%;
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    nav a{
        font-size: 1rem;
    }

    .boton-whatsapp{
        width: min(100%, 210px);
        margin: 0;
    }

    .hero{
        min-height: 560px;
        padding: 62px 20px;
    }

    .hero-contenido h1{
        font-size: clamp(2rem, 8vw, 2.65rem);
    }

    .hero-contenido p{
        font-size: 1rem;
    }

    .hero-botones{
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .boton-principal,
    .boton-secundario{
        width: min(100%, 280px);
    }

    .beneficios{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 38px 20px;
        gap: 18px;
    }

    .nosotros{
        padding: 52px 20px;

        grid-template-columns: 1fr;
        gap: 28px;
    }

    .nosotros-contenido{
        max-width: 680px;
        margin: 0 auto;
        padding: 24px 22px;
    }

    .nosotros-contenido h2{
        font-size: 2rem;
    }

    .carrusel-nosotros{
        display: none;
    }

    .nosotros-imagen{
        display: none;
    }

    .filosofia{
        padding: 0 20px 52px;
    }

    .filosofia > h2,
    .filosofia h2{
        margin-bottom: 22px;
        font-size: 2rem;
    }

    .filosofia-contenido{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .filosofia-card{
        width: 100%;
        padding: 22px 20px;
    }

    .contacto{
        padding: 48px 20px;

        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contactoinfo{
        width: min(100%, 620px);
        margin: 0 auto;
        padding: 26px 22px;
    }

    .contactoinfo h2{
        font-size: 2rem;
    }

    .contacto-redes{
        justify-content: flex-start;
    }

    .mapa{
        display: none;
    }

    .ubicacion-mobile{
        display: inline-flex;
    }

    .footer{
        padding: 18px 16px;
    }

    /* MODAL MOBILE */

    .productos-ocultos{
        padding: 0;
        overflow: hidden;
    }

    .modal{
        width: 100%;
        height: 100dvh;
        border-radius: 0;
    }

    .encabezado{
        padding: 18px 18px;
        gap: 14px;
    }

    .titulo-modal h2{
        font-size: 27px;
    }

    .titulo-modal h2::before{
        height: 30px;
    }

    .titulo-modal p{
        font-size: 14px;
    }

    .cerrar{
        width: 40px;
        height: 40px;
    }

    .contenido{
        padding: 14px;

        flex-direction: column;
        gap: 14px;

        overflow-y: auto;
        overflow-x: hidden;
    }

    .filtro{
        width: 100%;
        flex: 0 0 auto;
        padding: 14px;

        overflow: visible;
    }

    .filtro h3{
        font-size: 17px;
    }

    .productos{
        width: 100%;
        min-height: auto;
        padding: 2px 2px 22px;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 12px;

        overflow: visible;
    }

    .productos-card{
        width: 100%;
        min-height: 300px;
        padding: 13px;
        gap: 11px;
    }

    .productos-card img{
        height: 120px;
        padding: 7px;
    }

    .productos-card > p,
    .nombre-producto{
        min-height: 35px;
        font-size: 15px;
    }

    .descripcion-producto{
        min-height: 42px;
        font-size: 12.5px;
    }

    .boton-producto{
        padding: 9px 14px;
        font-size: 13px;
    }
}

/* ---------- CELULARES CHICOS ---------- */

@media (max-width: 560px){

    .header-principal{
        padding-inline: 14px;
    }

    nav{
        gap: 12px 16px;
    }

    nav a{
        font-size: .94rem;
    }

    .hero{
        min-height: 520px;
        padding: 52px 16px;
    }

    .beneficios{
        grid-template-columns: 1fr;
    }

    .nosotros,
    .contacto{
        padding-inline: 14px;
    }

    .filosofia{
        padding-inline: 14px;
    }

    .encabezado{
        padding: 16px 14px;
    }

    .titulo-modal h2{
        font-size: 25px;
    }

    .titulo-modal p{
        max-width: 260px;
        font-size: 13px;
    }

    .contenido{
        padding: 12px;
    }

    .productos{
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .productos-card{
        width: min(100%, 330px);
        min-height: 310px;
    }

    .productos-card img{
        height: 145px;
    }
}

Biblioteca
/
style_reemplazo_completo.css
/* =========================================================
   MAS HIDRÁULICA — STYLE.CSS LIMPIO
   Reemplaza por completo el style.css anterior.
   ========================================================= */

/* ---------- VARIABLES Y RESETEO ---------- */

:root{
    --rojo: #c40010;
    --rojo-fuerte: #a8000d;
    --rojo-vivo: #ff0202;

    --negro: #111111;
    --gris-oscuro: #333333;
    --gris-texto: #555555;
    --gris-borde: #d7d7d7;
    --gris-claro: #f3f3f3;
    --gris-fondo: #ececeb;
    --blanco: #ffffff;

    --radio-sm: 8px;
    --radio-md: 14px;
    --radio-lg: 20px;

    --sombra-suave: 0 4px 12px rgba(0, 0, 0, .12);
    --sombra-media: 0 10px 28px rgba(0, 0, 0, .16);
    --sombra-modal: 0 24px 70px rgba(0, 0, 0, .35);
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    overflow-x: hidden;

    background: var(--blanco);
    color: var(--negro);
    font-family: Arial, Helvetica, sans-serif;
}

img{
    display: block;
    max-width: 100%;
}

button,
input{
    font: inherit;
}

a{
    color: inherit;
    text-decoration: none;
}

/* ---------- HEADER ---------- */

.header-principal{
    position: sticky;
    z-index: 1000;
    top: 0;

    width: 100%;
    min-height: 104px;
    padding: 8px clamp(20px, 4vw, 64px);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    background: var(--blanco);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
}

.logo{
    flex-shrink: 0;
}

.logo img{
    width: clamp(125px, 11vw, 190px);
    height: auto;
}

nav{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.5vw, 34px);
}

nav a{
    position: relative;

    color: var(--negro);
    font-size: 1.08rem;
    font-weight: 700;

    transition: color .2s ease, transform .2s ease;
}

nav a:hover{
    color: var(--rojo);
    transform: translateY(-1px);
}

.activo{
    color: var(--rojo);
    border-bottom: 2px solid var(--rojo);
    padding-bottom: 5px;
}

.boton-whatsapp{
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 11px 20px;

    color: var(--blanco);
    background: var(--rojo-vivo);
    border-radius: 10px 20px;
    font-weight: 700;

    transition: transform .2s ease, background .2s ease;
}

.boton-whatsapp:hover{
    background: var(--rojo);
    transform: scale(1.04);
}

.boton-whatsapp svg{
    width: 20px;
    height: 20px;
}

/* ---------- HERO ---------- */

.hero{
    position: relative;
    isolation: isolate;

    min-height: min(68vh, 700px);
    padding: 72px 24px;

    display: grid;
    place-items: center;

    background-image: url("img/Fondo/fondo6.png");
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid var(--negro);
}

.hero::before{
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;

    background: rgba(0, 0, 0, .44);
}

.hero-contenido{
    width: min(100%, 760px);

    display: flex;
    flex-direction: column;
    align-items: center;

    color: var(--blanco);
    text-align: center;
}

.hero-contenido h1{
    max-width: 720px;
    margin-bottom: 24px;

    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.12;
    text-wrap: balance;
}

.hero-contenido p{
    max-width: 680px;
    margin-bottom: 24px;

    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.55;
}

.hero-botones{
    margin-top: 12px;

    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.boton-principal,
.boton-secundario{
    min-width: 150px;
    min-height: 46px;
    padding: 11px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    font-weight: 700;

    transition: transform .2s ease, background .2s ease;
}

.boton-principal{
    color: var(--blanco);
    background: var(--rojo);
}

.boton-principal:hover{
    background: var(--rojo-fuerte);
    transform: scale(1.04);
}

.boton-secundario{
    color: var(--blanco);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--blanco);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, .15);
}

.boton-secundario:hover{
    background: rgba(255, 255, 255, .15);
    transform: scale(1.04);
}

/* ---------- BENEFICIOS ---------- */

.beneficios{
    padding: 48px clamp(20px, 5vw, 80px);

    display: grid;
    grid-template-columns: repeat(4, minmax(170px, 260px));
    justify-content: center;
    gap: clamp(16px, 3vw, 36px);

    color: var(--blanco);
    background: var(--gris-oscuro);
    border-top: 1px solid var(--negro);
}

.beneficio{
    min-width: 0;
    padding: 20px 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;

    text-align: center;
}

.beneficio svg{
    width: 34px;
    height: 34px;
    margin-bottom: 5px;
    padding: 4px;

    color: var(--rojo-vivo);
    border: 2px solid var(--rojo-vivo);
    border-radius: 10px;
}

.beneficio h3{
    font-size: 1.08rem;
}

.beneficio p{
    color: #e7e7e7;
    font-size: .94rem;
    line-height: 1.45;
}

/* ---------- NOSOTROS ---------- */

.nosotros{
    padding: 80px clamp(28px, 6vw, 100px);

    display: grid;
    grid-template-columns: minmax(360px, 600px) minmax(440px, 760px);
    align-items: center;
    justify-content: center;
    gap: clamp(38px, 5vw, 76px);

    background: rgb(204, 203, 202);
    border-top: 1px solid var(--negro);
}

.nosotros-contenido{
    width: 100%;
    max-width: 600px;
    padding: 28px 30px;

    background: #f9f9f9;
    border: 2px solid var(--negro);
    border-left: 10px solid var(--rojo-vivo);
}

.nosotros-contenido h2{
    margin-bottom: 22px;

    color: var(--gris-oscuro);
    font-size: clamp(2rem, 2.5vw, 2.4rem);
}

.nosotros-contenido p{
    margin-bottom: 20px;

    color: var(--gris-texto);
    font-size: 1rem;
    line-height: 1.75;
}

.nosotros-contenido p:last-child{
    margin-bottom: 0;
}

.nosotros-imagen{
    min-width: 0;
}

.carrusel-nosotros{
    position: relative;

    width: 100%;
    max-width: 760px;
    height: clamp(390px, 34vw, 560px);

    overflow: hidden;

    border-radius: var(--radio-lg);
    box-shadow: var(--sombra-media);
}

.slide-nosotros{
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    opacity: 0;

    transition: opacity .5s ease;
}

.slide-nosotros.activo-slide{
    opacity: 1;
}

/* ---------- FILOSOFÍA ---------- */

.filosofia{
    padding: 10px clamp(28px, 6vw, 100px) 72px;

    background: rgb(204, 203, 202);
    border-bottom: 1px solid var(--negro);
}

.filosofia > h2,
.filosofia h2{
    max-width: 1280px;
    margin: 0 auto 28px;

    color: var(--gris-oscuro);
    font-size: clamp(2rem, 2.5vw, 2.4rem);
}

.filosofia-contenido{
    width: min(100%, 1280px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.filosofia-card{
    min-width: 0;
    padding: 24px 22px;

    background: #f9f9f9;
    border: 1px solid var(--negro);
    border-left: 10px solid var(--rojo-vivo);

    transition: transform .2s ease, box-shadow .2s ease;
}

.filosofia-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--sombra-suave);
}

.filosofia-card h3,
.filosofia-contenido h3{
    margin-bottom: 18px;

    color: var(--gris-oscuro);
    font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.filosofia-card p{
    color: var(--gris-texto);
    line-height: 1.55;
}

/* ---------- CONTACTO ---------- */

.contacto{
    padding: 64px clamp(28px, 5vw, 80px);

    display: grid;
    grid-template-columns: minmax(300px, .85fr) minmax(460px, 1.45fr);
    align-items: stretch;
    gap: 40px;

    background: var(--blanco);
}

.contactoinfo{
    min-width: 0;
    padding: 32px 28px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;

    background: #f9f9f9;
    border: 2px solid var(--negro);
    border-left: 10px solid var(--rojo-vivo);
}

.contactoinfo h2{
    margin-bottom: 8px;

    color: var(--gris-oscuro);
    font-size: clamp(2rem, 2.5vw, 2.4rem);
}

.contactoinfo > p{
    margin-bottom: 12px;

    color: var(--gris-oscuro);
    font-size: 1.02rem;
    line-height: 1.5;
}

.contacto-item{
    display: flex;
    align-items: center;
    gap: 10px;

    transition: transform .2s ease;
}

.contacto-item:hover{
    transform: translateX(3px);
}

.contacto-item a{
    overflow-wrap: anywhere;
}

.contacto-redes{
    margin-top: 8px;

    display: flex;
    align-items: center;
    gap: 15px;
}

.contacto-redes img{
    width: 38px;
    height: 38px;

    object-fit: contain;

    transition: transform .2s ease;
}

.contacto-redes img:hover{
    transform: scale(1.08);
}

.mapa{
    min-width: 0;
}

.mapa iframe{
    width: 100%;
    height: 460px;

    border: 0;
    box-shadow: var(--sombra-suave);

    transition: transform .2s ease;
}

.mapa iframe:hover{
    transform: scale(1.01);
}

.ubicacion-mobile{
    display: none;
}

/*=========================================================== 
    FOOTER  
 ===================================================================*/

.footer{
    padding: 18px 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    color: var(--blanco);
    background: var(--gris-oscuro);
    text-align: center;
}

.derechos{
    font-size: 12px;
}
.yo{
    font-size: 6px;
}

.yo a{
    color: var(--blanco);
    font-weight: 700;
}

.yo a:hover{
    color: #ff6c78;
}

/* =======================================================
   MODAL DE PRODUCTOS
   ========================================================= */

.productos-ocultos{
    position: fixed;
    z-index: 3000;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 32px;

    background: rgba(0, 0, 0, .66);
}

.productos-ocultos.abierto{
    display: flex;
}

.modal{
    width: min(94vw, 1400px);
    height: min(90dvh, 900px);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #f7f7f7;
    border-radius: 22px;
    box-shadow: var(--sombra-modal);
}

.encabezado{
    flex-shrink: 0;

    padding: 24px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    background: var(--blanco);
    border-top: 6px solid var(--rojo-vivo);
    border-bottom: 1px solid var(--gris-borde);
}

.titulo-modal{
    min-width: 0;
}

.titulo-modal h2{
    margin-bottom: 8px;

    display: flex;
    align-items: center;
    gap: 12px;

    color: #1f1f1f;
    font-size: 30px;
    line-height: 1.1;
}

.titulo-modal h2::before{
    content: "";

    width: 6px;
    height: 32px;
    flex-shrink: 0;

    background: var(--rojo);
    border-radius: 4px;
}

.titulo-modal p{
    color: var(--gris-texto);
    font-size: 16px;
    line-height: 1.35;
}

.cerrar{
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: var(--negro);
    background: #f5f5f5;
    border: 1px solid #cccccc;
    border-radius: var(--radio-sm);
    cursor: pointer;

    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.cerrar:hover{
    color: var(--blanco);
    background: var(--rojo);
    border-color: var(--rojo);
}

.cerrar svg{
    width: 24px;
    height: 24px;
}

.contenido{
    flex: 1;
    min-height: 0;

    padding: 24px;

    display: flex;
    gap: 22px;

    overflow: hidden;

    background: #eeeeee;
}

.filtro{
    width: 260px;
    flex: 0 0 260px;

    padding: 20px;

    display: none;
    flex-direction: column;
    gap: 18px;

    overflow-y: auto;

    background: var(--gris-claro);
    border-radius: var(--radio-md);
}

.filtro h3{
    color: var(--gris-oscuro);
    font-size: 20px;
}

.filtro input{
    width: 100%;
    padding: 11px 12px;

    color: var(--negro);
    background: var(--blanco);
    border: 1px solid #c7c7c7;
    border-radius: var(--radio-sm);
    outline: none;
}

.filtro input:focus{
    border-color: var(--rojo);
    box-shadow: 0 0 0 3px rgba(196, 0, 16, .10);
}

.grupo-filtro{
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.grupo-filtro h4{
    color: var(--gris-oscuro);
    font-size: 15px;
}

.filtro-btn{
    padding: 10px 12px;

    color: var(--gris-oscuro);
    background: var(--blanco);
    border: 0;
    border-radius: var(--radio-sm);
    cursor: pointer;
    font-weight: 700;

    transition: color .2s ease, background .2s ease;
}

.filtro-btn:hover,
.activo-filtro{
    color: var(--blanco);
    background: var(--rojo);
}

.limpiar-filtros{
    padding: 11px 12px;

    color: var(--blanco);
    background: var(--gris-oscuro);
    border: 0;
    border-radius: var(--radio-sm);
    cursor: pointer;
    font-weight: 700;

    transition: background .2s ease;
}

.limpiar-filtros:hover{
    background: var(--rojo);
}

.productos{
    flex: 1;
    min-width: 0;
    min-height: 0;

    padding: 4px 8px 20px 4px;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 240px));
    align-content: start;
    justify-content: center;
    gap: 22px;

    overflow-x: hidden;
    overflow-y: auto;
}

.productos-card{
    width: 100%;
    min-width: 0;
    min-height: 350px;
    padding: 17px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;

    background: var(--blanco);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);

    transition: transform .2s ease, box-shadow .2s ease;
}

.productos-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.productos-card img{
    width: 100%;
    height: 150px;
    padding: 10px;

    object-fit: contain;

    background: white;
    border-radius: 14px;
}

.productos-card > p,
.nombre-producto{
    min-height: 40px;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #222222;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.descripcion-producto{
    min-height: 50px;

    color: var(--gris-texto);
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.boton-producto{
    margin-top: auto;
    padding: 10px 20px;

    color: var(--blanco);
    background: var(--rojo);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;

    transition: transform .2s ease, background .2s ease;
}

.boton-producto:hover{
    background: var(--rojo-fuerte);
    transform: scale(1.04);
}

.sin-resultados{
    display: none;
    grid-column: 1 / -1;

    padding: 48px 20px;

    color: var(--gris-texto);
    font-weight: 700;
    text-align: center;
}

/* =========================================================
   NOTEBOOK / PANTALLAS MEDIANAS
   ========================================================= */

@media (min-width: 901px) and (max-width: 1366px){

    .header-principal{
        min-height: 86px;
        padding: 7px 28px;
        gap: 20px;
    }

    .logo img{
        width: 112px;
    }

    nav{
        gap: 20px;
    }

    nav a{
        font-size: .98rem;
    }

    .boton-whatsapp{
        padding: 9px 15px;
        font-size: .92rem;
    }

    .hero{
        min-height: 520px;
        padding: 58px 34px;
    }

    .hero-contenido{
        width: min(100%, 610px);
    }

    .hero-contenido h1{
        font-size: 2.45rem;
    }

    .beneficios{
        padding: 40px 30px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .beneficio{
        padding: 18px 10px;
    }

    .nosotros{
        padding: 58px 36px;
        grid-template-columns: minmax(0, 520px) minmax(0, 580px);
        gap: 34px;
    }

    .nosotros-contenido{
        padding: 24px;
    }

    .nosotros-contenido h2{
        font-size: 1.9rem;
    }

    .nosotros-contenido p{
        font-size: .96rem;
        line-height: 1.6;
    }

    .carrusel-nosotros{
        height: 370px;
    }

    .filosofia{
        padding: 4px 36px 58px;
    }

    .filosofia-contenido{
        gap: 18px;
    }

    .filosofia-card{
        padding: 20px 18px;
    }

    .contacto{
        padding: 52px 36px;
        grid-template-columns: minmax(290px, .85fr) minmax(420px, 1.35fr);
        gap: 30px;
    }

    .contactoinfo{
        padding: 26px 22px;
    }

    .mapa iframe{
        height: 380px;
    }

    .modal{
        width: 96vw;
        height: 91dvh;
    }

    .encabezado{
        padding: 18px 22px;
    }

    .titulo-modal h2{
        font-size: 26px;
    }

    .titulo-modal p{
        font-size: 14px;
    }

    .contenido{
        padding: 18px;
        gap: 18px;
    }

    .filtro{
        width: 220px;
        flex-basis: 220px;
        padding: 16px;
    }

    .productos{
        grid-template-columns: repeat(auto-fill, minmax(190px, 220px));
        gap: 18px;
    }

    .productos-card{
        min-height: 320px;
        padding: 15px;
    }

    .productos-card img{
        height: 130px;
    }

    .productos-card > p,
    .nombre-producto{
        font-size: 16px;
    }

    .descripcion-producto{
        min-height: 44px;
        font-size: 13px;
    }
}

/* =========================================================
   CELULAR / TABLET
   ========================================================= */

@media (max-width: 900px){

    .header-principal{
        position: static;
        min-height: auto;
        padding: 14px 18px;

        flex-direction: column;
        gap: 14px;
    }

    .logo img{
        width: 150px;
    }

    nav{
        width: 100%;
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    nav a{
        font-size: 1rem;
    }

    .boton-whatsapp{
        width: min(100%, 210px);
        margin: 0;
    }

    .hero{
        min-height: 560px;
        padding: 62px 20px;
    }

    .hero-contenido h1{
        font-size: clamp(2rem, 8vw, 2.65rem);
    }

    .hero-contenido p{
        font-size: 1rem;
    }

    .hero-botones{
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .boton-principal,
    .boton-secundario{
        width: min(100%, 280px);
    }

    .beneficios{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 38px 20px;
        gap: 18px;
    }

    .nosotros{
        padding: 52px 20px;

        grid-template-columns: 1fr;
        gap: 28px;
    }

    .nosotros-contenido{
        max-width: 680px;
        margin: 0 auto;
        padding: 24px 22px;
    }

    .nosotros-contenido h2{
        font-size: 2rem;
    }

    .carrusel-nosotros{
        display: none;
    }

    .nosotros-imagen{
        display: none;
    }

    .filosofia{
        padding: 0 20px 52px;
    }

    .filosofia > h2,
    .filosofia h2{
        margin-bottom: 22px;
        font-size: 2rem;
    }

    .filosofia-contenido{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .filosofia-card{
        width: 100%;
        padding: 22px 20px;
    }

    .contacto{
        padding: 48px 20px;

        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contactoinfo{
        width: min(100%, 620px);
        margin: 0 auto;
        padding: 26px 22px;
    }

    .contactoinfo h2{
        font-size: 2rem;
    }

    .contacto-redes{
        justify-content: flex-start;
    }

    .mapa{
        display: none;
    }

    .ubicacion-mobile{
        display: inline-flex;
    }

    .footer{
        padding: 18px 16px;
    }

    /* MODAL MOBILE */

    .productos-ocultos{
        padding: 0;
        overflow: hidden;
    }

    .modal{
        width: 100%;
        height: 100dvh;
        border-radius: 0;
    }

    .encabezado{
        padding: 18px 18px;
        gap: 14px;
    }

    .titulo-modal h2{
        font-size: 27px;
    }

    .titulo-modal h2::before{
        height: 30px;
    }

    .titulo-modal p{
        font-size: 14px;
    }

    .cerrar{
        width: 40px;
        height: 40px;
    }

    .contenido{
        padding: 14px;

        flex-direction: column;
        gap: 14px;

        overflow-y: auto;
        overflow-x: hidden;
    }

    .filtro{
        width: 100%;
        flex: 0 0 auto;
        padding: 14px;

        overflow: visible;
    }

    .filtro h3{
        font-size: 17px;
    }

    .productos{
        width: 100%;
        min-height: auto;
        padding: 2px 2px 22px;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 12px;

        overflow: visible;
    }

    .productos-card{
        width: 100%;
        min-height: 300px;
        padding: 13px;
        gap: 11px;
    }

    .productos-card img{
        height: 120px;
        padding: 7px;
    }

    .productos-card > p,
    .nombre-producto{
        min-height: 35px;
        font-size: 15px;
    }

    .descripcion-producto{
        min-height: 42px;
        font-size: 12.5px;
    }

    .boton-producto{
        padding: 9px 14px;
        font-size: 13px;
    }
}

/* ---------- CELULARES CHICOS ---------- */

@media (max-width: 560px){

    .header-principal{
        padding-inline: 14px;
    }

    nav{
        gap: 12px 16px;
    }

    nav a{
        font-size: .94rem;
    }

    .hero{
        min-height: 520px;
        padding: 52px 16px;
    }

    .beneficios{
        grid-template-columns: 1fr;
    }

    .nosotros,
    .contacto{
        padding-inline: 14px;
    }

    .filosofia{
        padding-inline: 14px;
    }

    .encabezado{
        padding: 16px 14px;
    }

    .titulo-modal h2{
        font-size: 25px;
    }

    .titulo-modal p{
        max-width: 260px;
        font-size: 13px;
    }

    .contenido{
        padding: 12px;
    }

    .productos{
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .productos-card{
        width: min(100%, 330px);
        min-height: 310px;
    }

    .productos-card img{
        height: 145px;
    }
}

/* =========================================================
   Vista de los productos
   ========================================================= */

.contenido{
    position: relative;
}

.productos-card{
    min-height: 265px;
    cursor: pointer;
}

.productos-card img{
    height: 155px;
}

.nombre-producto{
    min-height: 42px;
}

.ver-producto{
    margin-top: auto;
    padding: 10px 20px;

    color: white;
    background: #c40010;
    border: none;
    border-radius: 10px;

    font-weight: bold;
    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.ver-producto:hover{
    background: #a8000d;
    transform: scale(1.04);
}

/* Poducto en grande*/

.detalle-producto{
    position: absolute;
    z-index: 20;
    inset: 0;

    padding: 24px;

    display: none;
    flex-direction: column;
    gap: 20px;

    background: white;
}

.detalle-producto.abierto{
    display: flex;
}

.cerrar-detalle{
    align-self: flex-start;

    padding: 10px 16px;

    color: #333333;
    background: white;
    border: 1px solid #cccccc;
    border-radius: 9px;

    font-weight: bold;
    cursor: pointer;

    transition:
        color .2s ease,
        background .2s ease;
}

.cerrar-detalle:hover{
    color: white;
    background: #c40010;
    border-color: #c40010;
}

.detalle-producto-contenido{
    flex: 1;
    min-height: 0;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 1fr);
    gap: 35px;

    padding: 30px;

    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.13);

    overflow: hidden;
}

/* Lado izquierdo */

.detalle-producto-info{
    min-width: 0;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    overflow-y: auto;
}

.detalle-producto-info h3{
    margin-bottom: 24px;

    color: #222222;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
}

.detalle-producto-info h3::after{
    content: "";

    width: 70px;
    height: 5px;
    margin-top: 15px;

    display: block;

    background: #c40010;
    border-radius: 5px;
}

.detalle-producto-info p{
    margin-bottom: 28px;

    color: #555555;
    font-size: 16px;
    line-height: 1.7;

    white-space: pre-line;
}

.detalle-consultar{
    margin-top: auto;
    padding: 13px 24px;

    color: white;
    background: #c40010;
    border-radius: 10px;

    font-size: 16px;
    font-weight: bold;

    transition:
        background .2s ease,
        transform .2s ease;
}

.detalle-consultar:hover{
    background: #a8000d;
    transform: scale(1.03);
}

/* Lado derecho */

.detalle-producto-imagen{
    min-width: 0;
    min-height: 0;
    padding: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;
    border-radius: 18px;
}

.detalle-producto-imagen img{
    width: 100%;
    height: 100%;
    max-height: 520px;

    object-fit: contain;
}

/* Notebook */

@media (min-width: 901px) and (max-width: 1366px){

    .productos-card{
        min-height: 245px;
    }

    .detalle-producto{
        padding: 18px;
    }

    .detalle-producto-contenido{
        padding: 22px;
        gap: 25px;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(300px, .9fr);
    }

    .detalle-producto-info{
        padding: 14px;
    }

    .detalle-producto-info h3{
        font-size: 30px;
    }

    .detalle-producto-info p{
        font-size: 14px;
    }
}

/* Celular */

@media (max-width: 900px){

    .productos-card{
        min-height: 235px;
    }

    .detalle-producto{
        padding: 12px;
    }

    .detalle-producto-contenido{
        display: flex;
        flex-direction: column;

        padding: 16px;
        gap: 18px;

        overflow-y: auto;
    }

    .detalle-producto-imagen{
        order: 1;
        flex-shrink: 0;

        width: 100%;
        height: 240px;
        padding: 14px;
    }

    .detalle-producto-info{
        order: 2;
        padding: 5px;
        overflow: visible;
    }

    .detalle-producto-info h3{
        margin-bottom: 18px;
        font-size: 26px;
    }

    .detalle-producto-info p{
        font-size: 14px;
        line-height: 1.6;
    }

    .detalle-consultar{
        width: 100%;
        margin-top: 10px;

        display: flex;
        justify-content: center;
    }
}