:root {
    --luxe-ivory: #f5f2eb;
    --luxe-paper: #fbf8f2;
    --luxe-ink: #0f1722;
    --luxe-muted: #5c6878;
    --luxe-teal: #0d766c;
    --luxe-deep: #0a3942;
    --luxe-bronze: #b58a54;
    --luxe-border: rgba(15, 23, 42, 0.08);
    --luxe-shadow-soft: 0 24px 70px rgba(10, 18, 32, 0.08);
    --luxe-shadow-strong: 0 30px 90px rgba(10, 18, 32, 0.14);
    --luxe-frame-width: min(1480px, calc(100vw - clamp(18px, 4vw, 56px)));
}

html {
    scroll-behavior: smooth;
}

body {
    --page-bg: #f1eee7;
    --page-bg-rgb: 241, 238, 231;
    --surface: #ffffff;
    --surface-rgb: 255, 255, 255;
    --surface-muted: #f7f4ee;
    --line: rgba(15, 23, 42, 0.09);
    --text: #162231;
    --text-main: #0f1722;
    --text-soft: #5c6878;
    --brand: #0d766c;
    --brand-rgb: 13, 118, 108;
    --brand-dark: #0a3942;
    --accent: #b58a54;
    --header-bg-start: #0d141d;
    --header-bg-end: #173845;
    --header-text: #f6f7fb;
    --header-text-rgb: 246, 247, 251;
    --btn-primary-bg: #0d766c;
    --btn-primary-bg-rgb: 13, 118, 108;
    --btn-primary-text: #f6f7fb;
    --theme-radius-button: 999px;
    --shadow-soft: var(--luxe-shadow-soft);
    --shadow-strong: var(--luxe-shadow-strong);
    --radius-xl: 1.75rem;
    --radius-lg: 1.15rem;
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
}

body.section-admin,
body.section-provider,
body.section-seller,
body.route-public-dashboard,
body.route-public-wallet,
body.route-public-saved-properties {
    --page-bg: #edf2f6;
    --page-bg-rgb: 237, 242, 246;
}

body::before,
body::after {
    content: '';
    position: fixed;
    pointer-events: none;
    z-index: 0;
    filter: blur(14px);
}

body::before {
    top: -9rem;
    left: -5rem;
    width: clamp(220px, 34vw, 520px);
    height: clamp(220px, 34vw, 520px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 138, 84, 0.18), rgba(181, 138, 84, 0) 68%);
}

body::after {
    right: -7rem;
    bottom: 8rem;
    width: clamp(240px, 28vw, 460px);
    height: clamp(240px, 28vw, 460px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 118, 108, 0.16), rgba(13, 118, 108, 0) 70%);
}

.site-navbar,
.site-footer,
.site-main-shell,
.provider-landing-main {
    position: relative;
    z-index: 1;
}

a {
    color: var(--brand-dark);
    text-underline-offset: 0.18em;
}

a:hover,
a:focus {
    color: var(--brand);
}

h1,
h2,
.display-6,
.search-title,
.results-title,
.app-page-title,
.site-footer__brand,
.provider-landing-profile-name,
.property-price-display,
.dashboard-stat-card__value,
.provider-request-summary-value,
.provider-marketplace-results__count {
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: -0.04em;
}

h3,
.app-card-title,
.provider-landing-profile-headline,
.dashboard-action-card__label {
    letter-spacing: -0.02em;
}

.site-main-shell {
    max-width: var(--luxe-frame-width);
}

main.site-main-shell {
    padding-top: clamp(1rem, 1.8vw, 1.6rem);
    padding-bottom: clamp(2rem, 3vw, 3rem);
}

main.site-main-shell > .alert {
    margin-bottom: 1rem;
}

.text-muted,
.text-secondary,
.small.text-muted,
.small.text-secondary {
    color: var(--text-soft) !important;
}

