/* ==========================================================================
   BRICEÑO REALTY GROUP - LUXURY EDITORIAL DESIGN SYSTEM
   Paleta: Obsidiana Profunda, Carbón, Oro Champagne Cepillado & Blanco Roto
   Cero Emojis · Tipografía Editorial · Parallax · Micro-interacciones
   ========================================================================== */

/* 1. TOKENS & VARIABLES */
:root {
  /* Palette: Dark Base */
  --bg-black: #070707;
  --bg-obsidian: #0c0c0c;
  --bg-charcoal: #121212;
  --bg-surface: #181818;
  --bg-surface-elevated: #222222;
  --bg-glass: rgba(14, 14, 14, 0.78);
  --bg-glass-card: rgba(22, 22, 22, 0.65);

  /* Palette: Champagne & Brushed Gold */
  --gold-primary: #c5a059;
  --gold-light: #dfc080;
  --gold-glow: #f0d59e;
  --gold-dark: #9e7d3b;
  --gold-muted: rgba(197, 160, 89, 0.35);
  --gold-faint: rgba(197, 160, 89, 0.12);
  --gold-gradient: linear-gradient(135deg, #f0d59e 0%, #c5a059 50%, #9e7d3b 100%);
  --gold-gradient-hover: linear-gradient(135deg, #ffffff 0%, #dfc080 50%, #c5a059 100%);
  --gold-border: rgba(197, 160, 89, 0.28);
  --gold-border-active: rgba(223, 192, 128, 0.7);

  /* Typography Colors */
  --text-primary: #f5f5f5;
  --text-secondary: #c4c4c4;
  --text-muted: #888888;
  --text-gold: #dfc080;

  /* Typography Fonts */
  --font-serif: 'Playfair Display', 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Montserrat', -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Shadows & Transitions */
  --shadow-gold: 0 10px 30px rgba(197, 160, 89, 0.15);
  --shadow-card: 0 12px 35px rgba(0, 0, 0, 0.6);
  --shadow-drawer: -15px 0 50px rgba(0, 0, 0, 0.85);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* LIGHT THEME VARIABLES (MODO CLARO) */
html.theme-light,
body.theme-light,
[data-theme="light"] {
  /* Palette: Crisp Luxury Light Surfaces */
  --bg-black: #f8f7f4;
  --bg-obsidian: #f3efe8;
  --bg-charcoal: #ebe6dc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #fbf9f5;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-card: rgba(255, 255, 255, 0.96);

  /* Palette: Rich Champagne & Deep Gold with high contrast for light mode */
  --gold-primary: #a37c35;
  --gold-light: #8a6524;
  --gold-glow: #70521b;
  --gold-dark: #634612;
  --gold-muted: rgba(163, 124, 53, 0.35);
  --gold-faint: rgba(163, 124, 53, 0.1);
  --gold-gradient: linear-gradient(135deg, #caa359 0%, #a37c35 50%, #7e5c1e 100%);
  --gold-gradient-hover: linear-gradient(135deg, #d8b46e 0%, #b88f44 50%, #8e6824 100%);
  --gold-border: rgba(163, 124, 53, 0.3);
  --gold-border-active: rgba(163, 124, 53, 0.85);

  /* Typography Colors in Light Mode */
  --text-primary: #111111;
  --text-secondary: #3d3d3d;
  --text-muted: #6b6b6b;
  --text-gold: #8a6524;

  /* Shadows for Light Mode */
  --shadow-gold: 0 10px 30px rgba(163, 124, 53, 0.12);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-drawer: -15px 0 50px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-black);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

/* 3. LUXURY TYPOGRAPHY UTILITIES */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }
.text-gold { color: var(--gold-light); }
.text-gradient-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tracking-wide { letter-spacing: 0.15em; }
.tracking-widest { letter-spacing: 0.25em; }

/* 4. HEADER & NAVIGATION */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px clamp(24px, 3.5vw, 48px);
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              backdrop-filter 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.88) 0%, rgba(7, 7, 7, 0.5) 60%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
  padding: 12px clamp(24px, 3.5vw, 48px);
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.header-inner {
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 36px);
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.header-logo-img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid var(--gold-border);
  background-color: #000000;
  box-shadow: 0 2px 10px rgba(197, 160, 89, 0.35);
  filter: drop-shadow(0 2px 8px rgba(197, 160, 89, 0.25));
  flex-shrink: 0;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

.header-brand-name {
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-transform: uppercase;
}

.header-brand-sub {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 24px);
  flex: 1 1 auto;
  min-width: 0;
}

.nav-link {
  font-size: clamp(11px, 0.8vw, 12.5px);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.25s ease;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-header-cta:hover {
  background: var(--gold-gradient);
  color: var(--bg-black);
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.35);
  transform: translateY(-1px);
}

/* Theme Toggle Button (Light/Dark Mode) */
.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.btn-theme-toggle:hover {
  background: rgba(197, 160, 89, 0.2);
  border-color: var(--gold-light);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.28);
}

.theme-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.theme-toggle-text {
  display: none;
}

.theme-toggle-icon .icon-sun {
  display: block;
}
.theme-toggle-icon .icon-moon {
  display: none;
}

html.theme-light .theme-toggle-icon .icon-sun,
body.theme-light .theme-toggle-icon .icon-sun {
  display: none;
}
html.theme-light .theme-toggle-icon .icon-moon,
body.theme-light .theme-toggle-icon .icon-moon {
  display: block;
}

.mobile-menu-toggle {
  display: none;
  color: #ffffff;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

/* 5. HERO SECTION */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-black);
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: var(--bg-black);
  background-image: url('assets/images/hero-poster.jpg');
  background-size: cover;
  background-position: center;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 12s ease-out;
  filter: brightness(1.15) contrast(1.06) saturate(1.08);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  /* Capa cinematográfica luminosa y nítida: resalta la luz natural del cielo, rascacielos y agua */
  background: radial-gradient(circle at 50% 45%, rgba(7, 7, 7, 0.05) 0%, rgba(7, 7, 7, 0.38) 100%),
              linear-gradient(to bottom, rgba(7, 7, 7, 0.42) 0%, rgba(7, 7, 7, 0.04) 35%, rgba(7, 7, 7, 0.18) 65%, rgba(7, 7, 7, 0.8) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  text-align: center;
  padding: 0 24px;
  margin-top: 40px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 600;
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85), 0 2px 8px rgba(0, 0, 0, 0.95);
}

