:root {
    /* Core palette: deep navy + cool neutrals + restrained teal secondary */
    --aclado-bg: #eef0f3;
    --aclado-bg-elevated: #f7f8fa;
    --aclado-surface: #ffffff;
    --aclado-surface-soft: #f4f5f7;
    --aclado-ink: #0c1222;
    --aclado-muted: #5c6470;
    --aclado-border: rgba(12, 18, 34, 0.08);
    --aclado-primary: #0c2740;
    --aclado-accent: #2f6f64;
    --aclado-accent-deep: #245a51;
    --aclado-accent-rgb: 47, 111, 100;
    --aclado-highlight: #3d7eed;
    --aclado-shadow: 0 28px 80px rgba(8, 15, 35, 0.09);
    --aclado-shadow-soft: 0 14px 40px rgba(8, 15, 35, 0.06);
    --aclado-radius-xl: 28px;
    --aclado-radius-lg: 22px;
    --aclado-radius-md: 16px;
    --shell-pad-x: 1rem;
    --shell-pad-top: 1.5rem;
    --motion-fast: 0.18s ease;
    --motion-med: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 900px) {
    :root {
        --shell-pad-x: 1.75rem;
    }
}

html,
body {
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    background:
        radial-gradient(1200px 600px at 12% -10%, rgba(61, 126, 237, 0.07), transparent 55%),
        radial-gradient(900px 480px at 88% 0%, rgba(47, 111, 100, 0.06), transparent 50%),
        linear-gradient(180deg, var(--aclado-bg-elevated) 0%, var(--aclado-bg) 42%, #e8eaef 100%);
    color: var(--aclado-ink);
}

body {
    letter-spacing: -0.01em;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a,
.btn-link {
    color: var(--aclado-primary);
}

img {
    max-width: 100%;
    display: block;
}

.app-shell-bar {
    border-bottom: 1px solid rgba(12, 18, 34, 0.07);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    background: rgba(252, 252, 251, 0.78) !important;
    transition: box-shadow var(--motion-fast), border-color var(--motion-fast);
}

.app-shell-bar:hover {
    box-shadow: 0 10px 30px rgba(8, 15, 35, 0.04);
}

.brand-link {
    display: inline-flex;
    align-items: flex-start;
    font-size: 1.9rem;
    color: var(--aclado-primary);
    letter-spacing: -0.05em;
    transition: color var(--motion-fast), opacity var(--motion-fast);
}

.brand-link__text {
    line-height: 1;
}

.brand-link__mark {
    font-size: 0.6em;
    line-height: 1;
    margin-inline-start: 0.05rem;
}

.brand-link:hover {
    color: var(--aclado-accent);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.main-shell-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: var(--shell-pad-top) var(--shell-pad-x) 4rem;
    box-sizing: border-box;
}

.muted-copy {
    color: var(--aclado-muted);
}

.property-card-fact-value--nowrap {
    white-space: nowrap;
}

.property-card-facts.property-card-facts--parking-inline {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

/* Legacy footer utilities (other pages) */
.footer-copy {
    color: var(--aclado-muted);
}

/* Premium site footer */
.app-footer-premium {
    position: relative;
    margin-top: 0;
    overflow: hidden;
    background: linear-gradient(165deg, #070b12 0%, #0c1524 38%, #0f1f33 72%, #0a1628 100%);
    color: rgba(236, 242, 252, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.app-footer-premium__glow {
    position: absolute;
    pointer-events: none;
    inset: -40% -20% auto;
    height: 70%;
    background: radial-gradient(ellipse 55% 45% at 70% 0%, rgba(47, 111, 100, 0.35), transparent 65%),
        radial-gradient(ellipse 40% 35% at 15% 20%, rgba(61, 126, 237, 0.2), transparent 60%);
    opacity: 0.9;
}

.app-footer-premium__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem 3rem;
    padding: 2rem var(--shell-pad-x) 1rem;
    box-sizing: border-box;
}

.app-footer-premium__brand {
    max-width: 26rem;
}

.app-footer-premium__logo {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #fff !important;
    margin-bottom: 0.75rem;
    transition: color var(--motion-fast), opacity var(--motion-fast);
}

.app-footer-premium__logo:hover {
    color: rgba(180, 220, 210, 0.95) !important;
}

.app-footer-premium__tagline {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(196, 206, 220, 0.82);
}

.app-footer-premium__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1.25rem;
}

.app-footer-premium__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(220, 228, 240, 0.88) !important;
    text-decoration: none !important;
    padding: 0.35rem 0;
    position: relative;
    transition: color var(--motion-fast);
}

.app-footer-premium__link:hover {
    color: #fff !important;
}

.app-footer-premium__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.15rem;
    width: 0;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, var(--aclado-accent), rgba(61, 126, 237, 0.7));
    transition: width var(--motion-med);
}

.app-footer-premium__link:hover::after {
    width: 100%;
}

.app-footer-premium__bar {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.app-footer-premium__bar-inner {
    padding: 0.65rem var(--shell-pad-x) 1.35rem;
    box-sizing: border-box;
}

.app-footer-premium__copy {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: rgba(160, 172, 190, 0.85);
}

@media (max-width: 600px) {
    .app-footer-premium__inner {
        flex-direction: column;
        align-items: stretch;
        padding-top: 2.25rem;
    }

    .app-footer-premium__nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.drawer-shell {
    padding: 1.25rem;
}

.drawer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-page {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 4rem);
}

.about-hero {
    position: relative;
    isolation: isolate;
    margin: calc(-1 * var(--shell-pad-top)) calc(-1 * var(--shell-pad-x)) 0;
    width: calc(100% + 2 * var(--shell-pad-x));
    overflow: hidden;
    border-radius: 0 0 clamp(22px, 3vw, 38px) clamp(22px, 3vw, 38px);
    padding: clamp(3rem, 6vw, 6.5rem) clamp(1rem, 4vw, 3rem);
}

.about-hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 252, 0.95) 50%, rgba(229, 241, 239, 0.92) 100%);
}

.about-hero__mesh,
.about-hero__orb {
    position: absolute;
    pointer-events: none;
}

.about-hero__mesh {
    inset: -22% -10% -18%;
    background:
        radial-gradient(ellipse 42% 44% at 9% 8%, rgba(47, 111, 100, 0.18), transparent 62%),
        radial-gradient(ellipse 36% 44% at 88% 8%, rgba(61, 126, 237, 0.16), transparent 60%),
        radial-gradient(ellipse 42% 36% at 66% 102%, rgba(12, 39, 64, 0.12), transparent 62%);
}

