/* ==========================================================================
   DESIGN 1: MILANO DARK LUXE 2026 - ARCHITECTURAL STUDIO
   High-End Modern UI / Bento Architecture / Fixed Split Slider & Mobile
   ========================================================================== */

:root {
  --bg-void: #08090d;
  --bg-surface: #10121a;
  --bg-elevated: #161925;
  --bg-glass: rgba(16, 18, 26, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-glow: rgba(212, 175, 55, 0.65);
  
  --gold-primary: #d4af37;
  --gold-light: #f3e5b8;
  --gold-bright: #ffd700;
  --gold-dark: #8c6d1f;
  --gold-gradient: linear-gradient(135deg, #f7e7be 0%, #d4af37 50%, #9e781e 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);

  --text-primary: #f8f9fa;
  --text-secondary: #9ea3b5;
  --text-muted: #676d80;
  
  --whatsapp-color: #25d366;
  --whatsapp-glow: 0 8px 24px rgba(37, 211, 102, 0.35);
  --phone-color: #3b82f6;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --font-arabic: 'Alexandria', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-editorial: 'Playfair Display', serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body.dark-theme {
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-arabic);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
}

/* AMBIENT BACKGROUND GLOWS */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.glow-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  top: -80px;
  right: 15%;
}
.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 41, 69, 0.25) 0%, transparent 70%);
  bottom: 10%;
  left: 5%;
}

/* TYPOGRAPHY */
.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.section-subtext {
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 620px;
  line-height: 1.7;
}

.section-head-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.section-center-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-center-head .section-subtext {
  margin: 0 auto;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-arabic);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 0.92rem;
}

.btn-pill-gold {
  background: var(--gold-gradient);
  color: #0d0f14;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}
.btn-pill-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.btn-gold-lg {
  background: var(--gold-gradient);
  color: #0d0f14;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}
.btn-gold-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.4);
}

.btn-glass-lg {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid var(--border-subtle);
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  backdrop-filter: blur(8px);
}
.btn-glass-lg:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   FLOATING ISLAND HEADER
   ========================================================================== */
.floating-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.header-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 1200px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.logo-emblem {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(16, 18, 26, 0.9) 100%);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.2px;
}
.logo-tagline {
  font-size: 0.68rem;
  color: var(--gold-primary);
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}
.nav-item:hover, .nav-item.active {
  color: #fff;
}
.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  width: fit-content;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseAnim 2s infinite;
}
@keyframes pulseAnim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-headline {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.hero-lead {
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  background: rgba(16, 18, 26, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  width: fit-content;
  backdrop-filter: blur(12px);
}

.metric-item {
  display: flex;
  flex-direction: column;
}
.metric-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}
.metric-value small {
  font-size: 0.85rem;
  font-weight: 500;
}
.metric-label {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* ==========================================================================
   ROCK-SOLID BEFORE/AFTER INTERACTIVE COMPARISON
   ========================================================================== */
.hero-visual-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.split-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  user-select: none;
  touch-action: pan-y;
  background: #0d0f14;
}

.split-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.split-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Before Layer (Raw Brick): Covers from var(--split-pos) to 100% (The RIGHT side) */
.before-layer {
  z-index: 2;
  clip-path: polygon(var(--split-pos, 50%) 0, 100% 0, 100% 100%, var(--split-pos, 50%) 100%);
  transition: clip-path 0.04s linear;
}

.layer-badge {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  z-index: 5;
}
.after-badge {
  left: 14px;
  background: rgba(37, 211, 102, 0.25);
  border: 1px solid rgba(37, 211, 102, 0.5);
  color: #4ade80;
}
.before-badge {
  right: 14px;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.split-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split-pos, 50%);
  width: 2px;
  background: var(--gold-gradient);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 10px var(--gold-primary);
  transition: left 0.04s linear;
}

.handle-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0d0f14;
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.5);
  font-size: 0.88rem;
  z-index: 11;
}

/* Transparent Range Slider Overlay handles all touch/mouse effortlessly */
.split-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
  margin: 0;
  padding: 0;
}

/* Quick Toggle Tabs */
.split-toggle-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.split-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  padding: 6px 14px;
  font-size: 0.76rem;
  font-family: var(--font-arabic);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.split-tab-btn:hover, .split-tab-btn.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* ==========================================================================
   MARQUEE TICKER
   ========================================================================== */
.architect-ticker {
  background: rgba(16, 18, 26, 0.4);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: tickerScroll 32s linear infinite;
}
.ticker-track span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.ticker-dot {
  color: var(--gold-primary) !important;
  font-size: 1.1rem !important;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   BENTO PORTFOLIO SHOWCASE
   ========================================================================== */
.portfolio-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.portfolio-filter-pills {
  display: flex;
  gap: 8px;
  background: rgba(16, 18, 26, 0.7);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.filter-pill {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  border: none;
  font-family: var(--font-arabic);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-pill:hover {
  color: #fff;
}
.filter-pill.active {
  background: var(--gold-gradient);
  color: #0d0f14;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

/* Asymmetric Bento Grid */
.bento-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
  height: 310px;
}
.bento-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.card-span-2x2 {
  grid-column: span 2;
  grid-row: span 2;
  height: 100%;
  min-height: 640px;
}

.card-span-wide {
  grid-column: span 3;
  height: 330px;
}

.bento-image-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}
.bento-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover .bento-image-wrap img {
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 13, 0.95) 0%, rgba(8, 9, 13, 0.4) 50%, rgba(8, 9, 13, 0.15) 100%);
  transition: opacity 0.3s ease;
}