.hero-title em {
  font-style: italic;
  font-weight: 700;
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #fff7e0 20%, #fbd888 50%, #f3bf53 85%, #e2ab39 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.95)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 25px rgba(251, 216, 136, 0.45));
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  color: #f0f0f0;
  max-width: 720px;
  margin: 0 auto 36px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.95);
}

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

.btn-primary-gold {
  background: var(--gold-gradient);
  color: #070707;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55), 0 4px 18px rgba(197, 160, 89, 0.45);
  transition: var(--transition-smooth);
}

.btn-primary-gold:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(197, 160, 89, 0.65);
}

.btn-outline-light {
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  transition: var(--transition-smooth);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Staggered Reveal Animation ("De a poco") */
@keyframes heroItemReveal {
  0% {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-animate-item {
  opacity: 0;
  animation: heroItemReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform, filter;
}

.hero-anim-1 {
  animation-delay: 0.4s;
}

.hero-anim-2 {
  animation-delay: 0.85s;
}

.hero-anim-3 {
  animation-delay: 1.3s;
}

.hero-anim-4 {
  animation-delay: 1.75s;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 9.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}

.scroll-line {
  width: 1.5px;
  height: 40px;
  background: rgba(197, 160, 89, 0.25);
  position: relative;
  overflow: hidden;
}

.scroll-line-thumb {
  width: 100%;
  height: 50%;
  background: var(--gold-gradient);
  position: absolute;
  top: -50%;
  animation: scrollPulse 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollPulse {
  0% { top: -50%; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* 6. FULLSCREEN MARKETS SECTIONS */
.markets-container {
  position: relative;
  background: var(--bg-black);
}

/* Quick Markets Panorama Deck */
.markets-quick-deck-wrap {
  padding: 80px 50px 30px;
  max-width: 1440px;
  margin: 0 auto;
}

.markets-deck-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.markets-deck-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 12px;
}

.markets-deck-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.markets-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.market-quick-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.market-quick-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(197, 160, 89, 0.15);
}

.market-quick-thumb {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
}

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

.market-quick-card:hover .market-quick-thumb img {
  transform: scale(1.08);
}

.market-quick-num {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(7, 7, 7, 0.75);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
}

.market-quick-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.market-quick-region {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.market-quick-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.market-quick-specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  font-size: 12px;
}

.market-spec-roi {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold-light);
}

.market-spec-detail {
  color: var(--text-muted);
  font-size: 11px;
}

.market-quick-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: var(--transition-smooth);
}

.market-quick-card:hover .market-quick-btn {
  color: #ffffff;
  transform: translateX(4px);
}

.market-block {
  position: relative;
  min-height: min(85vh, 760px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 80px;
  overflow: hidden;
}

.market-bg-parallax {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.1s linear;
}

.market-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(to right, rgba(7, 7, 7, 0.95) 0%, rgba(7, 7, 7, 0.8) 45%, rgba(7, 7, 7, 0.35) 100%),
              linear-gradient(to top, rgba(7, 7, 7, 0.9) 0%, transparent 40%, rgba(7, 7, 7, 0.85) 100%);
}

.market-content {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  width: 100%;
}

.market-layout-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

.market-col-main {
  max-width: 640px;
  flex: 1;
}

.market-col-kpis {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 290px;
  max-width: 380px;
}

.market-meta-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.market-number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

.market-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(14, 14, 14, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.market-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.market-tagline {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 30px;
  border-left: 3px solid var(--gold-primary);
  padding-left: 18px;
}

/* Market Mini-KPI Cards */
.market-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 38px;
  max-width: 600px;
}

.market-kpi-box {
  background: rgba(14, 14, 14, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: var(--transition-smooth);
}

.market-kpi-box:hover {
  border-color: var(--gold-primary);
  background: rgba(22, 22, 22, 0.9);
  transform: translateX(4px);
}

.market-kpi-box:hover {
  border-color: var(--gold-primary);
  background: rgba(22, 22, 22, 0.85);
}

.market-kpi-val {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.market-kpi-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-market-explore {
  background: var(--gold-gradient);
  color: #070707;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(197, 160, 89, 0.35);
  transition: var(--transition-smooth);
}

.btn-market-explore:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(197, 160, 89, 0.55);
}

.btn-market-explore svg {
  transition: transform 0.3s ease;
}

.btn-market-explore:hover svg {
  transform: translateX(4px);
}

/* 7. SLIDE-OVER MARKET DETAIL DRAWER */
.market-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.market-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.market-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 780px;
  height: 100%;
  z-index: 201;
  background: #0d0d0d;
  border-left: 1px solid var(--gold-border);
  box-shadow: var(--shadow-drawer);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.market-drawer-backdrop.active .market-drawer {
  transform: translateX(0);
}

.drawer-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 24px 36px;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.drawer-header-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.btn-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition-smooth);
}

.btn-drawer-close:hover {
  background: var(--gold-primary);
  color: #070707;
  transform: rotate(90deg);
}

.drawer-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.drawer-hero-img-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
}

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