.about-hero__orb {
    border-radius: 999px;
    filter: blur(2px);
    opacity: 0.72;
}

.about-hero__orb--one {
    right: 10%;
    top: 11%;
    width: clamp(7rem, 12vw, 13rem);
    height: clamp(7rem, 12vw, 13rem);
    background: rgba(47, 111, 100, 0.12);
}

.about-hero__orb--two {
    left: 44%;
    bottom: 8%;
    width: clamp(5rem, 9vw, 9rem);
    height: clamp(5rem, 9vw, 9rem);
    background: rgba(61, 126, 237, 0.1);
}

.about-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.55fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    width: min(100%, 82rem);
    margin: 0 auto;
}

.about-hero__copy {
    max-width: 47rem;
}

.about-hero__title {
    margin: 0.5rem 0 1.25rem;
    font-size: clamp(2.55rem, 5vw, 5.1rem);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: -0.048em;
    color: var(--aclado-ink);
    text-wrap: balance;
}

.about-hero__lead {
    max-width: 40rem;
    color: var(--aclado-muted) !important;
    font-size: 1.13rem !important;
    line-height: 1.72 !important;
}

.about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.about-hero-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.35rem);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: clamp(24px, 3vw, 34px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
    box-shadow: 0 34px 90px rgba(8, 15, 35, 0.14), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.about-hero-card__label {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: rgba(47, 111, 100, 0.1);
    color: var(--aclado-accent-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-hero-card__title {
    margin-top: 1.35rem !important;
    color: var(--aclado-ink) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.about-hero-card__copy {
    margin-top: 0.85rem !important;
    color: var(--aclado-muted) !important;
    line-height: 1.65 !important;
}

.about-hero-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.about-hero-card__facts > div,
.about-address-card {
    border: 1px solid var(--aclado-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
}

.about-hero-card__facts > div {
    padding: 1rem;
}

.about-hero-card__facts strong,
.about-hero-card__facts span,
.about-address-card span {
    display: block;
}

.about-hero-card__facts strong {
    color: var(--aclado-ink);
    font-weight: 850;
}

.about-hero-card__facts span {
    margin-top: 0.25rem;
    color: var(--aclado-muted);
    font-size: 0.86rem;
}

.about-section {
    width: min(100%, 82rem);
    margin: 0 auto;
}

.about-section--split {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.about-section__title,
.about-location__title {
    color: var(--aclado-ink) !important;
    font-weight: 820 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.08 !important;
    text-wrap: balance;
}

.about-value-grid {
    display: grid;
    gap: 0.9rem;
}

.about-value-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1.25rem;
    border: 1px solid var(--aclado-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--aclado-shadow-soft);
}

.about-value-card__title {
    color: var(--aclado-ink) !important;
    font-weight: 800 !important;
}

.about-location {
    display: grid;
    grid-template-columns: minmax(20rem, 0.62fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: stretch;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: clamp(24px, 3vw, 34px);
    background: linear-gradient(135deg, #0c1f2f, #143d48 58%, #2f6f64);
    box-shadow: 0 30px 90px rgba(12, 31, 47, 0.22);
}

.about-location__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    padding: clamp(1rem, 3vw, 2rem);
}

.about-location__title,
.about-location__lead {
    color: white !important;
}

.about-location__lead {
    max-width: 34rem;
    opacity: 0.82;
    line-height: 1.7 !important;
}

.about-address-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    width: min(100%, 28rem);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: white;
}

.about-address-card a,
.about-address-card span {
    color: rgba(255, 255, 255, 0.82) !important;
}

.about-address-card strong {
    display: block;
    margin-bottom: 0.2rem;
    color: white;
}

.about-page__map-frame {
    overflow: hidden;
    min-height: 100%;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.about-page__map {
    display: block;
    width: 100%;
    height: 680px;
    border: 0;
    pointer-events: none;
}

@media (max-width: 900px) {
    .about-hero__content,
    .about-section--split,
    .about-location {
        grid-template-columns: 1fr;
    }

    .about-page__map {
        height: 560px;
    }
}

@media (max-width: 600px) {
    .about-hero {
        padding-top: 2.5rem;
    }

    .about-hero-card__facts {
        grid-template-columns: 1fr;
    }

    .about-page__map {
        height: 460px;
    }
}

.pricing-page {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 4rem);
}

.pricing-hero {
    position: relative;
    isolation: isolate;
    margin: calc(-1 * var(--shell-pad-top)) calc(-1 * var(--shell-pad-x)) 0;
    width: calc(100% + 2 * var(--shell-pad-x));
    overflow: hidden;
    border-radius: 0 0 clamp(22px, 3vw, 38px) clamp(22px, 3vw, 38px);
    padding: clamp(3rem, 6vw, 6.5rem) clamp(1rem, 4vw, 3rem);
}

.pricing-hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 252, 0.94) 48%, rgba(227, 238, 242, 0.9) 100%);
}

.pricing-hero__mesh,
.pricing-hero__orb {
    position: absolute;
    pointer-events: none;
}

.pricing-hero__mesh {
    inset: -22% -10% -18%;
    background:
        radial-gradient(ellipse 42% 44% at 7% 10%, rgba(61, 126, 237, 0.18), transparent 62%),
        radial-gradient(ellipse 36% 44% at 86% 4%, rgba(47, 111, 100, 0.18), transparent 60%),
        radial-gradient(ellipse 42% 36% at 66% 102%, rgba(12, 39, 64, 0.12), transparent 62%);
}

.pricing-hero__orb {
    border-radius: 999px;
    filter: blur(2px);
    opacity: 0.7;
}

.pricing-hero__orb--one {
    right: 9%;
    top: 12%;
    width: clamp(7rem, 12vw, 13rem);
    height: clamp(7rem, 12vw, 13rem);
    background: rgba(47, 111, 100, 0.12);
}

.pricing-hero__orb--two {
    left: 42%;
    bottom: 10%;
    width: clamp(5rem, 9vw, 9rem);
    height: clamp(5rem, 9vw, 9rem);
    background: rgba(61, 126, 237, 0.1);
}

.pricing-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.58fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    width: min(100%, 82rem);
    margin: 0 auto;
}

.pricing-hero__copy {
    max-width: 44rem;
}

.pricing-hero__title {
    margin: 0.5rem 0 1.25rem;
    font-size: clamp(2.6rem, 5.1vw, 5.25rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: var(--aclado-ink);
    text-wrap: balance;
}

.pricing-hero__lead {
    max-width: 38rem;
    color: var(--aclado-muted) !important;
    font-size: 1.13rem !important;
    line-height: 1.7 !important;
}

.pricing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.pricing-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.35rem);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: clamp(24px, 3vw, 34px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
    box-shadow: 0 34px 90px rgba(8, 15, 35, 0.14), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 8%, rgba(61, 126, 237, 0.08), transparent 30%),
        radial-gradient(circle at 92% 0%, rgba(47, 111, 100, 0.12), transparent 30%);
}