.bento-badge-top {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.tag-flagship {
  background: var(--gold-gradient);
  color: #0c0e13;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
}
.tag-category {
  background: rgba(16, 18, 26, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 500;
}
.tag-photos {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
}

.bento-content-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-meta-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bento-meta-chips span {
  font-size: 0.74rem;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

.bento-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.card-span-2x2 .bento-title {
  font-size: 1.5rem;
}

.bento-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.btn-inspect {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: 6px;
  transition: var(--transition);
}
.bento-card:hover .btn-inspect {
  color: #fff;
  transform: translateX(-4px);
}

.btn-inspect-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--gold-primary);
  font-weight: 600;
}

/* ==========================================================================
   2026 CONFIGURATOR / SMART CALCULATOR
   ========================================================================== */
.calculator-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.modern-configurator-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.configurator-controls {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.config-step-group {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.step-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
}

/* Step 1: Unit Types */
.unit-type-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.unit-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 8px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
}
.unit-type-card input {
  display: none;
}
.unit-type-card .unit-icon {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  transition: var(--transition);
}
.unit-type-card .unit-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.unit-type-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}
.unit-type-card.active {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}
.unit-type-card.active .unit-icon,
.unit-type-card.active .unit-name {
  color: var(--gold-light);
}

/* Step 2: Area Slider */
.slider-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.digital-area-display {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-light);
}
.digital-area-display span {
  font-size: 1rem;
  color: var(--gold-dark);
}

.custom-range-wrap {
  margin: 16px 0 8px;
}
.sleek-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
}
.sleek-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.8);
  border: 2px solid #0d0f14;
  transition: transform 0.15s ease;
}
.sleek-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.range-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.estimated-spaces-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

/* Step 3: Packages Grid */
.packages-luxury-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.package-luxury-card {
  position: relative;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.package-luxury-card input {
  display: none;
}
.pkg-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pkg-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
}
.package-luxury-card.active .pkg-radio-circle {
  border-color: var(--gold-primary);
}
.package-luxury-card.active .pkg-radio-circle::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--gold-primary);
  border-radius: 50%;
}
.pkg-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.pkg-rate {
  font-size: 0.82rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.pkg-specs-mini {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
}
.pkg-specs-mini li {
  font-size: 0.76rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}
.pkg-specs-mini li i {
  color: var(--gold-primary);
  font-size: 0.7rem;
}

.popular-ribbon {
  position: absolute;
  top: -8px;
  left: 16px;
  background: var(--gold-gradient);
  color: #0c0e13;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.package-luxury-card.active {
  background: rgba(212, 175, 55, 0.06);
  border-color: var(--gold-primary);
}

/* Step 4: Addon Chips */
.addon-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.addon-chip {
  cursor: pointer;
  user-select: none;
}
.addon-chip input {
  display: none;
}
.chip-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.chip-box i {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.addon-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}
.addon-price {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-light);
}
.addon-chip input:checked + .chip-box {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
}
.addon-chip input:checked + .chip-box i {
  color: var(--gold-primary);
}

/* RECEIPT STICKY CARD */
.configurator-receipt-col {
  position: sticky;
  top: 90px;
}

.luxury-receipt-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.receipt-header {
  background: rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid var(--border-gold);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.receipt-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
}
.receipt-badge {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

.receipt-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.row-title {
  color: var(--text-secondary);
}
.row-val {
  color: #fff;
  font-weight: 600;
}

.receipt-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 0;
}

.receipt-total-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(16, 18, 26, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 14px;
  border-radius: var(--radius-md);
}

.total-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.total-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.total-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-primary);
}
.animated-total {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.total-sub-metrics {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  border-top: 1px dashed var(--border-subtle);
  padding-top: 8px;
  margin-top: 4px;
}
.total-sub-metrics strong {
  color: var(--gold-light);
}

.btn-whatsapp-grand {
  width: 100%;
  background: #25d366;
  color: #0b2214;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--whatsapp-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  margin-top: 10px;
  transition: var(--transition);
  text-align: center;
}
.btn-whatsapp-grand:hover {
  background: #1eb857;
  transform: translateY(-2px);
}

.receipt-guarantee-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 8px;
  text-align: center;
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.process-timeline-modern {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.process-node {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.node-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.25);
  line-height: 1;
  font-family: var(--font-editorial);
}

.node-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  transition: var(--transition);
}
.node-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.node-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.node-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}
.node-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-banner-section {
  padding: 70px 0;
  position: relative;
  z-index: 1;
}

