:root {
    --bg: #f8f6f1;
    --surface: #ffffff;
    --text: #1f2430;
    --accent: #a46f3a;
    --muted: color-mix(in srgb, var(--text) 64%, white);
    --line: color-mix(in srgb, var(--accent) 14%, white);
    --accent-dark: color-mix(in srgb, var(--accent) 68%, black);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 24%),
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--bg) 88%, white) 0%,
            color-mix(in srgb, var(--bg) 74%, var(--surface)) 52%,
            color-mix(in srgb, var(--bg) 92%, #e9e2d7) 100%
        );
    color: var(--text);
    line-height: 1.6;
}

body.theme-premium {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--text) 12%, transparent) 0%, transparent 26%),
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--bg) 82%, #f3ede4) 0%,
            color-mix(in srgb, var(--bg) 64%, var(--surface)) 50%,
            color-mix(in srgb, var(--bg) 86%, #e6dccf) 100%
        );
}

body.theme-premium .site-header,
body.theme-premium .site-footer {
    background: color-mix(in srgb, var(--surface) 92%, transparent);
}

body.theme-premium .site-header-trust {
    box-shadow: 0 14px 34px rgba(27, 22, 16, 0.08);
}

body.theme-premium .brand-name {
    letter-spacing: 0.08em;
}

body.theme-premium .brand-logo-mark {
    border-color: color-mix(in srgb, var(--text) 10%, white);
    box-shadow: 0 14px 28px rgba(27, 22, 16, 0.12);
}

body.theme-premium .card,
body.theme-premium .contact-band,
body.theme-premium .search-card-sticky {
    box-shadow: 0 18px 38px rgba(27, 22, 16, 0.07);
}

body.theme-premium .button {
    box-shadow: 0 10px 20px rgba(27, 22, 16, 0.12);
}

body.theme-premium .button.button-secondary,
body.theme-premium .button-ghost,
body.theme-premium .button-outline {
    box-shadow: none;
}

body.theme-premium .eyebrow,
body.theme-premium .brand-kicker {
    letter-spacing: 0.16em;
}

body.theme-premium h1,
body.theme-premium h2,
body.theme-premium h3 {
    letter-spacing: -0.02em;
}

body.theme-premium .hero-home-striking {
    padding-top: 4.3rem;
    padding-bottom: 3.3rem;
}

body.theme-premium .home-stage {
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 28%),
        linear-gradient(135deg, #1f2430 0%, #2a3140 46%, #5f452d 100%);
    box-shadow: 0 30px 60px rgba(27, 22, 16, 0.18);
}

body.theme-premium .home-stage-copy,
body.theme-premium .home-stage-feature {
    min-width: 0;
}