.pricing-card > * {
    position: relative;
    z-index: 1;
}

.pricing-card__label {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: rgba(47, 111, 100, 0.1);
    color: var(--aclado-accent-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin-top: 1.35rem;
    color: var(--aclado-ink);
}

.pricing-card__currency {
    font-size: 1rem;
    font-weight: 800;
}

.pricing-card__amount {
    font-size: clamp(4rem, 7vw, 6.75rem);
    font-weight: 850;
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.pricing-card__period {
    color: var(--aclado-muted);
    font-weight: 700;
}

.pricing-card__vat {
    color: var(--aclado-muted) !important;
    margin-top: 0.35rem !important;
}

.pricing-card__divider {
    height: 1px;
    margin: 1.65rem 0;
    background: linear-gradient(90deg, rgba(12, 18, 34, 0), rgba(12, 18, 34, 0.12), rgba(12, 18, 34, 0));
}

.pricing-card__minimum {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(12, 39, 64, 0.055);
    color: var(--aclado-muted);
}

.pricing-card__minimum strong {
    color: var(--aclado-ink);
}

.pricing-card__note {
    margin-top: 1rem !important;
    color: var(--aclado-muted) !important;
    line-height: 1.65 !important;
}

.pricing-section {
    width: min(100%, 82rem);
    margin: 0 auto;
}

.pricing-section--split {
    display: grid;
    grid-template-columns: minmax(18rem, 0.45fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.pricing-section__title {
    margin: 0.45rem 0 1rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
}

.pricing-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.pricing-feature {
    display: flex;
    gap: 1rem;
    min-height: 100%;
    padding: 1.2rem;
    border: 1px solid var(--aclado-border);
    border-radius: var(--aclado-radius-md);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--aclado-shadow-soft);
}

.pricing-feature__title {
    font-weight: 800 !important;
    margin-bottom: 0.25rem !important;
}

.pricing-volume {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    width: min(100%, 82rem);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    overflow: hidden;
    border-radius: var(--aclado-radius-xl);
    background:
        radial-gradient(circle at 12% 0%, rgba(61, 126, 237, 0.2), transparent 32%),
        radial-gradient(circle at 96% 0%, rgba(47, 111, 100, 0.34), transparent 35%),
        linear-gradient(145deg, #07111f, #0c1f33 54%, #0b2b38 100%);
    color: #fff;
    box-shadow: 0 30px 80px rgba(8, 15, 35, 0.16);
}

.pricing-volume__copy {
    max-width: 46rem;
}

.pricing-volume__title {
    margin: 0.35rem 0 0.8rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
}

.pricing-volume__lead {
    color: rgba(222, 230, 242, 0.84) !important;
    line-height: 1.7 !important;
}

@media (max-width: 960px) {
    .pricing-hero__content,
    .pricing-section--split {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        max-width: 34rem;
    }
}

@media (max-width: 700px) {
    .pricing-feature-grid {
        grid-template-columns: 1fr;
    }

    .pricing-volume {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .pricing-hero__actions {
        flex-direction: column;
    }

    .pricing-hero__actions .mud-button-root,
    .pricing-volume .mud-button-root {
        width: 100%;
    }

    .pricing-card__price {
        flex-wrap: wrap;
    }
}

.hero-button,
.hero-primary-cta,
.hero-secondary-cta {
    height: 56px;
    border-radius: 16px;
}

.content-page,
.shortcut-card,
.property-card,
.detail-surface,
.detail-summary-card {
    border-radius: var(--aclado-radius-lg);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-header-premium {
    margin-bottom: 2rem;
}

.section-kicker {
    color: var(--aclado-accent);
    font-weight: 700;
    letter-spacing: 0.12em;
}

.section-kicker-light {
    color: rgba(255, 255, 255, 0.72);
}

.chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sticky-panel {
    position: sticky;
    top: 5.75rem;
}

.rich-copy {
    line-height: 1.8;
}

.home-page {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* —— Home hero (full-bleed, premium first impression) —— */
.home-hero-pro {
    position: relative;
    isolation: isolate;
    margin: calc(-1 * var(--shell-pad-top)) calc(-1 * var(--shell-pad-x)) 0;
    width: calc(100% + 2 * var(--shell-pad-x));
    padding: clamp(3.25rem, 6.5vw, 6.5rem) clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 5.5rem);
    overflow: hidden;
    border-radius: 0 0 clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px);
    color: var(--aclado-ink);
}

.home-hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 252, 0.94) 44%, rgba(232, 239, 246, 0.9) 100%);
}

.home-hero-mesh {
    position: absolute;
    inset: -18% -8% -12%;
    background:
        radial-gradient(ellipse 42% 46% at 5% 12%, rgba(61, 126, 237, 0.16), transparent 60%),
        radial-gradient(ellipse 34% 42% at 88% 8%, rgba(47, 111, 100, 0.16), transparent 58%),
        radial-gradient(ellipse 48% 42% at 72% 96%, rgba(12, 39, 64, 0.1), transparent 60%);
}

.home-hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.home-hero-stack {
    position: relative;
    z-index: 1;
    width: 100%;
}

.home-hero-showcase {
    display: grid;
    grid-template-columns: minmax(18rem, 0.8fr) minmax(30rem, 1.35fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    width: min(100%, 88rem);
    margin: 0 auto;
}

.home-hero-inner {
    max-width: 40rem;
    text-align: left;
}

.home-hero-eyebrow {
    color: var(--aclado-accent) !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
}

.home-hero-title {
    margin: 0.5rem 0 1.25rem;
    font-size: clamp(2.75rem, 5.2vw, 5.2rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--aclado-ink);
    text-wrap: balance;
}

.home-hero-lead {
    color: var(--aclado-muted) !important;
    font-size: 1.15rem !important;
    line-height: 1.65 !important;
    max-width: 36rem;
}

.home-search-card--embedded {
    width: 100%;
    max-width: none;
    margin: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: clamp(24px, 3vw, 34px);
    box-shadow: 0 34px 90px rgba(8, 15, 35, 0.14), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(24px) saturate(1.18);
    -webkit-backdrop-filter: blur(24px) saturate(1.18);
    text-align: left;
}

.home-search-card--embedded::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 8%, rgba(61, 126, 237, 0.08), transparent 30%),
        radial-gradient(circle at 92% 0%, rgba(47, 111, 100, 0.12), transparent 28%);
}

.home-search-card-head {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.25rem;
    text-align: left;
}

.home-search-card-copy {
    max-width: 36rem;
}

.home-search-card-title {
    letter-spacing: -0.02em;
    font-weight: 800 !important;
}

.home-search-modern {
    width: 100%;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
}

.home-search-mode-tabs {
    display: inline-flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.35rem;
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.search-mode-tab {
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-mode-tab:hover {
    color: white;
}

.search-mode-tab.active {
    background: white;
    color: var(--aclado-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.home-search-bar-unified {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 999px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-bar-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 1rem;
    position: relative;
    border-radius: 999px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.search-bar-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.search-bar-query {
    flex: 1.5;
    min-width: 250px;
}

.search-bar-type {
    flex: 1;
    min-width: 150px;
}

.search-bar-size {
    flex: 0.8;
    min-width: 120px;
}

.search-bar-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--aclado-ink);
    margin-bottom: 2px;
}

.search-bar-input .mud-input-slot,
.search-bar-select .mud-input-slot {
    font-size: 1rem !important;
    padding: 0 !important;
    color: var(--aclado-muted) !important;
}

.search-bar-input .mud-input-root,
.search-bar-select .mud-input-root {
    margin: 0 !important;
}

.search-bar-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 0.5rem;
}

.search-bar-action {
    margin-left: 0.5rem;
}

.search-bar-submit {
    border-radius: 999px !important;
    padding: 0.8rem 1.8rem !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    min-height: 52px;
}

.home-search-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.home-search-map-toggle {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.home-search-map-toggle .swiss-region-selector {
    gap: 0;
}

.home-search-map-toggle .swiss-region-selector__trigger {
    background: transparent !important;
    color: white !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 500;
}

.home-search-map-toggle .swiss-region-selector__trigger:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.home-search-tips .tips-btn {
    color: var(--aclado-muted) !important;
    border-radius: 999px !important;
    text-transform: none;
    font-weight: 500;
}

.home-search-tips .tips-btn:hover {
    background: rgba(12, 18, 34, 0.04) !important;
    color: var(--aclado-primary) !important;
}

.search-tips-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 440px;
    max-width: 90vw;
}

@media (max-width: 960px) {
    .home-search-bar-unified {
        flex-direction: column;
        border-radius: 24px;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .search-bar-divider {
        width: 100%;
        height: 1px;
        margin: 0.5rem 0;
    }
    
    .search-bar-item {
        width: 100%;
        padding: 0.5rem;
    }
    
    .search-bar-action {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .search-bar-submit {
        width: 100%;
    }

    .home-search-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}


.home-search-mode-toggle {
    flex: 0 0 min(100%, 14.5rem);
    margin-left: auto;
}

.home-smart-search-main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    min-width: 0;
    padding: clamp(0.8rem, 1.8vw, 1.15rem);
    border: 1px solid rgba(12, 39, 64, 0.09);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 20px 60px rgba(8, 15, 35, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    text-align: left;
}

.home-smart-search-grid {
    /* let MudGrid's native negative margins work */
}

.home-query-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.75rem;
}

.home-query-field {
    min-width: 0;
}

.home-search-action-item {
    display: flex;
    align-items: end;
}

.home-filter-row {
    display: grid;
    grid-template-columns: minmax(10rem, 0.85fr) minmax(8rem, 0.62fr) minmax(13rem, 1fr);
    gap: 0.75rem;
    align-items: stretch;
}

.home-filter-row--compact {
    grid-template-columns: minmax(10rem, 0.9fr) minmax(13rem, 1.1fr);
}

.home-filter-row--area {
    grid-template-columns: minmax(10rem, 0.8fr) minmax(7rem, 0.55fr) minmax(7rem, 0.55fr) minmax(13rem, 1fr);
}

.home-filter-control {
    min-width: 0;
}

.home-filter-control--usage {
    grid-column: auto;
}

.home-filter-row .home-location-picker {
    min-width: 0;
}

.home-location-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(12, 18, 34, 0.06);
    border-radius: 20px;
    background: #f8fafc;
}

.home-location-copy {
    min-width: 0;
}

.home-location-title {
    color: var(--aclado-ink) !important;
    font-weight: 700 !important;
}

.home-location-subtitle {
    display: block;
    margin-top: 0.15rem;
    color: var(--aclado-muted) !important;
}

.home-location-picker {
    flex: 0 0 auto;
    min-width: 14rem;
}

.home-location-picker .swiss-region-selector {
    gap: 0;
}

.home-location-picker .swiss-region-selector__trigger {
    width: 100%;
    justify-content: center;
    min-height: 3.25rem;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    color: var(--aclado-primary) !important;
    font-weight: 600 !important;
    border: 1px solid rgba(12, 39, 64, 0.14) !important;
    box-shadow: 0 8px 22px rgba(8, 15, 35, 0.04) !important;
    transition: background-color var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast);
}

.home-location-picker .swiss-region-selector__trigger:hover {
    transform: none;
    background: #ffffff !important;
    border-color: rgba(12, 39, 64, 0.32) !important;
    box-shadow: 0 12px 26px rgba(8, 15, 35, 0.08) !important;
}

.home-map-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.95rem;
}

.home-search-syntax-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.25rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: calc(var(--aclado-radius-xl) - 8px);
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.14), transparent 32%),
        radial-gradient(circle at 92% 8%, rgba(47, 111, 100, 0.24), transparent 34%),
        linear-gradient(145deg, #101827 0%, #162033 48%, #0d1421 100%);
    color: #ffffff;
    box-shadow: 0 24px 56px rgba(8, 15, 35, 0.2);
}

