/* ============================================================
   BETTER HOMES MARKETING — Premium White Design System
   Theme: Editorial White / Ultra-Clean Luxury
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
    --white: #ffffff;
    --off-white: #fafaf9;
    --pale: #f4f3f1;
    --border: #e8e6e3;
    --border-mid: #d4d0ca;
    --ink-light: #3d3950;
    --ink-mid: #5a566a;
    --ink: #130f26;

    --gold: #b08d6a;
    --gold-light: #c5a98e;

    --container: 1260px;
    --section-v: 80px;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ── Layout ── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 50px;
}

/* ── Reveal Animation ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ── Section Tags ── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 20px;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--gold);
}

/* ── Heading Sizes ── */
.h-display {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.1;
}

.h-title {
    font-size: clamp(30px, 4vw, 48px);
}

.h-sub {
    font-size: clamp(22px, 3vw, 32px);
}


/* ================================================================
   HEADER
   ================================================================ */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 24px 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    transition: padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#main-header.scrolled {
    padding: 16px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo img {
    height: 42px;
    width: auto;
    transition: height 0.4s var(--ease);
}

#main-header.scrolled .logo img {
    height: 34px;
}

nav ul {
    display: flex;
    gap: 38px;
}

nav a {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-mid);
    position: relative;
    padding-bottom: 3px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ink);
    transition: width 0.35s var(--ease);
}

nav a:hover {
    color: var(--ink);
}

nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 480px) {
    .header-actions {
        gap: 8px;
    }

    #enquire-btn {
        padding: 8px 14px;
        font-size: 9px;
    }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    white-space: nowrap;
}

.btn-ink {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.btn-ink:hover {
    background: var(--ink-mid);
    border-color: var(--ink-mid);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn-outline-dark:hover {
    background: var(--ink);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border-mid);
    padding: 12px 26px;
    font-size: 11px;
}

.btn-ghost:hover {
    border-color: var(--ink);
    background: var(--pale);
}

.btn-sm {
    padding: 11px 22px;
    font-size: 10px;
}

.btn-block {
    width: 100%;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--ink);
    padding: 8px;
    /* Increased tap area */
    transition: transform 0.3s var(--ease);
}

.menu-btn:active {
    transform: scale(0.9);
}


/* ================================================================
   HERO
   ================================================================ */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100svh;
    /* Modern mobile browsers */
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    background: var(--ink);
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle at center, rgba(17, 17, 17, 0.2) 0%, rgba(17, 17, 17, 0.6) 100%);
    backdrop-filter: brightness(0.9);
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6.5vw, 84px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--white);
    max-width: 800px;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: var(--white);
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    font-weight: 400;
    margin-bottom: 48px;
    letter-spacing: 0.01em;
}

.hero-btns {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-btns .btn-ink {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
}

.hero-btns .btn-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    right: 50px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.55);
    writing-mode: vertical-rl;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}


/* ================================================================
   ABOUT
   ================================================================ */
.about-section {
    padding: 60px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-text .eyebrow {
    margin-bottom: 16px;
}

.about-text h2 {
    margin-bottom: 28px;
    max-width: 480px;
}

.about-text>p {
    font-size: 16px;
    color: var(--ink-mid);
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 440px;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.stat-item {
    border-top: 1.5px solid var(--border);
    padding-top: 24px;
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-light);
}

.about-visual {
    position: relative;
}

.about-img-main {
    width: 100%;
    height: 360px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.about-img-accent {
    position: absolute;
    bottom: -32px;
    left: -32px;
    width: 220px;
    height: 160px;
    object-fit: cover;
    border: 6px solid var(--white);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.about-visual-label {
    position: absolute;
    bottom: -25px !important;
    right: -15px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 16px 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 3px solid var(--gold);
    z-index: 10;
}

.about-visual-label strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 4px;
}

.about-visual-label span {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-light);
}


/* ================================================================
   PROPERTIES — Full-Width Row Showcase
   ================================================================ */
.properties-section {
    padding: var(--section-v) 0;
    background: var(--white);
}

.prop-intro {
    margin-bottom: 80px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 40px;
}

/* ================================================================
   PROPERTIES — Editorial Showcase (Header + Slider)
   ================================================================ */
.properties-section {
    padding: var(--section-v) 0;
    background: var(--white);
}

.prop-intro {
    margin-bottom: 40px;
    text-align: center;
}

.prop-intro .h-title {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.prop-showcase-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

@media (max-width: 768px) {
    .prop-showcase-list {
        gap: 60px;
    }
}

@media (max-width: 480px) {
    .prop-showcase-list {
        gap: 48px;
    }
}

.prop-showcase-block {
    width: 100%;
}

.prop-row-header {
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1.5px solid var(--border);
}

.prop-row-header .prop-name {
    font-size: clamp(28px, 3.5vw, 48px);
    color: var(--ink);
    margin-bottom: 0;
}

.prop-row-header .prop-loc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-light);
    margin-bottom: 0;
}

