/*======================================
RESET
======================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}
body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f3eee5;
    color:#222;
}
body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f3eee5;
    color:#222;
}

a{
    color:inherit;
    text-decoration:none;
}

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

button{
    border:0;
    font:inherit;
}

section,
footer,
header{
    scroll-margin-top:95px;
}

/*======================================
BOTONES
======================================*/

.btn,
.btn-oferta,
.btn-secundario{
    display:inline-block;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.btn{
    padding:15px 35px;
    color:#111;
    background:#d8a545;
    box-shadow:0 14px 26px rgba(216,165,69,.28);
}

.btn-oferta{
    padding:12px 25px;
    color:#111;
    background:#d8a545;
}

.btn-secundario{
    padding:14px 28px;
    color:#fff;
    border:1px solid rgba(255,255,255,.45);
    background:rgba(255,255,255,.08);
}

.btn:hover,
.btn-oferta:hover{
    background:#bf8c30;
    transform:translateY(-2px);
}

.btn-secundario:hover{
    color:#d8a545;
    border-color:#d8a545;
    transform:translateY(-2px);
}

/*======================================
NAVBAR
======================================*/
.navbar{
    transform:scale(.9);
    transform-origin:top center;
    width:111.11%;
}
.navbar{
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    width:100%;
    padding:18px 8%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    background:rgba(17,17,17,.78);
    border-bottom:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(8px);
}

.navbar.scrolled{
    background:#111;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.logo{
    color:#d8a545;
    font-size:28px;
    font-weight:bold;
    letter-spacing:.02em;
    white-space:nowrap;
}

.menu{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:30px;
    list-style:none;
}

.menu a{
    color:#fff;
    transition:.3s;
}

.menu a:hover{
    color:#d8a545;
}

/*======================================
HERO
======================================*/

.hero{
    min-height:112vh;
    padding:120px 8% 70px;
    display:flex;
    align-items:normal;
    background:
        radial-gradient(circle at 18% 32%, rgba(216,165,69,.28), transparent 28%),
        linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.58) 48%, rgba(0,0,0,.28)),
        url("img/portada.jpg") center/90% no-repeat;
        
}

.hero-texto{
    max-width:760px;
    color:#fff;
}

