/*
Theme Name: Reality Project Sales
Theme URI: https://realityprojects.co.zm
Author: Reality Project Sales
Author URI: https://realityprojects.co.zm
Description: A premium, editorial WordPress theme for Reality Project Sales.
Version: 1.4.0
Text Domain: reality-projects
*/

:root {
    --navy-950: #071535;
    --navy-900: #0b214c;
    --navy-800: #122f65;
    --navy-700: #1d4382;
    --red-700: #98131e;
    --red-600: #b31924;
    --red-100: #f8e8e9;
    --cream: #f8f7f3;
    --paper: #ffffff;
    --ink: #172338;
    --muted: #657188;
    --line: #e4e8ef;
    --gold: #d7ae52;
    --shadow-sm: 0 14px 36px rgba(7, 21, 53, 0.08);
    --shadow-lg: 0 28px 70px rgba(7, 21, 53, 0.16);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --container: 1180px;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

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

a:hover {
    color: var(--red-600);
}

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

button,
input,
select,
textarea {
    border-radius: var(--radius-sm);
}

button,
.button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

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

.section {
    padding: 108px 0;
}

.section-tight {
    padding: 72px 0;
}

.section-cream {
    background: var(--cream);
}

.section-navy {
    color: #ffffff;
    background: var(--navy-950);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--red-600);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.19em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow::before {
    display: block;
    width: 28px;
    height: 2px;
    content: '';
    background: currentColor;
}

.eyebrow-light {
    color: #e8c46f;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--navy-950);
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4 {
    color: #ffffff;
}

h1 {
    font-size: clamp(3.3rem, 6vw, 6.2rem);
}

h2 {
    font-size: clamp(2.4rem, 4vw, 4rem);
}

h3 {
    font-size: clamp(1.4rem, 2vw, 2rem);
}

p {
    margin: 0 0 18px;
}

.lead {
    max-width: 650px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.75;
}

.section-navy .lead {
    color: rgba(255, 255, 255, 0.72);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
    color: inherit;
    transform: translateY(-2px);
}

.button-primary {
    color: #ffffff;
    background: var(--red-600);
    box-shadow: 0 12px 24px rgba(179, 25, 36, 0.2);
}

.button-primary:hover {
    color: #ffffff;
    background: var(--red-700);
    box-shadow: 0 16px 32px rgba(179, 25, 36, 0.28);
}

.button-secondary {
    color: var(--navy-950);
    background: #ffffff;
    border-color: var(--line);
}

.button-secondary:hover {
    color: var(--navy-950);
    border-color: var(--navy-800);
    box-shadow: var(--shadow-sm);
}

.button-ghost {
    min-height: auto;
    padding: 5px 0;
    color: var(--navy-950);
    border-radius: 0;
}

.button-ghost::after {
    margin-left: 9px;
    content: '↗';
    color: var(--red-600);
    font-size: 1.15em;
}

.button-full {
    width: 100%;
}

.skip-link {
    position: absolute;
    z-index: 100;
    top: -60px;
    left: 18px;
    padding: 10px 16px;
    color: #ffffff;
    background: var(--navy-950);
}

.skip-link:focus {
    top: 18px;
}

/* Header */
.site-header {
    position: relative;
    z-index: 20;
    color: #ffffff;
    background: var(--navy-950);
}

.topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}

.topbar-inner,
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-inner {
    min-height: 38px;
}

.topbar-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.topbar a:hover {
    color: #ffffff;
}

.nav-wrap {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-inner {
    min-height: 92px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    width: 225px;
    flex-shrink: 0;
}

.site-logo {
    display: block;
    width: 100%;
    height: auto;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 29px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: #ffffff;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 17px;
    color: #ffffff;
    background: var(--red-600);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.header-cta:hover {
    color: #ffffff;
    background: var(--red-700);
}

.menu-toggle {
    display: none;
    padding: 8px 12px;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.8rem;
    font-weight: 800;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: var(--navy-950);
}

.hero-background {
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: '';
    background:
        linear-gradient(90deg, rgba(7, 21, 53, 0.96) 0%, rgba(7, 21, 53, 0.84) 42%, rgba(7, 21, 53, 0.46) 100%),
        linear-gradient(180deg, rgba(7, 21, 53, 0.42) 0%, rgba(7, 21, 53, 0.28) 52%, rgba(7, 21, 53, 0.72) 100%);
}

.hero::after {
    position: absolute;
    z-index: 1;
    right: -80px;
    bottom: -190px;
    width: 470px;
    height: 470px;
    content: '';
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 690px;
    padding-top: 72px;
    padding-bottom: 84px;
}

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

.hero h1 {
    max-width: 920px;
    color: #ffffff;
}

.hero .lead {
    max-width: 760px;
    margin-top: 26px;
}

.hero .button-row {
    margin-top: 32px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 48px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-trust span::before {
    width: 6px;
    height: 6px;
    content: '';
    background: var(--gold);
    border-radius: 50%;
}

.hero-badge {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 7%;
    display: grid;
    width: 116px;
    height: 116px;
    place-items: center;
    padding: 18px;
    color: #ffffff;
    background: var(--red-600);
    border: 7px solid var(--navy-900);
    border-radius: 50%;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    transform: translateY(-50%);
}

/* Search */
.search-panel {
    position: relative;
    z-index: 3;
    margin-top: -52px;
}

.search-panel-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(130px, 0.8fr)) auto;
    align-items: end;
    gap: 14px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.search-intro {
    padding-right: 16px;
}

.search-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 0.81rem;
}

.search-intro strong {
    display: block;
    margin-bottom: 4px;
    color: var(--navy-950);
    font-family: var(--serif);
    font-size: 1.32rem;
    font-weight: 600;
}

.search-field label,
.form-field-row label,
.inquiry-form > label {
    display: block;
}

.search-field span,
.inquiry-form label > span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.search-field input,
.search-field select,
.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 11px 13px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    outline: none;
}

.search-field input:focus,
.search-field select:focus,
.inquiry-form input:focus,
.inquiry-form textarea:focus {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(29, 67, 130, 0.11);
}

.search-panel .button {
    min-height: 46px;
    padding-right: 18px;
    padding-left: 18px;
}

/* Content sections */
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 44px;
}

