/* ========== RESET & VARIABLES ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --charcoal: #1b1918;
    --charcoal-light: #2a2625;
    --taupe: #b08968;
    --taupe-light: #d4a574;
    --gold: #c9a87c;
    --cream: #faf6f1;
    --cream-dark: #efe8e0;
    --beige: #e8ddd3;
    --white: #fffcf8;
    --text-muted: #6e6259;
    --text-muted-on-dark: #b5a99f;
    --text-body: #352f2c;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --nav-height: 80px;
    --section-padding: clamp(80px, 12vw, 160px);
    --container: min(1320px, 90vw);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

::selection {
    background: var(--taupe);
    color: var(--white);
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ========== SCROLL ANIMATION BASE ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal.visible {
    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; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

.nav.scrolled {
    background: rgba(250, 246, 241, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(27, 25, 24, 0.06);
}

.nav-inner {
    width: var(--container);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--cream);
    transition: color 0.5s ease;
}

.nav.scrolled .nav-logo {
    color: var(--charcoal);
}

.nav-logo span {
    color: var(--taupe);
    font-weight: 300;
    font-style: italic;
    margin-left: 0.3em;
    font-size: 0.85em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(250, 246, 241, 0.9);
    position: relative;
    transition: color 0.5s ease;
}

.nav.scrolled .nav-links a {
    color: var(--text-body);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--taupe);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover { color: var(--cream); }
.nav.scrolled .nav-links a:hover { color: var(--charcoal); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
    padding: 0.7rem 1.6rem;
    border: 1px solid rgba(250, 246, 241, 0.4) !important;
    color: var(--cream) !important;
    transition: all 0.5s var(--ease-out-expo) !important;
}

.nav.scrolled .nav-cta {
    border-color: var(--charcoal) !important;
    color: var(--text-body) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: rgba(250, 246, 241, 0.15) !important;
    border-color: var(--cream) !important;
    color: var(--cream) !important;
}

.nav.scrolled .nav-cta:hover {
    background: var(--charcoal) !important;
    border-color: var(--charcoal) !important;
    color: var(--white) !important;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--cream);
    transition: all 0.5s ease;
}

.nav.scrolled .nav-toggle span {
    background: var(--charcoal);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(60px, 8vw, 120px);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(135deg,
            #2a2625 0%,
            #3d3532 25%,
            #4a3f38 50%,
            #2a2625 100%
        );
}

/* Architectural photo placeholder with gradient overlay */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><linearGradient id="sky" x1="0" y1="0" x2="0" y2="1"><stop offset="0%25" stop-color="%23c9b8a8"/><stop offset="40%25" stop-color="%23e8ddd3"/><stop offset="100%25" stop-color="%23d4c4b0"/></linearGradient><linearGradient id="water" x1="0" y1="0" x2="0" y2="1"><stop offset="0%25" stop-color="%23a09080"/><stop offset="100%25" stop-color="%23887868"/></linearGradient></defs><rect fill="url(%23sky)" width="1920" height="680"/><rect fill="url(%23water)" y="680" width="1920" height="400"/><rect fill="%232a2420" x="200" y="280" width="180" height="400" rx="2"/><rect fill="%23332c28" x="210" y="290" width="160" height="380" rx="1"/><rect fill="%23c9b8a850" x="220" y="300" width="30" height="50" rx="1"/><rect fill="%23c9b8a850" x="260" y="300" width="30" height="50" rx="1"/><rect fill="%23c9b8a850" x="300" y="300" width="30" height="50" rx="1"/><rect fill="%23c9b8a850" x="340" y="300" width="30" height="50" rx="1"/><rect fill="%23c9b8a850" x="220" y="370" width="30" height="50" rx="1"/><rect fill="%23c9b8a850" x="260" y="370" width="30" height="50" rx="1"/><rect fill="%23c9b8a850" x="300" y="370" width="30" height="50" rx="1"/><rect fill="%23c9b8a850" x="340" y="370" width="30" height="50" rx="1"/><rect fill="%23c9b8a850" x="220" y="440" width="30" height="50" rx="1"/><rect fill="%23c9b8a850" x="260" y="440" width="30" height="50" rx="1"/><rect fill="%23c9b8a850" x="300" y="440" width="30" height="50" rx="1"/><rect fill="%23c9b8a850" x="340" y="440" width="30" height="50" rx="1"/><rect fill="%232a2420" x="600" y="180" width="350" height="500" rx="2"/><rect fill="%23332c28" x="610" y="190" width="330" height="480" rx="1"/><rect fill="%23c9b8a850" x="625" y="210" width="60" height="80" rx="1"/><rect fill="%23c9b8a850" x="700" y="210" width="60" height="80" rx="1"/><rect fill="%23c9b8a850" x="775" y="210" width="60" height="80" rx="1"/><rect fill="%23c9b8a850" x="855" y="210" width="60" height="80" rx="1"/><rect fill="%23c9b8a850" x="625" y="310" width="60" height="80" rx="1"/><rect fill="%23c9b8a850" x="700" y="310" width="60" height="80" rx="1"/><rect fill="%23c9b8a850" x="775" y="310" width="60" height="80" rx="1"/><rect fill="%23c9b8a850" x="855" y="310" width="60" height="80" rx="1"/><rect fill="%23c9b8a850" x="625" y="410" width="60" height="80" rx="1"/><rect fill="%23c9b8a850" x="700" y="410" width="60" height="80" rx="1"/><rect fill="%23c9b8a850" x="775" y="410" width="60" height="80" rx="1"/><rect fill="%23c9b8a850" x="855" y="410" width="60" height="80" rx="1"/><rect fill="%232a2420" x="1100" y="350" width="250" height="330" rx="2"/><rect fill="%23332c28" x="1110" y="360" width="230" height="310" rx="1"/><rect fill="%23c9b8a850" x="1125" y="380" width="45" height="60" rx="1"/><rect fill="%23c9b8a850" x="1180" y="380" width="45" height="60" rx="1"/><rect fill="%23c9b8a850" x="1240" y="380" width="45" height="60" rx="1"/><rect fill="%23c9b8a850" x="1125" y="460" width="45" height="60" rx="1"/><rect fill="%23c9b8a850" x="1180" y="460" width="45" height="60" rx="1"/><rect fill="%23c9b8a850" x="1240" y="460" width="45" height="60" rx="1"/><rect fill="%232a2420" x="1500" y="250" width="220" height="430" rx="2"/><rect fill="%23332c28" x="1510" y="260" width="200" height="410" rx="1"/></svg>') center / cover no-repeat;
    opacity: 0.3;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(27, 25, 24, 0.3) 0%,
        rgba(27, 25, 24, 0.1) 40%,
        rgba(27, 25, 24, 0.5) 100%
    );
}

