:root {
    --primary: #2f96d1;
    --primary-dark: #2479a8;
    --secondary: #394041;
    --ink: #252a2b;
    --muted: #7c8788;
    --surface: #ffffff;
    --surface-soft: #f5f4f3;
    --surface-muted: #ece9e7;
    --border: #dcd8d4;
    --accent: #ec894d;
    --success: #1d7f58;
    --danger: #9f3f3f;
    --shadow: 0 18px 46px rgba(37, 42, 43, 0.12);
    --shadow-soft: 0 10px 26px rgba(37, 42, 43, 0.08);
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Roboto", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(47, 150, 209, 0.08), transparent 32rem),
        linear-gradient(180deg, #f4f4f2 0%, #ffffff 18rem);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: 1.15;
    font-family: "Lato", "Roboto", sans-serif;
    color: var(--secondary);
}

p {
    margin: 0 0 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.narrow {
    max-width: 760px;
}

.site-main {
    overflow: clip;
}

.topbar {
    background: #2d3234;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    min-height: 44px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.topbar-item-center {
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.62);
}

.topbar-phone {
    justify-content: flex-end;
}

.topbar-label {
    color: rgba(255, 255, 255, 0.56);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
}

.topbar a {
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.header-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    min-height: 108px;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.brand img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.brand-copy strong {
    font-size: 1.6rem;
    letter-spacing: 0.01em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.98rem;
}

.header-side {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-mobile-tagline,
.menu-toggle {
    display: none;
}

.header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 0;
}

.header-phone-label {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.header-phone strong {
    font-size: 1.25rem;
    color: var(--secondary);
}

.button,
.nav-catalog-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    border: 0;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.button:hover,
.nav-catalog-link:hover {
    transform: translateY(-1px);
}

.button {
    color: #fff;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-soft);
}

.button-light {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: none;
}

.button-outline {
    color: var(--secondary);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: none;
}

.button-ghost {
    color: var(--secondary);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: none;
}

.nav-shell {
    background: #394041;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
}

.main-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.main-nav a,
.nav-catalog-link {
    min-height: 56px;
    padding: 0 1.2rem;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.84rem;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-weight: 700;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: var(--primary);
}

.nav-catalog-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-catalog-link.is-active,
.nav-catalog-link:hover {
    background: var(--accent);
}

.menu-toggle {
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--secondary);
    box-shadow: none;
    cursor: pointer;
}

.menu-toggle-icon {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle-icon span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.95rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.8);
}

.hero-slider {
    position: relative;
    min-height: 760px;
    color: #fff;
    background: #1b1f20;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    background:
        linear-gradient(90deg, rgba(13, 18, 20, 0.72) 0%, rgba(13, 18, 20, 0.42) 46%, rgba(13, 18, 20, 0.66) 100%),
        linear-gradient(180deg, rgba(13, 18, 20, 0.3), rgba(13, 18, 20, 0.46)),
        var(--hero-image) center / cover no-repeat;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-content,
.hero-spotlight,
.hero-dots {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 400px;
    align-items: start;
    gap: 2rem;
    padding: 6rem 0 2.5rem;
}

.hero-copy {
    padding-top: 1rem;
}

.hero-mobile-search {
    display: none;
}

.hero-copy h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.9rem, 5.2vw, 5rem);
    color: #fff;
}

.hero-copy p {
    max-width: 60ch;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.75rem 0 2rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats div {
    min-width: 150px;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 14px;
}

.hero-stats strong {
    display: block;
    margin-bottom: 0.18rem;
    font-family: "Lato", sans-serif;
    font-size: 1.5rem;
    color: #fff;
}

.hero-stats span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.hero-search-card,
.panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(220, 216, 212, 0.88);
    border-top: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow);
    color: var(--ink);
}

.hero-search-head {
    margin-bottom: 1rem;
}

.hero-search-head h2 {
    margin-bottom: 0.2rem;
    font-size: 1.7rem;
}

.hero-spotlight {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-bottom: 4rem;
}

.hero-spotlight-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-spotlight-card strong {
    color: #fff;
    font-size: 1.05rem;
}

.hero-spotlight-card small {
    color: rgba(255, 255, 255, 0.8);
}

.hero-spotlight-tag {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    font-weight: 700;
}

