* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* 👈 evita scroll lateral raro */
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding-top: 92px;
    background: black;
}

/* 🔥 ESTADO INICIAL (ARRIBA) */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #111; /* 👈 negro sólido */
    backdrop-filter: none;
    padding: 8px;
    transition: all 0.3s ease;
}

/* 🔥 CUANDO HACE SCROLL */
header.scrolled {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    align-items: center;
    padding: 8px clamp(15px, 5vw, 40px); /* 👈 adaptable */
    position: relative;
    min-height: 70px;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo img {
    height: 60px;
    display: block;
}

.menu {
    list-style: none;
    display: flex;
    gap: 10px; /* menor separación */
    align-items: center;
    white-space: nowrap;
    /* 🔥 FONDO ÚNICO */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 15px;
    border-radius: 30px;
    position:relative;
}

/* 🔥 PILL DESLIZANTE */
.menu .slider {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    width: 100px; /* se ajusta con JS */
    background: rgba(255, 0, 0, 0.9);
    border-radius: 30px;
    transition: all 0.3s ease;
    z-index: 0;
}

/* 🔥 LOS LINKS ENCIMA DEL PILL */
.menu li {
    position: relative;
    z-index: 1;
}

.menu a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.menu a i {
    margin-right: 6px;
    font-size: 18px;
    display: inline-block; /* 👈 clave */
}

.btn-whatsapp {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: #25D366;
    color: white;
    height: 45px;
    width: 45px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-whatsapp i {
    font-size: 22px;
    color: white;
    display: inline-block;
}

.btn-whatsapp .text {
    opacity: 0;
    margin-left: 10px;
    transition: opacity 0.3s ease;
}

.btn-whatsapp:hover {
    width: 150px;
    padding: 0 15px;
    gap: 8px;
}

.btn-whatsapp:hover .text {
    opacity: 1;
}

.logo {
    z-index: 2; /* evita conflictos con menú centrado */
}

.btn {
    background: #e63946;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
}

.section {
    padding: 40px 20px;
    text-align: center;
}

.dark {
    background: #222;
    color: white;
}

/* 🔥 RESETEAR Font Awesome */
i[class^="fa"], 
i[class*=" fa-"] {
    display: inline-block !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* =========================================
   HERO SLIDER
========================================= */

.hero-slider {
    width: 100%;
    min-height: 650px;
    background: #111;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* CONTENEDOR */
.hero-slide {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 80px);
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    align-items: center;
    gap: clamp(20px, 4vw, 60px);
}

/* IMAGEN */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 320px;
    min-width: 180px;
    height: auto;
    object-fit: contain;
    animation: floatImage 4s ease-in-out infinite;
}

/* TEXTO */
.hero-content {
    color: white;
    width: 100%;
    max-width: 580px;
}

.hero-content h1 {
    font-size: clamp(38px, 4vw, 65px);
    line-height: 0.95;
    margin-bottom: 20px;
    font-family: 'Montserrat black', sans-serif;
}

.hero-content p {
    color: #bbb;
    font-size: clamp(15px, 1.2vw, 20px);
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 600px;
    font-family: 'Montserrat light', sans-serif;
}

/* BOTONES */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary {
    background: #e63946;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-4px);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: black;
}

/* ANIMACIÓN IMAGEN */
@keyframes floatImage {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}
/* =========================================
   HERO RESPONSIVE
========================================= */

@media (max-width: 950px) {

    .hero-slider {
        height: auto;
        padding: 40px 0;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 25px;
    }

    .hero-image {
        order: -1;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* BUSCADOR */
.search-section {
    background: #f5f5f5;
    padding: 40px 20px;
    text-align: center;
}

.search-container h2 {
    font-size: 32px;
    margin: 0 0 20px 0;
    margin-bottom: 10px;
}

.search-container p {
    color: #666;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: auto;
}

.search-box input {
    flex: 1;
    padding: 15px;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 8px 0 0 8px;
}

.search-box button {
    padding: 15px 25px;
    border: none;
    background: #111;
    color: white;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: 0.3s;
}

.search-box button:hover {
    background: #333;
}

#nosotros {
    scroll-margin-top: 100px;
}

/* CONTENEDOR */
.search-box {
    position: relative;
    max-width: 600px;
    margin: auto;
}

/* INPUT */
.search-box input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    outline: none;
}

/* RESULTADOS */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 999;
}

/* ITEM */
.result-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: 0.2s;
}