.hero-content {
    width: var(--container);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Hero portrait */
.hero-portrait {
    position: absolute;
    right: 5%;
    bottom: 0;
    z-index: 1;
    width: clamp(540px, 45vw, 720px);
    pointer-events: none;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1.2s var(--ease-out-expo) 0.6s forwards;
}

.hero-portrait img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 1s var(--ease-out-expo) 0.2s forwards;
}

.hero-name span {
    color: var(--gold);
    font-weight: 400;
    font-style: italic;
    margin-left: 0.3em;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 1s var(--ease-out-expo) 0.3s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 8vw, 7.5rem);
    font-weight: 500;
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1.2s var(--ease-out-expo) 0.5s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 400;
    color: var(--cream);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 1s var(--ease-out-expo) 0.8s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 1s var(--ease-out-expo) 1s forwards;
}

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    border: none;
    cursor: pointer;
    transition: all 0.45s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--taupe);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--taupe-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(176, 137, 104, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(250, 246, 241, 0.3);
}

.btn-outline:hover {
    border-color: var(--cream);
    background: rgba(250, 246, 241, 0.08);
}

.btn-dark {
    background: var(--charcoal);
    color: var(--cream);
}

.btn-dark:hover {
    background: var(--charcoal-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(27, 25, 24, 0.2);
}

.btn-arrow::after {
    content: '\2192';
    transition: transform 0.3s var(--ease-out-expo);
}

.btn-arrow:hover::after {
    transform: translateX(4px);
}

/* ========== STATS STRIP ========== */
.stats {
    background: var(--charcoal);
    padding: 0;
}

.stats-inner {
    width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: clamp(30px, 4vw, 50px) clamp(20px, 3vw, 40px);
    text-align: center;
    border-right: 1px solid rgba(250, 246, 241, 0.06);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted-on-dark);
}

/* ========== SECTION COMMON ========== */
.section {
    padding: var(--section-padding) 0;
}

.section-container {
    width: var(--container);
    margin: 0 auto;
}

.section-eyebrow {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--taupe);
    margin-bottom: 1.2rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    color: var(--taupe);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-body);
    max-width: 560px;
    line-height: 1.8;
}

