/* Homepage refinements: balanced hero points, contained badges and tighter rhythm. */
.hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-benefits > div,
.hero-benefits .wide {
    grid-column: auto;
}

.hero-benefits > div:last-child span {
    line-height: 1.35;
}

.honeycomb-media > img {
    object-fit: contain;
}

.media-badge.bottom.connected-care-badge,
.media-badge.bottom.care-built-badge {
    left: auto;
    right: 18px;
    bottom: 28px;
    max-width: calc(100% - 36px);
}

.care-built-badge {
    padding: 17px 20px;
}

.care-built-badge small,
.connected-care-badge small {
    margin-top: 3px;
    white-space: nowrap;
}

.many-more-doctors {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: min(760px, 100%);
    margin: 34px auto 0;
    padding: 19px 24px;
    border: 1px solid rgba(7, 157, 152, .17);
    border-radius: 16px;
    background: linear-gradient(135deg, #ecfbf7, #f7fffc);
    color: var(--home-dark);
    box-shadow: 0 13px 35px rgba(12, 105, 98, .08);
}

.many-more-doctors > span {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--home-teal);
    color: #fff;
    font-size: 24px;
}

.many-more-doctors p {
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.55;
}

.many-more-doctors strong {
    color: var(--home-dark);
    font-size: 16px;
}

.many-more-doctors a {
    margin-left: auto;
    flex: 0 0 auto;
    color: var(--home-teal);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

/* Remove unnecessary vertical gaps while preserving clear section separation. */
.home-section {
    padding-top: 84px;
    padding-bottom: 84px;
}

.quick-section,
.team-section,
.why-section,
.appointment-section {
    padding-top: 72px;
    padding-bottom: 72px;
}

.section-heading {
    margin-bottom: 42px;
}

.team-section .section-heading {
    margin-bottom: 38px;
}

.services-section {
    padding-top: 92px;
    padding-bottom: 92px;
}

.services-section .care-heading {
    margin-bottom: 50px;
}

.guidance-section {
    padding-top: 64px;
    padding-bottom: 54px;
}

.faq-section {
    padding-top: 35px;
    padding-bottom: 72px;
}

@media (max-width: 1180px) {
    .many-more-doctors {
        flex-wrap: wrap;
        text-align: center;
    }

    .many-more-doctors a {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 900px) {
    .home-section,
    .quick-section,
    .team-section,
    .why-section,
    .appointment-section,
    .services-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .media-badge.bottom.connected-care-badge,
    .media-badge.bottom.care-built-badge {
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 620px) {
    .hero-benefits {
        grid-template-columns: 1fr;
    }

    .media-badge.bottom.connected-care-badge,
    .media-badge.bottom.care-built-badge {
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
    }

    .media-badge.bottom b {
        font-size: 12px;
    }

    .media-badge.bottom small {
        font-size: 10px;
    }

    .many-more-doctors {
        gap: 10px;
        margin-top: 25px;
        padding: 17px;
    }

    .many-more-doctors p {
        width: calc(100% - 56px);
        text-align: left;
    }

    .home-section,
    .quick-section,
    .team-section,
    .why-section,
    .appointment-section,
    .services-section {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .section-heading,
    .team-section .section-heading,
    .services-section .care-heading {
        margin-bottom: 32px;
    }
}