.result-item:hover {
    background: #f5f5f5;
}

.productos-destacados {
    padding: 50px 20px 30px;
    background: #f9f9f9;
}

.productos-destacados h2 {
    font-size: 32px;
    margin-bottom: 40px;
    margin: 0 0 20px 0;

}

.filtros-section {
    background: white;
    padding: 30px 20px 50px;
    border-bottom: 1px solid #eee;
}

.filtros-container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.filtros-container h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

/* GRID */
.filtros-busqueda {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* SELECTS */
.filtros-busqueda select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

/* BOTÓN */
.btn-filtrar {
    background: #111;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-filtrar:hover {
    background: #e63946;
}

@media (max-width: 768px) {
    .filtros-busqueda {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PRODUCTOS DESTACADOS
========================================= */

.productos-destacados {
    width: 100%;
    padding: 30px 4%;
    background: #f7f7f7;
    box-sizing: border-box;
}

/* GRID PRINCIPAL */
.productos-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 60px; /* separación real */
    align-items: start;
    width: 100%;
}

/* =========================================
   COLUMNA IZQUIERDA
========================================= */

.productos-info {
    position: relative;
    top: 10px;
}

.productos-info h2 {
    font-family: 'Montserrat black', sans-serif;
    font-size: 62px;
    line-height: 1.1;
    margin: 0 0 25px 0;
    color: #111;
    max-width: 100px;
}

.productos-info p {
    color: #666;
    line-height: 1.5;
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-productos {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 12px 10px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.btn-productos::after {
    content: "→";
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-productos:hover {
    background: #e63946;
    transform: translateY(-4px);
}

.btn-productos:hover::after {
    transform: translateX(5px);
}

/* =========================================
   COLUMNA DERECHA
========================================= */

.productos-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 0;
    width: 100%;
    margin: 0 0 0 120px;
}

/* =========================================
   MARCAS
========================================= */

.marcas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.marca-item {
    background: white;
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    transition: 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.marca-item:hover {
    transform: translateY(-5px);
}

.marca-item img {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.marca-item span {
    font-weight: 600;
    color: #111;
}

.marca-item {
    cursor: pointer;
}

.marca-item.active {
    border: 1px solid black;
    transform: translateY(-5px);
}

/* =========================================
   SLIDER PRODUCTOS
========================================= */

.cards-slider {
    width: 285%;
    overflow: hidden;
    position: relative;
}

.cards-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

/* CARD */
.card {
    min-width: calc((100% - 40px) / 3);
    height: 280px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    background: white;
    transition: 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
}

/* IMAGEN */
.card-img {
    width: 100%;
    height: 100%;
    background: #dcdcdc;
    background-size: cover;
    background-position: center;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1200px) {

    .card {
        min-width: calc((100% - 20px) / 2);
    }

}

@media (max-width: 700px) {

    .card {
        min-width: 100%;
    }

}

@media (max-width: 1100px) {

    .productos-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .productos-info h2 {
        font-size: 52px;
        max-width: 100%;
    }

}

/* SECCIÓN */
.nosotros-section {
    width: 100%;
}

/* CONTENEDOR */
.nosotros-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 👈 2 columnas */
    min-height: 500px;
}

/* IMAGEN */
.nosotros-img {
    background: url('../img/nosotros.jpg') center/cover no-repeat;
}

.nosotros-img {
    width: 100%;
    height: 100%;
    overflow: hidden; /* 👈 evita que se desborde */
}

.nosotros-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 👈 clave: recorta sin deformar */
    display: block;
}

/* TEXTO */
.nosotros-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background: black;
    color: white;
}

.nosotros-texto h2 {
    font-size: 32px;
    margin-bottom: 20px;
    margin: 0 0 20px 0;

}

.nosotros-texto p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #ccc;
}

/* Tablet y móvil */
@media (max-width: 900px) {
    .nosotros-container {
        grid-template-columns: 1fr; /* 👈 se vuelve vertical */
    }

    .nosotros-img {
        height: 250px;
    }

    .nosotros-texto {
        padding: 40px;
    }
}

.porque-section {
    padding: 60px 20px;
    background: black;
    color: white;
    text-align: center;
}

.porque-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.porque-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.porque-item {
    background: #1a1a1a;
    padding: 30px 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.porque-item i {
    font-size: 35px;
    margin-bottom: 15px;
    color: #e63946; /* 👈 tu rojo */
}

.porque-item h3 {
    margin-bottom: 10px;
}

.porque-item p {
    color: #ccc;
    font-size: 14px;
}

.porque-item:hover {
    transform: translateY(-6px);
}

/* SECCIÓN */
.contacto-section {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.contacto-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
        margin: 0 0 20px 0;

}

/* CONTENEDOR */
.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 👈 2 columnas */
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    text-align: left;
}

/* FORMULARIO */
.contacto-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto-form input,
.contacto-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
}

.contacto-form textarea {
    min-height: 120px;
    resize: none;
}

.contacto-form button {
    padding: 15px;
    border: none;
    background: #111;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.contacto-form button:hover {
    background: #e63946;
}

/* INFO */
.contacto-info {
    background: #111;
    color: white;
    padding: 40px;
    border-radius: 15px;
}

.contacto-info h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.contacto-info p {
    margin-bottom: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacto-info i {
    color: #e63946;
    font-size: 18px;
}

.contacto-extra {
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
}

/*pantalla repuestos */

/* HERO */
.repuestos-hero {
    text-align: center;
    padding: 80px 20px 40px;
    background: #111;
    color: white;
}

.repuestos-hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* FILTROS */
.filtros {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    flex-wrap: wrap;
}

.filtro {
    padding: 10px 20px;
    border: none;
    background: #eee;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.filtro.active,
.filtro:hover {
    background: #e63946;
    color: white;
}

/* =========================================
   TITULO REPUESTOS
========================================= */

.repuestos-title {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px 20px 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(38px, 4vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    color: white;
    background: black;
}

/* =========================================
   REPUESTOS PREMIUM ACCORDION
========================================= */

.repuestos-grid {
    width: 100%;
    padding: 10px 40px;
    display: flex;
    justify-content: center;
    background: black;
}

/* CONTENEDOR */
.repuestos-box {
    width: 100%;
    max-width: 1700px;
    height: 700px;

    display: flex;

    border-radius: 40px;
    overflow: hidden;

    box-shadow:
    0 30px 80px rgba(0,0,0,0.12);
}

/* CARDS */
.repuesto-card {
    flex: 1;
    position: relative;

    overflow: hidden;
    cursor: pointer;

    transition:
    flex 0.7s cubic-bezier(.22,.61,.36,1),
    transform 0.5s ease;

    display: flex;
    align-items: flex-end;
}

/* EXPANSIÓN */
.repuestos-box:hover .repuesto-card {
    flex: 0.8;
}

.repuestos-box .repuesto-card:hover {
    flex: 2;
}

/* OVERLAY */
.repuesto-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
    linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.2) 45%,
        rgba(0,0,0,0.05) 100%
    );

    z-index: 1;
}

/* EFECTO ZOOM */
.repuesto-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background: inherit;

    transition: transform 1s ease;
}

