/* =========================================================
   CROWN AT AQUAVIEW
   COMPACT PREMIUM REAL ESTATE MICROSITE
========================================================= */

/* =========================================================
   ROOT
========================================================= */

:root {
    --cream: #f7f4ee;
    --cream-dark: #eee6d8;
    --paper: #fbfaf7;
    --white: #ffffff;
    --black: #211f1d;
    --brown: #956044;
    --brown-dark: #392d26;
    --brown-light: #b07a59;
    --text: #24211f;
    --muted: #756d66;
    --border: #ddd3c5;
    --soft-border: rgba(255, 255, 255, 0.24);

    --heading-font: "DM Sans", sans-serif;
    --body-font: "DM Sans", sans-serif;
    --display-font: "Playfair Display", serif;

    --container: 92%;
    --max-width: 1380px;

    --transition: 0.35s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    font-family: var(--body-font);
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   COMMON
========================================================= */

section {
    width: 100%;
}

h1,
h2,
h3,
p {
    margin: 0;
}

.section-eyebrow {
    display: inline-block;
    color: var(--brown);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}


/* =========================================================
   NAVBAR
========================================================= */

.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    background: rgba(255, 255, 255, 0.97);
    z-index: 1000;

    transition:
        height 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.main-navbar.scrolled {
    height: 68px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);
}

.navbar-container {
    width: var(--container);
    max-width: var(--max-width);
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 220px;
}

.crown-logo-link {
    display: flex;
    align-items: center;
}

.crown-logo {
    width: 120px;
    height: 68px;
    object-fit: contain;
}

.logo-divider {
    width: 1px;
    height: 34px;
    background: #d9d3cc;
}
.brick-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.brick-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.authorized-text {
    font-size: 8px;
    line-height: 1.2;
    color: #77716c;
    letter-spacing: 0.4px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}
.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    position: relative;
    color: #24211f;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: var(--brown);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.brochure-button {
    border: 0;
    background: var(--brown);
    color: var(--white);

    font-size: 12px;
    font-weight: 700;

    padding: 12px 22px;
    border-radius: 10px;

    white-space: nowrap;
    transition: var(--transition);
}

.brochure-button:hover {
    background: var(--brown-dark);
    transform: translateY(-2px);
}

.mobile-menu-button {
    display: none;

    width: 38px;
    height: 38px;

    border: 0;
    background: transparent;

    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.mobile-menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    visibility: hidden;

    z-index: 1090;

    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;

    width: min(320px, 88%);
    height: 100vh;

    background: var(--cream);

    z-index: 1100;

    padding: 20px;

    transition: right 0.4s ease;

    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}

.mobile-menu-logos {
    display: flex;
    align-items: center;
    gap: 9px;
}

.mobile-privado-logo {
    width: 105px;
    height: 42px;
    object-fit: contain;
}

.mobile-logo-divider {
    width: 1px;
    height: 28px;
    background: #d0c7bc;
}
/* =========================================================
   MOBILE BRICKFOLIO LOGO + AUTHORIZED TEXT
========================================================= */

.mobile-brick-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.mobile-brick-logo {
    width: 29px;
    height: 29px;
    object-fit: contain;
    display: block;
}

.mobile-authorized-text {
    display: block;
    text-align: center;

    font-size: 5px;
    line-height: 1.2;

    color: #77716c;
    letter-spacing: 0.3px;
    font-weight: 600;

    white-space: nowrap;
}
.mobile-menu-close {
    width: 36px;
    height: 36px;

    border: 0;
    border-radius: 50%;

    background: var(--brown-dark);
    color: white;

    font-size: 22px;
    line-height: 1;
}

.mobile-navigation {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.mobile-nav-link {
    padding: 14px 0;

    border-bottom: 1px solid var(--border);

    font-size: 14px;
}

.mobile-nav-link.active {
    color: var(--brown);
}

.mobile-brochure-button {
    width: 100%;
    margin-top: 25px;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;

    height: 100vh;
    min-height: 620px;

    background: #222;

    overflow: hidden;
}

.hero-desktop {
    position: absolute;
    inset: 0;
}

.hero-slider-track {
    position: absolute;
    inset: 0;

    display: flex;

    width: 200%;
    height: 100%;

    transition: transform 1s ease;
}

.hero-slide {
    width: 50%;
    height: 100%;
    flex-shrink: 0;

    background-position: center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.55),
            rgba(10, 10, 10, 0.15)
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.65),
            transparent 50%
        );
}

.hero-desktop-content {
    position: absolute;
    z-index: 3;

    left: 50%;
    top: 53%;

    transform: translate(-50%, -50%);

    width: min(1050px, 90%);

    text-align: center;
    color: white;
}

.hero-eyebrow {
    display: inline-block;

    padding: 8px 16px;

    border-radius: 40px;

    background: rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(8px);

    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-desktop-title {
    margin-top: 20px;

    font-size: clamp(44px, 5vw, 72px);

    line-height: 0.98;
    letter-spacing: -2px;
    font-weight: 700;
}

.hero-description {
    width: min(650px, 90%);

    margin: 20px auto 0;

    font-size: 15px;
    line-height: 1.55;

    color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
    display: flex;
    justify-content: center;

    gap: 12px;

    margin-top: 28px;
}

.hero-primary-button,
.hero-secondary-button {
    min-width: 185px;

    padding: 13px 22px;

    border-radius: 10px;

    font-weight: 700;
    font-size: 12px;

    transition: var(--transition);
}

.hero-primary-button {
    border: 1px solid var(--brown);
    background: var(--brown);
    color: white;
}

.hero-primary-button:hover {
    background: var(--brown-dark);
    transform: translateY(-2px);
}

.hero-secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.8);

    color: white;
    background: transparent;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-secondary-button:hover {
    background: white;
    color: var(--black);
}

.hero-slider-dots {
    position: absolute;

    bottom: 38px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 6px;

    z-index: 5;
}

.hero-dot,
.mobile-hero-dot {
    width: 25px;
    height: 2px;

    border: 0;

    background: rgba(255, 255, 255, 0.4);

    padding: 0;
}

.hero-dot.active,
.mobile-hero-dot.active {
    background: white;
}


/* =========================================================
   HERO FLOATING CARD
========================================================= */

.hero-floating-card {
    position: absolute;

    z-index: 10;

    left: 50%;
    bottom: 20px;

    transform: translateX(-50%);

    width: min(620px, 86%);

    padding: 13px 20px;

    display: flex;
    align-items: center;
    justify-content: space-around;

    background: rgba(255, 255, 255, 0.93);

    backdrop-filter: blur(10px);

    border-radius: 5px;
}

