:root {
    --primary-color: #7c3f49;
    --primary-color-dark: #5f3038;
    --text-color: #111111;
    --muted-text: #666666;
    --hero-bg: #f3f6fb;
    --white: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Header */

.main-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1040;
}

.header-logo-left img,
.header-logo-right img {
    max-height: 60px;
    height: auto;
}

.navbar {
    background-color: var(--white);
}

.navbar-brand {
    padding: 0;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
}

.logo-mark.small {
    width: 32px;
    height: 32px;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 0.9rem;
}

.brand-tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--muted-text);
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color);
}

/* Hamburger / close icon */

.navbar-toggler {
    padding: 0;
    border-radius: 0;
    width: 34px;
    height: 30px;
    position: relative;
    z-index: 1065;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler .toggler-icon {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #111111;
    margin: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile full-width menu overlay */

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        inset: 0;
        background-color: var(--primary-color);
        padding-top: 80px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        transition: transform 0.3s ease;
        transform: translateY(-100%);
        z-index: 1030;
    }

    .navbar-collapse.show {
        transform: translateY(0);
    }

    .navbar-nav {
        align-items: flex-start;
    }

    .nav-link {
        color: var(--white);
        font-size: 1.05rem;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 1rem;
    }
}

/* Hero / Banner */

.hero-section {
    background-color: #000000;
}

.hero-banner {
    width: 100%;
    overflow: hidden;
}

.hero-banner picture {
    display: block;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.banner-mobile {
    display: none;
}

@media (max-width: 767.98px) {
    .banner-desktop {
        display: none;
    }

    .banner-mobile {
        display: block;
    }
}

/* Floating Enquire Now button */

.enquire-now-btn {
    position: fixed;
    top: 30%;
    right: 0;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 0.9rem;
    border-radius: 8px 0 0 8px;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.enquire-now-btn:hover {
    color: var(--white);
    background-color: var(--primary-color-dark);
}

/* Enquire slide-out panel */

.enquire-panel {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1045;
    pointer-events: none;
}

.enquire-panel-inner {
    width: min(360px, 90vw);
    background: rgba(0, 0, 0, 0.82);
    color: #ffffff;
    padding: 2rem 2.5rem 2.2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    pointer-events: auto;
}

.enquire-hit-area {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 120px;
}

body.enquire-open .enquire-panel-inner {
    transform: translateX(0);
}

body.enquire-open .enquire-now-btn {
    background-color: #ffffff;
    color: var(--primary-color);
}

.enquire-form {
    font-size: 0.95rem;
}

.enquire-label {
    display: block;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.enquire-input {
    background-color: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    padding-left: 0;
    padding-right: 0;
}

.enquire-input:focus {
    box-shadow: none;
    border-bottom-color: #ffffff;
}

.enquire-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.enquire-phone-wrapper {
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.enquire-phone-wrapper .enquire-input {
    border-bottom: none;
}

.enquire-flag {
    font-size: 1rem;
}

.enquire-submit-btn {
    background-color: var(--primary-color);
    border-radius: 0;
    border: none;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: antiquewhite;
}

.enquire-submit-btn:hover {
    background-color: var(--primary-color-dark);
}

/* Scroll 2 / Overview section */

.scroll-two-section {
    padding: 3.5rem 0;
    background-color: #ffffff;
}

.scroll-two-image-wrapper {
    overflow: hidden;
}

.scroll-two-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-two-content {
    padding-right: 1.5rem;
}

.scroll-two-heading {
    font-size: 35px;
    font-weight: 400;
    color: var(--primary-color);
    font-family: "Optima", sans-serif;
}

.scroll-two-subtitle {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.scroll-two-text {
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--muted-text);
}

/* Scroll 3 / Clubhouse section */

.scroll-three-section {
    padding: 3.5rem 0;
    background-color: #f6f6f8;
}

.scroll-three-image-wrapper {
    overflow: hidden;
}

.scroll-three-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-three-content {
    padding-left: 1.5rem;
}

.scroll-three-heading {
    font-size: 35px;
    font-weight: 400;
    color: var(--primary-color);
    font-family: "Optima", sans-serif;
}

.scroll-three-text {
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--muted-text);
}

/* Scroll 4 / Project Highlights section */

.project-highlights-section {
    padding: 4rem 0 4.5rem;
    background-color: var(--primary-color);
    color: #ffffff;
}

.project-highlights-header {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.project-highlights-title {
    font-size: 35px;
    font-weight: 400;
    letter-spacing: 0.06em;
    font-family: "Optima", sans-serif;
}

.project-highlights-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
}

.project-highlights-underline .line {
    flex: 0 0 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 0.75rem;
}

.project-highlights-underline .icon-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    position: relative;
}

.project-highlights-underline .icon-dot::before {
    content: "✦";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.highlight-card {
    background-color: #ffffff;
    padding: 2.1rem 1.75rem;
    text-align: center;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.3);
}

.highlight-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(124, 63, 73, 0.25);
    margin-bottom: 1.1rem;
    position: relative;
    overflow: hidden;
}

.highlight-icon::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(124, 63, 73, 0.45), rgba(124, 63, 73, 0.05));
    animation: highlight-pulse 1.8s ease-out infinite;
}

