/*
 * App-wide layout & page sections.
 * Design tokens: wwwroot/css/tokens.css
 * Property cards: wwwroot/css/components/property-cards.css
 */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keeps footer at the viewport bottom while @Body is empty (e.g. interactive pages with prerender off). */
.site-body-stack {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.site-body-stack > main {
    flex: 1 0 auto;
}

html, body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

/* Programmatic focus (e.g. navigation helpers) should not flash a box on headings */
h1:focus:not(:focus-visible),
h2:focus:not(:focus-visible),
h3:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* ────────────────────────────────────────────
   HERO SECTION
──────────────────────────────────────────── */
.hero-page-top {
    position: relative;
}

.hero-section {
    min-height: 100vh;
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 90px;
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero-section--compact {
    min-height: 0;
    min-height: min(52vh, 520px);
    padding-top: 100px;
    padding-bottom: 5.5rem;
    align-items: flex-end;
}

/*
 * Hero texture: parallel diagonal dashes (not a square grid), low contrast.
 * Two offset layers in one tile for subtle stagger.
 */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M-8 52 52 -8' stroke='rgba(255,255,255,0.07)' stroke-width='1.1' fill='none' stroke-linecap='round' stroke-dasharray='3.5 18'/%3E%3Cpath d='M-8 32 32 -8' stroke='rgba(255,255,255,0.055)' stroke-width='1' fill='none' stroke-linecap='round' stroke-dasharray='3.5 18' stroke-dashoffset='11'/%3E%3C/svg%3E");
    background-size: 44px 44px;
}

.hero-section:not(.hero-section--compact)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.3);
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-on-dark);
    margin-bottom: 1.2rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 500;
    color: var(--white);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.hero-section--compact .hero-title {
    font-size: clamp(2.1rem, 4.5vw, 3.35rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.55);
    max-width: 540px;
    margin: 0 auto 2.8rem;
    line-height: 1.85;
    font-weight: 300;
}

.hero-section--compact .hero-subtitle.hero-subtitle--narrow {
    margin-bottom: 0;
}

.hero-search-bridge {
    position: relative;
    z-index: 6;
    margin-top: clamp(-5.5rem, -9vw, -4rem);
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-search-bridge .container {
    max-width: 1040px;
}

.section-properties--after-float {
    padding-top: 2.5rem !important;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    background: var(--interactive);
    color: var(--black);
    text-decoration: none;
    padding: 0.9rem 2.6rem;
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
}

.hero-cta:hover {
    background: var(--interactive-hover);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.25);
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ────────────────────────────────────────────
   SECTION COMMON
──────────────────────────────────────────── */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-family: var(--font-sans);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 0;
    letter-spacing: 0.02em;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.section-eyebrow-red {
    font-family: var(--font-sans);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

.section-eyebrow--on-light {
    font-family: var(--font-sans);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

/* Our Services (between Properties & Featured projects) */
.section-services {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.service-card {
    position: relative;
    padding: 1.65rem 1.45rem;
    background: linear-gradient(168deg, #ffffff 0%, var(--bg-cream) 100%);
    border: 1px solid rgba(26, 26, 26, 0.065);
    border-radius: calc(var(--radius) + 2px);
    transition: transform 0.32s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.32s ease, border-color 0.28s ease;
    box-shadow: 0 6px 22px rgba(26, 26, 26, 0.05);
}

.service-card:hover {
    border-color: rgba(93, 100, 112, 0.22);
    transform: translateY(-5px);
    box-shadow: 0 16px 42px rgba(26, 26, 26, 0.1);
}

.service-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(90, 98, 114, 0.1);
    color: var(--charcoal);
}

.service-card-icon i {
    font-size: 1.4rem;
    line-height: 1;
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.22rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.72rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.service-card-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.78;
    font-weight: 400;
    color: var(--charcoal-3);
    margin: 0;
}

.service-card-text .lang-note {
    display: block;
    font-weight: 700;
    color: var(--accent-deep);
    margin-bottom: 0.42rem;
    font-size: 0.93rem;
    letter-spacing: 0.01em;
}

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

.bg-section-gray { background: var(--bg-cream) !important; }

/* ────────────────────────────────────────────
   PROPERTY CATEGORIES
──────────────────────────────────────────── */
.section-categories {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.categories-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.3rem 1.5rem;
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    min-width: 108px;
    color: var(--charcoal-3);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--charcoal-2);
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--charcoal-2);
    background: var(--accent-surface);
    color: var(--accent-deep);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.category-btn:hover .category-icon-wrap,
.category-btn.active .category-icon-wrap {
    background: var(--accent-surface-strong);
    color: var(--accent-deep);
}

.category-label { line-height: 1; }

/* ────────────────────────────────────────────
   VIEW ALL LINK
──────────────────────────────────────────── */
.view-all-link {
    color: var(--accent-deep);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
    white-space: nowrap;
    border-bottom: 1px solid rgba(92, 100, 112, 0.35);
    padding-bottom: 2px;
}

.view-all-link:hover {
    color: var(--black);
    gap: 0.65rem;
    border-bottom-color: var(--charcoal-2);
}

/* ────────────────────────────────────────────
   EMPTY STATE
──────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.2;
    color: var(--charcoal-2);
}

.empty-state p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.75;
    font-weight: 300;
    color: var(--text-muted);
}

/* ────────────────────────────────────────────
   ABOUT SECTION
──────────────────────────────────────────── */
.section-about {
    background: var(--black);
    color: var(--white);
}

.about-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.4rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.why-item:hover {
    background: var(--accent-pale-dark);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.why-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-on-dark);
}

.why-label {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.85);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.2rem 1.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: var(--accent-pale-dark);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--accent-on-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 0.74rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ────────────────────────────────────────────
   TESTIMONIALS
──────────────────────────────────────────── */
.section-testimonials { background: var(--bg-cream); }

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,0,0,0.15);
}