.site-navbar {
    width: var(--luxe-frame-width);
    margin: clamp(12px, 2vw, 20px) auto 0;
    padding: 0.8rem 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.65rem;
    background: linear-gradient(135deg, rgba(10, 18, 30, 0.94), rgba(21, 57, 67, 0.88));
    box-shadow: 0 28px 80px rgba(6, 13, 22, 0.22);
    backdrop-filter: blur(22px) saturate(150%);
    overflow: visible;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.site-navbar::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: calc(1.65rem - 1px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 40%);
    pointer-events: none;
}

.site-navbar.is-scrolled {
    box-shadow: 0 22px 64px rgba(6, 13, 22, 0.26);
    border-color: rgba(255, 255, 255, 0.18);
}

.site-navbar__shell,
.site-footer__shell,
.site-footer__meta {
    width: min(100%, calc(100% - clamp(18px, 4vw, 44px)));
}

.site-navbar__shell {
    display: flex;
    align-items: center;
    gap: 0.9rem 1.35rem;
}

.site-navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    text-decoration: none;
}

.site-navbar__brand-badge {
    width: 54px;
    height: 54px;
    border-radius: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(181, 138, 84, 0.24));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 30px rgba(9, 18, 29, 0.25);
}

.site-navbar__brand-logo {
    max-width: 40px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-navbar__brand-initials {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.site-navbar__brand-copy {
    display: grid;
    gap: 0.18rem;
}

.site-navbar__brand-text {
    font-size: 1.22rem;
    color: #f7fafc;
}

.site-navbar__brand-meta {
    color: rgba(246, 247, 251, 0.66);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-navbar .nav-link,
.site-navbar .btn,
.site-navbar .auth-nav-btn {
    min-height: 42px;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-navbar .nav-link {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(246, 247, 251, 0.86);
    border-color: rgba(255, 255, 255, 0.06);
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.18);
}

.site-navbar .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.site-navbar .site-nav-list--public .auth-nav-btn.btn-light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 238, 0.94));
    border-color: rgba(255, 255, 255, 0.54);
    box-shadow: 0 14px 28px rgba(7, 14, 26, 0.14);
}

.site-navbar .navbar-toggler {
    width: 46px;
    height: 46px;
    padding: 0.75rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer {
    width: var(--luxe-frame-width);
    margin: clamp(2rem, 4vw, 4rem) auto 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(10, 18, 30, 0.95), rgba(22, 58, 69, 0.9));
    box-shadow: 0 28px 90px rgba(7, 14, 26, 0.18);
    overflow: hidden;
    color: #f7fafc;
}

.site-footer__shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    padding: clamp(1.6rem, 3.4vw, 2.8rem);
}

.site-footer__intro,
.site-footer__column {
    position: relative;
}

.site-footer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(246, 247, 251, 0.86);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer__brand {
    margin: 1rem 0 0.6rem;
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 0.98;
}

.site-footer__copy {
    margin: 0;
    color: rgba(246, 247, 251, 0.72);
    line-height: 1.8;
    max-width: 54ch;
}

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

.site-footer__column {
    padding: 1.15rem;
    border-radius: 1.45rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__column-title {
    margin: 0 0 0.85rem;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__link-list {
    display: grid;
    gap: 0.55rem;
}

.site-footer__link {
    color: rgba(246, 247, 251, 0.82);
    text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus {
    color: #ffffff;
}

.site-footer__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0 clamp(1.2rem, 2vw, 1.6rem);
    color: rgba(246, 247, 251, 0.62);
    font-size: 0.86rem;
    line-height: 1.6;
}

.summary-card,
.detail-card,
.property-card,
.app-card,
.provider-review-card,
.provider-service-card,
.provider-public-card,
.provider-landing-section-card,
.provider-landing-cta-card,
.provider-landing-profile-card,
.admin-action-group-card,
.dashboard-action-card,
.provider-request-summary-card,
.provider-review-summary-card,
.commission-summary-card,
.report-summary-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.56);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
        linear-gradient(135deg, rgba(13, 118, 108, 0.04), rgba(181, 138, 84, 0.03));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease, border-color 0.42s ease;
}