.highlight-icon::after {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-color-dark);
}

.icon-acres::after {
    content: "🏞️";
}

.icon-villas::after {
    content: "🏡";
}

.icon-amenities::after {
    content: "✨";
}

.icon-clubhouse::after {
    content: "🏛️";
}

.icon-canyon::after {
    content: "⛰️";
}

.icon-smart::after {
    content: "⚙️";
}

.highlight-text {
    font-size: 0.98rem;
    font-weight: 500;
    color: #3b3b3b;
}

@keyframes highlight-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.15);
        opacity: 0;
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

@media (max-width: 991.98px) {
    .scroll-two-section {
        padding: 2.75rem 0;
    }

    .scroll-two-content {
        padding-right: 0;
    }

    .scroll-three-section {
        padding: 2.75rem 0;
    }

    .scroll-three-content {
        padding-left: 0;
    }

    .project-highlights-section {
        padding: 3rem 0 3.25rem;
    }
}

@media (max-width: 767.98px) {
    .scroll-two-section {
        padding: 2.5rem 0;
    }

    .scroll-two-heading {
        font-size: 28px;
    }

    .scroll-three-section {
        padding: 2.5rem 0;
    }

    .scroll-three-heading {
        font-size: 28px;
    }

    .project-highlights-title {
        font-size: 28px;
    }

    .highlight-card {
        padding: 1.75rem 1.5rem;
    }

    .highlight-text {
        font-size: 0.95rem;
    }
}

/* Typology section */

.typology-section {
    padding: 4rem 0 4.5rem;
    background-color: #ffffff;
}

.typology-header {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.typology-title {
    font-size: 35px;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 0.06em;
    font-family: "Optima", sans-serif;
}

.typology-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
}

.typology-underline .line {
    flex: 0 0 60px;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.12);
    margin: 0 0.75rem;
}

.typology-underline .icon-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.18);
    position: relative;
}

