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

html, body { height: 100%; }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f8fafc;
    color: #222;
}

main { flex: 1 0 auto; }

/* Header y Navbar */
#header, .productos-encabezado {
    min-height: 80px;
    padding: 8px 5vw 8px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #213981;
    color: #fff;
    border-bottom: 5px solid #2aac4a;
    text-align: left;
    overflow: hidden; /* evita que el logo expanda el header */
}
.logo-productos, .header-content {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0;
}

.productos-nav, #navbar ul {
    display: flex;
    gap: 40px;
    margin-left: auto; /* Empuja el menú a la derecha */
}

.productos-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}
#header img, .logo-productos img {
    max-height: 200px; /* controla el tamaño máximo del logo */
    height: auto;
    width: auto;
    display: block;
}
#header h1 { font-size: 2rem; font-weight: 700; margin-left: 20px; color: #fff; }
.productos-nav, #navbar ul { display: flex; gap: 40px; }
.productos-nav a, #navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.productos-nav a.activo, .productos-nav a:hover, #navbar a:hover {
    background: #2aac4a;
    color: #213981;
}
#navbar { background: transparent; box-shadow: none; padding: 0; margin-left: 40px; }
#navbar li { display: inline; }

/* Hero */
.hero {
    background: #2aac4a;
    text-align: center;
    padding: 48px 0 56px 0;
    color: #213981;
    border-radius: 0 0 40px 40px;
    margin-bottom: 40px;
}
.hero h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 18px;
}
.hero p {
    font-size: 1.6rem;
    margin-bottom: 32px;
}

.carrusel-container {
    position: relative;
    width: 100vw;
    max-width: 1200px;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carrusel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0; top: 0;
    justify-content: center;
    align-items: center;
}
.carrusel-slide.active {
    display: flex;
}
.carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}
.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(9,84,9,0.7);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 8px 16px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}
.carrusel-btn:hover {
    background: #2aac4a;
    color: #213981;
}
.carrusel-btn.prev { left: 12px; }
.carrusel-btn.next { right: 12px; }

/* Botón principal */
.btn-principal, .formulario button {
    background: #e30613 !important;
    color: #fff !important;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: none;
    cursor: pointer;
}
.btn-principal:hover, .formulario button:hover {
    background: #002e6d !important;
    color: #fff !important;
}

/* Secciones destacadas y productos */
.destacados, .productos-lista {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}
.destacados h3, .productos-lista + h2, h2 {
    color: #213981;
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    margin-top: 48px;
    margin-bottom: 24px;
}
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.producto, .productos-lista li {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    min-height: 420px;
    border: 2px solid transparent;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.producto:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(171,247,24,0.15); 
    border-color: #2aac4a;
}
/* Asegurar fondo blanco para todas las imágenes de productos */
.producto img, .productos-lista img {
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff !important;
    padding: 15px;
    box-sizing: border-box;
}
.producto h4, .productos-lista h3 { 
    color: #2c5e2e; 
    margin-bottom: 15px; 
    font-size: 1.1rem; 
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 0;
    flex-shrink: 0;
}
.producto p, .productos-lista p { 
    color: #555; 
    font-size: 0.95rem; 
    line-height: 1.5;
    text-align: center;
    flex-grow: 1;
    margin: 0;
}
.productos-lista {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0;
    list-style: none;
    margin: 40px auto;
    justify-items: center;
}