.drawer-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(7, 7, 7, 0.95) 0%, transparent 100%);
}

.drawer-hero-tagline {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}

/* Drawer Key Metrics Grid */
.drawer-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold-gradient);
}

.metric-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.metric-card-val {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-card-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
}

/* Drawer Advantages */
.drawer-section-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-section-title::before {
  content: '';
  display: block;
  width: 14px;
  height: 2px;
  background: var(--gold-primary);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.advantage-card {
  background: rgba(22, 22, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition-smooth);
}

.advantage-card:hover {
  border-color: var(--gold-border);
  background: rgba(26, 26, 26, 0.9);
  transform: translateY(-2px);
}

.advantage-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.advantage-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.advantage-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Property Types */
.property-types-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.property-type-item {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.property-type-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.property-type-info p {
  font-size: 12px;
  color: var(--text-secondary);
}

.property-type-badge-wrap {
  text-align: right;
  flex-shrink: 0;
}

.property-type-price {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gold-light);
}

.property-type-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* Gallery Carousel */
.drawer-carousel-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
}

.drawer-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-carousel-slide {
  min-width: 100%;
  position: relative;
  height: 240px;
}

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

.drawer-carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 16px;
  background: rgba(7, 7, 7, 0.75);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  color: #ffffff;
}

.drawer-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