/* ========== ABOUT SECTION ========== */
.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: visible;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid var(--taupe);
    opacity: 0.35;
    z-index: -1;
    transition: all 0.6s var(--ease-out-expo);
}

.about-image-wrapper:hover::before {
    top: -16px;
    left: -16px;
    opacity: 0.5;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: var(--taupe);
    opacity: 0.12;
    z-index: -1;
}

.about-image-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--taupe);
    background: var(--beige);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: absolute;
    inset: 0;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.03);
}

.about-image-frame {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 0.6rem 1.2rem;
    background: var(--charcoal);
    z-index: 2;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.08em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.about-text .section-desc {
    margin-bottom: 2rem;
}

.about-quote {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 500;
    font-style: italic;
    color: var(--charcoal);
    line-height: 1.6;
    padding-right: 3.5rem;
    position: relative;
    margin: 2rem 0;
    max-width: 660px;
}

.about-quote::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2.2rem;
    height: 2.2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08968' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21c3 0 7-1 7-8V5c0-1.25-.756-2.017-2-2H4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .008-1 1.031V21z'/%3E%3Cpath d='M15 21c3 0 7-1 7-8V5c0-1.25-.757-2.017-2-2h-4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.about-detail-item {
    padding-top: 1rem;
    border-top: 1px solid var(--beige);
}

.about-detail-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.about-detail-value {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--charcoal);
}

/* ========== FEATURED PROPERTIES ========== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.5vw, 30px);
    margin-top: clamp(40px, 5vw, 60px);
}

.property-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.property-image {
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
}

.property-image-inner {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--charcoal-light) 0%, var(--charcoal) 50%, #1a1615 100%);
    transition: transform 0.7s var(--ease-out-expo);
}

/* SVG property illustrations */
.property-image-inner svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.property-card:hover .property-image-inner {
    transform: scale(1.05);
}

.property-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 25, 24, 0.7) 0%, transparent 50%);
    z-index: 1;
}

.property-tag {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    background: var(--taupe);
    color: var(--white);
    z-index: 2;
}

.property-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem;
    z-index: 2;
}

.property-name {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.3rem;
}

.property-location {
    font-size: 0.875rem;
    color: rgba(250, 246, 241, 0.85);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.property-meta {
    display: flex;
    gap: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(250, 246, 241, 0.1);
}

.property-meta span {
    font-size: 0.875rem;
    color: rgba(250, 246, 241, 0.85);
    letter-spacing: 0.05em;
}

.property-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    margin-left: auto;
}

/* ========== SERVICES SECTION ========== */
.services {
    background: var(--charcoal);
    color: var(--cream);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: clamp(40px, 5vw, 70px);
    gap: 2rem;
    flex-wrap: wrap;
}

.services-header .section-desc {
    color: var(--text-muted-on-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(250, 246, 241, 0.06);
}

.service-card {
    background: var(--charcoal);
    padding: clamp(30px, 4vw, 50px);
    transition: background 0.5s ease;
    position: relative;
}

.service-card:hover {
    background: var(--charcoal-light);
}

.service-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--gold);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.service-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--cream);
}

.service-desc {
    font-size: 1rem;
    color: var(--text-muted-on-dark);
    line-height: 1.7;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: var(--cream);
}

.testimonial-carousel {
    margin-top: clamp(40px, 5vw, 60px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(30px, 3vw, 50px);
}

.testimonial-card {
    background: var(--white);
    padding: clamp(30px, 4vw, 50px);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--taupe);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 25px;
    line-height: 1;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 500;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--taupe);
    font-weight: 500;
}

.testimonial-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ========== AREAS SECTION ========== */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(15px, 2vw, 20px);
    margin-top: clamp(40px, 5vw, 60px);
}

.area-card {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.area-card-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.7s var(--ease-out-expo);
}

.area-card:hover .area-card-bg {
    transform: scale(1.08);
}

.area-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,25,24,0.75) 0%, rgba(27,25,24,0.1) 60%);
    z-index: 1;
}

.area-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}

.area-card-name {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 600;
    color: var(--cream);
}

.area-card-count {
    font-size: 0.875rem;
    color: rgba(250,246,241,0.85);
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(176,137,104,0.08) 0%, transparent 60%);
}

.cta-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.cta-inner .section-title {
    color: var(--cream);
}

.cta-inner .section-desc {
    color: var(--text-muted-on-dark);
    margin: 0 auto 2.5rem;
}

.cta-contacts {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.cta-contact-item {
    text-align: center;
}

.cta-contact-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted-on-dark);
    margin-bottom: 0.5rem;
}