.section-heading .lead {
    max-width: 480px;
    margin: 0;
    font-size: 0.98rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    min-height: 292px;
    padding: 30px;
    overflow: hidden;
    background: var(--cream);
    border-radius: var(--radius-md);
}

.service-card::after {
    position: absolute;
    right: -38px;
    bottom: -70px;
    width: 160px;
    height: 160px;
    content: '';
    border: 1px solid rgba(7, 21, 53, 0.1);
    border-radius: 50%;
}

.service-number {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 45px;
    color: #ffffff;
    background: var(--navy-950);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    max-width: 290px;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.property-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(7, 21, 53, 0.04);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-sm);
}

.property-card-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--navy-800);
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.property-card:hover .property-card-image img {
    transform: scale(1.04);
}

.property-card-status {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 10px;
    color: #ffffff;
    background: var(--red-600);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.property-card-body {
    padding: 22px 22px 24px;
}

.property-card-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
    color: var(--red-600);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.property-card h3 {
    margin-bottom: 7px;
    font-size: 1.52rem;
}

.property-card-location {
    display: flex;
    align-items: start;
    gap: 7px;
    min-height: 46px;
    color: var(--muted);
    font-size: 0.82rem;
}

.property-card-location::before {
    content: '⌖';
    color: var(--red-600);
    font-size: 1.1rem;
    line-height: 1;
}

.property-card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

.property-card-price {
    color: var(--navy-950);
    font-family: var(--serif);
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.1;
}

.property-card-note {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
}

.property-card-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 7px;
    color: var(--muted);
    font-size: 0.69rem;
    text-align: right;
}

.property-card-details span {
    padding: 5px 8px;
    background: var(--cream);
    border-radius: 5px;
}

.property-card-demo {
    height: 100%;
}

.text-link {
    color: var(--navy-950);
    font-weight: 800;
}

.text-link:hover {
    color: var(--red-600);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(42px, 8vw, 125px);
    align-items: center;
}

.about-mark {
    position: relative;
    min-height: 510px;
    padding: 36px;
    overflow: hidden;
    color: #ffffff;
    background: var(--navy-950);
    border-radius: var(--radius-lg);
}