.testimonial-stars {
    color: var(--accent-soft);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.1rem;
    opacity: 0.9;
}

.testimonial-text {
    font-family: var(--font-serif);
    color: var(--charcoal-2);
    font-size: 1.08rem;
    line-height: 1.75;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, #5a616d, #2f343d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-name {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.author-role {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ────────────────────────────────────────────
   VISIT US — luxury location + map
──────────────────────────────────────────── */
.section-visit--luxury {
    position: relative;
    background: var(--bg-cream);
    color: var(--text-dark);
    overflow: hidden;
}

.section-visit__intro {
    position: relative;
    z-index: 1;
    padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(2rem, 4vw, 3rem);
    color: var(--white);
    background: linear-gradient(180deg, var(--black) 0%, #141414 72%, #1a1a1a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
}

.section-visit__intro::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 52 52'%3E%3Cpath d='M-4 54 54 -4' stroke='rgba(255,255,255,0.035)' stroke-width='1' fill='none' stroke-linecap='round' stroke-dasharray='2 22'/%3E%3C/svg%3E");
    background-size: 52px 52px;
    opacity: 0.85;
}

.section-visit__intro > .container {
    position: relative;
    z-index: 1;
}

.section-visit__header {
    max-width: 640px;
    margin: 0 auto;
}

.section-visit__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-on-dark);
    margin: 0 0 0.9rem;
}

.section-visit__title {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 3.5vw, 2.65rem);
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.section-visit__rule {
    width: 56px;
    height: 1px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(90deg, transparent, rgba(233, 236, 241, 0.55), transparent);
}

.section-visit__lead {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.52);
    margin: 0;
    letter-spacing: 0.02em;
}

.section-visit__panel {
    max-width: 720px;
    margin: clamp(2rem, 4vw, 2.75rem) auto 0;
}

.section-visit__panel-inner {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    align-items: center;
    text-align: center;
    padding: clamp(1.75rem, 3.5vw, 2.25rem) clamp(1.5rem, 4vw, 2.5rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.section-visit__marker {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--accent-on-dark);
    font-size: 1.25rem;
}

.section-visit__panel-body {
    width: 100%;
}

.section-visit__label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    margin: 0 0 0.6rem;
}

