.home-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 90px);
    padding: 80px 0 100px;
}

.home-hero-inner {
    width: min(1480px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.home-hero-copy h1 {
    margin: 18px 0 24px;
    font-size: clamp(3.3rem, 7vw, 7.3rem);
    line-height: .86;
    letter-spacing: -.075em;
}

.home-hero-copy p {
    max-width: 650px;
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(122,184,255,.16);
    color: var(--primary);
    font-weight: 900;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.btn.light {
    background: rgba(255,255,255,.62);
    color: var(--text);
    border: 1px solid var(--border);
}

.hero-stats {
    margin-top: 48px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
}

.hero-stats strong,
.hero-stats span {
    display: block;
}

.hero-stats span {
    margin-top: 5px;
    color: var(--muted);
}

.home-hero-visual {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-frame {
    position: relative;
    width: 760px;
    max-width: 100%;
    height: 680px;
    padding: 16px;
    border-radius: 46px;
    flex-shrink: 0;
}

.hero-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(122,184,255,.38);
    pointer-events: none;
}

.hero-image-main {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 38px;
    overflow: hidden;
    box-shadow:
        0 45px 120px rgba(18,33,60,.22),
        0 12px 35px rgba(18,33,60,.12);
    transform: rotateY(-4deg) rotateX(2deg);
    transition: transform .7s ease, filter .7s ease;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-image-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7,17,31,.02),
            rgba(7,17,31,.32)
        ),
        radial-gradient(
            circle at 20% 18%,
            rgba(255,255,255,.35),
            transparent 32%
        );
    pointer-events: none;
}

.home-hero-visual:hover .hero-image-main {
    transform: rotateY(0) rotateX(0) scale(1.02);
    filter: saturate(1.08);
}

.floating-card {
    position: absolute;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 320px;
    padding: 22px;
    border-radius: 28px;
    transition: transform .35s ease, box-shadow .35s ease;
}

.floating-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 30px 80px rgba(22,55,101,.20);
}

.floating-card-top {
    top: 95px;
    left: -25px;
}

.floating-card-bottom {
    right: -30px;
    bottom: 95px;
}

.floating-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(122,184,255,.18);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.floating-content {
    display: flex;
    flex-direction: column;
}

.floating-content span {
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 5px;
}

.floating-content strong {
    font-size: 1.45rem;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -.03em;
}

.floating-content a {
    color: var(--primary);
    font-weight: 900;
}

.home-search-strip {
    width: min(1280px, calc(100% - 40px));
    margin: -35px auto 95px;
    position: relative;
    z-index: 5;
    padding: 18px;
    display: grid;
    grid-template-columns: 1.3fr repeat(4, auto);
    gap: 14px;
    align-items: center;
}

.home-search-strip a {
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(122,184,255,.12);
    font-weight: 900;
    text-align: center;
}

.home-section {
    width: min(1280px, calc(100% - 40px));
    margin: 105px auto;
}

.home-section-wide {
    width: min(1480px, calc(100% - 40px));
}

.section-split {
    display: grid;
    grid-template-columns: 1fr .65fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 42px;
}

.section-split p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.section-head.big h2,
.section-head.center h2 {
    margin: 10px 0 0;
    font-size: clamp(2.5rem, 5vw, 5.2rem);
    line-height: .92;
    letter-spacing: -.06em;
}

.section-head.center {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 48px;
}

.property-grid-modern {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-services-band {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    margin-top: 140px;
}

.home-services-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(122,184,255,.24), transparent 30%),
        linear-gradient(135deg, rgba(22,55,101,.10), rgba(122,184,255,.08));
}

.service-grid-modern {
    grid-template-columns: repeat(4, 1fr);
}

.service-grid-modern .service-card {
    min-height: 280px;
    padding: 32px;
}

.home-cta {
    width: min(1480px, calc(100% - 40px));
    margin: 125px auto 80px;
    min-height: 540px;
    border-radius: 50px;
    padding: 54px;
    display: flex;
    align-items: flex-end;
    background:
        linear-gradient(90deg, rgba(7,17,31,.66), rgba(7,17,31,.08)),
        url("https://images.unsplash.com/photo-1494526585095-c41746248156?q=80&w=1900&auto=format&fit=crop")
        center/cover;
}

.home-cta-content {
    max-width: 740px;
    padding: 44px;
    color: white;
}

.home-cta-content h2 {
    font-size: clamp(2.4rem, 5vw, 4.9rem);
    line-height: .92;
    margin: 16px 0;
    letter-spacing: -.06em;
}

@media (max-width: 1100px) {
    .home-hero-inner {
        grid-template-columns: 1fr;
    }

    .home-hero-visual {
        min-height: 620px;
    }

    .hero-frame {
        height: 600px;
    }

    .floating-card-top {
        left: 20px;
    }

    .floating-card-bottom {
        right: 20px;
    }

    .home-search-strip,
    .section-split,
    .property-grid-modern,
    .service-grid-modern {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .home-hero-inner,
    .home-section,
    .home-section-wide,
    .home-search-strip,
    .home-cta {
        width: min(100% - 22px, 1480px);
    }

    .home-hero-copy h1 {
        font-size: clamp(3rem, 16vw, 5rem);
    }

    .hero-stats,
    .home-search-strip,
    .section-split,
    .property-grid-modern,
    .service-grid-modern {
        grid-template-columns: 1fr;
    }

    .home-hero-visual {
        min-height: 520px;
    }

    .hero-frame {
        height: 520px;
        padding: 10px;
    }

    .hero-image-main {
        border-radius: 30px;
    }

    .floating-card {
        width: calc(100% - 30px);
        min-width: auto;
        padding: 18px;
    }

    .floating-card-top {
        top: 20px;
        left: 15px;
    }

    .floating-card-bottom {
        right: 15px;
        bottom: 20px;
    }
}