.prop-row-header .prop-loc i {
    color: var(--gold);
}

.prop-row-header .prop-separator {
    width: 70px;
    height: 1.5px;
    background: var(--gold);
}

.prop-showcase-row {
    position: relative;
    height: 70vh;
    min-height: 550px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 40px;
}

/* Background Swiper Styling */
.prop-bg-swiper {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.prop-bg-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay for contrast */
.prop-bg-swiper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, transparent 60%);
    z-index: 2;
    pointer-events: none;
}

/* Overlay Navigation */
.prop-bg-swiper .swiper-button-next,
.prop-bg-swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--gold);
    border: 1px solid rgba(176, 141, 106, 0.2);
    transition: all 0.4s var(--ease);
}

@media (max-width: 768px) {

    .prop-bg-swiper .swiper-button-next,
    .prop-bg-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .prop-bg-swiper .swiper-button-next::after,
    .prop-bg-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
}

/* Card Positioning */
.card-overlay-container {
    position: relative;
    z-index: 10;
    width: 100%;
    pointer-events: none;
}

/* Specific alignment for right-aligned cards */
.prop-row-reverse .card-overlay-container {
    display: flex;
    justify-content: flex-end;
}

.prop-row-reverse .prop-bg-swiper::after {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.2) 0%, transparent 60%);
}

.prop-row-reverse .prop-bg-swiper::after {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.2) 0%, transparent 60%);
}

.prop-overlay-card {
    background: var(--white);
    width: 100%;
    max-width: 440px;
    padding: 16px 24px;
    pointer-events: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
    position: relative;
    border-top: 3px solid var(--gold);
}

.prop-card-name {
    font-size: 22px;
    color: var(--ink);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.prop-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-mid);
    margin-bottom: 12px;
    font-weight: 300;
}

.prop-overlay-card .btn {
    background: var(--ink);
    color: var(--white);
    padding: 10px 22px;
    font-size: 10px;
    letter-spacing: 0.1em;
    border: 1px solid var(--ink);
}

.prop-overlay-card .btn:hover {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.prop-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
}

@media (max-width: 991px) {
    .prop-showcase-row {
        height: auto;
        flex-direction: column;
    }

    .prop-bg-swiper {
        position: relative;
        height: 400px;
    }

    .prop-overlay-card {
        max-width: 100%;
        padding: 24px 20px;
        box-shadow: none;
        border-bottom: 1px solid var(--border);
    }
}




/* ================================================================
   SERVICES (Pathway Redesign)
   ================================================================ */
.services-section {
    padding: var(--section-v) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    color: var(--ink);
}

.services-header h2 span {
    font-size: 0.6em;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    display: block;
    margin-top: 16px;
}

.pathway-container {
    position: relative;
    padding: 40px 0;
    margin-top: 40px;
}

/* Horizontal Line */
.pathway-line {
    position: absolute;
    top: 60px;
    /* Aligns with the center of the icons */
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.pathway-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    /* Partial fill for design effect */
    background: var(--gold-light);
    opacity: 0.5;
}

.pathway-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.pathway-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s var(--ease);
    color: var(--gold);
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.pathway-item:hover .step-icon {
    border-color: var(--gold);
    background: var(--pale);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.step-num {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-light);
    margin-bottom: 12px;
}

.step-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    max-width: 180px;
}

/* Responsive Pathway */
@media (max-width: 991px) {
    .pathway-line {
        display: none;
    }

    .pathway-steps {
        flex-direction: column;
        gap: 60px;
        align-items: center;
    }

    .pathway-item {
        width: 100%;
        max-width: 300px;
    }
}


/* ================================================================
   CONTACT
   ================================================================ */
.contact-section {
    padding: var(--section-v) 0;
    background: var(--pale);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-left h2 {
    margin-bottom: 20px;
    max-width: 380px;
}

.contact-left>p {
    font-size: 16px;
    color: var(--ink-mid);
    line-height: 1.8;
    max-width: 360px;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.contact-detail-icon i {
    font-size: 14px;
    color: var(--gold);
}

.contact-detail-item span {
    font-size: 14px;
    color: var(--ink-mid);
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    padding: 56px 48px;
    border: 1px solid var(--border);
}

.form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 36px;
    color: var(--ink);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    margin-bottom: 24px;
}

.form-field label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-light);
    margin-bottom: 10px;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--border);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--ink);
    transition: border-color 0.3s var(--ease);
    outline: none;
    resize: none;
}