.cta-box-glass {
  background: linear-gradient(135deg, rgba(21, 24, 36, 0.9) 0%, rgba(15, 17, 24, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 26px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-modern {
  background: #040507;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 24px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 10px 0 6px;
}
.footer-brand-bio {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.footer-col-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  transition: var(--transition);
}
.footer-col-links a:hover {
  color: var(--gold-primary);
  transform: translateX(-3px);
}

.footer-col-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.footer-col-contact i {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.footer-badges {
  display: flex;
  gap: 14px;
}
.footer-badges span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   MODAL: 5-PHOTO CAROUSEL
   ========================================================================== */
.project-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.project-modal-backdrop.show {
  display: flex;
  opacity: 1;
}

.project-modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
}

.modal-close-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-size: 1rem;
  transition: var(--transition);
}
.modal-close-icon:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
}

.modal-gallery-wrapper {
  position: relative;
  width: 100%;
}

.gallery-main-container {
  position: relative;
  width: 100%;
  height: 440px;
  background: #050608;
  overflow: hidden;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 12, 18, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 0.95rem;
  transition: var(--transition);
}
.gallery-arrow:hover {
  background: var(--gold-gradient);
  color: #0c0e13;
}
.prev-btn { right: 14px; }
.next-btn { left: 14px; }

.gallery-counter-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
}

.gallery-thumbnails-strip {
  display: flex;
  gap: 8px;
  padding: 10px 20px;
  background: #090a0f;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.gallery-thumb {
  width: 74px;
  height: 50px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.55;
  transition: var(--transition);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb:hover, .gallery-thumb.active {
  opacity: 1;
  border-color: var(--gold-primary);
}

.modal-details {
  padding: 24px 28px;
}

.modal-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.meta-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.meta-box span {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.meta-box strong {
  font-size: 0.88rem;
  color: #fff;
}

.modal-specs {
  background: rgba(16, 18, 26, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}
.modal-specs h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.specs-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.specs-list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.specs-list li i {
  color: var(--gold-primary);
  font-size: 0.75rem;
}

.modal-cta-bar {
  display: flex;
  gap: 12px;
}

.btn-whatsapp {
  background: #25d366;
  color: #0d2818;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   FLOATING ACTIONS DOCK
   ========================================================================== */
.floating-contact-dock {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dock-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: var(--transition);
}
.dock-btn:hover {
  transform: translateY(-2px) scale(1.04);
}

.dock-whatsapp {
  background: var(--whatsapp-color);
  box-shadow: var(--whatsapp-glow);
}
.dock-phone {
  background: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.dock-tooltip {
  position: absolute;
  right: 58px;
  background: #161925;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}
.dock-btn:hover .dock-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.floating-scroll-dock {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 998;
}

.scroll-top-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: none;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--transition);
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--bg-elevated);
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}
.progress-ring-circle {
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
  transition: stroke-dashoffset 0.1s linear;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual-card {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .bento-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-span-2x2 {
    grid-column: span 2;
    min-height: 440px;
  }
  .card-span-wide {
    grid-column: span 2;
  }

  .modern-configurator-grid {
    grid-template-columns: 1fr;
  }
  .configurator-receipt-col {
    position: static;
  }

  .process-timeline-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .floating-header {
    top: 8px;
    padding: 0 8px;
  }
  .header-inner {
    padding: 6px 12px;
  }
  .logo-name {
    font-size: 0.92rem;
  }
  .logo-tagline {
    font-size: 0.62rem;
  }
  .logo-emblem {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    background: #0f1118;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 20px;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    display: none;
    z-index: 10000;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-cta {
    display: none;
  }

  .hero-section {
    padding-top: 88px;
    padding-bottom: 40px;
  }
  .hero-headline {
    font-size: 1.6rem;
    line-height: 1.4;
  }
  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .hero-metrics-strip {
    width: 100%;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    padding: 10px 14px;
    gap: 8px;
  }
  .metric-value {
    font-size: 1.15rem;
  }
  .metric-label {
    font-size: 0.66rem;
  }

  .split-slider-container {
    aspect-ratio: 16 / 12;
  }
  .split-toggle-tabs {
    flex-wrap: wrap;
  }
  .split-tab-btn {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  .bento-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bento-card {
    height: 250px;
  }
  .card-span-2x2,
  .card-span-wide {
    grid-column: span 1;
    min-height: 250px;
    height: 250px;
  }
  .card-span-2x2 .bento-title {
    font-size: 1.15rem;
  }

  .unit-type-selector {
    grid-template-columns: repeat(2, 1fr);
  }
  .addon-chips-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline-modern {
    grid-template-columns: 1fr;
  }

  .gallery-main-container {
    height: 280px;
  }
  .modal-meta-grid {
    grid-template-columns: 1fr;
  }
  .specs-list {
    grid-template-columns: 1fr;
  }
  .modal-cta-bar {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .floating-contact-dock {
    bottom: 14px;
    left: 14px;
  }
  .floating-scroll-dock {
    bottom: 14px;
    right: 14px;
  }
  .dock-btn {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
  .scroll-top-btn {
    width: 42px;
    height: 42px;
  }
}