.typology-underline .icon-dot::before {
    content: "✧";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.typology-table {
    max-width: 960px;
    margin: 0 auto;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.typology-row {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1.1fr;
    align-items: center;
    padding: 1.4rem 0;
}

.typology-row + .typology-row {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.typology-row-head {
    padding-bottom: 1.1rem;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: #999999;
}

.typology-cell {
    padding: 0 1.75rem;
}

.typology-row .typology-cell:nth-child(2),
.typology-row .typology-cell:nth-child(3) {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.typology-name {
    font-size: 0.98rem;
    font-weight: 500;
}

.typology-type {
    font-size: 0.96rem;
}

.typology-price-btn {
    border-radius: 999px;
    border: 1.5px solid var(--primary-color);
    background-color: #ffffff;
    padding: 0.4rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

.typology-price-btn .lock-icon {
    font-size: 0.9rem;
}

.typology-price-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Location Highlights / Map section */

.location-section {
    padding: 4rem 0 4.5rem;
    background-color: var(--primary-color);
    color: #ffffff;
}

.location-header {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.location-title {
    font-size: 35px;
    font-weight: 400;
    letter-spacing: 0.06em;
    font-family: "Optima", sans-serif;
}

.location-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
}

.location-underline .line {
    flex: 0 0 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 0.75rem;
}

.location-underline .icon-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    position: relative;
}

.location-underline .icon-dot::before {
    content: "🕒";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.location-map-wrapper {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
    height: 100%;
    min-height: 360px;
}

.location-map-wrapper iframe {
    width: 100%;
    height: 100%;
}

.location-accordion-wrapper {
    height: 100%;
}

.location-accordion .accordion-item {
    background-color: transparent;
    border: none;
    color: #ffffff;
}

.location-accordion .accordion-button {
    background-color: rgba(0, 0, 0, 0.12);
    color: #ffffff;
    box-shadow: none;
    border-radius: 0;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
}

.location-accordion .accordion-button::after {
    filter: invert(1);
    opacity: 0.8;
}

.location-accordion .accordion-button.collapsed {
    background-color: transparent;
}

.location-accordion .accordion-body {
    background-color: rgba(0, 0, 0, 0.18);
    padding: 1rem 1.25rem 1.2rem;
}

.location-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.location-list-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.location-list-row span:last-child {
    opacity: 0.9;
}

/* Book a Site Visit section */

.site-visit-section {
    padding: 4rem 0 4.5rem;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-visit-inner {
    max-width: 640px;
    margin: 0 auto;
}

.site-visit-title {
    font-size: 35px;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 0.06em;
    font-family: "Optima", sans-serif;
}

.site-visit-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
}

.site-visit-underline .line {
    flex: 0 0 60px;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.12);
    margin: 0 0.75rem;
}

.site-visit-underline .icon-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.18);
    position: relative;
}

.site-visit-underline .icon-dot::before {
    content: "✧";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.site-visit-form {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.site-input-wrap {
    position: relative;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 8px;
    padding: 0.95rem 1.1rem;
    gap: 0.65rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-input-wrap:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 63, 73, 0.12);
}

.site-input-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.6rem;
}

.site-input {
    border-radius: 0;
    border: none;
    background-color: transparent;
    padding: 0.1rem 0;
    font-size: 0.95rem;
    width: 100%;
}

.site-input:focus {
    box-shadow: none;
}

.site-flag {
    font-size: 1rem;
    margin-right: 0.5rem;
}

.site-visit-btn {
    border-radius: 999px;
    padding: 0.7rem 3.5rem;
    background-color: var(--primary-color);
    border: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.98rem;
}

.site-visit-btn:hover {
    background-color: var(--primary-color-dark);
}

/* Mobile action bar */

.mobile-action-bar {
    background-color: var(--primary-color);
    color: #ffffff;
}

.mobile-action-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.7rem 0;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

.mobile-action-link:hover {
    color: #ffffff;
}

/* Master & Floor Plans section */

.plans-section {
    padding: 4rem 0 4.5rem;
    background-color: var(--primary-color);
    color: #ffffff;
}

.plans-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.plans-tab-nav .nav-link {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0 1.75rem 0.5rem;
    border-radius: 0;
    position: relative;
}

.plans-tab-nav .nav-link.active {
    color: #ffffff;
}

.plans-tab-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 2px;
    background-color: #ffffff;
}

.plans-image-frame {
    background-color: #ffffff;
    padding: 1.75rem;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
    position: relative;
}

.plans-floor-cta {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
}

.plans-floor-cta-btn {
    pointer-events: auto;
    background-color: var(--primary-color);
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1.4rem;
    font-weight: 600;
    font-size: 1rem;
    color: antiquewhite;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.25);
}

.plans-floor-cta-btn:hover,
.plans-floor-cta-btn:focus {
    background-color: var(--primary-color-dark);
    color: antiquewhite;
}