input:focus,
textarea:focus {
    border-color: var(--ink);
}

input::placeholder,
textarea::placeholder {
    color: var(--ink-light);
    font-weight: 300;
}

.form-submit {
    margin-top: 8px;
}


/* ================================================================
   FOOTER
   ================================================================ */
footer {
    padding: 80px 0 40px;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 38px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    max-width: 280px;
    margin-bottom: 32px;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s var(--ease);
}

.footer-col ul a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.social-row {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.social-row a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    transition: all 0.3s var(--ease);
}

.social-row a:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}


/* ================================================================
   MOBILE MENU
   ================================================================ */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 998;
    display: flex;
    flex-direction: column;
    padding: 120px 50px 60px;
    transform: translateX(-100%);
    transition: transform 0.5s var(--ease-out);
}

.mobile-nav-overlay.open {
    transform: translateX(0);
}

.mobile-nav-overlay ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-overlay ul li a {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--ink);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left 0.3s var(--ease), color 0.3s;
}

.mobile-nav-overlay ul li a:hover {
    padding-left: 16px;
    color: var(--gold);
}

.mobile-nav-close {
    position: absolute;
    top: 28px;
    right: 50px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--ink);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
/* ================================================================
   RESPONSIVE — Global Breakdown
   ================================================================ */

/* --- Large Tablets & Small Laptops (up to 1200px) --- */
@media (max-width: 1200px) {
    :root {
        --container: 1000px;
        --section-v: 70px;
    }
}

/* --- Tablets & iPads (up to 1024px) --- */
@media (max-width: 1024px) {
    :root {
        --section-v: 60px;
    }

    .container {
        padding: 0 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .about-text h2,
    .about-text>p {
        margin-left: auto;
        margin-right: auto;
    }

    .about-visual-label {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
    }

    .about-visual-label strong {
        font-size: 22px;
    }

    .about-visual-label span {
        font-size: 8px;
    }

    .prop-row-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .contact-inner {
        gap: 60px;
    }
}

/* --- Mobile Landscape & Large Phones (up to 991px) --- */
@media (max-width: 991px) {
    nav {
        display: none;
        /* Hide desktop nav */
    }

    .menu-btn {
        display: block;
        /* Show mobile toggle */
    }

    .hero-title {
        font-size: clamp(36px, 10vw, 56px);
    }

    .about-img-main {
        height: 320px;
    }

    .prop-showcase-row {
        height: auto;
        flex-direction: column;
        padding-bottom: 0;
    }

    .prop-bg-swiper {
        position: relative;
        height: 350px;
    }

    .prop-overlay-card {
        max-width: 100%;
        margin-top: -30px;
        /* Slight overlap for architectural look */
        z-index: 20;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    }

    .prop-row-reverse .card-overlay-container {
        justify-content: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* --- Small Tablets & Phones (up to 768px) --- */
@media (max-width: 768px) {
    :root {
        --section-v: 50px;
    }

    .container {
        padding: 0 24px;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-btns {
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .hero-scroll-hint {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* --- Small Phones (up to 480px) --- */
@media (max-width: 480px) {
    :root {
        --section-v: 40px;
    }

    .container {
        padding: 0 20px;
    }

    .logo img {
        height: 28px;
    }

    #main-header.scrolled .logo img {
        height: 26px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .prop-bg-swiper {
        height: 280px;
    }

    .prop-overlay-card {
        padding: 24px 20px;
    }

    .prop-card-name {
        font-size: 22px;
    }

    .mobile-nav-overlay {
        padding-left: 24px;
        padding-right: 24px;
    }

    .mobile-nav-overlay ul li a {
        font-size: 32px;
    }
}

/* --- Handle Ultra-Wide Screens --- */
@media (min-width: 2000px) {
    :root {
        --container: 1600px;
    }
}

/* ================================================================
   MODAL — Enquiry Pop-up
   ================================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(19, 15, 38, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--white);
    width: 100%;
    max-width: 600px;
    position: relative;
    padding: 60px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    transition: transform 0.6s var(--ease-out);
    overflow-y: auto;
    max-height: 90vh;
}

.modal-overlay.open .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--ink-mid);
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s var(--ease);
}

.modal-close:hover {
    color: var(--ink);
}

.modal-header {
    margin-bottom: 32px;
}

.modal-header .eyebrow {
    margin-bottom: 12px;
}

.modal-header h2 {
    margin-bottom: 12px;
}

.modal-header p {
    font-size: 15px;
    color: var(--ink-mid);
}

@media (max-width: 600px) {
    .modal-container {
        padding: 40px 24px;
    }

    .modal-header h2 {
        font-size: 28px;
    }
}