/* =====================================================
   WILFORT V2 - INDEX
   Estilos exclusivos de la página de inicio
===================================================== */

/* =====================================================
   HERO / BANNER PRINCIPAL
===================================================== */

.hero {

    width: 100%;

    min-height: 610px;

    position: relative;

    display: flex;

    align-items: center;

    background-image:

        linear-gradient(

            90deg,

            rgba(0, 0, 0, 0.93) 0%,

            rgba(0, 0, 0, 0.78) 33%,

            rgba(0, 0, 0, 0.30) 62%,

            rgba(0, 0, 0, 0.05) 100%

        ),

        url("../img/banners/baner.png");

    background-size:
        cover;

    background-position:
        center center;

    background-repeat:
        no-repeat;

}


.hero-container {

    width: 92%;

    max-width: 1450px;

    margin: 0 auto;

    position: relative;

    z-index: 2;

}


.hero-content {

    max-width: 670px;

}


.hero-small {

    color:
        #bdbdbd;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 5px;

}


.hero h1 {

    margin-top: 22px;

    color:
        #ffffff;

    font-size:
        clamp(44px, 5vw, 74px);

    font-weight: 900;

    line-height: 0.98;

    letter-spacing: -1px;

}


.hero h1 span {

    display: block;

    color:
        var(--orange);

}


.hero p {

    max-width: 510px;

    margin-top: 24px;

    color:
        #d3d3d3;

    font-size: 17px;

    line-height: 1.65;

}


.hero-buttons {

    margin-top: 34px;

    display: flex;

    align-items: center;

    gap: 14px;

}


/* =====================================================
   BENEFICIOS DEBAJO DEL BANNER
===================================================== */

.quick-benefits {

    width: 100%;

    background:
        #0c0c0c;

    border-top:

        1px solid #272727;

    border-bottom:

        1px solid #272727;

}


.benefits-container {

    width: 92%;

    max-width: 1450px;

    min-height: 94px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

}


.benefit {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 17px;

    padding:
        20px;

    border-right:

        1px solid #252525;

}


.benefit:last-child {

    border-right: none;

}


.benefit-icon {

    color:
        var(--orange);

    font-size: 28px;

}


.benefit strong {

    display: block;

    margin-bottom: 5px;

    color:
        #ffffff;

    font-size: 14px;

}


.benefit span {

    color:
        #818181;

    font-size: 12px;

}


/* =====================================================
   SECCIÓN CATEGORÍAS
===================================================== */

.categories-section {
    padding: 65px 0 75px;

    background: linear-gradient(
        180deg,
        #080808 0%,
        #0b0b0b 100%
    );
}


/* =====================================================
   CABECERA
===================================================== */

.section-header {
    margin-bottom: 28px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}

.section-header h2 {
    margin-top: 8px;

    color: #ffffff;

    font-size: 32px;
    font-weight: 800;

    line-height: 1.1;
}

.section-mini {
    color: var(--orange);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 4px;

    text-transform: uppercase;
}

.section-link {
    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--orange);

    font-size: 12px;
    font-weight: 700;

    transition: 0.2s ease;
}

.section-link:hover {
    color: var(--orange-light);
    gap: 13px;
}


/* =====================================================
   GRID - 8 CATEGORÍAS EN UNA FILA
===================================================== */

.categories-grid {
    display: grid;

    grid-template-columns: repeat(8, minmax(0, 1fr));

    gap: 12px;

    width: 100%;
}


/* =====================================================
   TARJETA
===================================================== */

.category-card {
    height: 260px;

    position: relative;

    display: block;

    overflow: hidden;

    background: #111111;

    border: 1px solid #292929;
    border-radius: 9px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);

    border-color: var(--orange);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 101, 0, 0.1);
}


/* =====================================================
   IMAGEN
===================================================== */

.category-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

.category-card:hover img {
    transform: scale(1.07);

    filter: brightness(1.08);
}


/* =====================================================
   SOMBRA SOBRE LA IMAGEN
===================================================== */

.category-overlay {
    position: absolute;

    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.02) 25%,
        rgba(0, 0, 0, 0.18) 45%,
        rgba(0, 0, 0, 0.92) 100%
    );
}


/* =====================================================
   INFORMACIÓN DE LA CATEGORÍA
===================================================== */

.category-info {
    width: 100%;

    position: absolute;

    left: 0;
    bottom: 0;

    padding: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 6px;
}

.category-info h3 {
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.2;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.8);
}


/* FLECHA */

.category-info span {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

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

    border-radius: 50%;

    color: var(--orange);

    background: rgba(0, 0, 0, 0.55);

    border:
        1px solid rgba(255, 101, 0, 0.55);

    transition: 0.25s ease;
}

.category-card:hover .category-info span {
    background: var(--orange);

    color: #ffffff;

    transform: translateX(2px);
}


/* =====================================================
   PROTECCIÓN BALÍSTICA
   texto un poco más pequeño porque es largo
===================================================== */

.category-card:nth-child(6) .category-info h3 {
    font-size: 11px;
}


