.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    padding: 0 clamp(18px, 6vw, 72px);
    color: var(--white);
    background: linear-gradient(135deg, #06ad6b, #04a466 70%, #0a8c5b);
}
.brand, .admin-brand, .login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}
.brand-logo {
    width: 188px;
    height: 58px;
    object-fit: contain;
    border-radius: 2px;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    background: #050a08;
    color: var(--green);
    border-radius: 2px;
    font-weight: 900;
}
.site-nav { display: flex; align-items: center; gap: 30px; font-weight: 700; font-size: 14px; }
.site-nav a { padding: 8px 0; }
.whatsapp-link { padding: 12px 18px !important; background: #050a08; border-radius: 6px; }
.nav-toggle { display: none; }

.hero {
    min-height: 330px;
    background:
        linear-gradient(90deg, rgba(5, 10, 8, .88) 0%, rgba(5, 10, 8, .58) 38%, rgba(5, 10, 8, .12) 100%),
        url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero-overlay { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 52px 0 72px; color: var(--white); }
.hero-content { max-width: 520px; }
.hero h1 { margin: 0 0 14px; font-size: 52px; line-height: .98; }
.hero p { margin: 0; font-size: 18px; line-height: 1.55; }

.search-panel {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 18px;
    width: min(1060px, calc(100% - 36px));
    margin: -44px auto 28px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.search-panel label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; color: #34423c; }

.section, .page-title, .detail-page {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: 28px 0;
}
.section-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 16px; }
.section-header h2, .why-section h2, .testimonials h2 { margin: 0; font-size: 28px; }
.section-header a { color: var(--green-dark); font-weight: 800; }

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.property-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(14, 31, 24, .06);
}
.property-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.property-body { display: grid; gap: 10px; padding: 16px; }
.property-body h3 { margin: 0; font-size: 17px; }
.location { margin: 0; color: var(--muted); font-size: 13px; }
.features { display: flex; flex-wrap: wrap; gap: 12px; color: #3e4b45; font-size: 13px; }
.property-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.property-footer strong { color: var(--green-dark); font-size: 19px; }

.why-section {
    margin: 16px 0 28px;
    padding: 34px max(18px, calc((100% - 1120px) / 2));
    background: #edf7f1;
}
.why-section h2, .testimonials h2 { text-align: center; margin-bottom: 24px; }
.why-grid, .testimonial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.about-section {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: center;
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: 28px 0;
}
.about-image {
    min-height: 260px;
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, rgba(5, 10, 8, .10), rgba(5, 10, 8, .18)),
        url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1400&q=80") center/cover;
}
.public-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: 26px 18px;
    color: var(--white);
    background: linear-gradient(135deg, #079c62, #06ad6b);
}
.public-cta h2 { margin: 0 0 6px; }
.public-cta p { margin: 0; }
.site-footer { background: #050a08; color: var(--white); padding: 34px 18px 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; width: min(1120px, 100%); margin: 0 auto; }
.footer-grid a, .footer-grid p { display: block; color: #d6ded9; margin: 7px 0; font-size: 14px; }
.footer-brand { color: var(--green); font-weight: 900; text-transform: uppercase; }
.footer-logo { width: 172px; height: auto; border-radius: 2px; }
.copyright { width: min(1120px, 100%); margin: 20px auto 0; padding-top: 14px; border-top: 1px solid #18221e; color: #aab7b1; font-size: 12px; }

.listing-filters {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto 10px;
}
.page-title h1 { margin: 0 0 8px; font-size: 38px; }
.detail-page { display: grid; grid-template-columns: 1.5fr .8fr; gap: 28px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.detail-card { position: sticky; top: 104px; align-self: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.detail-card h1 { margin: 14px 0 10px; font-size: 30px; }
.detail-price { display: block; margin: 18px 0; color: var(--green-dark); font-size: 28px; }
.detail-content { grid-column: 1 / 2; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature-list { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-list span { padding: 10px 12px; background: #eef4f0; border-radius: 6px; }

@media (max-width: 860px) {
    .site-header { min-height: 72px; }
    .nav-toggle { display: inline-flex; background: #050a08; color: var(--white); border: 0; border-radius: 6px; padding: 10px 14px; }
    .site-nav { display: none; position: absolute; left: 18px; right: 18px; top: 76px; flex-direction: column; align-items: stretch; gap: 8px; padding: 18px; background: #052017; border-radius: var(--radius); }
    .site-nav.open { display: flex; }
    .hero h1 { font-size: 38px; }
    .search-panel, .listing-filters, .property-grid, .why-grid, .testimonial-grid, .about-section, .detail-page, .footer-grid { grid-template-columns: 1fr; }
    .search-panel { margin-top: -24px; }
    .public-cta, .section-header { align-items: flex-start; flex-direction: column; }
    .detail-content { grid-column: auto; }
}
