/* ==========================================================================
   أُفُق العقارية - دار الوساطة والكتالوج المعماري السكني
   Architecture: Boutique Architectural Lookbook with Vertical Docked Navigation
   Palette: Desert Linen, Warm Terracotta, Cypress Pine, Natural Limestone (No Dark Mode)
   ========================================================================== */

:root {
    --u-bg: #FBF9F5;              /* Pure Warm Desert Linen */
    --u-bg-card: #FFFFFF;
    --u-surface-soft: #F3EDE2;     /* Warm Sandstone */
    
    --u-cypress: #1C2E24;          /* Deep Natural Cypress Pine */
    --u-cypress-light: #2A4235;
    
    --u-terracotta: #C26B45;       /* Warm Terracotta Ochre */
    --u-terracotta-hover: #A95632;
    --u-terracotta-subtle: #F7ECE6;
    
    --u-sand-border: #E8DFD3;
    --u-sand-border-light: #F0E8DD;
    
    --u-text-title: #1C2420;
    --u-text-body: #4A5750;
    --u-text-muted: #7A8780;
    
    --dock-width: 290px;
    
    --font-display: 'Alexandria', sans-serif;
    --font-heading: 'Readex Pro', sans-serif;
    --font-body: 'Tajawal', sans-serif;
    
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-soft: 0 4px 24px rgba(28, 46, 36, 0.05);
    --shadow-spread: 0 16px 40px rgba(28, 46, 36, 0.09);
    --shadow-hotspot: 0 10px 30px rgba(194, 107, 69, 0.2);
    
    --transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body.editorial-body {
    background-color: var(--u-bg);
    color: var(--u-text-body);
    font-family: var(--font-body);
    line-height: 1.75;
    direction: rtl;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--u-text-title);
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.editorial-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ==========================================================================
   VERTICAL EDITORIAL DOCK (Desktop Navigation)
   ========================================================================== */
.editorial-dock {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--dock-width);
    height: 100vh;
    background-color: #FFFFFF;
    border-left: 1px solid var(--u-sand-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 2rem;
    z-index: 1000;
    box-shadow: -4px 0 24px rgba(28, 46, 36, 0.03);
}

.dock-top {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dock-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dock-close-btn {
    display: none;
    background: var(--u-surface-soft);
    border: 1px solid var(--u-sand-border);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--u-cypress);
    font-size: 1.15rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.dock-close-btn:hover {
    background-color: var(--u-terracotta);
    color: #FFFFFF;
}

.dock-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28, 46, 36, 0.45);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.dock-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.dock-brand {
    display: flex;
    flex-direction: column;
}

.dock-monogram {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--u-cypress);
    line-height: 1;
}

.dock-sub {
    font-size: 0.75rem;
    color: var(--u-terracotta);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.dock-fal-tag {
    font-size: 0.72rem;
    color: var(--u-text-muted);
    background-color: var(--u-surface-soft);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    display: inline-block;
}

.dock-fal-tag i { color: var(--u-terracotta); }

.dock-nav {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 2rem 0;
}

.dock-link {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--u-text-body);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dock-link .nav-idx {
    font-size: 0.75rem;
    color: var(--u-text-muted);
    font-family: var(--font-display);
    font-weight: 700;
}

.dock-link:hover, .dock-link.active {
    background-color: var(--u-terracotta-subtle);
    color: var(--u-terracotta);
    font-weight: 700;
    transform: translateX(-4px);
}

.dock-link.active .nav-idx {
    color: var(--u-terracotta);
}

.dock-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dock-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: var(--u-cypress);
    color: #FFFFFF;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
}

.dock-wa-btn:hover {
    background-color: var(--u-terracotta);
}

.dock-wa-btn i { font-size: 1.1rem; color: #25D366; }

.dock-hours {
    font-size: 0.72rem;
    color: var(--u-text-muted);
    text-align: center;
}

/* Mobile topbar hidden on desktop */
.mobile-top-bar { display: none; }

/* ==========================================================================
   MAIN EDITORIAL WRAPPER (Indented for docked sidebar)
   ========================================================================== */
.editorial-main-wrapper {
    margin-right: var(--dock-width);
    min-height: 100vh;
}

/* Common Editorial Elements */
.chapter-index {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--u-terracotta);
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.terracotta-accent { color: var(--u-terracotta); }

/* Buttons */
.btn-editorial-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background-color: var(--u-cypress);
    color: #FAF9F5;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-editorial-primary:hover {
    background-color: var(--u-terracotta);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194, 107, 69, 0.25);
}