.repuesto-card:hover::after {
    transform: scale(1.08);
}

/* CONTENIDO */
.card-overlay {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

/* LOGOS */
.brand-logo {
    width: 220px;
    max-width: 90%;
    object-fit: contain;
    filter:
    drop-shadow(0 10px 25px rgba(0,0,0,0.45));
    transition: 0.5s ease;
}

/* EFECTO HOVER */
.repuesto-card:hover .brand-logo {
    transform: scale(1.06);
}

/* BOTÓN */
.btn-repuestos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 5%;
    padding: 14px 30px;
    border-radius: 50px;
    background: #e63946;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* HOVER BOTÓN */
.btn-repuestos:hover {
    background: white;
    color: black;
    transform: translateY(-4px);
}

/* APARECE BOTÓN */
.repuesto-card:hover .btn-repuestos {
    opacity: 1;
    transform: translateY(0);

    pointer-events: auto;
}

/* FONDOS */
.repuesto-card:nth-child(1) {
    background:
    url('../img/camiones-repuestos/camion-atego.png') center/cover no-repeat;
}

.repuesto-card:nth-child(2) {
    background:
    url('../img/camiones-repuestos/camion-actros.png') center/cover no-repeat;
}

.repuesto-card:nth-child(3) {
    background:
    url('../img/camiones-repuestos/camion-scania.png') center/cover no-repeat;
}

.repuesto-card:nth-child(4) {
    background:
    url('../img/camiones-repuestos/camion-daf.png') center/cover no-repeat;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .repuestos-box {
        flex-direction: column;
        height: auto;
    }

    .repuesto-card {
        min-height: 220px;
    }

    .repuestos-box:hover .repuesto-card,
    .repuestos-box .repuesto-card:hover {
        flex: 1;
    }

    .card-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .card-overlay h3 {
        font-size: 28px;
    }

}

/* =========================================
   PAGINA ATEGO
========================================= */

.page-atego {
    background: #000;
    color: white;
}

/* HERO */
.atego-hero {
    position: relative;
    width: 100%;
    min-height: 1vh;
    background:
    linear-gradient(rgba(0,0,0,0.6),
    rgba(0,0,0,0.8)),
    url("../img/atego-bg.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    overflow: hidden;
}

.atego-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 20px;
}

.atego-logo {
    width: 220px;
    margin-bottom: 30px;
}

.atego-content h1 {
    font-size: 55px;
    margin-bottom: 20px;
    font-weight: 700;
}

/* =========================================
   CONTENEDOR
========================================= */

.atego-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1400px;
    text-align: center;
}

