/* ============================================================
   style.css — NestFind / Kaydsan Theme
   Playfair Display (headings) + DM Sans (body)
   Loads via Google Fonts in header.php
============================================================ */

/* ============================================================
   1. CSS VARIABLES — your colour palette
   Change values here to retheme the whole site at once
============================================================ */
:root {
    --green-dark:  #1a4731;   /* nav, buttons, footer */
    --green-mid:   #2d6a4f;   /* hover states */
    --green-bright:#40916c;   /* links */
    --green-light: #d8f3dc;   /* light backgrounds */
    --green-deep:  #0f1f18;   /* agents section */
    --green-foot:  #060e0a;   /* footer */
    --accent:      #95d5b2;   /* nav CTA, highlights */
    --gold:        #c9a84c;   /* star ratings */
    --hero-cream:  #f8f5f0;   /* hero bg start */
    --hero-sage:   #e8f4ec;   /* hero bg end */
    --white:       #ffffff;
    --gray-100:    #f8f9fa;
    --gray-200:    #e9ecef;
    --gray-400:    #adb5bd;
    --gray-600:    #6c757d;
    --gray-800:    #343a40;
    --text:        #1a1a1a;
    --radius:      8px;
    --radius-lg:   14px;
    --radius-xl:   20px;
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:   0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg:   0 8px 40px rgba(0,0,0,0.16);
    --transition:  0.2s ease;
    --font-head:   'Playfair Display', Georgia, serif;
    --font-body:   'DM Sans', system-ui, sans-serif;
}

/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--gray-800); }
a { color: var(--green-mid); text-decoration: none; }
a:hover { color: var(--green-bright); }
ul { list-style: none; }

/* ============================================================
   3. LAYOUT
============================================================ */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--gray-100); padding: 80px 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; color: var(--green-dark); }
.section-header p { color: var(--gray-600); font-size: .95rem; margin-top: 6px; }