.btn-editorial-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--u-cypress);
    border: 1px solid var(--u-sand-border);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-editorial-ghost:hover {
    background-color: #FFFFFF;
    border-color: var(--u-cypress);
    transform: translateY(-2px);
}

.btn-editorial-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: #25D366;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.btn-editorial-icon:hover {
    background-color: #1EBE5D;
}

.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   01. COVER HERO (Architectural Full-Bleed Story)
   ========================================================================== */
.section-cover {
    position: relative;
    padding: 0;
    min-height: 92vh;
    display: flex;
}

.cover-hero-viewport {
    position: relative;
    width: 100%;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4.5rem 3.5rem;
    overflow: hidden;
}

.cover-backdrop-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.cover-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(251, 249, 245, 0.3) 0%, rgba(251, 249, 245, 0.88) 60%, rgba(251, 249, 245, 0.98) 100%);
    z-index: 2;
}

.cover-content-box {
    position: relative;
    z-index: 3;
    max-width: 820px;
}

.cover-meta-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--u-cypress);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.meta-sep { color: var(--u-terracotta); }

.cover-headline {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--u-text-title);
    letter-spacing: -1px;
}

.cover-lead {
    font-size: 1.15rem;
    color: var(--u-text-body);
    line-height: 1.85;
    margin-bottom: 2.25rem;
    max-width: 680px;
}

.cover-actions-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.cover-floating-stats {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--u-sand-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-spread);
    max-width: 820px;
}

.c-stat-box {
    display: flex;
    flex-direction: column;
}

.cs-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--u-cypress);
    line-height: 1;
}

.cs-label {
    font-size: 0.78rem;
    color: var(--u-text-muted);
    margin-top: 0.35rem;
    max-width: 180px;
    line-height: 1.4;
}

.c-stat-divider {
    width: 1px;
    height: 45px;
    background-color: var(--u-sand-border);
}

/* ==========================================================================
   02. LOOKBOOK SECTION (Masterpiece Spread & Staggered Items)
   ========================================================================== */
.section-lookbook {
    padding: 6rem 0;
    background-color: #FFFFFF;
    border-top: 1px solid var(--u-sand-border);
    border-bottom: 1px solid var(--u-sand-border);
}

.lookbook-header-spread {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4.5rem;
    align-items: flex-end;
}

.lh-title {
    font-size: 2.4rem;
    margin-top: 0.35rem;
}

.lh-desc {
    font-size: 1.05rem;
    color: var(--u-text-muted);
    line-height: 1.8;
}

/* Masterpiece Spread */
.masterpiece-spread {
    background-color: var(--u-bg);
    border: 1px solid var(--u-sand-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    box-shadow: var(--shadow-spread);
    margin-bottom: 5rem;
}

.ms-image-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 520px;
}

.ms-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hotspot Pins */
.hotspot-pin {
    position: absolute;
    cursor: pointer;
    z-index: 10;
}

.hotspot-dot {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--u-terracotta);
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    animation: hotspotPulse 2s infinite;
}

@keyframes hotspotPulse {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(194, 107, 69, 0.3); }
    100% { transform: scale(0.9); }
}

.hotspot-pin.pin-1 { bottom: 25%; left: 30%; }
.hotspot-pin.pin-2 { top: 35%; right: 40%; }
.hotspot-pin.pin-3 { top: 45%; left: 25%; }

.hotspot-card {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border: 1px solid var(--u-sand-border);
    padding: 0.65rem 1rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-hotspot);
}

.hotspot-card strong {
    display: block;
    font-size: 0.85rem;
    color: var(--u-cypress);
}

.hotspot-card span {
    font-size: 0.72rem;
    color: var(--u-text-muted);
}

