/* =========================================
   INGESEGMAN LTDA - CSS GENERAL COMPLETO
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ================= CONFIGURACIÓN GENERAL ================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding-top: 90px !important;
    color: #333;
    line-height: 1.8;
}
   h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* ================= NAVBAR ================= */
nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background-color: #043b71 !important;
    padding: 10px 0 !important;
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: bold !important;
}

.nav-link {
    color: #fff !important;
    padding: 8px 15px !important;
}

.nav-link:hover {
    color: #d0d0d0 !important;
}

.nav-link.active {
    color: #fff !important;
    font-weight: bold;
}

/* Badge del carrito */
.carrito-badge {
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 0.7rem;
    margin-left: 5px;
    display: inline-block;
}

/* ===== Navbar links ===== */
.navbar .nav-link {
    position: relative;
    padding: 8px 14px;
    font-weight: 500;
    color: #fff !important;
    transition: color .2s ease;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00e5ff, #0d6efd);
    border-radius: 6px;
    transform: translateX(-50%);
    transition: width .25s ease;
}

.navbar .nav-link:hover::after {
    width: 70%;
}

.navbar .nav-link.active::after {
    width: 100%;
}

.navbar .dropdown:hover > .nav-link::after {
    width: 70%;
}

.navbar .dropdown.show > .nav-link::after {
    width: 100%;
}

.navbar .nav-link.active,
.navbar .dropdown.show > .nav-link {
    background: transparent !important;
}

.bg-primary, .bg-custom {
    background-color: #043b71 !important;
}

/* ===== Navbar links ===== */
.navbar .nav-link {
    position: relative;
    padding: 8px 14px;
    font-weight: 500;
    color: #fff !important;
    transition: color .2s ease;
}

/* Subrayado animado */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00e5ff, #0d6efd);
    border-radius: 6px;
    transform: translateX(-50%);
    transition: width .25s ease;
}

/* ===== Navbar links ===== */
.navbar .nav-link {
    position: relative;
    padding: 8px 14px;
    font-weight: 500;
    color: #fff !important;
}

/* Subrayado animado */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00e5ff, #0d6efd);
    border-radius: 6px;
    transform: translateX(-50%);
    transition: width .25s ease;
}

/* Hover */
.navbar .nav-link:hover::after {
    width: 70%;
}

/* Activo real (se queda subrayado) */
.navbar .nav-link.active::after {
    width: 100%;
}

/* ===== Dropdown ===== */

/* Cuando haces hover al dropdown */
.navbar .dropdown:hover > .nav-link::after {
    width: 70%;
}

/* Cuando el dropdown está abierto (clic) */
.navbar .dropdown.show > .nav-link::after {
    width: 100%;
}

/* Quitar fondo raro de Bootstrap */
.navbar .nav-link.active,
.navbar .dropdown.show > .nav-link {
    background: transparent !important;
}





/* Badge del carrito */
.carrito-badge {
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 0.7rem;
    margin-left: 5px;
    display: inline-block;
}

/* CARRUSEL*/
.carousel-item img {
    width: 100%;
    height: 700px !important;
    object-fit: contain !important;
    background-color: #ffffff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-indicators [data-bs-target] {
    background-color: white;
}


.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    padding: 10px;
}

.card-img-top {
    text-decoration: none;
}

