:root {
    --bg: #f4f4f4;
    /* Fondo claro para buena legibilidad */
    --fg: #1a1a1a;
    /* Texto principal oscuro */
    --muted: #6c757d;
    /* Texto secundario gris neutro */
    --primary: #d35400;
    /* Naranja industrial para botones y enlaces */
    --primary-700: #a84300;
    /* Variante más oscura para hover o énfasis */
    --accent: #2c3e50;
    /* Azul acero para detalles y contraste */
    --card: #ffffff;
    /* Fondo de tarjetas limpio */
    --border: #ced4da;
    /* Bordes suaves y discretos */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Sombra ligera para profundidad */
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}


body {
    font-family: "Segoe UI", Roboto, Inter, system-ui, Arial, sans-serif;
    color: #1a1a1a;
    /* Texto principal oscuro para buena legibilidad */
    background: #f4f4f4;
    /* Fondo claro y profesional */
    line-height: 1.6;
}


img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none;
    color: var(--primary)
}


/* CARRITO */
/* Estilos para el carrito flotante */
.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    /* Asegura que esté encima de otros elementos */
}

.cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #007bff;
    /* Azul moderno; ajusta al tema de tu sitio (ej. gris industrial #343a40) */
    border-radius: 50%;
    /* Círculo perfecto para un look moderno */
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    /* Sombra sutil y elegante */
    text-decoration: none;
    transition: all 0.3s ease;
    /* Transición suave para hover */
    position: relative;
    overflow: hidden;
    /* Para el efecto de hover en la imagen */
}

.cart:hover {
    background-color: #0056b3;
    /* Azul más oscuro en hover */
    transform: scale(1.1);
    /* Efecto de escala sutil */
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    /* Sombra más intensa */
}

.cart img {
    width: 28px;
    /* Tamaño del icono SVG; ajusta según tu imagen */
    height: 28px;
    filter: brightness(0) invert(1);
    /* Hace el SVG blanco para contrastar con el fondo azul */
    transition: filter 0.3s ease;
    /* Transición para el filtro */
}

.cart:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    /* Efecto glow en hover */
}

/* Badge del contador */
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    /* Rojo vibrante para destacar */
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
    /* Animación sutil para llamar atención */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .floating-cart {
        bottom: 15px;
        right: 15px;
    }

    .cart {
        width: 50px;
        height: 50px;
    }

    .cart img {
        width: 24px;
        height: 24px;
    }

    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: -3px;
        right: -3px;
    }
}



.container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;

}

/* Topbar */
.topbar {
    background: #2c3e50;
    /* Azul acero, sobrio y técnico */
    border-bottom: 1px solid var(--border);
    color: #ffffff;
    font-size: .9rem;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
}

.topbar-right a {
    color: #ffffff;
}

.topbar .sep {
    color: #6c757d;
}

/* Header */

/* -------------------------------------------------
   CONTENEDOR PRINCIPAL
   ------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--card);
    /* fondo blanco */
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* -------------------------------------------------
   INTERIOR – alineación flex
   ------------------------------------------------- */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    /* un poco más alta que la barra anterior */
}

/* -------------------------------------------------
   LOGO
   ------------------------------------------------- */
.logo img {
    height: 150px;
    /* ajuste responsive */
    width: auto;
}

/* -------------------------------------------------
   MENÚ DE NAVEGACIÓN
   ------------------------------------------------- */
.navbar {
    flex: 1;
    margin-left: 2rem;
}

.nav-list {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item a {
    position: relative;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    padding: 4px 0;
    transition: color .25s ease;
}

/* underline‑slide on hover */
.nav-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: var(--primary);
    transition: width .3s ease;
}

.nav-item a:hover,
.nav-item a:focus {
    color: var(--primary);
}

.nav-item a:hover::after,
.nav-item a:focus::after {
    width: 100%;
}

/* -------------------------------------------------
   ACCIONES DE LA DERECHA (login / perfil)
   ------------------------------------------------- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Botones genéricos (heredan de .btn) */
