/* Header UI and responsive behavior */
.body__header {
    background-color: var(--color-white);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.28s ease, opacity 0.28s ease, box-shadow 0.28s ease;
    will-change: transform, opacity;
}

.body__header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
    transform: translateY(0);
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.body__header.is-fixed.is-hidden {
    transform: translateY(-110%);
    opacity: 0;
}

.body__header .container {
    padding-top: 8px;
    padding-bottom: 8px;
}

.header__nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.btn.btn__primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e2c66a 0%, #c9a547 100%);
    color: #111111;
    border: 1px solid #b08a2f;
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: 0 6px 14px rgba(176, 138, 47, 0.25);
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn.btn__primary:hover {
    background: linear-gradient(135deg, #e8cd76 0%, #d2ae52 100%);
    border-color: #9f7a26;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(176, 138, 47, 0.32);
}

.btn.btn__primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.22rem rgba(201, 165, 71, 0.34), 0 8px 18px rgba(176, 138, 47, 0.26);
}

.btn.btn__primary:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #cda94c 0%, #bb952f 100%);
    box-shadow: 0 4px 10px rgba(176, 138, 47, 0.26);
}

.btn.btn__primary i {
    font-size: 13px;
}

.hamburger {
    display: none;
}

/* Banner layout and responsive behavior */
.wrap__banner {
    position: relative;
}

.body__banner img {
    display: block;
    width: 100%;
}

.banner__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.banner__content {
    width: min(62%, 760px);
    background: rgba(0, 0, 0, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
    padding: 28px;
}

.banner__highlights {
    margin: 20px 0;
}

.banner__highlights li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #d9b962;
    color: #121212;
    border-radius: 8px;
    padding: 7px 12px;
    margin: 0 8px 10px 0;
}

.banner__form {
    width: min(30%, 360px);
    background: rgba(0, 0, 0, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
}

.banner__form .form-group {
    position: relative;
    margin-bottom: 14px;
}

.banner__form .form-group i {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 12px;
}

.banner__form .form-group input {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.78);
    padding: 8px 6px 8px 18px;
    outline: none;
}

.banner__form .btn.btn__primary {
    margin-top: 10px;
}

/* About layout and responsive behavior */
.body__about {
    background: #f3f0e9;
}

.about__image img {
    object-fit: cover;
    min-height: 620px;
}

.about__content {
    padding: 44px 52px;
}

.about__cta {
    margin-top: 30px;
}

/* Highlights layout and responsive behavior */
.body__highlights {
    background: #f0eee8;
}

.highlights__content {
    padding-right: 12px;
}

.highlights__list {
    margin-top: 26px;
}

