*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f3f4f6;
    overflow-x:hidden;
    max-width:100%;
}

html{
    overflow-x:hidden;
    max-width:100%;
}


/* DROPDOWN */

.dropdown{
    position:relative;
}

.dropdown-menu{

    position:absolute;

    top:40px;
    left:0;

    min-width:220px;

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

    opacity:0;
    visibility:hidden;

    transform:translateY(10px);

    transition:.3s;
}

.dropdown:hover .dropdown-menu{

    opacity:1;
    visibility:visible;

    transform:translateY(0);
}

.dropdown-menu a{

    display:block;

    color:#1f2937;

    padding:15px 20px;
}

.dropdown-menu a:hover{

    background:#84b547;

    color:white;
}

/*header*/
.header{
    height:90px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 60px;

    background:linear-gradient(
        135deg,
        #111827,
        #1f2937
    );

    box-shadow:0 5px 20px rgba(0,0,0,.2);
}

/* LOGO */

.logo-container{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo-container img{
    width:60px;
    height:60px;

    border-radius:10px;

    background:white;

    padding:5px;
}

.logo-text h2{
    color:white;
    font-size:24px;
    margin:0;
}

.logo-text span{
    color:#f59e0b;
    font-size:13px;
}

/* MENU */

.navbar{
    display:flex;
    align-items:center;
    gap:35px;
}

.navbar a{
    color:white;

    text-decoration:none;

    font-weight:600;

    position:relative;

    transition:.3s;
}

/* EFECTO SUBRAYADO */

.navbar a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;
    height:3px;

    background:#f59e0b;

    border-radius:10px;

    transition:.3s;
}

.navbar a:hover{
    color:#f59e0b;
}

.navbar a:hover::after{
    width:100%;
}

/* DROPDOWN */

.dropdown{
    position:relative;
}

.dropdown-menu{

    position:absolute;

    top:40px;
    left:0;

    min-width:220px;

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

    opacity:0;
    visibility:hidden;

    transform:translateY(10px);

    transition:.3s;
}

.dropdown:hover .dropdown-menu{

    opacity:1;
    visibility:visible;

    transform:translateY(0);
}

.dropdown-menu a{

    display:block;

    color:#1f2937;

    padding:15px 20px;
}

.dropdown-menu a:hover{

    background:#c1c1c1;

    color:white;
}

/* CONTENEDOR */

.catalogo-container{
    width:95%;

    margin:auto;

    padding-top:30px;

    display:grid;

    grid-template-columns:320px 1fr;

    gap:35px;
}

/* SIDEBAR */