.hero-card-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 3px;
}

.hero-card-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--brown-dark);
}

.hero-card-label {
    font-size: 8px;

    letter-spacing: 1.3px;

    color: var(--muted);
}

.hero-card-divider {
    width: 1px;
    height: 28px;

    background: var(--border);
}


/* =========================================================
   MOBILE HERO
========================================================= */

.hero-mobile {
    display: none;
}


/* =========================================================
   OVERVIEW
========================================================= */

.overview-section {
    background: var(--cream);
    padding: 10px 0;
}

.overview-container {
    width: var(--container);
    max-width: var(--max-width);
    margin: auto;
}

.overview-heading {
    width: 47%;

    display: inline-block;
    vertical-align: top;
}

.overview-heading h2 {
    font-size: clamp(30px, 3vw, 50px);

    line-height: 1.05;

    letter-spacing: -1.5px;

    font-weight: 600;
}

.overview-intro {
    width: 46%;

    display: inline-block;
    vertical-align: top;

    padding-left: 3%;
}

.overview-intro p {
    font-size: 14px;
    line-height: 1.65;

    color: #49433e;
    margin-top: 20px;
    margin-bottom: 5px;
}

.overview-gallery {
    margin-top: 10px;

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 18px;
}

.overview-main-image {
    height: 860px;

    overflow: hidden;

    border-radius: 6px;
}

.overview-main-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.overview-main-image:hover img {
    transform: scale(1.025);
}

.overview-side-images {
    display: grid;

    grid-template-rows: 1fr 1fr;

    gap: 18px;
}

.overview-side-images img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    min-height: 200px;

    border-radius: 6px;

    transition: transform 0.7s ease;
}

.overview-side-images img:hover {
    transform: scale(1.025);
}


/* =========================================================
   OVERVIEW STATS
========================================================= */

.overview-stats {
    margin-top: 35px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border: 1px solid var(--border);
}

.overview-stat {
    padding: 22px 15px;

    text-align: center;

    border-right: 1px solid var(--border);
}

.overview-stat:last-child {
    border-right: 0;
}

.overview-stat-icon {
    width: 40px;
    height: 40px;

    margin: auto auto 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--cream-dark);

    color: var(--brown-dark);

    border-radius: 5px;
}

.overview-stat-number {
    font-size: 19px;
    font-weight: 700;

    margin-bottom: 4px;
}

.overview-stat-label {
    font-size: 11px;
    color: var(--muted);
}


/* =========================================================
   AMENITIES
========================================================= */

.amenities-section {
    padding: 0 0 70px;

    background: var(--cream);
}

.amenities-container {
    width: var(--container);
    max-width: var(--max-width);

    margin: auto;
}

.amenities-header {
    display: flex;

    align-items: end;
    justify-content: space-between;

    margin-bottom: 30px;
}

.amenities-header h2 {
    font-size: clamp(36px, 3.5vw, 54px);

    line-height: 1;

    letter-spacing: -1.5px;
}

.amenities-header p {
    width: 320px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.6;
}

.amenities-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border: 1px solid var(--border);
}

.amenity-card {
    min-height: 165px;

    padding: 21px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.2);

    transition:
        background 0.35s ease,
        transform 0.35s ease;
}

.amenity-card:nth-child(4n) {
    border-right: 0;
}

.amenity-card:nth-last-child(-n + 4) {
    border-bottom: 0;
}

.amenity-card:hover {
    background: white;
    transform: translateY(-3px);
}

.amenity-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--cream-dark);

    color: var(--brown-dark);

    border-radius: 5px;

    font-size: 17px;

    margin-bottom: 14px;
}

.amenity-card h3 {
    font-size: 15px;

    margin-bottom: 7px;
}

.amenity-card p {
    font-size: 11px;

    line-height: 1.5;

    color: var(--muted);
}


/* =========================================================
   FLOOR PLANS
========================================================= */

.floorplan-section {
    background: #f5f1ea;

    padding: 10px 0;
}

.floorplan-container {
    width: var(--container);
    max-width: var(--max-width);

    margin: auto;
}

.floorplan-heading {
    text-align: center;

    margin-bottom: 20px;
}

.floorplan-heading h2 {
    font-size: clamp(30px, 3vw, 50px);

    line-height: 0.98;

    letter-spacing: -2px;
}

.floorplan-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.floorplan-card {
    background: var(--cream-dark);

    border-radius: 6px;

    overflow: hidden;

    box-shadow: 0 12px 30px rgba(49, 39, 31, 0.07);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.floorplan-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 18px 38px rgba(49, 39, 31, 0.11);
}

.floorplan-image-wrapper {
    height: 250px;

    position: relative;

    overflow: hidden;
}

.floorplan-image-wrapper img {
    width: 100%;
    height: 100%;
    filter: blur(4px);

    transition: transform 0.7s ease;
}

.floorplan-card:hover .floorplan-image-wrapper img {
    transform: scale(1.04);
}

.available-badge {
    position: absolute;

    z-index: 2;

    top: 15px;
    left: 15px;

    padding: 8px 13px;

    background: white;

    color: var(--brown);

    border-radius: 40px;

    font-size: 9px;

    letter-spacing: 1.5px;

    font-weight: 700;
}

.floorplan-card-content {
    padding: 18px 22px 20px;
}

.floorplan-title-row {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 12px;
}

.floorplan-title-row h3 {
    font-size: 22px;
}

.floorplan-price {
    font-size: 18px;

    font-weight: 700;

    color: var(--brown);

    white-space: nowrap;
}

.floorplan-type {
    color: var(--muted);

    font-size: 12px;

    margin-top: 8px;
}

.floorplan-details {
    margin-top: 18px;

    padding: 15px 0;

    border-top: 1px solid rgba(90, 70, 55, 0.15);

    border-bottom: 1px solid rgba(90, 70, 55, 0.15);

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    text-align: center;
}

.floorplan-details div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.floorplan-details span {
    font-size: 10px;
    color: var(--muted);
}

.floorplan-details strong {
    font-size: 13px;
}

.floorplan-button {
    width: 100%;

    margin-top: 16px;

    padding: 13px;

    border: 0;
    border-radius: 10px;
    background: var(--brown);

    color: white;

    font-size: 12px;

    font-weight: 700;

    transition: var(--transition);
}

.floorplan-button:hover {
    background: var(--brown-dark);
}


/* =========================================================
   LOCATION
========================================================= */

.location-section {
    padding: 0 0 10px;

    background: var(--cream);
}

.location-container {
    width: var(--container);

    max-width: var(--max-width);

    margin: auto;

    display: grid;

    grid-template-columns: 1.35fr 0.65fr;

    background: #292724;

    border-radius: 6px;

    overflow: hidden;
}