.plans-floor-cta-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(124, 63, 73, 0.35), 0 14px 26px rgba(0, 0, 0, 0.25);
}

.plan-main-image {
    display: block;
    width: auto;
    max-width: 400px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}
.plan-main-image.floor-blur {
    filter: blur(6px);
    cursor: pointer;
    transition: filter 0.3s ease;
}
.plan-main-image.floor-blur:hover {
    filter: blur(4px);
}

.plans-carousel-control {
    width: 3rem;
    opacity: 1;
}

.plans-carousel-control .carousel-control-prev-icon,
.plans-carousel-control .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    background-image: none;
    position: relative;
}

.plans-carousel-control .carousel-control-prev-icon::before,
.plans-carousel-control .carousel-control-next-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform-origin: center;
}

.plans-carousel-control .carousel-control-prev-icon::before {
    transform: translate(-40%, -50%) rotate(-135deg);
}

.plans-carousel-control .carousel-control-next-icon::before {
    transform: translate(-60%, -50%) rotate(45deg);
}

/* Image Gallery section */

.gallery-section {
    padding: 4rem 0 4.5rem;
    /* background-color: var(--primary-color); */
    color: var(--primary-color);
}

.amenities-section {
    padding: 4rem 0 4.5rem;
    background-color: #f7f7f9;
    color: var(--primary-color);
}

.gallery-header {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-title {
    font-size: 35px;
    font-weight: 400;
    letter-spacing: 0.06em;
    font-family: "Optima", sans-serif;
}

.amenities-slider-wrapper .gallery-item {
    flex: 0 0 25%;
}

/* Amenities section reuses gallery styles */
.amenities-section {
    padding: 4rem 0 4.5rem;
    background-color: #f7f7f9;
}

.gallery-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
}

.gallery-underline .line {
    flex: 0 0 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 0.75rem;
}

.gallery-underline .icon-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    position: relative;
}

.gallery-underline .icon-dot::before {
    content: "🖼️";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.gallery-slider-wrapper {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
}

.gallery-viewport {
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.6s ease;
    touch-action: pan-y;
}

.gallery-item {
    flex: 0 0 25%;
    padding: 0 0.75rem;
    position: relative;
    overflow: hidden;
}

.gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.3);
}

.gallery-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-control-prev {
    left: -1.5rem;
}

.gallery-control-next {
    right: -1.5rem;
}

.gallery-control-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #ffffff;
    position: relative;
}

.gallery-control-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.6rem;
    height: 0.6rem;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform-origin: center;
}

.gallery-control-prev .gallery-control-icon::before {
    transform: translate(-40%, -50%) rotate(-135deg);
}

.gallery-control-next .gallery-control-icon::before {
    transform: translate(-60%, -50%) rotate(45deg);
}

.amenities-section .gallery-item {
    isolation: isolate;
    border-radius: 8px;
}

.amenities-section .gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

.amenities-section .gallery-item::after {
    content: attr(data-label);
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    padding: 0.55rem 0.75rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.55));
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    border-radius: 6px;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 2;
}

/* Bottom-left floating CTAs */

.bottom-cta-group {
    position: fixed;
    left: 1.5rem;
    bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    z-index: 1060;
}

.bottom-cta {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.bottom-cta-whatsapp-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    font-size: 0;
}

.bottom-cta-whatsapp-icon::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bottom-cta-whatsapp-icon::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    border: 2px solid #25d366;
    border-top-color: transparent;
    border-right-color: transparent;
    transform: translate(-40%, -40%) rotate(-40deg);
}

.bottom-cta-call {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.55rem 1.9rem;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.bottom-cta-call-icon {
    font-size: 1rem;
}

.bottom-cta-call-text {
    white-space: nowrap;
}

/* Lead capture modal */

.lead-modal .modal-dialog {
    max-width: 640px;
}

.lead-modal .modal-content {
    border-radius: 0;
    border: none;
    padding: 2.5rem 3rem 2.25rem;
    position: relative;
}

.lead-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
}