.home-search-syntax-panel::after {
    content: "";
    position: absolute;
    right: -2.5rem;
    bottom: -3.5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(12px);
    pointer-events: none;
}

.home-search-syntax-head,
.home-search-syntax-examples,
.home-search-syntax-foot {
    position: relative;
    z-index: 1;
}

.home-search-syntax-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.home-search-syntax-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 2.35rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.home-search-syntax-title {
    color: #ffffff !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
}

.home-search-syntax-copy {
    color: rgba(226, 232, 240, 0.72) !important;
}

.home-search-syntax-examples {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
}

.home-search-syntax-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.68rem 0.75rem;
    border: 1px solid rgba(12, 18, 34, 0.08);
    border-radius: 12px;
    background: #f8fafc;
    color: var(--aclado-ink);
    text-align: left;
    transition: all var(--motion-fast);
    cursor: pointer;
}

.home-search-syntax-chip:hover {
    background: #f1f5f9;
    border-color: rgba(12, 39, 64, 0.25);
    box-shadow: 0 4px 12px rgba(12, 39, 64, 0.05);
}

.chip-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.chip-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-4px);
    transition: all var(--motion-fast);
    color: var(--aclado-primary);
}

.home-search-syntax-chip:hover .chip-hint {
    opacity: 1;
    transform: translateX(0);
}