/* =====================================================
   CATEGORÍAS - CELULAR MÁS CUADRADAS
===================================================== */

@media (max-width: 700px) {

    .categories-section {
        padding: 50px 0 60px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 22px;
    }

    .section-header h2 {
        font-size: 27px;
    }

    /* FILA HORIZONTAL DESLIZABLE */
    .categories-grid {
        display: flex;
        gap: 12px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;

        padding-bottom: 10px;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .categories-grid::-webkit-scrollbar {
        display: none;
    }

    /* TARJETAS MÁS CUADRADAS */
    .category-card {
        flex: 0 0 62%;
        aspect-ratio: 1 / 1.08;

        height: auto;
        min-width: 0;

        scroll-snap-align: start;

        border-radius: 10px;
    }

    .category-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .category-info {
        padding: 14px;
    }

    .category-info h3 {
        font-size: 14px;
        line-height: 1.2;
    }

    .category-info span {
        width: 32px;
        height: 32px;
    }

}
/* CELULAR PEQUEÑO */
@media (max-width: 430px) {

    .category-card {
        flex: 0 0 68%;
        aspect-ratio: 1 / 1.08;
    }

}

/* =====================================================
   OFERTAS DESTACADAS
===================================================== */

.offers-section {
    padding: 75px 0 85px;

    background: #080808;
}


/* GRID */

.offers-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


/* =====================================================
   PRODUCT CARD
===================================================== */

.product-card {
    overflow: hidden;

    background:
        #111111;

    border:
        1px solid #292929;

    border-radius:
        10px;

    transition:
        0.3s ease;
}

.product-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(255, 101, 0, 0.6);

    box-shadow:
        0 10px 35px rgba(0,0,0,0.35);
}


/* =====================================================
   IMAGEN
===================================================== */

.product-image {
    height: 290px;

    position: relative;

    overflow: hidden;

    background:
        #181818;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform:
        scale(1.05);
}


/* =====================================================
   DESCUENTO
===================================================== */

.discount-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 3;

    padding:
        7px 10px;

    background:
        var(--orange);

    color:
        #ffffff;

    border-radius:
        5px;

    font-size:
        12px;

    font-weight:
        800;
}


/* =====================================================
   ACCIONES
===================================================== */

.product-actions {
    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 3;

    display: flex;

    flex-direction: column;

    gap: 8px;
}

.product-actions button,
.product-actions a {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid #333333;

    border-radius:
        50%;

    background:
        rgba(0,0,0,0.75);

    color:
        #ffffff;

    font-size:
        14px;

    transition:
        0.2s ease;
}

.product-actions button {
    cursor: pointer;
}

.product-actions button:hover,
.product-actions a:hover {
    background:
        var(--orange);

    border-color:
        var(--orange);
}


/* =====================================================
   CONTENIDO
===================================================== */

.product-content {
    padding:
        18px;
}

.product-category {
    color:
        var(--orange);

    font-size:
        10px;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        1px;
}

.product-content h3 {
    margin-top:
        8px;

    color:
        #ffffff;

    font-size:
        17px;

    font-weight:
        700;

    line-height:
        1.3;
}


/* =====================================================
   PRECIO
===================================================== */

.product-price {
    margin:
        14px 0 17px;

    display:
        flex;

    align-items:
        center;

    gap:
        10px;
}

.old-price {
    color:
        #666666;

    font-size:
        13px;

    text-decoration:
        line-through;
}

.product-price strong {
    color:
        var(--orange);

    font-size:
        21px;

    font-weight:
        900;
}


/* =====================================================
   BOTÓN
===================================================== */

.product-button {
    width:
        100%;

    min-height:
        43px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        9px;

    background:
        var(--orange);

    border:
        1px solid var(--orange);

    border-radius:
        5px;

    color:
        #ffffff;

    font-size:
        12px;

    font-weight:
        800;

    text-transform:
        uppercase;

    transition:
        0.2s ease;
}

.product-button:hover {
    background:
        var(--orange-light);

    transform:
        translateY(-1px);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

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

}


@media (max-width: 700px) {

    .offers-section {
        padding:
            55px 0 65px;
    }

    .offers-grid {
        display:
            flex;

        gap:
            14px;

        overflow-x:
            auto;

        overflow-y:
            hidden;

        scroll-snap-type:
            x mandatory;

        padding-bottom:
            10px;

        scrollbar-width:
            none;

        -webkit-overflow-scrolling:
            touch;
    }

    .offers-grid::-webkit-scrollbar {
        display:
            none;
    }

    .product-card {
        flex:
            0 0 78%;

        scroll-snap-align:
            start;
    }

    .product-image {
        height:
            260px;
    }

}


@media (max-width: 430px) {

    .product-card {
        flex:
            0 0 84%;
    }

    .product-image {
        height:
            235px;
    }

}
/* =====================================================
   UBICACIÓN / VISÍTANOS
===================================================== */

.location-section {
    padding: 80px 0;

    background:
        linear-gradient(
            180deg,
            #0b0b0b 0%,
            #070707 100%
        );

    border-top: 1px solid #1c1c1c;
}


