.hero-home {
    position: relative;
    min-height: 760px;
    height: 100vh;
    max-height: 920px;
    overflow: hidden;
    background: var(--primary-navy);
    color: #fff
}

.hero-slides {
    position: absolute;
    inset: 0
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease-in-out
}

.hero-slide.active {
    opacity: 1
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 7s ease-out
}
.logo img {
    width: auto;
    height: 55px;
    max-width: 180px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo img {
        height: 42px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 36px;
        max-width: 120px;
    }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 14, 26, .22), rgba(5, 14, 26, .52) 55%, rgba(5, 14, 26, .92))
}

.hero-content {
    position: relative;
    z-index: 3;
    min-height: 760px;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 78px
}

.hero-copy {
    max-width: 800px;
    animation: fadeSlide .8s ease both
}

.hero-copy h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 7vw, 78px);
    line-height: 1.04;
    margin: 18px 0
}

.hero-copy h1 span {
    color: #dbe4ec
}

.hero-copy p {
    max-width: 630px;
    font-size: 19px;
    color: rgba(255, 255, 255, .75)
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    margin-top: 32px;
    max-width: 760px;
    padding: 8px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    backdrop-filter: blur(10px)
}

.hero-search select {
    background: rgba(255, 255, 255, .09);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    padding: 12px;
    border-radius: 7px;
    outline: 0
}

.hero-search option {
    color: var(--primary-navy);
    background: #fff
}

.hero-controls {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 35px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px
}

.hero-dot {
    width: 12px;
    height: 3px;
    border: 0;
    background: rgba(255, 255, 255, .35);
    padding: 0;
    border-radius: 99px;
    transition: .3s
}

.hero-dot.active {
    width: 32px;
    background: var(--accent-theme)
}

.stats-strip {
    border-bottom: 1px solid var(--border)
}

.stat {
    padding: 35px 20px;
    text-align: center;
    border-right: 1px solid var(--border)
}

.stat:last-child {
    border-right: 0
}

.stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 34px
}

.stat span {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .1em
}

.property-tile {
    position: relative;
    min-height: 430px;
    border-radius: 18px;
    overflow: hidden;
    color: #fff
}

.property-tile .img-container {
    position: absolute;
    inset: 0
}

.property-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 20%, rgba(5, 14, 26, .92))
}

.property-tile-content {
    position: relative;
    z-index: 2;
    min-height: 430px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end
}

.property-tile h3 {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    margin: 8px 0
}

.property-tile ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: grid;
    gap: 5px;
    color: #d8e0e8;
    font-size: 13px
}

.locality-card {
    position: relative;
    min-height: 390px;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 12px 28px rgba(5, 14, 26, .14);
    isolation: isolate;
    transition: transform .3s ease, box-shadow .3s ease
}

.locality-card .img-container {
    position: absolute;
    inset: 0;
    z-index: -2
}

.locality-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 14, 26, .05) 15%, rgba(5, 14, 26, .9) 92%)
}

.locality-card-content {
    min-height: 390px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end
}

.locality-card h3 {
    font: 700 29px 'Playfair Display', serif;
    margin: 10px 0 6px
}

.locality-card p {
    margin: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 13px
}

.locality-read-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .32);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    transition: gap .25s ease, color .25s ease
}

.locality-read-more span {
    font-size: 18px;
    line-height: .7
}

.locality-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 38px rgba(5, 14, 26, .22)
}

.locality-card:hover .locality-read-more {
    gap: 15px;
    color: #fff
}

.locality-card:focus-visible {
    outline: 3px solid var(--accent-theme);
    outline-offset: 4px
}

@media(max-width:760px) {
    .hero-search {
        grid-template-columns: 1fr
    }

    .hero-home,
    .hero-content {
        min-height: 720px
    }
}