:root {
    --brand: #dc331c;
    --brand-dark: #b72715;
    --ink: #1a202c;
    --muted: #64748b;
    --line: #e2e8f0;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --radius: 16px;
    --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    --topbar-height: 42px;
    --navbar-height: 78px;
}

* {
    box-sizing: border-box;
}

body.site-body {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--surface-soft);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.site-topbar {
    background: var(--brand);
    color: #fff;
    font-size: 0.875rem;
}

.site-topbar-inner {
    min-height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-topbar-contacts {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
}

.site-topbar-contacts a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.site-topbar-contacts i {
    font-size: 0.8rem;
    opacity: 0.95;
}

.site-topbar-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.follow-label {
    font-weight: 500;
    white-space: nowrap;
}

.site-topbar-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.35);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.social-links a {
    color: #fff;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.site-navbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.site-navbar-inner {
    min-height: var(--navbar-height);
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--brand);
    white-space: nowrap;
}

.brand img {
    height: 38px;
    width: auto;
}

.brand-wordmark img {
    height: 52px;
    width: auto;
    max-width: min(180px, 42vw);
    object-fit: contain;
}

.brand-text {
    letter-spacing: -0.02em;
}

.footer-brand-wordmark img {
    height: 56px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.location-widget {
    display: flex;
    align-items: stretch;
    border: 1px solid #d7dee8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    min-width: 210px;
    max-width: 260px;
    cursor: pointer;
    text-align: left;
    font: inherit;
    padding: 0;
}

.location-widget:hover {
    border-color: #c5d0de;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.location-icon {
    width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-right: 1px solid #e8edf3;
    color: #475569;
    font-size: 1rem;
}

.location-content {
    padding: 0.35rem 0.65rem 0.45rem;
    min-width: 0;
    flex: 1;
}

.location-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.1rem;
}

.location-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: capitalize;
}

.location-title-caret {
    font-size: 0.62rem;
    color: #64748b;
}

.location-city-label {
    display: block;
    width: 100%;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-widget:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* Location modal */
.location-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 200;
}

.location-modal {
    position: fixed;
    inset: 0;
    z-index: 210;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.location-modal[hidden],
.location-modal-backdrop[hidden] {
    display: none !important;
}

.location-modal-panel {
    position: relative;
    width: min(720px, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
}

.location-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
}

.location-modal-head h2 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
}

.location-modal-head p {
    margin: 0 0 1.25rem;
    color: var(--muted);
    font-size: 0.92rem;
    max-width: 540px;
}

.location-search-row {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 1fr;
    margin-bottom: 0.75rem;
}

.location-search-input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    font: inherit;
}

.location-gps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.location-search-results {
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.location-search-results button {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 0.65rem 0.85rem;
    font: inherit;
    cursor: pointer;
}

.location-search-results button:last-child {
    border-bottom: 0;
}

.location-search-results button:hover {
    background: var(--surface-soft);
}

.location-map {
    height: 280px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    margin-bottom: 1rem;
    z-index: 1;
}

.location-radius-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.location-radius-row label {
    font-weight: 700;
    font-size: 0.9rem;
}

.location-radius-row input[type="range"] {
    width: 100%;
    accent-color: var(--brand);
}

.location-radius-row output {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    min-width: 52px;
    text-align: right;
}

.location-status {
    min-height: 1.25rem;
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.location-status.is-error {
    color: #b91c1c;
}

.location-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.25rem;
}

.btn-link-muted {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0.25rem;
}

.btn-link-muted:hover {
    color: var(--ink);
}

.leaflet-marker-icon.location-pin-marker {
    background: transparent;
    border: 0;
}

.location-pin-marker i {
    font-size: 2rem;
    color: var(--brand);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
    margin-left: -0.45rem;
    margin-top: -1.75rem;
}

.site-nav {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 1.35rem;
    justify-self: end;
    padding-right: 0.5rem;
}

.nav-link {
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
}

.nav-link i {
    font-size: 0.65rem;
    color: #64748b;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    min-width: 250px;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    padding: 0.35rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: 0.18s ease;
    z-index: 120;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.72rem 1rem;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 500;
    border-bottom: 1px dashed #e7edf4;
}

.nav-dropdown-menu a:last-child {
    border-bottom: 0;
}

.nav-dropdown-menu a:hover {
    color: var(--brand);
    background: #f8fafc;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown:focus-within .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.72rem 1.15rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-outline {
    background: #fff;
    border-color: #111827;
    color: #111827;
}

.btn-outline:hover {
    background: var(--surface-soft);
}

.btn-dark {
    background: #111827;
    color: #fff;
}

.btn-dark:hover {
    background: #020617;
}

.btn-agent,
.btn-login {
    font-size: 0.88rem;
    padding: 0.62rem 0.95rem;
    white-space: nowrap;
}

.btn-agent i,
.btn-login i {
    font-size: 0.82rem;
}

.btn-brand {
    background: var(--brand);
    color: #fff;
}

.btn-brand:hover {
    background: var(--brand-dark);
}

.hero {
    padding: 2rem 0 1rem;
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius) + 8px);
    min-height: 420px;
    background: #0b1220;
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.25));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    color: #fff;
    max-width: 640px;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    margin: 0 0 1rem;
}