body.theme-premium .home-stage-copy h1 {
    max-width: 14ch;
    font-size: clamp(1.2rem, 1.6vw, 1.85rem);
    line-height: 1.06;
    color: #fff8ee;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

body.theme-premium .home-stage-copy .lead {
    max-width: 31rem;
    font-size: 0.94rem;
    color: rgba(255, 247, 236, 0.82);
}

body.theme-premium .home-stage-feature {
    align-items: end;
}

body.theme-premium .home-stage-feature-image,
body.theme-premium .home-stage-feature-image img {
    aspect-ratio: 4 / 3;
}

body.theme-premium .home-stage-feature-card {
    width: min(74%, 21rem);
    margin: -2.4rem 1.1rem 0 auto;
    padding: 1.1rem 1.1rem 1rem;
    border-radius: 26px;
    box-shadow: 0 24px 48px rgba(27, 22, 16, 0.13);
}

body.theme-premium .stage-price {
    font-size: 1rem;
}

body.theme-premium .home-stage-feature-card h2 {
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.theme-premium .home-stage-copy .eyebrow {
    color: rgba(237, 205, 166, 0.96);
}

body.theme-premium .home-stage-copy .hero-actions .button {
    background: #c08a49;
    color: #fff9f1;
    border-color: #c08a49;
}

body.theme-premium .home-stage-copy .hero-actions .button.button-secondary {
    background: transparent;
    color: #fff8ee;
    border-color: rgba(255, 247, 236, 0.5);
}

body.theme-premium .home-stage-copy .hero-actions .button.button-secondary:hover {
    background: rgba(255, 247, 236, 0.12);
}

body.theme-premium .home-showcase-main,
body.theme-premium .home-showcase-side-card {
    overflow: hidden;
}

body.theme-premium .home-trust-strip {
    padding: 1.45rem 1.6rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 30%),
        linear-gradient(135deg, #252c3a 0%, #313848 50%, #5b4431 100%);
    box-shadow: 0 22px 44px rgba(27, 22, 16, 0.14);
}

body.theme-premium .home-trust-item {
    color: rgba(255, 247, 236, 0.9);
}

body.theme-premium .home-trust-item .eyebrow {
    color: rgba(237, 205, 166, 0.96);
}

body.theme-premium .section-accent .wrap {
    padding: 2rem;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 32%),
        linear-gradient(135deg, #252c3a 0%, #313848 50%, #5b4431 100%);
    box-shadow: 0 24px 48px rgba(27, 22, 16, 0.15);
}

body.theme-premium .section-accent .page-head h2,
body.theme-premium .section-accent .page-head .muted,
body.theme-premium .section-accent .page-head .eyebrow {
    color: #fff8ee;
}

body.theme-premium .section-accent .page-head .muted,
body.theme-premium .home-trust-item p {
    color: rgba(255, 247, 236, 0.88);
}

body.theme-premium .section-accent .page-head .button.button-secondary {
    background: transparent;
    color: #fff8ee;
    border-color: rgba(255, 247, 236, 0.5);
}

body.theme-premium .section-accent .home-showcase-main,
body.theme-premium .section-accent .home-showcase-side-card {
    background:
        linear-gradient(180deg, rgba(37, 44, 58, 0.98), rgba(48, 56, 72, 0.98));
    border: 1px solid rgba(255, 247, 236, 0.12);
    box-shadow: 0 18px 42px rgba(20, 17, 13, 0.18);
}

body.theme-premium .section-accent .home-showcase-body h3,
body.theme-premium .section-accent .home-showcase-side-body h3,
body.theme-premium .section-accent .property-card-rich h2,
body.theme-premium .section-accent .property-price,
body.theme-premium .section-accent .property-price-strong,
body.theme-premium .section-accent .property-card-topline,
body.theme-premium .section-accent .property-location,
body.theme-premium .section-accent .property-summary,
body.theme-premium .section-accent .property-meta,
body.theme-premium .section-accent .feature-copy,
body.theme-premium .section-accent .home-showcase-body,
body.theme-premium .section-accent .home-showcase-side-body,
body.theme-premium .section-accent .home-showcase-body a,
body.theme-premium .section-accent .home-showcase-side-body a {
    color: #fff8ee;
}

body.theme-premium .section-accent .property-summary,
body.theme-premium .section-accent .property-meta,
body.theme-premium .section-accent .muted,
body.theme-premium .section-accent .feature-copy {
    color: rgba(255, 247, 236, 0.8);
}

body.theme-premium .section-accent .badge {
    background: rgba(255, 247, 236, 0.1);
    border-color: rgba(255, 247, 236, 0.18);
    color: #fff1df;
}

body.theme-premium .section-accent .property-facts span,
body.theme-premium .section-accent .stage-facts span {
    background: rgba(255, 247, 236, 0.08);
    border-color: rgba(255, 247, 236, 0.18);
    color: #fff1df;
}

body.theme-premium .section-accent .button-ghost,
body.theme-premium .section-accent .button.button-secondary {
    background: transparent;
    color: #fff8ee;
    border-color: rgba(255, 247, 236, 0.34);
}

body.theme-premium .section-accent .button-ghost:hover,
body.theme-premium .section-accent .button.button-secondary:hover {
    background: rgba(255, 247, 236, 0.08);
}

body.theme-premium .section-contact .wrap {
    padding: 1.8rem 2rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 32%),
        linear-gradient(135deg, #252c3a 0%, #313848 50%, #5b4431 100%);
    box-shadow: 0 24px 48px rgba(27, 22, 16, 0.15);
}

body.theme-premium .section-contact .contact-band {
    background: transparent;
    box-shadow: none;
}

body.theme-premium .section-contact .contact-band h2,
body.theme-premium .section-contact .contact-band .lead,
body.theme-premium .section-contact .contact-band .eyebrow {
    color: #fff8ee;
}

body.theme-premium .section-contact .contact-band .lead {
    color: rgba(255, 247, 236, 0.82);
}

body.theme-premium .section-contact .contact-band .button.button-secondary {
    color: #fff8ee;
    border-color: rgba(255, 247, 236, 0.5);
}

body.theme-premium .section-contact .contact-band .button.button-secondary:hover {
    background: rgba(255, 247, 236, 0.12);
}

body.theme-premium .home-showcase-image img,
body.theme-premium .home-showcase-side-image img {
    aspect-ratio: 16 / 10;
}

body.theme-premium .property-stage {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 2.6rem;
    align-items: end;
}

body.theme-premium .property-stage-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 0.94;
}

body.theme-premium .property-stage-lead {
    max-width: 42rem;
    font-size: 1.14rem;
}

body.theme-premium .property-stage-summary {
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(27, 22, 16, 0.14);
}

body.theme-premium .property-stage {
    padding: 2rem 2rem 1.7rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.07), transparent 30%),
        linear-gradient(135deg, #1f2430 0%, #2d3445 44%, #65523a 100%);
    box-shadow: 0 28px 56px rgba(27, 22, 16, 0.16);
}