.summary-card::after,
.detail-card::after,
.property-card::after,
.app-card::after,
.provider-review-card::after,
.provider-service-card::after,
.provider-public-card::after,
.provider-landing-section-card::after,
.provider-landing-cta-card::after,
.provider-landing-profile-card::after,
.admin-action-group-card::after,
.dashboard-action-card::after,
.provider-request-summary-card::after,
.provider-review-summary-card::after,
.commission-summary-card::after,
.report-summary-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: radial-gradient(280px circle at var(--pointer-x, 50%) var(--pointer-y, 0%), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 62%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.summary-card > *,
.detail-card > *,
.property-card > *,
.app-card > *,
.provider-review-card > *,
.provider-service-card > *,
.provider-public-card > *,
.provider-landing-section-card > *,
.provider-landing-cta-card > *,
.provider-landing-profile-card > *,
.admin-action-group-card > *,
.dashboard-action-card > *,
.provider-request-summary-card > *,
.provider-review-summary-card > *,
.commission-summary-card > *,
.report-summary-card > * {
    position: relative;
    z-index: 1;
}

.summary-card:hover,
.summary-card:focus-within,
.detail-card:hover,
.detail-card:focus-within,
.property-card:hover,
.property-card:focus-within,
.app-card:hover,
.app-card:focus-within,
.provider-review-card:hover,
.provider-service-card:hover,
.provider-public-card:hover,
.provider-landing-section-card:hover,
.provider-landing-cta-card:hover,
.provider-landing-profile-card:hover,
.admin-action-group-card:hover,
.dashboard-action-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(13, 118, 108, 0.16);
}

.summary-card:hover::after,
.detail-card:hover::after,
.property-card:hover::after,
.app-card:hover::after,
.provider-review-card:hover::after,
.provider-service-card:hover::after,
.provider-public-card:hover::after,
.provider-landing-section-card:hover::after,
.provider-landing-cta-card:hover::after,
.provider-landing-profile-card:hover::after,
.admin-action-group-card:hover::after,
.dashboard-action-card:hover::after {
    opacity: 1;
}

.btn,
.app-button,
.google-auth-button,
.property-card-actions .btn,
.contact-action-grid .btn {
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.btn:hover,
.btn:focus,
.app-button:hover,
.app-button:focus {
    transform: translateY(-2px);
}

.btn-primary,
.app-button-primary {
    background: linear-gradient(135deg, var(--luxe-teal), var(--luxe-deep));
    border-color: rgba(10, 57, 66, 0.34);
    box-shadow: 0 16px 38px rgba(10, 57, 66, 0.18);
}

.btn-outline-primary,
.btn-outline-secondary,
.app-button-secondary {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 14px 32px rgba(10, 18, 32, 0.06);
}

.form-control,
.form-select,
textarea.form-control {
    border-radius: 1rem;
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: rgba(13, 118, 108, 0.3);
    box-shadow: 0 0 0 0.26rem rgba(13, 118, 108, 0.1), 0 14px 32px rgba(10, 18, 32, 0.06);
    background: rgba(255, 255, 255, 0.96);
}

.alert,
.app-alert {
    border-radius: 1.35rem;
    border-color: rgba(255, 255, 255, 0.56);
    box-shadow: var(--shadow-soft);
}

.page-action-row {
    gap: 0.8rem;
}

.app-page-header {
    padding: clamp(1.55rem, 2.4vw, 2.45rem);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at top right, rgba(181, 138, 84, 0.18), rgba(181, 138, 84, 0) 32%),
        linear-gradient(135deg, rgba(9, 18, 30, 0.95), rgba(19, 57, 67, 0.9));
    box-shadow: var(--shadow-strong);
}

.app-page-header::after {
    inset: auto auto -42% -8%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(13, 118, 108, 0.22), rgba(13, 118, 108, 0) 70%);
}

.app-page-header .app-page-title,
.app-page-header .app-page-subtitle,
.app-page-header .eyebrow-badge,
.app-page-header .status-pill,
.app-page-header .app-badge {
    color: #f7fafc;
}

