/* Homepage — Solutions (light) + Photobooth by category (dark band) */

/* ── Explore Our Solutions — white, large featured cards ── */
.home-solutions {
    background: #fff;
    padding-top: 72px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--bg-sand-border);
}

.home-solutions__head {
    text-align: center;
    margin-bottom: 48px;
}

.home-solutions__title {
    margin: 8px 0 12px;
}

.home-solutions__lead {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.home-solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.home-solutions__card {
    box-shadow: var(--shadow-md);
    border-color: var(--bg-sand-border);
}

.home-solutions__card:hover {
    box-shadow: 0 24px 48px rgba(90, 90, 206, 0.14);
}

.home-solutions__card .hub-card-img {
    background: var(--bg-sand);
}

/* ── Photobooth by category — dark band, compact cards ── */
.home-photobooth-types {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124, 124, 240, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, var(--bg-charcoal) 0%, #14141f 100%);
    padding-top: 64px;
    padding-bottom: 72px;
    color: #fff;
}

.home-photobooth-types__head {
    text-align: center;
    margin-bottom: 40px;
}

.home-photobooth-types__head .h2 {
    margin: 8px 0 12px;
}

.home-photobooth-types__lead {
    color: var(--text-dark-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

.home-photobooth-types__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.home-booth-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--bg-charcoal-card);
    border: 1px solid var(--bg-charcoal-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.home-booth-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-indigo);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.home-booth-card__img {
    aspect-ratio: 1 / 1;
    background: var(--bg-sand);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-booth-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

.home-booth-card__body {
    padding: 16px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--bg-charcoal-border);
}

.home-booth-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.home-booth-tag {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 9px;
    border-radius: 100px;
    background: rgba(124, 124, 240, 0.2);
    color: var(--color-indigo-light);
    border: 1px solid rgba(124, 124, 240, 0.35);
}

.home-booth-tag--muted {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dark-muted);
    border-color: rgba(255, 255, 255, 0.1);
}

.home-booth-tag--accent {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.3);
}

.home-booth-tag--green {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.3);
}

.home-booth-card__title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: #fff;
    line-height: 1.25;
}

.home-booth-card__text {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

@media (max-width: 1024px) {
    /* Explore Our Solutions — always 3 cards in one row (same as desktop) */
    .home-solutions__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-photobooth-types__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-solutions__title {
        font-size: 1.8rem;
    }

    .home-solutions__lead {
        font-size: 1rem;
    }

    .home-photobooth-types__head .h2 {
        font-size: 1.8rem;
    }

    .home-photobooth-types__lead {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .home-solutions {
        padding-top: 48px;
        padding-bottom: 56px;
    }

    .home-photobooth-types {
        padding-top: 48px;
        padding-bottom: 56px;
    }

    .home-solutions__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .home-photobooth-types__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .home-solutions__head {
        margin-bottom: 32px;
    }

    /* Compact hub cards — 3-up on narrow viewports */
    .home-solutions__card .hub-card-img {
        padding: 8px;
    }

    .home-solutions__card .hub-card-body {
        padding: 10px 8px 12px;
    }

    .home-solutions__card .hub-card-tags {
        gap: 4px;
        margin-bottom: 6px;
    }

    .home-solutions__card .hub-tag {
        font-size: 0.5rem;
        padding: 2px 5px;
        letter-spacing: 0.04em;
    }

    .home-solutions__card .hub-card-title {
        font-size: 0.68rem;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .home-solutions__card .hub-card-text {
        font-size: 0.58rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-booth-card__img {
        padding: 8px;
    }

    .home-booth-card__body {
        padding: 10px 8px 12px;
    }

    .home-booth-card__tags {
        gap: 4px;
        margin-bottom: 6px;
    }

    .home-booth-tag {
        font-size: 0.5rem;
        padding: 2px 5px;
    }

    .home-booth-card__title {
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .home-booth-card__text {
        font-size: 0.58rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