/* =========================================
   TOP INFO
========================================= */

.atego-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.atego-logo {
    width: 250px;
    flex-shrink: 0;
    margin: 0;
}

.atego-info h1 {
    font-size: 45px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

/* =========================================
   BUSCADOR
========================================= */

.buscador-container {
    width: 100%;
    max-width: 848px;
    margin: 30px auto 0;
    position: relative;
}

.buscador-container i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 16px;
}

#buscador-productos {
    width: 100%;
    height: 58px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 0 20px 0 80px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: 0.3s ease;
    backdrop-filter: blur(8px);
}

#buscador-productos:focus {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
}

#buscador-productos::placeholder {
    color: rgba(255,255,255,0.45);
}

/* =========================================
   BOTONES LINEAS
========================================= */

.atego-lineas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.linea-btn {
    padding: 11px 35px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.4s ease;
    backdrop-filter: blur(8px);
}

/* HOVER */

.linea-btn:hover {
    transform: translateY(-5px);
    background: #ffffff;
    color: #000;
    box-shadow: 0 15px 35px rgba(255,255,255,0.15);
}

/* ACTIVO */

.linea-btn.active {
    background: white;
    color: black;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 900px) {

    .atego-top {
        flex-direction: column;
        text-align: center;
    }

    .atego-info h1 {
        font-size: 42px;
    }

    .atego-lineas {
        justify-content: center;
    }
}

/* =========================================
   PRODUCTOS
========================================= */

.productos-section {
    width: 100%;
    padding: 25px 40px;
    background: #000;
}

.productos-grid {
    max-width: 1500px;
    margin: auto;
    display: grid;
    grid-template-columns:
    repeat(4, 1fr);
    gap: 30px;
    margin-top: 15px;
}

/* CARD */
.producto-card {
    background: #111;
    border-radius: 25px;
    overflow: hidden;
    padding: 25px;
    transition: 0.4s ease;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    min-height: 430px;
}

.producto-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
}

.producto-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 20px;
}

.producto-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

/* SKU */
.producto-sku {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* BOTON */
.btn-info {
    margin-top: auto;
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    background: white;
    color: black;
    font-weight: 700;
    transition: 0.3s ease;
    flex-shrink: 0;
}

.btn-info:hover {
    background: #d8d8d8;
    transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE
========================================= */

/* TABLET */
@media(max-width: 1100px) {

    .productos-grid {
        grid-template-columns:
        repeat(3, 1fr);
    }
}

/* TABLET PEQUEÑA */
@media(max-width: 768px) {

    .productos-section {
        padding: 60px 20px;
    }

    .productos-grid {
        grid-template-columns:
        repeat(2, 1fr);
        gap: 20px;
    }

    .producto-card {
        padding: 20px;
    }

    .producto-card img {
        height: 180px;
    }

    .producto-card h3 {
        font-size: 18px;
    }
}

/* MOVIL */

@media(max-width: 520px) {

    .productos-grid {
        grid-template-columns:
        1fr;
    }

    .producto-card img {
        height: 200px;
    }
}