.about-mark::before,
.about-mark::after {
    position: absolute;
    content: '';
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

.about-mark::before {
    top: 12%;
    right: -16%;
    width: 440px;
    height: 440px;
}

.about-mark::after {
    right: 7%;
    bottom: 10%;
    width: 220px;
    height: 220px;
}

.about-mark-content {
    position: absolute;
    right: 40px;
    bottom: 40px;
    left: 40px;
    z-index: 1;
}

.about-mark-content strong {
    display: block;
    color: #ffffff;
    font-family: var(--serif);
    font-size: 4.1rem;
    font-weight: 500;
    line-height: 0.94;
}

.about-mark-content span {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.about-copy h2 {
    max-width: 550px;
}

.about-copy .lead {
    margin-top: 24px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.93rem;
    font-weight: 700;
}

.check-list li::before {
    display: inline-grid;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    place-items: center;
    content: '✓';
    color: #ffffff;
    background: var(--red-600);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    padding-top: 22px;
    border-top: 2px solid var(--red-600);
}

.step-number {
    display: block;
    margin-bottom: 18px;
    color: var(--red-600);
    font-family: var(--serif);
    font-size: 2.5rem;
    line-height: 1;
}

.step-card p {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.cta-banner {
    position: relative;
    overflow: hidden;
    padding: 70px;
    color: #ffffff;
    background: var(--red-600);
    border-radius: var(--radius-lg);
}

.cta-banner::after {
    position: absolute;
    right: -80px;
    bottom: -170px;
    width: 470px;
    height: 470px;
    content: '';
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.cta-banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.cta-banner h2 {
    max-width: 670px;
    color: #ffffff;
}

.cta-banner .button-secondary {
    min-width: 166px;
    border: 0;
}

/* Archive, single, and generic pages */
.page-hero {
    padding: 86px 0 72px;
    color: #ffffff;
    background: var(--navy-950);
}

.page-hero h1 {
    color: #ffffff;
}

.page-hero .lead {
    margin-top: 20px;
}

.archive-toolbar {
    margin: -28px auto 0;
}

.archive-toolbar .search-panel-inner {
    grid-template-columns: repeat(3, 1fr) auto;
}

.archive-toolbar .search-intro {
    grid-column: 1 / -1;
    padding: 0;
}

.archive-toolbar .search-intro strong {
    font-size: 1.7rem;
}

.archive-toolbar .search-intro p {
    max-width: 680px;
}

.archive-results {
    padding-top: 70px;
}

.results-meta {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 0.83rem;
}

.empty-state {
    padding: 56px;
    text-align: center;
    background: var(--cream);
    border-radius: var(--radius-md);
}

.empty-state h2 {
    margin-bottom: 12px;
    font-size: 2.2rem;
}

.empty-state p {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    color: var(--muted);
}

.pagination {
    margin-top: 46px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 0.83rem;
    font-weight: 700;
}

.pagination .current,
.pagination a:hover {
    color: #ffffff;
    background: var(--navy-950);
    border-color: var(--navy-950);
}

.single-property-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 58px;
    align-items: start;
    padding: 74px 0 110px;
}

.property-gallery-main {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--navy-800);
    border-radius: var(--radius-md);
}

.property-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-gallery-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    pointer-events: none;
}

.property-gallery-control {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    color: #ffffff;
    background: rgba(7, 21, 53, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    font-size: 1.1rem;
    pointer-events: auto;
}

.property-gallery-control:hover {
    background: var(--red-600);
}

.property-gallery-counter {
    padding: 7px 11px;
    color: #ffffff;
    background: rgba(7, 21, 53, 0.78);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.property-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
}

.property-gallery-thumb {
    display: block;
    flex: 0 0 82px;
    padding: 2px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 9px;
}

.property-gallery-thumb img {
    display: block;
    width: 82px;
    height: 64px;
    object-fit: cover;
    border-radius: 7px;
    opacity: 0.62;
    transition: opacity 160ms ease;
}

.property-gallery-thumb:hover img,
.property-gallery-thumb.is-active img {
    opacity: 1;
}

.property-gallery-thumb.is-active {
    border-color: var(--red-600);
}

.single-property-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--red-600);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.single-property-title {
    font-size: clamp(2.7rem, 5vw, 5.1rem);
}

.single-property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}

.single-property-location::before {
    content: '⌖';
    color: var(--red-600);
    font-size: 1.3rem;
}

.property-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 32px 0;
}

.property-fact {
    min-height: 92px;
    padding: 15px;
    background: var(--cream);
    border-radius: 10px;
}

.property-fact strong {
    display: block;
    color: var(--navy-950);
    font-family: var(--serif);
    font-size: 1.2rem;
    line-height: 1.2;
}

