/* ═══════════════════════════════════════════════════════════════
   Premium Estates — Real Estate Template
   White + Charcoal #1A2332 + Amber/Gold #D4A843
   ═══════════════════════════════════════════════════════════════ */

:root {
    --accent: #D4A843;
    --accent-dark: #B8933A;
    --accent-soft: rgba(212, 168, 67, 0.1);
    --dark: #1A2332;
    --dark-light: #2a3548;
    --bg: #FFFFFF;
    --bg-warm: #FAF8F5;
    --bg-cool: #F2F0ED;
    --text: #1A2332;
    --text-secondary: #4a5568;
    --text-muted: #6b7280;
    --border: #e5e2de;
    --border-light: #f0ede9;
    --shadow: rgba(0, 0, 0, 0.04);
    --shadow-md: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.14);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Utilities */
.section-label {
    display: inline-block;
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text);
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}
.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}
.logo svg { color: var(--accent-dark); }

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-menu a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}
.nav-menu a:hover { color: var(--accent-dark); }

.nav-cta {
    background: var(--dark);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}
.nav-cta:hover {
    background: var(--accent);
    color: var(--dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--dark);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 168, 67, 0.25);
}
.btn-full { width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   HERO — Portal Style (unique: search bar + featured cards)
   ═══════════════════════════════════════════════════════════════ */
.hero {
    padding: 130px 24px 60px;
    background: var(--bg-warm);
}
.hero-inner {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.hero-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: flex-end;
    gap: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px var(--shadow-md);
    padding: 8px;
    border: 1px solid var(--border);
}
.search-field {
    flex: 1;
    padding: 8px 16px;
    border-right: 1px solid var(--border-light);
    text-align: left;
}
.search-field:last-of-type { border-right: none; }
.search-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.search-field input,
.search-field select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text);
    outline: none;
    padding: 0;
}
.search-field input::placeholder { color: var(--text-muted); }
.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.search-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* Featured Cards Row */
.featured-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feat-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.feat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--shadow-md);
}
.feat-img {
    position: relative;
    overflow: hidden;
}
.feat-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: var(--transition);
}
.feat-card:hover .feat-img img { transform: scale(1.05); }
.feat-body {
    padding: 20px;
}
.feat-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-dark);
    background: var(--accent-soft);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 8px;
}
.feat-body h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}
.feat-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}
.feat-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.feat-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.feat-meta svg { color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════
   STATS STRIP
   ═══════════════════════════════════════════════════════════════ */
.stats-strip {
    background: var(--dark);
    padding: 48px 0;
}
.stats-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.stat-item {
    text-align: center;
}
.stat-num {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}
.stat-num .plus,
.stat-num .pct {
    color: var(--accent);
    font-size: 1.6rem;
}
.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   LISTINGS
   ═══════════════════════════════════════════════════════════════ */
.listings {
    padding: 100px 0;
    background: var(--bg);
}
.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.listing-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.listing-card:hover {
    box-shadow: 0 12px 40px var(--shadow-md);
    transform: translateY(-4px);
}
.listing-img {
    position: relative;
    overflow: hidden;
}
.listing-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: var(--transition);
}
.listing-card:hover .listing-img img { transform: scale(1.05); }
.listing-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 100px;
}
.listing-badge.hot {
    background: #E53935;
    color: #fff;
}
.listing-body {
    padding: 20px;
}
.listing-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.listing-loc svg { flex-shrink: 0; }
.listing-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}
.listing-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.listing-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}
.listing-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
}
.listing-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-dark);
    transition: var(--transition);
}
.listing-link:hover { color: var(--dark); }

/* ═══════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
.services {
    padding: 100px 0;
    background: var(--bg-warm);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.service-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition);
}
.service-card:hover {
    box-shadow: 0 12px 40px var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--accent);
}
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    margin: 0 auto 18px;
}
.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.about {
    padding: 100px 0;
    background: var(--bg);
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-lg);
}
.about-img img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}
.about-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}
.about-checks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.about-checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text);
}
.about-checks svg {
    color: var(--accent-dark);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════════════ */
.reviews {
    padding: 100px 0;
    background: var(--bg-warm);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.review-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.review-card:hover {
    box-shadow: 0 8px 32px var(--shadow-md);
    transform: translateY(-4px);
}
.review-card.featured {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(212, 168, 67, 0.12);
}
.review-stars {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.review-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.review-author strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.review-author span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT / VALUATION
   ═══════════════════════════════════════════════════════════════ */
.contact {
    padding: 100px 0;
    background: var(--bg);
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}
.contact-details svg {
    color: var(--accent-dark);
    flex-shrink: 0;
}
.contact-form-wrap {
    background: var(--bg-warm);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: #fff;
    color: var(--text);
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 60px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand > p {
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 280px;
}
.footer-col h5 {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col a {
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-col > p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .featured-row,
    .listings-grid,
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-inner,
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-img img { aspect-ratio: 16/10; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 68px;
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-menu.active { display: flex; }
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }

    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 12px 16px;
    }
    .search-field:last-of-type { border-bottom: none; }

    .featured-row,
    .listings-grid,
    .services-grid,
    .reviews-grid { grid-template-columns: 1fr; }

    .stats-inner { gap: 32px; }
    .stat-num { font-size: 2rem; }

    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .contact-form-wrap { padding: 24px; }
}