.hotspot-pin:hover .hotspot-card,
.hotspot-card.show {
    opacity: 1;
    transform: translateX(50%) translateY(-5px);
    pointer-events: auto;
}

.villa-edition-stamp {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--u-terracotta);
    margin-bottom: 0.35rem;
}

.ms-villa-name {
    font-size: 1.85rem;
    margin-bottom: 0.4rem;
}

.ms-location {
    font-size: 0.85rem;
    color: var(--u-text-muted);
    margin-bottom: 1.25rem;
}

.ms-location i { color: var(--u-terracotta); }

.ms-story {
    font-size: 0.95rem;
    color: var(--u-text-body);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.arch-spec-table {
    background-color: #FFFFFF;
    border: 1px solid var(--u-sand-border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.ast-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--u-sand-border-light);
    padding-bottom: 0.45rem;
}

.ast-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ast-key { color: var(--u-text-muted); }
.ast-val { font-weight: 700; color: var(--u-cypress); }

.ms-price-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--u-sand-border);
}

.ms-price-box {
    display: flex;
    flex-direction: column;
}

.ms-p-caption {
    font-size: 0.75rem;
    color: var(--u-text-muted);
}

.ms-p-amount {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--u-cypress);
}

.ms-p-amount small {
    font-size: 0.85rem;
    color: var(--u-terracotta);
}

.ms-btns {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Staggered Lookbook Grid */
.staggered-lookbook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.staggered-card {
    background-color: var(--u-bg);
    border: 1px solid var(--u-sand-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.staggered-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-spread);
    border-color: var(--u-terracotta);
}

.sc-thumb {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.sc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.staggered-card:hover .sc-thumb img {
    transform: scale(1.04);
}

.sc-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.94);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--u-cypress);
}

.sc-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sc-edition {
    font-size: 0.75rem;
    color: var(--u-terracotta);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.sc-title {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.sc-text {
    font-size: 0.88rem;
    color: var(--u-text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.sc-specs-chips {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.sc-specs-chips span {
    background-color: #FFFFFF;
    border: 1px solid var(--u-sand-border);
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
    font-size: 0.75rem;
    color: var(--u-cypress);
    font-weight: 600;
}

.sc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--u-sand-border);
}

.sc-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--u-cypress);
}

.sc-price small {
    font-size: 0.75rem;
    color: var(--u-terracotta);
}

/* ==========================================================================
   03. NEIGHBORHOOD SENSORY COMPASS
   ========================================================================== */
.section-sensory-map {
    padding: 6rem 0;
    background-color: var(--u-bg);
}

.section-title-editorial {
    margin-bottom: 3.5rem;
}

.section-title-editorial h2 {
    font-size: 2.2rem;
    margin-top: 0.35rem;
}

.section-title-editorial p {
    color: var(--u-text-muted);
    font-size: 1.05rem;
}

.sensory-grid-board {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: center;
}

.district-selector-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.d-btn {
    background-color: #FFFFFF;
    border: 1px solid var(--u-sand-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    text-align: right;
}

.d-btn .d-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--u-text-title);
}

.d-btn .d-city {
    font-size: 0.8rem;
    color: var(--u-text-muted);
}

.d-btn:hover {
    border-color: var(--u-terracotta);
    transform: translateX(-4px);
}

.d-btn.active {
    background-color: var(--u-cypress);
    border-color: var(--u-cypress);
    box-shadow: var(--shadow-spread);
}

.d-btn.active .d-name { color: #FFFFFF; }
.d-btn.active .d-city { color: #A5BAAE; }

.district-display-card {
    background-color: #FFFFFF;
    border: 1px solid var(--u-sand-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-spread);
}

.dd-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.dd-vibe-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--u-terracotta);
    background-color: var(--u-terracotta-subtle);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.dd-title {
    font-size: 1.6rem;
    margin-top: 0.35rem;
}

.dd-price-meter {
    text-align: left;
}

.dpm-label {
    display: block;
    font-size: 0.75rem;
    color: var(--u-text-muted);
}

.dpm-val {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--u-cypress);
}

.dd-narrative {
    font-size: 0.95rem;
    color: var(--u-text-body);
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.dd-sensory-meters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background-color: var(--u-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--u-sand-border-light);
}