.location-map {
    min-height: 460px;

    overflow: hidden;
}

.location-map img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.location-content {
    padding: 10px 32px;

    color: white;
}

.location-content .section-eyebrow {
    color: #d3a27e;
}

.location-title {
    font-size: clamp(30px, 2.5vw, 48px);

    line-height: 1.02;

    letter-spacing: -1.5px;

    margin-bottom: 18px;
}

.location-description {
    color: rgba(255, 255, 255, 0.65);

    line-height: 1.55;

    font-size: 12px;

    margin-bottom: 10px;
}

.location-list {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.location-row {
    display: grid;

    grid-template-columns: 36px 1fr auto;

    align-items: center;

    gap: 10px;

    min-height: 58px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.location-row-icon {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.08);

    border-radius: 5px;

    color: white;
}

.location-row-name {
    font-size: 11px;
}

.location-row strong {
    color: #c98761;

    font-size: 11px;
}

.location-button {
    width: 100%;

    margin-top: 15px;

    padding: 13px;

    border: 0;

    border-radius: 10px;

    background: var(--brown-light);

    color: white;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    position: relative;

    min-height: 640px;

    padding: 10px 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    color: white;
}

.contact-background {
    position: absolute;

    inset: 0;

    background-size: cover;

    background-position: center;
}

.contact-overlay {
    position: absolute;

    inset: 0;

    background: rgba(20, 20, 20, 0.50);
}

.contact-container {
    position: relative;

    z-index: 2;

    width: min(680px, 100%);

    text-align: center;
}

.contact-eyebrow {
    color: #d6a27c;
}

.contact-title {
    font-size: clamp(40px, 3.5vw, 68px);

    line-height: 0.96;

    letter-spacing: -2px;

    margin-bottom: 18px;
}

.contact-description {
    max-width: 560px;

    margin: auto;

    font-size: 14px;

    line-height: 1.55;

    color: rgba(255, 255, 255, 0.82);
}

.contact-card {
    margin-top: 35px;

    padding: 25px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);

    border-radius: 6px;
}

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.contact-field-group {
    text-align: left;
}