.sidebar{
    background:#111827;

    border-radius:20px;

    padding:25px;

    height:fit-content;

    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* TITULO */

.sidebar h2{
    color:white;

    font-size:30px;

    margin-bottom:25px;

    text-align:center;

    letter-spacing:1px;
}

/* BOTON PARA ABRIR/CERRAR EL CATALOGO EN MOBILE (oculto en escritorio) */

.sidebar-toggle{
    display:none;
}

/* MENU ITEM */

.menu-item{
    margin-bottom:15px;
}

/* BOTON MENU */

.menu-btn{
    width:100%;

    background:#1f2937;

    color:white;

    border:none;

    padding:18px 20px;

    border-radius:14px;

    text-align:left;

    font-size:16px;
    font-weight:bold;

    cursor:pointer;

    transition:0.3s;
}

.menu-btn{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.arrow{
    transition:.3s;
}

.menu-item.active .arrow{
    transform:rotate(180deg);
}

/* HOVER BOTON */

.menu-btn:hover{
    background:#962c02;

    transform:translateX(5px);
}

/* SUBMENU CERRADO */

.submenu{
    max-height:0;
    overflow:hidden;

    margin-top:0;

    background:#1e293b;

    border-radius:12px;

    transition:
    max-height .4s ease,
    margin-top .3s ease;
}

/* SUBMENU ABIERTO */

.menu-item.active .submenu{
    max-height:20000px;
    margin-top:10px;
    overflow-y:auto;
}

/* LINKS SUBMENU */

.submenu a{
    display:block;

    text-decoration:none;

    color:#d1d5db;

    padding:18px 18px;

    border-bottom:1px solid rgba(255,255,255,0.05);

    transition:0.3s;
}

.submenu a:last-child{
    border-bottom:none;
}

.submenu a:hover{
    background:#f59e0b;

    color:white;

    padding-left:28px;
}

/*PRODUCTO*/
.producto-premium{
    width:min(95%,1400px);
    margin:40px auto;
}

/* HERO */

.hero-producto{
    background:linear-gradient(
        135deg,
        #111827,
        #1f2937
    );

    border-radius:30px;

    padding:clamp(20px,4vw,50px);

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(350px,1fr));

    gap:clamp(20px,4vw,50px);

    align-items:center;

    overflow:hidden;
}

.tag-producto{
    background:#f59e0b;
    color:white;

    padding:8px 18px;

    border-radius:50px;

    font-size:12px;
    font-weight:bold;
}

.contenido-producto h1{
    color:white;

    font-size:clamp(
        2rem,
        5vw,
        4rem
    );

    margin:20px 0;

    line-height:1.1;
}

.contenido-producto p{
    color:#d1d5db;

    line-height:1.8;

    font-size:clamp(
        1rem,
        1.5vw,
        1.2rem
    );

    margin-bottom:30px;
}

.acciones-producto{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.btn-pdf,
.btn-descarga{
    padding:16px 28px;

    border-radius:12px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

    display:flex;
    align-items:center;
    gap:10px;

    cursor:pointer;
}

.btn-pdf{
    background:#dc2626;
    color:white;
}

.btn-descarga{
    background:#84b547;
    color:white;
    border:none;
}

.btn-pdf:hover,
.btn-descarga:hover{
    transform:translateY(-3px);
}

.imagen-producto{
    text-align:center;
}

.imagen-producto img{
    width:min(100%,450px);

    height:auto;

    margin:auto;

    filter:drop-shadow(
        0 20px 30px rgba(0,0,0,.35)
    );
}

@media (max-width:1200px){

    .hero-producto{
        gap:30px;
    }

}

@media (max-width:900px){

    .hero-producto{

        grid-template-columns:1fr;

        text-align:center;
    }

    .imagen-producto{
        order:-1;
    }

    .acciones-producto{
        justify-content:center;
    }

}

@media (max-width:600px){

    .producto-premium{
        width:100%;
        margin:20px auto;
    }

    .hero-producto{
        padding:25px 20px;
        border-radius:20px;
    }

    .acciones-producto{
        flex-direction:column;
        width:100%;
    }

    .btn-pdf,
    .btn-descarga{
        width:100%;
        justify-content:center;
    }

    .info-grid{
        grid-template-columns:1fr;
    }

}

/* CARDS */

.info-grid{
    margin-top:30px;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(350px,1fr));

    gap:25px;
}

.info-card{
    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.info-card h3{
    color:#111827;

    margin-bottom:20px;

    font-size:26px;
}

.info-card ul{
    list-style:none;
}

.info-card li{
    margin-bottom:15px;

    position:relative;

    padding-left:30px;
}

.info-card li::before{
    content:"✓";

    position:absolute;
    left:0;

    color:#84b547;

    font-weight:bold;
}

/* RESPONSIVE */

@media(max-width:900px){

    .hero-producto{
        grid-template-columns:1fr;
        text-align:center;
    }

    .acciones-producto{
        justify-content:center;
    }

    .contenido-producto h1{
        font-size:2.5rem;
    }

}

header{
    background:#1f2937;
    color:white;
    padding:20px 60px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

header h1{
    font-size:28px;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:20px;
    transition:0.3s;
}

nav a:hover{
    color:#f59e0b;
}

/* ////////////////// */

/* FOOTER */

.footer{
    background:#2f3542;

    color:white;

    margin-top:80px;
}

/* CONTENEDOR */

.footer-container{
    width:90%;

    margin:auto;

    padding:60px 0;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:40px;
}

/* BOX */

.footer-box h3{
    margin-bottom:20px;

    color:#de9f00;

    font-size:24px;
}

.footer-box p{
    line-height:1.8;

    color:#d1d5db;
}

/* LOGO */

.footer-logo{
    width:120px;

    margin-bottom:10px;
}

.footer-box h2{
    margin-bottom:5px;

    letter-spacing:2px;
}

/* REDES */

.social-icons{
    display:flex;

    gap:25px;

    margin-top:20px;
}

.social-icons a{

    background:#3d4453;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;

    text-decoration:none;

    font-size:18px;

    transition:0.3s;
}

.social-icons a:hover{
    background:#d1d5db;

    transform:translateY(-5px);
}

/* LINKS */

.footer-box a{
    display:block;

    text-decoration:none;

    color:#d1d5db;

    margin-bottom:12px;

    transition:0.3s;
}

.footer-box a:hover{
    /*color:#d5d5d5;*/

    padding-left:5px;
}

/* COPYRIGHT */

.footer-bottom{
    text-align:center;

    padding:20px;

    border-top:1px solid rgba(255,255,255,0.08);

    color:#cbd5e1;

    font-size:14px;
}

/* RESPONSIVE */

@media(max-width:768px){

    .footer-container{
        text-align:center;
    }

    .social-icons{
        justify-content:center;
    }

}

/* BOTON HAMBURGUESA */

.menu-toggle{
    display:none;
    color:white;
    font-size:30px;
    cursor:pointer;
}

/* MOVIL */

@media(max-width:768px){

    .header{
        position:relative;
        flex-direction:row;
        justify-content:space-between;
        padding:15px 20px;
    }

    .menu-toggle{
        display:block;
    }

    .navbar{
        position:absolute;
        top:100%;
        left:0;

        width:100%;

        background:#1f2937;

        flex-direction:column;
        gap:0;

        max-height:0;
        overflow:hidden;

        transition:0.4s ease;
    }

    .navbar.active{
        max-height:400px;
        padding:15px 0;
    }

    .navbar a{
        display:block;
        padding:15px;
        text-align:center;
        width:100%;
    }

}

.page-title{

    background:linear-gradient(
        135deg,
        #111827,
        #1f2937
    );

    padding-top:30px;

    padding:20px 20px;

    text-align:center;

    color:white;

    margin-bottom:30px;
}

.page-title-content{
    max-width:900px;
    margin:auto;
}

.categoria-label{

    display:inline-block;

    background:#f59e0b;

    color:white;

    padding:8px 18px;

    border-radius:30px;

    font-size:12px;

    font-weight:bold;

    letter-spacing:1px;

    margin-bottom:20px;
}

.page-title h1{

    font-size:clamp(2.5rem,5vw,4rem);

    margin-bottom:15px;
}

.page-title p{

    color:#d1d5db;

    font-size:18px;

    line-height:1.8;
}

/* ==========================================================
   AJUSTES MOBILE: SIDEBAR/CATALOGO COLAPSABLE
   ========================================================== */

@media (max-width:768px){

    .catalogo-container{
        grid-template-columns:1fr;
        width:92%;
        gap:20px;
    }

    .sidebar-toggle{
        display:flex;
        align-items:center;
        gap:10px;

        width:100%;

        background:#1f2937;
        color:white;

        border:none;

        padding:16px 20px;

        border-radius:14px;

        font-size:16px;
        font-weight:bold;

        cursor:pointer;
    }

    .sidebar{
        width:100%;

        max-height:0;
        overflow:hidden;

        padding:0 18px;

        margin-top:0;

        transition:
        max-height .4s ease,
        padding .3s ease,
        margin-top .3s ease;
    }

    .sidebar.active{
        max-height:5000px;
        padding:18px;
        margin-top:15px;
    }

    .sidebar h2{
        font-size:22px;
    }

    .menu-btn{
        font-size:14px;
        padding:14px 16px;
    }

    .submenu a{
        padding:14px;
        font-size:14px;
    }
}