.app-page-header .app-page-subtitle {
    color: rgba(247, 250, 252, 0.72);
}

.app-page-header .eyebrow-badge,
.app-page-header .app-badge,
.app-page-header .status-pill {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
}

.app-card-title {
    font-size: 1.12rem;
}

.app-card-subtitle {
    color: var(--text-soft);
}

.app-data-table thead th {
    background: rgba(244, 247, 249, 0.92);
}

.dashboard-action-card {
    display: grid;
    gap: 0.5rem;
    align-content: start;
    min-height: 172px;
    padding: 1.1rem;
    text-decoration: none;
}

.dashboard-action-card__label {
    color: var(--text-main);
    font-size: 1.04rem;
    font-weight: 800;
}

.dashboard-action-card__description {
    color: var(--text-soft);
    line-height: 1.65;
}

.dashboard-action-card__cta {
    margin-top: auto;
    color: var(--brand-dark);
    font-weight: 800;
}

.dashboard-stat-card__value,
.provider-request-summary-value,
.seller-count-value {
    color: var(--text-main);
    line-height: 0.92;
}

body.route-public-index .site-main-shell {
    max-width: min(1540px, calc(100vw - clamp(14px, 3vw, 40px)));
}

.map-discovery-page .map-search-page {
    padding: clamp(0.75rem, 1.8vw, 1.25rem) 0 2rem;
}

.map-discovery-page .homepage-default-banner.search-panel-card,
.map-discovery-page .search-panel-card,
.map-discovery-page .homepage-ad-slider {
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 244, 238, 0.84));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.map-discovery-page .search-panel-card {
    padding: clamp(1.2rem, 1.8vw, 1.8rem);
}

.map-discovery-page .search-panel-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
    align-items: stretch;
    gap: 1.2rem;
}

.map-discovery-page .search-panel-copy,
.map-discovery-page .search-helper {
    padding: 1.1rem 1.2rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.map-discovery-page .search-title {
    margin-top: 0.75rem;
    font-size: clamp(2.3rem, 3.5vw, 4.5rem);
    line-height: 0.94;
    max-width: 10ch;
}

.map-discovery-page .search-copy,
.map-discovery-page .search-helper,
.map-discovery-page .search-actions-copy {
    font-size: 1rem;
    line-height: 1.75;
}

.map-discovery-page .search-helper strong {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
}

.map-discovery-page .search-trust-row span {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.map-discovery-page .search-fields {
    gap: 0.9rem;
}

.map-discovery-page .search-field {
    gap: 0.45rem;
}

.map-discovery-page .search-actions {
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    border-top-color: rgba(15, 23, 42, 0.08);
}

.map-discovery-page .map-search-layout {
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 246, 248, 0.86));
    box-shadow: var(--shadow-strong);
}

.map-discovery-page .results-panel {
    padding: clamp(1.2rem, 1.6vw, 1.65rem);
    background: linear-gradient(180deg, rgba(251, 249, 245, 0.92), rgba(245, 247, 249, 0.84));
    border-right-color: rgba(15, 23, 42, 0.07);
}

.map-discovery-page .results-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1.2rem;
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

