:root {
    --ink: #07090d;
    --navy: #0b1f3a;
    --gold: #c9a96e;
    --gold-light: #ead8ad;
    --paper: #f7f7f5;
    --white: #fff;
    --muted: #667085;
    --line: #e4e7ec;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    min-width: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, sans-serif;
    line-height: 1.5;
}
main, section, form, .hero-content, .quick-search-head, .section-heading, .property-grid {
    min-width: 0;
    max-width: 100%;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, .logo { font-family: "Playfair Display", serif; }

#navbar {
    position: absolute;
    inset: 0 0 auto;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px clamp(20px, 5vw, 70px);
    background: linear-gradient(to bottom, rgba(7,9,13,.75), transparent);
}
.logo {
    color: var(--white);
    font-size: 22px;
    line-height: 1.1;
    text-decoration: none;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); list-style: none; }
.nav-links li { position: relative; }
.nav-links a {
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-decoration: none;
    text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links .has-dropdown > a { padding-right: 15px; }
.nav-links .has-dropdown > a::after {
    position: absolute;
    top: 50%;
    right: 0;
    content: "▾";
    color: var(--gold);
    transform: translateY(-50%);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -18px;
    display: grid;
    min-width: 275px;
    max-height: 70vh;
    padding: 12px 0;
    overflow-y: auto;
    border: 1px solid rgba(201,169,110,.3);
    background: rgba(7,9,13,.98);
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: flex; padding: 9px 18px; align-items: center; justify-content: space-between; gap: 18px; white-space: nowrap; }
.dropdown-menu a b { min-width: 25px; padding: 2px 7px; border-radius: 999px; background: rgba(201,169,110,.16); color: var(--gold-light); font-family: Inter,sans-serif; font-size: 10px; text-align: center; }

.hero {
    position: relative;
    display: grid;
    min-height: 650px;
    place-items: center;
    padding: 130px 20px 90px;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    background: var(--ink);
}
.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(7,9,13,.86), rgba(11,31,58,.55)), var(--hero-image) center/cover;
}
.hero-content { position: relative; z-index: 1; width: min(780px, 100%); }
.hero-label {
    display: block;
    margin-bottom: 18px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}
.hero h1 { font-size: clamp(46px, 6vw, 78px); font-weight: 500; line-height: .98; }
.hero h1 em { color: var(--gold); font-weight: 600; }
.hero p { max-width: 590px; margin: 22px auto 0; color: #e5e7eb; font-size: 17px; }
.hero-buttons { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-buttons a,
.off-market > a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
}
.hero-primary { background: var(--gold); color: var(--ink); }
.hero-secondary { border: 1px solid rgba(255,255,255,.5); color: var(--white); }
.hero-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 8px;
    max-width: 760px;
    margin: 18px auto 0;
    padding: 9px;
    border: 1px solid rgba(201,169,110,.45);
    border-radius: 12px;
    background: rgba(7,9,13,.72);
    backdrop-filter: blur(12px);
}
.hero-search select,
.hero-search button {
    min-width: 0;
    min-height: 43px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: var(--white);
    font: inherit;
}
.hero-search option { color: var(--ink); }
.hero-search button {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--ink);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
.hero-proof { margin-top: 13px; color: #d1d5db; font-size: 10px; letter-spacing: .7px; }

.quick-search { padding: 44px clamp(20px, 5vw, 70px) 58px; background: var(--white); }
.stock-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
    margin: -78px auto 42px;
    padding: 17px;
    border: 1px solid rgba(201,169,110,.35);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 18px 55px rgba(11,31,58,.14);
    position: relative;
    z-index: 3;
}
.stock-summary div { padding: 3px 22px; text-align: center; }
.stock-summary div + div { border-left: 1px solid var(--line); }
.stock-summary strong { display: block; color: var(--navy); font-family: "Playfair Display", serif; font-size: 31px; line-height: 1; }
.stock-summary span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.quick-search-head {
    display: flex;
    max-width: 1280px;
    margin: 0 auto 26px;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}