.btn-carousel-ctrl {
  pointer-events: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(7, 7, 7, 0.75);
  border: 1px solid var(--gold-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.btn-carousel-ctrl:hover {
  background: var(--gold-primary);
  color: #070707;
}

/* Drawer Bottom Sticky Action */
.drawer-footer {
  position: sticky;
  bottom: 0;
  padding: 20px 36px;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.drawer-footer-text {
  font-size: 12px;
  color: var(--text-secondary);
}

.btn-drawer-cta {
  background: var(--gold-gradient);
  color: #070707;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
}

.btn-drawer-cta:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
}

/* 8. SECTION: POR QUÉ INVERTIR CON BRICEÑO REALTY GROUP */
.section-pillars {
  padding: 120px 50px;
  background: var(--bg-obsidian);
  position: relative;
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-subtitle-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-muted);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.pillar-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 9. SECTION: SOBRE DANIEL BRICEÑO (EDITORIAL HORIZONTAL) */
.section-advisor {
  padding: 100px 50px;
  background: var(--bg-black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.advisor-editorial-frame {
  max-width: 1280px;
  margin: 0 auto;
  background: radial-gradient(circle at top center, rgba(30, 26, 18, 0.4) 0%, rgba(14, 14, 14, 0.85) 70%, rgba(10, 10, 10, 0.98) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  box-shadow: var(--shadow-card), 0 0 50px rgba(197, 160, 89, 0.07);
  position: relative;
}

.advisor-editorial-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 2px;
  background: var(--gold-gradient);
}

.advisor-horizontal-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: center;
}

.advisor-col-profile {
  background: rgba(14, 14, 14, 0.65);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.advisor-seal-medallion {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  background: #070707;
  padding: 5px;
  box-shadow: 0 4px 25px rgba(197, 160, 89, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advisor-seal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.advisor-lead-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 6px;
}

.advisor-lead-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  display: inline-block;
}

.advisor-market-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.advisor-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

.advisor-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  padding-top: 22px;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.advisor-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advisor-stat-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.advisor-stat-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.advisor-cta-wrap {
  width: 100%;
  margin-top: 26px;
}

.advisor-col-editorial {
  display: flex;
  flex-direction: column;
}

.advisor-quote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-style: italic;
  line-height: 1.25;
  color: var(--gold-light);
  margin-bottom: 22px;
}

.advisor-bio-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.advisor-editorial-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 16px;
}

.editorial-pillar-item {
  display: flex;
  gap: 14px;
  background: rgba(22, 22, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.editorial-pillar-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.editorial-pillar-item strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 3px;
}

.editorial-pillar-item span {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* 9.5. SECTION: TESTIMONIOS (SLIDER SIN NOMBRES DE CLIENTES) */
.section-testimonials {
  padding: 110px 50px;
  background: var(--bg-obsidian);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonials-slider-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.testimonials-nav-ctrls {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 20px;
}

.btn-testimonial-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-testimonial-nav:hover {
  background: var(--gold-gradient);
  color: #070707;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.35);
}

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
  padding: 10px 0 24px;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(197, 160, 89, 0.15);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--gold-light);
}

.star-icon {
  width: 16px;
  height: 16px;
}

.testimonial-market-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

.testimonial-quote {
  font-family: var(--font-sans);
  font-size: 14px;
  font-style: normal;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 26px;
  flex: 1;
}

.testimonial-card-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(197, 160, 89, 0.18);
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar-seal {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  border: 1.5px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-role {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.testimonial-tx {
  font-size: 11.5px;
  color: var(--text-muted);
}

.testimonial-metric-chip {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid var(--gold-border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
}

.testimonial-dot.active {
  width: 28px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
}

/* 10. SECTION: COMPARATIVA ESTRATÉGICA DE MERCADOS */
.section-comparison {
  padding: 120px 50px;
  background: var(--bg-obsidian);
}

.comparison-table-wrap {
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 22px 24px;
  background: rgba(14, 14, 14, 0.95);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold-border);
}

.comparison-table td {
  padding: 22px 24px;
  font-size: 13.5px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.comparison-table tr:hover td {
  background: rgba(197, 160, 89, 0.04);
}

.comparison-country-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.badge-roi {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--gold-light);
  background: transparent;
  padding: 0;
  border: none;
  letter-spacing: 0.02em;
}

/* Mobile cards fallback for comparison */
.comparison-cards-mobile {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.comparison-mobile-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.mobile-card-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
}

.mobile-card-row:last-child {
  border-bottom: none;
}

.mobile-card-lbl {
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 10.5px;
}

/* 11. SECTION: ASISTENTE INTERACTIVO DE CONSULTA (WIZARD) */
.section-wizard {
  padding: 130px 50px;
  background: var(--bg-black);
  position: relative;
}

.wizard-container {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card), 0 0 60px rgba(197, 160, 89, 0.08);
}

.wizard-progress-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  margin-bottom: 36px;
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  width: 20%;
  background: var(--gold-gradient);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
}

.wizard-step-node {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.wizard-step-node.active {
  color: var(--gold-light);
}

.wizard-step-node.completed {
  color: #10b981;
}

.wizard-node-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.wizard-step-node.active .wizard-node-circle {
  border-color: var(--gold-primary);
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-light);
}

.wizard-step-node.completed .wizard-node-circle {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.wizard-step-pane {
  display: none;
  animation: fadeInStep 0.4s ease forwards;
}

.wizard-step-pane.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-pane-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.wizard-pane-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Wizard Selectable Grid */
.wizard-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.wizard-choice-card {
  background: rgba(14, 14, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition-smooth);
  user-select: none;
}

.wizard-choice-card:hover {
  border-color: rgba(197, 160, 89, 0.5);
  background: rgba(22, 22, 22, 0.8);
  transform: translateY(-2px);
}

.wizard-choice-card.selected {
  border-color: var(--gold-primary);
  background: rgba(197, 160, 89, 0.08);
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.18);
}

.wizard-check-box {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.wizard-choice-card.selected .wizard-check-box {
  border-color: var(--gold-primary);
  background: var(--gold-gradient);
  color: #070707;
}

.wizard-choice-content h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.wizard-choice-content p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Wizard Form Inputs */
.wizard-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.wizard-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wizard-field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wizard-input {
  background: rgba(14, 14, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: #ffffff;
  outline: none;
  transition: var(--transition-smooth);
}

.wizard-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.25);
  background: rgba(22, 22, 22, 0.95);
}

/* Summary Card & Dispatch Buttons */
.wizard-summary-card {
  background: #0d0d0d;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 32px;
  position: relative;
}

.summary-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.18);
}

.summary-card-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
}