.property-fact span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-description {
    color: var(--muted);
}

.property-description p:last-child {
    margin-bottom: 0;
}

.inquiry-card {
    position: sticky;
    top: 28px;
    padding: 28px;
    background: var(--cream);
    border-radius: var(--radius-md);
}

.inquiry-card h2 {
    margin-bottom: 9px;
    font-size: 2.2rem;
}

.inquiry-card > p {
    color: var(--muted);
    font-size: 0.87rem;
}

.contact-details {
    display: grid;
    gap: 11px;
    margin: 22px 0 24px;
    padding: 18px 0;
    border-top: 1px solid rgba(7, 21, 53, 0.11);
    border-bottom: 1px solid rgba(7, 21, 53, 0.11);
}

.contact-details a {
    color: var(--navy-950);
    font-size: 0.88rem;
    font-weight: 800;
}

.inquiry-form {
    display: grid;
    gap: 15px;
}

.form-field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.inquiry-form textarea {
    resize: vertical;
}

.form-notice {
    margin-bottom: 16px;
    padding: 13px 15px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
}

.form-notice-success {
    color: #155b38;
    background: #e4f4eb;
}

.form-notice-error {
    color: #8a1b20;
    background: var(--red-100);
}

.related-properties {
    padding: 90px 0;
    background: var(--cream);
}

.content-page {
    max-width: 820px;
    padding: 86px 0 110px;
}

.content-page h1 {
    margin-bottom: 30px;
}

.content-page h2,
.content-page h3,
.content-page h4 {
    margin: 40px 0 15px;
}

.content-page p,
.content-page li {
    color: var(--muted);
}

.content-page ul,
.content-page ol {
    padding-left: 22px;
}

/* About, services, and contact pages */
.sample-note {
    max-width: 720px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.about-copy > .button {
    margin-top: 30px;
}

.values-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    min-height: 260px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--red-600);
    border-radius: var(--radius-md);
}

.value-card-number {
    display: block;
    margin-bottom: 52px;
    color: var(--red-600);
    font-family: var(--serif);
    font-size: 2.5rem;
    line-height: 1;
}

.value-card h3 {
    margin-bottom: 10px;
}

.value-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.team-card {
    padding: 30px;
    background: var(--cream);
    border-radius: var(--radius-md);
}

.team-avatar {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    margin-bottom: 30px;
    color: #ffffff;
    background: var(--navy-950);
    border: 9px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(7, 21, 53, 0.12);
    font-family: var(--serif);
    font-size: 1.45rem;
}

.team-card .eyebrow {
    margin-bottom: 10px;
    font-size: 0.63rem;
}

.team-card h3 {
    margin-bottom: 10px;
}

.team-card p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-detail-card {
    min-height: 280px;
    padding: 30px;
    background: var(--cream);
    border-radius: var(--radius-md);
}

.service-detail-card:nth-child(3n + 2) {
    background: var(--navy-950);
}

.service-detail-card:nth-child(3n + 2) h3 {
    color: #ffffff;
}

.service-detail-card:nth-child(3n + 2) p {
    color: rgba(255, 255, 255, 0.7);
}

.service-detail-icon {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 44px;
    color: #ffffff;
    background: var(--red-600);
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
}

.service-detail-card h3 {
    margin-bottom: 11px;
    font-size: 1.5rem;
}

.service-detail-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.services-process {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 70px;
    align-items: start;
}

.services-process h2 {
    max-width: 440px;
}

.services-process-list {
    display: grid;
    gap: 0;
}

.services-process-list > div {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.services-process-list > div:last-child {
    border-bottom: 1px solid var(--line);
}

.services-process-list span {
    color: var(--red-600);
    font-family: var(--serif);
    font-size: 1.7rem;
}

.services-process-list p {
    display: grid;
    gap: 5px;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.services-process-list strong {
    color: var(--navy-950);
    font-size: 1rem;
}

.cta-banner-dark {
    background: var(--navy-800);
}

.contact-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: clamp(42px, 8vw, 118px);
    align-items: start;
}

.contact-intro h2 {
    max-width: 620px;
}

.contact-intro .lead {
    margin-top: 24px;
}

.contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}

.contact-detail {
    display: grid;
    gap: 7px;
    min-height: 108px;
    padding: 18px;
    background: var(--cream);
    border: 1px solid transparent;
    border-radius: 10px;
}