.quick-search-head > div > span,
.section-eyebrow,
.off-market span {
    color: #8a6b32;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.quick-search h2 { margin-top: 4px; color: var(--navy); font-size: clamp(28px, 4vw, 40px); }
.quick-search form { display: grid; grid-template-columns: 190px 190px auto; gap: 8px; }
.quick-search select,
.quick-search button {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    font: inherit;
}
.quick-search button {
    padding-inline: 20px;
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1280px;
    margin: 0 auto;
    gap: 10px;
}
.category-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafafa;
    text-decoration: none;
    transition: border-color .2s, transform .2s;
}
.category-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.category-card span,
.category-card small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.category-card small b {
    display: inline-grid;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    place-items: center;
    border-radius: 999px;
    background: var(--navy);
    color: var(--white);
    font-size: 12px;
}
.category-card span { letter-spacing: 1px; text-transform: uppercase; }
.category-card strong { display: block; margin: 5px 0; color: var(--navy); font-size: 15px; line-height: 1.2; }

.showcase-section { padding: 62px clamp(20px, 5vw, 70px); }
.showcase-light { background: var(--paper); }
.showcase-dark { background: var(--ink); color: var(--white); }
.section-heading {
    display: flex;
    max-width: 1280px;
    margin: 0 auto 26px;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}
.section-heading h2 { margin: 4px 0 7px; color: var(--navy); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.showcase-dark .section-heading h2 { color: var(--white); }
.section-heading p { max-width: 650px; color: var(--muted); }
.showcase-dark .section-heading p { color: #aeb5c0; }
.section-link,
.mobile-section-link {
    color: #8a6b32;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
}
.showcase-dark .section-link,
.showcase-dark .mobile-section-link { color: var(--gold-light); }
.mobile-section-link { display: none; }

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1280px;
    margin: 0 auto;
    gap: 20px;
}
.latest-rail {
    display: flex;
    overflow-x: auto;
    padding: 3px 2px 18px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.latest-rail .property-card {
    flex: 0 0 calc((100% - 40px) / 3);
    scroll-snap-align: start;
}
.property-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(11,31,58,.07);
    transition: transform .25s, box-shadow .25s;
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(11,31,58,.13); }
.showcase-dark .property-card { border-color: rgba(255,255,255,.1); background: #111722; }
.property-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #dfe3e8; }
.property-media img,
.property-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s, opacity .45s;
}
.has-carousel .property-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
}
.has-carousel .property-slide.is-active { opacity: 1; }
.property-card:hover .property-media img,
.property-card:hover .property-slide.is-active { transform: scale(1.035); }
.property-media-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.property-dots {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    gap: 5px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(7,9,13,.48);
    backdrop-filter: blur(8px);
}
.property-dots i {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.55);
}
.property-dots i.is-active { width: 15px; background: var(--gold-light); }
.property-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(201,169,110,.95);
    color: var(--ink);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}