.summary-card-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.summary-message-text {
  font-size: 14px;
  color: #e5e5e5;
  line-height: 1.7;
  white-space: pre-line;
  background: rgba(0, 0, 0, 0.4);
  padding: 18px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold-primary);
}

.wizard-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.btn-wizard-prev {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
}

.btn-wizard-prev:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-wizard-next {
  background: var(--gold-gradient);
  color: #070707;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
}

.btn-wizard-next:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-1px);
}

/* Dispatch Channels */
.dispatch-channels-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}

.btn-dispatch-whatsapp {
  background: var(--gold-gradient);
  color: #070707;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 25px rgba(197, 160, 89, 0.38);
}

.btn-dispatch-whatsapp:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
}

.btn-dispatch-email {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gold-border);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-dispatch-email:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.btn-dispatch-copy {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.btn-dispatch-copy:hover {
  color: #ffffff;
  border-color: var(--gold-border);
}

/* 12. SECTION: CONTACT & FOOTER */
.section-contact {
  padding: 100px 50px 60px;
  background: var(--bg-obsidian);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.contact-info-col h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.contact-info-col p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-items-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}

.contact-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.contact-item-row > div:last-child {
  min-width: 0;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-item-val {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.contact-item-val:hover {
  color: var(--gold-light);
}

.contact-cta-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.contact-cta-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.15);
}

.contact-cta-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-cta-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 26px;
  line-height: 1.6;
}

/* Site Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-markets-nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-markets-nav a:hover {
  color: var(--gold-light);
}

.footer-legal-disclaimer {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* 13. FLOATING LUXURY WHATSAPP BUTTON */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 14, 14, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-full);
  padding: 10px 20px 10px 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(197, 160, 89, 0.25);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.floating-whatsapp-btn:hover {
  background: var(--gold-gradient);
  color: #070707;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(197, 160, 89, 0.5);
}

.floating-whatsapp-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-whatsapp-btn:hover .floating-whatsapp-icon {
  background: rgba(0, 0, 0, 0.15);
}

