.hero {
    position: relative;
    width: 100%;
    height: 104vh;
    overflow: hidden;
}

.fondo-principal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* ===== TEXTO PRINCIPAL (Innovación Industrial Aplicada) ===== */
.hero-contenido {
    position: absolute;
    top: 20%;
    left: 5%;
    z-index: 1;
    max-width: 389px;
}

.hero-contenido h1 {
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
    font-size: 4.5rem;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-contenido p {
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    max-width: 480px;
}

/* ===== PANEL BLANCO CON LOGO (esquina inferior derecha) ===== */
.hero-panel-blanco {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    height: 55%;

    border-top-left-radius: 80px;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 50%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1117px) {
    .hero {
        position: relative;
        width: 100%;
        height: 60vh;
    }
    .hero-contenido h1 {
        font-size: 2.8rem;
    }
    .hero-contenido p {
        font-size: 1.2rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    }
    .hero-contenido {
        top: 33%;
        left: 4%;
    }

    .hero-panel-blanco {
        width: 60%;
        height: 40%;
        border-top-left-radius: 50px;
    }

    .hero-logo {
        width: 50%;
    }
    .hero-contenido p {
        max-width: 22rem;
    }
    .fondo-principal {
        position: absolute;
        top: 0;
        left: 0;
        width: 110%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }
}
@media (max-width: 600px) {
    .hero-panel-blanco {
        position: absolute;
        bottom: 0;
        left: 155px;
    }
    .hero-contenido h1 {
        font-size: 2rem;
    }

    .hero-contenido p {
        font-size: 0.9rem;
    }

    .hero-panel-blanco {
        width: 75%;
        height: 30%;
    }
    .hero-contenido {
        max-width: 193px;
    }
}

/* ===== TÍTULO DE SECCIÓN ===== */
.titulo-seccion {
    text-align: center;
    text-align: center;
    margin: clamp(2rem, 3vw, 4rem) auto;
    /* clamp(pantallas de celular, pantalla hd y full, pantallas de 2000px) auto; */
}

.titulo-seccion h2 {
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
    font-size: clamp(2.8rem, 4vw, 6rem);
    color: var(--negro, #1a1a1a);
    margin-bottom: 1rem;
}

.titulo-seccion p {
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 2.8rem);
    color: var(--gris, #555);
    margin: 0;
}

/* ===== SECCIÓN PRODUCTOS ===== */
.productos {
    padding: 5rem 0rem;
}
/* --- Flechas base (Escritorio) --- */
.carrusel-productos {
    display: flex;
    align-items: center;
    position: relative;
}

/* Aseguramos que las clases específicas mantengan su comportamiento en PC */
.flecha-producto {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primario, #f5c518);
    flex-shrink: 0;
    z-index: 2;
}

.flecha-producto svg {
    width: 60px;
    height: 60px;
}

.flecha-producto:hover {
    filter: brightness(1.2);
}

/* --- Track / lista en PC --- */
.productos-track {
    overflow: hidden;
    flex: 1;
}

.productos-lista {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto; /* Habilitamos scroll nativo suave también en PC */
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Oculta la barra en Firefox */
}

.productos-lista::-webkit-scrollbar {
    display: none; /* Oculta la barra en Chrome/Safari */
}

.producto-card {
    flex: 0 0 clamp(12rem, 29.4vw, 22.5vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.producto-imagen {
    width: 100%;
    height: 460px;
    background-color: #ececec;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 2rem;
}

.producto-imagen img {
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
}

.producto-nombre {
    font-family: "Noto Sans", sans-serif;
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--negro, #1a1a1a);
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.producto-boton {
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    background-color: var(--negro, #0d0d1a);
    color: var(--primario, #f5c518);
    padding: 1.1rem 3rem;
    border-radius: 14px;
    transition: filter 0.2s ease;
}

.producto-boton:hover {
    filter: brightness(1.3);
}

/* --- Panel de información fijo --- */
.productos-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
    padding-left: 1.5rem;
    align-self: flex-start;
}

.productos-titulo-cinta {
    background-color: var(--negro, #0d0d1a);
    border-radius: 40px 0px 0px 40px;
    padding: 1.4rem 3.5rem 1.4rem 2rem;
    margin-bottom: 2.5rem;
    align-self: flex-end;
}

.productos-titulo-cinta h2 {
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
    font-size: 3vw;
    letter-spacing: 2px;
    color: var(--primario, #f5c518);
    margin: 0;
}

.productos-info-titulo {
    font-family: "Noto Sans", sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--negro, #1a1a1a);
    margin: 0;
}

.productos-info-texto {
    font-family: "Noto Sans", sans-serif;
    font-size: 1.3rem;
    color: var(--gris, #555);
    line-height: 1.6;
    margin: 0;
    max-width: 380px;
}
@media (max-width: 1600px) {
    .productos-titulo-cinta h2 {
        font-size: 2.7vw;
    }
}
/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
    .productos-track {
        width: 800px;
    }

    .producto-card {
        flex: 0 0 399px;
    }

    .producto-imagen {
        height: 360px;
    }
}
/* ===== RESPONSIVE ===== */
@media (max-width: 1340px) {
    .carrusel-productos {
        position: relative; /* Ancla para las flechas absolutas */
        padding: 0rem;
        flex-wrap: wrap;
    }

    /* 1. Información arriba (Título y Párrafo) */
    .productos-info {
        order: 1;
        width: 100%;
        padding-left: 0;
        margin-bottom: 1.5rem;
        align-items: center;
        text-align: center;
    }

    .productos-info-texto {
        max-width: 400px;
        margin: 0 auto;
    }

    /* 2. Track y lista de tarjetas en formato carrusel táctil/scroll */
    .productos-track {
        order: 2;
        width: 100%;
        overflow: hidden;
        padding: 1rem;
    }

    .productos-lista {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        transition: transform 0.4s ease;
    }

    /* 3. Flechas flotantes encima del carrusel */
    .flecha-producto {
        position: absolute;
        top: 60%;
        transform: translateY(-50%);
        z-index: 10;

        border-radius: 50%;
        padding: 0.4rem;
    }

    .flecha-producto-izq {
        left: 0.5rem;
    }

    .flecha-producto-der {
        right: 0.5rem;
    }

    .flecha-producto svg {
        width: 40px;
        height: 40px;
        color: var(--primario, #f5c518);
    }
}
@media (max-width: 1020px) {
    .producto-card {
        flex: 0 0 46vw; /* Muestra un poco de la tarjeta siguiente para indicar que hay más */
        scroll-snap-align: center;
    }
}

@media (max-width: 700px) {
    .producto-card {
        flex: 0 0 99%; /* Ocupa prácticamente todo el ancho, centrando un producto a la vez */
        min-width: 99%;
        margin: 0 auto;
    }

    .producto-imagen {
        height: 260px;
    }

    .productos-titulo-cinta h2 {
        font-size: 2.2rem;
    }

    .productos-titulo-cinta {
        padding: 1rem 2rem 1rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .flecha-producto {
        top: 61%;
        padding: 0.3rem;
    }

    .flecha-producto svg {
        width: 60px;
        height: 60px;
    }
}
.marcas .marcas-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4vw;
    flex-wrap: wrap;
}
.marcas img {
    height: clamp(5rem, 6vw, 11rem);
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}
@media (max-width: 700px) {
    .marcas img {
        height: clamp(4rem, 6vw, 11rem);
        filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
    }
}
/* ===== SECCIÓN CATÁLOGOS ===== */
.catalogos {
    padding: 4rem 0rem;
}

/* --- Encabezado --- */
.catalogos-encabezado {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.catalogos-forma-decorativa {
    position: absolute;
    left: 0;
    top: 40px;
    width: 135px;
    height: 250px;
    background-color: rgb(22, 31, 40, 80%);
    border-radius: 0 40px 40px 0;
    z-index: 3;
}

.catalogos-titulo-cinta {
    position: relative;
    z-index: 2;
    background-color: var(--primario, #f5c518);
    border-radius: 0 40px 40px 0;
    padding: 1.5rem 4rem 1.5rem 10rem;
    margin-left: 0;
}

.catalogos-titulo-cinta h2 {
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    letter-spacing: 2px;
    color: var(--negro, #1a1a1a);
    margin: 0;
}

.catalogos-subtitulo {
    font-family: "Noto Sans", sans-serif;
    font-size: 1.3rem;
    color: var(--gris, #555);
    max-width: 700px;
    line-height: 1.6;
    padding-left: 10rem;
    margin-bottom: 4rem;
}

/* --- Lista de catálogos --- */
.catalogos-lista {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 0 10rem;
}

.catalogo-item {
    display: flex;
    align-items: center;
    padding-left: 2rem;
}

.catalogo-item-invertido {
    justify-content: flex-end;
    padding-left: 0;
    padding-right: 2rem;
}

/* --- Barra oscura con título y botones --- */
.catalogo-barra {
    background-color: var(--secundario, #1a1a1a);
    border-radius: 30px;
    padding: 2.5rem 3rem;
    flex: 1;
    display: flex;
    gap: 1.5rem;
    min-height: 200px;
    justify-content: center;
    align-items: center;
}

.catalogo-titulo {
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
}

.catalogo-botones {
    display: flex;
    gap: 1rem;
}

.catalogo-boton {
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    text-align: center;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    background-color: var(--primario, #f5c518);
    color: var(--negro, #1a1a1a);
    transition: filter 0.2s ease;
}

.catalogo-boton:hover {
    filter: brightness(0.9);
}

/* --- Portada del catálogo (superpuesta) --- */
.catalogo-portada {
    flex-shrink: 0;
    width: 79%;
    margin-left: -4rem;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.catalogo-item-invertido .catalogo-portada {
    margin-left: 0;
    margin-right: -4rem;
    order: -1;
}

.catalogo-portada img {
    width: 100%;

    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .catalogos-forma-decorativa {
        width: 48px;
        height: 155px;
    }
    .catalogo-titulo {
        font-family: "Noto Sans", sans-serif;
        font-weight: 700;
        font-size: 1.3rem;
        color: #fff;
    }

    .catalogos-titulo-cinta {
        padding: 1.2rem 2rem 1.2rem 3rem;
    }

    .catalogos-titulo-cinta h2 {
        font-size: 2rem;
    }

    .catalogos-subtitulo {
        padding-left: 4rem;
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .catalogo-item,
    .catalogo-item-invertido {
        flex-direction: column-reverse;
        align-items: center;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        gap: 1.5rem;
    }

    .catalogo-item-invertido {
        flex-direction: column-reverse;
    }

    .catalogo-item-invertido .catalogo-portada {
        order: 1;
    }

    .catalogo-portada {
        margin-left: 0;
        margin-right: 0;
        width: 350px;
    }
    .catalogo-portada img {
        width: 100%;
        height: 125px;
        display: block;
    }

    .catalogo-item-invertido .catalogo-portada {
        margin-right: 0;
    }

    .catalogo-barra {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .catalogo-botones {
        justify-content: center;
        flex-wrap: wrap;
    }
    .catalogos-lista {
        padding: 0;
    }

    .catalogos-forma-decorativa {
        border-radius: 0 30px 30px 0;
    }
}