/* ============================================================
   4. NAVIGATION
============================================================ */
.site-header {
    background: var(--green-dark);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon { font-size: 1.6rem; }
.logo-text {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.02em;
}
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
    color: rgba(255,255,255,.85);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: .88rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav-cta {
    background: var(--accent) !important;
    color: var(--green-dark) !important;
    font-weight: 700 !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
}
.nav-cta:hover { background: #7ec9a0 !important; transform: translateY(-1px); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; padding: 8px; }

/* ============================================================
   5. MOBILE MENU
============================================================ */
.mobile-menu { display: none; flex-direction: column; background: var(--green-dark); position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 999; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu.open { display: flex; }

.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.12); flex-shrink: 0; }
.mobile-menu-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.mobile-menu-logo:hover { text-decoration: none; }
.mobile-menu-logo-icon { width: 30px; height: 30px; border-radius: 50%; background: #1a4731; border: 1.5px solid #52b788; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mobile-menu-logo-text { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--white); letter-spacing: -.02em; text-decoration: none; }
.mobile-menu-close { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.8); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem; transition: background var(--transition); flex-shrink: 0; }
.mobile-menu-close:hover { background: rgba(255,255,255,.22); }

.mobile-menu-link { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.88); padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .95rem; transition: background var(--transition); text-decoration: none; }
.mobile-menu-link i { font-size: 1.15rem; color: #74c69d; width: 20px; flex-shrink: 0; }
.mobile-menu-link:hover { background: rgba(255,255,255,.07); color: var(--white); }
.mobile-menu-link:hover i { color: #95d5b2; }

.mobile-menu-newsletter { display: flex; align-items: center; gap: 14px; margin: 20px 16px 16px; padding: 15px 18px; background: #95d5b2; border-radius: 10px; text-decoration: none; transition: background var(--transition); }
.mobile-menu-newsletter:hover { background: #7ec9a0; }
.mobile-menu-newsletter i { font-size: 1.4rem; color: #1a4731; flex-shrink: 0; }
.mobile-menu-newsletter span { display: flex; flex-direction: column; gap: 3px; }
.mobile-menu-newsletter strong { font-size: .9rem; font-weight: 700; color: #1a4731; line-height: 1.2; }
.mobile-menu-newsletter small { font-size: .76rem; color: rgba(26,71,49,.72); line-height: 1.3; }



/* Paste this into style.css section 5, after .mobile-menu-newsletter small { ... } */

.mobile-menu-currency { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,.06); flex-wrap: wrap; }
.mobile-menu-currency > i { font-size: 1.15rem; color: #74c69d; width: 20px; flex-shrink: 0; }
.mobile-menu-currency-label { font-size: .88rem; color: rgba(255,255,255,.6); flex-shrink: 0; }
.mobile-menu-currency-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.mobile-currency-pill { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.75); padding: 5px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: all var(--transition); }
.mobile-currency-pill:hover { background: rgba(255,255,255,.15); color: var(--white); }
.mobile-currency-pill.active { background: #95d5b2; border-color: #95d5b2; color: #1a4731; }

/* ============================================================
   6. BUTTONS
============================================================ */
.btn {
    display: inline-block;
    padding: 11px 24px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }
.btn-primary:hover { background: var(--green-mid); border-color: var(--green-mid); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green-dark); }
.btn-outline:hover { background: var(--green-dark); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--green-dark); border-color: var(--accent); font-weight: 700; }
.btn-accent:hover { background: #7ec9a0; transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--green-dark); border-color: var(--white); font-weight: 700; }
.btn-white:hover { background: var(--green-light); }
.btn-full { width: 100%; text-align: center; display: block; }
.btn-sm { display: inline-block; padding: 5px 12px; font-size: .8rem; border-radius: var(--radius); background: var(--green-light); color: var(--green-dark); border: 1px solid var(--green-mid); cursor: pointer; text-decoration: none; font-family: var(--font-body); transition: all var(--transition); }
.btn-sm:hover { background: var(--green-dark); color: var(--white); }
.btn-danger { background: #fef2f2; color: #991b1b; border-color: #fca5a5; }
.btn-danger:hover { background: #991b1b; color: var(--white); }

/* ============================================================
   7. HERO SECTION
============================================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--hero-cream) 0%, var(--hero-sage) 100%);
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-blob {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(149,213,178,.25) 0%, transparent 70%);
    border-radius: 50%;
    right: -100px; top: -100px;
    animation: blobFloat 8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes blobFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(-30px,20px) scale(1.05); }
    66%      { transform: translate(20px,-20px) scale(.95); }
}
.hero-content { position: relative; z-index: 1; padding: 80px 0; max-width: 780px; }
.hero-content h1 { font-size: 3rem; color: var(--green-dark); font-weight: 700; margin-bottom: 16px; line-height: 1.15; }
.hero-content h1 span { color: var(--green-bright); }
.hero-content > p { color: var(--gray-600); font-size: 1.1rem; margin-bottom: 32px; }
.hero-stats { display: flex; gap: 40px; margin-bottom: 36px; flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--green-dark); line-height: 1; }
.hero-stat-label { font-size: .78rem; color: var(--gray-600); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.hero-search { background: var(--white); border-radius: var(--radius-xl); padding: 8px; box-shadow: var(--shadow-lg); max-width: 740px; }
.search-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 8px; background: var(--gray-100); border-radius: var(--radius-lg); }
.search-tab { flex: 1; padding: 8px; text-align: center; font-size: .82rem; font-weight: 600; border-radius: var(--radius); cursor: pointer; color: var(--gray-600); transition: all var(--transition); border: none; background: none; font-family: var(--font-body); }
.search-tab.active { background: var(--green-dark); color: var(--white); }
.search-tab:hover:not(.active) { background: var(--gray-200); color: var(--text); }
.search-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search-input, .search-select { flex: 1; min-width: 150px; padding: 11px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-size: .88rem; font-family: var(--font-body); color: var(--text); background: var(--white); outline: none; transition: border-color var(--transition); }
.search-input:focus, .search-select:focus { border-color: var(--green-mid); }

/* ============================================================
   8. AD SLOTS
============================================================ */
.ad-leaderboard { background: var(--gray-100); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); padding: 12px 0; text-align: center; }
.ad-leaderboard-inner { display: inline-flex; align-items: center; justify-content: center; width: 728px; max-width: 100%; height: 90px; background: var(--gray-200); border-radius: var(--radius); color: var(--gray-400); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; overflow: hidden; }
.ad-leaderboard-inner img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
    .ad-leaderboard { padding: 8px 16px; }
    .ad-leaderboard-inner { width: 100%; height: auto; display: block; background: none; }
    .ad-leaderboard-inner img { width: 100%; height: auto; object-fit: unset; border-radius: var(--radius); }
}
.ad-mid { margin: 32px 0; text-align: center; }
.ad-mid-inner { display: inline-flex; align-items: center; justify-content: center; width: 728px; max-width: 100%; height: 90px; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--radius); color: var(--gray-400); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; overflow: hidden; }
.ad-mid-inner img { width: 100%; height: 100%; object-fit: cover; }
.ad-billboard { background: var(--gray-100); padding: 16px 0; text-align: center; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.ad-billboard-inner { display: inline-flex; align-items: center; justify-content: center; width: 970px; max-width: 100%; height: 90px; background: var(--gray-200); border-radius: var(--radius); color: var(--gray-400); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; overflow: hidden; }
.ad-billboard-inner img { width: 100%; height: 100%; object-fit: cover; }
.ad-rectangle { width: 100%; height: 250px; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: var(--gray-400); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; overflow: hidden; }
.ad-rectangle img { width: 100%; height: 100%; object-fit: cover; }
.ad-banner { background: var(--gray-100); padding: 12px 0; text-align: center; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.ad-banner img { max-width: 100%; border-radius: var(--radius); display: inline-block; }
.ad-inline { margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; }
.ad-inline img { width: 100%; }
.sidebar-ad { margin-bottom: 16px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.sidebar-ad img { width: 100%; display: block; }

/* ============================================================
   9. PROPERTY CARDS
============================================================ */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.property-grid-list { grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); }
.property-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); cursor: pointer; }
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.card-image { position: relative; height: 200px; overflow: hidden; background: var(--gray-200); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .card-image img { transform: scale(1.06); }
.card-no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gray-400); font-size: .82rem; background: var(--gray-100); }
.card-save { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; background: rgba(255,255,255,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; font-size: 16px; color: var(--gray-400); transition: all var(--transition); z-index: 2; }
.card-save:hover { color: #e74c3c; transform: scale(1.1); }
.card-save.saved { color: #e74c3c; }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 20px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.badge-sale { background: var(--green-dark); color: var(--white); }
.badge-rent { background: #0077b6; color: var(--white); }
.badge-new  { background: var(--gold); color: var(--white); }
.badge-sold { background: #6c757d; color: var(--white); }
.badge-large { font-size: .82rem; padding: 6px 14px; }
.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card-price { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--green-dark); }
.card-price small { font-family: var(--font-body); font-size: .8rem; font-weight: 400; color: var(--gray-600); }
.card-title { font-size: .9rem; font-weight: 600; color: var(--gray-800); line-height: 1.3; font-family: var(--font-body); }
.card-address { font-size: .8rem; color: var(--gray-600); }
.card-specs { display: flex; gap: 14px; font-size: .78rem; color: var(--gray-600); margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--gray-200); }
.card-agent { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--gray-200); }
.card-agent-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--green-dark); flex-shrink: 0; }
.card-agent-name { font-size: .78rem; color: var(--gray-600); }

/* ============================================================
   10. LISTINGS LAYOUT
============================================================ */
.listings-section { padding: 60px 0; }
.listings-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.listings-section-header h2 { font-size: 1.8rem; color: var(--green-dark); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; align-items: center; }
.chip { padding: 7px 18px; border-radius: 20px; font-size: .82rem; font-weight: 600; cursor: pointer; border: 1.5px solid var(--gray-200); background: var(--white); color: var(--gray-600); transition: all var(--transition); font-family: var(--font-body); }
.chip:hover { border-color: var(--green-mid); color: var(--green-mid); }
.chip.active { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.sort-select { padding: 7px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-size: .82rem; font-family: var(--font-body); color: var(--text); background: var(--white); cursor: pointer; outline: none; margin-left: auto; }
.listings-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.listings-sidebar { position: sticky; top: 88px; }

/* ============================================================
   11. SIDEBAR WIDGETS
============================================================ */
.sidebar-widget { background: var(--white); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); margin-bottom: 20px; }
.sidebar-widget h3 { font-size: .95rem; color: var(--green-dark); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--green-light); font-family: var(--font-head); }
.price-slider { width: 100%; margin: 8px 0; accent-color: var(--green-mid); }
.price-range-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--gray-600); margin-top: 4px; }
.bed-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.bed-chip { padding: 5px 14px; border-radius: 16px; font-size: .78rem; font-weight: 600; border: 1.5px solid var(--gray-200); cursor: pointer; transition: all var(--transition); background: var(--white); color: var(--gray-600); font-family: var(--font-body); }
.bed-chip.active, .bed-chip:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.checkbox-filter { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: .85rem; color: var(--gray-800); cursor: pointer; }
.checkbox-filter input[type="checkbox"] { accent-color: var(--green-mid); }
.mortgage-result { background: var(--green-light); border-radius: var(--radius); padding: 14px; text-align: center; margin-top: 12px; }
.mortgage-payment { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--green-dark); }
.mortgage-label { font-size: .75rem; color: var(--gray-600); margin-top: 2px; }
.map-preview { height: 180px; background: var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; }
#sidebar-map { height: 100%; }