.home-search-syntax-chip code {
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0.22rem 0.55rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(12, 18, 34, 0.1);
    color: var(--aclado-primary);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.home-search-syntax-chip span {
    color: var(--aclado-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: right;
}

.home-search-syntax-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
}

.home-search-syntax-foot span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(12, 18, 34, 0.08);
    color: var(--aclado-muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.home-search-syntax-foot code {
    color: var(--aclado-primary);
    font-weight: 900;
}

@media (max-width: 1100px) {
    .home-hero-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-hero-inner {
        max-width: 48rem;
        text-align: center;
        margin: 0 auto;
    }

    .home-hero-lead {
        margin: 0 auto;
    }

    .home-smart-search-layout {
        grid-template-columns: 1fr;
    }

    .home-search-syntax-examples {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-hero-pro {
        padding-top: 2.5rem;
    }

    .home-hero-title {
        font-size: clamp(2.25rem, 12vw, 3.3rem);
    }

    .home-search-card--embedded {
        border-radius: 24px;
    }

    .home-search-card-head {
        align-items: stretch;
    }

    .home-search-mode-toggle {
        flex-basis: 100%;
        max-width: none;
    }

    .home-smart-search-main {
        padding: 0.75rem;
        border-radius: 20px;
    }

    .home-query-row,
    .home-filter-row,
    .home-filter-row--area,
    .home-filter-row--compact {
        grid-template-columns: 1fr;
    }

    .home-search-button {
        width: 100%;
        min-width: 0;
    }

    .home-location-strip {
        flex-direction: column;
    }

    .home-location-picker {
        flex-basis: auto;
        width: 100%;
    }

    .home-map-actions {
        margin-top: 0.75rem;
        justify-content: center;
    }

    .home-search-syntax-examples {
        grid-template-columns: 1fr;
    }

    .home-search-syntax-chip {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-search-syntax-chip span {
        text-align: left;
    }
}

.home-listings-section {
    margin-top: 3rem;
    padding-bottom: 1rem;
}

.home-listings-heading {
    letter-spacing: -0.03em;
}

.home-listings-sub {
    margin-top: 0.35rem;
    max-width: 36rem;
}

.home-listings-cta {
    flex-shrink: 0;
    border-radius: 14px !important;
    transition: transform var(--motion-fast), box-shadow var(--motion-fast);
}

.home-listings-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--aclado-shadow-soft);
}

.home-listings-grid {
    margin-top: 0.25rem;
}

.home-listings-empty {
    border-radius: var(--aclado-radius-lg);
}

.search-offer-label {
    color: var(--aclado-muted);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.search-offer-toggle.compact-toggle {
    max-width: none;
    width: 100%;
}

/* —— Search page —— */
.search-page {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.search-page-hero {
    max-width: 40rem;
}

.search-page-eyebrow {
    color: var(--aclado-accent) !important;
    letter-spacing: 0.14em !important;
}

.search-page-title {
    margin-top: 0.35rem;
    letter-spacing: -0.03em;
}

.search-page-lead {
    margin-top: 0.5rem;
    line-height: 1.6;
}

.search-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    align-items: start;
}

.search-filters-aside {
    position: sticky;
    top: 4.75rem;
}

.search-filters-panel {
    border-radius: var(--aclado-radius-lg) !important;
    border: 1px solid var(--aclado-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 248, 251, 0.94)) !important;
    box-shadow: var(--aclado-shadow-soft);
}

.search-filters-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.search-filters-heading {
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

.search-filters-reset {
    text-transform: none;
    font-weight: 600;
}

.search-apply-button {
    min-height: 3rem;
    border-radius: 14px !important;
    margin-top: 0.25rem;
    box-shadow: 0 16px 32px rgba(12, 39, 64, 0.18);
    transition: transform var(--motion-fast), box-shadow var(--motion-fast);
}

.search-apply-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(12, 39, 64, 0.22);
}

.search-query-help-banner {
    border-radius: 14px !important;
    border: 1px solid rgba(61, 126, 237, 0.18);
    background: rgba(61, 126, 237, 0.08) !important;
}

.search-query-help-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.search-query-help-copy {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    min-width: 0;
}

.search-query-help-icon {
    margin-top: 0.1rem;
}

.search-query-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.search-query-field {
    flex: 1 1 auto;
    min-width: 0;
}

.search-query-tip-trigger {
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 0.4rem;
    border: 1px solid rgba(12, 39, 64, 0.12) !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    transition: background-color var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast);
}

.search-query-tip-trigger:hover {
    background: #ffffff !important;
    border-color: rgba(12, 39, 64, 0.24) !important;
    box-shadow: 0 8px 20px rgba(8, 15, 35, 0.08);
}

.search-results-column {
    min-width: 0;
}

.search-results-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 16rem;
    border-radius: var(--aclado-radius-lg);
    border: 1px dashed rgba(12, 18, 34, 0.12);
    background: rgba(255, 255, 255, 0.5);
}

.search-empty-state {
    border-radius: var(--aclado-radius-lg);
    border: 1px solid var(--aclado-border);
    background: rgba(255, 255, 255, 0.85);
}

.search-results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--aclado-border);
}

.search-results-count {
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

.search-results-grid {
    margin-bottom: 0.5rem;
}

.search-pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--aclado-border);
}

@media (max-width: 960px) {
    .search-layout {
        grid-template-columns: 1fr;
    }

    .search-filters-aside {
        position: static;
    }
}

.luxury-hero {
    position: relative;
    overflow: hidden;
    padding: 4rem;
    border-radius: 40px;
    color: #fff;
    min-height: 42rem;
    display: flex;
    align-items: end;
    box-shadow: var(--aclado-shadow);
    background: linear-gradient(135deg, rgba(24, 22, 19, 0.6), rgba(24, 22, 19, 0.12));
}

