﻿/* =========================
   PAGE - INDEX (COMERCIAL)
========================= */

/* HERO */

.hero {
    background: linear-gradient(135deg, var(--color-primary), #082C45);
    color: white;
    padding: 130px 20px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero-highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

.btn-hero {
    padding: 18px 40px;
    font-size: 16px;
    border-radius: 10px;
}

/* BENEFICIOS */

.trust {
    padding: 40px 0;
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    flex-wrap: wrap;
}

/* TITULOS DE SECCIÓN */

.section-white h2,
.section-light h2 {
    text-align: center;
    position: relative;
}

    .section-white h2::after,
    .section-light h2::after {
        content: "";
        display: block;
        width: 60px;
        height: 4px;
        background: var(--color-accent);
        margin: 12px auto 0;
        border-radius: 2px;
    }

/* HOW IT WORKS */

.how-card {
    text-align: center;
    padding-top: 50px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* =========================
   KIOSK CON IMAGEN
========================= */

.kiosk-card-image {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

    .kiosk-card-image:hover:not(.kiosk-offline) {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.15);
    }

.kiosk-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

    .kiosk-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.kiosk-card-image:hover .kiosk-image-wrapper img {
    transform: scale(1.05);
}

.kiosk-status-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

    .kiosk-status-overlay.online {
        background: rgba(31,138,112,0.85);
        color: white;
    }

    .kiosk-status-overlay.offline {
        background: rgba(214,69,65,0.85);
        color: white;
    }

.kiosk-body {
    padding: 20px;
}

    .kiosk-body h3 {
        margin-bottom: 8px;
    }

.kiosk-address {
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 18px;
}

.kiosk-disabled-text {
    font-size: 13px;
    color: var(--color-muted);
}

.kiosk-offline {
    opacity: 0.8;
}

.btn-full {
    width: 100%;
    margin-top: 15px;
}

/* HOW ICONS */

.how-icon {
    font-size: 38px;
    color: var(--color-accent);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.how-card:hover .how-icon {
    transform: scale(1.1);
}
/* =========================
   PRODUCTOS V2
========================= */

.product-card-v2 {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

    .product-card-v2:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 45px rgba(0,0,0,0.15);
    }

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.product-stock {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

    .product-stock.in-stock {
        color: var(--color-accent);
    }

    .product-stock.out-stock {
        color: var(--color-muted);
    }

.product-image {
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 20px;
}

    .product-image img {
        max-height: 170px;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

.product-card-v2:hover .product-image img {
    transform: scale(1.08);
}

/* RESPONSIVE */

@media (max-width: 600px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .trust-grid {
        gap: 20px;
        font-size: 14px;
    }
}

.kiosk-card .kiosk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}