.section-visit__address {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2.1vw, 1.22rem);
    font-style: normal;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.35rem;
    letter-spacing: 0.01em;
}

.section-visit__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.section-visit__btn {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.25rem;
    border-radius: 2px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.section-visit__btn i {
    font-size: 1rem;
    opacity: 0.92;
}

.section-visit__btn--primary {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.section-visit__btn--primary:hover {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}

.section-visit__btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.22);
}

.section-visit__btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.section-visit__map-shell {
    position: relative;
    z-index: 1;
    padding: 0 0 clamp(2.5rem, 5vw, 3.75rem);
    background: var(--bg-cream);
}

.section-visit__map-shell::before {
    content: '';
    display: block;
    height: 1px;
    max-width: min(1100px, 92vw);
    margin: 0 auto 1.75rem;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.section-visit__map-frame {
    max-width: min(1100px, 92vw);
    margin: 0 auto;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(26, 26, 26, 0.1);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.section-visit__map-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    border-radius: inherit;
}

.section-visit__map {
    display: block;
    width: 100%;
    min-height: clamp(280px, 42vw, 440px);
    height: clamp(280px, 42vw, 440px);
    border: 0;
    filter: saturate(1.02) contrast(1.02);
}

@media (min-width: 992px) {
    .section-visit__panel-inner {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .section-visit__marker {
        flex-shrink: 0;
    }

    .section-visit__actions {
        justify-content: flex-start;
    }
}

/* ────────────────────────────────────────────
   OUR PARTNERS — dark luxury rail + marquee
──────────────────────────────────────────── */
.section-partners {
    overflow: hidden;
}

.section-partners--luxury {
    position: relative;
    background: var(--charcoal);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Subtle diagonal texture (same language as hero, lower contrast). */
.section-partners--luxury::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M-8 52 52 -8' stroke='rgba(255,255,255,0.06)' stroke-width='1.1' fill='none' stroke-linecap='round' stroke-dasharray='3.5 18'/%3E%3Cpath d='M-8 32 32 -8' stroke='rgba(255,255,255,0.045)' stroke-width='1' fill='none' stroke-linecap='round' stroke-dasharray='3.5 18' stroke-dashoffset='11'/%3E%3C/svg%3E");
    background-size: 44px 44px;
}

.section-partners--luxury::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: min(420px, 72%);
    height: 160px;
    pointer-events: none;
    background: radial-gradient(
        ellipse 80% 70% at 50% 0%,
        rgba(233, 236, 241, 0.09) 0%,
        transparent 72%
    );
}

.section-partners__inner {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2rem, 4vw, 3rem);
}

.section-partners__header {
    margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.section-partners__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--accent-on-dark);
    margin: 0 0 0.85rem;
}

.section-partners__title {
    font-family: var(--font-serif);
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.015em;
    line-height: 1.18;
    margin: 0 auto 0.65rem;
    max-width: 520px;
}

.section-partners__lead {
    font-family: var(--font-sans);
    font-size: 0.94rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.48);
    margin: 0 auto;
    max-width: 520px;
    letter-spacing: 0.03em;
}

.partners-logos-marquee {
    overflow: visible;
}

.partners-logos-marquee .logos-wrapper {
    overflow: hidden;
    position: relative;
    padding-block: 0.15rem;
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 min(80px, 10%),
        #000 calc(100% - min(80px, 10%)),
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 min(80px, 10%),
        #000 calc(100% - min(80px, 10%)),
        transparent 100%
    );
}

/* Soft moving highlight behind the strip (very low key). */
.partners-logos-marquee .logos-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        95deg,
        transparent 0%,
        rgba(255, 255, 255, 0.035) 45%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.035) 55%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: partnersMarqueeSheen 14s ease-in-out infinite;
}

@keyframes partnersMarqueeSheen {
    0%, 100% { background-position: 120% 0; }
    50%      { background-position: -20% 0; }
}

