/* =========================================================
   CATÁLOGO PREMIUM
========================================================= */

.catalogo-premium{
    padding:100px 5%;
    background:linear-gradient(180deg,#ffffff 0%,#f4f7f9 100%);
}

/* =========================================================
   FILTROS
========================================================= */

.filter-container{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-bottom:40px;
}

.filter-btn{
    padding:10px 25px;
    border:2px solid var(--azul-marino);
    background:transparent;
    color:var(--azul-marino);
    border-radius:30px;
    font-weight:700;
    cursor:pointer;
    transition:all .3s ease;
}

.filter-btn.active,
.filter-btn:hover{
    background:var(--azul-marino);
    color:white;
}

/* =========================================================
   GRID CATÁLOGO
========================================================= */

.catalogo-grid{
    display:grid;

    /* 3 tarjetas por fila */
    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:30px;

    max-width:1300px;
    margin:0 auto;

    align-items:stretch;
}

/* =========================================================
   TARJETAS
========================================================= */

.product-card{
    background:white;

    border-radius:25px;

    overflow:hidden;

    position:relative;

    border:1px solid rgba(0,0,0,0.03);

    box-shadow:0 10px 30px rgba(0,0,0,0.05);

    transition:
    transform .4s cubic-bezier(0.175,0.885,0.32,1.275),
    opacity .3s ease;

    display:flex;
    flex-direction:column;

    height:100%;

    opacity:1;
}

.product-card:hover{
    transform:translateY(-15px);

    box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

/* =========================================================
   BADGE
========================================================= */

.product-badge{
    position:absolute;
    top:20px;
    left:20px;

    background:var(--color-acento);

    color:white;

    padding:5px 15px;

    border-radius:50px;

    font-size:.7rem;

    font-weight:800;

    text-transform:uppercase;

    z-index:2;
}

.product-badge.accent{
    background:#27ae60;
}

/* =========================================================
   IMAGEN
========================================================= */

.product-img{
    height:280px;

    background:#fdfdfd;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:30px;

    transition:background .3s ease;
}

.product-card:hover .product-img{
    background:#f0f4f8;
}

.product-img img{
    max-width:100%;
    max-height:100%;

    object-fit:contain;

    filter:drop-shadow(0 10px 15px rgba(0,0,0,0.1));

    transition:transform .4s ease;
}

.product-card:hover .product-img img{
    transform:scale(1.05);
}

/* =========================================================
   INFO
========================================================= */

.product-info{
    padding:30px;

    display:flex;
    flex-direction:column;

    flex:1;
}

.product-cat{
    color:var(--color-acento);

    font-size:.8rem;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;
}

.product-info h3{
    font-size:1.8rem;

    color:var(--azul-marino);

    margin:10px 0;

    font-weight:800;
}

.product-info p{
    color:#666;

    font-size:.95rem;

    line-height:1.6;

    margin-bottom:25px;
}

/* =========================================================
   FOOTER TARJETA
========================================================= */

.product-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding-top:20px;

    border-top:1px solid #eee;

    margin-top:auto;
}

.price{
    font-weight:800;
    font-size:1.1rem;
    color:var(--azul-marino);
}

.btn-ver{
    background:transparent;

    border:none;

    color:var(--color-acento);

    font-weight:700;

    cursor:pointer;

    display:flex;
    align-items:center;

    gap:8px;

    font-family:inherit;

    transition:.3s;
}

.btn-ver:hover{
    gap:15px;
    color:var(--azul-marino);
}

/* =========================================================
   TARJETA CTA
========================================================= */

.cta-card{
    background:linear-gradient(
    135deg,
    var(--azul-marino) 0%,
    #003366 100%) !important;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    padding:40px 20px;

    border:none;
}

.cta-content h3{
    color:white !important;

    font-size:1.6rem !important;

    margin-bottom:15px;
}

.cta-content p{
    color:rgba(255,255,255,.8) !important;

    font-size:.9rem;

    margin-bottom:px;
}

.cta-icon{
    font-size:3rem;

    color:var(--color-acento);

    margin-bottom:60px;

    animation:bounce 2s infinite;
}

.btn-cta{
    background:var(--color-acento);

    color:white;

    padding:12px 25px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    display:inline-flex;
    align-items:center;

    gap:10px;

    transition:.3s;
}

.btn-cta:hover{
    transform:scale(1.05);

    background:white;

    color:var(--azul-marino);
}


/* =========================================================
   ANIMACIÓN
========================================================= */

@keyframes bounce{

    0%,20%,50%,80%,100%{
        transform:translateY(0);
    }

    40%{
        transform:translateY(-10px);
    }

    60%{
        transform:translateY(-5px);
    }
}

/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media(max-width:1024px){

    .catalogo-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media(max-width:768px){

    .catalogo-grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }

    .product-img{
        height:170px;
        padding:15px;
    }

    .product-info{
        padding:15px;
    }

    .product-info h3{
        font-size:1rem;
    }

    .product-info p{
        font-size:.72rem;
        line-height:1.4;
    }

    .price{
        font-size:.85rem;
    }

    .btn-ver{
        font-size:.72rem;
        gap:5px;
    }

    .filter-container{
        flex-wrap:wrap;
        gap:10px;
    }

    .filter-btn{
        font-size:.72rem;
        padding:7px 14px;
    }
}
/* =========================================================
   TARJETAS MÁS COMPACTAS Y LIMPIAS
========================================================= */

.product-card{
    min-height:430px; /* MÁS CORTAS */
}

/* IMAGEN MÁS GRANDE */
.product-img{
    height:210px;

    padding:10px 15px 0; /* quitamos espacio abajo */
}

/* IMAGEN */
.product-img img{
    width:100%;
    height:100%;

    object-fit:contain;

    transform:scale(1.08); /* MÁS GRANDE */
}

/* CONTENIDO */
.product-info{
    padding:14px 18px 16px; /* menos espacio */
}

/* TITULO */
.product-info h3{
    font-size:1.1rem;

    margin:5px 0 8px;
}

/* TEXTO */
.product-info p{
    font-size:.75rem;

    line-height:1.35;

    min-height:auto; /* QUITA EL ESPACIO BLANCO */

    margin-bottom:12px;
}

/* FOOTER */
.product-footer{
    padding-top:12px;
}

/* CTA */
.cta-card{
    min-height:430px;

    padding:20px 16px;
}

/* IMAGEN CTA */
.cta-card img{
    max-width:135px;

    margin-bottom:12px;

    transform:scale(1.05);
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:768px){

    .product-card,
    .cta-card{
        min-height:300px;
    }

    .product-img{
        height:135px;

        padding:5px 8px 0;
    }

    .product-img img{
        transform:scale(1.12);
    }

    .product-info{
        padding:8px 10px 10px;
    }

    .product-info h3{
        font-size:.80rem;
    }

    .product-info p{
        font-size:.58rem;

        margin-bottom:8px;
    }

    .btn-ver{
        font-size:.62rem;
    }

    .cta-card img{
        max-width:78px;
    }

    .cta-content h3{
        font-size:.82rem !important;
    }

    .cta-content p{
        font-size:.60rem;
    }

    .btn-cta{
        font-size:.60rem;

        padding:7px 11px;
    }
}

/* =========================================================
   IMAGEN CTA MÁS GRANDE
========================================================= */

.cta-content img{

    width:220px;

    max-width:100%;

    height:auto;

    object-fit:contain;

    margin-bottom:20px;

    transform:scale(1.08);
}

/* MOBILE */
@media(max-width:768px){

    .cta-content img{

        width:120px;

        margin-bottom:12px;
    }
}
/* =====================================
   CONTROL DE SECCIONES DEL CATÁLOGO
===================================== */

/* Ocultar todas las secciones por defecto */
.catalogo-section {
    display: none;
}

/* Mostrar únicamente la sección activa */
.catalogo-section.active-section {
    display: grid;
}

/* Garantizar consistencia con el botón activo */
.filter-btn.active-btn {
    background: var(--azul-marino, #003366);
    color: white;
}


.catalogo-action{
    display: flex;
    justify-content: center;
    margin: 50px 0 20px;
}

/* reutiliza tu estilo btn-ver */
.btn-catalogo{
    background: #001a33; /* tu azul marino */
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* hover igual a estilo moderno */
.btn-catalogo:hover{
    transform: translateY(-3px);
    background: #00ccff; /* tu color acento */
    color: #001a33;
}