/* ============================================================
   Smart Mobility Solutions Section
   ============================================================ */

.huc-solutions {
    --huc-solutions-accent: var(--huc-accent-clr);
    --huc-solutions-accent-soft: rgba(var(--huc-accent-rgb), 0.12);
    --huc-solutions-border: color-mix(in srgb, var(--huc-darkGray-clr) 10%, transparent);
    --huc-solutions-tile-bg: color-mix(in srgb, var(--huc-darkGray-clr) 6%, var(--huc-white-clr));
}

/* ---- Tile grid (left) ---- */
.huc-solutions-tile {
    position: relative;
    height: 100%;
    min-height: 150px;
    border-radius: 14px;
    overflow: hidden;
    background-color: var(--huc-solutions-tile-bg);
}

.huc-solutions-tile__visual {
    height: 100%;
}

.huc-solutions-tile__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.huc-solutions-tile__caption {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    background: linear-gradient(0deg, rgba(var(--huc-blue-rgb), 0.88) 0%, rgba(var(--huc-blue-rgb), 0.55) 70%, rgba(var(--huc-blue-rgb), 0) 100%);
}

.huc-solutions-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--huc-solutions-accent);
    color: var(--huc-white-clr);
    font-size: 0.75rem;
}

.huc-solutions-tile__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.huc-solutions-tile__text strong {
    color: var(--huc-white-clr);
    font-size: 0.6875rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.huc-solutions-tile__text small {
    color: rgba(var(--huc-white-rgb), 0.75);
    font-size: 0.5625rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- Solution cards (right) ---- */
.huc-solutions-cards {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    height: 100%;
}

.huc-solutions-card {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    background-color: var(--huc-white-clr);
    border: 1px solid var(--huc-solutions-border);
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(var(--huc-blue-rgb), 0.04);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.huc-solutions-card:hover {
    transform: translateY(-2px);
    border-color: var(--huc-solutions-accent);
    box-shadow: 0 12px 24px rgba(var(--huc-blue-rgb), 0.08);
}

.huc-solutions-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--huc-solutions-accent);
    color: var(--huc-white-clr);
    font-size: 1.125rem;
}

.huc-solutions-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}

.huc-solutions-card__tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background-color: var(--huc-solutions-accent-soft);
    color: var(--huc-solutions-accent);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.huc-solutions-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--huc-darkGray-clr);
}

.huc-solutions-card__desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--huc-gray-clr);
}

.huc-solutions-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-left: auto;
    border-radius: 50%;
    border: 1px solid var(--huc-solutions-border);
    color: var(--huc-gray-clr);
    font-size: 0.8125rem;
    transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.huc-solutions-card:hover .huc-solutions-card__arrow {
    background-color: var(--huc-solutions-accent);
    border-color: var(--huc-solutions-accent);
    color: var(--huc-white-clr);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .huc-solutions-tile {
        min-height: 130px;
    }
}

@media (max-width: 767.98px) {
    .huc-solutions-card {
        flex-wrap: wrap;
    }

    .huc-solutions-card__arrow {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .huc-solutions-tile {
        min-height: 120px;
    }

    .huc-solutions-card__icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}