.luxury-hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.16), transparent 0 24%),
        radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.1), transparent 0 18%),
        radial-gradient(circle at 78% 82%, rgba(var(--aclado-accent-rgb), 0.25), transparent 0 20%),
        linear-gradient(90deg, rgba(10, 16, 28, 0.78) 0%, rgba(10, 16, 28, 0.28) 55%, rgba(10, 16, 28, 0.42) 100%),
        linear-gradient(135deg, rgba(var(--aclado-accent-rgb), 0.55), rgba(8, 12, 22, 0.94));
    transform: scale(1.02);
}

.hero-grid,
.detail-content-grid {
    position: relative;
    z-index: 1;
}

.hero-copy-block {
    max-width: 42rem;
}

.hero-pill-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-pill,
.property-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    color: inherit;
}

.hero-pill-soft,
.property-badge-soft {
    background: rgba(255, 255, 255, 0.08);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    font-weight: 700;
}

.hero-subtitle {
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

.hero-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-primary-cta {
    min-width: 12rem;
}

.hero-secondary-cta {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

.hero-search-panel {
    background: rgba(249, 244, 237, 0.92);
    color: var(--aclado-ink);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 14, 12, 0.16);
}

.panel-kicker {
    color: var(--aclado-accent);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.offer-toggle {
    display: inline-flex;
    align-items: center;
    width: 100%;
    padding: 0.32rem;
    background: rgba(12, 39, 64, 0.06);
    border: 1px solid rgba(12, 39, 64, 0.07);
    border-radius: 18px;
    gap: 0.35rem;
}

.offer-toggle-button {
    flex: 1 1 0;
    min-height: 2.65rem;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--aclado-muted);
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.offer-toggle-button:hover {
    color: var(--aclado-primary);
}

.offer-toggle-button.active {
    background: var(--aclado-surface);
    color: var(--aclado-ink);
    box-shadow: 0 12px 28px rgba(8, 15, 35, 0.1);
}

.premium-input .mud-input-outlined-border {
    border-radius: 14px !important;
}

.premium-input .mud-input-root {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 14px !important;
    transition: background-color var(--motion-fast), box-shadow var(--motion-fast);
}

.premium-input .mud-input-root:hover {
    background: #ffffff;
}

.home-query-input .mud-input-root {
    min-height: 3.65rem;
    border-radius: 18px !important;
    box-shadow: 0 8px 22px rgba(8, 15, 35, 0.04);
}

.hero-search-footnote {
    font-size: 0.92rem;
    color: var(--aclado-muted);
}

.home-search-shell {
    max-width: 100%;
}

.home-search-card {
    background: var(--aclado-surface);
    color: var(--aclado-ink);
    border: 1px solid rgba(12, 18, 34, 0.08);
    border-radius: var(--aclado-radius-xl);
    box-shadow: var(--aclado-shadow-soft);
}

.home-search-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.compact-toggle {
    max-width: 15rem;
}

.home-search-hint {
    display: inline-flex;
    align-items: center;
    min-height: 100%;
    color: var(--aclado-muted);
}

.home-search-button {
    min-height: 3.65rem;
    min-width: clamp(11.5rem, 16vw, 14rem);
    border-radius: 18px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    box-shadow: 0 20px 42px rgba(12, 39, 64, 0.24);
    transition: transform var(--motion-fast), box-shadow var(--motion-fast), filter var(--motion-fast);
}

.home-search-button:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: saturate(1.06);
    box-shadow: 0 26px 52px rgba(12, 39, 64, 0.3);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.trust-item,
.value-card,
.testimonial-stat-card,
.specification-card,
.document-card,
.map-preview-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--aclado-border);
    border-radius: var(--aclado-radius-md);
    box-shadow: 0 12px 30px rgba(28, 27, 23, 0.04);
}

.trust-item {
    padding: 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.trust-item-title {
    font-weight: 700;
}

.trust-item-copy {
    color: var(--aclado-muted);
    font-size: 0.95rem;
}

.property-card-premium,
.shortcut-card-premium {
    height: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--aclado-border);
    box-shadow: var(--aclado-shadow);
}

.property-card-clickable {
    cursor: pointer;
}

.property-card-media-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.property-card-media-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    z-index: 1;
}

.property-card-favorite-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
}

.property-card-image-count {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    color: #fff;
    backdrop-filter: blur(12px);
}

.property-card-media-navigation {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.property-card-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--aclado-primary) !important;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(12px);
    pointer-events: auto;
}

.property-card-nav-button:hover,
.property-card-nav-button:focus-visible,
.property-card-nav-button:active {
    color: var(--aclado-accent-deep) !important;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    transform: translateY(-50%);
}

.property-card-nav-button-left {
    left: 1rem;
}

.property-card-nav-button-right {
    right: 1rem;
}

@media (hover: hover) and (pointer: fine) {
    .property-card-nav-button {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .property-card-media-shell:hover .property-card-nav-button {
        opacity: 1;
        visibility: visible;
    }
}

.property-card-content-premium {
    padding: 1.5rem 1.5rem 1rem;
}

.property-card-title {
    font-size: 1.35rem;
    line-height: 1.2;
}

.property-card-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.property-card-fact-label,
.specification-label,
.document-card-label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--aclado-muted);
}

.property-card-actions-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 1.25rem 1.25rem;
}

.property-card-provider-brand {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    max-width: 55%;
}

.property-card-provider-logo {
    display: block;
    max-width: 140px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.property-card-provider-name {
    color: var(--aclado-muted);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-card-chip-wrap .mud-chip {
    background: rgba(var(--aclado-accent-rgb), 0.06);
}

.shortcut-card-premium {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 239, 0.96));
}

.editorial-band {
    padding: 2.5rem;
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 242, 235, 0.9));
    border: 1px solid var(--aclado-border);
}

.value-grid {
    display: grid;
    gap: 1rem;
}

.value-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.2rem 1.25rem;
}

.value-card-icon,
.specification-icon {
    color: var(--aclado-accent);
}

.editorial-showcase {
    display: grid;
    gap: 1rem;
    min-height: 100%;
}

.editorial-showcase-card {
    border-radius: 28px;
    padding: 2rem;
    color: #fff;
    min-height: 14rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
    box-shadow: var(--aclado-shadow);
}

.editorial-showcase-primary {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 0 28%),
        linear-gradient(140deg, #0f1f2f 0%, #0c2740 45%, #2f6f64 100%);
}

.editorial-showcase-secondary {
    background: linear-gradient(135deg, var(--aclado-accent-deep), #22201c);
}

.editorial-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.74;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.region-tile {
    min-height: 12rem;
    padding: 1.5rem;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58)), linear-gradient(135deg, rgba(var(--aclado-accent-rgb), 0.55), rgba(12, 18, 32, 0.92));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.region-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--aclado-shadow);
}