/* ============================================================
   12. PAGE HERO
============================================================ */
.page-hero { background: var(--green-dark); padding: 48px 0; }
.page-hero h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.7); }
.filter-bar { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 14px 0; position: sticky; top: 68px; z-index: 100; box-shadow: var(--shadow-sm); }
.filter-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filter-input, .filter-select { padding: 9px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-size: .88rem; font-family: var(--font-body); outline: none; transition: border-color var(--transition); background: var(--white); color: var(--text); }
.filter-input:focus, .filter-select:focus { border-color: var(--green-mid); }
.filter-input-small { max-width: 110px; }
#listings-map { height: calc(100vh - 160px); min-height: 400px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-panel { position: sticky; top: 100px; }
.no-results { text-align: center; padding: 80px 20px; color: var(--gray-600); }

/* ============================================================
   13. PROPERTY DETAIL PAGE
============================================================ */
.property-detail { padding: 48px 0; }
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 440px; background: var(--gray-200); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gray-400); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill,minmax(100px,1fr)); gap: 8px; margin-top: 8px; }
.gallery-thumb { height: 80px; object-fit: cover; border-radius: var(--radius); cursor: pointer; opacity: .75; transition: opacity var(--transition); }
.gallery-thumb:hover { opacity: 1; }
.property-gallery { margin-bottom: 40px; }
.property-columns { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.property-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.property-top h1 { font-size: 1.5rem; color: var(--green-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.property-address { color: var(--gray-600); font-size: .9rem; margin-top: 6px; }
.property-price-big { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--green-dark); white-space: nowrap; }
.property-price-big span { font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--gray-600); }
.property-specs-bar { display: flex; justify-content: center; align-items: center; gap: 32px; background: var(--hero-sage); border-radius: var(--radius-lg); padding: 20px 32px; margin-bottom: 32px; flex-wrap: wrap; }
.spec-item { text-align: center; }
.spec-num { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--green-dark); }
.spec-label { font-size: .75rem; color: var(--gray-600); margin-top: 2px; text-transform: uppercase; letter-spacing: .05em; }
.property-description { line-height: 1.85; color: var(--gray-800); }
.property-description h2 { font-size: 1.15rem; color: var(--green-dark); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--green-light); }
.property-sidebar { position: sticky; top: 88px; }
.sidebar-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); margin-bottom: 16px; }
.sidebar-card h3 { font-size: 1rem; color: var(--green-dark); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--green-light); font-family: var(--font-head); }
.property-map-section { margin-top: 32px; }
.property-map-section h2 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 12px; }
#property-map { height: 300px; border-radius: var(--radius-lg); overflow: hidden; position: relative; z-index: 1; }