.header-actions .btn {
    font-size: .9rem;
    padding: 0.35rem 0.9rem;
}

/* -------------------------------------------------
   USUARIO LOGUEADO – icono + dropdown
   ------------------------------------------------- */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--accent);
    font-weight: 500;
    padding: 0.2rem 0.4rem;
}

.user-btn:hover,
.user-btn:focus {
    color: var(--primary);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.chevron {
    width: 10px;
    height: 10px;
    fill: currentColor;
    transition: transform .2s ease;
}

.user-btn[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.user-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 160px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 10;
}

.user-dropdown a,
.user-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.6rem 1rem;
    border: none;
    background: none;
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    background: var(--bg);
    color: var(--primary);
}

/* Cuando el dropdown está abierto */
.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* -------------------------------------------------
   HAMBURGER (mobile)
   ------------------------------------------------- */
.hamburger {
    display: none;
    /* solo aparece en móviles */
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--accent);
    border-radius: 2px;
}

/* -------------------------------------------------
   RESPONSIVE
   ------------------------------------------------- */
@media (max-width: 1024px) {
    .nav-list {
        gap: 1.2rem;
    }
}

@media (max-width: 720px) {
    .header-inner {
        height: 68px;
    }

    .nav-list {
        flex-direction: column;
        background: var(--card);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem 0;
        border-top: 1px solid var(--border);
        display: none;
        /* oculto por defecto */
    }

    .nav-list.show {
        display: flex;
        /* se muestra al pulsar el hamburger */
    }

    .navbar {
        margin-left: 0;
        flex: 1;
    }

    .hamburger {
        display: flex;
    }
}



/* 

*/

/* Hero */
.hero {
    position: relative;
}

.hero-slider {
    position: relative;
    overflow: hidden;

    height: 68.8vh;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .6s ease;
}

.slide.active {
    opacity: 1
}

.hero .overlay {
    width: 100%;
    max-height: 900px;
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .5))
}

.hero .content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin-top: 120px;
}

.hero h1 {
    font-family: Montserrat, Inter;
    font-weight: 700;
    font-size: 4rem;
    color: #fff;
    margin: 0 0 12px
}

.hero p {
    color: #cbd6e4;
    margin: 0 0 20px;
    font-size: 1.2rem;
}

.hero .btn {
    margin-right: 12px
}

.hero-controls {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px
}

.hero-prev,
.hero-next {
    background: #d35400;
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 8px
}

.hero-prev:hover,
.hero-next:hover {
    background: #a84300
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 600;
    background: var(--primary);
    color: #fff;
    border-color: var(--primary)
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 600
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary)
}

.btn-primary:hover {
    background: var(--primary-700)
}

.btn-outline {
    background: var(--primary);

    color: #cfe0ff;
    border-color: var(--primary)
}

.btn-outline:hover {
    background: var(--primary-700)
}

.btn-sm {
    height: 34px;
    padding: 0 12px
}

.btn-block {
    width: 100%
}

/* KPI */
.kpi {
    padding: 40px 0;
    background: #f8f9fa;
    /* Fondo claro para mejor legibilidad */
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.kpi-item {
    background: #ffffff;
    /* Tarjetas limpias y profesionales */
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    /* Sombra ligera para profundidad */
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d35400;
    /* Naranja industrial para destacar métricas */
}

.kpi-label {
    color: #6c757d;
    /* Gris neutro para etiquetas */
}







.products-section {
    margin-bottom: 50px;
}

/* Products */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 40px 0 20px;
}

.section-head h2 {
    font-family: Montserrat, sans-serif;
    font-size: 1.8rem;
    margin: 0;
    color: #2c3e50;
}

.section-head p {
    color: #6c757d;
    margin: 8px 0 0;
}