.lead-modal-title {
    font-weight: 700;
    font-size: 1.4rem;
}

.lead-modal-subtitle {
    font-size: 0.95rem;
}

.lead-input {
    border-radius: 0;
    font-size: 0.95rem;
}

.lead-phone-wrap {
    border: 1px solid #ced4da;
    padding: 0 0.75rem;
}

.lead-phone-wrap .lead-input {
    border: none;
    box-shadow: none;
}

.lead-flag {
    font-size: 1rem;
}

.lead-submit-btn {
    background-color: var(--primary-color);
    border-radius: 0;
    border: none;
    padding: 0.6rem 2.4rem;
    font-weight: 600;
    color: antiquewhite;
}

.lead-submit-btn:hover {
    background-color: var(--primary-color-dark);
}

/* Footer */

.site-footer {
    background-color: #2b2b30;
    color: #f5f5f5;
    padding: 1.2rem 0;
    font-size: 0.85rem;
}

.footer-copy {
    opacity: 0.85;
}

.footer-powered {
    opacity: 0.7;
}
@media (max-width: 991.98px) {
    .typology-section {
        padding: 3rem 0 3.25rem;
    }

    .typology-row {
        grid-template-columns: 1.4fr 0.9fr 1.1fr;
    }

    .typology-cell {
        padding: 0 1rem;
    }

    .location-section {
        padding: 3rem 0 3.25rem;
    }

    .location-map-wrapper {
        min-height: 320px;
        margin-bottom: 1.5rem;
    }

    .site-visit-section {
        padding: 3rem 0 3.25rem;
    }

    .plans-section {
        padding: 3rem 0 3.25rem;
    }

    .plans-image-frame {
        padding: 1.25rem;
    }

    .gallery-section {
        padding: 3rem 0 3.25rem;
    }

    .amenities-section {
        padding: 3rem 0 3.25rem;
    }

    .bottom-cta-group {
        left: 1rem;
        bottom: 1rem;
    }

    .lead-modal .modal-content {
        padding: 2rem 1.75rem 2rem;
    }
}

@media (max-width: 767.98px) {
    .typology-title {
        font-size: 28px;
    }

    .typology-table {
        border-top: 1px solid rgba(0, 0, 0, 0.12);
    }

    .typology-row-head {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1.1fr;
        font-size: 0.7rem;
        padding: 0.8rem 0;
    }

    .typology-row {
        grid-template-columns: 1.5fr 1fr 1.1fr;
        padding: 0.9rem 0;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .typology-row .typology-cell {
        padding: 0 0.5rem;
    }

    .typology-row .typology-cell:nth-child(2),
    .typology-row .typology-cell:nth-child(3) {
        border-left: 1px solid rgba(0, 0, 0, 0.08);
    }

    .typology-name {
        font-size: 0.9rem;
    }

    .typology-type {
        font-size: 0.85rem;
    }

    .typology-price-btn {
        padding: 0.35rem 1.1rem;
        font-size: 0.82rem;
    }

    .location-title {
        font-size: 28px;
    }

    .location-list-row {
        font-size: 0.88rem;
    }

    .site-visit-title {
        font-size: 28px;
    }

    .site-input-wrap {
        padding: 0.7rem 1.9rem;
    }

    .plans-tab-nav .nav-link {
        padding: 0 1rem 0.4rem;
        font-size: 1rem;
    }

    .gallery-title {
        font-size: 28px;
    }

    .gallery-item {
        flex: 0 0 100%;
        padding: 0 0.5rem;
    }

    .amenities-slider-wrapper .gallery-item {
        flex: 0 0 100%;
    }

    .plan-main-image {
        max-width: 100%;
        height: 300px;
        object-fit: contain;
    }

    .bottom-cta-group {
        left: 0.75rem;
        bottom: 0.75rem;
    }

    .bottom-cta-whatsapp-icon {
        width: 46px;
        height: 46px;
    }

    .bottom-cta-call {
        padding: 0.5rem 1.6rem;
    }
}