.highlight__item {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #b8a327;
    border-radius: 0;
    padding: 16px 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.highlight__item span {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5f5f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.highlights__image img {
    object-fit: cover;
    min-height: 100%;
}

/* Visit section layout and parallax behavior */
.body__visit {
    position: relative;
    background-image: url("../images/bg/widehome.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.body__visit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.62) 34%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 0;
}

.body__visit .container {
    position: relative;
    z-index: 1;
}

.visit__content {
    max-width: 460px;
}

/* Amenities layout and responsive behavior */
.body__amenities {
    background: #f2f2f2;
}

.amenity__item {
    height: 100%;
    min-height: 170px;
    background: #f6f6f6;
    border: 1px solid #dddddd;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 18px 14px;
}

/* Floor plan layout and responsive behavior */
.body__floor-plan {
    background: #ece7da;
}

.floor-plan__card {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    border: 1px solid #dddddd;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.floor-plan__card img {
    display: block;
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    filter: blur(1.5px) saturate(0.7);
    transform: scale(1.02);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.floor-plan__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: background-color 0.28s ease;
}

.floor-plan__card h3 {
    background: #b8a327;
    padding: 12px 10px;
}

.floor-plan__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.floor-plan__card:hover img {
    filter: blur(0.2px) saturate(0.95);
    transform: scale(1.08);
}

.floor-plan__card:hover .floor-plan__overlay {
    background-color: rgba(0, 0, 0, 0.08);
}

.floor-plan__card:hover .floor-plan__overlay .btn.btn__primary {
    transform: translateY(-1px);
}

/* Price list layout and responsive behavior */
.body__price-list {
    position: relative;
    background-image: url("../images/bg/widehome.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.body__price-list::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, 0.78);
    z-index: 0;
}

.body__price-list .container {
    position: relative;
    z-index: 1;
}

.price-list__head {
    margin-bottom: 24px;
}

.price-card {
    height: 100%;
    background: #1f1f1f;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 24px 18px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

/* Gallery layout and responsive behavior */
.body__gallery {
    background: #f1f1f1;
}

.gallery__item {
    overflow: hidden;
    border: 1px solid #dddddd;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.gallery__item img {
    display: block;
    width: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery__item:hover img {
    transform: scale(1.06);
}

/* Location layout and responsive behavior */
.body__location {
    background: #f2f1ec;
}

.location__map {
    border: 1px solid #d8d8d8;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.location__map iframe {
    display: block;
    width: 100%;
    min-height: 560px;
    border: 0;
}

.location__content {
    padding: 4px 8px;
}

.location__content ul {
    margin: 26px 0 0;
}

.location__content ul li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.location__content ul li i {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 2px solid #2a2a2a;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Footer layout and responsive behavior */
.body__footer {
    background: #101010;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
}

.footer__top {
    padding: 18px 0 14px;
}

.footer__links ul,
.footer__contact ul {
    margin: 0;
}

.footer__links ul li {
    margin-bottom: 10px;
}

.footer__links-grid .col-6:first-child {
    padding-right: 10px;
}

.footer__links-grid .col-6:last-child {
    padding-left: 10px;
}

.footer__contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.footer__contact ul li i {
    margin-top: 3px;
}

.footer__bottom {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Chat floater */
.chat-floater {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2100;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    background: #1f1f1f;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.chat-floater i {
    font-size: 18px;
}

.chat-floater.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Shared lead popup */
.lead__popup {
    position: fixed;
    inset: 0;
    z-index: 2200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.lead__popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lead__popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.56);
}

.lead__popup-dialog {
    position: relative;
    width: min(92vw, 460px);
    margin: 7vh auto 0;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 24px 20px 20px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.lead__popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
}

.lead__popup .form-group {
    position: relative;
    margin-bottom: 14px;
}

.lead__popup .form-group i {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 12px;
}

.lead__popup .form-group input {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.78);
    padding: 8px 6px 8px 18px;
    outline: none;
    color: #ffffff;
}

body.popup-open {
    overflow: hidden;
}

@media (max-width: 1199px) {
    .header__title {
        font-size: 30px;
    }

    .header__nav ul {
        gap: 18px;
    }

    .banner__content {
        width: min(65%, 680px);
        padding: 22px;
    }

    .banner__content h1 {
        font-size: 34px;
    }

    .banner__price {
        font-size: 42px;
    }

    .banner__rera {
        font-size: 18px;
    }

    .banner__form {
        width: min(33%, 320px);
        padding: 16px;
    }

    .about__content {
        padding: 34px 34px;
    }

    .about__content h2 {
        font-size: 30px;
    }

    .highlights__content h2 {
        font-size: 36px;
    }

    .highlights__content > p {
        font-size: 18px;
    }

    .highlight__item p {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .body__header .container {
        gap: 14px;
    }

    .header__title {
        font-size: 26px;
    }

    .header__nav ul {
        gap: 12px;
    }

    .header__nav ul li a {
        font-size: 13px;
    }

    .btn.btn__primary {
        padding: 10px 12px;
    }

    .banner__overlay {
        position: static;
        transform: none;
        display: block;
        padding-top: 22px;
        padding-bottom: 10px;
    }

    .banner__content,
    .banner__form {
        width: 100%;
    }

    .banner__content {
        margin-bottom: 16px;
        padding: 20px;
        backdrop-filter: none;
    }

    .banner__content h2 {
        font-size: 26px;
    }

    .banner__content h1 {
        font-size: 32px;
    }

    .banner__location {
        font-size: 17px;
    }

    .banner__highlights li {
        display: flex;
    }

    .banner__typology {
        font-size: 20px;
    }

    .banner__price {
        font-size: 38px;
    }

    .banner__rera {
        font-size: 16px;
    }

    .banner__form {
        padding: 18px;
    }

    .about__image img {
        min-height: 420px;
    }

    .about__content {
        padding: 26px 22px 30px;
    }

    .about__content h2 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .about__cta {
        margin-top: 22px;
    }

    .highlights__content {
        padding-right: 0;
    }

    .highlights__content h2 {
        font-size: 32px;
    }

    .highlights__content > p {
        font-size: 16px;
    }

    .highlight__item p {
        font-size: 18px;
    }

    .highlights__image img {
        min-height: 420px;
    }

    .body__visit {
        min-height: 280px;
        background-attachment: scroll;
    }

    .visit__content h2 {
        font-size: 34px;
    }

    .visit__content p {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .amenities__head h2 {
        font-size: 30px;
    }

    .amenity__item {
        min-height: 150px;
    }

    .amenity__item i {
        font-size: 30px;
    }

    .amenity__item h3 {
        font-size: 18px;
    }

    .floor-plan__head h2 {
        font-size: 30px;
    }

    .floor-plan__card img {
        min-height: 280px;
    }

    .floor-plan__card h3 {
        padding: 10px 8px;
    }

    .floor-plan__card h3 {
        font-size: 18px;
    }

    .price-list__head h2 {
        font-size: 30px;
    }

    .price-card h3 {
        font-size: 24px;
    }

    .price-card__price {
        font-size: 30px;
    }

    .body__price-list {
        background-attachment: scroll;
    }

    .gallery__head h2 {
        font-size: 30px;
    }

    .gallery__item img {
        min-height: 220px;
    }

    .location__map iframe {
        min-height: 460px;
    }

    .location__content h2 {
        font-size: 30px;
    }

    .location__subhead {
        font-size: 14px;
    }

    .location__content ul li {
        font-size: 18px;
    }

    .body__footer {
        padding: 16px 0;
    }
}

@media (max-width: 768px) {
    .body__header {
        position: relative;
        z-index: 1300;
    }

    .body__header .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .body__header .row {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .body__header .row > .col-lg {
        flex: 0 0 auto;
        width: auto;
    }

    .header__title {
        font-size: 22px;
    }

    .header__subtitle {
        font-size: 10px;
    }

    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid #e2e2e2;
        border-radius: 8px;
        color: #333333;
        cursor: pointer;
        position: relative;
        z-index: 1302;
    }

    .header__button {
        order: 3;
        width: 100%;
    }

    .header__button .btn.btn__primary {
        width: 100%;
        justify-content: center;
    }

    .header__nav {
        display: block;
        position: fixed;
        top: var(--mobile-header-height, 72px);
        left: 0;
        width: min(84vw, 320px);
        height: calc(100vh - var(--mobile-header-height, 72px));
        background: #ffffff;
        box-shadow: 4px 0 16px rgba(0, 0, 0, 0.16);
        z-index: 1301;
        padding: 24px 22px 24px;
        transform: translateX(-102%);
        transition: transform 0.28s ease;
        overflow-y: auto;
    }

    .header__nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .header__nav ul li {
        width: 100%;
    }

    .header__nav ul li a {
        display: inline-block;
        width: 100%;
        font-size: 15px;
    }

    .header__nav .header__button {
        width: 100%;
        margin-top: 10px;
    }

    .header__nav .header__button .btn.btn__primary {
        width: 100%;
        justify-content: center;
    }

    body.nav-open .header__nav {
        transform: translateX(0);
    }

    body.nav-open {
        overflow: hidden;
    }

    .banner__overlay {
        padding-top: 18px;
    }

    .banner__content {
        padding: 16px;
    }

    .banner__content h2 {
        font-size: 20px;
    }

    .banner__content h1 {
        font-size: 26px;
    }

    .banner__location {
        font-size: 15px;
    }

    .banner__highlights {
        margin: 14px 0;
    }

    .banner__highlights li {
        width: 100%;
        margin-right: 0;
    }

    .banner__rera {
        margin-top: 12px;
        font-size: 13px;
    }

    .banner__form {
        padding: 14px;
    }

    .banner__form h4 {
        margin-bottom: 12px;
    }

    .about__image img {
        min-height: 280px;
    }

    .about__content {
        padding: 22px 16px 26px;
    }

    .about__meta {
        font-size: 13px;
    }

    .about__content h2 {
        font-size: 26px;
    }

    .about__cta {
        margin-top: 18px;
    }

    .about__cta .btn.btn__primary {
        width: 100%;
        justify-content: center;
    }

    .highlights__content h2 {
        font-size: 28px;
    }

    .highlights__content > p {
        font-size: 14px;
    }

    .highlights__list {
        margin-top: 18px;
    }

    .highlight__item {
        padding: 12px 10px;
        gap: 10px;
    }

    .highlight__item span {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 16px;
    }

    .highlight__item p {
        font-size: 15px;
    }

    .highlights__image img {
        min-height: 280px;
    }

    .body__visit {
        min-height: 230px;
    }

    .visit__content h2 {
        font-size: 28px;
    }

    .visit__content p {
        margin: 8px 0 14px;
        font-size: 15px;
    }

    .visit__content .btn.btn__primary {
        padding: 10px 18px;
    }

    .amenities__head h2 {
        margin-bottom: 16px;
        font-size: 26px;
    }

    .amenity__item {
        min-height: 130px;
        padding: 14px 10px;
    }

    .amenity__item i {
        font-size: 24px;
    }

    .amenity__item h3 {
        margin-top: 10px;
        font-size: 15px;
    }

    .floor-plan__head h2 {
        margin-bottom: 16px;
        font-size: 26px;
    }

    .floor-plan__card img {
        min-height: 230px;
    }

    .floor-plan__overlay .btn.btn__primary {
        padding: 10px 14px;
        font-size: 13px;
    }

    .floor-plan__card h3 {
        font-size: 15px;
    }

    .price-list__head {
        margin-bottom: 16px;
    }

    .price-list__head h2 {
        font-size: 26px;
    }

    .price-list__head p {
        font-size: 14px;
    }

    .price-card {
        padding: 18px 14px;
    }

    .price-card h3 {
        font-size: 20px;
    }

    .price-card__size {
        font-size: 14px;
    }

    .price-card__price {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .gallery__head h2 {
        margin-bottom: 16px;
        font-size: 26px;
    }

    .gallery__item img {
        min-height: 190px;
    }

    .location__map iframe {
        min-height: 300px;
    }

    .location__content h2 {
        font-size: 30px;
    }

    .location__content ul {
        margin-top: 18px;
    }

    .location__content ul li {
        gap: 10px;
        margin-bottom: 14px;
        font-size: 16px;
    }

    .location__content ul li i {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: 11px;
    }

    .body__footer {
        padding: 14px 0;
    }

    .footer__copyright,
    .footer__credit {
        text-align: center;
    }

    .footer__links-grid .col-6:first-child,
    .footer__links-grid .col-6:last-child {
        padding-left: 0;
        padding-right: 0;
    }

    .footer__policy-link {
        display: inline-block;
        margin-left: 0;
        margin-top: 6px;
    }

    .chat-floater {
        right: 12px;
        bottom: 12px;
        width: 46px;
        height: 46px;
    }

    .lead__popup-dialog {
        margin-top: 5vh;
        padding: 20px 14px 14px;
    }
}