.cta-contact-value {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gold);
    font-weight: 600;
}

.cta-contact-value a {
    transition: color 0.3s;
}

.cta-contact-value a:hover {
    color: var(--cream);
}

/* ========== FOOTER ========== */
.footer {
    background: #141211;
    padding: clamp(40px, 5vw, 60px) 0 clamp(25px, 3vw, 35px);
}

.footer-inner {
    width: var(--container);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(30px, 4vw, 60px);
    padding-bottom: clamp(30px, 4vw, 50px);
    border-bottom: 1px solid rgba(250,246,241,0.06);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--taupe);
    font-weight: 400;
    font-style: italic;
    font-size: 0.85em;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--text-muted-on-dark);
    line-height: 1.6;
    max-width: 300px;
}

.footer-realty-link {
    display: inline-block;
    margin-top: 1.2rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-realty-link:hover {
    opacity: 0.8;
}

.footer-realty-logo {
    height: 32px;
    width: auto;
}

.footer-col-title {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted-on-dark);
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    font-size: 1rem;
    color: rgba(250,246,241,0.75);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: clamp(20px, 3vw, 30px);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.875rem;
    color: rgba(250,246,241,0.6);
}

.footer-credits a {
    font-size: 0.875rem;
    color: rgba(250,246,241,0.4);
    transition: color 0.3s;
}

.footer-credits a:hover {
    color: rgba(250,246,241,0.7);
}

/* ========== FLOATING CTA ========== */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out-expo);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-cta a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    background: var(--taupe);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 8px 30px rgba(176,137,104,0.35);
    transition: all 0.3s ease;
}

.floating-cta a:hover {
    background: var(--taupe-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(176,137,104,0.4);
}

/* ========== GRAIN TEXTURE OVERLAY ========== */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .properties-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(250, 246, 241, 0.97);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    .hero {
        min-height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: 0;
    }
    .hero-portrait {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        width: clamp(200px, 65vw, 320px);
        margin-top: auto;
        align-self: center;
        animation: none;
        opacity: 1;
        transform: none;
        z-index: 1;
    }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image-wrapper { height: 380px; max-height: 380px; aspect-ratio: auto; }
    .properties-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonial-carousel { grid-template-columns: 1fr; }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
    .cta-contacts { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 480px) {
    .stats-inner { grid-template-columns: 1fr 1fr; }
    .about-details { grid-template-columns: 1fr; }
    .areas-grid { grid-template-columns: 1fr; }
}

/* ========== LANGUAGE TOGGLE ========== */
[data-lang="en"] .zh { display: none !important; }
[data-lang="zh"] .en { display: none !important; }

.lang-toggle {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(250, 246, 241, 0.3);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    color: rgba(250, 246, 241, 0.7);
    transition: all 0.5s ease;
}

.lang-btn.active {
    background: rgba(250, 246, 241, 0.15);
    color: var(--cream);
    border-color: rgba(250, 246, 241, 0.5);
}

.lang-btn:hover:not(.active) {
    border-color: var(--cream);
    color: var(--cream);
}

/* Scrolled state — dark buttons */
.nav.scrolled .lang-btn {
    border-color: rgba(53, 47, 44, 0.2);
    color: var(--text-muted);
}

.nav.scrolled .lang-btn.active {
    background: var(--charcoal);
    color: var(--cream);
    border-color: var(--charcoal);
}

.nav.scrolled .lang-btn:hover:not(.active) {
    border-color: var(--taupe);
    color: var(--charcoal);
}

/* ========== NAV RIGHT / DROPDOWN ========== */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    list-style: none;
    background: rgba(250, 246, 241, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    padding: 0.75rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease-out-expo);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-body);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.dropdown-menu li a::after { display: none; }

.dropdown-menu li a:hover {
    color: var(--taupe);
    background: rgba(176, 137, 104, 0.06);
}

/* ========== LISTINGS IFRAME ========== */
.listings-iframe-section {
    padding: 0 0 var(--section-padding);
}

.listings-iframe-container {
    width: 100%;
    max-width: 1400px;
    margin: clamp(30px, 4vw, 50px) auto 0;
    padding: 0 clamp(16px, 3vw, 40px);
}

.listings-iframe-container iframe {
    width: 100%;
    border: none;
    display: block;
}

.listings-iframe-container:not(.listings-iframe-auto) iframe {
    height: 100vh;
    min-height: 1800px;
}