.contact-input {
    width: 100%;

    height: 56px;

    padding: 0 18px;

    border: 1px solid rgba(255, 255, 255, 0.22);

    border-radius: 4px;

    background: rgba(255, 255, 255, 0.04);

    color: white;

    outline: none;

    font-size: 13px;
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.contact-input:focus {
    border-color: rgba(255, 255, 255, 0.65);
}

.contact-consent {
    display: flex;

    gap: 8px;

    text-align: left;

    align-items: flex-start;

    font-size: 10px;

    line-height: 1.6;

    color: rgba(255, 255, 255, 0.7);

    margin-top:0px;
}

.contact-consent input {
    margin-top: 0px;

    accent-color: var(--brown-light);
}

.contact-submit-button {
    height: 55px;

    border: 0;

    border-radius: 28px;

    background: var(--brown-light);

    color: white;

    font-size: 13px;

    font-weight: 700;

    margin-top: 2px;

    transition: var(--transition);
}

.contact-submit-button:hover {
    background: #bd815d;

    transform: translateY(-2px);
}

.contact-error,
.popup-error {
    display: block;

    color: #e8a18b;

    font-size: 10px;

    margin-top: 4px;
}

.contact-form-message,
.popup-form-message {
    min-height: 10px;

    font-size: 11px;
}


/* =========================================================
   POPUP
========================================================= */

.popup-overlay {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(19, 17, 15, 0.75);

    backdrop-filter: blur(7px);

    opacity: 0;

    visibility: hidden;

    transition: var(--transition);

    padding: 15px;
}

.popup-overlay.active {
    opacity: 1;

    visibility: visible;
}

.popup-modal {
    position: relative;

    width: min(500px, 100%);

    max-height: 80vh;

    overflow-y: auto;

    background: #faf7f0;

    color: var(--black);

    border-radius: 20px;

    transform: translateY(30px) scale(0.97);

    transition: var(--transition);

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.popup-overlay.active .popup-modal {
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;

    top: 15px;

    right: 15px;

    width: 40px;
    height: 40px;

    border: 0;

    border-radius: 50%;

    background: var(--brown-dark);

    color: white;

    font-size: 22px;

    z-index: 5;
}

.popup-body {
    padding: 48px 35px 30px;

    text-align: center;
}

.popup-logo {
    width: 135px;
    height: 55px;

    object-fit: contain;

    margin: auto;
}

.popup-title {
    margin-top: 17px;

    font-family: var(--display-font);

    font-size: 30px;

    line-height: 1.1;

    font-weight: 500;
}

.popup-subtitle {
    color: var(--muted);

    margin-top: 8px;

    font-size: 12px;

    line-height: 1.6;
}

.popup-price-banner {
    margin: 18px 0;

    padding: 10px;

    background: var(--cream-dark);

    color: var(--brown-dark);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.popup-form {
    display: flex;

    flex-direction: column;

    gap: 5px;

    text-align: left;
}

.popup-field-group {
    width: 100%;
}

.popup-input {
    width: 100%;

    height: 54px;

    border: 1px solid #ded6ca;

    border-radius: 10px;

    padding: 0 16px;

    background: white;

    outline: none;

    color: var(--black);

    font-size: 13px;
}

.popup-input:focus {
    border-color: var(--brown);
}

.popup-consent {
    display: flex;

    gap: 8px;

    align-items: flex-start;

    color: #776f66;

    font-size: 10px;

    line-height: 1.55;
}

.popup-consent input {
    margin-top: 3px;

    accent-color: var(--brown);
}

.popup-submit-button {
    width: 100%;

    height: 54px;

    border: 0;

    border-radius: 10px;

    background: var(--brown-dark);

    color: white;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.8px;

    transition: var(--transition);
}

.popup-submit-button:hover {
    background: var(--brown);
}



/* Bottom Right Round Floating buttons */

.bottom-floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.float-whatsapp {
    background-color: #25d366;
    /* WhatsApp Green */
}

.float-phone {
    background-color:var(--orange);;
    /* Phone Gold */
}

.float-btn:hover {
    transform: scale(1.08);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    width: 100%;

    padding-top: 5px;

    color: #444;

    background: #f9f9f9;

    border-top: 1px solid #e2e2e2;
}

.footer-container {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0;
}

.footer-top {
    display: flex;

    justify-content: space-between;

    gap: 25px;

    padding: 0 0 8px;
}

.footer-col {
    display: flex;

    flex: 1;

    flex-direction: column;

    gap: 8px;
}

.footer-col-brand {
    align-items: flex-start;
}

.footer-brand-logo {
    width: auto;

    height: 40px;

    object-fit: contain;
}

.footer-socials {
    display: flex;

    gap: 7px;

    margin-top: 3px;
}

.footer-socials a {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    color: #555;

    background: #fff;

    border: 1px solid #dcdcdc;

    border-radius: 4px;

    font-size: 12px;

    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--brown);

    background: #fafafa;

    border-color: var(--brown);
}

.footer-col-privado h3,
.footer-col-about h3 {
    margin-bottom: 2px;

    color: #111;

    font-size: 13px;

    font-weight: 700;
}

.footer-col-privado p,
.footer-col-about p {
    color: #555;

    font-size: 10px;

    line-height: 1.6;
}

.footer-bullets {
    display: flex;

    flex-direction: column;

    gap: 4px;

    padding: 0;

    margin: 0;

    list-style: none;
}

.footer-bullets li {
    display: flex;

    align-items: center;

    gap: 6px;

    color: #444;

    font-size: 10px;
}

.footer-bullets i {
    color: var(--brown);

    font-size: 11px;
}

.footer-mobile-brand {
    display: none;
}

.footer-divider {
    margin: 10px 0;

    border: 0;

    border-top: 1px solid #eaeaea;
}

.footer-contact {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 0;
}

.footer-contact-item {
    flex: 1;
}

.footer-contact-item h4 {
    margin-bottom: 3px;

    color: #777;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}

.footer-contact-item a,
.footer-contact-item p {
    color: #333;

    font-size: 11px;

    font-weight: 500;

    line-height: 1.4;
}

.footer-contact-item a:hover {
    color: var(--brown);
}

.footer-rera {
    margin: 10px 0;

    padding: 7px 12px;

    text-align: center;

    background: #fff;

    border-top: 1px dashed #cccccc;

    border-bottom: 1px dashed #cccccc;
}

.footer-rera p {
    color: #222;

    font-size: 10px;

    font-weight: 700;
}

.footer-disclaimer {
    padding: 0;

    margin-bottom: 12px;
}

.footer-disclaimer p {
    color: #777;

    font-size: 9px;

    line-height: 1.6;

    text-align: justify;
}

.footer-links {
    padding: 7px 0 12px;

    text-align: center;
}

.footer-links a {
    margin: 0 4px;

    color: #7834bc;

    font-size: 10px;

    font-weight: bold;

    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-links .link-separator {
    color: #ccc;

    font-size: 10px;
}

.footer-copyright-bar {
    padding: 9px 15px 0;

    color: #fff;

    background: #111;

    text-align: center;
}

.footer-copyright-bar p {
    margin: 0;

    font-size: 9px;

    font-weight: 700;
}

.popup-consent a {
    color: #0066cc !important;
    text-decoration: underline;
}

.popup-consent a:hover {
    color: #004999 !important;
}
.contact-consent a {
    color: #0066cc !important;
    text-decoration: underline;
}

.contact-consent a:hover {
    color: white !important;
}
/* =========================================================
   BOTTOM FLOATING ACTIONS
========================================================= */

.bottom-floating-actions {
    position: fixed;

    bottom: 18px;

    right: 18px;

    z-index: 998;

    display: flex;

    flex-direction: column;

    gap: 9px;
}

.float-btn {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 1.25rem;

    color: #ffffff;

    text-decoration: none;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

    transition: all 0.3s ease;
}

.float-whatsapp {
    background-color: #25d366;
}

.float-phone {
    background-color: #392d26;
}

.float-btn:hover {
    transform: scale(1.08);
}

.mobile-bottom-bar {
    display: none;
}
/* ==========================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================== */

.mobile-bottom-bar {
    display: none;
    /* Hidden on desktop */
}

/* =========================================================
   VIEWPORT REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: opacity, transform;
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

.reveal.reveal-scale {
    transform: scale(0.94);
}

.reveal.active {
    opacity: 1;

    transform: translate(0) scale(1);
}

.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

.reveal-delay-4 {
    transition-delay: 0.32s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .desktop-navigation {
        gap: 18px;
    }

    .nav-link {
        font-size: 11px;
    }

    .navbar-brand {
        min-width: auto;
    }

    .brochure-button {
        padding: 10px 15px;

        font-size: 10px;
    }

    .overview-heading {
        width: 45%;
    }

    .overview-intro {
        width: 50%;
    }

    .overview-main-image {
        height: 500px;
    }

    .overview-side-images img {
        min-height: 205px;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenity-card {
        min-height: 155px;
    }

    .amenity-card:nth-child(4n) {
        border-right: 1px solid var(--border);
    }

    .amenity-card:nth-child(2n) {
        border-right: 0;
    }

    .amenity-card:nth-last-child(-n + 4) {
        border-bottom: 1px solid var(--border);
    }

    .amenity-card:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .floorplan-image-wrapper {
        height: 280px;
    }

    .location-container {
        grid-template-columns: 1fr;
    }

    .location-map {
        min-height: 400px;
    }

    /* Gallery tablet */

    .gallery-slide,
    .gallery-large {
        flex-basis: 300px;
        width: 300px;
        height: 300px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    :root {
        --container: 92%;
    }


    /* =====================================================
       NAVBAR
    ===================================================== */

    .main-navbar {
        height: 66px;
    }

    .main-navbar.scrolled {
        height: 62px;
    }

    .desktop-navigation,
    .desktop-brochure-button {
        display: none;
    }

    .navbar-container {
        width: 92%;
    }

    .navbar-brand {
        gap: 9px;
    }

    .crown-logo {
        width: 105px;
        height: 50px;
    }

    .logo-divider {
        height: 28px;
    }
/* =========================================================
   MOBILE BRICKFOLIO LOGO + AUTHORIZED TEXT
========================================================= */

.mobile-brick-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.mobile-brick-logo {
    width: 29px;
    height: 29px;
    object-fit: contain;
    display: block;
}

.mobile-authorized-text {
    display: block;
    text-align: center;

    font-size: 5px;
    line-height: 1.2;

    color: #77716c;
    letter-spacing: 0.3px;
    font-weight: 600;

    white-space: nowrap;
}
    .mobile-menu-button {
        display: flex;
    }

    /* =====================================================
       HERO CARD
    ===================================================== */

    .hero-floating-card {
        bottom: 14px;

        width: 90%;

        padding: 10px 7px;
    }

    .hero-card-value {
        font-size: 14px;
    }

    .hero-card-label {
        font-size: 7px;

        letter-spacing: 0.8px;
    }

    .hero-card-divider {
        height: 24px;
    }


    /* =====================================================
       OVERVIEW
    ===================================================== */

    .overview-section {
        padding: 10px 0;
    }

    .overview-heading,
    .overview-intro {
        width: 100%;

        padding: 0;
    }

    .overview-heading h2 {
        font-size: 25px;

        letter-spacing: -1px;
    }

    .overview-intro {
        margin-top: 10px;
    }

    .overview-intro p {
        font-size: 13px;

        line-height: 1.6;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .overview-gallery {
        margin-top: 20px;

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .overview-main-image {
        height: 310px;

        border-radius: 5px;
    }

    .overview-side-images {
        grid-template-columns: 1fr 1fr;

        grid-template-rows: 135px;

        gap: 12px;
    }

    .overview-side-images img {
        min-height: 0;

        border-radius: 5px;
    }

    .overview-stats {
        margin-top: 25px;

        grid-template-columns: 1fr 1fr;
    }

    .overview-stat {
        padding: 18px 8px;

        border-right: 1px solid var(--border);

        border-bottom: 1px solid var(--border);
    }

    .overview-stat:nth-child(2n) {
        border-right: 0;
    }

    .overview-stat:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .overview-stat-icon {
        width: 35px;
        height: 35px;

        margin-bottom: 7px;
    }

    .overview-stat-number {
        font-size: 16px;
    }

    .overview-stat-label {
        font-size: 9px;
    }


    /* =====================================================
       AMENITIES
    ===================================================== */

    .amenities-section {
        padding-bottom: 55px;
    }

    .amenities-header {
        display: block;

        margin-bottom: 25px;
    }

    .amenities-header h2 {
        font-size: 35px;
    }

    .amenities-header p {
        width: 100%;

        margin-top: 15px;

        font-size: 12px;
    }

    .amenities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .amenity-card {
        min-height: 145px;

        padding: 15px 12px;
    }

    .amenity-icon {
        width: 38px;
        height: 38px;

        font-size: 14px;

        margin-bottom: 12px;
    }

    .amenity-card h3 {
        font-size: 13px;

        margin-bottom: 5px;
    }

    .amenity-card p {
        font-size: 10px;

        line-height: 1.45;
    }


    /* =====================================================
       FLOOR PLANS
    ===================================================== */

    .floorplan-section {
        padding: 10px 0;
    }

    .floorplan-heading {
        margin-bottom: 10px;
    }

    .floorplan-heading h2 {
        font-size: 35px;

        letter-spacing: -1px;
    }

    .floorplan-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .floorplan-image-wrapper {
        height: 235px;
    }

    .available-badge {
        top: 11px;
        left: 11px;

        padding: 6px 10px;

        font-size: 8px;
    }

    .floorplan-card-content {
        padding: 16px 15px 17px;
    }

    .floorplan-title-row {
        gap: 8px;
    }

    .floorplan-title-row h3 {
        font-size: 19px;
    }

    .floorplan-price {
        font-size: 15px;
    }

    .floorplan-type {
        font-size: 10px;

        margin-top: 7px;
    }

    .floorplan-details {
        margin-top: 16px;

        padding: 14px 0;
    }

    .floorplan-details div {
        gap: 4px;
    }

    .floorplan-details span {
        font-size: 9px;
    }

    .floorplan-details strong {
        font-size: 12px;
    }

    .floorplan-button {
        margin-top: 14px;

        padding: 11px;

        font-size: 10px;
    }

    /* =====================================================
       LOCATION
    ===================================================== */

    .location-section {
        padding-bottom: 10px;
    }

    .location-container {
        width: 100%;

        border-radius: 0;

        grid-template-columns: 1fr;
    }

    .location-map {
        min-height: 280px;
    }

    .location-content {
        padding: 35px 20px;
    }

    .location-title {
        font-size: 34px;
    }

    .location-description {
        font-size: 11px;
    }

    .location-row {
        grid-template-columns: 32px 1fr auto;

        gap: 8px;

        min-height: 55px;
    }

    .location-row-icon {
        width: 29px;
        height: 29px;
    }

    .location-row-name,
    .location-row strong {
        font-size: 10px;
    }

    .location-button {
        margin-top: 18px;

        padding: 11px;

        font-size: 10px;
    }


    /* =====================================================
       CONTACT
    ===================================================== */

    .contact-section {
        min-height: 580px;

        padding: 10px 14px;
    }

    .contact-title {
        font-size: 40px;

        letter-spacing: -1.5px;
    }

    .contact-description {
        font-size: 12px;
    }

    .contact-card {
        margin-top: 25px;

        padding: 17px;
    }

    .contact-input {
        height: 50px;

        padding: 0 15px;

        font-size: 12px;
    }

    .contact-consent {
        font-size: 9px;
    }

    .contact-submit-button {
        height: 50px;

        font-size: 11px;
    }


    /* =====================================================
       POPUP
    ===================================================== */

    .popup-overlay {
        padding: 10px;
    }

    .popup-modal {
        border-radius: 17px;
    }

    .popup-body {
        padding: 45px 18px 22px;
    }

    .popup-logo {
        width: 115px;
        height: 48px;
    }

    .popup-title {
        font-size: 26px;
    }

    .popup-subtitle {
        font-size: 11px;
    }

    .popup-price-banner {
        margin: 15px 0;

        padding: 8px;

        font-size: 9px;
    }

    .popup-input,
    .popup-submit-button {
        height: 50px;

        border-radius: 9px;

        font-size: 12px;
    }

    .popup-consent {
        font-size: 9px;
    }


     /* Fixed bottom bar for Mobile view (Matches Image 4) */
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 1000;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
    }
    .mobile-bottom-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        color: #ffffff;
        font-weight: 600;
        font-size: 0.95rem;
        transition: background-color 0.3s ease;
    }
    .btn-whatsapp {
        background-color: #1ebd61;
        /* WhatsApp Green */
    }
    .btn-whatsapp:hover {
        background-color: #1a9e52;
    }
    .btn-call {
        background-color: #392d26;
        /* Call Gold */
    }
    .btn-call:hover {
        background-color: #3b2e27;
    }
    .bottom-floating-actions {
        display: none;
    }

    /* =====================================================
       MOBILE FOOTER
    ===================================================== */

    .footer-container {
        padding: 0 12px;
    }

    .footer-top,
    .footer-top + .footer-divider {
        display: none !important;
    }

    .footer-mobile-brand {
        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 5px;

        padding: 0 0 7px;

        text-align: center;
    }

    .footer-mobile-logo {
        width: auto;

        height: 40px;

        margin-bottom: 3px;

        object-fit: contain;
    }
    .footer-mobile-authorized-text {
    display: block;
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: 0.4px;
    font-weight: 600;
    color: #77716c;
    text-align: center;
    margin-top: -2px;
    margin-left: 8px;
    margin-bottom: 2px;
}

    .footer-mobile-brand h3 {
        margin: 0;

        color: #111;

        font-size: 13px;

        font-weight: 700;
    }

    .footer-mobile-brand p {
        max-width: 500px;

        margin: 0;

        color: #555;

        font-size: 10px;

        line-height: 1.6;
    }

    .footer-contact {
        display: flex;

        flex-direction: row !important;

        justify-content: space-between;

        gap: 7px;

        padding: 7px 0;

        text-align: left;
    }

    .footer-contact-item {
        width: auto;
    }

    .footer-contact-item h4 {
        margin-bottom: 2px;

        font-size: 9px;
    }

    .footer-contact-item a,
    .footer-contact-item p {
        font-size: 9px;

        line-height: 1.3;
    }

    .footer-divider {
        margin: 7px 0;
    }

    .footer-rera {
        margin: 10px 0;

        padding: 6px 7px;
    }

    .footer-rera p {
        font-size: 9px;
    }

    .footer-disclaimer {
        padding: 0;

        margin-bottom: 12px;
    }

    .footer-disclaimer p {
        font-size: 8px;
    }

    .footer-links {
        padding: 7px 0 12px;
    }

    .footer-links a {
        font-size: 9px;
    }

    .footer-copyright-bar {
        padding: 8px 10px 0;
    }

    .footer-copyright-bar p {
        font-size: 8px;
    }


    /* =====================================================
       MOBILE BOTTOM BAR
    ===================================================== */

    .mobile-bottom-bar {
        display: flex;

        position: fixed;

        bottom: 0;

        left: 0;

        width: 100%;

        height: 48px;

        z-index: 1000;

        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
    }

    .mobile-bottom-btn {
        flex: 1;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 5px;

        color: #ffffff;

        font-weight: 600;

        font-size: 11px;

        transition: background-color 0.3s ease;
    }

    .btn-whatsapp {
        background-color: #1ebd61;
    }

    .btn-whatsapp:hover {
        background-color: #1a9e52;
    }

    .btn-call {
        background-color:#392d26;
    }

    .btn-call:hover {
        background-color: #44352c;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hero-mobile-content {
        width: 90%;
        display: none;
    }

    .hero-mobile-content h1 {
        font-size: 34px;
    }

    .hero-mobile-content p {
        font-size: 12px;
    }

    .hero-floating-card {
        width: 92%;
    }

    .hero-card-value {
        font-size: 13px;
    }

    .hero-card-label {
        font-size: 6px;

        letter-spacing: 0.6px;
    }

    .overview-heading h2,
    .amenities-header h2,
    .floorplan-heading h2 {
        font-size: 27px;
    }

    .gallery-heading h2 {
        font-size: 27px;
    }

    .overview-main-image {
        height: 275px;
    }

    .overview-side-images {
        grid-template-rows: 120px;
    }

    .amenity-card {
        min-height: 135px;

        padding: 13px 10px;
    }

    .amenity-icon {
        width: 35px;
        height: 35px;

        font-size: 13px;

        margin-bottom: 9px;
    }

    .amenity-card h3 {
        font-size: 12px;
    }

    .amenity-card p {
        font-size: 9px;
    }

    .floorplan-image-wrapper {
        height: 215px;
    }

    .floorplan-title-row h3 {
        font-size: 18px;
    }

    .floorplan-price {
        font-size: 14px;
    }

    /* Gallery */

    .gallery-slide,
    .gallery-large {
        flex-basis: 100%;

        width: 100%;

        height: auto;

        aspect-ratio: 1 / 1;
    }

    .location-content {
        padding: 30px 16px;
    }

    .location-title {
        font-size: 27px;
    }

    .contact-title {
        font-size: 36px;
    }

    .popup-title {
        font-size: 24px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

    .crown-logo {
        width: 95px;
    }
    .hero-mobile-content h1 {
        font-size: 30px;
    }

    .hero-card-value {
        font-size: 12px;
    }

    .hero-card-label {
        font-size: 5.5px;
    }

    .overview-heading h2,
    .amenities-header h2,
    .floorplan-heading h2,
    .gallery-heading h2 {
        font-size: 27px;
    }

    .amenity-card {
        min-height: 125px;
    }

    .amenity-card h3 {
        font-size: 11px;
    }

    .amenity-card p {
        font-size: 8px;
    }

    .gallery-slide,
    .gallery-large {
        aspect-ratio: 1 / 1;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal.reveal-left,
    .reveal.reveal-right,
    .reveal.reveal-scale {
        opacity: 1;

        transform: none;

        transition: none;
    }
}
/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    padding: 10px 0;
    background: var(--cream);
    overflow: hidden;
}

.gallery-container {
    width: var(--container);
    max-width: var(--max-width);
    margin: auto;
}

.gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 20px;
}

.gallery-heading h2 {
    font-size: clamp(30px, 3.5vw, 62px);
    line-height: 0.98;
    letter-spacing: -2px;
    font-weight: 600;
    max-width: 650px;
}

.gallery-heading p {
    width: 320px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* Slider viewport */
.gallery-slider {
    width: 100%;
    overflow: hidden;
}

/* Horizontal track */
.gallery-track {
    display: flex;
    gap: 16px;
    width: max-content;
    transition: transform 0.7s ease;
    will-change: transform;
}

/* Gallery card */
.gallery-slide {
    flex: 0 0 330px;
    width: 330px;
    height: 330px;

    position: relative;
    overflow: hidden;

    border-radius: 6px;
    background: transparent;
}

/* IMPORTANT:
   Image must fill entire card */
.gallery-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    margin: 0;
    padding: 0;

    transition: transform 0.6s ease;
}

/* Hover */
.gallery-slide:hover img {
    transform: scale(1.04);
}

/* Remove special height from large image */
.gallery-large {
    height: 330px;
}

/* Controls */
.gallery-controls {
    margin-top: 15px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.gallery-controls button {
    width: 43px;
    height: 43px;

    border-radius: 50%;
    border: 1px solid var(--border);

    background: transparent;
    color: var(--brown-dark);

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.gallery-controls button:hover {
    background: var(--brown);
    color: white;
    border-color: var(--brown);
    transform: translateY(-2px);
}


/* =========================================================
   TABLET GALLERY
========================================================= */

@media (max-width: 1100px) {

    .gallery-slide {
        flex: 0 0 300px;
        width: 300px;
        height: 300px;
    }

    .gallery-large {
        height: 300px;
    }

}


/* =========================================================
   MOBILE GALLERY
========================================================= */

@media (max-width: 768px) {

    .gallery-section {
        padding: 10px 0;
    }

    .gallery-heading {
        display: block;
        margin-bottom: 10px;
    }

    .gallery-heading h2 {
        font-size: 36px;
        line-height: 1;
        letter-spacing: -1.2px;
    }

    .gallery-heading p {
        width: 100%;
        margin-top: 14px;
        font-size: 12px;
        line-height: 1.55;
    }

    .gallery-slider {
        width: 100%;
        overflow: hidden;
    }

    .gallery-track {
        gap: 12px;
    }

    .gallery-slide,
    .gallery-large {
        flex: 0 0 calc(100vw - 52px);
        width: calc(100vw - 52px);
        height: 300px;

        border-radius: 5px;
    }

    /* VERY IMPORTANT FOR MOBILE */
    .gallery-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .gallery-controls {
        justify-content: center;
        margin-top: 17px;
        gap: 8px;
    }

    .gallery-controls button {
        width: 38px;
        height: 38px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .gallery-section {
        padding: 10px 0;
    }

    .gallery-heading h2 {
        font-size: 27px;
    }

    .gallery-heading p {
        font-size: 11px;
    }

    .gallery-slide,
    .gallery-large {
        flex: 0 0 calc(100vw - 36px);
        width: calc(100vw - 36px);
        height: 300px;
    }

    .gallery-track {
        gap: 10px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .gallery-heading h2 {
        font-size: 29px;
    }

    .gallery-slide,
    .gallery-large {
        flex: 0 0 calc(100vw - 30px);
        width: calc(100vw - 30px);
        height: 275px;
    }

}
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.contact-background img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

/* KEEP YOUR EXISTING TRANSPARENT OVERLAY COLOR */
.contact-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.contact-container {
    position: relative;
    z-index: 2;
}
.popup-overlay {
    overflow-y: auto;
}

.popup-modal {
    overflow: visible;
}

.popup-body {
    overflow: visible;
}

.iti {
    width: 100%;
    display: block;
    position: relative;
}

.iti input[type="tel"] {
    width: 100% !important;
}

.iti__selected-country {
    min-width: 88px;
    padding-left: 10px !important;
    padding-right: 8px !important;
}

.iti__selected-dial-code {
    font-size: 13px !important;
    font-weight: 500;
}

.iti__flag {
    display: block;
}

.iti__country-list {
    z-index: 999999 !important;
    max-height: 250px;
}
.popup-field-group .iti__selected-country {
    color: var(--black);
}

.popup-field-group .iti__selected-dial-code {
    color: var(--black) !important;
}

.popup-field-group .iti__arrow {
    border-top-color: var(--muted);
}
.contact-field-group .iti input[type="tel"],
.popup-field-group .iti input[type="tel"] {
    padding-left: 96px !important;
}
/* ================================
   PHONE COUNTRY DROPDOWN FIX
================================ */

.iti__country-list {
    background: #ffffff !important;
    color: #222222 !important;
    z-index: 999999 !important;
}

.iti__country {
    color: #222222 !important;
    background: #ffffff !important;
}

.iti__country-name,
.iti__dial-code {
    color: #222222 !important;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background: #f2f2f2 !important;
    color: #222222 !important;
}

.iti__search-input {
    background: #ffffff !important;
    color: #222222 !important;
    border: 1px solid #999999 !important;
}

.iti__search-input::placeholder {
    color: #777777 !important;
}

/* Search icon / dropdown text */
.iti__search-icon {
    color: #555555 !important;
}

/* Scrollbar */
.iti__country-list::-webkit-scrollbar {
    width: 8px;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 10px;
}

.iti__country-list::-webkit-scrollbar-track {
    background: #eeeeee;
}
.contact-field-group .iti__selected-country {
    color: #ffffff !important;
}

.contact-field-group .iti__selected-dial-code {
    color: #ffffff !important;
}

.contact-field-group .iti__arrow {
    border-top-color: rgba(255, 255, 255, 0.8) !important;
}
.popup-field-group .iti__selected-country {
    color: #222222 !important;
}

.popup-field-group .iti__selected-dial-code {
    color: #222222 !important;
}

.popup-field-group .iti__arrow {
    border-top-color: #777777 !important;
}
/* =========================================================
   MOBILE BOTTOM CALL / WHATSAPP BAR
========================================================= */

.mobile-bottom-bar {
    position: fixed !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;

    height: 70px !important;
    min-height: 70px !important;

    display: flex !important;
    flex-direction: row !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;

    z-index: 999999999 !important;

    box-sizing: border-box !important;

    visibility: visible !important;
    opacity: 1 !important;

    overflow: hidden !important;

    transform: translateZ(0) !important;

    padding-bottom: env(safe-area-inset-bottom) !important;
}


/* =========================================================
   BOTH BUTTONS
========================================================= */

.mobile-bottom-bar .mobile-bottom-btn {
    position: relative !important;

    width: 50% !important;
    flex: 0 0 50% !important;

    height: 70px !important;
    min-height: 70px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 10px !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box !important;

    text-decoration: none !important;

    font-family: inherit !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    overflow: hidden !important;

    -webkit-tap-highlight-color: transparent !important;
}


/* =========================================================
   WHATSAPP
========================================================= */

.mobile-bottom-bar .btn-whatsapp {
    background: #20d366 !important;
    color: #ffffff !important;
}


/* =========================================================
   CALL
========================================================= */

.mobile-bottom-bar .btn-call {
    background: #956044 !important;
    color: #ffffff !important;
}


/* =========================================================
   ICONS
========================================================= */

.mobile-bottom-bar .mobile-bottom-btn i {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 30px !important;
    height: 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 27px !important;

    line-height: 1 !important;

    flex-shrink: 0 !important;
}


/* =========================================================
   TEXT
========================================================= */

.mobile-bottom-bar .mobile-bottom-btn span {
    display: inline-block !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    white-space: nowrap !important;
}


/* =========================================================
   MOBILE ONLY
========================================================= */

@media (max-width: 768px) {

    .mobile-bottom-bar {
        display: flex !important;

        position: fixed !important;

        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        width: 100% !important;

        height: 70px !important;
        min-height: 70px !important;

        z-index: 999999999 !important;
    }


    .mobile-bottom-bar .mobile-bottom-btn {
        width: 50% !important;
        flex: 0 0 50% !important;

        height: 40px !important;
        min-height: 40px !important;
    }


    .mobile-bottom-bar .mobile-bottom-btn i {
        font-size: 27px !important;

        width: 30px !important;
        height: 30px !important;
    }


    .mobile-bottom-bar .mobile-bottom-btn span {
        font-size: 14px !important;
    }

}


/* =========================================================
   DESKTOP HIDE
========================================================= */

@media (min-width: 769px) {

    .mobile-bottom-bar {
        display: none !important;
    }

}
/* =========================================================
   MOBILE HERO
   FULL WIDTH + BELOW NAVBAR + NO CROPPING
========================================================= */

@media (max-width: 768px) {

    /* ===============================
       HERO SECTION
    =============================== */

    .hero-section {
        position: relative !important;

        width: 100% !important;

        /* Navbar height */
        margin-top: 66px !important;

        height: auto !important;
        min-height: 0 !important;

        padding: 0 !important;

        overflow: hidden !important;

        background: #061d35 !important;
    }


    /* ===============================
       DESKTOP HERO
    =============================== */

    .hero-desktop {
        display: none !important;
    }


    /* ===============================
       MOBILE HERO
    =============================== */

    .hero-mobile {
        display: block !important;

        position: relative !important;

        width: 100% !important;

        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;

        background: #061d35 !important;
    }


    /* ===============================
       SLIDER TRACK
    =============================== */

    .hero-mobile-track {
        display: flex !important;

        width: 200% !important;

        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        transition: transform 0.8s ease;

        will-change: transform;
    }


    /* ===============================
       SLIDE
    =============================== */

    .hero-mobile-slide {
        position: relative !important;

        flex: 0 0 50% !important;

        width: 50% !important;

        height: auto !important;

        min-width: 0 !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;

        background: #061d35 !important;
    }


    /* ===============================
       BANNER IMAGE
       FULL WIDTH
       ORIGINAL ASPECT RATIO
    =============================== */

    .hero-mobile-image {
        display: block !important;

        width: 100% !important;

        height: auto !important;

        max-width: 100% !important;
        max-height: none !important;

        object-fit: contain !important;

        object-position: center top !important;

        margin: 0 !important;
        padding: 0 !important;

        vertical-align: top !important;
    }


    /* ===============================
       HIDE EXTRA HERO CONTENT
    =============================== */

    .hero-mobile-overlay {
        display: none !important;
    }

    .hero-mobile-content {
        display: none !important;
    }

    .hero-floating-card {
        display: none !important;
    }


    /* ===============================
       SLIDER DOTS
    =============================== */

    .mobile-hero-dots {
        position: absolute !important;

        left: 50% !important;
        bottom: 8px !important;

        transform: translateX(-50%) !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        gap: 6px !important;

        z-index: 20 !important;
    }

    .mobile-hero-dot {
        width: 22px !important;
        height: 3px !important;

        padding: 0 !important;
        border: 0 !important;

        border-radius: 10px !important;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hero-section {
        margin-top: 66px !important;

        width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        padding: 0 !important;
    }

    .hero-mobile {
        width: 100% !important;
        height: auto !important;
    }

    .hero-mobile-track {
        width: 200% !important;
        height: auto !important;
    }

    .hero-mobile-slide {
        width: 50% !important;
        flex: 0 0 50% !important;

        height: auto !important;
    }

    .hero-mobile-image {
        width: 100% !important;
        height: auto !important;

        max-width: 100% !important;

        object-fit: contain !important;
        object-position: center top !important;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .hero-section {
        margin-top: 62px !important;
    }
}
.footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand-logo {
    width: 80px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-authorized-text {
    display: block;
    margin-top: 4px;
     margin-left: 12px;
    font-size: 7px;
    line-height: 1.2;
    color: #77716c;
    letter-spacing: 0.5px;
    font-weight: 600;
}
/* =========================================================
   MOBILE FLOOR PLAN SLIDER
========================================================= */

@media (max-width: 768px) {

    .floorplan-section {
        padding: 15px 0 35px;
        overflow: hidden;
    }

    .floorplan-container {
        width: 92%;
        margin: 0 auto;
    }

    .floorplan-heading {
        margin-bottom: 18px;
    }

    .floorplan-heading h2 {
        font-size: 32px;
        line-height: 1;
    }


    /* =========================================
       SLIDER VIEWPORT
    ========================================= */

    .floorplan-grid {
        display: flex !important;

        flex-direction: row !important;

        gap: 14px !important;

        width: 100% !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        scroll-snap-type: x mandatory;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;

        padding: 0 0 8px;
    }

    /* Hide scrollbar Chrome/Safari */
    .floorplan-grid::-webkit-scrollbar {
        display: none;
    }


    /* =========================================
       EACH FLOOR PLAN CARD
    ========================================= */

    .floorplan-card {
        flex: 0 0 calc(100% - 25px) !important;

        width: calc(100% - 25px) !important;

        max-width: none !important;

        scroll-snap-align: start;

        margin: 0 !important;
    }


    /* =========================================
       IMAGE
    ========================================= */

    .floorplan-image-wrapper {
        width: 100%;

        height: 235px;

        overflow: hidden;

        border-radius: 6px;
    }

    .floorplan-image-wrapper img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /* =========================================
       CARD CONTENT
    ========================================= */

    .floorplan-card-content {
        padding: 15px;
    }

    .floorplan-title-row {
        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 8px;
    }

    .floorplan-title-row h3 {
        font-size: 18px;
    }

    .floorplan-price {
        font-size: 14px;
    }

    .floorplan-type {
        font-size: 10px;
        margin-top: 6px;
    }

    .floorplan-details {
        margin-top: 14px;
        padding: 13px 0;
    }

    .floorplan-details span {
        font-size: 9px;
    }

    .floorplan-details strong {
        font-size: 12px;
    }

    .floorplan-button {
        width: 100%;

        margin-top: 13px;

        padding: 11px;

        font-size: 10px;
    }


    /* =========================================
       AVAILABLE BADGE
    ========================================= */

    .available-badge {
        top: 10px;
        left: 10px;

        padding: 6px 9px;

        font-size: 8px;
    }


    /* =========================================
       SLIDER HINT
       Shows small peek of next card
    ========================================= */

    .floorplan-grid {
        padding-right: 18px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .floorplan-section {
        padding: 10px 0 10px;
    }

    .floorplan-container {
        width: 92%;
    }

    .floorplan-heading h2 {
        font-size: 27px;
    }

    .floorplan-grid {
        gap: 12px !important;
    }

    .floorplan-card {
        flex: 0 0 calc(100% - 20px) !important;

        width: calc(100% - 20px) !important;
    }

    .floorplan-image-wrapper {
        height: 215px;
    }

    .floorplan-card-content {
        padding: 14px;
    }

    .floorplan-title-row h3 {
        font-size: 17px;
    }

    .floorplan-price {
        font-size: 13px;
    }
} 