.hero-content p {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.82);
}

.search-panel {
    margin-top: -2.5rem;
    position: relative;
    z-index: 3;
}

.search-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
}

.search-card form {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

.search-card input,
.search-card select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font: inherit;
}

.section {
    padding: 3.5rem 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.section-head p {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.property-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.property-media {
    position: relative;
    aspect-ratio: 16 / 11;
    background: #e2e8f0;
}

.property-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-right {
    left: auto;
    right: 12px;
}

.badge-sell {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge-rent {
    background: #ffedd5;
    color: #c2410c;
}

.badge-premium {
    background: #fef3c7;
    color: #92400e;
}

.property-body {
    padding: 1rem;
}

.property-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.property-meta {
    color: var(--muted);
    font-size: 0.875rem;
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
}

.price {
    font-weight: 800;
    font-size: 1.05rem;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.chip {
    background: var(--surface-soft);
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    font-size: 0.75rem;
    color: var(--muted);
}

.dark-section {
    background: #0b1220;
    color: #fff;
}

.dark-section .section-head p,
.dark-section .section-head h2 {
    color: #fff;
}

.dark-section .section-head p {
    color: rgba(255, 255, 255, 0.72);
}

.dark-section .property-card {
    color: var(--ink);
}

.dark-section .property-card h3,
.dark-section .property-card .price {
    color: var(--ink);
}

.dark-section .property-card .property-meta,
.dark-section .property-card .chip {
    color: var(--muted);
}

.dark-section .property-card .property-media .badge {
    color: var(--ink);
}

.spotlight-grid {
    display: grid;
    gap: 1rem;
}

.spotlight-card {
    display: grid;
    grid-template-columns: 1fr;
    background: #111827;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.spotlight-card .property-body {
    color: #fff;
}

.city-grid,
.agent-grid,
.project-grid,
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.category-card img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.category-fallback-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(62, 180, 137, 0.12);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.city-card,
.agent-card,
.project-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}

.city-card img,
.agent-card img,
.project-card img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 999px;
    margin: 0 auto 0.75rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1.1rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
}

.site-footer {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.82);
    padding: 2.75rem 0 1.25rem;
    margin-top: 3rem;
}

.footer-top-row {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
    align-items: start;
    margin-bottom: 2.5rem;
}

.footer-brand-block {
    max-width: 420px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
}

.footer-brand img {
    height: 40px;
    width: auto;
}

.footer-brand-block p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
    line-height: 1.65;
}

.footer-contact-bar {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem 1.35rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--brand);
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.footer-contact-item strong {
    display: block;
    color: #fff;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.footer-contact-item p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.45;
}

.footer-contact-item a {
    color: inherit;
}

.footer-contact-item a:hover {
    color: #fff;
}

.footer-main-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-block h4,
.footer-app-block h4 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 1.05rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-link-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1.5rem;
}

.footer-links-block a,
.footer-app-block p {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    line-height: 1.45;
}