.partners-logos-marquee .logos-track {
    display: flex;
    align-items: center;
    gap: clamp(1.1rem, 2.8vw, 1.85rem);
    width: max-content;
    animation: scrollPartnersLogos 44s linear infinite;
    will-change: transform;
}

.partners-logos-marquee .logos-track:hover {
    animation-play-state: paused;
}

@keyframes scrollPartnersLogos {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .partners-logos-marquee .logos-wrapper::before {
        animation: none;
        opacity: 0;
    }

    .partners-logos-marquee .logos-track {
        animation: none;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        gap: 1rem;
    }
}

.section-partners--luxury .partner-logo.partner-logo--marquee {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: clamp(132px, 16vw, 172px);
    height: clamp(64px, 8.5vw, 76px);
    padding: 0.65rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: calc(var(--card-radius-property, 14px));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform 0.38s cubic-bezier(0.33, 1, 0.68, 1),
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.35s ease;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 12px 36px rgba(0, 0, 0, 0.18);
}

.section-partners--luxury .partner-brand-img {
    display: block;
    width: auto;
    height: auto;
    max-height: min(36px, 6vh);
    max-width: min(108px, 76%);
    margin: auto;
    object-fit: contain;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
    opacity: 0.62;
    /* simple-icons are dark fills; invert for on-charcoal readability */
    filter: grayscale(1) brightness(0) invert(1);
    transition:
        opacity 0.28s ease,
        filter 0.32s ease,
        transform 0.38s cubic-bezier(0.33, 1, 0.68, 1);
}

.section-partners--luxury .partner-logo.partner-logo--marquee:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 18px 44px rgba(0, 0, 0, 0.28);
}

.section-partners--luxury .partner-logo.partner-logo--marquee:hover .partner-brand-img {
    opacity: 0.95;
    filter: grayscale(0) brightness(0) invert(1);
    transform: scale(1.05);
}

@media (hover: none) {
    .section-partners--luxury .partner-logo.partner-logo--marquee:active .partner-brand-img {
        opacity: 0.9;
        filter: grayscale(0) brightness(0) invert(1);
        transform: scale(1.03);
    }
}

.section-partners--luxury .partners-footnote {
    font-family: var(--font-sans);
    font-size: 0.76rem !important;
    line-height: 1.65;
    max-width: 560px;
    margin: clamp(1.5rem, 3vw, 2rem) auto 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.38);
    letter-spacing: 0.03em;
}

/* ────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 4.5rem 0 2.5rem;
    --footer-social-accent: #8b2d3e;
    --footer-social-accent-hover: #a63d52;
}

.footer-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-family: var(--font-sans);
    color: rgba(255,255,255,0.38);
    font-size: 0.83rem;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.06em;
}

/* Social — white tiles + wine icons (reference layout), aligned with dark footer */

.footer-social-nav {
    margin-top: 1.45rem;
}

.footer-social-col .footer-social-nav {
    margin-top: 0;
}

@media (min-width: 992px) {
    .footer-social-col .footer-heading {
        text-align: right;
    }

    .footer-social-col .footer-social-list {
        justify-content: flex-end;
    }
}

.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.footer-social-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--white);
    text-decoration: none;
    color: var(--footer-social-accent);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 3px 11px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.35s cubic-bezier(0.33, 1, 0.68, 1),
        box-shadow 0.32s ease,
        color 0.28s ease;
}

.footer-social-tile__icon {
    font-size: 1rem;
    line-height: 1;
}

.footer-social-tile__img {
    display: block;
    width: 20px;
    height: 20px;
    max-width: 62%;
    max-height: 62%;
    object-fit: contain;
}

.footer-social-tile:hover {
    color: var(--footer-social-accent-hover);
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 22px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.12);
}

.footer-social-tile:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 3px;
}

.footer-social-tile--inactive {
    cursor: default;
    opacity: 0.72;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 3px 10px rgba(0, 0, 0, 0.12);
}

.footer-social-tile--inactive:hover {
    transform: none;
    color: var(--footer-social-accent);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 3px 10px rgba(0, 0, 0, 0.12);
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.55rem; }