.map-discovery-page .results-pill,
.map-discovery-page .map-only-results-pill {
    background: linear-gradient(135deg, #0f1822, #17414d);
    box-shadow: 0 16px 34px rgba(10, 18, 32, 0.16);
}

.map-discovery-page .active-filter-chip {
    background: rgba(13, 118, 108, 0.08);
    border-color: rgba(13, 118, 108, 0.16);
    color: var(--brand-dark);
}

.map-discovery-page .property-list {
    gap: 1rem;
}

.map-discovery-page .property-card {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 0;
    border-radius: 1.45rem;
    cursor: pointer;
}

.map-discovery-page .property-card-media,
.map-discovery-page .property-card img,
.map-discovery-page .loading-media {
    width: 210px;
    min-height: 180px;
    height: 100%;
}

.map-discovery-page .property-card .card-body,
.map-discovery-page .loading-card .card-body {
    padding: 1.05rem 1.15rem 1.05rem 0;
}

.map-discovery-page .property-price-chip {
    top: 14px;
    left: 14px;
    background: rgba(10, 18, 30, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 30px rgba(10, 18, 32, 0.18);
}

.map-discovery-page .property-facts span {
    background: rgba(13, 118, 108, 0.06);
    border: 1px solid rgba(13, 118, 108, 0.08);
}

.map-discovery-page .map-panel {
    background: #d8e7ea;
}

.map-discovery-page #map {
    filter: saturate(1.08) contrast(1.02);
}

.map-panel__badge {
    top: 1rem;
    left: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 1.1rem;
    background: rgba(10, 18, 30, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(10, 18, 32, 0.16);
    backdrop-filter: blur(16px);
}

.property-marker {
    filter: drop-shadow(0 8px 14px rgba(10, 18, 32, 0.18));
}

.property-marker__label {
    color: #071f3f;
    -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.96);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        1px 0 0 rgba(255, 255, 255, 0.95),
        0 -1px 0 rgba(255, 255, 255, 0.95),
        -1px 0 0 rgba(255, 255, 255, 0.95),
        0 2px 3px rgba(7, 31, 63, 0.28);
}

.property-marker__pin {
    background: linear-gradient(180deg, #2274f2 0%, #0f4ab7 100%);
    box-shadow: 0 8px 16px rgba(15, 74, 183, 0.32);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background: linear-gradient(135deg, var(--luxe-teal), var(--luxe-deep));
}

.property-marker__count {
    color: #ffffff;
}

.property-marker.is-active .property-marker__label,
.property-marker.is-active .property-marker__count,
.property-popup__nav-button,
.property-popup__action {
    background: linear-gradient(135deg, #1b69e0, #0f4ab7);
}

.property-marker.is-active .property-marker__pin {
    background: linear-gradient(180deg, #3a87ff 0%, #0f4ab7 100%);
}

.property-marker.is-active .property-marker__label {
    background: transparent;
    color: #071f3f;
    -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.98);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.98),
        1px 0 0 rgba(255, 255, 255, 0.98),
        0 -1px 0 rgba(255, 255, 255, 0.98),
        -1px 0 0 rgba(255, 255, 255, 0.98),
        0 2px 3px rgba(7, 31, 63, 0.3);
}

.property-popup,
.leaflet-popup-content-wrapper {
    border-radius: 1.2rem;
}

.route-public-property .site-main-shell {
    max-width: min(1500px, calc(100vw - clamp(18px, 4vw, 46px)));
}

.property-detail-shell .detail-card,
.property-detail-shell .summary-card {
    border-radius: 1.7rem;
}

.property-gallery-stage {
    min-height: clamp(320px, 46vw, 620px);
}

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

.property-thumbnail-strip {
    gap: 0.7rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.74);
}

.property-gallery-thumb {
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.property-gallery-thumb.is-active,
.property-gallery-thumb:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 118, 108, 0.24);
    box-shadow: 0 14px 30px rgba(10, 18, 32, 0.12);
}

.property-price-display {
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--text-main);
    line-height: 0.94;
}

.property-context-note,
.booking-estimate,
.provider-inquiry-selected-service,
.provider-coming-soon,
.provider-review-empty,
.provider-service-empty-state,
.app-empty-state,
.empty-state {
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(247, 244, 238, 0.74), rgba(255, 255, 255, 0.9));
}

.property-feature-grid {
    gap: 0.85rem;
}

.property-feature-pill {
    padding: 1rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(247, 244, 238, 0.72);
}

.property-feature-pill strong {
    font-size: 1.15rem;
}

.amenity-grid,
.contact-action-grid {
    gap: 0.75rem;
}

.contact-action-grid {
    display: grid;
}

.booking-sidebar {
    position: sticky;
    top: calc(104px + 1rem);
}

.favorite-toggle-btn {
    min-height: 3rem;
    width: 100%;
}

.auth-page-shell .summary-card,
.route-admin-login .login-card {
    border-radius: 2rem;
}