body.theme-premium .property-stage-copy h1,
body.theme-premium .property-stage-copy .property-meta,
body.theme-premium .property-stage-copy .property-stage-lead,
body.theme-premium .property-stage-copy .property-stage-note {
    color: #fff8ee;
}

body.theme-premium .property-stage-copy .eyebrow {
    color: rgba(237, 205, 166, 0.96);
}

body.theme-premium .property-stage-meta .badge {
    background: rgba(255, 247, 236, 0.12);
    border-color: rgba(255, 247, 236, 0.28);
    color: #fff8ee;
}

body.theme-premium .property-price.large {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

body.theme-premium .property-hero-gallery {
    padding: 0;
    overflow: hidden;
}

body.theme-premium .property-hero-view img {
    aspect-ratio: 16 / 10;
}

body.theme-premium .property-hero-thumbs {
    padding: 1.1rem 1.1rem 1.2rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,244,238,0.96));
}

body.theme-premium .property-sidebar .card,
body.theme-premium .property-main .card {
    border-radius: 24px;
}

body.theme-premium .expose-document-inner {
    background: linear-gradient(180deg, rgba(255,252,247,0.94), rgba(255,255,255,0.98));
    border-radius: 30px;
    box-shadow: 0 24px 54px rgba(27, 22, 16, 0.12);
}

body.theme-premium .expose-header {
    align-items: end;
}

body.theme-premium .expose-price-box {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(27, 22, 16, 0.10);
}

body.theme-premium .expose-hero img {
    aspect-ratio: 16 / 10;
}

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

.wrap {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.admin-utility-bar {
    background: #1f2430;
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-utility-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
}

.admin-utility-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-utility-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.admin-utility-links a {
    color: rgba(255, 255, 255, 0.88);
}

.admin-utility-links .button-secondary {
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    background: transparent;
}

.admin-utility-links .button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.narrow {
    max-width: 720px;
}

.site-header,
.site-footer {
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(8px);
}

.site-header-trust {
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(44, 35, 25, 0.04);
}

.site-header .wrap,
.site-footer .wrap,
.hero .wrap,
.section .wrap {
    padding: 1.25rem 0;
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text);
}

.brand-copy {
    display: inline-grid;
    gap: 0.1rem;
}

.brand-logo-mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 10px 22px rgba(44, 35, 25, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-kicker {
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brand-name {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

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

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav a {
    color: var(--muted);
    position: relative;
    padding-bottom: 0.18rem;
}

.nav a:hover {
    color: var(--accent-dark);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.1rem;
    height: 1px;
    background: rgba(164, 111, 58, 0.4);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 160ms ease;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.flash {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.flash-success {
    border-color: #8fa87a;
}

.flash-error {
    border-color: #b06d5f;
}

.hero {
    padding: 4rem 0 2rem;
}

.hero-home {
    padding: 4.5rem 0 3rem;
}

.hero-home-striking {
    padding: 4.8rem 0 3.4rem;
}

.hero-listing {
    padding: 4rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
    gap: 2.25rem;
    align-items: stretch;
}

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

.home-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
    gap: 3.25rem;
    align-items: center;
}

.home-stage-copy {
    min-width: 0;
    max-width: 38rem;
    position: relative;
    z-index: 1;
}

.home-stage-copy h1 {
    max-width: 12.5ch;
    font-size: clamp(1.85rem, 2.65vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.home-stage-copy .lead {
    max-width: 48ch;
    font-size: 1.05rem;
}

.home-stage-feature {
    min-width: 0;
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: 34px;
    overflow: hidden;
    background: #ddd;
    box-shadow: 0 26px 60px rgba(52, 37, 18, 0.16);
}

.home-stage-feature-image,
.home-stage-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-stage-feature-image img {
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.home-stage-feature-card {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    width: min(62%, 320px);
    padding: 0.95rem 1rem;
    border-radius: 24px;
    background: rgba(255, 252, 247, 0.94);
    border: 1px solid rgba(232, 225, 214, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 36px rgba(44, 35, 25, 0.1);
}

.home-stage-feature-card h2 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.2rem, 1.8vw, 1.7rem);
}

.stage-price {
    margin: 0.35rem 0 0.65rem;
    color: var(--accent-dark);
    font-size: 1rem;
    font-weight: 700;
}

.stage-facts {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.stage-facts span {
    padding: 0.38rem 0.62rem;
    border-radius: 999px;
    background: #f6ede0;
    border: 1px solid #ead8bf;
    color: var(--accent-dark);
    font-size: 0.8rem;
}

.hero-actions,
.contact-band-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.hero-tags span {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    color: var(--accent-dark);
    font-size: 0.92rem;
}

.hero-showcase {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.listing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
    gap: 1.8rem;
    align-items: stretch;
}

.listing-hero-copy {
    padding: 0.75rem 0;
}

.listing-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2rem, 3.15vw, 3rem);
}

.listing-hero-panel {
    display: grid;
    gap: 1rem;
}

.listing-hero-stat {
    background: rgba(255, 253, 249, 0.84);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 18px 40px rgba(70, 46, 22, 0.08);
}

.listing-hero-stat span {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
}

.listing-hero-stat strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.4;
}

.showcase-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 1.45rem 1.5rem;
    box-shadow: 0 16px 36px rgba(44, 35, 25, 0.06);
}

.showcase-card-main {
    background:
        radial-gradient(circle at top right, rgba(164, 111, 58, 0.1), transparent 42%),
        rgba(255, 255, 255, 0.98);
    padding: 1.9rem;
}

.showcase-card-main h2 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    margin-bottom: 0.7rem;
}

.showcase-kicker {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
}

.showcase-card strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.45;
}

.showcase-inline-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}