.footer-links a {
    font-family: var(--font-sans);
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.87rem;
    font-weight: 400;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.55);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-contact-item i {
    color: var(--accent-on-dark);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-divider {
    border-color: rgba(255,255,255,0.07);
    margin: 2.5rem 0 1.5rem;
}

.footer-copy {
    font-family: var(--font-sans);
    color: rgba(255,255,255,0.25);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.footer-powered {
    font-family: var(--font-sans);
    color: rgba(255,255,255,0.25);
    font-size: 0.76rem;
}

.footer-powered a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.footer-powered a:hover {
    color: var(--accent-on-dark);
    text-decoration: underline;
}

/* ────────────────────────────────────────────
   UNITS LISTING PAGE
──────────────────────────────────────────── */
.page-units {
    background: var(--bg-cream);
}

/* Simple listing header (Units / Projects) — breathing room below fixed navbar */
.page-listing-head {
    background: #f4f3f1;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
    /* Nav ~74–80px + extra gap so breadcrumb doesn’t sit flush under the bar */
    padding: calc(80px + 1.75rem) 0 1.15rem;
}

.page-listing-head__crumb {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.45rem;
}

.page-listing-head__crumb-link {
    color: var(--accent-deep);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.page-listing-head__crumb-link:hover {
    color: var(--accent-deep);
    text-decoration: underline;
}

.page-listing-head__crumb-sep {
    color: #8a8f98;
    font-weight: 400;
    user-select: none;
}

.page-listing-head__crumb-current {
    color: #1a1a1a;
    font-weight: 700;
}

.page-listing-head__title {
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 3.6vw, 2.05rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: #141414;
    margin: 0 0 0.4rem;
}

.page-listing-head__subtitle {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
    max-width: 36rem;
    line-height: 1.5;
}

.page-units-body {
    position: relative;
}

.page-units-body > .container.page-units-body__wrap {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.page-units-toolbar {
    position: relative;
    z-index: 1;
    background: var(--bg-white);
    border: 1px solid rgba(26, 26, 26, 0.06);
    border-radius: 3px;
    box-shadow:
        0 2px 4px rgba(26, 26, 26, 0.04),
        0 16px 40px rgba(26, 26, 26, 0.06);
    padding: clamp(1.35rem, 2.6vw, 1.75rem) clamp(1.25rem, 2.5vw, 2rem);
    overflow: visible;
}

.page-units-toolbar__head {
    margin-bottom: 1.35rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-light);
}

.page-units-toolbar__title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 0.35rem;
    letter-spacing: -0.015em;
}

.page-units-toolbar__hint {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.02em;
    max-width: 42rem;
}

.page-units-chips-scroll {
    overflow-x: auto;
    margin-bottom: 1.35rem;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.page-units-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.55rem;
    min-height: 2.5rem;
}

.page-units-chip {
    flex: 0 0 auto;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    padding: 0.68rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 26, 26, 0.12);
    background: var(--bg-cream);
    color: var(--charcoal-3);
    transition: var(--transition);
    cursor: pointer;
}

.page-units-chip:hover {
    border-color: rgba(90, 98, 114, 0.35);
    background: var(--white);
}

.page-units-chip--active {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.page-units-chip--active:hover {
    background: var(--charcoal-2);
    color: var(--white);
    border-color: var(--charcoal-2);
}

.page-units-filters {
    margin-top: 0.25rem;
    overflow: visible;
}

.page-units-filters .row {
    overflow: visible;
}

.page-units-filters .row > [class*="col-"] {
    overflow: visible;
}

.page-units-filters .hero-search-field-wrap--light:has(.hero-luxury-select--open) {
    position: relative;
    z-index: 48;
}

.page-units-luxury-field {
    height: 100%;
}

.page-units-field-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.page-units-search {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    border-radius: 2px;
    border: 1px solid rgba(26, 26, 26, 0.12);
    background: var(--bg-white);
    min-height: 2.65rem;
}

.page-units-search:focus,
.page-units-search:focus-visible {
    border-color: rgba(90, 98, 114, 0.45) !important;
    box-shadow: 0 0 0 3px var(--accent-surface) !important;
    outline: none !important;
}

.page-units-btn {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.72rem 1.2rem;
    border-radius: 2px;
    min-width: 5.5rem;
}

.page-units-btn--primary {
    background: var(--charcoal);
    color: var(--white);
    border: 1px solid var(--charcoal);
}

.page-units-btn--primary:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.page-units-btn--ghost {
    background: transparent;
    color: var(--charcoal-3);
    border: 1px solid rgba(26, 26, 26, 0.16);
}

.page-units-btn--ghost:hover {
    border-color: rgba(26, 26, 26, 0.3);
    background: var(--bg-cream);
    color: var(--text-dark);
}

.page-units-count {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.page-units-count strong {
    color: var(--text-dark);
    font-weight: 600;
}

.page-units-empty,
.page-units-status {
    margin-top: 1rem;
}

/* ────────────────────────────────────────────
   LISTING DETAIL (property / project)
──────────────────────────────────────────── */
.page-listing-detail {
    background: var(--bg-cream);
    min-height: 50vh;
}

.listing-detail-status {
    padding-top: calc(80px + 2rem) !important;
}

.listing-detail-hero {
    position: relative;
    min-height: clamp(280px, 42vw, 520px);
    display: flex;
    align-items: flex-end;
    padding: calc(80px + 2.25rem) 0 2.75rem;
    background-color: #1a1c1f;
    background-image: linear-gradient(120deg, rgba(14, 15, 18, 0.88) 0%, rgba(14, 15, 18, 0.55) 42%, rgba(14, 15, 18, 0.25) 100%),
        var(--listing-hero-bg);
    background-size: cover;
    background-position: center;
}

.listing-detail-hero--project {
    min-height: clamp(300px, 44vw, 560px);
}

.listing-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 9, 11, 0.92) 0%,
        rgba(8, 9, 11, 0.35) 55%,
        rgba(8, 9, 11, 0.2) 100%
    );
    pointer-events: none;
}