.region-tile-kicker {
    font-size: 0.8rem;
    opacity: 0.78;
}

.region-tile-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.testimonial-panel {
    padding: 2.5rem;
    border-radius: 36px;
    background: linear-gradient(135deg, #0a121f, #0c2740 55%, #1a4d45 100%);
    color: #fff;
    box-shadow: var(--aclado-shadow);
}

.testimonial-quote {
    max-width: 44rem;
}

.testimonial-attribution {
    color: rgba(255, 255, 255, 0.72);
}

.testimonial-stats {
    display: grid;
    gap: 1rem;
}

.testimonial-stat-card {
    padding: 1.2rem 1.35rem;
    color: var(--aclado-ink);
}

.testimonial-stat-card span {
    display: block;
    color: var(--aclado-muted);
    margin-bottom: 0.25rem;
}

.lead-cta-panel {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem 2.25rem;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--aclado-border);
    box-shadow: 0 18px 40px rgba(28, 27, 23, 0.05);
}

.lead-cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.detail-back-link {
    display: inline-flex;
    font-weight: 600;
}

.detail-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.detail-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.detail-location {
    color: var(--aclado-muted);
    font-size: 1.05rem;
}

.detail-fact-ribbon {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.detail-fact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--aclado-border);
    border-radius: 999px;
}

.property-gallery-shell {
    overflow: hidden;
}

.property-gallery-collage {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 0.68fr));
    gap: 1rem;
}

.property-gallery-tile {
    position: relative;
    cursor: pointer;
    border-radius: 24px;
    outline: none;
    transition: box-shadow var(--motion-fast);
}

.property-gallery-tile:focus-visible {
    box-shadow: 0 0 0 3px rgba(61, 126, 237, 0.45);
}

.property-gallery-thumb-wrap {
    overflow: hidden;
}

.property-gallery-zoom-hint {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: rgba(8, 12, 22, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--motion-med), transform var(--motion-med);
    pointer-events: none;
    max-width: calc(100% - 2rem);
}

.property-gallery-primary:hover .property-gallery-zoom-hint,
.property-gallery-primary:focus-within .property-gallery-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .property-gallery-zoom-hint {
        opacity: 1;
        transform: none;
    }
}

.property-gallery-image {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    border-radius: 24px;
    background: #e5e7eb;
    display: block;
}

.property-gallery-primary {
    grid-row: span 2;
    height: 29rem;
    position: relative;
}

.property-gallery-image-primary {
    height: 100% !important;
}

.property-gallery-overlay {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    pointer-events: none;
}

.property-gallery-count {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.9rem;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Full-viewport property gallery (detail page) — white UI, no JS */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: var(--aclado-ink);
    outline: none;
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: manipulation;
    animation: gallery-lightbox-in 0.22s ease both;
    box-sizing: border-box;
}

@keyframes gallery-lightbox-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gallery-lightbox__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
    padding: 0.75rem 1rem 0.75rem 1.25rem;
    border-bottom: 1px solid var(--aclado-border);
    background: #ffffff;
}

.gallery-lightbox__counter {
    color: var(--aclado-ink) !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
}

.gallery-lightbox__close {
    color: var(--aclado-muted) !important;
}

.gallery-lightbox__body {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.gallery-lightbox__sidebar {
    flex: 0 0 auto;
    width: 7.5rem;
    border-right: 1px solid var(--aclado-border);
    background: #f8f9fb;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.gallery-lightbox__thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
    scrollbar-width: thin;
}

.gallery-lightbox__thumb {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast);
    background: #e8eaef;
}

.gallery-lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-lightbox__thumb:hover,
.gallery-lightbox__thumb:focus-visible {
    opacity: 1;
    outline: none;
}

.gallery-lightbox__thumb--active {
    opacity: 1;
    border-color: var(--aclado-accent);
    box-shadow: 0 0 0 1px rgba(12, 18, 34, 0.06);
}

.gallery-lightbox__main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: #ffffff;
}

.gallery-lightbox__body--single .gallery-lightbox__main {
    flex: 1 1 100%;
}

.gallery-lightbox__stage {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.75rem 1rem 1rem;
}

.gallery-lightbox__figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
    max-height: 100%;
}

.gallery-lightbox__img-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    width: 100%;
    max-height: calc(100dvh - 9rem);
}

.gallery-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: calc(100dvh - 9rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    background: #f0f2f5;
    box-shadow: 0 12px 40px rgba(12, 18, 34, 0.08);
}

.gallery-lightbox__caption {
    flex-shrink: 0;
    margin-top: 1rem;
    padding: 0.85rem 1.15rem;
    max-width: min(40rem, 100%);
    text-align: center;
    border-radius: 14px;
    background: #f4f5f7;
    border: 1px solid var(--aclado-border);
}

.gallery-lightbox__caption-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--aclado-muted);
    margin-bottom: 0.35rem;
}

.gallery-lightbox__caption-text {
    display: block;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--aclado-ink);
}

.gallery-lightbox__nav {
    flex-shrink: 0;
    align-self: center;
    color: var(--aclado-primary) !important;
    background: #f4f5f7 !important;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(12, 18, 34, 0.08);
    transition: background var(--motion-fast), transform var(--motion-fast);
}

.gallery-lightbox__nav:hover {
    background: #e8eaef !important;
    transform: scale(1.05);
}

.gallery-lightbox__nav--prev {
    margin-right: 0.15rem;
}

.gallery-lightbox__nav--next {
    margin-left: 0.15rem;
}

@media (max-width: 640px) {
    .gallery-lightbox__sidebar {
        width: 4.75rem;
    }

    .gallery-lightbox__thumbs {
        padding: 0.5rem 0.35rem;
        gap: 0.35rem;
    }

    .gallery-lightbox__nav--prev,
    .gallery-lightbox__nav--next {
        position: absolute;
        top: 50%;
        z-index: 2;
    }

    .gallery-lightbox__nav--prev {
        left: 0.35rem;
        transform: translateY(-50%);
    }

    .gallery-lightbox__nav--next {
        right: 0.35rem;
        transform: translateY(-50%);
    }

    .gallery-lightbox__nav--prev:hover,
    .gallery-lightbox__nav--next:hover {
        transform: translateY(-50%) scale(1.05);
    }

    .gallery-lightbox__stage {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
        position: relative;
    }

    .gallery-lightbox__img-wrap,
    .gallery-lightbox__img {
        max-height: calc(100dvh - 5.5rem);
    }
}

