[x-cloak] { display: none !important; }

:root {
    --white: #ffffff;
    --off-white: #fafafa;
    --soft: #f5f5f5;
    --border: #eeeeee;
    --border-light: #f0f0f0;
    --text: #111111;
    --text-muted: #666666;
    --text-light: #999999;
    --gold: #b8975a;
    --gold-light: #d4bc8a;
    --gold-pale: #f7f3eb;
    --shadow-sm: 0 2px 16px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
    --shadow-hover: 0 24px 48px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
    background: var(--white);
    color: var(--text);
}

/* ── Typography accents ── */
.gold-line {
    width: 48px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

/* ── Buttons ── */
.btn-gold {
    background: var(--gold);
    color: #fff;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.btn-gold:hover {
    background: #a6854a;
    box-shadow: 0 8px 24px rgba(184,151,90,0.35);
    transform: translateY(-1px);
}

.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--text);
    background: var(--white);
    transition: all 0.3s ease;
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ── Cards ── */
.card-white {
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.3s ease;
}
.card-white:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(184,151,90,0.25);
}

.listing-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.4s ease;
}
.listing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.listing-card .card-img {
    transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.listing-card:hover .card-img {
    transform: scale(1.05);
}

/* ── Category blocks (white editorial) ── */
.category-block {
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
    overflow: hidden;
}
.category-block:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.category-block:hover .category-img {
    transform: scale(1.06);
}
.category-block:hover .category-arrow {
    transform: translateX(6px);
    color: var(--gold);
}

/* ── Search bar ── */
.search-box {
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.search-box:focus-within {
    border-color: rgba(184,151,90,0.4);
    box-shadow: 0 0 0 4px rgba(184,151,90,0.08), var(--shadow-md);
}

.search-box input,
.search-box select {
    background: var(--off-white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.search-box input:focus,
.search-box select:focus {
    background: var(--white);
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184,151,90,0.1);
}

/* ── Stats ── */
.stat-number {
    color: var(--text);
    font-weight: 700;
}
.stat-number span.gold { color: var(--gold); }

/* ── Nav ── */
.nav-link {
    position: relative;
    color: var(--text-muted);
    transition: color 0.25s ease;
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.3s ease, left 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

/* ── Hero image frame ── */
.hero-frame {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}
.hero-frame img {
    transition: transform 8s ease;
}
.hero-frame:hover img {
    transform: scale(1.04);
}

/* ── Luxury Hero ── */
.hero-luxury {
    position: relative;
    overflow: hidden;
    background: var(--white);
}
.hero-luxury-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 0% 0%, rgba(184,151,90,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(184,151,90,0.05) 0%, transparent 50%),
        linear-gradient(180deg, #fff 0%, #faf9f6 100%);
    pointer-events: none;
}
.hero-luxury .gold-line {
    width: 56px;
    background: linear-gradient(90deg, var(--gold), rgba(184,151,90,0.3));
}

.hero-search-premium {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.03);
    padding: 0.5rem;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.hero-search-premium:focus-within {
    border-color: rgba(184,151,90,0.45);
    box-shadow: 0 12px 48px rgba(184,151,90,0.12), 0 0 0 4px rgba(184,151,90,0.06);
}
.hero-search-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
}
.hero-search-field {
    flex: 1;
    min-width: 120px;
    padding: 0.875rem 1.125rem;
}
.hero-search-field label {
    display: block;
    font-size: 0.625rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.375rem;
}
.hero-search-field input,
.hero-search-field select {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text);
    padding: 0;
    outline: none;
}
.hero-search-field select { cursor: pointer; }
.hero-search-field input::placeholder { color: #bbb; }
.hero-search-divider {
    width: 1px;
    background: var(--border-light);
    align-self: stretch;
    margin: 0.75rem 0;
    flex-shrink: 0;
}
.hero-search-btn {
    align-self: center;
    margin: 0.375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold) 0%, #a6854a 100%);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(184,151,90,0.3);
}
.hero-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(184,151,90,0.4);
}

.hero-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--gold-pale);
    border: 1px solid rgba(184,151,90,0.15);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}
