/* ============================================
   CONCEPT 02 — "Clean Slate"
   Palette: Deep Teal, Warm Stone, Off-White
   Fresh, editorial, approachable yet authoritative
   ============================================ */

:root {
    --teal-900: #0f2e2e;
    --teal-800: #164040;
    --teal-700: #1d5252;
    --teal-600: #256868;
    --teal-500: #2d7a7a;
    --stone-500: #b8956a;
    --stone-400: #c9a87c;
    --stone-300: #d9bc9a;
    --cream: #faf8f5;
    --cream-dark: #f2ede6;
    --white: #ffffff;
    --charcoal: #1a1a1a;
    --gray-50: #f7f7f5;
    --gray-100: #e8e8e4;
    --gray-200: #d4d4ce;
    --gray-300: #a8a89e;
    --gray-400: #7a7a70;
    --gray-500: #5c5c54;
    --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --shadow-sm: 0 1px 3px rgba(15,46,46,0.04);
    --shadow-md: 0 4px 20px rgba(15,46,46,0.06);
    --shadow-lg: 0 12px 48px rgba(15,46,46,0.1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--teal-700);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--teal-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-text {
    background: transparent;
    color: var(--teal-700);
    padding: 14px 0;
    font-weight: 600;
}
.btn-text:hover {
    color: var(--teal-500);
    gap: 12px;
}

.btn-full { width: 100%; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(250,248,245,0.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 14px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    max-height: 44px;
    width: auto;
    height: 33px;
}

.logo-icon {
    width: 32px; 
    height: 32px;
    color: var(--teal-700);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--teal-900);
    letter-spacing: -0.3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--teal-700);
    background: rgba(29,82,82,0.05);
}

.nav-cta {
    background: var(--teal-700);
    color: var(--white) !important;
    margin-left: 8px;
}
.nav-cta:hover {
    background: var(--teal-600);
}

.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: 2px;
    background: var(--teal-900);
    border-radius: 1px;
    transition: 0.3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--cream);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(184,149,106,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 540px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.tag-dot {
    width: 8px; height: 8px;
    background: var(--stone-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--teal-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 36px;
}

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

/* Hero Cards */
.hero-visual {
    position: relative;
    height: 480px;
}

.hero-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    transition: transform var(--transition);
}

.hero-card:hover { transform: translateY(-4px); }

.hero-card--main {
    top: 0; left: 10%;
    width: 280px;
    z-index: 3;
}

.hero-card--secondary {
    top: 60px; right: 0;
    width: 220px;
    z-index: 2;
    opacity: 0.95;
}

.hero-card--tertiary {
    bottom: 40px; left: 20%;
    width: 200px;
    z-index: 1;
    opacity: 0.9;
}

.card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stone-500);
    margin-bottom: 10px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--teal-900);
    margin-bottom: 4px;
}

.card-location {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.card-stats {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.card-stats > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--teal-700);
    line-height: 1;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gray-300), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stone-500);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--teal-900);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 100px 0;
    background: var(--white);
}

.map-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: start;
}

.map-placeholder {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Listings Sidebar */
.listings-sidebar {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-100);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-header h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--teal-900);
}

.sidebar-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-700);
}
.sidebar-link:hover { color: var(--teal-500); }

.listing-list { list-style: none; }

.listing-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition);
    cursor: pointer;
}

.listing-item:last-child { border-bottom: none; }

.listing-item:hover {
    padding-left: 8px;
}

.listing-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.listing-item-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--gray-100);
    color: var(--gray-500);
}

.listing-item-badge.new {
    background: #e6f4f1;
    color: var(--teal-700);
}

.listing-item-badge.hot {
    background: #fef3c7;
    color: #92400e;
}

.listing-item-price {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--teal-700);
}

.listing-item h5 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--teal-900);
    margin-bottom: 3px;
}

.listing-item p {
    font-size: 13px;
    color: var(--gray-400);
}