.meter-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
}

.mi-name { min-width: 190px; color: var(--u-cypress); font-weight: 600; }

.mi-bar {
    flex-grow: 1;
    height: 6px;
    background-color: var(--u-sand-border);
    border-radius: 4px;
    overflow: hidden;
}

.mi-fill {
    height: 100%;
    background-color: var(--u-terracotta);
    border-radius: 4px;
}

.mi-score { font-family: var(--font-display); font-weight: 700; color: var(--u-cypress); font-size: 0.85rem; }

.dd-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--u-sand-border);
}

.dd-recommendation { font-size: 0.82rem; color: var(--u-text-muted); }
.dd-recommendation i { color: var(--u-terracotta); }

/* ==========================================================================
   04. CONCIERGE CALCULATOR SECTION
   ========================================================================== */
.section-calculator {
    padding: 6rem 0;
    background-color: #FFFFFF;
    border-top: 1px solid var(--u-sand-border);
    border-bottom: 1px solid var(--u-sand-border);
}

.calc-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

.ce-desc {
    font-size: 1.05rem;
    color: var(--u-text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.legal-box-card {
    background-color: var(--u-bg);
    border: 1px solid var(--u-sand-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.lb-icon {
    font-size: 1.4rem;
    color: var(--u-terracotta);
    margin-top: 0.2rem;
}

.legal-box-card strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--u-cypress);
    display: block;
    margin-bottom: 0.2rem;
}

.legal-box-card p {
    font-size: 0.85rem;
    color: var(--u-text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

.concierge-calc-board {
    background-color: var(--u-bg);
    border: 1px solid var(--u-sand-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-spread);
}

.ccb-head h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.calc-input-block {
    margin-bottom: 1.5rem;
}

.calc-input-block label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--u-cypress);
    margin-bottom: 0.5rem;
}

.editorial-slider {
    width: 100%;
    height: 8px;
    background: var(--u-sand-border);
    border-radius: 4px;
    outline: none;
    accent-color: var(--u-terracotta);
    cursor: pointer;
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--u-text-muted);
    margin-top: 0.35rem;
}

.calc-toggle-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.toggle-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--u-cypress);
    margin-bottom: 0.4rem;
}

.pill-selectors {
    display: flex;
    gap: 0.4rem;
}

.p-btn {
    flex: 1;
    background-color: #FFFFFF;
    border: 1px solid var(--u-sand-border);
    padding: 0.45rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--u-text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.p-btn:hover { border-color: var(--u-cypress); }

.p-btn.active {
    background-color: var(--u-cypress);
    color: #FFFFFF;
    border-color: var(--u-cypress);
}

.calc-receipt {
    background-color: #FFFFFF;
    border: 1px solid var(--u-sand-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--u-text-muted);
}

.receipt-row strong {
    font-family: var(--font-display);
    color: var(--u-cypress);
}

.receipt-total {
    background-color: var(--u-surface-soft);
    padding: 0.6rem 0.85rem;
    border-radius: 4px;
    border: 1px solid var(--u-sand-border);
    font-weight: 700;
    color: var(--u-cypress);
}

.receipt-total strong {
    color: var(--u-terracotta);
    font-size: 1.15rem;
}

.receipt-monthly {
    background-color: var(--u-terracotta-subtle);
    padding: 0.6rem 0.85rem;
    border-radius: 4px;
    border: 1px solid rgba(194, 107, 69, 0.2);
    font-weight: 700;
    color: var(--u-terracotta);
}

.receipt-monthly strong {
    color: var(--u-terracotta);
    font-size: 1.15rem;
}

/* ==========================================================================
   05. PRIVATE SELLER SPREAD
   ========================================================================= */
.section-private-listing {
    padding: 6rem 0;
    background-color: var(--u-bg);
}

.private-listing-spread {
    background-color: var(--u-cypress);
    color: #FAF9F5;
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    box-shadow: var(--shadow-spread);
}

.pls-text h2 {
    color: #FFFFFF;
    font-size: 2.2rem;
    margin-top: 0.35rem;
    margin-bottom: 1rem;
}

.pls-text p {
    color: #CBD8D0;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.pls-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pb-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.pb-item i { color: var(--u-terracotta); }

.pls-form-container {
    background-color: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    color: var(--u-text-title);
}

.pls-form h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-field-e {
    margin-bottom: 1.25rem;
}

.form-field-e label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--u-cypress);
    margin-bottom: 0.35rem;
}