.footer-links-block a:hover {
    color: #fff;
}

.footer-app-block p {
    margin: 0 0 1rem;
}

.store-badges {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    background: transparent;
}

a.store-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
    text-align: center;
}

/* Static pages */
.page-hero {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1.75rem 0;
}

.page-hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #0f172a;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--brand);
}

.breadcrumbs a {
    color: var(--brand);
}

.breadcrumbs span:last-child {
    color: var(--muted);
}

.page-section {
    padding: 2.5rem 0 3.5rem;
}

.page-intro {
    max-width: 720px;
    margin-bottom: 2rem;
}

.page-intro.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-intro h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.page-intro p {
    margin: 0;
    color: var(--muted);
}

.page-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow);
}

.page-card.centered {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.prose-content {
    color: #334155;
    line-height: 1.75;
}

.prose-content h3 {
    margin: 1.75rem 0 0.65rem;
    color: var(--ink);
}

.prose-content ul {
    padding-left: 1.25rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

.step-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.65rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(62, 180, 137, 0.12);
    color: var(--brand-dark);
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.step-card h3 {
    margin: 0 0 0.5rem;
}

.step-card p {
    margin: 0 0 0.75rem;
    color: var(--muted);
}

.step-card ul {
    margin: 0;
    padding-left: 1.15rem;
    color: #475569;
}

.contact-cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-card i {
    font-size: 1.75rem;
    color: var(--brand);
    margin-bottom: 0.75rem;
}

.contact-card h3 {
    margin: 0 0 0.5rem;
}

.contact-card p {
    margin: 0.25rem 0;
    color: var(--muted);
}

.contact-map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    margin-bottom: -4rem;
    position: relative;
    z-index: 1;
    min-height: 360px;
}

.contact-map-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

.contact-form-card {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.contact-form-head h2 {
    margin: 0 0 0.35rem;
}

.contact-form-head p {
    margin: 0 0 1.25rem;
    color: var(--muted);
}

.form-grid-2 {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin-bottom: 1rem;
}

.contact-form label span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    font: inherit;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    gap: 0.75rem;
}

.faq-item-modern {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.faq-item-modern.faq-hidden {
    display: none;
}

.faq-item-modern[open] summary {
    background: #0f172a;
    color: #fff;
}

.faq-item-modern summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 3rem 1.1rem 1.25rem;
    font-weight: 700;
    position: relative;
}

.faq-item-modern summary::-webkit-details-marker {
    display: none;
}

.faq-item-modern summary::after {
    content: "+";
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
}

.faq-item-modern[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 1rem 1.25rem 1.25rem;
    background: var(--surface-soft);
    color: var(--muted);
}

.center-actions {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.65rem 1.35rem;
    font-weight: 600;
    cursor: pointer;
}

.pricing-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border-color: var(--brand);
    box-shadow: 0 16px 48px rgba(62, 180, 137, 0.15);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--brand);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.price-xl {
    font-size: 2rem;
    font-weight: 800;
    margin: 0.5rem 0;
}

.price-xl span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    text-align: left;
}

.plan-features li {
    padding: 0.4rem 0 0.4rem 1.35rem;
    position: relative;
    color: #475569;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}

.articles-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: start;
}

.article-row-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
}

.article-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-row-body {
    padding: 0 1.25rem 1.25rem;
}

.article-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--brand-dark);
    font-weight: 600;
}

.article-date {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0.35rem 0;
}

.article-sidebar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.article-sidebar h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.article-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.article-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 0.88rem;
}