/* Contacto */
.contacto-presentacion {
    background: #213981;
    color: #fff;
    padding: 60px 0;
}
.contacto-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    justify-content: center;
    align-items: flex-start;
}
.presentacion, .formulario {
    flex: 1 1 350px;
    min-width: 320px;
    max-width: 500px;
}
.presentacion h2, .formulario h2 {
    font-size: 1.3rem;
    margin-bottom: 18px;
    font-weight: bold;
    color: #fff;
}
.presentacion p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #fff;
}
.boton-centro {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
.formulario form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.formulario input,
.formulario textarea {
    padding: 12px;
    border-radius: 6px;
    border: 2px solid #2aac4a;
    font-size: 1rem;
    margin-bottom: 5px;
    background: #fff;
    color: #222;
    resize: none;
}
.formulario input::placeholder,
.formulario textarea::placeholder {
    color: #888;
    opacity: 0.8;
}
.formulario textarea { min-height: 100px; }
.formulario .checkbox {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #fff;
}
.formulario .checkbox input[type="checkbox"] {
    accent-color: #2aac4a;
    margin-right: 8px;
}

/* Footer */
#footer {
    background: #213981;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    font-size: 1rem;
    border-top: 2px solid #ffffff;
}

/* Buscador y portafolio */
.productos-busqueda-portafolio {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
    padding: 40px 5vw 0 5vw;
}
.buscador-productos,
.portafolio-productos {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    min-width: 260px;
    max-width: 320px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.buscador-productos h3,
.portafolio-productos h3 {
    font-size: 1.2rem;
    color: #213981;
    margin-bottom: 18px;
    font-weight: bold;
}
.buscador-input {
    display: flex;
    align-items: center;
}
.buscador-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #2aac4a;
    border-radius: 6px 0 0 6px;
    font-size: 1rem;
    outline: none;
}
.buscador-input button {
    background: #2aac4a;
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #213981;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}
.buscador-input button:hover {
    background: #213981;
    color: #fff;
}
.portafolio-productos ul { list-style: none; padding: 0; margin: 0; }
.portafolio-productos li { margin-bottom: 10px; }
.portafolio-productos a {
    color: #213981;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.portafolio-productos a:hover { color: #2aac4a; }

/* Nuevos estilos para la página de productos */
.productos-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 5vw 0 5vw;
}
.sidebar {
    min-width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 28px 20px;
}
.sidebar h3 {
    font-size: 1.2rem;
    color: #213981;
    margin-bottom: 18px;
    font-weight: bold;
}
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar li {
    color: #213981;
    font-size: 1rem;
    padding: 10px 0;
    cursor: pointer;
    transition: color 0.2s;
}
.sidebar li:hover, .sidebar li.active {
    color: #2aac4a;
    font-weight: bold;
}
.productos-main {
    flex: 1;
}

/* Contacto estilo Corina */
.contacto-main {
    background: #f8fafc;
    min-height: 70vh;
    padding: 40px 0 0 0;
}
.contacto-info-form {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 40px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 40px 30px;
}
.contacto-info {
    flex: 1 1 300px;
    min-width: 260px;
}
.contacto-info h2 {
    color: #213981;
    margin-bottom: 18px;
}
.contacto-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}
.contacto-info li {
    font-size: 1.1rem;
    color: #213981;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contacto-redes a {
    color: #213981;
    margin-right: 16px;
    transition: color 0.2s;
}
.contacto-redes a:hover { color: #2aac4a; }

.contacto-form {
    flex: 2 1 400px;
    min-width: 300px;
}
.contacto-form h2 {
    color: #213981;
    margin-bottom: 18px;
}
.contacto-form form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contacto-form input,
.contacto-form textarea {
    padding: 12px;
    border-radius: 6px;
    border: 2px solid #2aac4a;
    font-size: 1rem;
    background: #fff;
    color: #222;
    resize: none;
}
.contacto-form textarea { min-height: 100px; }
.contacto-form button {
    background: #e30613;
    color: #fff;
    padding: 12px 0;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.contacto-form button:hover {
    background: #213981;
}
.contacto-mapa {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
@media (max-width: 1200px) {
    .productos-layout,
    .productos-busqueda-portafolio,
    .contacto-info-form,
    .nosotros-section {
        flex-direction: column;
        gap: 30px;
        padding: 20px 10px;
        align-items: stretch;
    }
    .sidebar {
        min-width: 100%;
        margin-bottom: 20px;
    }
    .productos-main {
        width: 100%;
    }
    .nosotros-img img {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 900px) {
    .productos-nav, #navbar ul {
        gap: 18px;
        font-size: 1rem;
    }
    .logo-productos span {
        font-size: 1.3rem;
    }
    .productos-encabezado, #header {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 3vw 14px 3vw;
    }
    .productos-nav {
        width: 100%;
        justify-content: flex-end;
    }
    .nosotros-section, .nosotros-section.reverse {
        flex-direction: column !important;
        gap: 20px;
        text-align: center;
        padding: 0 10px;
    }
    .nosotros-img img {
        width: 180px;
        height: 180px;
    }
    .contacto-info-form {
        padding: 20px 10px;
    }
    
    /* Estilos responsive para productos en tablets */
    .productos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .producto, .productos-lista li {
        max-width: 300px;
        min-height: 400px;
    }
}

@media (max-width: 600px) {
    .productos-nav, #navbar ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: flex-start;
    }
    .productos-encabezado, #header {
        padding: 10px 2vw 10px 2vw;
    }
    .logo-productos img {
        height: 40px;
    }
    .logo-productos span {
        font-size: 1rem;
    }
    .productos-lista {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .sidebar, .buscador-productos, .portafolio-productos {
        max-width: 100%;
        min-width: 0;
        padding: 16px 8px;
    }
    .contacto-info-form {
        gap: 18px;
        padding: 10px 4px;
    }
    .contacto-mapa iframe {
        height: 180px;
    }
    .nosotros-img img {
        width: 120px;
        height: 120px;
    }
    .nosotros-texto h1, .nosotros-texto h2 {
        font-size: 1.3rem;
    }
    .nosotros-texto p, .nosotros-texto ul {
        font-size: 1rem;
    }
    #footer {
        font-size: 0.9rem;
        padding: 10px 0;
    }
}