.input-editorial {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--u-sand-border);
    border-radius: var(--radius-sm);
    background-color: var(--u-bg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--u-text-title);
    transition: var(--transition);
}

.input-editorial:focus {
    outline: none;
    border-color: var(--u-terracotta);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(194, 107, 69, 0.1);
}

.form-row-e {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ==========================================================================
   06. DIALOGUE & BOOKING SECTION
   ========================================================================== */
.section-dialogue {
    padding: 6rem 0;
    background-color: #FFFFFF;
    border-top: 1px solid var(--u-sand-border);
}

.dialogue-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.dialogue-info h2 {
    font-size: 2.2rem;
    margin-top: 0.35rem;
    margin-bottom: 1rem;
}

.dialogue-info p {
    color: var(--u-text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-editorial-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cel-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: var(--u-bg);
    border: 1px solid var(--u-sand-border);
    border-radius: var(--radius-sm);
}

.cel-item i {
    font-size: 1.25rem;
    color: var(--u-terracotta);
    margin-top: 0.2rem;
}

.cel-item strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--u-cypress);
    display: block;
}

.cel-item p {
    font-size: 0.85rem;
    color: var(--u-text-muted);
    margin-bottom: 0;
}

.dialogue-card {
    background-color: var(--u-bg);
    border: 1px solid var(--u-sand-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-spread);
}

.dialogue-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

/* Colophon Footer */
.editorial-colophon {
    background-color: var(--u-bg);
    border-top: 1px solid var(--u-sand-border);
    padding: 3.5rem 0;
}

.colophon-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cb-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--u-cypress);
}

.cb-desc {
    font-size: 0.85rem;
    color: var(--u-text-muted);
    max-width: 580px;
    margin: 0.25rem 0 0.5rem;
}

.cb-lic {
    font-size: 0.78rem;
    color: var(--u-terracotta);
}

.colophon-badges {
    display: flex;
    gap: 0.75rem;
    color: var(--u-cypress);
    font-weight: 600;
    font-size: 0.8rem;
}

.colophon-copy {
    font-size: 0.8rem;
    color: var(--u-text-muted);
}

/* Modal */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 46, 36, 0.65);
    backdrop-filter: blur(6px);
    z-index: 1100;
    padding: 1.5rem;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

.modal-backdrop.active { display: flex; }

.modal-dialog-editorial {
    background-color: #FFFFFF;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 820px;
    position: relative;
    box-shadow: var(--shadow-spread);
    border: 1px solid var(--u-sand-border);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--u-bg);
    border: 1px solid var(--u-sand-border);
    font-size: 1.4rem;
    color: var(--u-cypress);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.modal-close:hover {
    background-color: var(--u-cypress);
    color: #FFFFFF;
}

.modal-editorial-body { padding: 2.75rem; }

/* Floating WhatsApp */
.editorial-float-wa {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    z-index: 99;
    transition: var(--transition);
}

.editorial-float-wa:hover {
    transform: scale(1.08) translateY(-3px);
}