.article-cat-list li.active a {
    border-color: var(--brand);
    color: var(--brand-dark);
    font-weight: 700;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: var(--surface-soft);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.article-meta-bar i {
    margin-right: 0.35rem;
}

.article-detail-image img {
    width: 100%;
    border-radius: var(--radius);
    max-height: 480px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
}

.property-detail-hero img {
    width: 100%;
    border-radius: var(--radius);
    max-height: 520px;
    object-fit: cover;
}

.detail-layout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

.detail-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.property-description {
    color: var(--text-muted, #64748b);
    line-height: 1.65;
    font-size: 0.95rem;
}

.property-description p {
    margin: 0 0 1rem;
}

.property-description h3 {
    margin: 1.25rem 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text, #0f172a);
}

.property-description ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.property-description li {
    margin-bottom: 0.35rem;
}

.property-description a {
    color: var(--brand, #3eb489);
    font-weight: 600;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.detail-spec {
    background: var(--surface-soft);
    border-radius: 12px;
    padding: 0.85rem;
    text-align: center;
}

.pagination-wrap {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination-wrap .pagination {
    display: flex;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrap .page-link {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
}

.pagination-wrap .active .page-link {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

@media (min-width: 640px) {
    .location-search-row {
        grid-template-columns: 1fr auto;
    }
}

@media (max-width: 1100px) {
    .site-navbar-inner {
        grid-template-columns: auto 1fr auto;
    }

    .location-widget {
        display: none;
    }

    .site-nav {
        display: none !important;
    }
}

@media (min-width: 1101px) {
    .site-nav {
        display: flex;
    }

    .search-card form {
        grid-template-columns: 1.4fr 0.8fr 0.8fr auto;
        align-items: center;
    }

    .spotlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spotlight-card {
        grid-template-columns: 1.1fr 1fr;
    }

    .spotlight-card img {
        height: 100%;
        min-height: 220px;
    }

    .faq-grid {
        grid-template-columns: 1fr 1.2fr;
        align-items: start;
    }

    .footer-top-row {
        grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.2fr);
        align-items: center;
    }

    .footer-contact-bar {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-main-grid {
        grid-template-columns: 1.2fr 1fr 0.9fr;
    }

    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .articles-layout {
        grid-template-columns: 1fr 300px;
    }

    .article-row-card {
        grid-template-columns: 280px 1fr;
    }

    .article-row-body {
        padding: 1.25rem 1.25rem 1.25rem 0;
    }

    .detail-layout {
        grid-template-columns: 1.6fr 0.8fr;
    }
}

@media (min-width: 1024px) {
    .spotlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.blog-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    font-size: 0.85rem;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.blog-tag-pill:hover,
.blog-tag-pill.active {
    border-color: var(--brand);
    color: var(--brand);
    background: #fff7f5;
}

.property-gallery-thumb {
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    width: 84px;
    height: 64px;
}

.property-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-gallery-thumb.is-active,
.property-gallery-thumb:hover {
    border-color: var(--brand);
}

.property-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .property-overview-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.property-overview-grid div {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.property-overview-grid strong {
    display: block;
    font-size: 1.1rem;
    color: #111827;
}

.property-overview-grid span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.property-amenity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.property-amenity-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: #fff7f5;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.9rem;
    font-weight: 600;
}

.property-nearby-item {
    background: #f8fafc;
    border-radius: 10px;
}

.auth-page-body {
    min-height: 100vh;
}

.auth-page-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .auth-page-shell {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.auth-page-visual {
    display: none;
    background: linear-gradient(135deg, #fff7f5 0%, #ffe4de 100%);
    background-size: cover;
    background-position: center;
}

@media (min-width: 992px) {
    .auth-page-visual {
        display: block;
    }
}

.auth-page-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-page-card {
    width: min(100%, 420px);
}

.auth-page-logo img {
    max-height: 56px;
    width: auto;
    display: block;
    margin: 0 auto 1.5rem;
}

.auth-page-heading h1 {
    font-size: 1.75rem;
    margin: 0 0 0.35rem;
}

.auth-page-heading p {
    color: #6b7280;
    margin: 0 0 1.5rem;
}

.auth-page-form label {
    display: block;
    margin-bottom: 1rem;
}

.auth-page-form span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.auth-page-form input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    font: inherit;
}

.auth-page-form input:focus {
    outline: 2px solid var(--brand);
    border-color: var(--brand);
}

.auth-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.8rem 1rem;
}

.auth-page-switch {
    text-align: center;
    margin-top: 1.25rem;
    color: #6b7280;
}

.auth-page-switch a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

.auth-error {
    display: block;
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.btn-brand.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
}