.listings-iframe-auto iframe {
    height: 600px;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
    padding: calc(var(--nav-height) + clamp(60px, 8vw, 100px)) 0 clamp(50px, 6vw, 80px);
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(176,137,104,0.06) 0%, transparent 60%);
}

.page-hero .section-eyebrow {
    color: var(--gold);
}

.page-hero .section-title {
    color: var(--cream);
    margin-bottom: 1rem;
}

.page-hero .section-title em {
    color: var(--gold);
}

.page-hero .section-desc {
    max-width: 620px;
    color: var(--text-muted-on-dark);
}

/* ========== ABOUT PAGE BIO ========== */
.about-bio-text p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-bio-text p:last-child {
    margin-bottom: 0;
}

.bio-highlight {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.7;
    padding: clamp(24px, 3vw, 40px);
    border-left: 3px solid var(--taupe);
    background: var(--cream);
    margin: 0;
}

/* ========== BIO CLOSING QUOTE ========== */
.bio-closing-quote {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    font-weight: 500;
    font-style: italic;
    color: var(--charcoal);
    line-height: 1.6;
    margin-top: 2.5rem;
    padding: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 60px);
    background: var(--cream);
    border: 1px solid var(--beige);
    position: relative;
    text-align: center;
}

.bio-closing-quote::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--taupe);
}

.bio-closing-quote::after {
    content: '';
    position: absolute;
    bottom: clamp(20px, 3vw, 36px);
    right: clamp(24px, 4vw, 48px);
    width: 2.5rem;
    height: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b08968' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21c3 0 7-1 7-8V5c0-1.25-.756-2.017-2-2H4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .008-1 1.031V21z'/%3E%3Cpath d='M15 21c3 0 7-1 7-8V5c0-1.25-.757-2.017-2-2h-4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.25;
}

/* ========== BIO SECTIONS ========== */
.bio-section {
    padding: var(--section-padding) 0;
}

.bio-section-header {
    display: flex;
    gap: clamp(20px, 3vw, 32px);
    align-items: flex-start;
    margin-bottom: clamp(30px, 4vw, 50px);
}

.bio-section-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--taupe);
    opacity: 0.25;
    line-height: 1;
    flex-shrink: 0;
}

.bio-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 0.4rem;
}

.bio-section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.bio-section-body {
    max-width: none;
}

/* ========== BIO STORY CARDS ========== */
.bio-stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.5vw, 30px);
}

.bio-story-card {
    padding: clamp(24px, 3vw, 40px);
    background: var(--white);
    border: 1px solid var(--beige);
    transition: all 0.4s var(--ease-out-expo);
}

.bio-story-card:hover {
    border-color: var(--taupe);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(176, 137, 104, 0.08);
}

.bio-story-icon {
    color: var(--taupe);
    margin-bottom: 1.2rem;
}

.bio-story-title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.bio-story-card p {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.75;
}

@media (max-width: 1024px) {
    .bio-stories-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .bio-section-header { flex-direction: column; gap: 0.5rem; }
    .bio-section-number { font-size: 2rem; }
}

/* ========== KEY DETAILS GRID ========== */
.key-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 30px);
}

.key-detail-card {
    background: var(--white);
    padding: clamp(24px, 3vw, 40px);
    text-align: center;
    border: 1px solid var(--beige);
    transition: all 0.4s var(--ease-out-expo);
}

.key-detail-card:hover {
    border-color: var(--taupe);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(176, 137, 104, 0.1);
}

.key-detail-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--taupe);
}

.key-detail-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.key-detail-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ========== CONTACT FORM ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border: 1px solid var(--beige);
    flex-shrink: 0;
    color: var(--taupe);
}

.contact-info-label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-info-value {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--charcoal);
}

.contact-info-value a {
    transition: color 0.3s;
}

.contact-info-value a:hover {
    color: var(--taupe);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--beige);
    background: var(--white);
    color: var(--charcoal);
    transition: border-color 0.3s ease;
    outline: none;
    width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--taupe);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236e6259' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    align-self: flex-start;
}

/* ========== ADDRESS / MAP PLACEHOLDER ========== */
.map-placeholder {
    background: var(--charcoal-light);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-muted-on-dark);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.map-placeholder svg {
    opacity: 0.4;
}

/* ========== RESPONSIVE ADDITIONS ========== */
@media (max-width: 1024px) {
    .key-details-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-right .lang-toggle { display: flex; }
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        padding: 0 0 0 1rem;
        min-width: auto;
    }
    .form-row { grid-template-columns: 1fr; }
    .key-details-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .key-details-grid { grid-template-columns: 1fr; }
}
