/* Explain: Layout styles for hero background, orbs, and contact section. */
.section-pad {
    padding-top: clamp(5.5rem, 10vw, 9rem);
    padding-bottom: clamp(5.5rem, 10vw, 9rem);
}

.hero-split {
    background:
        linear-gradient(115deg, rgba(250, 249, 246, 0.96) 0%, rgba(250, 249, 246, 0.78) 52%, rgba(88, 129, 87, 0.12) 100%);
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.52;
    pointer-events: none;
    z-index: -1;
}

.orb-sage {
    width: 24rem;
    height: 24rem;
    right: 8%;
    top: 10%;
    background: rgba(88, 129, 87, 0.2);
}

.orb-terracotta {
    width: 18rem;
    height: 18rem;
    left: 4%;
    bottom: 10%;
    background: rgba(163, 177, 138, 0.25);
}

.contact-section {
    background:
        radial-gradient(circle at 8% 16%, rgba(163, 177, 138, 0.2), transparent 24rem),
        linear-gradient(180deg, var(--background-color), var(--surface-color));
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg::after {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(115deg, rgba(250, 249, 246, 0.4) 0%, rgba(250, 249, 246, 0.26) 48%, rgba(250, 249, 246, 0.12) 100%);
    content: "";
}

.hero-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 4.5rem;
}

.hero-photo {
    width: 100%;
    aspect-ratio: 13 / 6;
    border-radius: 1.5rem;
    object-fit: cover;
    box-shadow: 0 24px 60px rgba(31, 46, 35, 0.22);
}

.hero-photo-pair {
    display: contents;
}

.hero-photo-terrasse-pair {
    display: contents;
}

@media (min-width: 1024px) {
    .hero-photos {
        position: absolute;
        top: 50%;
        right: clamp(1.5rem, 4vw, 4rem);
        z-index: -1;
        display: flex;
        width: 36%;
        max-width: 520px;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 0;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .hero-photo-shift {
        transform: translateX(-2.25rem);
    }

    .hero-photo-terrace {
        width: min(88%, 460px);
    }

    .hero-photo-small {
        width: min(76%, 300px);
        transform: translateX(-4.5rem);
    }

    .hero-photo-pair,
    .hero-photo-terrasse-pair {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        width: min(100%, 480px);
        margin: 0 auto;
        transform: none;
    }

    .hero-photo-pair .hero-photo,
    .hero-photo-terrasse-pair .hero-photo {
        width: 100%;
        aspect-ratio: 4 / 3;
        transform: none;
    }
}

@media (min-width: 1280px) {
    .hero-photos {
        width: 40%;
        max-width: 700px;
    }
}