.img-fluid {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* ================= PÁGINA DE PRODUCTOS ================= */
.productos-container {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.page-title {
    text-align: center;
    color: #043b71;
    margin-bottom: 40px;
    font-weight: bold;
    font-size: 2.5rem;
}

.producto-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.producto-imagen {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.producto-titulo {
    font-size: 1.1rem;
    font-weight: bold;
    color: #043b71;
    margin-bottom: 10px;
    min-height: 50px;
    line-height: 1.3;
}

.producto-descripcion {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    flex-grow: 1;
    line-height: 1.5;
}

.producto-modelo {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.producto-modelo strong {
    color: #555;
}

.producto-precio {
    font-size: 1.4rem;
    font-weight: bold;
    color: #043b71;
    margin: 15px 0;
    text-align: center;
    padding: 10px;
    background: #f0f7ff;
    border-radius: 8px;
}

.btn-primary {
    background-color: #043b71  !important;
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #031e38 !important;
    color: white;
    text-decoration: none;
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background-color: #000101 !important;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
}
.btn-secunday:hover {
    background: #032a50;
    color: white;
    text-decoration: none;
    transform: scale(1.02);
}

.btn-secunday:active {
    transform: scale(0.98);
}

.ver-carrito {
    border-color: #1343e0;
    padding: 12px;
    margin-top: 8px;
     width: 100%;
     
}

.guardar-cambios{
    background-color: #043b71  !important;
    color: white;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    width: 30%;
    cursor: pointer;
    font-size: 1rem;
}

.guardar-cambios:hover {
    background-color: #031e38 !important;
    color: white;
    text-decoration: none;
    transform: scale(1.02);
}

.guardar-cambios:active {
    transform: scale(0.98);
}

.volver{
    background-color: #043b71  !important;
    color: white;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    width: 30%;
    cursor: pointer;
    font-size: 1rem;
} 
.volver:hover{
    background-color: #031e38 !important;
    color: white;
    text-decoration: none;
    transform: scale(1.02);
}

.volver:active {
    transform: scale(0.98);
}

.btn-iniciar{
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}
.btn-iniciar {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-iniciar:hover {
    color: beige;
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}




/* ================= DETALLE DE PRODUCTO ================= */
.producto-imagen-grande {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.producto-imagen-grande img {
    max-height: 500px;
    width: 100%;
    object-fit: contain;
}

.producto-info-detalle {
    padding: 20px;
}

.producto-caracteristicas {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.producto-caracteristicas ul {
    margin-bottom: 0;
}

.producto-caracteristicas ul li {
    margin-bottom: 8px;
}

/* ================= CARRITO DE COMPRAS ================= */
.carrito-item {
    transition: background-color 0.3s ease;
    padding: 15px;
    border-radius: 8px;
}

.carrito-item:hover {
    background-color: #f8f9fa;
}

.carrito-item img {
    max-height: 80px;
    object-fit: contain;
    border-radius: 5px;
}

.sticky-top {
    position: sticky;
    top: 100px;
}

.carrito-item input[type="number"]::-webkit-inner-spin-button,
.carrito-item input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

/* ================= PRODUCTOS (PÁGINA DETALLE) ================= */
.product-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.product-img {
    width: 100%;
    border-radius: 10px;
    object-fit: contain;
}

.product-info {
    background: #f3f3f3;
    border-radius: 12px;
}

.product-info ul {
    padding-left: 20px;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #043b71;
    margin-top: 5px;
}

.precio {
    font-size: 1.2rem;
    font-weight: bold;
    color: #043b71;
}

/* ================= ITEMS DE VENTA ================= */
.venta-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.venta-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
}

/* ================= IMÁGENES GENERALES ================= */
.mi-imagen {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 10px;
}

.servicio-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
}

.mapa-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

/* ================= BOTONES ================= */
.btn-servicio {
    background-color: #043b71;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn-servicio:hover {
    background-color: #032a50;
}
.boton {
    display: block;
    margin: 0 auto;
}

/* ================= ACORDEÓN (GENERAL) ================= */
.accordion-button:hover {
    border: 2px solid blue;
}

.accordion-collapse {
    background-color: rgba(0, 0, 255, 0.1);
}

/* ================= SECCIÓN CONTACTO ================= */
.seccion-contacto {
    text-align: center;
}

.contact-item {
    background: white;
    padding: 20px;
    margin: 10px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.icono {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* ================= MAPA (LEAFLET) ================= */
#map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ================= FORMULARIOS ================= */
.formulario {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.formulario h2 {
    margin-bottom: 15px;
}

.formulario label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
}

.formulario input,
.formulario textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.formulario button {
    margin-top: 15px;
    padding: 12px;
    width: 100%;
    background: #043b71;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.formulario button:hover {
    background: #032a50;
}

.campo {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* ================= FOOTER ================= */
.footer {
    background-color: #043b71;
    margin-top: 50px;
}

.footer p {
    margin: 5px 0;
    font-size: 0.95rem;
    line-height: 1.4rem;
}

/* ================= CONTENEDORES ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

.izquierda,
.derecha {
    width: 48%;
    padding: 20px;
    background: #f3f3f3;
    border-radius: 10px;
}

/* =========================================
   PÁGINA NOSOTROS - ESTILOS PROFESIONALES
   ========================================= */

/* Hero Image Section */
.hero-nosotros {
    position: relative;
    width: 100%;
    height: 450px;
    margin-top: 90px;
    overflow: hidden;
}

.hero-nosotros img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 59, 113, 0.8), rgba(4, 59, 113, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    color: white;
    text-align: center;
    z-index: 10;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-text p {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* Sección Sobre Nosotros */
.sobre-nosotros {
    padding: 80px 0;
    background: white;
}

.sobre-nosotros h2 {
    color: #043b71;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.sobre-nosotros h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #043b71, #0066cc);
    border-radius: 2px;
}

.text-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 5px solid #043b71;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-card:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(4, 59, 113, 0.15);
}

.text-card p {
    margin: 0;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
}

/* Sección Identidad */
.identidad-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.identidad-section h2 {
    color: #043b71;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.identidad-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #043b71, #0066cc);
    border-radius: 2px;
}

/* Acordeón Mejorado para Nosotros */
.identidad-section .accordion-item {
    border: none;
    margin-bottom: 20px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.identidad-section .accordion-button {
    background: white;
    color: #043b71;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 25px 30px;
    border: none;
    transition: all 0.3s ease;
}

.identidad-section .accordion-button:not(.collapsed) {
    background: #043b71;
    color: white;
    box-shadow: none;
}

.identidad-section .accordion-button:hover {
    background: #032a50;
    color: white;
}

.identidad-section .accordion-button::after {
    width: 1.5rem;
    height: 1.5rem;
}

.identidad-section .accordion-body {
    background: white;
    padding: 30px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.9;
}

.identidad-section .accordion-button:focus {
    box-shadow: none;
    border: none;
}

/* Estadísticas/Valores */
.valores-section {
    padding: 60px 0;
    background: white;
}

.valor-card {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #043b71, #0066cc);
    color: white;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(4, 59, 113, 0.2);
    transition: transform 0.3s ease;
    height: 100%;
}

.valor-card:hover {
    transform: translateY(-10px);
}

.valor-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.valor-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.valor-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* ================= ANIMACIONES ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.producto-card {
    animation: fadeIn 0.5s ease-in-out;
}

.col-lg-4:nth-child(1) .producto-card { animation-delay: 0.1s; }
.col-lg-4:nth-child(2) .producto-card { animation-delay: 0.2s; }
.col-lg-4:nth-child(3) .producto-card { animation-delay: 0.3s; }
.col-lg-4:nth-child(4) .producto-card { animation-delay: 0.4s; }
.col-lg-4:nth-child(5) .producto-card { animation-delay: 0.5s; }
.col-lg-4:nth-child(6) .producto-card { animation-delay: 0.6s; }

/* ================= RESPONSIVE ================= */

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    .page-title {
        font-size: 2rem;
    }
    
    .producto-imagen {
        height: 220px;
    }
}

/* Tablets pequeñas */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .carousel-item img {
        height: 300px;
    }

    .contact-item {
        padding: 15px;
    }

    .icono {
        font-size: 2rem;
    }

    #map {
        height: 300px;
    }

    .izquierda,
    .derecha {
        width: 100%;
    }

    .producto-imagen-grande img {
        max-height: 300px;
    }

    .sticky-top {
        position: relative;
        top: 0;
    }

    .carrito-item .row > div {
        margin-bottom: 10px;
    }

    .productos-container {
        padding: 30px 0;
    }
    
    .page-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .producto-card {
        padding: 15px;
    }
    
    .producto-imagen {
        height: 200px;
    }
    
    .producto-titulo {
        font-size: 1rem;
        min-height: auto;
    }
    
    .producto-precio {
        font-size: 1.2rem;
        padding: 8px;
    }

    /* Nosotros Responsive */
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .hero-nosotros {
        height: 300px;
    }

    .sobre-nosotros h2,
    .identidad-section h2 {
        font-size: 2rem;
    }

    .text-card {
        padding: 20px;
    }

    .identidad-section .accordion-button {
        font-size: 1.1rem;
        padding: 20px;
    }

    .valor-card {
        padding: 30px 15px;
        margin-bottom: 20px;
    }

    .sobre-nosotros,
    .identidad-section {
        padding: 50px 0;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .card img {
        height: 200px;
    }

    .product-img {
        height: 200px;
    }

    .page-title {
        font-size: 1.5rem;
    }
    
    .producto-imagen {
        height: 180px;
        padding: 10px;
    }
    
    .producto-descripcion {
        font-size: 0.85rem;
    }
    
    .btn-agregar {
        padding: 10px;
        font-size: 0.9rem;
    }
}

button.boton-actualizar {
    background-color: #f59e0b;
}

button.boton-actualizar:hover {
    background-color: #d97706;
    box-shadow: 0 0 20px #ca7703;
    transform: translateY(-5px) scale(1.02);
}


button.boton {
    padding: 8px 16px;
    font-size: 20px;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


button.boton-eliminar {
    background-color: #dc2626;

}

button.boton-eliminar:hover {
    background-color: #b91c1c;
    box-shadow: 0 0 20px #af4105;
    transform: translateY(-5px) scale(1.02);
}

button.boton-eliminar:focus {
    outline: 2px solid #f87171;
    outline-offset: 2px;
}


.bg-primary {
background-color: #043b71 !important;
}
.beneficios {
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fa;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.estadisticas {
    background: #0d3b66;
    color: white;
    padding: 60px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.estadisticas div {
    margin: 15px;
    font-size: 20px;
}
.card-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.btn-ver, .btn-cotizar {
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    
}

.btn-ver {
    background: #043b71;
    color: white;
    text-decoration: none;
}

.btn-cotizar {
    background: #198754;
    color: white;
}
.cta {
    background:#043b71;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta-btn {
    background: white;
    color: #043b71;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
}

.whatsapp-float {
       position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

section {
    opacity: 0;
    transform: translateY(50px);
    transition: all .6s ease;
}



/* =========================================
   NOSOTROS - ESTILO PREMIUM INGESEGMAN
   ========================================= */

/* ===== HERO NOSOTROS ===== */
.hero-nosotros {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
}

.hero-nosotros img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-nosotros::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4,59,113,0.85), rgba(4,59,113,0.4));
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    opacity: 0.95;
}


/* ===== SOBRE NOSOTROS ===== */
.sobre-nosotros {
    padding: 80px 0;
    background: #ffffff;
}

.sobre-nosotros h2 {
    font-size: 2.4rem;
    color: #043b71;
    margin-bottom: 50px;
    position: relative;
}

.sobre-nosotros h2::after {
    content: "";
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg,#043b71,#0d6efd);
    display: block;
    margin: 12px auto 0;
    border-radius: 5px;
}

.sobre-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #043b71;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all .3s ease;
}

.sobre-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(4,59,113,0.2);
}

.sobre-card p {
    margin: 0;
    color: #555;
    line-height: 1.9;
}


/* ===== IDENTIDAD CORPORATIVA ===== */
.identidad-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.identidad-section h2 {
    font-size: 2.4rem;
    color: #043b71;
    margin-bottom: 50px;
    position: relative;
}

.identidad-section h2::after {
    content: "";
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg,#043b71,#0d6efd);
    display: block;
    margin: 12px auto 0;
    border-radius: 5px;
}

/* Acordeón elegante */
.identidad-section .accordion-item {
    border: none;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.identidad-section .accordion-button {
    font-weight: 600;
    font-size: 1.2rem;
    background: white;
    color: #043b71;
    padding: 25px;
    transition: all .3s ease;
}

.identidad-section .accordion-button:not(.collapsed) {
    background: #043b71;
    color: white;
}

.identidad-section .accordion-button:hover {
    background: #032a50;
    color: white;
}

.identidad-section .accordion-body {
    background: white;
    padding: 30px;
    font-size: 1.05rem;
    color: #555;
}


/* ===== VALORES / TARJETAS ===== */
.valores-nosotros {
    padding: 70px 0;
    background: #ffffff;
}

.valor-card-nosotros {
    background: linear-gradient(135deg,#043b71,#0d6efd);
    color: white;
    padding: 40px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(4,59,113,0.25);
    transition: all .3s ease;
    height: 100%;
}

.valor-card-nosotros:hover {
    transform: translateY(-12px);
}

.valor-card-nosotros i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.valor-card-nosotros h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.valor-card-nosotros p {
    font-size: 0.95rem;
    opacity: 0.9;
}


/* ===== ANIMACIÓN SUAVE ===== */
.hero-content,
.sobre-card,
.valor-card-nosotros {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .hero-nosotros {
        height: 320px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .sobre-nosotros h2,
    .identidad-section h2 {
        font-size: 1.8rem;
    }

    /* =============================================
   FILTROS - INGESEGMAN LTDA
   Agregar al final de css/style.css
   ============================================= */

/* Contenedor general de la barra de filtros */
.filtros-bar {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

/* Ícono del buscador */
.filtros-bar .input-group-text {
    background: #f8f9fa;
    border-right: none;
}

/* Input del buscador */
.filtros-bar .input-group .form-control {
    border-left: none;
}

.filtros-bar .input-group .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
}

/* Selects de categoría y marca */
.filtros-bar .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
}

/* Botón limpiar */
#btnLimpiar {
    font-size: .8rem;
    white-space: nowrap;
}

/* Tags de filtros activos (badges) */
.tag-activo {
    font-size: .78rem;
    padding: .28rem .65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.tag-activo .btn-close {
    font-size: .55rem;
    opacity: .85;
}

.tag-activo .btn-close:hover {
    opacity: 1;
}

/* Contador de resultados */
#contadorResultados {
    font-size: .85rem;
    color: #6c757d;
    margin-top: .15rem;
}

#contadorResultados strong {
    color: #212529;
}

/* Fila oculta por filtro JS */
tr.fila-oculta {
    display: none;
}

/* Fila de "sin resultados" */
#filaVacia td {
    font-size: .9rem;
    color: #6c757d;
}


.badge-estado {
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    min-width: 160px;
}


        .filtros-bar {
            background: #fff;
            border: 1px solid #dee2e6;
            border-radius: 10px;
            padding: 1rem 1.25rem;
            margin-bottom: 1.25rem;
            box-shadow: 0 2px 8px rgba(0,0,0,.06);
        }
        .filtros-bar .input-group-text {
            background: #f8f9fa;
        }
        .pill-cat {
            cursor: pointer;
            border-radius: 999px !important;
            font-size: .8rem;
            padding: .35rem .85rem;
            transition: all .15s;
        }
        .pill-cat.active {
            background-color: #a4184b !important;
            color: #fff !important;
            border-color: #0d6efd !important;
        }
        .tag-activo {
            font-size: .78rem;
            padding: .25rem .6rem;
            border-radius: 999px;
        }
        #contadorResultados {
            font-size: .85rem;
            color: #6c757d;
        }
        /* Fila oculta por filtro JS */
        tr.fila-oculta { display: none; }
   
.text-center{
    text-decoration-color: white !important;
}
    section {
            opacity: 0;
            transform: translateY(50px);
            transition: all .6s ease;
        }


bg-footer{
    background-color: #0d3b66;;
}

.precio-nowrap {
    white-space: nowrap;
}


        

/* Estados */
.pendiente { background: #fff3cd; color: #856404; }
.proceso { background: #e2e3ff; color: #3d3dbf; }
.despachado { background: #cfe2ff; color: #084298; }
.transito { background: #b6d4fe; color: #0a58ca; }
.centro { background: #d1e7dd; color: #0f5132; }
.entrega { background: #ffe5d0; color: #9a3412; }
.bodega { background: #d4edda; color: #155724; }
.entregado { background: #198754; color: white; }

}