.listing-detail-hero__inner {
    position: relative;
    z-index: 1;
}

.listing-detail-hero__crumb {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.listing-detail-hero__crumb a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.listing-detail-hero__crumb a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.45);
}

.listing-detail-hero__crumb-sep {
    opacity: 0.45;
    user-select: none;
}

.listing-detail-hero__crumb-current {
    color: #fff;
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.listing-detail-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.listing-detail-badge {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.listing-detail-badge--ok {
    background: rgba(72, 142, 108, 0.35);
    border-color: rgba(123, 209, 159, 0.55);
    color: #dff7e8;
}

.listing-detail-badge--muted {
    background: rgba(180, 140, 70, 0.28);
    border-color: rgba(230, 198, 120, 0.45);
    color: #fff4dd;
}

.listing-detail-badge--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
}

.listing-detail-badge--accent {
    background: rgba(123, 140, 180, 0.35);
    border-color: rgba(170, 190, 235, 0.5);
    color: #eef2ff;
}

.listing-detail-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.15rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #fff;
    margin: 0 0 0.65rem;
    max-width: 20ch;
}

.listing-detail-hero__location {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    max-width: 40rem;
    line-height: 1.5;
}

.listing-detail-hero__location .bi {
    margin-top: 0.2rem;
    opacity: 0.85;
}

.listing-detail-hero__facts {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
}