/* ============================================================
   14. NEIGHBOURHOODS
============================================================ */
.neighbourhoods-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: 200px 200px; gap: 16px; }
.neighbourhood-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; background: var(--green-mid); text-decoration: none; display: block; }
.neighbourhood-card:first-child { grid-column: span 2; }
.neighbourhood-bg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.neighbourhood-card:hover .neighbourhood-bg { transform: scale(1.06); }
.neighbourhood-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,40,25,.75) 0%, transparent 60%); }
.neighbourhood-info { position: absolute; bottom: 16px; left: 16px; }
.neighbourhood-info h3 { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.neighbourhood-info p { color: rgba(255,255,255,.75); font-size: .78rem; }
.neighbourhood-placeholder { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 16px; }

/* ============================================================
   15. STATS BAR
============================================================ */
.stats-section { background: var(--green-dark); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-item .stat-number { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--white); }
.stat-item .stat-label { color: rgba(255,255,255,.65); font-size: .82rem; margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* ============================================================
   16. AGENTS SECTION
============================================================ */
.agents-section { background: var(--green-deep); padding: 80px 0; }
.agents-section .section-header h2 { color: var(--white); }
.agents-section .section-header p  { color: rgba(255,255,255,.6); }
.agents-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.agent-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; transition: all var(--transition); cursor: pointer; }
.agent-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: var(--accent); }
.agent-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--accent); background: var(--green-mid); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.6rem; color: var(--white); font-weight: 700; }
.agent-name { font-family: var(--font-head); font-size: 1rem; color: var(--white); font-weight: 600; margin-bottom: 4px; }
.agent-title { font-size: .78rem; color: var(--accent); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
.agent-stats { display: flex; justify-content: center; gap: 20px; margin-bottom: 14px; }
.agent-stat-num { font-family: var(--font-head); font-size: 1.1rem; color: var(--white); font-weight: 700; }
.agent-stat-lbl { font-size: .68rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .05em; }
.agent-rating { color: var(--gold); font-size: .82rem; margin-bottom: 14px; }

/* ============================================================
   17. CTA STRIP
============================================================ */
.cta-strip { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%); padding: 60px 0; text-align: center; }
.cta-strip h2 { font-size: 2rem; color: var(--white); margin-bottom: 12px; }
.cta-strip p  { color: rgba(255,255,255,.75); margin-bottom: 28px; font-size: 1rem; }
.cta-buttons  { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   18. BLOG
============================================================ */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 60px 0; align-items: start; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 24px; }
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-no-image { height: 180px; background: var(--hero-sage); }
.blog-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.blog-date { font-size: .75rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.blog-card-body h2, .blog-card-body h3 { font-size: 1rem; color: var(--green-dark); line-height: 1.35; }
.blog-card-body p { font-size: .85rem; color: var(--gray-600); line-height: 1.5; }
.read-more { color: var(--green-mid); font-size: .82rem; font-weight: 600; margin-top: auto; }
.blog-sidebar { position: sticky; top: 88px; }
.blog-article { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.blog-article h1 { font-size: 2rem; color: var(--green-dark); margin-bottom: 16px; }
.article-cover { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 24px; }
.article-body { line-height: 1.9; font-size: 1rem; color: var(--gray-800); }
.article-body h2 { font-size: 1.3rem; color: var(--green-dark); margin: 32px 0 12px; }
.article-body p { margin-bottom: 16px; }
.article-footer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-200); }