.showcase-inline-facts span {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

.eyebrow {
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
}

h1,
h2 {
    line-height: 1.15;
    margin: 0 0 1rem;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    max-width: 10ch;
}

.lead {
    max-width: 56ch;
    color: var(--muted);
    font-size: 1.1rem;
}

.section {
    padding: 1rem 0 3rem;
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.statement-band {
    max-width: 68ch;
    margin: 0 auto;
    padding: 1.4rem 1.6rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
    font-size: 1.12rem;
}

.section-accent {
    background: linear-gradient(180deg, rgba(164, 111, 58, 0.02), rgba(164, 111, 58, 0));
}

.section-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: start;
}

.service-list {
    display: grid;
    gap: 1rem;
}

.service-card {
    padding: 0 0 1rem;
    border-bottom: 1px solid var(--line);
}

.service-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.home-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    padding: 1.2rem 0 0.2rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.home-trust-item {
    padding: 0.2rem 0.25rem 0.45rem 0;
}

.home-trust-item .eyebrow {
    margin-bottom: 0.55rem;
}

.home-trust-item p {
    margin-top: 0;
}

.home-trust-item p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 14px 34px rgba(44, 35, 25, 0.05);
}

.property-grid,
.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

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

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

.listing-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.listing-sidebar {
    position: relative;
}

.admin-list {
    display: grid;
    gap: 1.25rem;
}

.admin-property-list {
    display: grid;
    gap: 1.1rem;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.dashboard-metric {
    display: grid;
    gap: 0.55rem;
    padding: 1.35rem;
    box-shadow: 0 16px 36px rgba(44, 35, 25, 0.05);
}

.dashboard-metric span {
    color: var(--muted);
    font-size: 0.92rem;
}

.dashboard-metric strong {
    font-size: 2rem;
    line-height: 1;
}

.dashboard-metric p {
    margin: 0;
    color: var(--muted);
}

.dashboard-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-panel {
    display: grid;
    gap: 1rem;
    padding: 1.35rem;
}

.dashboard-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-panel-head h2 {
    margin-bottom: 0.2rem;
}

.dashboard-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.dashboard-status-grid div {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 252, 247, 0.85);
    border: 1px solid var(--line);
}

.dashboard-status-grid span,
.dashboard-list-meta span {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
}

.dashboard-status-grid strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.3rem;
}

.dashboard-action-list {
    display: grid;
    gap: 0.75rem;
}

.dashboard-quick-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dashboard-list {
    display: grid;
    gap: 0.85rem;
}

.dashboard-list-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 252, 247, 0.65);
}

.dashboard-list-thumb {
    width: 92px;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 252, 247, 0.85);
}

.dashboard-list-thumb img,
.dashboard-list-thumb-placeholder {
    width: 100%;
    height: 100%;
}

.dashboard-list-thumb img {
    display: block;
    object-fit: cover;
}

.dashboard-list-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem;
    color: var(--muted);
    font-size: 0.76rem;
    text-align: center;
}

.dashboard-list-copy h3,
.dashboard-list-copy p {
    margin: 0;
}

.dashboard-list-copy h3 {
    margin-bottom: 0.25rem;
}

.dashboard-list-meta {
    display: grid;
    gap: 0.45rem;
    justify-items: end;
    text-align: right;
}

.property-card h2,
.page-head h1 {
    margin-bottom: 0.5rem;
}

.listing-intro {
    margin-bottom: 1.5rem;
    color: var(--muted);
    max-width: 62ch;
}

.search-card {
    padding: 1.75rem;
    border-radius: 26px;
    box-shadow: 0 18px 42px rgba(44, 35, 25, 0.06);
}

.search-card h2 {
    max-width: none;
}

.search-head {
    margin-bottom: 1.25rem;
}