.hero-pill svg { color: var(--gold); flex-shrink: 0; }

.hero-visual {
    position: relative;
}
.hero-frame-luxury {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 24px 64px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.8);
    z-index: 2;
}
.hero-frame-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}
.hero-frame-luxury:hover .hero-frame-img {
    transform: scale(1.06);
}
.hero-frame-accent {
    position: absolute;
    top: 24px;
    right: -24px;
    bottom: -24px;
    left: 24px;
    border: 2px solid rgba(184,151,90,0.25);
    border-radius: 28px;
    z-index: 1;
    pointer-events: none;
}
.hero-frame-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 0.875rem 1.25rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}
.hero-frame-badge-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}
.hero-frame-badge-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-search-inner { flex-direction: column; }
    .hero-search-divider { width: 100%; height: 1px; margin: 0; }
    .hero-search-btn { width: calc(100% - 0.75rem); justify-content: center; }
    .hero-frame-accent { display: none; }
}

/* ── Luxury Stats ── */
.stats-luxury {
    padding: 2rem 0 2.5rem;
    background: linear-gradient(180deg, #faf9f6 0%, var(--white) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.stats-luxury-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.stats-luxury-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.375rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    position: relative;
    overflow: hidden;
}
.stats-luxury-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--border-light);
    transition: background 0.3s ease;
}
.stats-luxury-card--featured::before {
    background: linear-gradient(90deg, var(--gold), rgba(184,151,90,0.4));
}
.stats-luxury-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(184,151,90,0.3);
}
.stats-luxury-card:hover .stats-luxury-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--gold);
}
.stats-luxury-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.stats-luxury-icon svg { width: 22px; height: 22px; }
.stats-luxury-icon--grid { background: var(--gold-pale); color: var(--gold); }
.stats-luxury-icon--home { background: #eff6ff; color: #2563eb; }
.stats-luxury-icon--key { background: #ecfdf5; color: #059669; }
.stats-luxury-icon--chart { background: #f5f3ff; color: #7c3aed; }
.stats-luxury-content { flex: 1; min-width: 0; }
.stats-luxury-number {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    margin: 0 0 0.375rem;
    color: var(--text);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}
.stats-luxury-card--featured .stats-luxury-number { color: var(--gold); }
.stats-luxury-label {
    font-size: 0.625rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}
.stats-luxury-arrow {
    font-size: 1.125rem;
    color: var(--text-light);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}
.stats-live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 500;
}
.stats-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.stats-luxury-number.updating {
    animation: stat-flash 0.5s ease;
}
@keyframes stat-flash {
    0% { color: var(--gold); transform: scale(1.05); }
    100% { color: inherit; transform: scale(1); }
}

@media (max-width: 1024px) {
    .stats-luxury-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .stats-luxury-grid { grid-template-columns: 1fr; }
    .stats-luxury-number { font-size: 1.75rem; }
}

/* ── Section backgrounds ── */
.bg-soft { background: var(--off-white); }
.bg-pale-gold { background: var(--gold-pale); }

/* ── Filter panel ── */
.filter-panel {
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    border-radius: 16px;
}

/* ── Page hero (white) ── */
.page-hero-white {
    background: var(--off-white);
    border-bottom: 1px solid var(--border-light);
}

/* ── Price box ── */
.price-box {
    background: var(--off-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
}

/* ── Service card ── */
.service-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.35s ease;
}
.service-card:hover {
    border-color: rgba(184,151,90,0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gold-pale);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.3); }
    50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.55); }
}

.animate-fade-up { animation: fadeUp 0.9s ease forwards; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* ── WhatsApp ── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    animation: pulse-soft 2.5s ease infinite;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* ── Social icons footer ── */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    transition: all 0.25s ease;
}
.social-icon:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-pale);
}

/* ── Gallery slider buttons ── */
.slider-btn {
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    transition: all 0.25s ease;
}
.slider-btn:hover {
    background: var(--white);
    border-color: var(--gold);
    color: var(--gold);
}