/* Toast */
.editorial-toast-box {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.editorial-toast {
    background-color: var(--u-cypress);
    color: #FAF9F5;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-spread);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-right: 4px solid var(--u-terracotta);
    animation: toastSlide 0.3s ease;
}

@keyframes toastSlide {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVENESS (Mobile Drawer, Full Fluid Layout, Zero Horizontal Overflow)
   ========================================================================== */
@media (max-width: 1024px) {
    .editorial-dock {
        position: fixed;
        top: 0;
        right: -340px;
        width: min(310px, 86vw);
        height: 100vh;
        height: 100dvh;
        background-color: #FFFFFF;
        box-shadow: -8px 0 35px rgba(28, 46, 36, 0.2);
        z-index: 10001;
        visibility: hidden;
        opacity: 0;
        transform: none !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.35s;
        overflow-y: auto;
        padding: 2rem 1.5rem;
    }

    .editorial-dock.active {
        right: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .dock-close-btn {
        display: flex;
    }

    .dock-backdrop {
        display: block;
    }

    .editorial-main-wrapper {
        margin-right: 0 !important;
        width: 100%;
        max-width: 100%;
    }

    .mobile-top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #FFFFFF;
        padding: 0.85rem 1.25rem;
        border-bottom: 1px solid var(--u-sand-border);
        position: sticky;
        top: 0;
        z-index: 999;
        box-shadow: 0 2px 10px rgba(28, 46, 36, 0.04);
    }

    .m-brand {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 1.25rem;
        color: var(--u-cypress);
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

    .m-brand span {
        font-size: 0.78rem;
        color: var(--u-terracotta);
        font-weight: 600;
    }

    .m-menu-toggle {
        background: var(--u-surface-soft);
        border: 1px solid var(--u-sand-border);
        width: 42px;
        height: 42px;
        border-radius: var(--radius-sm);
        font-size: 1.25rem;
        color: var(--u-cypress);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .m-menu-toggle:active {
        background-color: var(--u-terracotta-subtle);
        color: var(--u-terracotta);
    }

    .editorial-container {
        padding: 0 1.25rem;
    }

    .masterpiece-spread, .calc-editorial-grid, .private-listing-spread, .dialogue-grid, .sensory-grid-board {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .staggered-lookbook-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lookbook-card:nth-child(even) {
        transform: none;
    }

    .lookbook-header-spread {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .editorial-container {
        padding: 0 1rem;
    }

    .section-cover {
        min-height: auto;
        padding: 0.75rem 0 2rem;
    }

    .cover-hero-viewport {
        min-height: 520px;
        padding: 2rem 1.25rem 1.5rem;
        border-radius: var(--radius-md);
    }

    .cover-headline {
        font-size: clamp(1.65rem, 5.5vw, 2.15rem);
        line-height: 1.35;
        margin-bottom: 1rem;
    }

    .cover-lead {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.75rem;
    }

    .cover-meta-strip {
        font-size: 0.75rem;
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .cover-actions-row {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
        width: 100%;
    }

    .btn-editorial-primary, .btn-editorial-ghost {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 0.85rem 1.25rem;
    }

    .cover-floating-stats {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.25rem;
        width: 100%;
    }

    .c-stat-box {
        width: 100%;
    }

    .cs-num {
        font-size: 1.5rem;
    }

    .cs-label {
        max-width: 100%;
    }

    .c-stat-divider {
        display: none;
    }

    .masterpiece-spread {
        padding: 1.25rem;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .ms-image-frame {
        height: 280px;
    }

    .ms-villa-name {
        font-size: 1.45rem;
    }

    .arch-spec-table {
        padding: 0.85rem 1rem;
    }

    .ast-row {
        font-size: 0.82rem;
    }

    .section-lookbook, .sensory-section, .section-concierge, .section-private-listing, .section-dialogue {
        padding: 3.5rem 0;
    }

    .lh-title, .sensory-title, .concierge-title, .pls-title, .dialogue-title {
        font-size: 1.75rem;
    }

    .sensory-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .d-btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.82rem;
    }

    .calc-toggle-row, .form-row-e {
        grid-template-columns: 1fr;
    }

    .calc-input-group, .calc-output-card {
        padding: 1.25rem;
    }

    .co-total {
        font-size: 1.6rem;
    }

    .private-listing-spread {
        padding: 1.5rem 1.25rem;
    }

    .pls-form-container {
        padding: 1.25rem;
    }

    .dialogue-card {
        padding: 1.25rem;
    }

    .dialogue-direct-channels {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .footer-editorial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .fb-flex {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .editorial-float-wa {
        bottom: 1.25rem;
        left: 1.25rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .editorial-toast-box {
        right: 1rem;
        left: 1rem;
        top: 1rem;
    }

    .editorial-toast {
        width: 100%;
        font-size: 0.88rem;
        padding: 0.85rem 1.15rem;
    }
}