.detail-surface,
.detail-summary-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--aclado-border);
    box-shadow: 0 18px 40px rgba(28, 27, 23, 0.05);
}

.detail-overview-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: end;
}

.detail-availability {
    color: var(--aclado-muted);
    font-weight: 600;
}

.detail-rich-copy {
    color: #322d28;
}

.detail-nearby-section {
    margin-top: 3rem;
}

.detail-nearby-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
}

.detail-nearby-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.detail-nearby-scroll-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--aclado-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.detail-nearby-scroll-button:hover:not(:disabled) {
    transform: translateY(-1px);
    color: var(--aclado-accent);
    border-color: rgba(var(--aclado-accent-rgb), 0.35);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.detail-nearby-scroll-button:disabled {
    opacity: 0.45;
    cursor: default;
    box-shadow: none;
}

.detail-nearby-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 320px);
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
}

.nearby-property-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--aclado-border);
    border-radius: var(--aclado-radius-lg);
    overflow: hidden;
    scroll-snap-align: start;
}

.nearby-property-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
    overflow: hidden;
    background: #e5e7eb;
}

.nearby-property-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nearby-property-card__badges {
    position: absolute;
    inset: 1rem 1rem auto 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nearby-property-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
}

.nearby-property-card__badge--accent {
    background: rgba(var(--aclado-accent-rgb), 0.92);
}

.nearby-property-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

.nearby-property-card__title {
    font-size: 1rem;
    line-height: 1.4;
}

.nearby-property-card__location {
    color: var(--aclado-muted);
    font-size: 0.92rem;
}

.nearby-property-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.nearby-property-card__fact {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nearby-property-card__fact span {
    color: var(--aclado-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nearby-property-card__fact-value--nowrap {
    white-space: nowrap;
}

.nearby-property-card__facts.nearby-property-card__facts--parking-inline {
    grid-template-columns: minmax(0, 1fr);
}

.nearby-property-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.nearby-property-card__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.95);
    color: #334155;
    font-size: 0.8rem;
    font-weight: 500;
}

.specification-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.specification-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.specification-card {
    padding: 1.15rem 1.2rem;
}

.location-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.9fr);
    gap: 1rem;
}

.map-preview-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(249, 245, 238, 0.96), rgba(255, 255, 255, 0.96));
}

.document-list {
    display: grid;
    gap: 0.85rem;
}

.document-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.2rem;
    text-decoration: none;
    color: inherit;
}

.detail-cta-surface {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 241, 234, 0.94));
}

.detail-inquiry-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(var(--aclado-accent-rgb), 0.14), transparent 0 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 246, 249, 0.98));
}

.detail-inquiry-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), transparent 44%);
    pointer-events: none;
}

.inquiry-form-shell {
    position: relative;
    z-index: 1;
}

.inquiry-form-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(var(--aclado-accent-rgb), 0.16);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 243, 247, 0.94));
    box-shadow: 0 18px 36px rgba(28, 27, 23, 0.05);
}

.inquiry-form-hero-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: var(--aclado-accent-deep);
    background: linear-gradient(135deg, rgba(var(--aclado-accent-rgb), 0.2), rgba(var(--aclado-accent-rgb), 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.inquiry-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.inquiry-input {
    margin-bottom: 0 !important;
}

.inquiry-input-wide {
    grid-column: 1 / -1;
}

.inquiry-input .mud-input-control {
    margin-top: 0;
}

.inquiry-input .mud-input-slot,
.inquiry-input .mud-input-root,
.inquiry-input .mud-select-input {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(var(--aclado-accent-rgb), 0.14);
    box-shadow: 0 10px 24px rgba(28, 27, 23, 0.04);
}

.inquiry-message-frame {
    padding: 0.75rem;
    border: 1px solid rgba(var(--aclado-accent-rgb), 0.14);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 243, 247, 0.94));
}

.inquiry-input-message .mud-input-slot,
.inquiry-input-message .mud-input-root {
    background: rgba(255, 255, 255, 0.94);
}

.inquiry-submit-button {
    height: 48px;
    box-shadow: 0 18px 34px rgba(12, 39, 64, 0.22);
}

.detail-sidebar-stack {
    display: flex;
    flex-direction: column;
}

.summary-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.summary-list-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--aclado-border);
}

.summary-list-item span {
    color: var(--aclado-muted);
}

.summary-action-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.provider-logo-shell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.provider-logo-image {
    display: block;
    max-width: min(100%, 14rem);
    max-height: 4rem;
    width: auto;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .trust-strip,
    .region-grid,
    .specification-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-card-facts,
    .location-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-card-facts.property-card-facts--parking-inline {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.9rem 0.75rem;
    border-bottom: 1px solid rgba(18, 32, 51, 0.08);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: #5f6b7a;
    font-size: 0.85rem;
    font-weight: 600;
}

.fw-semibold {
    font-weight: 600;
}

@media (max-width: 900px) {
    .sticky-panel {
        position: static;
    }

    .detail-nearby-header {
        flex-direction: column;
        align-items: stretch;
    }

    .detail-nearby-actions {
        display: none;
    }

    .detail-nearby-rail {
        grid-auto-flow: row;
        grid-auto-columns: unset;
        grid-template-columns: 1fr;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .nearby-property-card {
        min-width: 0;
    }

    .main-shell-content {
        padding-top: 1.25rem;
    }

    .luxury-hero {
        min-height: auto;
        padding: 1.5rem;
        border-radius: 28px;
    }

    .trust-strip,
    .region-grid,
    .property-gallery-collage,
    .specification-grid,
    .specification-grid-compact,
    .property-card-facts,
    .location-card-grid {
        grid-template-columns: 1fr;
    }

    .property-gallery-primary,
    .property-gallery-image {
        height: 16rem;
    }

    .hero-cta-row,
    .lead-cta-panel,
    .detail-overview-header,
    .section-header,
    .summary-action-row,
    .hero-pill-row,
    .home-search-header {
        flex-direction: column;
        align-items: stretch;
    }

    .inquiry-form-grid,
    .inquiry-form-hero {
        grid-template-columns: 1fr;
    }

    .editorial-band,
    .testimonial-panel,
    .lead-cta-panel {
        padding: 1.5rem;
        border-radius: 28px;
    }
}

@media (max-width: 600px) {
    .detail-nearby-section {
        margin-top: 2.5rem;
    }

    .nearby-property-card__body {
        padding: 0.9rem;
    }

    .nearby-property-card__facts {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .nearby-property-card__chips {
        gap: 0.4rem;
    }

    .nearby-property-card__chip {
        font-size: 0.75rem;
    }
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}