.property-content { padding: 18px; }
.property-location { color: #8a6b32; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.property-content h3 { margin-top: 6px; font-size: 22px; line-height: 1.15; }
.property-content h3 a { text-decoration: none; }
.property-facts { display: flex; min-height: 22px; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.showcase-dark .property-facts { color: #aeb5c0; }
.property-bottom {
    display: flex;
    margin-top: 16px;
    padding-top: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
}
.showcase-dark .property-bottom { border-color: rgba(255,255,255,.1); }
.property-bottom strong { color: #8a6b32; font-size: 15px; }
.showcase-dark .property-bottom strong { color: var(--gold-light); }
.property-bottom a { color: var(--navy); font-size: 10px; font-weight: 800; letter-spacing: .8px; text-decoration: none; text-transform: uppercase; }
.showcase-dark .property-bottom a { color: var(--gold-light); }

.off-market {
    display: flex;
    padding: 55px max(20px, calc((100vw - 1140px) / 2));
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(135deg, var(--navy), var(--ink));
    color: var(--white);
}
.off-market h2 { margin: 6px 0 9px; font-size: clamp(30px, 4vw, 44px); }
.off-market p { max-width: 710px; color: #cdd3dc; }
.off-market > a { flex: 0 0 auto; background: var(--gold); color: var(--ink); }
.strategic-intro {
    padding: 76px clamp(20px, 7vw, 110px);
    color: var(--white);
    text-align: center;
    background:
        radial-gradient(circle at 80% 15%, rgba(201,169,110,.28), transparent 30%),
        linear-gradient(135deg, #06101e, var(--navy));
}
.strategic-intro > span,
.final-cta > div > span { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.strategic-intro h2 { max-width: 900px; margin: 10px auto 16px; font-size: clamp(36px, 5vw, 58px); }
.strategic-intro p { max-width: 780px; margin: 0 auto; color: #d8dde5; font-size: 16px; }
.strategic-intro a {
    display: inline-flex;
    min-height: 48px;
    margin-top: 24px;
    padding: 13px 22px;
    align-items: center;
    border: 1px solid var(--gold);
    border-radius: 9px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
}
.benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 34px clamp(20px, 5vw, 70px);
    background: var(--white);
}
.benefits article { padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.benefits strong { display: block; color: var(--navy); font-family: "Playfair Display", serif; font-size: 20px; }
.benefits span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.testimonial {
    padding: 68px 20px;
    background: linear-gradient(135deg, #102946, #07090d);
    color: var(--white);
    text-align: center;
}
.testimonial blockquote { max-width: 820px; margin: 0 auto; font: 500 clamp(26px, 4vw, 43px)/1.3 "Playfair Display", serif; }
.testimonial cite { display: block; margin-top: 18px; color: var(--gold-light); font: normal 10px Inter, sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.final-cta {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 45px;
    padding: 75px max(20px, calc((100vw - 1180px) / 2));
    align-items: center;
    background: var(--ink);
    color: var(--white);
}
.final-cta h2 { margin: 9px 0 13px; font-size: clamp(34px, 5vw, 53px); line-height: 1.08; }
.final-cta p { max-width: 700px; color: #aeb5c0; }
.contact-list { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 20px; }
.contact-list a, .contact-list span { color: var(--gold-light); font-size: 12px; text-decoration: none; }
.cta-actions { display: grid; gap: 10px; }
.cta-actions a { min-height: 48px; padding: 13px 18px; border-radius: 9px; text-align: center; text-decoration: none; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.cta-whatsapp { background: #1ebd5a; color: var(--white); }
.cta-contact { border: 1px solid var(--gold); color: var(--gold-light); }

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    padding: 13px 18px;
    border-radius: 999px;
    background: #1ebd5a;
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
footer {
    display: flex;
    padding: 44px clamp(20px, 5vw, 70px);
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: var(--ink);
    color: var(--white);
}
.footer-brand { width: min(580px, 100%); }
.footer-brand h3 { margin-top: 22px; font-size: 20px; }
.newsletter-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 10px; }
.newsletter-form input,
.newsletter-form button { min-height: 43px; padding: 9px 12px; border-radius: 8px; font: inherit; }
.newsletter-form input { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07); color: var(--white); }
.newsletter-form button { border: 0; background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.newsletter-status { min-height: 18px; margin-top: 7px; color: var(--gold-light); font-size: 11px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; }
footer p { margin-top: 8px; color: #9ca3af; font-size: 12px; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: #c7ccd4; font-size: 11px; text-decoration: none; text-transform: uppercase; }

@media (max-width: 900px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    main, main > section, .hero-content, .hero-content > *, .quick-search > *, .showcase-section > * { max-width: 100% !important; }
    #navbar { position: absolute; width: 100%; max-width: 100%; padding: 14px 16px !important; background: rgba(7,9,13,.9); }
    #navbar .logo { max-width: calc(100% - 72px); overflow: hidden; font-size: 16px !important; text-overflow: ellipsis; white-space: nowrap; }
    .hero { width: 100%; max-width: 100%; min-height: auto; padding: 84px 18px 30px; }
    .hero-content { width: 330px; margin-inline: auto; overflow: hidden; }
    .hero-label { margin-bottom: 12px; font-size: 9px; letter-spacing: 1.5px; }
    .hero h1 { width: 310px; margin-inline: auto; padding-inline: 4px; font-size: 29px; line-height: 1.06; overflow-wrap: anywhere; }
    .hero p { width: 100%; padding-inline: 5px; font-size: 12px; }
    .hero p { margin-top: 15px; font-size: 14px; line-height: 1.5; }
    .hero-buttons { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
    .hero-buttons a { min-width: 0; min-height: 46px; padding: 10px 6px; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
    .hero-search { width: 100%; grid-template-columns: minmax(0, 1fr); margin-top: 12px; overflow: hidden; }
    .hero-search select, .hero-search button { width: 100%; max-width: 100%; }
    .hero-proof { margin-top: 9px; font-size: 8px; }

    .quick-search { width: 100%; max-width: 100%; padding: 28px 14px 34px; overflow: hidden; }
    .stock-summary { width: 340px; margin: -12px auto 28px; padding: 13px 4px; }
    .stock-summary div { padding: 2px 6px; }
    .stock-summary strong { font-size: 23px; }
    .stock-summary span { font-size: 7px; letter-spacing: .3px; }
    .quick-search-head, .category-grid { width: 100%; }
    .quick-search-head { display: block; margin-bottom: 16px; }
    .quick-search h2 { font-size: 28px; }
    .quick-search form { width: 100%; grid-template-columns: minmax(0, 1fr); margin-top: 15px; }
    .quick-search button { min-height: 44px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .category-card { min-height: 96px; padding: 13px; }
    .category-card strong { font-size: 14px; overflow-wrap: anywhere; }

    .showcase-section { width: 100%; max-width: 100%; padding: 38px 14px; overflow: hidden; }
    .section-heading { display: block; margin-bottom: 18px; }
    .section-heading h2 { font-size: 29px; }
    .section-heading p { font-size: 13px; line-height: 1.45; }
    .section-link { display: none; }
    .mobile-section-link {
        display: flex;
        min-height: 46px;
        margin: 18px auto 0;
        align-items: center;
        justify-content: center;
        border: 1px solid currentColor;
        border-radius: 9px;
    }
    .property-grid { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .latest-rail { display: flex; gap: 11px; overflow-x: auto; padding-bottom: 14px; }
    .latest-rail .property-card { flex: 0 0 78%; }
    .property-card { border-radius: 11px; }
    .property-media { aspect-ratio: 1.22/1; }
    .property-tag { top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 5px 7px; font-size: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .property-content { padding: 11px; }
    .property-location { display: block; overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
    .property-content h3 { min-height: 37px; font-size: 16px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .property-facts { min-height: 18px; margin-top: 6px; font-size: 9px; }
    .property-bottom { display: block; margin-top: 8px; padding-top: 8px; }
    .property-bottom strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
    .property-bottom a { display: block; margin-top: 7px; font-size: 9px; }

    .off-market { display: block; width: 100%; max-width: 100%; padding: 40px 18px; overflow: hidden; }
    .off-market h2 { font-size: 31px; }
    .off-market p { font-size: 13px; }
    .off-market > a { width: 100%; margin-top: 20px; }
    .strategic-intro { padding: 48px 18px; }
    .strategic-intro h2 { font-size: 34px; }
    .strategic-intro p { font-size: 13px; }
    .benefits { width: 100%; max-width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px 14px; gap: 8px; overflow: hidden; }
    .benefits article { padding: 14px; }
    .benefits strong { font-size: 17px; }
    .benefits span { font-size: 11px; }
    .testimonial { padding: 48px 18px; }
    .testimonial blockquote { font-size: 27px; }
    .final-cta { display: block; padding: 52px 18px; }
    .final-cta h2 { font-size: 35px; }
    .cta-actions { margin-top: 24px; }
    footer { display: block; width: 100%; max-width: 100%; padding: 35px 18px 80px; overflow: hidden; }
    .footer-nav { flex-wrap: wrap; margin-top: 22px; gap: 12px 18px; }
    .newsletter-form { grid-template-columns: 1fr; }
    .whatsapp-float { right: 12px; bottom: 12px; padding: 12px 15px; }
}

@media (max-width: 360px) {
    .hero-buttons { grid-template-columns: 1fr; }
    .quick-search form, .category-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