.hero-dots {
    position: absolute;
    right: max(1rem, calc((100vw - var(--container)) / 2 + 1rem));
    bottom: 1rem;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.hero-dot {
    min-height: 36px;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    cursor: pointer;
}

.hero-dot.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.section {
    padding: 4rem 0;
}

.section-muted {
    background: rgba(245, 244, 243, 0.84);
}

.section-head,
.results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-head h2,
.detail-content h2,
.panel h2 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-head p,
.results-sort,
.property-card-location,
.property-card-summary,
.detail-content,
.empty-state,
.service-card p,
.location-card span,
.footer-copy {
    color: var(--muted);
}

.text-link {
    color: var(--primary);
    font-weight: 700;
}

.property-grid,
.service-grid,
.location-grid {
    display: grid;
    gap: 1.35rem;
}

.property-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-grid-listing {
    grid-template-columns: 1fr;
}

.service-grid,
.location-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-grid-page {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.location-card,
.property-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.service-card:hover,
.location-card:hover,
.property-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.service-card {
    padding: 1.5rem;
}

.service-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.service-card-body h2,
.service-card h3 {
    margin: 0.2rem 0 0.55rem;
    font-size: 1.35rem;
}

.service-card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(47, 150, 209, 0.1);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.location-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.3rem;
}

.location-card strong {
    font-size: 1.12rem;
}

.contact-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
    padding: 1.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #ffffff, #f3f6f8);
    box-shadow: var(--shadow-soft);
}