/* =====================================================
   GRID PRINCIPAL
===================================================== */

.location-grid {
    display: grid;

    grid-template-columns:
        1.3fr 1fr;

    min-height: 430px;

    overflow: hidden;

    border: 1px solid #292929;

    border-radius: 12px;

    background: #101010;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25);
}


/* =====================================================
   MAPA
===================================================== */

.location-map {
    min-height: 430px;

    background: #111111;
}

.location-map iframe {
    width: 100%;
    height: 100%;

    min-height: 430px;

    display: block;

    border: none;

    filter: none;
}
/* =====================================================
   INFORMACIÓN
===================================================== */

.location-info {
    padding: 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background:
        radial-gradient(
            circle at top right,
            rgba(255, 101, 0, 0.10),
            transparent 38%
        ),
        #101010;
}


/* TEXTO PEQUEÑO */

.location-mini {
    color: var(--orange);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 4px;

    text-transform: uppercase;
}


/* TÍTULO */

.location-info h3 {
    max-width: 430px;

    margin-top: 12px;
    margin-bottom: 32px;

    color: #ffffff;

    font-size: 28px;

    font-weight: 800;

    line-height: 1.25;
}


/* =====================================================
   DATOS DE UBICACIÓN
===================================================== */

.location-details {
    display: flex;

    flex-direction: column;

    gap: 22px;
}


/* CADA ITEM */

.location-item {
    display: flex;

    align-items: flex-start;

    gap: 15px;
}


/* ÍCONO */

.location-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background:
        rgba(255, 101, 0, 0.08);

    border:
        1px solid rgba(255, 101, 0, 0.35);

    color: var(--orange);

    font-size: 16px;

    transition: 0.25s ease;
}


/* EFECTO DEL ÍCONO */

.location-item:hover .location-icon {
    background: var(--orange);

    color: #ffffff;

    border-color: var(--orange);

    transform: translateY(-2px);
}


/* NOMBRE DEL DATO */

.location-item span {
    display: block;

    margin-bottom: 4px;

    color: #777777;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.7px;
}


/* TEXTO PRINCIPAL */

.location-item strong {
    display: block;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.5;
}


/* TEXTO SECUNDARIO */

.location-item p {
    margin-top: 3px;

    color: #999999;

    font-size: 13px;

    line-height: 1.5;
}


/* =====================================================
   BOTONES
===================================================== */

.location-buttons {
    margin-top: 32px;

    display: flex;

    gap: 12px;
}


/* BOTONES GENERALES */

.location-map-button,
.location-whatsapp-button {
    min-height: 46px;

    padding: 0 20px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    transition: 0.25s ease;
}


/* BOTÓN MAPA */

.location-map-button {
    background: var(--orange);

    color: #ffffff;

    border: 1px solid var(--orange);
}


.location-map-button:hover {
    background: var(--orange-light);

    border-color: var(--orange-light);

    transform: translateY(-2px);
}


/* BOTÓN WHATSAPP */

.location-whatsapp-button {
    background: transparent;

    color: #ffffff;

    border: 1px solid #3a3a3a;
}


.location-whatsapp-button:hover {
    border-color: var(--orange);

    color: var(--orange);

    transform: translateY(-2px);
}


/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 900px) {

    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-map,
    .location-map iframe {
        min-height: 350px;
    }

    .location-info {
        padding: 38px 30px;
    }

}


/* =====================================================
   RESPONSIVE - CELULAR
===================================================== */

@media (max-width: 600px) {

    .location-section {
        padding: 55px 0;
    }

    .location-map,
    .location-map iframe {
        min-height: 280px;
    }

    .location-info {
        padding: 30px 22px;
    }

    .location-info h3 {
        font-size: 23px;

        margin-bottom: 26px;
    }

    .location-details {
        gap: 20px;
    }

    .location-icon {
        width: 39px;
        height: 39px;

        font-size: 15px;
    }

    .location-buttons {
        flex-direction: column;
    }

    .location-map-button,
    .location-whatsapp-button {
        width: 100%;
    }

}


/* =====================================================
   CELULAR PEQUEÑO
===================================================== */

@media (max-width: 400px) {

    .location-info {
        padding: 26px 18px;
    }

    .location-info h3 {
        font-size: 21px;
    }

    .location-item {
        gap: 12px;
    }

    .location-item strong {
        font-size: 13px;
    }

    .location-item p {
        font-size: 12px;
    }

}



/* =====================================================
   RESPONSIVE DEL INDEX
===================================================== */

@media (max-width: 950px) {
    .hero {
        min-height: 620px;
        background-position: 65% center;
    }

    .hero h1 {
        font-size: 52px;
    }

    .benefits-container {
        grid-template-columns: 1fr;
    }

    .benefit {
        justify-content: flex-start;
        border-right: none;
        border-bottom: 1px solid #222222;
    }

    .benefit:last-child {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 610px;
        background-position: 68% center;
    }

    .hero-container {
        width: 90%;
    }

    .hero-small {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 36px;
    }
}