.route-public-login main.site-main-shell,
.route-public-register main.site-main-shell,
.route-public-register-provider main.site-main-shell,
.route-provider-login main.site-main-shell,
.route-admin-login main.site-main-shell {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

body.auth-page--landing-context.route-public-login main.site-main-shell,
body.auth-page--landing-context.route-public-register main.site-main-shell {
    min-height: 100vh;
    display: block;
    align-items: initial;
}

.auth-hero-card {
    background: linear-gradient(160deg, rgba(9, 18, 30, 0.96), rgba(20, 66, 74, 0.9));
    color: #ffffff;
}

.auth-hero-card .eyebrow-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.auth-hero-card .text-secondary,
.auth-hero-card .credential-label,
.auth-hero-card .auth-feature-list,
.auth-hero-card a {
    color: rgba(247, 250, 252, 0.78) !important;
}

.auth-hero-card a:hover,
.auth-hero-card a:focus {
    color: #ffffff !important;
}

.login-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 239, 0.88));
}

.auth-divider {
    position: relative;
    text-align: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 0.9rem;
    background: rgba(248, 245, 239, 0.96);
}

.provider-marketplace-page,
.provider-profile-page {
    gap: 1.75rem;
}

.provider-marketplace-hero,
.provider-profile-hero {
    background: linear-gradient(135deg, rgba(9, 18, 30, 0.95), rgba(20, 66, 74, 0.9));
    color: #ffffff;
}

.provider-marketplace-hero .text-muted,
.provider-profile-hero .text-muted,
.provider-profile-hero .provider-service-area,
.provider-profile-hero .provider-public-card__eyebrow {
    color: rgba(247, 250, 252, 0.74) !important;
}

.provider-public-grid,
.provider-profile-services-grid,
.provider-landing-public-summary-grid {
    gap: 1.2rem;
}

.provider-public-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.provider-public-card .card-body,
.provider-profile-section .card-body,
.provider-profile-hero .card-body {
    padding: clamp(1.15rem, 2vw, 1.55rem);
}

.provider-rating-chip {
    background: rgba(13, 118, 108, 0.08);
    border-color: rgba(13, 118, 108, 0.16);
    color: var(--brand-dark);
}

.provider-service-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 1rem;
}

body.provider-landing-public {
    --page-bg: #e9e3d8;
    --page-bg-rgb: 233, 227, 216;
}

.provider-landing-cover {
    min-height: clamp(300px, 40vw, 460px);
    border-radius: 0 0 2.5rem 2.5rem;
}

.provider-landing-shell {
    width: min(100%, calc(100% - clamp(12px, 3vw, 28px)));
    margin-top: -7.4rem;
}

.provider-landing-profile-card,
.provider-landing-section-card,
.provider-landing-cta-card,
.provider-landing-public__unavailable-card {
    border-radius: 1.8rem;
}

.provider-landing-profile-card__body {
    gap: clamp(1.2rem, 2vw, 2rem);
    align-items: end;
}

.provider-landing-profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.provider-landing-stat-card {
    background: rgba(255, 255, 255, 0.76);
}

.provider-landing-public-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 380px);
    gap: clamp(1rem, 2vw, 1.75rem);
    align-items: start;
}

.provider-landing-inquiry {
    top: calc(104px + 1rem);
}

.provider-landing-powered-by {
    margin-top: 1.25rem;
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.provider-inquiry-form {
    background: rgba(255, 255, 255, 0.74);
}

[data-ui-reveal] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition-delay: 0s !important;
}

[data-ui-reveal].is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

body.js-ready [data-ui-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--ui-delay, 0ms);
}