.search-head h2 {
    margin-bottom: 0.35rem;
}

.search-subline {
    margin: 0;
    color: var(--muted);
    max-width: 56ch;
}

.search-grid {
    align-items: end;
}

.search-grid .field {
    margin-bottom: 0;
}

.search-grid input,
.search-grid select {
    background: #fffdfa;
}

.search-card-sticky {
    position: sticky;
    top: 1.5rem;
}

.favorites-intro {
    margin-bottom: 1.35rem;
}

.settings-form-card {
    display: grid;
    gap: 1.25rem;
}

.settings-grid {
    align-items: start;
}

.settings-panel {
    display: grid;
    gap: 1.1rem;
    padding: 1.6rem;
}

.settings-panel h2 {
    margin-bottom: 0.2rem;
}

.settings-help-list {
    display: grid;
    gap: 0.9rem;
    padding-top: 0.25rem;
}

.settings-help-list div {
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

.settings-help-list div:first-child {
    padding-top: 0;
    border-top: 0;
}

.settings-help-list p {
    margin: 0.3rem 0 0;
    color: var(--muted);
}

.settings-logo-preview {
    margin-top: 0.9rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fffdfa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
}

.settings-logo-preview img {
    max-width: 180px;
    max-height: 64px;
    display: block;
    object-fit: contain;
}

.color-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 0.7rem;
    align-items: center;
}

.color-picker-input {
    width: 56px;
    height: 52px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fffdfa;
    cursor: pointer;
}

.color-picker-input::-webkit-color-swatch-wrapper {
    padding: 4px;
}

.color-picker-input::-webkit-color-swatch {
    border: 0;
    border-radius: 10px;
}

.color-picker-input::-moz-color-swatch {
    border: 0;
    border-radius: 10px;
}

.settings-toolbar {
    margin-bottom: 0;
}

.search-result-note {
    color: var(--muted);
}

.search-result-note strong {
    color: var(--text);
}

.search-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.search-actions-stacked {
    margin-top: 1.25rem;
    flex-direction: column;
}

.search-actions-stacked .button,
.search-actions-stacked button {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.search-feedback {
    margin-top: -0.2rem;
}

.listing-results-head {
    margin-bottom: 1.25rem;
}

.view-toggle {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.view-toggle .button {
    min-width: 6.1rem;
    justify-content: center;
}

.listing-grid-rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.map-view-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.65fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.map-card {
    padding: 0;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 20px 42px rgba(44, 35, 25, 0.08);
}

.property-map {
    min-height: 560px;
    width: 100%;
}

.map-sidebar {
    display: grid;
    gap: 1rem;
}

.map-sidebar-card h3 {
    margin-bottom: 0.55rem;
}

.map-sidebar-card p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.map-sidebar-card {
    background:
        radial-gradient(circle at top right, rgba(164, 111, 58, 0.08), transparent 44%),
        rgba(255, 255, 255, 0.98);
}

.map-teaser-list {
    display: grid;
    gap: 0.85rem;
}

.map-teaser-item {
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1.05rem;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.map-teaser-item:hover {
    transform: translateY(-2px);
    border-color: rgba(164, 111, 58, 0.34);
    box-shadow: 0 14px 30px rgba(44, 35, 25, 0.08);
}

.map-teaser-item strong {
    font-size: 1rem;
    line-height: 1.3;
}

.map-teaser-item span {
    color: var(--muted);
    font-size: 0.95rem;
}

.listing-map-result-head {
    margin: 0 0 1rem;
}

.listing-map-result-head h3 {
    margin: 0;
}

.map-popup {
    display: grid;
    gap: 0.4rem;
    min-width: 190px;
    max-width: 220px;
}

.map-popup img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.map-popup strong {
    font-size: 1rem;
}

.map-popup span {
    color: var(--muted);
    line-height: 1.4;
}

.map-popup a {
    color: var(--accent-dark);
    font-weight: 700;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    box-shadow: 0 14px 34px rgba(44, 35, 25, 0.14);
}

.property-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.home-feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
    gap: 1.35rem;
}

.home-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.78fr);
    gap: 1.6rem;
}

.home-showcase-main {
    padding: 0;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(44, 35, 25, 0.06);
}

.home-showcase-image,
.home-showcase-image img,
.home-showcase-side-image,
.home-showcase-side-image img {
    display: block;
    width: 100%;
}

.home-showcase-image img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.home-showcase-body {
    padding: 1.55rem;
}

.home-showcase-side {
    display: grid;
    gap: 1rem;
}

.home-showcase-side-card {
    padding: 0;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(44, 35, 25, 0.05);
}

.home-showcase-side-image img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home-showcase-side-body {
    padding: 1.15rem 1.2rem 1.25rem;
}