/* ============================================================
   19. CONTACT PAGE
============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 80px 0; align-items: start; }
.contact-info h2 { font-size: 1.6rem; color: var(--green-dark); margin-bottom: 16px; }
.contact-details { display: flex; flex-direction: column; gap: 10px; color: var(--gray-800); font-size: .95rem; margin-top: 20px; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }

/* ============================================================
   20. FOOTER
============================================================ */
.site-footer { background: var(--green-foot); color: rgba(255,255,255,.6); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-col h3 { font-family: var(--font-head); color: var(--white); font-size: 1rem; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-col p, .footer-col li { font-size: .83rem; margin-bottom: 8px; line-height: 1.6; }
.footer-col a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-col-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-col-links h3 { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 14px; color: rgba(255,255,255,.7); transition: all var(--transition); text-decoration: none; }
.social-icon:hover { background: var(--accent); border-color: var(--accent); color: var(--green-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: .78rem; color: rgba(255,255,255,.3); }

/* ============================================================
   21. MODAL
============================================================ */
.modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 500; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.open { display: flex; }
.modal { background: var(--white); border-radius: var(--radius-xl); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity:0; transform:scale(.95) translateY(10px); } to { opacity:1; transform:scale(1) translateY(0); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 16px; border-bottom: 1px solid var(--gray-200); }
.modal-header h3 { font-size: 1.1rem; color: var(--green-dark); }
.modal-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--gray-400); line-height: 1; padding: 4px; transition: color var(--transition); }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 24px; }
.modal-image { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.modal-price { font-family: var(--font-head); font-size: 1.6rem; color: var(--green-dark); font-weight: 700; }
.modal-address { color: var(--gray-600); font-size: .88rem; margin-bottom: 16px; }
.modal-specs { display: flex; gap: 20px; font-size: .82rem; color: var(--gray-600); margin-bottom: 20px; }
.modal-actions { display: flex; gap: 12px; }

/* ============================================================
   22. TOAST NOTIFICATIONS
============================================================ */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 1000; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--green-dark); color: var(--white); padding: 12px 20px; border-radius: var(--radius); font-size: .88rem; font-weight: 500; box-shadow: var(--shadow-md); animation: toastIn .3s ease; max-width: 300px; }
.toast.toast-error { background: #991b1b; }
@keyframes toastIn { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }

/* ============================================================
   23. PAGINATION
============================================================ */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.page-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); font-size: .85rem; font-weight: 500; border: 1.5px solid var(--gray-200); cursor: pointer; background: var(--white); color: var(--gray-600); font-family: var(--font-body); transition: all var(--transition); text-decoration: none; }
.page-btn:hover, .page-btn.active { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }

/* ============================================================
   24. ALERTS & FORMS
============================================================ */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: .9rem; }
.alert-success { background: #dcfce7; border: 1px solid #86efac; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-info { background: #eff6ff; border: 1px solid #93c5fd; color: #1e40af; }
.form-input { width: 100%; padding: 11px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-size: .9rem; font-family: var(--font-body); color: var(--text); background: var(--white); outline: none; transition: border-color var(--transition); display: block; margin-bottom: 10px; }
.form-input:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(45,106,79,.1); }
textarea.form-input { resize: vertical; min-height: 100px; }
label { display: block; font-size: .83rem; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; margin-top: 10px; }
label:first-child { margin-top: 0; }
.contact-form { display: flex; flex-direction: column; }

