/* ==========================================================================
   HEADER & VOLANTAS
   ========================================================================== */
.hero-content-relative h2.bajada-hero {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin: 10px auto 0;
    opacity: 0.9;
}

.volanta-productos {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ==========================================================================
   ESTILO DE LA CARD (GENERAL)
   ========================================================================== */
.producto-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.producto-card:hover {
    transform: translateY(-5px);
}

.card-identidad {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    height: 100%;
    border-left: 5px solid var(--principal);
}

.img-placeholder-empresa {
    background-color: #ddd;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}


.card-img-top {
    background-color: #f7f8f9; 
    padding: 30px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-top img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Cuerpo de la Card */
.card-body {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #002b49; 
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Contenedor de Botones */
.card-buttons {
    display: flex;
    flex-direction: column; 
    gap: 10px;
}

.btn-card {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    text-transform: none; 
    border-radius: 2px;
}

.btn-mas-info {
    background-color: #b71c1c; 
    color: #fff !important;
}

.btn-consultar {
    background-color: #333;
    color: #fff !important;
}

/* ==========================================================================
   ESTÉTICA DETALLADA & BOTONES PERSONALIZADOS
   ========================================================================== */
.producto-card {
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-img-top-wrapper {
    background-color: #ebebeb;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card-img-top-wrapper img {
    max-height: 100%;
    object-fit: contain;
}

.producto-titulo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.producto-info {
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.btn-sevedi {
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: 0.3s;
}

.btn-sevedi-red {
    background-color: #e31e24;
    color: #fff !important;
}

.btn-sevedi-red:hover {
    background-color: #b71c1c;
}

.btn-sevedi-dark {
    background-color: #333;
    color: #fff !important;
}

.btn-sevedi-dark:hover {
    background-color: #000;
}

/* ==========================================================================
   ESTILOS FICHA DETALLE
   ========================================================================== */
.info-tecnica-detalle ul li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #444;
}


.info-tecnica-detalle strong {
    color: var(--negro-texto); 
    width: 150px;
    display: inline-block;
}

/* ==========================================================================
   MEDIA QUERIES (AGRUPADOS AL FINAL)
   ========================================================================== */

@media (max-width: 768px) {

    .card-img-top-wrapper {
        height: 350px !important;
    }
    .titulo-productos {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    
    #contenedor-productos {
        grid-template-columns: 1fr;
    }
}