/* Estilos para la página Nosotros */
.nosotros-main {
    background: #f8fafc;
    padding: 40px 0 0 0;
}
.nosotros-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 30px;
}
.nosotros-section.reverse {
    flex-direction: row-reverse;
}
.nosotros-texto {
    flex: 1 1 400px;
    min-width: 300px;
}
.nosotros-texto h1, .nosotros-texto h2 {
    color: #213981;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 18px;
}
.nosotros-texto p, .nosotros-texto ul {
    color: #222;
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.nosotros-texto ul {
    padding-left: 20px;
}
.nosotros-img {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nosotros-img img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    background: #fff;
}

/* Sube el título de productos */
.productos-titulo, .productos-main h2 {
    margin-top: 0px !important; /* o menos, según lo que necesites */
    margin-bottom: 32px;
    text-align: center;
    color: #213981;
    font-size: 2.2rem;
    font-weight: bold;
}

/* Sección "Ellos confían en nosotros" */
.confianza-section {
    background: #f8fafc;
    padding: 60px 0;
    margin-top: 40px;
}

.confianza-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
}

.confianza-container h2 {
    color: #213981;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.confianza-container > p {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sector-alimentario {
    background: #fff;
    border-radius: 18px;
    padding: 40px 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.sector-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.sector-icon {
    background: #2aac4a;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sector-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.sector-info h3 {
    color: #213981;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 0;
}

.sector-info p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.logo-item {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    height: 100px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo-item:hover {
    border-color: #2aac4a;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.logo-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
}

/* Responsive para la sección de confianza */
@media (max-width: 900px) {
    .confianza-container {
        padding: 0 20px;
    }
    
    .confianza-container h2 {
        font-size: 2rem;
    }
    
    .sector-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .sector-icon {
        width: 60px;
        height: 60px;
    }
    
    .sector-icon img {
        width: 30px;
        height: 30px;
    }
    
    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .logo-item {
        width: 120px;
        height: 80px;
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .confianza-section {
        padding: 40px 0;
    }
    
    .confianza-container h2 {
        font-size: 1.8rem;
    }
    
    .confianza-container > p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .sector-alimentario {
        padding: 20px 15px;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .logo-item {
        width: 100px;
        height: 70px;
        padding: 10px;
    }
    
    .logo-item img {
        max-height: 40px;
    }
}

/* Estadísticas de la empresa */
.empresa-estadisticas {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.estadistica {
    text-align: center;
    color: #213981;
}

.estadistica .numero {
    font-size: 3.5rem;
    font-weight: bold;
    color: #213981;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.estadistica .descripcion {
    font-size: 1.1rem;
    font-weight: 600;
    color: #213981;
    opacity: 0.8;
}

/* Sección destacada de la empresa */
.empresa-destacado {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.destacado-contenido {
    flex: 1;
    max-width: 500px;
}

.destacado-contenido h3 {
    color: #213981;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.destacado-contenido p {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.botones-accion {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center; /* Centra los botones */
}

.btn-secundario {
    background: transparent;
    color: #213981;
    padding: 12px 32px;
    border: 2px solid #213981;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secundario:hover {
    background: #213981;
    color: #fff;
}

.destacado-imagen {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-imagen {
    background: linear-gradient(135deg, #2aac4a, #213981);
    border-radius: 20px;
    width: 280px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    position: relative;
}

.placeholder-imagen .icono-empresa {
    font-size: 4rem;
    margin-bottom: 15px;
}

.placeholder-imagen span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    z-index: 2;
    /* Si quieres sombra para mejor legibilidad: */
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    margin: 0;
}

/* Logo de la empresa en la sección destacada */
.placeholder-imagen .logo-empresa {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    /* Removido el filtro para mostrar colores originales */
}

/* Responsive para el logo */
@media (max-width: 900px) {
    .placeholder-imagen .logo-empresa {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 600px) {
    .placeholder-imagen .logo-empresa {
        width: 80px;
        height: 80px;
    }
}

/* Responsive para la nueva sección */
@media (max-width: 900px) {
    .empresa-estadisticas {
        gap: 30px;
    }
    
    .estadistica .numero {
        font-size: 2.8rem;
    }
    
    .empresa-destacado {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
        text-align: center;
    }
    
    .destacado-contenido h3 {
        font-size: 1.8rem;
    }
    
    .placeholder-imagen {
        width: 250px;
        height: 180px;
    }
}

@media (max-width: 600px) {
    .empresa-estadisticas {
        gap: 20px;
    }
    
    .estadistica .numero {
        font-size: 2.2rem;
    }
    
    .estadistica .descripcion {
        font-size: 1rem;
    }
    
    .botones-accion {
        justify-content: center;
        gap: 15px;
    }
    
    .btn-principal, .btn-secundario {
        padding: 10px 24px;
        font-size: 1rem;
    }
    
    .placeholder-imagen {
        width: 200px;
        height: 150px;
    }
    
    .placeholder-imagen .icono-empresa {
        font-size: 3rem;
    }
    
    .placeholder-imagen span {
        font-size: 1.1rem;
    }
    
    /* Estilos responsive para productos */
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .producto, .productos-lista li {
        max-width: 100%;
        min-height: 380px;
        padding: 20px;
    }
    .producto img, .productos-lista img {
        max-width: 160px;
        height: 160px;
        padding: 12px;
    }
    .producto h4, .productos-lista h3 {
        font-size: 1rem;
        min-height: 2.5em;
    }
    .producto p, .productos-lista p {
        font-size: 0.9rem;
    }
}

.destacado-imagen .logo-empresa {
    width: 320px;   /* Ajusta este valor según el tamaño que desees */
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto 18px auto;
}

/* Estilos adicionales para compatibilidad con hostings */
.producto, .productos-lista li {
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Fallback para grid en navegadores antiguos */
@supports not (display: grid) {
    .productos-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
    }
    .producto {
        flex: 0 1 300px;
        margin: 15px;
    }
}

/* Optimización para diferentes densidades de pantalla */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .producto img, .productos-lista img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Circulo logo */
.circulo-logo {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: #213981;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin: 0 auto;
}
.circulo-logo img {
    width: 320px;
    height: 320px;
    object-fit: contain;
    background: transparent;
}