/* Home page (index): hero and section accents */

.hero-section {
    position: relative;
    color: var(--mh-text);
    padding: 128px 0;
    margin-bottom: 50px;
    background-image: linear-gradient(
            90deg,
            rgba(245, 245, 247, 0.96) 0%,
            rgba(245, 245, 247, 0.68) 48%,
            rgba(245, 245, 247, 0.08) 100%
    ),
    url("/static/img/hero-living-room.jpg");
    background-size: cover;
    background-position: center;
}

.hero-section__content {
    max-width: 720px;
}

.hero-section__content h1 {
    letter-spacing: -0.045em;
}

.hero-section__content .lead {
    max-width: 620px;
    color: var(--mh-muted);
}

.hero-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.section-heading h2 {
    letter-spacing: -0.035em;
}

.section-heading--row {
    display: flex;
    max-width: none;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
}

@media (max-width: 576px) {
    .hero-section {
        padding: 78px 0;
        background-position: 62% center;
    }

    .hero-section__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section-heading--row {
        align-items: flex-start;
        flex-direction: column;
    }
}