/* Foglio dedicato alla homepage. */
.home-page .site-header { background: #f6f3ee; }
.home-page .home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 720px;
    min-height: clamp(660px, calc(100svh - 88px), 900px);
    padding: 360px 0 72px;
    align-items: flex-end;
    background: #302d28;
    color: #fff;
}
.home-hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 43%;
}
.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(18,23,20,.04) 18%, rgba(18,23,20,.28) 43%, rgba(18,23,20,.87) 100%);
}
.home-page .home-hero-content { text-align: center; max-width: 1120px; }
.home-page .home-hero .eyebrow {
    color: #fff;
    font-size: .875rem;
    letter-spacing: .14em;
    margin-bottom: 18px;
}
.home-page .home-hero h1 {
    max-width: none;
    font-size: clamp(2.5rem, 4.8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.home-page .home-hero .hero-text {
    max-width: 760px;
    margin: 0 auto 28px;
    color: #fff;
    font-family: inherit;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.6;
}
.home-page .home-hero .button {
    background: #f6f3ee;
    border-color: #f6f3ee;
    color: #253a30;
    border-radius: 999px;
    padding: 14px 28px;
}
.home-page .home-hero .button:hover { background: #e3e8df; border-color: #e3e8df; }
.home-page .home-hero a:focus-visible { outline-color: #fff; }
.home-page .home-intro { padding: 100px 0; }
.home-page .home-intro h2 { font-size: clamp(2rem, 3vw, 3rem); }
.home-text-link { color: var(--accent-dark); display: inline-block; margin-top: 8px; }
.home-page .services { background: #eeeee7; }
.home-page .services .section-heading { text-align: center; }
.home-page .service-card { border-radius: 14px; }
.home-page .contact-cta { background: #e6e9e1; text-align: center; }
.home-page .contact-cta .button { border-radius: 999px; }
@media (max-width: 850px) {
    .home-page .home-hero {
        min-height: 730px;
        padding: 400px 0 52px;
    }
    .home-hero-photo { object-position: 55% 38%; }
            .home-page .home-intro { padding: 72px 0; }
}
@media (max-width: 600px) {
    .home-page .home-hero {
        min-height: 700px;
        padding: 380px 0 44px;
    }
    .home-hero-photo { object-position: 55% 38%; }
    .home-page .home-hero h1 { font-size: clamp(2rem, 8.6vw, 3rem); margin-bottom: 16px; }
    .home-page .home-hero .eyebrow { font-size: .875rem; letter-spacing: .08em; }
    .home-page .home-hero .hero-text { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .home-page { scroll-behavior: auto; } }