.products {
    padding: 40px 0;
    background: #f8f9fa;
    /* Fondo claro para sección de productos */
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-btn {
    background: transparent;
    color: #2c3e50;
    border: 1px solid #ced4da;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.filter-btn.active {
    background: #d35400;
    /* Naranja industrial para botón activo */
    border-color: #d35400;
    color: #ffffff;
}


/* PRUEBA GRID */

.product-card {
    width: 100%;
    max-width: 300px;
    height: 420px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
    overflow: hidden;

    display: flex;
    flex-direction: column;
    /* 👈 CLAVE */
}

.product-image {
    height: 220px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Badge */
.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #007bff;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}


.product-title {
    font-size: .95rem;
    font-weight: 600;
    text-align: center;
    padding: .75rem 1rem;
    min-height: 3rem;
}


.fp-actions {
    margin-top: auto;
    padding: 1rem;
    display: flex;
    gap: .5rem;
}

/* Botones */
.fp-actions button,
.fp-actions a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .5rem;
    border-radius: 8px;
    font-size: .75rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
}

/* Cotizar */
.fp-cart {
    background: #0d47a1;
    color: #fff;
    border: none;
}

.fp-cart:hover {
    background: #08306b;
    transform: translateY(-1px);
}

/* Detalles */
.fp-detail {
    background: #f1f3f5;
    color: #333;
}

.fp-detail:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

/* Iconos */
.fp-actions .icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.price {
    font-size: 1.2rem;
}

@media (max-width: 1025px) {
    .fp-actions span {
        display: none;
    }

    .products-swiper .swiper-slide {
        display: flex;
        justify-content: center;
    }

    .product-card {
        margin: 0 auto;
        width: 90%;
    }
}





/* CTA Cotizacion */

.cta-industrial {
    background: linear-gradient(135deg, #0d47a1, #08306b);
    color: #fff;
    padding: 4rem 0;
    margin: 5rem 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.cta-industrial h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: .75rem;
}

.cta-industrial p {
    max-width: 600px;
    opacity: .95;
}

.btn-cta {
    background: #fff;
    color: #0d47a1;
    padding: .9rem 1.6rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

@media (max-width: 768px) {
    .cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* Por que elegirnos */

.why-us {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 3rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.why-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.why-card h3 {
    margin-bottom: .5rem;
    color: #0d47a1;
}


/* MARCAS CON LAS QUE TRABAJAMOS */
.brands {
    padding: 4rem 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    
    /* 🔑 MISMO ALTO PARA TODAS */
}

.brand-item img {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    /* 🔑 evita estirado */
    filter: grayscale(100%);
    opacity: .75;
    transition: all .25s ease;
}

.brand-item img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}


/* -------------------------------------------------
   CONTENEDOR
   ------------------------------------------------- */
.product-slider {
    overflow: hidden;
    /* oculta lo que quede fuera */
    width: 100%;
    /* ocupa el ancho del contenedor padre */
    max-width: 1250px;
    /* opcional: límite máximo */
    margin: 0 auto;
    /* centra horizontalmente */
    position: relative;
}

/* -------------------------------------------------
   TRACK (el “carrusel” que se moverá)
   ------------------------------------------------- */
.slider-wrapper {
    display: flex;
    /* alineación horizontal */
    gap: 50px;
    /* espacio entre tarjetas */
    will-change: transform;
    /* hint de rendimiento al navegador */
}

/* -------------------------------------------------
   CADA TARJETA
   ------------------------------------------------- */
.slider-item {
    flex: 0 0 auto;
    /* NO permite que se estire */
}



/* Texto y botones (puedes mantener tu propio estilo) */
.product-card h3 {
    margin: 0.8rem 0 0.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.actions {
    margin-top: auto;
    /* empuja los botones al final */
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
}

/* -------------------------------------------------
   PAUSA DE ANIMACIÓN EN HOVER (opcional)
   ------------------------------------------------- */
.product-slider:hover .slider-wrapper {
    animation-play-state: paused;
    /* solo funciona con la animación CSS
                                      (la usamos como fallback si JS falla) */
}


/* FIUN PRUEBA */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

/* .product-card img {
    width: 200px;
    object-fit: cover;
    height: 350px;
    margin-left: 60px;
    margin-top: 20px;
} */

.product-card h3 {
    font-size: 1.05rem;
    margin: 12px 12px 4px;
    color: #2c3e50;
    text-align: center;
}

.product-card p {
    color: #6c757d;
    margin: 0 12px 12px;
    text-align: center;
}

.product-card .actions {
    display: flex;
    gap: 8px;
    margin: 12px;
    object-fit: cover;
    justify-content: center;
    align-items: center;
}

.detail-info p {
    margin: 4px 0;
    font-size: 16px;
}

.detail-info ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* 
.detail-image img{
    max-width: 400px;
    max-height: 1200px;
    background-color: red;
}
 */

/* About */
.about {
    padding: 40px 0;
    background: #f8f9fa;
    /* Fondo claro para sección institucional */
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
}

.about-text p {
    color: #6c757d;
    /* Texto secundario neutro y legible */
}

.about-stats .stat {
    background: #ffffff;
    /* Tarjetas limpias y profesionales */
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    /* Sombra ligera para profundidad */
}

.stat-title {
    font-weight: 600;
    color: #2c3e50;
    /* Título técnico y serio */
}

.stat-desc {
    color: #6c757d;
    /* Descripción en gris neutro */
}


/* Manufacturing */
.manufacturing {
    padding: 40px 0;
    background: #f4f4f4;
    /* Fondo claro para continuidad visual */
}

.manufacturing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.mf-card {
    background: #ffffff;
    /* Tarjetas limpias y profesionales */
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    /* Sombra ligera para profundidad */
}

.mf-card img {
    height: 160px;
    object-fit: cover;
    width: 100%;
}

.mf-card h3 {
    margin: 12px;
    color: #2c3e50;
    /* Título técnico y serio */
    font-size: 1.1rem;
}

.mf-card p {
    color: #6c757d;
    /* Texto descriptivo neutro */
    margin: 0 12px 16px;
    font-size: 0.95rem;
}

/* News */
.news {
    padding: 40px 0;
    background: #f4f4f4;
    /* Fondo claro para sección de noticias */
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.news-card {
    background: #ffffff;
    /* Tarjetas limpias y legibles */
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    /* Sombra ligera para profundidad */
}

.news-card img {
    height: 160px;
    object-fit: cover;
    width: 100%;
}

.news-body {
    padding: 12px;
}

.news-body h3 {
    margin: 0 0 6px;
    color: #2c3e50;
    /* Título técnico y serio */
    font-size: 1.1rem;
}

.news-body p {
    color: #6c757d;
    /* Texto descriptivo neutro */
    margin: 0 0 10px;
    font-size: 0.95rem;
}

.news-body .link {
    color: #d35400;
    /* Naranja industrial para enlaces */
    text-decoration: none;
}

.news-body .link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #f4f4f4;
    /* Fondo claro y limpio */
    color: #2c3e50;
    /* Texto principal oscuro */
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 20px;
    padding: 32px 0;
}

.footer-logo {
    height: 36px;
    margin-bottom: 5px;
}

.footer h4 {
    margin: 0 0 12px;
    color: #d35400;
    /* Naranja industrial para títulos */
}

.list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list li {
    margin: 6px 0;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 14px 0;
    background: #e9ecef;
    /* Fondo gris claro para sección inferior */
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: #d35400;
    /* Íconos en naranja industrial */
    margin-left: 8px;
    transition: background 0.3s ease;
}

.socials a:hover {
    background: #d35400;
    color: #ffffff;
}

/* Forms */
.quote-form input,
.quote-form textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border);
    color: #2c3e50;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

.form-note {
    color: #6c757d;
    font-size: .9rem;
    margin-top: 6px;
}




/* Responsive */



/* CARRITO HTML */

/* Carrito de Cotización */
.carrito-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', sans-serif;
}

.carrito-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: #2c3e50;
}

/* Tabla */
.carrito-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.carrito-table th,
.carrito-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.carrito-table th {
    background: #f4f6f8;
    font-weight: 600;
    color: #34495e;
}

.carrito-table img {
    max-width: 70px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Totales */
.carrito-summary {
    text-align: right;
    font-size: 1.2rem;
    margin-top: 15px;
    color: #2c3e50;
}

.carrito-summary strong {
    color: #27ae60;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #2980b9;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: #1f6391;
}

.btn-danger {
    background: #e74c3c;
    color: #fff;
    border: none;
}

.btn-danger:hover {
    background: #c0392b;
}



/* Resumen */
.cotizacion-resumen {
    max-width: 600px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.lista-datos {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.lista-datos li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}








/* MEDIA */

@media (max-width:1024px) {

    .product-grid,
    .manufacturing-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .about-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:720px) {


    .kpi-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .product-grid,
    .manufacturing-grid,
    .news-grid {
        grid-template-columns: 1fr
    }

    .hero-slider {
        height: 420px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 720px) {
    .hero-slider {
        height: 420px;
    }

    /* altura definida por ti */
    .hero .content {
        margin-top: 3rem;
    }

    /* 48 px */
}

/* -------------------  ≥ 768 px (tablet) ------------------- */
@media (min-width: 768px) {
    .hero-slider {
        height: 55vh;
    }

    .hero .content {
        max-width: 720px;
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    /* 48 px */
    .hero p {
        font-size: 1rem;
    }

    /* 16 px */
    .hero-controls {
        justify-content: flex-end;
    }

    .hero-prev,
    .hero-next {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.4rem;
    }
}

/* -------------------  ≥ 992 px (laptop) ------------------- */
@media (min-width: 992px) {
    .hero-slider {
        height: 60vh;
    }

    .hero .content {
        margin-top: 90px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    /* 56 px */
    .hero p {
        font-size: 1.1rem;
    }
}

/* -------------------  ≥ 1200 px (desktop) ------------------- */
@media (min-width: 1200px) {
    .hero-slider {
        height: 68.8vh;
    }

    .hero .content {
        margin-top: 120px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    /* 64 px */
    .hero p {
        font-size: 1.2rem;
    }
}

/* -------------------  ≤ 480 px (teléfonos muy pequeños) ------------------- */
@media (max-width: 767px) {
    .hero-slider {
        height: 35vh;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    /* ≈ 30 px */
    .hero p {
        font-size: .85rem;
    }

    /* ≈ 13.6 px */
    .btn-hero {
        height: 2.2rem;
        /* ≈ 35 px */
        padding: 0 .7rem;
        font-size: .85rem;
    }

    .hero-prev,
    .hero-next {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
}

/* Responsive */
@media (max-width: 600px) {

    .carrito-table,
    .carrito-table thead,
    .carrito-table tbody,
    .carrito-table th,
    .carrito-table td,
    .carrito-table tr {
        display: block;
        width: 100%;
    }

    .carrito-table tr {
        margin-bottom: 15px;
        background: #f9f9f9;
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .carrito-table td {
        text-align: left;
        border: none;
        padding: 8px 0;
    }

    .carrito-table th {
        display: none;
    }

    .carrito-table img {
        max-width: 100px;
        margin-bottom: 10px;
    }

    .carrito-summary {
        text-align: center;
    }

    .carrito-actions {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .nav-list {
        gap: 1.2rem;
    }
}

@media (max-width: 720px) {
    .header-inner {
        height: 68px;
    }

    .nav-list {
        flex-direction: column;
        background: var(--card);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem 0;
        border-top: 1px solid var(--border);
        display: none;
        /* oculto por defecto */
    }

    .nav-list.show {
        display: flex;
        /* se muestra al pulsar el hamburger */
    }

    .navbar {
        margin-left: 0;
        flex: 1;
    }

    .hamburger {
        display: flex;
    }
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .floating-cart {
        bottom: 15px;
        right: 15px;
    }

    .cart {
        width: 50px;
        height: 50px;
    }

    .cart img {
        width: 24px;
        height: 24px;
    }

    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: -3px;
        right: -3px;
    }
}