.contact-detail:hover {
    color: inherit;
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.contact-detail-label {
    color: var(--red-600);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-detail strong {
    color: var(--navy-950);
    font-family: var(--serif);
    font-size: 1.05rem;
    line-height: 1.25;
}

.contact-location-card {
    margin-top: 24px;
    padding: 28px;
    color: #ffffff;
    background: var(--navy-950);
    border-radius: var(--radius-md);
}

.contact-location-card .eyebrow {
    margin-bottom: 15px;
}

.contact-location-card h3 {
    color: #ffffff;
    font-size: 1.65rem;
}

.contact-location-card p:not(.eyebrow) {
    margin: 9px 0 5px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
}

.contact-location-card > span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

/* Footer */
.site-footer {
    color: rgba(255, 255, 255, 0.66);
    background: var(--navy-950);
}

.footer-cta {
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 58px 0;
}

.footer-cta h2 {
    max-width: 600px;
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.75fr;
    gap: 60px;
    padding: 68px 0;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand img {
    width: 220px;
    margin-bottom: 22px;
}

.footer-brand p {
    font-size: 0.87rem;
}

.footer-column h3 {
    margin-bottom: 16px;
    color: #ffffff;
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-menu,
.footer-contact-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
}

.footer-menu a:hover,
.footer-contact-list a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    font-size: 0.72rem;
}

/* Responsive */
@media (max-width: 1050px) {
    .hero-copy {
        max-width: calc(100% - 180px);
    }

    .header-cta {
        display: none;
    }

    .main-navigation ul {
        gap: 18px;
    }

    .search-panel-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .search-intro {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .search-panel .button {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(calc(100% - 36px), var(--container));
    }

    .section {
        padding: 80px 0;
    }

    .nav-inner {
        min-height: 78px;
    }

    .site-brand {
        width: 188px;
    }

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

    .main-navigation {
        position: absolute;
        top: 100%;
        right: 18px;
        left: 18px;
        display: none;
        padding: 12px;
        background: var(--navy-900);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 10px;
        box-shadow: var(--shadow-lg);
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation ul {
        display: grid;
        gap: 0;
    }

    .main-navigation li a {
        display: block;
        padding: 12px 10px;
    }

    .hero-inner,
    .split-section,
    .single-property-layout {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        min-height: auto;
        padding-top: 74px;
        padding-bottom: 120px;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-badge {
        top: auto;
        right: 20px;
        bottom: 34px;
        left: auto;
        transform: none;
    }

    .services-grid,
    .property-grid,
    .steps-grid,
    .values-grid,
    .team-grid,
    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-page-layout,
    .services-process {
        grid-template-columns: 1fr;
    }

    .split-section {
        gap: 42px;
    }

    .about-mark {
        min-height: 390px;
    }

    .single-property-layout {
        padding-top: 54px;
    }

    .inquiry-card {
        position: static;
    }

    .footer-main {
        grid-template-columns: 1.25fr 0.75fr;
    }
}

@media (max-width: 580px) {
    .topbar-inner {
        align-items: start;
        padding: 9px 0;
    }

    .topbar-contact {
        display: grid;
        gap: 2px;
    }

    .topbar-inner > span {
        display: none;
    }

    .hero-inner {
        padding-top: 58px;
        padding-bottom: 160px;
    }

    h1 {
        font-size: clamp(3rem, 15vw, 4.4rem);
    }

    .hero-badge {
        right: 16px;
        bottom: 28px;
        width: 88px;
        height: 88px;
        padding: 12px;
        font-size: 0.59rem;
    }

    .search-panel {
        margin-top: -46px;
    }

    .search-panel-inner,
    .archive-toolbar .search-panel-inner {
        grid-template-columns: 1fr;
    }

    .archive-toolbar .search-intro {
        grid-column: auto;
    }

    .services-grid,
    .property-grid,
    .steps-grid,
    .values-grid,
    .team-grid,
    .services-page-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .contact-detail-grid {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .cta-banner-inner,
    .footer-cta-inner,
    .footer-bottom {
        display: grid;
        align-items: start;
    }

    .section-heading {
        gap: 16px;
    }

    .service-card {
        min-height: 245px;
    }

    .cta-banner {
        padding: 40px 26px;
    }

    .property-facts,
    .form-field-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-fact:last-child {
        grid-column: 1 / -1;
    }

    .empty-state {
        padding: 38px 22px;
    }
}