.hero-etiqueta{
    display:inline-block;
    margin-bottom:22px;
    padding:9px 14px;
    color:#f8e4b8;
    border:1px solid rgba(216,165,69,.45);
    border-radius:999px;
    background:rgba(0,0,0,.35);
    font-size:13px;
    font-weight:bold;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.hero-texto h1{
    max-width:820px;
    margin-bottom:25px;
    font-size:34px;
    line-height:.98;
    letter-spacing:-.03em;
    text-wrap:balance;
}

.hero-texto h1 span,
.hero-texto h1 strong{
    display:block;
}

.hero-texto h1 strong{
    color:#d8a545;
    font-weight:900;
    text-shadow:0 18px 40px rgba(0,0,0,.38);
}

.hero-texto p{
    max-width:610px;
    margin-bottom:35px;
    color:#f2f2f2;
    font-size:22px;
    line-height:34px;
}

.hero-acciones{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:16px;
    margin-bottom:34px;
}

.hero-datos{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.hero-datos span{
    padding:10px 14px;
    color:#f8e4b8;
    border:1px solid rgba(255,255,255,.16);
    border-radius:999px;
    background:rgba(0,0,0,.34);
    font-size:14px;
}

/*======================================
SECCIONES
======================================*/

.catalogo,
.galeria,
.nosotros{
    padding:90px 7%;
    background:#f3eee5;
}

.seccion-encabezado{
    max-width:1400px;
    margin:0 auto 34px;
}

.seccion-encabezado span,
.detalle-categoria{
    display:inline-block;
    margin-bottom:10px;
    color:#bf8c30;
    font-weight:bold;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-size:13px;
}

.seccion-encabezado h2{
    max-width:760px;
    color:#222;
    font-size:36px;
    line-height:1.2;
}

/*======================================
NOSOTROS
======================================*/

.nosotros{
    background:linear-gradient(180deg, #fffaf0 0%, #f3eee5 100%);
}

.nosotros-contenedor{
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:minmax(320px, 1fr) minmax(320px, 520px);
    gap:54px;
    align-items:center;
}

.nosotros-imagen{
    position:relative;
    overflow:hidden;
    min-height:300px;
    border-radius:16px;
    box-shadow:0 24px 55px rgba(0,0,0,.18);
}

.nosotros-imagen::after{
    content:"Hecho a mano";
    position:absolute;
    left:24px;
    bottom:24px;
    padding:12px 18px;
    color:#111;
    border-radius:999px;
    background:#d8a545;
    font-weight:bold;
}

.nosotros-imagen img{
    width:100%;
    height:100%;
    min-height:120px;
    object-fit:cover;
}

.nosotros-texto{
    padding:12px 0;
}

.nosotros-texto span{
    display:inline-block;
    margin-bottom:14px;
    color:#bf8c30;
    font-size:13px;
    font-weight:bold;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.nosotros-texto h2{
    margin-bottom:24px;
    color:#191919;
    font-size:46px;
    line-height:1.08;
    letter-spacing:-.02em;
}

.nosotros-texto p{
    margin-bottom:32px;
    color:#5c5144;
    font-size:18px;
    line-height:32px;
}

/*======================================
CATÁLOGO
======================================*/

.catalogo-contenedor{
    max-width:1500px;
    margin:auto;
    display:grid;
    grid-template-columns:280px 300px 1fr;
    gap:10px;
    align-items:flex-start;
}

.categorias,
.modelos,
.detalle-producto{
    border-radius:16px;
}

.categorias{
    position:sticky;
    top:10px;
    padding:20px;
    color:#fff;
    background:#111;
    box-shadow:0 18px 45px rgba(0,0,0,.22);
}

.categorias h2{
    margin-bottom:30px;
    font-size:28px;
}

.categoria{
    width:100%;
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:15px;
    padding:18px;
    color:inherit;
    text-align:left;
    border:2px solid transparent;
    border-radius:16px;
    background:transparent;
    cursor:pointer;
    transition:.35s;
}

.categoria:hover{
    background:#1f1f1f;
    border-color:#d8a545;
    transform:translateX(6px);
}

.categoria.activa{
    background:#d8a545;
    color:#111;
}

.categoria-icono{
    width:55px;
    height:55px;
    flex:0 0 55px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#222;
    font-size:24px;
}

.categoria.activa .categoria-icono{
    background:#fff;
}

.categoria-info{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.categoria-info strong{
    margin-bottom:4px;
    font-size:19px;
}

.categoria-info small{
    font-size:14px;
    opacity:.75;
}

.modelos,
.detalle-producto{
    background:#fffdf8;
    border:1px solid rgba(0,0,0,.05);
    box-shadow:0 18px 40px rgba(0,0,0,.09);
}

.modelos{
    padding:25px;
}

.modelos h2{
    margin-bottom:25px;
    color:#222;
    font-size:28px;
}

.modelo{
    width:100%;
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:15px;
    padding:14px;
    color:#222;
    text-align:left;
    border:2px solid transparent;
    border-radius:16px;
    background:#fff;
    cursor:pointer;
    transition:.3s;
}

.modelo:hover{
    background:#f5f5f5;
    border-color:#d8a545;
    transform:translateX(5px);
}

.modelo.activo{
    background:#fff7e8;
    border-color:#d8a545;
}

.modelo img{
    width:90px;
    height:90px;
    flex-shrink:0;
    object-fit:cover;
    border-radius:14px;
}

.modelo-info{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.modelo-info strong{
    margin-bottom:6px;
    font-size:19px;
}

.modelo-info small{
    color:#777;
    font-size:14px;
}

.modelo-info em{
    margin-top:8px;
    color:#bf8c30;
    font-size:15px;
    font-style:normal;
    font-weight:bold;
}

.detalle-producto{
    padding:30px;
}

.detalle-imagen{
    width:100%;
    margin-bottom:25px;
    overflow:hidden;
    border-radius:16px;
}

.detalle-imagen img{
    width:100%;
    object-fit:cover;
    transition:.35s;
}

.detalle-imagen img:hover{
    transform:scale(1.02);
}

.detalle-info h2{
    margin-bottom:20px;
    color:#222;
    font-size:36px;
}

.detalle-info p{
    margin-bottom:30px;
    color:#666;
    font-size:17px;
    line-height:30px;
}

.detalle-precio{
    display:inline-block;
    margin:-8px 0 26px;
    padding:10px 16px;
    color:#111;
    border-radius:999px;
    background:#f2d38b;
    font-size:28px;
    font-weight:900;
}

.detalle-precio[hidden]{
    display:none;
}

.detalle-info ul{
    margin-bottom:35px;
    list-style:none;
}

.detalle-info li{
    position:relative;
    padding:12px 0 12px 28px;
    color:#444;
    border-bottom:1px solid #ececec;
    font-size:16px;
}

.detalle-info li::before{
    content:"";
    position:absolute;
    top:18px;
    left:0;
    width:10px;
    height:10px;
    border-radius:50%;
    background:#d8a545;
}

.detalle-info .btn{
    padding:16px 40px;
    font-size:18px;
}

/*======================================
GALERÍA
======================================*/

.galeria{
    padding-top:30px;
}

.galeria-grid{
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:18px;
}

.galeria-grid img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:16px;
    box-shadow:0 12px 28px rgba(0,0,0,.1);
}

/*======================================
FOOTER
======================================*/

.footer{
    margin-top:40px;
    padding:60px 8%;
    color:#fff;
    background:#111;
}

.footer-contenedor{
    max-width:1400px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:40px;
}

.footer-logo h2{
    margin-bottom:15px;
    font-size:30px;
}

.footer-logo p{
    max-width:500px;
    color:#bfbfbf;
    line-height:28px;
}

.footer-contacto h3{
    margin-bottom:15px;
    font-size:24px;
}

.footer-contacto p{
    font-size:18px;
}

.footer-contacto i{
    margin-right:10px;
    color:#d8a545;
}

.footer-contacto a:hover{
    color:#d8a545;
}

/*======================================
RESPONSIVE
======================================*/

@media (max-width:1200px){
    .catalogo-contenedor{
        grid-template-columns:260px 280px 1fr;
    }

    .menu{
        gap:18px;
    }
}

@media (max-width:992px){
    .navbar{
        position:absolute;
        align-items:flex-start;
        flex-direction:column;
    }

    .menu{
        width:100%;
        flex-wrap:wrap;
        justify-content:flex-start;
        gap:14px 22px;
    }

    .hero{
        padding-top:185px;
    }

    .catalogo-contenedor,
    .nosotros-contenedor{
        grid-template-columns:1fr;
    }

    .nosotros-imagen,
    .nosotros-imagen img{
        min-height:480px;
    }

    .categorias{
        position:relative;
        top:0;
    }

    .detalle-imagen img{
        height:400px;
    }

    .galeria-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width:768px){
    .navbar,
    .hero,
    .catalogo,
    .nosotros,
    .galeria,
    .footer{
        padding-left:6%;
        padding-right:6%;
    }

    .logo{
        font-size:24px;
    }

    .menu{
        font-size:15px;
    }

    .hero-texto{
        width:100%;
        text-align:center;
    }

    .hero-texto h1{
        font-size:48px;
        letter-spacing:-.02em;
    }

    .hero-texto p{
        font-size:18px;
        line-height:28px;
    }

    .hero-acciones,
    .hero-datos{
        justify-content:center;
    }

    .seccion-encabezado h2{
        font-size:28px;
    }

    .nosotros-texto h2{
        font-size:32px;
    }

    .nosotros-imagen,
    .nosotros-imagen img{
        min-height:300px;
    }

    .modelo{
        align-items:flex-start;
    }

    .detalle-imagen img{
        height:280px;
    }

    .detalle-info h2{
        font-size:28px;
    }

    .galeria-grid{
        grid-template-columns:1fr;
    }

    .galeria-grid img{
        height:260px;
    }
}
/* ===== LIGHTBOX ===== */

.lightbox{
    position:fixed;
    inset:0;

    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.lightbox.activo{
    display:flex;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:12px;
    box-shadow:0 0 40px rgba(0,0,0,.5);
}

/*==========================
  GALERÍA REALIZADOS
===========================*/

.galeria-realizados{
    max-width:900px;
    margin:40px auto;
}

.imagen-principal{
    width:100%;
    max-width:750px;
    height:400px;
    margin:auto;
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.18);
}

.imagen-principal img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.35s;
    cursor:pointer;
}

.miniaturas{
    display:flex;
    gap:10px;
    margin-top:18px;
    overflow-x:auto;
    padding-bottom:8px;
}

.miniaturas::-webkit-scrollbar{
    height:8px;
}

.miniaturas::-webkit-scrollbar-thumb{
    background:#c8c8c8;
    border-radius:10px;
}

.thumb{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    border:3px solid transparent;
    transition:.25s;
    flex-shrink:0;
}

.thumb:hover{
    transform:scale(1.08);
}

.thumb.activa{
    border-color:#b8860b;
    transform:scale(1.08);
}

@media(max-width:768px){

    .thumb{
        width:65px;
        height:65px;
    }

}
/*==================================================
    CTA PROYECTO PERSONALIZADO
===================================================*/

.proyecto-personalizado{
    max-width:1250px;
    margin:70px auto;
    padding:0 20px;
}

.cta-personalizado{

    background:#f9f0e6;

    border:1px solid #e6d7b8;

    border-radius:18px;

   padding:18px 28px;

    display:flex;

    align-items:flex-start;

    justify-content:flex-start;

    gap:20px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}

.cta-logo{

    display:flex;
    align-items:center;
    justify-content:center;

}

.cta-logo img{

    width:85px;
    height:85px;
    object-fit:contain;
    display:block;

}
.cta-contenido{

    flex:1;

    display:flex;

    flex-direction:column;

}
.cta-texto{

    flex:1;

}
.cta-superior{

    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:30px;
    margin-bottom:25px;

}
.cta-texto h2{

    margin:0 0 8px;

    font-size:1.2rem;

    color:#111;

    line-height:1.2;

}

.cta-texto span{

    color:#c79b3b;

}

.cta-texto p{

    margin:0;

    color:#666;

    font-size:1rem;

    line-height:1.6;

    max-width:460px;

    text-align: center;

}

.cta-pasos{

    display:flex;

    justify-content:space-around;

    gap:28px;

}

.cta-item{

    text-align:center;

    min-width:95px;

}

.cta-icono{

    font-size:1.8rem;

    margin-bottom:8px;

}

.cta-item span{

    font-size:.9rem;

    font-weight:600;

    color:#333;

}

.cta-btn{

    background:#c79b3b;

    color:#fff;

    text-decoration:none;

    padding:15px 28px;

    border-radius:10px;

    font-weight:700;

    white-space:nowrap;

    transition:.3s;
    
    margin-top:12px;
align-self:flex-start;

}

.cta-btn:hover{

    background:#ab8128;

    transform:translateY(-2px);

}

@media(max-width:1000px){

    .cta-personalizado{

        flex-direction:column;

        text-align:center;

    }

    .cta-texto p{

        max-width:100%;

    }

    .cta-pasos{

        justify-content:center;

        flex-wrap:wrap;

    }

}

/*======================================
SALA DE VIDEOS
======================================*/

.hm-videos{
    padding:56px 6%;
    background:#f3eee5;
}
.hm-video-card{
    max-width:760px;
    margin:auto;
    padding:26px;
    border-radius:16px;
    background:#fffdf8;
    box-shadow:0 12px 30px rgba(0,0,0,.09);
}
.hm-video-card h2{ margin-bottom:8px; font-size:26px; color:#222; }
.hm-video-card p{ color:#666; line-height:1.6; }
.hm-video-card label{ display:block; margin:18px 0 6px; font-size:14px; font-weight:bold; }
.hm-video-controls{ display:flex; gap:10px; }
.hm-video-controls input{
    flex:1;
    min-width:0;
    padding:12px;
    border:1px solid #d9cdb3;
    border-radius:8px;
    font-size:15px;
}
.hm-video-controls button{
    padding:12px 18px;
    color:#111;
    border-radius:8px;
    background:#d8a545;
    font-weight:bold;
    cursor:pointer;
}
#hm-video-clear{ background:#e8e0d0; }
#hm-video-status{ margin-top:10px; font-size:14px; }
.hm-video-player{
    margin-top:18px;
    overflow:hidden;
    border-radius:12px;
    background:#000;
    aspect-ratio:16 / 9;
}
.hm-video-player[hidden]{ display:none; }
.hm-video-player iframe{ width:100%; height:100%; border:0; }
.hm-video-help{ margin-top:12px; font-size:13px; color:#777; }


/*======================================
MEJORAS VISUALES (escritorio + celular)
======================================*/

img{ max-width:100%; }

.btn{ padding:13px 28px; font-size:15px; }
.btn-oferta{ padding:9px 20px; font-size:14px; }
.btn-secundario{ padding:12px 24px; font-size:15px; }

.navbar{ transform:none; width:100%; padding:12px 6%; gap:20px; }
.logo{ font-size:24px; }
.menu{ gap:24px; font-size:15px; }

.hero{ min-height:88vh; padding:120px 7% 60px; }
.hero-etiqueta{ margin-bottom:18px; padding:8px 13px; font-size:12px; }
.hero-texto h1{ margin-bottom:18px; font-size:clamp(30px, 4.2vw, 44px); line-height:1.08; }
.hero-texto p{ margin-bottom:26px; font-size:18px; line-height:28px; }
.hero-acciones{ margin-bottom:24px; }
.hero-datos span{ padding:8px 12px; font-size:13px; }

.catalogo, .galeria, .nosotros{ padding:64px 6%; }
.galeria{ padding-top:20px; }
.seccion-encabezado{ margin-bottom:26px; }
.seccion-encabezado h2{ font-size:28px; }

.nosotros-contenedor{ gap:40px; }
.nosotros-imagen{ min-height:260px; }
.nosotros-texto h2{ margin-bottom:18px; font-size:34px; }
.nosotros-texto p{ margin-bottom:24px; font-size:16px; line-height:28px; }

.categorias{ padding:16px; }
.categorias h2{ margin-bottom:18px; font-size:22px; }
.categoria{ gap:12px; margin-bottom:10px; padding:12px 14px; }
.categoria-icono{ width:44px; height:44px; flex-basis:44px; font-size:20px; }
.categoria-info strong{ margin-bottom:2px; font-size:16px; }
.categoria-info small{ font-size:13px; }

.modelos{ padding:18px; }
.modelos h2{ margin-bottom:18px; font-size:22px; }
.modelo{ gap:12px; margin-bottom:10px; padding:10px; }
.modelo img{ width:72px; height:72px; }
.modelo-info strong{ margin-bottom:3px; font-size:16px; }
.modelo-info small{ font-size:13px; }
.modelo-info em{ margin-top:4px; font-size:14px; }

.detalle-producto{ padding:22px; }
.detalle-imagen{ margin-bottom:18px; }
.detalle-imagen img{ height:340px; object-fit:cover; }
.detalle-info h2{ margin-bottom:12px; font-size:28px; }
.detalle-info p{ margin-bottom:18px; font-size:16px; line-height:26px; }
.detalle-precio{ margin:0 0 18px; padding:8px 14px; font-size:22px; }
.detalle-info ul{ margin-bottom:22px; }
.detalle-info li{ padding:9px 0 9px 26px; font-size:15px; }
.detalle-info li::before{ top:15px; }
.detalle-info .btn{ padding:14px 32px; font-size:16px; }

@media (min-width:993px){
    .catalogo-contenedor{ grid-template-columns:250px 290px 1fr; gap:16px; }
}

.galeria-realizados{ max-width:860px; margin:28px auto; }
.imagen-principal{ height:340px; }
.thumb{ width:68px; height:68px; }

.proyecto-personalizado{ margin:50px auto; }

.footer{ padding:44px 7%; }
.footer-logo h2{ font-size:24px; }
.footer-logo p{ font-size:15px; line-height:25px; }
.footer-contacto h3{ font-size:20px; }
.footer-contacto p{ font-size:16px; }

/* Celulares y tablets */
@media (max-width:992px){

    html, body{ overflow-x:hidden; }
    section, footer, header{ scroll-margin-top:110px; }

    .navbar{
        position:fixed;
        width:100%;
        padding:10px 5% 8px;
        gap:6px;
        align-items:flex-start;
        flex-direction:column;
        background:#111;
    }
    .logo{ font-size:21px; }

    .menu{
        width:100%;
        flex-wrap:nowrap;
        justify-content:flex-start;
        gap:20px;
        overflow-x:auto;
        white-space:nowrap;
        padding-bottom:6px;
        font-size:14px;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
    }
    .menu::-webkit-scrollbar{ display:none; }
    .btn-oferta{ padding:7px 14px; }

    .hero{ min-height:auto; padding:140px 6% 50px; background-size:cover; }

    .catalogo, .galeria, .nosotros{ padding-top:44px; padding-bottom:44px; }
    .galeria{ padding-top:16px; }
    .nosotros-imagen, .nosotros-imagen img{ min-height:260px; }

    .catalogo-contenedor{ gap:16px; }

    .categorias{
        position:relative;
        top:0;
        display:flex;
        gap:10px;
        padding:12px;
        overflow-x:auto;
        scroll-snap-type:x proximity;
        scrollbar-width:none;
    }
    .categorias::-webkit-scrollbar{ display:none; }
    .categorias h2{ display:none; }
    .categoria{ flex:0 0 auto; width:auto; min-width:175px; margin:0; scroll-snap-align:start; }
    .categoria:hover, .modelo:hover{ transform:none; }

    .modelos{ padding:16px; }
    .detalle-producto{ padding:16px; }
    .detalle-imagen img{ height:auto; max-height:320px; }
    .detalle-info .btn{ display:block; text-align:center; }
}

@media (max-width:768px){

    .hero-texto h1{ font-size:clamp(28px, 8vw, 36px); }
    .hero-texto p{ font-size:16px; line-height:25px; margin-bottom:22px; }
    .hero-acciones{ flex-direction:column; align-items:stretch; }
    .hero-acciones .btn, .hero-acciones .btn-secundario{ text-align:center; }
    .hero-datos span{ font-size:12px; padding:7px 10px; }

    .seccion-encabezado h2{ font-size:22px; }
    .nosotros-texto h2{ font-size:26px; }
    .nosotros-texto p{ font-size:15px; line-height:26px; }
    .nosotros-contenedor{ gap:24px; }
    .nosotros-imagen, .nosotros-imagen img{ min-height:230px; }

    .modelos h2{ font-size:20px; }
    .detalle-info h2{ font-size:24px; }
    .detalle-precio{ font-size:20px; }

    .galeria-realizados{ margin:20px auto; }
    .imagen-principal{ height:auto; aspect-ratio:4 / 3; }
    .thumb{ width:58px; height:58px; }

    .proyecto-personalizado{ margin:32px auto; padding:0 4px; }
    .cta-personalizado{ padding:18px 14px; align-items:center; }
    .cta-superior{ flex-direction:column; align-items:center; gap:12px; text-align:center; margin-bottom:16px; }
    .cta-texto p{ text-align:center; margin:auto; font-size:.95rem; }
    .cta-btn{ display:block; width:100%; text-align:center; margin-top:0; align-self:stretch; }
    .cta-pasos{ gap:12px; }

    .hm-videos{ padding-top:40px; padding-bottom:40px; }
    .hm-video-card{ padding:18px; }
    .hm-video-controls{ flex-wrap:wrap; }
    .hm-video-controls input{ width:100%; flex-basis:100%; }

    .footer{ padding-top:36px; padding-bottom:36px; }
    .footer-contenedor{ flex-direction:column; align-items:flex-start; gap:24px; }
}

@media (max-width:420px){
    .logo{ font-size:19px; }
    .categoria{ min-width:160px; }
}


/*======================================
BOTÓN FLOTANTE DE WHATSAPP
======================================*/

.wa-flotante{
    position:fixed;
    right:16px;
    bottom:calc(16px + env(safe-area-inset-bottom, 0px));
    z-index:900;
    width:54px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    border-radius:50%;
    background:#25d366;
    font-size:30px;
    box-shadow:0 4px 14px rgba(0,0,0,.3);
}
.wa-flotante:hover{ background:#1ebe5a; }

@media (max-width:768px){
    .wa-flotante{ width:50px; height:50px; font-size:27px; }
}


/*======================================
VISOR DE FOTOS (flechas, cerrar, contador)
======================================*/

.lightbox{ background:rgba(0,0,0,.9); }
.lightbox img{ max-width:97%; max-height:93%; object-fit:contain; }
.lightbox .cerrar{
    position:absolute;
    top:10px;
    right:18px;
    z-index:2;
    padding:0;
    border:0;
    background:none;
    color:#fff;
    font-size:42px;
    line-height:1;
    cursor:pointer;
}
.lb-flecha{
    position:absolute;
    top:50%;
    z-index:2;
    width:46px;
    height:46px;
    transform:translateY(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.16);
    font-size:20px;
    cursor:pointer;
}
.lb-flecha:hover{ background:rgba(255,255,255,.3); }
.lb-flecha[hidden]{ display:none; }
.lb-prev{ left:14px; }
.lb-next{ right:14px; }
.lb-contador{
    position:absolute;
    top:18px;
    text-shadow:0 1px 4px #000;
    left:50%;
    transform:translateX(-50%);
    color:#ddd;
    font-size:14px;
}

/*======================================
NOSOTROS + RECOMENDACIONES (recuadro compartido)
======================================*/

.confianza{
    padding:64px 6%;
    background:linear-gradient(180deg, #fffaf0 0%, #f3eee5 100%);
}
.confianza-caja{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    overflow:hidden;
    border:1px solid #eadfc8;
    border-radius:16px;
    background:#fffdf8;
    box-shadow:0 18px 40px rgba(0,0,0,.10);
}
.confianza-caja.sin-reco{
    max-width:640px;
    grid-template-columns:1fr;
}

.confianza-nosotros{ display:flex; flex-direction:column; }
.confianza-foto{ position:relative; height:190px; overflow:hidden; }
.confianza-foto img{ width:100%; height:100%; max-width:none; object-fit:cover; }
.confianza-foto::after{
    content:"Hecho a mano";
    position:absolute;
    left:18px;
    bottom:16px;
    padding:8px 14px;
    color:#111;
    border-radius:999px;
    background:#d8a545;
    font-size:14px;
    font-weight:bold;
}
.confianza-texto{ padding:24px 26px 28px; }
.confianza-texto h2{ margin-bottom:12px; color:#191919; font-size:26px; line-height:1.15; }
.confianza-texto p{ margin-bottom:20px; color:#5c5144; font-size:16px; line-height:26px; }

.confianza-reco{
    min-width:0;
    padding:24px 26px 28px;
    border-left:1px solid #eadfc8;
    background:#fbf3e2;
}
.confianza-reco[hidden]{ display:none; }
.confianza-reco h2{ margin-bottom:6px; color:#191919; font-size:22px; line-height:1.2; }
.confianza-reco > p{ margin-bottom:16px; color:#5c5144; font-size:15px; line-height:22px; }

.reco-tira{
    display:flex;
    gap:12px;
    padding-bottom:10px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
}
.reco{
    flex:0 0 190px;
    scroll-snap-align:start;
    overflow:hidden;
    border-radius:12px;
    background:#fffdf8;
    box-shadow:0 8px 20px rgba(0,0,0,.10);
}
.reco img{ width:100%; height:300px; max-width:none; object-fit:cover; object-position:top; cursor:zoom-in; }
.reco figcaption{ padding:8px 12px; color:#5c5144; font-size:13px; line-height:19px; }

@media (max-width:900px){
    .confianza{ padding:44px 6%; }
    .confianza-caja{ grid-template-columns:1fr; }
    .confianza-reco{ border-left:0; border-top:1px solid #eadfc8; }
    .reco{ flex-basis:160px; }
    .reco img{ height:260px; }
}

/*======================================
MEDIDAS DEL PRODUCTO
======================================*/

.detalle-medidas{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(120px, 1fr));
    gap:8px;
    margin:0 0 18px;
}
.detalle-medidas[hidden]{ display:none; }
.detalle-medidas div{
    padding:8px 12px;
    border:1px solid #eadfc8;
    border-radius:10px;
    background:#fffaf0;
}
.detalle-medidas dt{ margin-bottom:2px; color:#8a7a63; font-size:12px; }
.detalle-medidas dd{ margin:0; color:#222; font-size:16px; font-weight:bold; }

/*======================================
ENTREGAS Y ENVÍOS
======================================*/

.envios{ padding:64px 6%; background:#fffaf0; }
.envios-lista{ max-width:760px; margin:auto; }
.envios details{
    margin-bottom:10px;
    border:1px solid #eadfc8;
    border-radius:12px;
    background:#fffdf8;
}
.envios summary{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:15px 18px;
    font-size:16px;
    font-weight:bold;
    color:#222;
    list-style:none;
    cursor:pointer;
}
.envios summary::-webkit-details-marker{ display:none; }
.envios summary::after{ content:"+"; color:#d8a545; font-size:22px; line-height:1; }
.envios details[open] summary::after{ content:"–"; }
.envios details p{ padding:0 18px 16px; color:#5c5144; font-size:15px; line-height:25px; }
.envios-cta{ margin-top:22px; text-align:center; }

/*======================================
SALA DE VIDEOS OCULTA
======================================*/

.hm-videos[hidden]{ display:none; }
.footer{ position:relative; }
.hm-secreto{
    position:absolute;
    right:14px;
    bottom:10px;
    color:#fff;
    border:0;
    background:none;
    font-size:15px;
    opacity:.15;
    cursor:pointer;
}
.hm-secreto:hover, .hm-secreto:focus-visible{ opacity:.6; }

/*======================================
ESCRITORIO: vista equivalente a un zoom del 75 %
======================================*/

@media (min-width:993px){
    html{ zoom:.75; }
    .hero{ min-height:700px; }
}

/*======================================
CELULAR: "Cotizar" siempre visible en la barra superior
======================================*/

@media (max-width:992px){
    .menu li:last-child{
        position:sticky;
        right:0;
        padding-left:14px;
        background:linear-gradient(90deg, rgba(17,17,17,0), #111 14px);
    }
}

@media (max-width:768px){
    .envios{ padding-top:44px; padding-bottom:44px; }
    .lb-flecha{ width:40px; height:40px; }
    .lb-prev{ left:8px; }
    .lb-next{ right:8px; }
}

/*======================================
FOTOS COMPLETAS (sin recortes)
Las fotos del catálogo son láminas con texto: se muestran enteras.
======================================*/

.detalle-imagen{
    display:flex;
    justify-content:center;
    background:#f3eee5;
}
.detalle-imagen img{
    width:auto;
    max-width:100%;
    height:auto;
    max-height:490px;   /* ← para más chica baja este número (ej. 500px), para más grande súbelo */
    object-fit:contain;
}

.modelo img{
    object-fit:contain;
    background:#f3eee5;
}
@media (max-width:768px){
    .detalle-imagen img{ width:100%; max-height:320px; }
}

/*======================================
GALERÍA DE TRABAJOS: fotos completas, sin recortes
Cualquier foto (horizontal o vertical) se ve entera dentro de su marco.
======================================*/

.imagen-principal{
    height:auto;
    aspect-ratio:4 / 3;
    max-height:560px;
    background:#f3eee5;
}
.imagen-principal img{ object-fit:contain; }
.thumb{ object-fit:contain; background:#f3eee5; }

/*======================================
CELULAR: la fila de categorías avisa que hay más
======================================*/

@media (max-width:992px){
    .categorias{
        -webkit-mask-image:linear-gradient(90deg, #000 90%, rgba(0,0,0,.3));
        mask-image:linear-gradient(90deg, #000 90%, rgba(0,0,0,.3));
    }
}


/*======================================
FOTOS DESLIZABLES DEL PRODUCTO
======================================*/

.detalle-imagen{ position:relative; touch-action:pan-y; }
.detalle-imagen img{ cursor:zoom-in; }
.car-flecha{
    position:absolute;
    top:50%;
    z-index:2;
    width:42px;
    height:42px;
    transform:translateY(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    border-radius:50%;
    background:rgba(17,17,17,.55);
    font-size:18px;
    cursor:pointer;
}
.car-flecha:hover{ background:rgba(17,17,17,.8); }
.car-flecha[hidden], .car-contador[hidden], .car-miniaturas[hidden]{ display:none; }
.car-prev{ left:10px; }
.car-next{ right:10px; }
.car-contador{
    position:absolute;
    right:12px;
    bottom:10px;
    padding:3px 10px;
    color:#fff;
    border-radius:999px;
    background:rgba(17,17,17,.6);
    font-size:13px;
}
.car-miniaturas{
    position:relative;
    display:flex;
    gap:8px;
    margin:-6px 0 18px;
    padding-bottom:6px;
    overflow-x:auto;
    scrollbar-width:thin;
}
.car-miniaturas img{
    width:64px;
    height:64px;
    flex:0 0 64px;
    object-fit:cover;
    border:3px solid transparent;
    border-radius:10px;
    background:#f3eee5;
    cursor:pointer;
    opacity:.75;
    transition:.2s;
}
.car-miniaturas img.activa{ border-color:#d8a545; opacity:1; }

/* Celular: las categorías avanzan solas; sin "imán" que frene el desplazamiento */
@media (max-width:992px){
    .categorias{ scroll-snap-type:none; }
}
@media (max-width:768px){
    .car-flecha{ width:36px; height:36px; }
    .car-miniaturas img{ width:54px; height:54px; flex-basis:54px; }
}


/*======================================
ARRIENDO DE JUEGOS
======================================*/

.detalle-info .btn[hidden]{ display:none; }
.arriendo-agregar{ cursor:pointer; }
.arriendo-agregar:disabled{ opacity:.55; cursor:default; transform:none; }
.arriendo-panel{
    margin-top:22px;
    padding:18px;
    border:1px solid #eadfc8;
    border-radius:14px;
    background:#fffaf0;
}
.arriendo-panel[hidden]{ display:none; }
.arriendo-panel h3{ margin-bottom:6px; font-size:20px; color:#222; }
.arriendo-aviso{ margin-bottom:10px !important; font-size:14px !important; line-height:20px !important; }
.arriendo-items{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.arriendo-items small{ color:#8a7a63; }
.arriendo-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 8px 6px 12px;
    border-radius:999px;
    background:#f2d38b;
    color:#111;
    font-size:14px;
    font-weight:bold;
}
.arriendo-chip button{
    width:22px;
    height:22px;
    border-radius:50%;
    background:rgba(0,0,0,.12);
    color:#111;
    font-size:16px;
    line-height:1;
    cursor:pointer;
}
.arriendo-panel label{ display:block; margin-bottom:6px; font-size:14px; font-weight:bold; }
.arriendo-panel select,
.arriendo-panel input{
    width:100%;
    margin-bottom:12px;
    padding:11px;
    border:1px solid #d9cdb3;
    border-radius:8px;
    background:#fff;
    font-size:15px;
}
.arriendo-panel input[hidden]{ display:none; }
.arriendo-total{
    margin:4px 0 14px;
    color:#111;
    font-size:24px;
    font-weight:900;
}
.arriendo-total[hidden]{ display:none; }
.arriendo-wa.deshabilitado{ opacity:.45; pointer-events:none; box-shadow:none; }


/*======================================
ARRIENDO: juegos disponibles en barra horizontal
(las demás categorías no cambian)
======================================*/

.modo-arriendo .modelos-lista{
    display:flex;
    gap:12px;
    padding-bottom:10px;
    overflow-x:auto;
    scroll-snap-type:x proximity;
}
.modo-arriendo .modelo{
    flex:0 0 170px;
    flex-direction:column;
    align-items:stretch;
    margin:0;
    text-align:center;
    scroll-snap-align:start;
}
.modo-arriendo .modelo:hover{ transform:none; }
.modo-arriendo .modelo img{ width:100%; height:110px; }

@media (min-width:993px){
    .catalogo-contenedor.modo-arriendo{ grid-template-columns:250px 1fr; }
    .catalogo-contenedor.modo-arriendo .categorias{ grid-column:1; grid-row:1 / span 2; }
    .catalogo-contenedor.modo-arriendo .modelos{ grid-column:2; grid-row:1; }
    .catalogo-contenedor.modo-arriendo .detalle-producto{ grid-column:2; grid-row:2; }
}


/*======================================
ARRIENDO RÁPIDO: tarjetas compactas + panel pegado a la barra
======================================*/

.modo-arriendo .juego-card{ position:relative; flex:0 0 150px; scroll-snap-align:start; }
.modo-arriendo .juego-card .modelo{ width:100%; height:100%; padding:8px; }
.modo-arriendo .modelo img{ height:90px; }
.modo-arriendo .modelo-info small{ display:none; }
.modo-arriendo .modelo-info strong{ font-size:15px; }
.modo-arriendo .modelo-info em{ font-size:13px; }
.modo-arriendo .modelo.activo::after{
    content:"✓";
    position:absolute;
    top:6px;
    left:6px;
    width:24px;
    height:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#111;
    border-radius:50%;
    background:#d8a545;
    font-weight:bold;
}
.modo-arriendo .modelo{ position:relative; }
.juego-fotos{
    position:absolute;
    top:6px;
    right:6px;
    padding:3px 9px;
    color:#fff;
    border-radius:999px;
    background:rgba(17,17,17,.65);
    font-size:12px;
    cursor:pointer;
}
.modelos > .arriendo-panel{ margin-top:8px; }
.arriendo-aviso{ color:#666; }

@media (min-width:700px){
    .modelos > .arriendo-panel{
        display:grid;
        grid-template-columns:1fr 1fr;
        column-gap:28px;
        align-items:start;
    }
    .modelos > .arriendo-panel[hidden]{ display:none; }
    .arriendo-panel h3{ grid-column:1; grid-row:1; }
    .arriendo-aviso{ grid-column:1; grid-row:2; }
    .arriendo-items{ grid-column:1; grid-row:3 / span 3; align-content:flex-start; }
    .arriendo-panel label{ grid-column:2; grid-row:1; }
    .arriendo-panel select{ grid-column:2; grid-row:2; }
    .arriendo-panel input{ grid-column:2; grid-row:3; }
    .arriendo-total{ grid-column:2; grid-row:4; }
    .arriendo-wa{ grid-column:2; grid-row:5; text-align:center; }
}


/*======================================
AJUSTES V2: PC + CELULAR, ARRIENDO SIN CORTES
======================================*/

html{ -webkit-text-size-adjust:100%; }
button, select, input{ font-family:inherit; }
.modelos, .detalle-producto{ min-width:0; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible{
    outline:3px solid #d8a545;
    outline-offset:2px;
}

/* Arriendo: todos los juegos a la vista (cuadrícula), nada queda cortado */
.modo-arriendo .modelos-lista{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(150px, 1fr));
    gap:12px;
    padding-bottom:0;
    overflow:visible;
}
.modo-arriendo .juego-card{ flex:none; min-width:0; }
.modo-arriendo .modelo{ flex:none; margin:0; }
.modo-arriendo .modelo img{ width:100%; height:100px; }
.modo-arriendo .modelo-info{ align-items:center; }
.modo-arriendo .modelo-info strong{ overflow-wrap:anywhere; }
.modelos > .arriendo-panel{ margin-top:18px; }
.arriendo-total.consulta{ font-size:15px; font-weight:bold; color:#8a5a00; }
.arriendo-wa{ width:100%; text-align:center; }
.arriendo-panel select{ cursor:pointer; }

/* Pantallas táctiles: sin efectos hover pegados */
@media (hover:none){
    .categoria:hover, .modelo:hover, .btn:hover, .btn-oferta:hover{ transform:none; }
}

/* Celulares y tablets: categorías siempre visibles (cuadrícula), botones fáciles de tocar */
@media (max-width:992px){
    .categorias{
        display:grid;
        grid-template-columns:repeat(2, 1fr);
        gap:8px;
        padding:12px;
        overflow:visible;
        -webkit-mask-image:none;
        mask-image:none;
    }
    .categoria{ min-width:0; width:100%; min-height:58px; padding:8px 10px; gap:10px; }
    .categoria-icono{ width:38px; height:38px; flex-basis:38px; font-size:17px; }
    .categoria-info strong{ font-size:14px; line-height:1.2; margin:0; }
    .categoria-info small{ display:none; }

    .modelos h2{ font-size:20px; }
    .modelo{ min-height:64px; }
    .btn, .btn-secundario, .cta-btn{ min-height:46px; }
    .arriendo-panel select, .arriendo-panel input{ font-size:16px; min-height:46px; } /* evita zoom automático en iPhone */
    .arriendo-chip button{ width:28px; height:28px; }
    .modo-arriendo .modelos-lista{ grid-template-columns:repeat(2, 1fr); }
    .footer{ padding-bottom:84px; }
}
@media (min-width:600px) and (max-width:992px){
    .categorias{ grid-template-columns:repeat(3, 1fr); }
    .modo-arriendo .modelos-lista{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width:380px){
    .categoria-info strong{ font-size:13px; }
    .modelo img{ width:64px; height:64px; }
}

/* PC: más aire y flechas de fotos más visibles */
@media (min-width:993px){
    .modelos-lista{ max-height:calc(100vh - 220px); overflow-y:auto; padding-right:4px; }
    .modo-arriendo .modelos-lista{ max-height:none; overflow:visible; }
}
