/* Campan-only banner correction. Original Lake Estates css/style.css remains unchanged. */
.hero-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    z-index: 1
}

.hero-picture .hero-bg {
    width: 100%;
    height: 100%;
    display: block
}

/* Lake Estates original css/style.css is immutable. Only Campan identity, local image choice,
   privacy consent and functional mobile menu are styled here. */
.nav-capsule {
    background: rgba(255,255,247,.9);
    backdrop-filter: blur(12px)
}

.nav-brand {
    min-width: 83px
}

.nav-logo-img {
    height: 50px;
    max-width: 88px;
    object-fit: contain
}

.nav-item a {
    white-space: nowrap
}

.hero-section {
    background: #32412f
}

/* Project photography is darker than the reference's pale villa image. Contrast adjustment only. */
.hero-day-content .hero-badge,.hero-day-content .hero-title,.hero-day-content .hero-subtitle {
    color: #fff;
    text-shadow: 0 2px 12px #081b11af
}

.hero-bg {
    filter: brightness(.83)
}

.privacy-consent {
    font-size: 11px;
    line-height: 1.45;
    color: #494b3a;
    display: flex;
    gap: 8px;
    align-items: flex-start
}

.privacy-consent input {
    margin-top: 3px;
    accent-color: #576b3a
}

.hero-form-wrapper .privacy-consent {
    margin-top: 0
}

.hero-form-wrapper {
    z-index: 30
}

@media (max-width: 1024px) and (min-width:769px) {
    .nav-links {
        display:none
    }

    .nav-mobile-toggle {
        display: flex
    }
}

@media (max-width: 1024px) {
    .nav-links.mobile-open {
        display:flex;
        position: absolute;
        top: calc(100% + 9px);
        left: 18px;
        right: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 16px 19px;
        border: 1px solid #c9ceac;
        border-radius: 13px;
        background: #fffff4;
        box-shadow: 0 12px 34px #0003;
        z-index: 200
    }

    .nav-links.mobile-open a {
        display: block;
        padding: 8px 3px
    }
}

@media (max-width: 768px) {
    /* Campan adaptation: portrait hero scales to device width, form stays below image. */ .nav-brand {
        min-width:74px
    }
 .client-amenity-collage figure.amenity-photo.zoomable.amenity-photo-pool img{
    object-fit: cover;
}
    .nav-logo-img {
        height: 48px;
        max-width: 73px
    }

    .hero-section {
        --campan-mobile-hero-height: clamp(520px,175vw,760px);
        min-height: 720px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding-top: 0;
        padding-bottom: 5px;
        margin-bottom: clamp(0px,6vw,1px);
        background: transparent;
        box-shadow: unset;
    }

    .hero-picture {
        height: var(--campan-mobile-hero-height)!important
    }

    .hero-bg {
        height: 80%!important;
        width: 100%!important;
        object-fit: cover;
        object-position: top;
        animation: none!important;
        transform: none!important;
        position: relative;
    }

    .hero-content-container {
        height: var(--campan-mobile-hero-height);
        min-height: 0!important;
        flex: 0 0 var(--campan-mobile-hero-height);
        padding-top: 110px;
        padding-left: 20px;
        padding-right: 20px
    }

    .hero-form-wrapper {
        position: relative !important;
        bottom: 0 !important;
        right: 0!important;
        left: 0!important;
        width: calc(100% - 10px)!important;
        margin: 20px auto!important;
        padding: 28px 22px!important;
        border-radius: 14px!important;
        max-width: 400px!important
    }

    .hero-form-wrapper .lead-form {
        display: flex;
        flex-direction: column;
        gap: 16px
    }

    .hero-form-wrapper .lead-form .form-group {
        width: 100%;
        min-width: 0;
        flex: none
    }

    .hero-day-content .hero-title {
        font-size: clamp(32px,8.2vw,44px);
        line-height: 1.15
    }

    .hero-day-content .hero-subtitle {
        font-size: clamp(12px,3.25vw,14px);
        line-height: 1.6
    }
}

@media (max-width: 380px) {
    .hero-content-container {
        min-height:0!important
    }
}

@media (prefers-reduced-motion:reduce) {
    .hero-bg,.nav-capsule,.hero-form-wrapper {
        animation: none!important
    }
}

/* Keep amenity photographs clear and uncropped within their visual tiles. */
.client-amenity-collage .amenity-photo {
    height: auto;
    aspect-ratio: 1.42;
    background: #e2e7d8
}

.client-amenity-collage .amenity-photo img {
    object-fit: contain;
    object-position: center
}

@media (max-width: 768px) {
    .client-amenity-collage .amenity-photo {
        aspect-ratio:1.42
    }
}