/* ============================================================
   25. ADMIN PANEL
============================================================ */
.admin-page { display: flex; min-height: 100vh; background: var(--gray-100); font-family: var(--font-body); }
.admin-nav { width: 230px; min-height: 100vh; background: var(--green-dark); padding: 24px 0; flex-shrink: 0; position: sticky; top: 0; }
.admin-nav-logo { font-family: var(--font-head); color: var(--white); font-size: 1.1rem; padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 8px; }
.admin-nav a { display: block; color: rgba(255,255,255,.72); padding: 11px 20px; font-size: .87rem; transition: all var(--transition); border-left: 3px solid transparent; }
.admin-nav a:hover { background: rgba(255,255,255,.08); color: var(--white); border-left-color: var(--accent); }
.admin-nav hr { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 8px 20px; }
.admin-content { flex: 1; padding: 40px; max-width: 980px; }
.admin-content h1 { font-size: 1.7rem; color: var(--green-dark); margin-bottom: 32px; font-family: var(--font-head); }
.admin-content h2 { font-size: 1.1rem; color: var(--green-dark); margin: 32px 0 16px; font-family: var(--font-head); }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 32px; }
.admin-stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 20px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); border-top: 4px solid var(--green-mid); }
.admin-stat-card .stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--green-dark); }
.admin-stat-card .stat-lbl { font-size: .8rem; color: var(--gray-600); margin-top: 4px; }
.admin-actions { display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); font-size: .87rem; border: 1px solid var(--gray-200); }
.admin-table th { background: var(--green-dark); color: var(--white); padding: 11px 14px; text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.admin-table td { padding: 11px 14px; border-bottom: 1px solid var(--gray-200); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-100); }
.status-badge { padding: 3px 10px; border-radius: 20px; font-size: .73rem; font-weight: 700; text-transform: capitalize; }
.status-active  { background: #dcfce7; color: #166534; }
.status-sold    { background: #fef2f2; color: #991b1b; }
.status-pending { background: #fef9c3; color: #854d0e; }
.status-rejected { background: #f3f4f6; color: #374151; }
.admin-form { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); max-width: 820px; border: 1px solid var(--gray-200); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.admin-login-page { background: var(--hero-cream); display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-box { background: var(--white); border-radius: var(--radius-xl); padding: 48px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }
.login-logo { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--green-dark); margin-bottom: 12px; }
.login-box h1 { font-size: 1.4rem; color: var(--green-dark); margin-bottom: 28px; }

/* ============================================================
   LIGHTBOX
============================================================ */
.gallery-click-hint { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 20px; pointer-events: none; }
.lightbox-trigger { cursor: zoom-in; }
.lightbox-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 1000; align-items: center; justify-content: center; }
.lightbox-backdrop.open { display: flex; }
.lightbox-box { position: relative; max-width: 90vw; max-height: 90vh; display: flex; align-items: center; justify-content: center; }
#lightboxImg { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; box-shadow: 0 8px 40px rgba(0,0,0,.6); display: block; }
.lightbox-close { position: fixed; top: 20px; right: 24px; background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 2rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background .2s; z-index: 1001; }
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-prev, .lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 2.5rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 1001; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-counter { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 14px; background: rgba(0,0,0,.4); padding: 4px 14px; border-radius: 20px; }

/* ============================================================
   CURRENCY SELECTOR
============================================================ */
.currency-selector { position: relative; display: inline-block; }
.currency-btn { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 6px 12px; border-radius: 20px; font-size: .82rem; font-family: var(--font-body); font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all var(--transition); white-space: nowrap; }
.currency-btn:hover { background: rgba(255,255,255,.2); }
.currency-arrow { font-size: .7rem; opacity: .7; transition: transform .2s; }
.currency-selector.open .currency-arrow { transform: rotate(180deg); }
.currency-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); min-width: 220px; z-index: 300; overflow: hidden; animation: dropIn .15s ease; }
@keyframes dropIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
.currency-selector.open .currency-menu { display: block; }
.currency-option { display: block; width: 100%; padding: 11px 16px; text-align: left; background: none; border: none; font-family: var(--font-body); font-size: .88rem; color: var(--gray-800); cursor: pointer; transition: background var(--transition); border-bottom: 1px solid var(--gray-100); }
.currency-option:last-child { border-bottom: none; }
.currency-option:hover { background: var(--gray-100); color: var(--green-dark); }
.currency-option.active { background: var(--green-light); color: var(--green-dark); font-weight: 600; }
.live-rate-badge { font-size: .68rem; color: var(--gray-400); font-family: var(--font-body); font-weight: 400; margin-left: 4px; }
.price-converted { font-size: .78rem; color: var(--green-bright); font-family: var(--font-body); font-weight: 500; margin-top: 2px; opacity: .9; }

/* ============================================================
   HERO MINIMAL
============================================================ */
.hero-minimal { background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-mid) 100%); min-height: 500px; display: flex; align-items: center; text-align: center; padding: 80px 0 60px; }
.hero-minimal-inner { width: 100%; max-width: 720px; margin: 0 auto; }
.hero-minimal-title { font-size: 3.2rem; color: var(--white); font-weight: 700; margin-bottom: 12px; line-height: 1.15; }
.hero-minimal-title span { color: var(--accent); }
.hero-minimal-sub { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 32px; }
.hero-tabs { display: inline-flex; gap: 4px; background: rgba(255,255,255,.1); border-radius: 30px; padding: 4px; margin-bottom: 20px; }
.hero-tab { padding: 8px 24px; border-radius: 24px; border: none; background: transparent; color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: all var(--transition); }
.hero-tab.active { background: var(--white); color: var(--green-dark); }
.hero-tab:hover:not(.active) { color: var(--white); }
.hero-searchbar-form { width: 100%; }
.hero-searchbar { display: flex; align-items: center; background: var(--white); border-radius: 50px; padding: 6px 6px 6px 20px; box-shadow: 0 8px 40px rgba(0,0,0,.25); gap: 8px; }
.hero-searchbar-icon { font-size: 1.1rem; color: var(--gray-400); flex-shrink: 0; }
.hero-searchbar-input { flex: 1; border: none; outline: none; font-size: 1rem; font-family: var(--font-body); color: var(--text); background: transparent; padding: 10px 0; }
.hero-searchbar-input::placeholder { color: var(--gray-400); }
.hero-searchbar-btn { background: var(--green-dark); color: var(--white); border: none; border-radius: 40px; padding: 12px 28px; font-size: .95rem; font-weight: 700; font-family: var(--font-body); cursor: pointer; transition: background var(--transition); flex-shrink: 0; }
.hero-searchbar-btn:hover { background: var(--green-mid); }
.hero-advanced-wrap { margin-top: 16px; text-align: center; }
.hero-advanced-toggle { background: none; border: none; color: rgba(255,255,255,.6); font-size: .85rem; font-family: var(--font-body); cursor: pointer; padding: 6px 12px; border-radius: 20px; transition: color var(--transition); }
.hero-advanced-toggle:hover { color: var(--white); }
.hero-advanced { background: rgba(255,255,255,.08); border-radius: 16px; padding: 20px; margin-top: 12px; text-align: left; backdrop-filter: blur(4px); }
.hero-advanced-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hero-adv-label { display: block; font-size: 11px; color: rgba(255,255,255,.6); font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.hero-adv-input { width: 100%; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.12); color: var(--white); font-size: .88rem; font-family: var(--font-body); outline: none; transition: border-color var(--transition); }
.hero-adv-input::placeholder { color: rgba(255,255,255,.4); }
.hero-adv-input:focus { border-color: var(--accent); }
.hero-adv-input option { background: var(--green-dark); color: var(--white); }
.hero-quick-links { margin-top: 20px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.hero-quick-links a { color: rgba(255,255,255,.7); font-size: .82rem; padding: 4px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; text-decoration: none; transition: all var(--transition); }
.hero-quick-links a:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.4); }