.contact-band div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-band strong {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.property-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.property-card.is-listing {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
}

.property-card-media {
    display: block;
    background: linear-gradient(135deg, #dceef7, #eff6f8);
}

.property-card:not(.is-listing) .property-card-media {
    aspect-ratio: 4 / 3;
}

.property-card.is-listing .property-card-media {
    min-height: 100%;
}

.property-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card-placeholder,
.detail-gallery-empty {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 260px;
    padding: 1rem;
    color: var(--secondary);
    background: linear-gradient(135deg, #dceef7, #eff6f8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.property-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.1rem 1.15rem 1.2rem;
}

.property-card-topline,
.detail-price-row,
.badge-row,
.property-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.property-card-badges {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.status-badge,
.type-badge,
.price-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.status-badge {
    color: #fff;
    background: var(--primary);
}

.type-badge {
    color: var(--secondary);
    background: rgba(57, 64, 65, 0.08);
}

.price-badge {
    color: #fff;
    background: var(--secondary);
}

.property-card h3 {
    font-size: 1.28rem;
}

.property-card h3 a:hover {
    color: var(--primary);
}

.property-card-location {
    font-size: 0.95rem;
}

.property-card-summary {
    margin-bottom: 0;
}

.property-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.property-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 36px;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--secondary);
    font-size: 0.9rem;
}

.property-card-meta-item img {
    width: 16px;
    height: 16px;
    opacity: 0.72;
}

.property-card-footer {
    margin-top: auto;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(220, 216, 212, 0.8);
}

.property-card-code {
    color: var(--muted);
    font-size: 0.84rem;
}

.property-card-link {
    color: var(--primary);
    font-weight: 700;
}

.page-banner {
    position: relative;
    padding: 4.4rem 0 3.2rem;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(17, 22, 23, 0.78) 0%, rgba(17, 22, 23, 0.66) 45%, rgba(17, 22, 23, 0.84) 100%),
        linear-gradient(180deg, rgba(47, 150, 209, 0.26), rgba(57, 64, 65, 0.5)),
        var(--banner-image, linear-gradient(135deg, #394041, #2f96d1)) center / cover no-repeat;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-banner p {
    max-width: 64ch;
    color: rgba(255, 255, 255, 0.8);
}

.listing-layout,
.contact-layout,
.detail-layout {
    display: grid;
    gap: 1.5rem;
}

.listing-layout {
    grid-template-columns: 320px minmax(0, 1fr);
}

.contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.listing-results,
.detail-main {
    min-width: 0;
}

.results-head {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.results-head strong {
    font-size: 1.2rem;
}

.search-form {
    display: grid;
    gap: 0.9rem;
}

.search-form.is-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-form.is-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-form.is-compact {
    grid-template-columns: 1fr;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.search-field-wide {
    grid-column: 1 / -1;
}

.field-label {
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.search-form input,
.search-form select,
.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--secondary);
    background: #fff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.search-form input:focus,
.search-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(47, 150, 209, 0.8);
    box-shadow: 0 0 0 4px rgba(47, 150, 209, 0.12);
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.search-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    grid-column: 1 / -1;
}

.contact-form {
    display: grid;
    gap: 0.95rem;
}

.notice {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
}

.notice-success {
    background: rgba(29, 127, 88, 0.12);
    color: var(--success);
}

.notice-error {
    background: rgba(159, 63, 63, 0.12);
    color: var(--danger);
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-gallery {
    display: grid;
    gap: 1rem;
}

.detail-gallery-lead {
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.detail-gallery-lead img {
    width: 100%;
    max-height: 640px;
    object-fit: cover;
}

.detail-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.detail-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.detail-thumb.is-active {
    border-color: var(--primary);
}

.detail-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.detail-copy {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.9rem;
    margin: 1.5rem 0;
}

.meta-grid div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: var(--surface-soft);
}

.meta-grid span {
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-content {
    line-height: 1.78;
}

.detail-content h2 {
    margin-bottom: 1rem;
}

.detail-section {
    margin-top: 2rem;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.feature-list span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-soft);
}

.detail-sidebar {
    position: sticky;
    top: 128px;
}

.agent-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1rem;
}

.map-frame {
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #fff;
}

.map-frame iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
}

.map-frame.compact iframe {
    min-height: 280px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.9rem;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
}

.pagination a.is-active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.page-hero {
    padding: 3.75rem 0 2.5rem;
    background: linear-gradient(180deg, rgba(47, 150, 209, 0.12), rgba(255, 255, 255, 0));
}

.page-hero-compact {
    padding-bottom: 1.4rem;
}

.page-eyebrow {
    margin-bottom: 0.55rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
}

.page-hero h1 {
    margin-bottom: 0.7rem;
}

.page-lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.06rem;
}

.page-section {
    padding: 0 0 3rem;
}

.legal-shell {
    max-width: 880px;
}

.legal-content {
    padding: 2rem;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.legal-content h2 {
    margin-top: 1.8rem;
    margin-bottom: 0.75rem;
}

.legal-content h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 1.2rem;
}

.legal-note {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
}

.site-footer {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.82);
    background: linear-gradient(180deg, #2d3234, #252a2b);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.site-footer h3,
.site-footer h4 {
    margin-bottom: 0.9rem;
    color: #fff;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.82);
}

.footer-meta {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.footer-bottom {
    padding: 1rem 0 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom small {
    color: rgba(255, 255, 255, 0.58);
}

.footer-bottom a {
    color: #fff;
}

.center {
    text-align: center;
}

.empty-state {
    padding: 1rem 0;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1120px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-copy {
        max-width: 760px;
    }

    .property-grid,
    .service-grid,
    .location-grid,
    .service-grid-page,
    .location-grid-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-layout,
    .listing-layout,
    .contact-layout,
    .footer-grid,
    .contact-band {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }
}

@media (max-width: 900px) {
    .topbar {
        display: none;
    }

    .site-header {
        background: rgba(255, 255, 255, 0.98);
    }

    .header-main {
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        text-align: left;
        min-height: 74px;
        padding: 0.55rem 0;
        gap: 0.8rem;
    }

    .brand {
        text-align: left;
    }

    .brand img {
        width: 56px;
        height: 56px;
    }

    .brand-copy {
        display: none;
    }

    .header-side {
        display: none;
    }

    .header-mobile-tagline {
        display: block;
        text-align: center;
        font-family: "Lato", "Roboto", sans-serif;
        font-size: 0.92rem;
        font-weight: 700;
        line-height: 1.2;
        color: var(--secondary);
        text-wrap: balance;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-shell {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transition:
            max-height 0.25s ease,
            opacity 0.2s ease;
        box-shadow: 0 18px 30px rgba(37, 42, 43, 0.14);
    }

    .nav-shell.is-open {
        max-height: 260px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 0.45rem 0;
        gap: 0;
    }

    .main-nav {
        width: 100%;
        flex-direction: column;
    }

    .main-nav a,
    .nav-catalog-link {
        width: 100%;
        min-height: 50px;
        justify-content: flex-start;
        padding: 0.9rem 1rem;
    }

    .nav-catalog-link {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-slider {
        min-height: auto;
    }

    .hero-content {
        padding-top: 4.5rem;
    }

    .hero-spotlight {
        grid-template-columns: 1fr;
        padding-bottom: 4.8rem;
    }

    .hero-dots {
        position: static;
        width: min(var(--container), calc(100% - 2rem));
        margin: 0 auto;
        padding-bottom: 1.2rem;
    }

    .search-form.is-hero,
    .search-form.is-sidebar,
    .property-card.is-listing {
        grid-template-columns: 1fr;
    }

    .property-card.is-listing .property-card-media {
        min-height: 240px;
    }

    .detail-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .header-main {
        min-height: 66px;
        gap: 0.6rem;
    }

    .brand {
        justify-self: start;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .header-mobile-tagline {
        font-size: 0.77rem;
        max-width: 14ch;
    }

    .hero-slider {
        min-height: clamp(420px, 74vh, 560px);
    }

    .hero-slide {
        background:
            linear-gradient(180deg, rgba(13, 18, 20, 0.1) 0%, rgba(13, 18, 20, 0.22) 38%, rgba(13, 18, 20, 0.82) 100%),
            var(--hero-image) center center / cover no-repeat;
    }

    .hero-content {
        display: flex;
        align-items: flex-end;
        min-height: clamp(420px, 74vh, 560px);
        padding: 1rem 0 2.2rem;
    }

    .hero-copy {
        padding-top: 0;
        width: 100%;
    }

    .hero-copy .eyebrow,
    .hero-copy h1,
    .hero-actions,
    .hero-stats,
    .hero-search-card,
    .hero-spotlight,
    .hero-dots,
    .search-actions,
    .hero-copy p {
        display: none;
    }

    .hero-mobile-search {
        display: block;
        width: 100%;
        max-width: none;
        padding: 0.72rem;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 20px 34px rgba(13, 18, 20, 0.22);
        backdrop-filter: blur(12px);
    }

    .search-form.is-hero-mobile {
        display: grid;
        gap: 0.55rem;
    }

    .hero-mobile-search-row {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr) 78px;
        gap: 0.45rem;
        align-items: end;
    }

    .search-form.is-hero-mobile .search-field {
        gap: 0.28rem;
    }

    .search-form.is-hero-mobile .search-field-inline .field-label {
        display: none;
    }

    .search-form.is-hero-mobile .field-label {
        font-size: 0.67rem;
        letter-spacing: 0.06em;
    }

    .search-form.is-hero-mobile input,
    .search-form.is-hero-mobile select {
        min-height: 42px;
        padding: 0.68rem 0.8rem;
        border-radius: 10px;
        font-size: 0.92rem;
    }

    .search-form.is-hero-mobile .search-actions-inline {
        display: flex;
    }

    .search-form.is-hero-mobile .search-actions-inline .button {
        width: 100%;
        min-height: 42px;
        font-size: 0.9rem;
        padding: 0.68rem 0.5rem;
    }

    .search-more {
        margin-top: 0.4rem;
        border-top: 1px solid rgba(37, 42, 43, 0.08);
        padding-top: 0.4rem;
    }

    .search-more summary {
        list-style: none;
        cursor: pointer;
        color: var(--secondary);
        font-size: 0.84rem;
        font-weight: 700;
    }

    .search-more summary::-webkit-details-marker {
        display: none;
    }

    .search-more-grid {
        display: grid;
        gap: 0.55rem;
        margin-top: 0.65rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-more-grid .search-field-wide {
        grid-column: 1 / -1;
    }

    .button,
    .button-light,
    .button-outline,
    .button-ghost,
    .search-actions a,
    .search-actions button {
        width: 100%;
    }

    .property-grid,
    .service-grid,
    .location-grid,
    .service-grid-page,
    .location-grid-page,
    .detail-gallery-thumbs {
        grid-template-columns: 1fr;
    }

    .section,
    .page-banner {
        padding-left: 0;
        padding-right: 0;
    }

    .section-head,
    .results-head {
        align-items: start;
        flex-direction: column;
    }

    .hero-copy,
    .hero-mobile-search {
        max-width: none;
    }

    .hero-stats div,
    .panel,
    .detail-copy {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 420px) {
    .hero-mobile-search-row {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr) 70px;
        gap: 0.35rem;
    }

    .search-form.is-hero-mobile input,
    .search-form.is-hero-mobile select,
    .search-form.is-hero-mobile .search-actions-inline .button {
        min-height: 40px;
        font-size: 0.85rem;
    }

    .search-more-grid {
        grid-template-columns: 1fr;
    }
}