body.js-ready [data-ui-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

body.js-ready .site-navbar,
body.js-ready .site-footer {
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-ready .site-navbar,
body.page-ready .site-footer {
    opacity: 1;
    transform: none;
}

@media (max-width: 991.98px) {
    .site-navbar,
    .site-footer,
    .site-main-shell {
        width: min(100%, calc(100% - 1rem));
    }

    .site-navbar {
        border-radius: 1.4rem;
    }

    .site-navbar__collapse {
        margin-top: 0.7rem;
        padding: 0.85rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 1.25rem;
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(16px);
    }

    .site-footer__shell,
    .site-footer__meta,
    .site-navbar__shell {
        width: calc(100% - 1.25rem);
    }

    .site-footer__shell,
    .site-footer__links,
    .provider-landing-public-layout,
    .provider-landing-profile-card__body,
    .provider-landing-profile-stats,
    .app-grid-2,
    .app-grid-3,
    .app-grid-4 {
        grid-template-columns: 1fr;
    }

    .app-page-header {
        gap: 1.1rem;
    }

    .page-action-row {
        width: 100%;
    }

    .page-action-row .btn,
    .page-action-row form {
        flex: 1 1 100%;
    }

    .provider-landing-shell {
        margin-top: -5.8rem;
    }

    .provider-landing-cover {
        min-height: clamp(220px, 58vw, 300px);
        border-radius: 0 0 1.85rem 1.85rem;
    }

    .provider-landing-avatar {
        transform: translateY(-2.5rem);
        margin-bottom: -2.5rem;
    }

    .provider-landing-profile-actions {
        width: 100%;
        flex-direction: column;
    }

    .provider-landing-profile-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 899.98px) {
    .map-discovery-page .search-panel-intro {
        grid-template-columns: 1fr;
    }

    .map-discovery-page .mobile-view-toggle {
        position: fixed;
        left: 50%;
        bottom: 1rem;
        transform: translateX(-50%);
        width: min(360px, calc(100vw - 1rem));
        margin: 0;
        padding: 0.4rem;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 999px;
        background: rgba(10, 18, 30, 0.86);
        box-shadow: 0 22px 54px rgba(7, 14, 26, 0.26);
        backdrop-filter: blur(18px);
        z-index: 1105;
    }

    .map-discovery-page .mobile-view-toggle .btn {
        min-height: 44px;
    }

    body.route-public-index {
        padding-bottom: 5.5rem;
    }

    .map-discovery-page .results-panel,
    .map-discovery-page .map-panel {
        border-radius: 1.7rem;
    }

    .map-discovery-page .property-card,
    .map-discovery-page .loading-card {
        grid-template-columns: 1fr;
    }

    .map-discovery-page .property-card-media,
    .map-discovery-page .property-card img,
    .map-discovery-page .loading-media {
        width: 100%;
        min-height: 230px;
    }

    .map-discovery-page .property-card .card-body,
    .map-discovery-page .loading-card .card-body {
        padding: 1rem;
    }

    .ai-chatbot-shell {
        bottom: calc(var(--ai-chatbot-edge-offset) + 5rem);
    }
}

@media (max-width: 767.98px) {
    .site-navbar,
    .site-footer,
    .site-main-shell {
        width: min(100%, calc(100% - 0.75rem));
    }

    .site-navbar__brand-badge {
        width: 48px;
        height: 48px;
        border-radius: 1rem;
    }

    .site-navbar__brand-text {
        font-size: 1.08rem;
    }

    .site-footer__meta {
        flex-direction: column;
    }

    .app-page-header {
        padding: 1.3rem;
        border-radius: 1.55rem;
    }

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

    .booking-sidebar,
    .provider-landing-inquiry {
        position: static;
    }

    .route-public-login main.site-main-shell,
    .route-public-register main.site-main-shell,
    .route-public-register-provider main.site-main-shell,
    .route-provider-login main.site-main-shell,
    .route-admin-login main.site-main-shell {
        display: block;
        min-height: 0;
    }

    body.auth-page--landing-context.route-public-login main.site-main-shell,
    body.auth-page--landing-context.route-public-register main.site-main-shell {
        min-height: 100vh;
    }

    .auth-page-shell {
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    body.js-ready [data-ui-reveal],
    body.js-ready .site-navbar,
    body.js-ready .site-footer {
        opacity: 1 !important;
        transform: none !important;
    }
}