/* 14. TOAST NOTIFICATION */
.toast-notice {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid var(--gold-primary);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.75);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notice.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 15. REVEAL ANIMATIONS ON SCROLL */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* 16. RESPONSIVE MEDIA QUERIES */
@media (max-width: 1080px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advisor-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .advisor-img-col {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 1040px) {
  .site-header {
    padding: 18px 24px;
  }
  .hero-video {
    transform: none;
    max-width: 100%;
  }
  .header-nav {
    display: none;
  }
  .header-actions .btn-header-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .market-block {
    padding: 80px 24px;
  }
  .market-kpi-row {
    grid-template-columns: 1fr 1fr;
  }
  .market-drawer {
    max-width: 100%;
  }
  .drawer-metrics-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .section-pillars,
  .section-advisor,
  .section-comparison,
  .section-wizard,
  .section-contact {
    padding: 80px 24px;
  }
  .comparison-table-wrap {
    display: none;
  }
  .comparison-cards-mobile {
    display: flex;
  }
  .wizard-cards-grid,
  .wizard-form-row {
    grid-template-columns: 1fr;
  }
  .dispatch-channels-grid {
    grid-template-columns: 1fr;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .floating-whatsapp-btn span {
    display: none;
  }
  .floating-whatsapp-btn {
    padding: 12px;
    border-radius: 50%;
  }
  .advisor-editorial-frame {
    padding: 42px 24px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .advisor-highlights {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 14px 18px;
  }
  .hero-title {
    font-size: 34px;
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 28px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn-primary-gold,
  .hero-actions .btn-outline-light {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  .market-block {
    min-height: 90vh;
    padding: 70px 18px;
  }
  .market-title {
    font-size: 36px;
  }
  .market-tagline {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .btn-market-explore {
    width: 100%;
    justify-content: center;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pillar-card {
    padding: 26px 20px;
  }
  .wizard-container {
    padding: 24px 16px;
  }
  .wizard-pane-title {
    font-size: 20px;
  }
  .wizard-pane-desc {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .wizard-step-node span:not(.wizard-node-circle) {
    display: none;
  }
  .wizard-node-circle {
    width: 28px;
    height: 28px;
    font-size: 11px;
    font-weight: 700;
  }
  .wizard-choice-card {
    padding: 16px;
  }
  .wizard-input {
    font-size: 16px; /* Prevents auto zoom on iOS */
    padding: 12px 14px;
  }
  .wizard-summary-card {
    padding: 18px 14px;
  }
  .summary-message-text {
    font-size: 13px;
    padding: 14px;
  }
  .btn-dispatch-whatsapp,
  .btn-dispatch-email,
  .btn-dispatch-copy {
    width: 100%;
    padding: 14px;
    font-size: 11.5px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-markets-nav {
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .section-contact {
    padding: 60px 18px 40px;
  }
  .contact-item-row {
    gap: 12px;
  }
  .contact-item-val {
    font-size: 13.5px;
  }
  .advisor-editorial-frame {
    padding: 32px 18px;
  }
  .btn-theme-toggle .theme-toggle-text {
    display: none;
  }
  .btn-theme-toggle {
    padding: 8px;
    border-radius: 50%;
  }
}

/* Rounded Logo Utility */
.logo-rounded {
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid var(--gold-border);
  box-shadow: 0 2px 10px rgba(197, 160, 89, 0.35);
  background: #070707;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES FOR HORIZONTAL SECTIONS & TESTIMONIALS
   ========================================================================== */
@media (max-width: 1100px) {
  .markets-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advisor-horizontal-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .advisor-col-profile {
    max-width: 480px;
    margin: 0 auto;
  }
  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 860px) {
  .market-layout-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .market-col-kpis {
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .market-col-kpis .market-kpi-box {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 150px;
    padding: 14px 16px;
  }
  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .contact-items-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .markets-quick-grid {
    grid-template-columns: 1fr;
  }
  .market-col-kpis {
    flex-direction: column;
  }
  .advisor-editorial-pillars {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   17. COMPREHENSIVE LIGHT MODE (MODO CLARO)
   REGLA REQUERIDA: El header y footer siempre quedan en el color que están actualmente.
   ========================================================================== */

/* HEADER IMMUTABLE DARK PRESERVATION */
html.theme-light .site-header,
body.theme-light .site-header {
  background: transparent;
}

html.theme-light .site-header.scrolled,
body.theme-light .site-header.scrolled {
  background: rgba(7, 7, 7, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
}

html.theme-light .header-brand-name,
body.theme-light .header-brand-name {
  color: #ffffff !important;
}

html.theme-light .header-brand-sub,
body.theme-light .header-brand-sub {
  color: #dfc080 !important;
}

html.theme-light .nav-link,
body.theme-light .nav-link {
  color: #c4c4c4 !important;
}

html.theme-light .nav-link:hover,
body.theme-light .nav-link:hover {
  color: #ffffff !important;
}

html.theme-light .btn-header-cta,
body.theme-light .btn-header-cta {
  color: #dfc080 !important;
  border-color: #c5a059 !important;
  background: transparent !important;
}

html.theme-light .btn-header-cta:hover,
body.theme-light .btn-header-cta:hover {
  background: linear-gradient(135deg, #f0d59e 0%, #c5a059 50%, #9e7d3b 100%) !important;
  color: #070707 !important;
}

html.theme-light .btn-theme-toggle,
body.theme-light .btn-theme-toggle {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #dfc080 !important;
  border-color: rgba(197, 160, 89, 0.4) !important;
}

html.theme-light .btn-theme-toggle:hover,
body.theme-light .btn-theme-toggle:hover {
  background: rgba(197, 160, 89, 0.25) !important;
  color: #ffffff !important;
}

html.theme-light .mobile-menu-toggle,
body.theme-light .mobile-menu-toggle {
  color: #ffffff !important;
}

/* FOOTER IMMUTABLE DARK PRESERVATION */
html.theme-light .site-footer,
body.theme-light .site-footer {
  background: #090909 !important;
  color: #c4c4c4 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 40px;
  padding: 40px 30px 20px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

html.theme-light .site-footer .footer-brand span,
body.theme-light .site-footer .footer-brand span {
  color: #ffffff !important;
}

html.theme-light .site-footer .footer-markets-nav a,
body.theme-light .site-footer .footer-markets-nav a {
  color: #b5b5b5 !important;
}

html.theme-light .site-footer .footer-markets-nav a:hover,
body.theme-light .site-footer .footer-markets-nav a:hover {
  color: #dfc080 !important;
}

html.theme-light .site-footer .footer-legal-disclaimer,
body.theme-light .site-footer .footer-legal-disclaimer {
  color: #888888 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.theme-light .site-footer .footer-bottom,
body.theme-light .site-footer .footer-bottom {
  color: #888888 !important;
}

html.theme-light .site-footer .admin-portal-link,
body.theme-light .site-footer .admin-portal-link {
  color: #dfc080 !important;
}

/* CONTENT SECTIONS ADAPTATIONS IN LIGHT MODE */
html.theme-light body {
  background-color: #f8f7f4;
  color: #1a1a1a;
}

html.theme-light .hero-section {
  background-color: #070707;
}

html.theme-light .hero-title,
html.theme-light .hero-subtitle {
  color: #ffffff;
}

html.theme-light .section-title,
html.theme-light .markets-deck-title,
html.theme-light .advisor-lead-name,
html.theme-light .drawer-header-title,
html.theme-light .drawer-section-title,
html.theme-light .contact-info-col h3 {
  color: #111111;
}

html.theme-light .section-desc,
html.theme-light .markets-deck-sub,
html.theme-light .pillar-desc,
html.theme-light .advisor-bio-text,
html.theme-light .contact-info-col p {
  color: #444444;
}

html.theme-light .markets-container {
  background: #f8f7f4;
}

html.theme-light .market-quick-card {
  background: #ffffff;
  border-color: rgba(163, 124, 53, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html.theme-light .market-quick-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 10px 30px rgba(163, 124, 53, 0.15);
}

html.theme-light .market-quick-name {
  color: #111111;
}

html.theme-light .market-quick-btn {
  color: #8a6524;
}

html.theme-light .market-block::after {
  background: linear-gradient(to right, rgba(248, 247, 244, 0.95) 0%, rgba(248, 247, 244, 0.85) 45%, rgba(248, 247, 244, 0.35) 100%),
              linear-gradient(to top, rgba(248, 247, 244, 0.95) 0%, transparent 40%, rgba(248, 247, 244, 0.85) 100%);
}

html.theme-light .market-title {
  color: #111111;
}

html.theme-light .market-tagline {
  color: #3d3d3d;
}

html.theme-light .market-badge {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(163, 124, 53, 0.3);
  color: #8a6524;
}

html.theme-light .market-kpi-box {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(163, 124, 53, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

html.theme-light .market-kpi-box:hover {
  background: #ffffff;
  border-color: var(--gold-primary);
}

html.theme-light .market-kpi-val {
  color: #8a6524;
}

html.theme-light .market-kpi-lbl {
  color: #666666;
}

html.theme-light .section-pillars {
  background: #f3efe8;
  border-top: 1px solid rgba(163, 124, 53, 0.15);
  border-bottom: 1px solid rgba(163, 124, 53, 0.15);
}

html.theme-light .pillar-card {
  background: #ffffff;
  border-color: rgba(163, 124, 53, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html.theme-light .pillar-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 10px 30px rgba(163, 124, 53, 0.15);
}

html.theme-light .pillar-title {
  color: #111111;
}

html.theme-light .section-advisor {
  background: #f8f7f4;
}

html.theme-light .advisor-editorial-frame {
  background: #ffffff;
  border-color: rgba(163, 124, 53, 0.28);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

html.theme-light .advisor-col-profile {
  background: #fcfbfa;
  border-color: rgba(163, 124, 53, 0.2);
}

html.theme-light .advisor-tag {
  background: rgba(163, 124, 53, 0.08);
  border-color: rgba(163, 124, 53, 0.25);
  color: #7a5a1f;
}

html.theme-light .advisor-stat-item {
  background: #ffffff;
  border-color: rgba(163, 124, 53, 0.2);
}

html.theme-light .editorial-pillar-item {
  background: #fcfbfa;
  border-color: rgba(0, 0, 0, 0.08);
}

html.theme-light .editorial-pillar-item strong {
  color: #111111;
}

html.theme-light .editorial-pillar-item span {
  color: #555555;
}

html.theme-light .section-testimonials {
  background: #f3efe8;
  border-top: 1px solid rgba(163, 124, 53, 0.15);
  border-bottom: 1px solid rgba(163, 124, 53, 0.15);
}

html.theme-light .testimonial-card {
  background: #ffffff;
  border-color: rgba(163, 124, 53, 0.24);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

html.theme-light .testimonial-quote {
  color: #262626;
}

html.theme-light .testimonial-role {
  color: #111111;
}

html.theme-light .testimonial-tx {
  color: #666666;
}

html.theme-light .testimonial-metric-chip {
  background: rgba(163, 124, 53, 0.08);
  border-color: rgba(163, 124, 53, 0.25);
  color: #7a5a1f;
}

html.theme-light .btn-testimonial-nav {
  background: #ffffff;
  border-color: rgba(163, 124, 53, 0.3);
  color: #8a6524;
}

html.theme-light .btn-testimonial-nav:hover {
  background: var(--gold-gradient);
  color: #070707;
}

html.theme-light .testimonial-dot {
  background: rgba(0, 0, 0, 0.15);
}

html.theme-light .section-comparison {
  background: #f8f7f4;
}

html.theme-light .comparison-table-wrap {
  background: #ffffff;
  border-color: rgba(163, 124, 53, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

html.theme-light .comparison-table th {
  background: #f5f2eb;
  color: #7a5a1f;
  border-color: rgba(163, 124, 53, 0.2);
}

html.theme-light .comparison-table td {
  color: #333333;
  border-color: rgba(0, 0, 0, 0.06);
}

html.theme-light .comparison-country-cell {
  color: #111111;
}

html.theme-light .comparison-mobile-card {
  background: #ffffff;
  border-color: rgba(163, 124, 53, 0.25);
}

html.theme-light .mobile-card-row {
  border-color: rgba(0, 0, 0, 0.06);
  color: #222222;
}

html.theme-light .section-wizard {
  background: #f3efe8;
}

html.theme-light .wizard-container {
  background: #ffffff;
  border-color: rgba(163, 124, 53, 0.28);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

html.theme-light .wizard-pane-title {
  color: #111111;
}

html.theme-light .wizard-pane-desc {
  color: #444444;
}

html.theme-light .wizard-choice-card {
  background: #fcfbfa;
  border-color: rgba(0, 0, 0, 0.1);
}

html.theme-light .wizard-choice-card:hover {
  background: #ffffff;
  border-color: var(--gold-primary);
}

html.theme-light .wizard-choice-card.selected {
  background: rgba(163, 124, 53, 0.08);
  border-color: var(--gold-primary);
}

html.theme-light .wizard-choice-content h4 {
  color: #111111;
}

html.theme-light .wizard-choice-content p {
  color: #555555;
}

html.theme-light .wizard-check-box {
  border-color: rgba(0, 0, 0, 0.2);
}

html.theme-light .wizard-input {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.18);
  color: #111111;
}

html.theme-light .wizard-input:focus {
  border-color: var(--gold-primary);
  background: #ffffff;
}

html.theme-light .btn-wizard-prev {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: #444444;
}

html.theme-light .btn-wizard-prev:hover {
  background: rgba(0, 0, 0, 0.09);
  color: #111111;
}

html.theme-light .wizard-summary-card {
  background: #fcfbfa;
  border-color: rgba(163, 124, 53, 0.25);
}

html.theme-light .summary-message-text {
  background: #ffffff;
  color: #222222;
  border-left-color: var(--gold-primary);
}

html.theme-light .section-contact {
  background: #f8f7f4;
}

html.theme-light .contact-item-icon {
  background: rgba(163, 124, 53, 0.1);
  border-color: rgba(163, 124, 53, 0.25);
  color: #7a5a1f;
}

html.theme-light .contact-item-val {
  color: #111111;
}

html.theme-light .contact-item-val:hover {
  color: #7a5a1f;
}

html.theme-light .contact-form-col > div {
  background: #ffffff !important;
  border-color: rgba(163, 124, 53, 0.25) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

html.theme-light .contact-form-col h4 {
  color: #111111 !important;
}

html.theme-light .market-drawer {
  background: #ffffff;
  border-left-color: rgba(163, 124, 53, 0.25);
}

html.theme-light .drawer-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(163, 124, 53, 0.2);
}

html.theme-light .drawer-header-title {
  color: #111111;
}

html.theme-light .btn-drawer-close {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: #333333;
}

html.theme-light .metric-card {
  background: #fcfbfa;
  border-color: rgba(163, 124, 53, 0.2);
}

html.theme-light .advantage-card {
  background: #fcfbfa;
  border-color: rgba(0, 0, 0, 0.06);
}

html.theme-light .advantage-title {
  color: #111111;
}

html.theme-light .property-type-item {
  background: #fcfbfa;
  border-color: rgba(0, 0, 0, 0.06);
}

html.theme-light .property-type-info h4 {
  color: #111111;
}

html.theme-light .drawer-footer {
  background: rgba(255, 255, 255, 0.96);
  border-top-color: rgba(163, 124, 53, 0.2);
}

html.theme-light .drawer-footer-text {
  color: #555555;
}


