﻿
/* ==================================
   PUNTOMIX - PÁGINA DE INICIO
   ================================== */

/* Banner principal */

.hero-section {
    padding: 24px 0;
}

.hero-banner {
    display: block;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.hero-banner:hover {
    transform: translateY(-3px);
}

/* Adaptación móvil */

@media (max-width: 768px) {
    .hero-section {
        padding: 15px 0;
    }

    .hero-banner {
        border-radius: 12px;
    }
}


/* ==================================
   PUNTOMIX - CATEGORÍAS
   ================================== */

.categories-section {
    padding: 25px 0 45px;
}

/* Encabezado de sección */

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

    .section-heading h2 {
        margin: 0;
        font-size: 26px;
        font-weight: 800;
        color: var(--color-text);
    }

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
}

    .section-link svg {
        width: 17px;
        height: 17px;
    }

    .section-link:hover {
        text-decoration: underline;
    }

/* Cuadrícula de categorías */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

/* Tarjetas */

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 155px;
    padding: 20px 12px;
    background: white;
    border: 1px solid #F0E8DF;
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .category-card:hover {
        transform: translateY(-5px);
        border-color: var(--color-primary);
        box-shadow: 0 8px 24px rgba(255, 107, 53, 0.12);
    }

/* Iconos */

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    background: #FFF0E6;
    color: var(--color-primary);
    border-radius: 20px;
}

    .category-icon svg {
        width: 37px;
        height: 37px;
        stroke-width: 1.7;
    }

/* Nombre de categoría */

.category-card h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
}

/* ==================================
   PUNTOMIX - PROMOCIONES
   ================================== */

.promotions-section {
    padding: 0 0 50px;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* Tarjetas promocionales */

.promotion-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 220px;
    padding: 30px;
    border-radius: 18px;
    overflow: hidden;
}

/* Colores */

.combo-card {
    background: linear-gradient( 120deg, #FFE5A8, #FFD166 );
}

.offers-card {
    background: linear-gradient( 120deg, #FFE5D5, #FFC6A8 );
}

/* Contenido */

.promotion-content {
    position: relative;
    z-index: 2;
    max-width: 70%;
}

.promotion-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #9C4A19;
}

    .promotion-label svg {
        width: 16px;
        height: 16px;
    }

.promotion-content h2 {
    margin: 0 0 8px;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.15;
    color: #E94E25;
}

.promotion-content p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #67432F;
}

/* Botones */

.promotion-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    background: var(--color-primary);
    color: white;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .promotion-btn:hover {
        background: #E85B28;
        color: white;
        transform: translateY(-2px);
    }

    .promotion-btn svg {
        width: 16px;
        height: 16px;
    }

/* Decoración */

.promotion-decoration {
    position: absolute;
    right: 20px;
    bottom: 20px;
    opacity: 0.18;
    color: #E94E25;
    transform: rotate(-12deg);
}

    .promotion-decoration svg {
        width: 145px;
        height: 145px;
        stroke-width: 1.2;
    }
