/* Hero Rounded Bottom (components/hero/rounded_bottom.html) — copy above, 6 services row at bottom */
.hero-rounded-inner.hero-rounded-bottom .hero-rounded-within-layout {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 32px;
    min-height: inherit;
}
.hero-rounded-inner.hero-rounded-bottom .hero-rounded-within-copy {
    flex: 0 0 auto;
    max-width: min(720px, 100%);
    align-self: flex-start;
}
.hero-rounded-inner.hero-rounded-bottom.hero-rounded-has-img {
    min-height: 680px;
}
.hero-rounded-bottom-services {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.hero-rounded-bottom-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 108px;
    padding: 16px 10px 14px;
    background: #fff;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-rounded-bottom-service-item:hover {
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.hero-rounded-bottom-service-item:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.hero-rounded-bottom-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}
.hero-rounded-bottom-service-icon i {
    font-size: 1.15rem;
    color: #fff;
    transition: color 0.2s ease;
}
.hero-rounded-bottom-service-item:hover .hero-rounded-bottom-service-icon {
    background: #fff;
}
.hero-rounded-bottom-service-item:hover .hero-rounded-bottom-service-icon i {
    color: var(--color-primary);
}
.hero-rounded-bottom-service-name {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-primary);
    transition: color 0.2s ease;
}
.hero-rounded-bottom-service-item:hover .hero-rounded-bottom-service-name {
    color: #fff;
}
@media (max-width: 991px) {
    .hero-rounded-inner.hero-rounded-bottom.hero-rounded-has-img {
        min-height: 620px;
    }
    .hero-rounded-bottom-services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .hero-rounded-inner.hero-rounded-bottom .hero-rounded-within-copy {
        max-width: 100%;
    }
}
@media (max-width: 767px) {
    .hero-rounded-inner.hero-rounded-bottom.hero-rounded-has-img {
        min-height: auto;
        background-color: var(--color-primary) !important;
        background-image: none !important;
    }
    .hero-rounded-inner.hero-rounded-bottom.hero-rounded-has-img .hero-rounded-within-layout {
        gap: 24px;
        padding: 56px 20px 64px;
    }
    .hero-rounded-inner.hero-rounded-bottom:not(.hero-rounded-has-img) .hero-rounded-within-layout {
        gap: 24px;
    }
    .hero-rounded-inner.hero-rounded-bottom .hero-rounded-within-copy {
        align-self: stretch;
    }
    .hero-rounded-inner.hero-rounded-bottom.hero-rounded-has-img .hero-rounded-bottom-services {
        display: none;
    }
}