.home-showcase-body h3,
.home-showcase-side-body h3 {
    margin-bottom: 0.4rem;
}

.feature-property {
    padding: 0;
    overflow: hidden;
}

.feature-property-image {
    display: block;
}

.feature-property-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.feature-property-body {
    padding: 1.5rem;
}

.feature-copy {
    max-width: 54ch;
}

.home-feature-side {
    display: grid;
    gap: 1rem;
}

.compact-property h3 {
    margin-bottom: 0.55rem;
}

.property-card-image {
    display: block;
    margin: -1.5rem -1.5rem 1rem;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.property-card-rich {
    padding: 0;
    overflow: hidden;
}

.property-card-rich .property-card-image {
    margin: 0;
    border-radius: 0;
}

.property-card-rich .property-card-image img {
    aspect-ratio: 4 / 2.7;
}

.property-card-body {
    padding: 1.35rem 1.35rem 1.45rem;
}

.property-card-rich h2 {
    font-size: 1.5rem;
}

.property-card-image img,
.property-hero img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.property-card-image img {
    aspect-ratio: 4 / 3;
}

.property-meta,
.help,
.muted {
    color: var(--muted);
}

.property-price {
    color: var(--accent-dark);
    font-weight: 700;
}

.property-price-strong {
    margin: 0.25rem 0 0.85rem;
    font-size: 1.15rem;
}

.property-location {
    margin-bottom: 0.25rem;
}

.property-facts {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.95rem;
}

.property-facts span {
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: #f7f1e7;
    border: 1px solid #eadcc7;
    color: var(--accent-dark);
    font-size: 0.88rem;
}

.property-summary {
    margin: 0 0 1rem;
}

.property-card-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.property-card-actions-split {
    justify-content: space-between;
}

.button-ghost {
    background: transparent;
    color: var(--accent-dark);
    border-color: var(--line);
}

.button-ghost:hover {
    background: rgba(164, 111, 58, 0.05);
}

.button-full {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.page-head,
.toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.property-head {
    align-items: flex-end;
}

.property-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
    gap: 1.5rem;
    align-items: start;
}

.property-stage-copy {
    display: grid;
    gap: 0.9rem;
}

.property-stage-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.property-stage-lead {
    margin: 0;
    max-width: 40ch;
}

.property-stage-note {
    margin: -0.1rem 0 0;
    color: var(--muted);
    max-width: 46ch;
}

.property-stage-summary {
    position: sticky;
    top: 1.25rem;
}

.property-price-box {
    min-width: 220px;
    text-align: right;
}

.property-price-label {
    margin: 0 0 0.25rem;
    color: var(--muted);
}

.property-price.large {
    font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.property-hero-gallery {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 26px;
    display: grid;
    gap: 1rem;
    box-shadow: 0 20px 45px rgba(70, 46, 22, 0.12);
}

.property-hero-view {
    border-radius: 20px;
    overflow: hidden;
    background: #f0ebe2;
}

.property-hero-view img {
    display: block;
    width: 100%;
    max-height: 620px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.property-hero-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.75rem;
}

.property-thumb {
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.property-thumb:hover {
    transform: translateY(-2px);
    border-color: rgba(164, 111, 58, 0.45);
    box-shadow: 0 12px 24px rgba(44, 35, 25, 0.08);
}

.property-thumb.is-active {
    border-color: rgba(164, 111, 58, 0.8);
    box-shadow: 0 0 0 2px rgba(164, 111, 58, 0.12);
}

.property-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.property-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 0 0 1.5rem;
}

.highlight-tile {
    background: rgba(255, 253, 249, 0.84);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem 1.1rem;
}

.highlight-tile span {
    display: block;
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
}

.highlight-tile strong {
    display: block;
    font-size: 1rem;
}

.property-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
    gap: 1.4rem;
    align-items: start;
}

.property-main,
.property-sidebar {
    display: grid;
    gap: 1.25rem;
}

.property-main {
    align-content: start;
}

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

.feature-chip-list span {
    padding: 0.62rem 0.9rem;
    border-radius: 999px;
    background: #f8f2e9;
    border: 1px solid #eadcc7;
    color: var(--accent-dark);
    font-size: 0.92rem;
}

.property-address {
    margin-top: 0;
    margin-bottom: 1rem;
}

.property-location-map {
    width: 100%;
    min-height: 320px;
    margin-top: 1.25rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 1.5rem;
    align-items: start;
}

.contact-page-main,
.contact-page-side {
    display: grid;
    gap: 1rem;
}

.contact-page-card {
    border-radius: 26px;
}

.contact-page-card-strong {
    background:
        radial-gradient(circle at top right, rgba(164, 111, 58, 0.12), transparent 42%),
        rgba(255, 255, 255, 0.98);
}

.contact-topic-list {
    display: grid;
    gap: 1rem;
}

.contact-topic-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.contact-topic-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-topic-item h3 {
    margin: 0 0 0.45rem;
}

.contact-page-mail {
    margin: 1rem 0 1.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.contact-topic-item p,
.contact-page-card p:last-child,
.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-page {
    display: grid;
    gap: 1rem;
}

.legal-card h2 {
    margin-bottom: 0.65rem;
}

.facts-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.summary-points {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.summary-points div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

.summary-points span {
    color: var(--muted);
}

.summary-points strong {
    text-align: right;
}

.facts-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}

.facts-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.facts-list dt {
    color: var(--muted);
}

.facts-list dd {
    margin: 0;
    text-align: right;
    font-weight: 700;
}

.sidebar-contact-note {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    padding: 0.7rem 1.1rem;
    cursor: pointer;
    font: inherit;
}

.button-secondary {
    background: transparent;
    color: var(--accent-dark);
    border-color: rgba(164, 111, 58, 0.52);
}

.button-secondary:hover {
    background: rgba(164, 111, 58, 0.06);
}

.button-danger {
    background: #fff4f1;
    color: #8a3a2f;
    border-color: #c98074;
}

.button-danger:hover {
    background: #fde7e1;
}

.button-small {
    padding: 0.5rem 0.85rem;
    font-size: 0.92rem;
}

.button-disabled,
.button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--accent-dark);
    background: #f8f2e9;
    font-size: 0.88rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.field,
.field-full {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.field-full {
    grid-column: 1 / -1;
}

.checkbox-row {
    margin-top: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 400;
}

.checkbox-label input {
    width: auto;
    margin-top: 0.2rem;
}

label {
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.78rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.auth-shell {
    min-height: 70vh;
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(520px, calc(100% - 2rem));
}

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

.gallery-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.gallery-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-grid-single .gallery-item img {
    aspect-ratio: 16 / 9;
}

.gallery-item-body {
    padding: 0.8rem 0.9rem;
    display: grid;
    gap: 0.55rem;
}

.image-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.danger-zone {
    margin-top: 1rem;
    border: 1px solid #e3b3a8;
    background: linear-gradient(180deg, rgba(255, 246, 243, 0.98), rgba(255, 251, 249, 0.98));
}

.danger-zone h2 {
    margin-bottom: 0.35rem;
}

.sidebar-actions,
.sidebar-primary-actions,
.sidebar-secondary-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.sidebar-primary-actions {
    margin-top: 1.1rem;
}

.sidebar-secondary-actions {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

.sidebar-secondary-actions .button {
    justify-content: center;
    text-align: center;
}

.similar-property-list {
    display: grid;
    gap: 1rem;
}

.similar-property-list-strong {
    gap: 1.25rem;
}

.similar-property-item {
    display: grid;
    gap: 0.65rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.similar-property-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.similar-property-image {
    display: block;
    overflow: hidden;
    border-radius: 16px;
}

.similar-property-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.similar-property-list-strong .similar-property-image img {
    aspect-ratio: 16 / 10;
}

.similar-property-item h3 {
    margin: 0 0 0.35rem;
}

.similar-property-item .property-price {
    margin: 0;
}

.inquiry-card {
    display: grid;
    gap: 1rem;
    box-shadow: 0 16px 36px rgba(44, 35, 25, 0.05);
}

.inquiry-note-form {
    display: grid;
    gap: 0.6rem;
}

.inquiry-note-form textarea {
    min-height: 120px;
}

.inquiry-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.inquiry-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.inquiry-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.inquiry-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
}

.admin-property-card {
    display: grid;
    gap: 1rem;
    box-shadow: 0 16px 36px rgba(44, 35, 25, 0.05);
}

.admin-property-top {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.admin-property-thumb {
    width: 132px;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 252, 247, 0.85);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.admin-property-thumb img,
.admin-property-thumb-placeholder {
    width: 100%;
    height: 100%;
}

.admin-property-thumb img {
    display: block;
    object-fit: cover;
}

.admin-property-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}

.admin-property-content {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.admin-property-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.admin-property-head h2 {
    margin-bottom: 0.25rem;
}

.admin-property-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.admin-property-meta div {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 252, 247, 0.85);
    border: 1px solid var(--line);
}

.admin-property-meta span {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
    margin-bottom: 0.35rem;
}

.admin-property-meta strong {
    display: block;
}

.admin-property-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.inquiry-meta p,
.inquiry-message p {
    margin: 0;
}

.error-box {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #b06d5f;
    border-radius: 14px;
    background: #fff6f4;
}

.error-box ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    margin-top: 3rem;
}

.site-footer a:hover {
    color: var(--accent-dark);
}

.site-footer .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.back-to-top {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(164, 111, 58, 0.3);
    border-radius: 999px;
    background: rgba(164, 111, 58, 0.94);
    color: #ffffff;
    box-shadow: 0 18px 30px rgba(51, 34, 15, 0.2);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top span {
    font-size: 1.15rem;
    line-height: 1;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-dark);
    box-shadow: 0 22px 34px rgba(51, 34, 15, 0.24);
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(164, 111, 58, 0.22);
    outline-offset: 3px;
}

.section-contact {
    padding-top: 0.5rem;
}

.contact-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: end;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 18px 38px rgba(40, 32, 23, 0.08);
}

.contact-band-luxury {
    padding: 2rem 2.2rem;
    border-radius: 30px;
    box-shadow: 0 24px 50px rgba(40, 32, 23, 0.08);
}

.contact-band-copy {
    max-width: 760px;
}

.contact-band .eyebrow,
.contact-band .lead {
    color: var(--muted);
}

.contact-band h2 {
    max-width: none;
    margin-bottom: 0.75rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.contact-band-actions {
    justify-content: flex-start;
    align-items: center;
    margin-top: 0;
    flex-wrap: wrap;
}

.contact-band .lead {
    max-width: 46ch;
    margin: 0;
}

.contact-band .button-secondary {
    color: var(--accent-dark);
    border-color: var(--line);
    background: transparent;
}

.contact-band .button-secondary:hover,
.contact-band .button:hover {
    opacity: 0.92;
}

.expose-page {
    background: #f5f1e8;
}

.expose-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

.expose-toolbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.expose-document {
    padding: 2rem 0 3rem;
}

.expose-document-inner {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: 0 24px 56px rgba(44, 35, 25, 0.08);
    padding: 2rem;
}

.expose-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: end;
}

.expose-price-box {
    min-width: 220px;
    text-align: right;
}

.expose-hero {
    margin: 1.75rem 0;
    overflow: hidden;
    border-radius: 24px;
}

.expose-hero img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.expose-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
    gap: 1.25rem;
    align-items: start;
}

.expose-main,
.expose-side {
    display: grid;
    gap: 1.25rem;
}

.expose-card {
    box-shadow: none;
}

@media print {
    .admin-utility-bar,
    .site-header,
    .site-footer,
    .expose-toolbar {
        display: none !important;
    }

    .expose-page {
        background: #ffffff;
    }

    .expose-document {
        padding: 0;
    }

    .expose-document-inner {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .expose-card,
    .gallery-item,
    .highlight-tile,
    .similar-property-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

@media (max-width: 760px) {
    .admin-utility-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header .wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand {
        gap: 0.7rem;
    }

    .brand-logo-mark {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .grid-two {
        grid-template-columns: 1fr;
    }

    .expose-header,
    .expose-grid,
    .expose-toolbar-inner {
        grid-template-columns: 1fr;
    }

    .expose-price-box {
        text-align: left;
    }

    .property-grid,
    .admin-grid,
    .form-grid,
    .gallery-grid,
    .home-trust-strip {
        grid-template-columns: 1fr;
    }

    .admin-property-top,
    .admin-property-meta {
        grid-template-columns: 1fr;
    }

    .admin-property-thumb {
        width: 100%;
        max-width: 220px;
    }

    .home-property-grid,
    .listing-grid,
    .listing-grid-rich,
    .hero-grid,
    .listing-layout,
    .map-view-layout,
    .listing-hero,
    .section-split,
    .contact-page-grid,
    .property-highlights,
    .property-stage,
    .home-feature-layout,
    .home-showcase-grid,
    .home-stage,
    .contact-band {
        grid-template-columns: 1fr;
    }

    .page-head,
    .toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-property-meta,
    .inquiry-meta-grid,
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-metrics,
    .dashboard-panels,
    .dashboard-status-grid {
        grid-template-columns: 1fr;
    }

    .admin-property-head {
        flex-direction: column;
    }

    .dashboard-list-item,
    .dashboard-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-list-item {
        grid-template-columns: 1fr;
    }

    .dashboard-list-thumb {
        width: 100%;
        max-width: 180px;
    }

    .dashboard-list-meta {
        justify-items: start;
        text-align: left;
    }

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

    .property-price-box {
        text-align: left;
    }

    .property-stage-summary {
        position: static;
    }

    .property-location-map {
        min-height: 260px;
    }

    .property-hero-gallery {
        padding: 0.75rem;
    }

    .property-hero-view img {
        max-height: none;
    }

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

    .contact-band {
        gap: 1.25rem;
        padding: 1.75rem 1.4rem;
    }

    .search-card-sticky {
        position: static;
    }

    .hero {
        padding-top: 2.5rem;
    }

    .showcase-inline-facts {
        grid-template-columns: 1fr;
    }

    .home-stage-feature {
        min-height: 380px;
    }

    .home-stage-feature-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .property-map {
        min-height: 420px;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
    }
}