.listing-detail-hero__facts li {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.listing-detail-hero__facts .bi {
    opacity: 0.8;
}

.listing-detail-hero__facts strong {
    font-weight: 700;
    color: #fff;
}

.listing-detail-body {
    margin-top: -2.5rem;
    position: relative;
    z-index: 2;
    padding-bottom: 3.5rem;
}

.listing-detail-panel {
    background: var(--bg-white);
    border: 1px solid rgba(26, 26, 26, 0.07);
    border-radius: 3px;
    box-shadow:
        0 2px 4px rgba(26, 26, 26, 0.04),
        0 22px 50px rgba(26, 26, 26, 0.08);
    padding: clamp(1rem, 2vw, 1.35rem);
    margin-bottom: 1.25rem;
}

.listing-detail-panel--prose {
    padding: clamp(1.35rem, 2.4vw, 2rem);
}

.listing-detail-main-media {
    border-radius: 2px;
    overflow: hidden;
    background: #e8e6e2;
}

.listing-detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.listing-detail-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.listing-detail-thumb {
    border: none;
    padding: 0;
    border-radius: 2px;
    overflow: hidden;
    width: 5.25rem;
    height: 3.5rem;
    cursor: pointer;
    opacity: 0.72;
    transition: var(--transition);
    box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.12);
}

.listing-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.listing-detail-thumb:hover {
    opacity: 1;
}

.listing-detail-thumb--active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--charcoal), 0 6px 16px rgba(0, 0, 0, 0.15);
}

.listing-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.listing-detail-tag-chip {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: var(--bg-white);
    border: 1px solid rgba(26, 26, 26, 0.1);
    color: var(--charcoal-3);
}

.listing-detail-lead {
    border-left: 3px solid var(--charcoal);
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.listing-detail-section-title {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin: 0 0 1rem;
}

.listing-detail-prose {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    line-height: 1.75;
    color: #3a3f47;
}

.listing-detail-prose--lead {
    font-size: 1.05rem;
    color: #2f343c;
}

.listing-detail-prose :is(p, ul, ol) {
    margin-bottom: 0.85rem;
}

.listing-detail-prose :is(h1, h2, h3) {
    font-family: var(--font-serif);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.listing-detail-aside {
    position: sticky;
    top: calc(74px + 1rem);
}

.listing-detail-price-card {
    background: linear-gradient(145deg, #24272c 0%, #121418 100%);
    color: #fff;
    padding: 1.6rem 1.5rem 1.5rem;
    border-radius: 3px;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.listing-detail-price-card--from .listing-detail-price-caption {
    letter-spacing: 0.14em;
}

.listing-detail-price-caption {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 0.4rem;
}

.listing-detail-price-main {
    font-family: var(--font-serif);
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

.listing-detail-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.listing-detail-spec-grid--single {
    grid-template-columns: 1fr;
}

.listing-detail-spec-tile {
    background: var(--bg-white);
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 3px;
    padding: 0.85rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    position: relative;
    padding-left: 2.35rem;
    min-height: 4.25rem;
    box-shadow: 0 6px 14px rgba(26, 26, 26, 0.05);
}

.listing-detail-spec-tile .bi {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.05rem;
    color: var(--accent-deep);
    opacity: 0.85;
}

.listing-detail-spec-tile--wide {
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.listing-detail-spec-label {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.listing-detail-spec-value {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.listing-detail-cta {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.95rem 1.25rem;
    border-radius: 2px;
    background: var(--charcoal) !important;
    color: #fff !important;
    border: 1px solid var(--charcoal) !important;
    margin-bottom: 0.85rem;
    transition: var(--transition);
}

.listing-detail-cta:hover {
    background: var(--black) !important;
    border-color: var(--black) !important;
    color: #fff !important;
}

.listing-detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--accent-deep);
    text-decoration: none;
    transition: var(--transition);
}

.listing-detail-back-link:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .listing-detail-aside {
        position: static;
    }

    .listing-detail-body {
        margin-top: 0;
        padding-top: 1.25rem;
    }

    .listing-detail-hero__title {
        max-width: none;
    }
}

/* ────────────────────────────────────────────
   BLAZOR ERROR UI
──────────────────────────────────────────── */
#blazor-error-ui {
    background: #fffff0;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,0.18);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
    font-size: 0.85rem;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 991px) {
    .why-grid   { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .hero-section   { padding-top: 100px; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .why-grid       { grid-template-columns: 1fr 1fr; }
    .categories-grid { gap: 0.65rem; }
    .category-btn   { min-width: 90px; padding: 1rem 1rem; }
}

@media (max-width: 480px) {
    .why-grid   { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 2.4rem; }
}