/* ============================================================
   26. RESPONSIVE
============================================================ */
.map-toggle-btn { display: none; width: 100%; padding: 10px 16px; background: var(--green-dark); color: var(--white); border: none; border-radius: var(--radius); font-family: var(--font-body); font-size: .88rem; font-weight: 600; cursor: pointer; margin-bottom: 16px; text-align: center; transition: background var(--transition); }
.map-toggle-btn:hover { background: var(--green-mid); }
.map-panel.map-hidden { display: none; }
.map-panel.map-visible { display: block; }
.admin-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 300; }
.admin-nav-overlay.open { display: block; }
.admin-mobile-toggle { display: none; position: fixed; bottom: 20px; left: 20px; z-index: 400; width: 48px; height: 48px; border-radius: 50%; background: var(--green-dark); color: var(--white); border: none; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-md); align-items: center; justify-content: center; }
.newsletter-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.step-progress { display: flex; gap: 0; margin-bottom: 32px; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Contact layout responsive fix */
.contact-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 769px) { .contact-layout { grid-template-columns: 1fr 340px; } }
.contact-sidebar { position: sticky; top: 88px; }
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } .contact-sidebar { position: static; } }

@media (max-width: 1024px) {
    .listings-layout    { grid-template-columns: 1fr; }
    .blog-layout        { grid-template-columns: 1fr; }
    .property-columns   { grid-template-columns: 1fr; }
    .property-sidebar   { position: static; }
    .blog-sidebar       { position: static; }
    .listings-sidebar   { position: static; }
    .map-panel          { position: static; }
    #listings-map       { height: 340px; }
    .map-toggle-btn     { display: block; }
    .agents-grid        { grid-template-columns: repeat(2, 1fr); }
    .stats-grid         { grid-template-columns: repeat(2, 1fr); }
    .admin-stats        { grid-template-columns: repeat(2, 1fr); }
    .footer-inner       { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .form-grid-4        { grid-template-columns: 1fr 1fr; }
    .neighbourhoods-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
    .neighbourhood-card:first-child { grid-column: span 1; }
    .property-sidebar   { order: -1; margin-bottom: 32px; }
    .admin-nav          { width: 200px; }
    .admin-content      { padding: 28px; }
    .blog-article       { padding: 28px; }
    .hero-content       { padding: 60px 0; }
    .hero-content h1    { font-size: 2.4rem; }
    .newsletter-two-col { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .container          { padding: 0 16px; }
    .main-nav           { display: none; }
    .mobile-menu-btn    { display: block; }
    .header-inner       { height: 60px; }
    .section, .section-alt { padding: 56px 0; }
    .section-header     { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
    .section-header h2  { font-size: 1.6rem; }
    .hero               { min-height: 400px; }
    .hero-minimal-title { font-size: 2rem; }
    .hero-advanced-grid { grid-template-columns: 1fr 1fr; }
    .hero-searchbar     { border-radius: 14px; padding: 8px; flex-wrap: wrap; }
    .hero-searchbar-btn { width: 100%; border-radius: 8px; margin-top: 4px; }
    .hero-content       { padding: 48px 0; }
    .hero-content h1    { font-size: 1.9rem; line-height: 1.2; }
    .hero-content > p   { font-size: 1rem; }
    .hero-stats         { gap: 16px; }
    .hero-stat-num      { font-size: 1.3rem; }
    .hero-blob          { width: 300px; height: 300px; right: -60px; top: -60px; }
    .search-row         { flex-direction: column; }
    .search-input, .search-select { min-width: 100%; width: 100%; }
    .hero-search        { padding: 6px; }
    .page-hero          { padding: 32px 0; }
    .page-hero h1       { font-size: 1.7rem; }
    .filter-bar         { position: static; top: auto; padding: 12px 0; box-shadow: none; border-bottom: 1px solid var(--gray-200); }
    .filter-form        { flex-direction: column; gap: 8px; }
    .filter-input, .filter-select { width: 100%; }
    .filter-input-small { max-width: 100%; }
    .filter-form .btn   { flex: 1; text-align: center; }
    .filter-form .btn-primary, .filter-form .btn-outline { display: inline-block; }
    .filter-form        { flex-wrap: wrap; }
    .filter-form .btn-primary + .btn-outline { margin-left: 0; }
    .filter-btn-row     { display: flex; gap: 8px; width: 100%; }
    .filter-btn-row .btn { flex: 1; text-align: center; }
    .property-grid      { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
    .gallery-main       { height: 280px; }
    .gallery-thumbs     { grid-template-columns: repeat(4, 1fr); }
    .gallery-thumb      { height: 64px; }
    .property-top       { flex-direction: column; gap: 12px; }
    .property-top h1    { font-size: 1.3rem; -webkit-line-clamp: 3; }
    .property-price-big { font-size: 1.7rem; }
    .property-specs-bar { gap: 16px; padding: 16px; }
    .spec-num           { font-size: 1.2rem; }
    .property-sidebar   { order: 0; }
    .agents-grid        { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .agents-section     { padding: 56px 0; }
    .stats-grid         { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-item .stat-number { font-size: 1.8rem; }
    .neighbourhoods-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .neighbourhood-card:first-child { grid-column: span 1; }
    .cta-strip          { padding: 48px 0; }
    .cta-strip h2       { font-size: 1.5rem; }
    .cta-buttons        { flex-direction: column; align-items: center; }
    .cta-buttons .btn   { width: 100%; max-width: 300px; text-align: center; }
    .footer-inner       { grid-template-columns: 1fr 1fr; gap: 20px 24px; padding-bottom: 28px; }
    .site-footer        { padding: 36px 0 0; }
    .footer-col         { min-width: 0; width: 100%; }
    .footer-col h3      { margin-bottom: 10px; padding-bottom: 8px; font-size: .9rem; }
    .footer-col li      { margin-bottom: 5px; }
    .form-grid-2, .form-grid-3, .form-grid-4 { grid-template-columns: 1fr; }
    .contact-form-wrap  { padding: 24px; }
    .blog-layout        { padding: 40px 0; }
    .blog-article       { padding: 20px; }
    .blog-article h1    { font-size: 1.5rem; }
    .article-cover      { height: 220px; }
    .modal              { max-width: 100%; margin: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 92vh; }
    .modal-backdrop     { align-items: flex-end; padding: 0; }
    .modal-actions      { flex-direction: column; }
    .admin-nav          { position: fixed; left: -100%; top: 0; height: 100vh; z-index: 350; transition: left .25s ease; width: 240px; overflow-y: auto; }
    .admin-nav.mobile-open  { left: 0; }
    .admin-mobile-toggle    { display: flex; }
    .admin-content          { padding: 20px 16px; }
    .admin-content h1       { font-size: 1.4rem; margin-bottom: 20px; }
    .admin-stats            { grid-template-columns: 1fr 1fr; gap: 12px; }
    .admin-table            { font-size: .78rem; }
    .admin-table th, .admin-table td { padding: 8px 10px; }
    .toast-container        { bottom: 80px; right: 16px; left: 16px; }
    .toast                  { max-width: 100%; }
    .newsletter-two-col     { grid-template-columns: 1fr; gap: 24px; }
    .map-toggle-btn         { display: block; }
    #listings-map           { height: 280px; }
}

@media (max-width: 480px) {
    .container          { padding: 0 12px; }
    html                { font-size: 15px; }
    .logo-text          { font-size: 1.1rem; }
    .logo-icon          { font-size: 1.3rem; }
    .header-inner       { height: 56px; gap: 12px; }
    .hero               { min-height: 360px; }
    .hero-content       { padding: 36px 0; }
    .hero-content h1    { font-size: 1.6rem; }
    .hero-stats         { flex-wrap: wrap; gap: 12px; }
    .hero-stat-num      { font-size: 1.2rem; }
    .hero-blob          { display: none; }
    .search-tab         { font-size: .75rem; padding: 7px 4px; }
    .property-grid      { grid-template-columns: 1fr; }
    .card-image         { height: 180px; }
    .card-price         { font-size: 1.15rem; }
    .gallery-main       { height: 220px; border-radius: var(--radius); }
    .gallery-thumbs     { grid-template-columns: repeat(3, 1fr); }
    .gallery-thumb      { height: 56px; }
    .property-specs-bar { gap: 12px; padding: 14px; flex-wrap: wrap; }
    .spec-item          { min-width: calc(33% - 8px); }
    .spec-num           { font-size: 1.1rem; }
    .property-price-big { font-size: 1.5rem; }
    .page-hero h1       { font-size: 1.4rem; }
    .filter-bar         { position: static; top: auto; box-shadow: none; }
    .filter-chips       { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
    .filter-chips::-webkit-scrollbar { display: none; }
    .chip               { flex-shrink: 0; }
    .agents-grid        { grid-template-columns: 1fr; }
    .agent-card         { padding: 20px 16px; }
    .agent-avatar       { width: 64px; height: 64px; font-size: 1.3rem; }
    .stats-grid         { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-item .stat-number { font-size: 1.6rem; }
    .social-icon        { width: 32px; height: 32px; font-size: 12px; }
    .btn                { padding: 10px 18px; font-size: .85rem; }
    .btn-full           { width: 100%; }
    .form-input         { font-size: .88rem; padding: 10px 14px; }
    label               { font-size: .8rem; }
    .login-box          { padding: 28px 20px; }
    .blog-grid          { grid-template-columns: 1fr; }
    .blog-card img      { height: 160px; }
    .hero-advanced-grid { grid-template-columns: 1fr; }
    .section, .section-alt { padding: 40px 0; }
    .section-header h2  { font-size: 1.4rem; }
    .cta-strip h2       { font-size: 1.3rem; }
    .admin-stats        { grid-template-columns: 1fr; }
    .admin-content      { padding: 16px 12px; }
    .modal              { border-radius: 0; max-height: 100vh; }
    .newsletter-two-col { gap: 20px; }
    #listings-map       { height: 240px; }
    #property-map       { height: 220px; }
    .mortgage-payment   { font-size: 1.3rem; }
    .page-btn           { width: 34px; height: 34px; font-size: .78rem; }
    .toast-container    { bottom: 70px; }
}

@media (max-width: 1024px) {
    body                { overflow-x: hidden; }
    .btn, .nav-cta, .mobile-menu-btn, .chip, .bed-chip, .search-tab { min-height: 44px; }
    .search-tab         { display: flex; align-items: center; justify-content: center; }
    .listings-sidebar, .property-sidebar, .admin-nav { -webkit-overflow-scrolling: touch; }
    .admin-table .btn-sm { padding: 6px 12px; min-height: 36px; }
    input[type="text"], input[type="email"], input[type="number"], input[type="password"], input[type="tel"], select, textarea { font-size: max(16px, 1em); }
}