/* Value Section */
.value-section {
    padding: 100px 0;
    background: var(--cream);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: transparent;
}

.value-card--large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
}

.value-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29,82,82,0.06);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.value-icon svg {
    width: 22px; height: 22px;
    color: var(--teal-700);
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--teal-900);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-500);
}

/* Action Sections */
.action-section {
    padding: 0;
    background: var(--white);
}

.action-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.action-reverse .action-layout {
    direction: rtl;
}
.action-reverse .action-layout > * {
    direction: ltr;
}

.action-visual {
    position: relative;
    background: var(--cream-dark);
    min-height: 400px;
    overflow: hidden;
}

.split-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.action-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px;
}

.action-content .section-eyebrow { margin-bottom: 12px; }

.action-content .section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 18px;
}

.action-content .lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 14px;
    line-height: 1.5;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 6px;
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23256868' stroke-width='2.5'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
    background-color: rgba(37,104,104,0.08);
    border-radius: 50%;
}

.feature-list li strong {
    color: var(--teal-900);
    font-weight: 600;
}

/* Stats Bar */
.stats-bar {
    padding: 60px 0;
    background: var(--teal-900);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M0 0h20v20H0zM20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stat-block {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--stone-400);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--gray-100);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 72px;
    line-height: 1;
    color: var(--stone-500);
    opacity: 0.2;
    position: absolute;
    top: 12px; left: 20px;
}

.testimonial p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial footer {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-700);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial footer strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-900);
}

.testimonial footer span {
    display: block;
    font-size: 13px;
    color: var(--gray-400);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-info .lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 36px;
}

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

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--cream);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.contact-row:hover {
    border-color: var(--teal-600);
    background: var(--white);
}

.contact-row svg {
    width: 20px; height: 20px;
    color: var(--teal-700);
    flex-shrink: 0;
}

.contact-row span {
    font-size: 15px;
    font-weight: 600;
    color: var(--teal-900);
}

/* Form */
.contact-form {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-100);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--charcoal);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-600);
    box-shadow: 0 0 0 3px rgba(37,104,104,0.08);
}

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

.form-note {
    font-size: 12px;
    color: var(--gray-400);
    text-align: center;
    margin-top: 16px;
}

/* Footer */
.footer {
    background: var(--teal-900);
    padding: 64px 0 0;
    color: rgba(255,255,255,0.6);
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-top .logo-text { color: var(--white); }
.footer-top .logo-icon { color: var(--stone-400); }

.footer-tagline {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    max-width: 400px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--stone-400); }

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

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255,255,255,0.3);
    transition: color var(--transition);
}
.footer-legal a:hover { color: var(--stone-400); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { height: 400px; order: -1; }
    .hero-card--main { left: 5%; }
    .hero-card--secondary { right: 5%; }
    .map-wrapper { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .value-card--large { grid-column: span 2; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 320px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    }
    .nav-menu.active { right: 0; }
    .nav-link {
        color: var(--teal-900) !important;
        font-size: 16px;
        padding: 12px 0;
        width: 100%;
    }
    .nav-cta { margin-left: 0; margin-top: 12px; }

    .hero { padding-top: 100px; min-height: auto; padding-bottom: 60px; }
    .hero-visual { height: 320px; }
    .hero-card--secondary, .hero-card--tertiary { display: none; }
    .hero-card--main { left: 50%; transform: translateX(-50%); width: 90%; max-width: 300px; }
    .hero-scroll { display: none; }

    .value-grid { grid-template-columns: 1fr; }
    .value-card--large { grid-column: span 1; grid-template-columns: 1fr; }
    .action-layout { grid-template-columns: 1fr; }
    .action-visual { min-height: 320px; }
    .action-content { padding: 48px 24px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-actions .btn-primary { width: 100%; }
    .contact-form { padding: 24px; }
    .stats-grid { grid-template-columns: 1fr; }
}
