/* =====================================================
   Dream Home Realty — Main Stylesheet
   ===================================================== */

:root {
    --navy: #0a1a35;
    --navy-soft: #0f2347;
    --blue: #1456d8;
    --blue-dark: #0e3fa8;
    --blue-light: #eaf1ff;
    --green: #25d366;
    --green-dark: #1fb456;
    --ink: #0f172a;
    --grey: #64748b;
    --grey-light: #94a3b8;
    --bg: #f5f7fb;
    --border: #e6e9f2;
    --white: #ffffff;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); }

.section { padding: 60px 0; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}
.section-head h2 { font-size: 28px; font-weight: 700; }
.section-head .eyebrow {
    color: var(--blue);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}
.view-all { color: var(--blue); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.view-all:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14.5px;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }

/* =====================================================
   Top Bar
   ===================================================== */
.topbar {
    background: var(--navy);
    color: #cbd5e1;
    font-size: 13px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-left { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a:hover { color: #fff; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    transition: background .2s;
}
.topbar-social a:hover { background: var(--blue); color: #fff; }

/* =====================================================
   Main Navbar
   ===================================================== */
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo .logo-icon {
    width: 44px; height: 44px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.logo .logo-text { font-family: var(--font-head); line-height: 1.1; }
.logo .logo-text .l1 { font-size: 19px; font-weight: 700; color: var(--ink); }
.logo .logo-text .l1 span { color: var(--blue); }
.logo .logo-text .l2 { font-size: 10.5px; letter-spacing: 3px; color: var(--grey); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav > li { position: relative; }
.main-nav > li > a {
    display: flex; align-items: center; gap: 5px;
    padding: 10px 14px;
    font-size: 13.5px; font-weight: 600;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: .3px;
    border-radius: 6px;
}
.main-nav > li > a:hover, .main-nav > li.active > a { color: var(--blue); background: var(--blue-light); }
.main-nav > li > a i.chev { font-size: 10px; transition: transform .2s; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .18s ease;
    z-index: 50;
}
.main-nav > li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav > li:hover > a i.chev { transform: rotate(180deg); }
.dropdown-menu li a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 13.5px;
    color: var(--ink);
}
.dropdown-menu li a:hover { background: var(--blue-light); color: var(--blue); }

.navbar-actions { display: flex; align-items: center; gap: 10px; }
.navbar-actions .btn { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--ink); }

/* =====================================================
   Layout: sidebar + content
   ===================================================== */
.layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}
.layout-grid > * { min-width: 0; }
.layout-grid > .sidebar-col { grid-column: 1; }
.layout-grid > .sidebar-col ~ * { grid-column: 2; }

.cat-sidebar {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}
.cat-sidebar-head {
    background: var(--blue);
    color: #fff;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 16px;
    display: flex; align-items: center; gap: 10px;
}
.cat-sidebar ul { padding: 8px; }
.cat-sidebar li a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}
.cat-sidebar li a .left { display: flex; align-items: center; gap: 12px; }
.cat-sidebar li a .left i.icon { color: var(--blue); width: 18px; text-align: center; }
.cat-sidebar li a:hover { background: var(--blue-light); color: var(--blue); }
.cat-sidebar li a i.chev { font-size: 11px; color: var(--grey-light); }

.promo-card {
    margin-top: 20px;
    background: var(--blue-light);
    border-radius: var(--radius);
    padding: 22px;
    position: relative;
    overflow: hidden;
}
.promo-card h4 { font-size: 17px; margin-bottom: 4px; }
.promo-card h4 .accent { color: var(--blue); display: block; font-size: 19px; }
.promo-card p { font-size: 13.5px; color: var(--grey); margin: 10px 0 16px; }
.promo-card img { border-radius: 8px; margin-top: 14px; }

/* =====================================================
   Hero Slider
   ===================================================== */
.hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 460px;
    box-shadow: var(--shadow);
}
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0; transition: opacity .6s ease;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,26,53,.82) 0%, rgba(10,26,53,.45) 45%, rgba(10,26,53,.08) 75%);
}
.hero-text { position: relative; z-index: 3; color: #fff; max-width: 480px; padding: 0 48px; }
.hero-text h1 { font-size: 38px; font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
.hero-text p { font-size: 15.5px; color: #dbe3f3; margin-bottom: 24px; }

.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(10,26,53,.55);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    border: none; z-index: 5; font-size: 15px;
    transition: background .2s;
}
.hero-arrow:hover { background: var(--blue); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); padding: 0; }
.hero-dots button.active { background: #fff; width: 22px; border-radius: 5px; }

/* =====================================================
   Search Bar
   ===================================================== */
.search-bar-wrap { position: relative; z-index: 10; margin-top: -38px; padding: 0 4px; }
.search-bar {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}
.search-field label {
    display: block; font-size: 12.5px; font-weight: 600; color: var(--grey);
    margin-bottom: 7px; text-transform: uppercase; letter-spacing: .4px;
}
.search-field select, .search-field input {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 14px;
    color: var(--ink);
}
.search-field select:focus, .search-field input:focus { outline: none; border-color: var(--blue); background: #fff; }
.search-bar .btn-primary { height: 44px; padding: 0 26px; }

/* =====================================================
   Property Cards / Grid
   ===================================================== */
.property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.property-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.property-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex; flex-direction: column;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.property-thumb { position: relative; height: 190px; overflow: hidden; }
.property-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.property-card:hover .property-thumb img { transform: scale(1.06); }
.badge {
    position: absolute; top: 14px; left: 14px;
    font-size: 11.5px; font-weight: 700;
    padding: 5px 12px; border-radius: 20px; color: #fff;
    text-transform: uppercase; letter-spacing: .3px;
}
.badge.sale { background: var(--blue); }
.badge.rent { background: #16a34a; }
.fav-btn {
    position: absolute; top: 12px; right: 12px;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.92);
    display: flex; align-items: center; justify-content: center;
    color: var(--grey); border: none; font-size: 14px;
    transition: color .2s;
}
.fav-btn:hover { color: #ef4444; }

.property-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.property-body h3 { font-size: 16.5px; font-weight: 700; }
.property-body h3 a:hover { color: var(--blue); }
.property-loc { font-size: 13px; color: var(--grey); display: flex; align-items: center; gap: 6px; }
.property-loc i { color: var(--blue); }
.property-price { font-size: 18px; font-weight: 700; color: var(--blue); margin-top: 2px; }
.property-meta {
    display: flex; gap: 16px; margin-top: 10px; padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 12.5px; color: var(--grey);
}
.property-meta span { display: flex; align-items: center; gap: 6px; }
.property-meta i { color: var(--grey-light); }

/* =====================================================
   Trust badges strip
   ===================================================== */
.trust-strip { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 38px 0; }
.trust-item { display: flex; align-items: center; gap: 16px; }
.trust-item .icon {
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--blue-light); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.trust-item h4 { font-size: 15px; margin-bottom: 3px; }
.trust-item p { font-size: 12.5px; color: var(--grey); }

/* =====================================================
   Footer
   ===================================================== */
footer { background: var(--navy); color: #b9c4dd; }
.footer-top { padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 28px; }
.footer-grid h5 { color: #fff; font-size: 15.5px; margin-bottom: 18px; }
.footer-about .logo .logo-text .l1 { color: #fff; }
.footer-about .logo .logo-icon { background: rgba(255,255,255,.1); color: #fff; }
.footer-about p { font-size: 13.5px; line-height: 1.7; margin: 14px 0 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #fff;
}
.footer-social a:hover { background: var(--blue); }
.footer-links li { margin-bottom: 11px; font-size: 13.5px; }
.footer-links li a { display: flex; align-items: center; gap: 8px; color: #b9c4dd; }
.footer-links li a:hover { color: #fff; }
.footer-links li i { font-size: 10px; color: var(--grey-light); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 16px; font-size: 13.5px; align-items: flex-start; }
.footer-contact li i { color: var(--blue); margin-top: 3px; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: 13px; color: #8a97b5; }

/* Floating buttons */
.floating-actions { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 12px; z-index: 300; }
.floating-actions a, .floating-actions button {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 19px; border: none; box-shadow: var(--shadow);
}
.fab-call { background: var(--blue); }
.fab-whatsapp { background: var(--green); }
.fab-top { background: var(--navy); opacity: 0; pointer-events: none; transition: opacity .2s; }
.fab-top.show { opacity: 1; pointer-events: auto; }

/* =====================================================
   Page header / breadcrumb (inner pages)
   ===================================================== */
.page-header {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: #fff;
    padding: 46px 0;
    text-align: center;
}
.page-header h1 { font-size: 30px; margin-bottom: 8px; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 13.5px; color: #b9c4dd; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #fff; font-weight: 600; }

/* =====================================================
   Filter bar (listing page)
   ===================================================== */
.filter-bar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    margin-bottom: 26px;
}
.filter-bar form { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr auto; gap: 14px; align-items: end; }
.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.results-bar p { font-size: 14px; color: var(--grey); }
.results-bar p strong { color: var(--ink); }

.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.active-filters a {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--blue-light); color: var(--blue);
    font-size: 12.5px; font-weight: 600;
    padding: 6px 12px; border-radius: 20px;
}

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination a, .pagination span {
    width: 38px; height: 38px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13.5px; font-weight: 600;
    border: 1px solid var(--border); background: #fff; color: var(--ink);
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .active { background: var(--blue); color: #fff; border-color: var(--blue); }

.empty-state { text-align: center; padding: 70px 20px; color: var(--grey); }
.empty-state i { font-size: 46px; color: var(--grey-light); margin-bottom: 16px; }
.empty-state h3 { color: var(--ink); margin-bottom: 8px; }

/* =====================================================
   Property details page
   ===================================================== */
.gallery-main { border-radius: 14px; overflow: hidden; height: 440px; margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery-thumbs img { height: 78px; width: 100%; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.gallery-thumbs img.active { border-color: var(--blue); }

.detail-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.detail-head h1 { font-size: 25px; margin-bottom: 6px; }
.detail-price { font-size: 24px; font-weight: 700; color: var(--blue); }

.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.spec-item { background: var(--bg); border-radius: 10px; padding: 16px; text-align: center; }
.spec-item i { color: var(--blue); font-size: 19px; margin-bottom: 8px; display: block; }
.spec-item strong { display: block; font-size: 15px; }
.spec-item span { font-size: 12px; color: var(--grey); }

.amenity-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amenity-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.amenity-list li i { color: var(--green-dark); }

.agent-card { text-align: center; }
.agent-card .avatar {
    width: 76px; height: 76px; border-radius: 50%; background: var(--blue-light); color: var(--blue);
    display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 12px;
}
.agent-card h4 { font-size: 16px; margin-bottom: 4px; }
.agent-card p { font-size: 13px; color: var(--grey); margin-bottom: 16px; }
.agent-contact { display: flex; flex-direction: column; gap: 10px; text-align: left; font-size: 13.5px; margin: 16px 0; }
.agent-contact div { display: flex; gap: 10px; align-items: center; }
.agent-contact i { color: var(--blue); width: 16px; }

/* =====================================================
   Forms
   ===================================================== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.form-group .req { color: #ef4444; }
.form-control {
    width: 100%; border: 1px solid var(--border); background: var(--bg);
    border-radius: 8px; padding: 11px 13px; font-size: 14px; color: var(--ink);
}
.form-control:focus { outline: none; border-color: var(--blue); background: #fff; }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.alert { padding: 13px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #ecfdf3; color: #15803d; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* =====================================================
   Generic content pages
   ===================================================== */
.content-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.content-card h2 { font-size: 21px; margin: 24px 0 12px; }
.content-card h2:first-child { margin-top: 0; }
.content-card p { color: var(--grey); margin-bottom: 12px; font-size: 14.5px; }
.content-card ul { margin: 10px 0 16px 0; }
.content-card ul li { padding-left: 22px; position: relative; color: var(--grey); font-size: 14.5px; margin-bottom: 8px; }
.content-card ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--blue); position: absolute; left: 0; font-size: 12px; top: 3px; }

.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: 14.5px; background: #fff; }
.faq-q i { transition: transform .2s; color: var(--blue); }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; background: var(--bg); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 4px 18px 16px; color: var(--grey); font-size: 14px; }

.team-grid, .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat-card .num { font-size: 28px; font-weight: 700; color: var(--blue); font-family: var(--font-head); }
.stat-card .label { font-size: 13px; color: var(--grey); margin-top: 4px; }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1100px) {
    .layout-grid { grid-template-columns: 1fr; }
    .layout-grid > .sidebar-col,
    .layout-grid > .sidebar-col ~ * { grid-column: 1; }
    .property-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .search-bar { grid-template-columns: 1fr 1fr; }
    .filter-bar form { grid-template-columns: 1fr 1fr; }
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .topbar-links { display: none; }
    .main-nav { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: #fff; flex-direction: column; align-items: stretch; padding: 90px 16px 20px; box-shadow: var(--shadow); transition: left .25s ease; overflow-y: auto; z-index: 250; }
    .main-nav.open { left: 0; }
    .main-nav > li > a { justify-content: space-between; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; border: none; }
    .main-nav > li.open .dropdown-menu { display: block; }
    .nav-toggle { display: block; }
    .navbar-actions .btn span { display: none; }
    .hero { height: 380px; }
    .hero-text { padding: 0 24px; }
    .hero-text h1 { font-size: 27px; }
}
@media (max-width: 640px) {
    .property-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .search-bar, .filter-bar form { grid-template-columns: 1fr; }
    .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
    .spec-grid { grid-template-columns: 1fr 1fr; }
    .amenity-list { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .team-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
    .detail-head { flex-direction: column; }
}