/* ==========================================================================
   AR REAL ESTATE CAPITAL PARTNERS — DESIGN SYSTEM
   Luxury Real Estate & Private Equity Boutique
   Madrid | Valencia | Dubai | International
   ========================================================================== */

/* --- Custom Variables & Theming --- */
:root {
  /* Color Palette - Dark Luxury (Default) */
  --bg-deep: #080a0f;
  --bg-primary: #0b0e14;
  --bg-secondary: #121722;
  --bg-card: rgba(18, 23, 34, 0.82);
  --bg-card-hover: rgba(26, 33, 48, 0.95);
  --bg-glass: rgba(11, 14, 20, 0.88);
  --border-subtle: rgba(197, 160, 89, 0.22);
  --border-bright: rgba(223, 183, 108, 0.55);
  --border-glass: rgba(255, 255, 255, 0.12);

  /* Gold Metallics */
  --gold-primary: #c5a059;
  --gold-light: #e8d39e;
  --gold-glow: #dfb76c;
  --gold-dark: #8c6d32;
  --gold-gradient: linear-gradient(135deg, #e8d39e 0%, #c5a059 50%, #9c7a3c 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(232, 211, 158, 0.14) 0%, rgba(197, 160, 89, 0.05) 100%);
  --gold-shimmer: linear-gradient(90deg, transparent, rgba(232, 211, 158, 0.25), transparent);

  /* Text & Accents */
  --text-primary: #f8fafc;
  --text-secondary: #d1d9e2;
  --text-muted: #94a3b8;
  --text-gold: #dfb76c;
  --accent-emerald: #10b981;
  --accent-whatsapp: #25d366;

  /* Shadows & Glows */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 8px 32px rgba(197, 160, 89, 0.22);
  --shadow-gold-hover: 0 14px 44px rgba(223, 183, 108, 0.32);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-serif-display: 'Cinzel', serif;
  --font-serif-subtle: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --transition-theme: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* Modo Luz / Día: Mármol Travertino, Crema Marfil & Sepia Cálido (Sin Blanco Nuclear) */
[data-theme="light"] {
  --bg-deep: #e8e0d0;
  --bg-primary: #f2ece1;
  --bg-secondary: #e6decb;
  --bg-card: rgba(247, 242, 233, 0.90);
  --bg-card-hover: rgba(253, 250, 244, 0.98);
  --bg-glass: rgba(242, 236, 225, 0.92);
  --border-subtle: rgba(160, 126, 66, 0.26);
  --border-bright: rgba(160, 126, 66, 0.62);
  --border-glass: rgba(120, 98, 65, 0.16);

  --text-primary: #1e1a16;
  --text-secondary: #403830;
  --text-muted: #6b6052;
  --text-gold: #8c6724;
  --gold-primary: #a67f33;
  --gold-light: #8c6724;
  --gold-glow: #bd923d;
  --gold-dark: #5e4312;
  --gold-gradient: linear-gradient(135deg, #bfa05b 0%, #9e782e 50%, #735316 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(191, 160, 91, 0.18) 0%, rgba(158, 120, 46, 0.06) 100%);
  
  --shadow-sm: 0 4px 16px rgba(60, 48, 30, 0.08);
  --shadow-md: 0 12px 32px rgba(60, 48, 30, 0.12);
  --shadow-lg: 0 22px 50px rgba(60, 48, 30, 0.16);
  --shadow-gold: 0 8px 30px rgba(166, 127, 51, 0.18);
}

/* Base Reset & Standards */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Tailored quiet luxury scale for refined elegance */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

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

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

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

button, input, select, textarea {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.container-narrow {
  max-width: 980px;
}

/* Typography Helpers & Large Font Rules */
.font-serif {
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
}

.font-garamond {
  font-family: var(--font-serif-subtle);
}

.text-gold {
  color: var(--text-gold);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 0.88rem; /* Scaled up */
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold-primary);
}

.section-title {
  font-family: var(--font-serif);
   /* Scaled up */
  font-weight: 500;
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 1.35rem;
}

.section-subtitle {
  font-size: 1.18rem; /* Scaled up */
  color: var(--text-secondary);
  max-width: 760px;
  margin-bottom: 3.2rem;
  font-weight: 300;
  line-height: 1.7;
}

/* Ambient Background Luxury Grid & Radial Glow */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 10% 70%, rgba(197, 160, 89, 0.05) 0%, transparent 50%);
  transition: opacity 0.5s ease;
}

[data-theme="light"] .ambient-glow {
  opacity: 0.35;
  background: radial-gradient(circle at 80% 20%, rgba(166, 127, 51, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 10% 70%, rgba(166, 127, 51, 0.08) 0%, transparent 50%);
}

/* ==========================================================================
   NAVIGATION BAR — 100% RESPONSIVE & OVERFLOW PROTECTED
   ========================================================================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.1rem 0;
  background: rgba(11, 14, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="light"] .header-nav {
  background: rgba(242, 236, 225, 0.90);
}

.header-nav.scrolled {
  padding: 0.75rem 0;
  background: var(--bg-glass);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1.25rem;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.04);
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem; /* Scaled up */
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-primary);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.72rem; /* Scaled up */
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  font-weight: 500;
  white-space: nowrap;
}

/* Desktop Navigation Menu (Screens >= 1150px) */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.98rem; /* Scaled up */
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.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: var(--text-primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold-primary);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(197, 160, 89, 0.18);
  border-color: var(--gold-glow);
  transform: rotate(15deg);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.90rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.65rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  line-height: 1.35;
  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .btn {
    white-space: normal;
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: break-word;
    padding: 0.75rem 1.15rem;
    font-size: 0.82rem;
    letter-spacing: 0.035em;
    gap: 0.5rem;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: break-word;
    padding: 0.75rem 0.95rem;
    font-size: clamp(0.72rem, 3.2vw, 0.80rem);
    letter-spacing: 0.025em;
    line-height: 1.35;
    gap: 0.45rem;
    max-width: 100%;
  }
}

.btn-header {
  padding: 0.65rem 1.25rem;
  font-size: 0.84rem;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #080a0f;
  border: none;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  box-shadow: var(--shadow-gold-hover);
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-outline-gold {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--gold-primary);
  backdrop-filter: blur(8px);
}

.btn-outline-gold:hover {
  background: rgba(197, 160, 89, 0.14);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-whatsapp-hero {
  background: #20b859;
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 22px rgba(32, 184, 89, 0.32);
}

.btn-whatsapp-hero:hover {
  background: #1ca54f;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(32, 184, 89, 0.45);
}

/* Mobile & Tablet Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  width: 44px;
  height: 44px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-mobile-cta {
  display: none !important;
}

/* Tablet & Mobile Navigation Breakpoint (< 1150px) */
@media (max-width: 1280px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 6rem 2rem 2.5rem;
    align-items: flex-start;
    gap: 1.6rem;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 998;
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .brand-sub {
    display: none; /* Keep header compact on tablets */
  }

  .btn-header {
    display: none; /* Hidden on header, shown inside mobile drawer */
  }

  .nav-mobile-cta {
    display: block !important;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header-nav {
    padding: 0.65rem 0;
  }

  .nav-container {
    padding: 0 0.85rem;
    gap: 0.5rem;
  }

  .brand-link {
    gap: 0.5rem;
  }

  .brand-logo-img {
    height: 36px;
  }

  .brand-name {
    font-size: 0.88rem;
    letter-spacing: 0.08em;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .theme-toggle-btn {
    width: 36px;
    height: 36px;
  }

  .theme-toggle-btn svg {
    width: 17px;
    height: 17px;
  }

  .mobile-menu-btn {
    width: 36px;
    height: 36px;
    padding: 6px;
  }
}

/* ==========================================================================
   HERO SECTION — ULTRA LUXURY FULLSCREEN VIDEO
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4.5rem;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, 
              rgba(8, 10, 15, 0.82) 0%, 
              rgba(8, 10, 15, 0.68) 50%, 
              var(--bg-primary) 100%);
  transition: var(--transition-theme);
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(180deg, 
              rgba(242, 236, 225, 0.88) 0%, 
              rgba(242, 236, 225, 0.72) 50%, 
              var(--bg-primary) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
}

.hero-pill-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-location-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font-size: 0.84rem; /* Scaled up */
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-gold);
  margin: 0 auto 1.8rem auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.hero-location-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-glow);
}

.hero-title {
  font-family: var(--font-serif);
  
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-title-line {
  display: block;
}

.hero-desc {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem); /* Scaled up */
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 820px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-glass);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.85rem; /* Scaled up */
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.84rem; /* Scaled up */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   EXECUTIVE OVERVIEW (LA FIRMA)
   ========================================================================== */
.section-padding {
  padding: 6.5rem 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4.5rem 0;
  }
}

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

.editorial-lead {
  font-size: 1.32rem; /* Scaled up */
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 1.8rem;
  border-left: 2px solid var(--gold-primary);
  padding-left: 1.6rem;
}

.editorial-body {
  font-size: 1.12rem; /* Scaled up */
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.pillar-cards {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.luxury-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem 1.8rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.luxury-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.luxury-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.luxury-card:hover::before {
  opacity: 1;
}

.card-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--gold-primary);
}

.card-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem; /* Scaled up */
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.card-desc {
  font-size: 1.05rem; /* Scaled up */
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   DIFFERENTIATOR (ACOMPAÑAMIENTO INTEGRAL 360)
   ========================================================================== */
.differentiator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 2.4rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.diff-card:hover {
  border-color: var(--gold-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.diff-badge {
  display: inline-block;
  font-size: 0.8rem; /* Scaled up */
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.diff-title {
  font-family: var(--font-serif);
  font-size: 1.35rem; /* Scaled up */
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.95rem;
  line-height: 1.35;
}

.diff-desc {
  font-size: 1.05rem; /* Scaled up */
  color: var(--text-secondary);
  line-height: 1.75;
}

.diff-checklist {
  list-style: none;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.diff-checklist li {
  font-size: 0.95rem; /* Scaled up */
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.diff-checklist li svg {
  width: 16px;
  height: 16px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   ÁREAS DE ACTIVIDAD (8 PILARES)
   ========================================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 1.8rem;
}

.area-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
}

.area-card:hover {
  border-color: var(--gold-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.area-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.area-number {
  font-family: var(--font-serif);
  font-size: 1.25rem; /* Scaled up */
  color: var(--gold-primary);
  font-weight: 600;
}

.area-name {
  font-family: var(--font-serif);
  font-size: 1.35rem; /* Scaled up */
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.area-text {
  font-size: 1.05rem; /* Scaled up */
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.area-card-action {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-glass);
}

.link-gold-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem; /* Scaled up */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-primary);
  cursor: pointer;
}

.link-gold-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.link-gold-arrow:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   SEDES ESTRATÉGICAS: MADRID | VALENCIA | DUBAI
   (Rediseñado para eliminar cortes de texto y dar máxima elegancia)
   ========================================================================== */
.hubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

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

.hub-card-image-wrap {
  position: relative;
  height: 270px;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.hub-card-image-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(to top, rgba(8, 10, 15, 0.65), transparent);
  pointer-events: none;
  z-index: 1;
}

.hub-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-card:hover .hub-card-bg {
  transform: scale(1.08);
}

.hub-card-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(8, 10, 15, 0.82);
  border: 1px solid var(--border-bright);
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  backdrop-filter: blur(8px);
  z-index: 2;
  font-weight: 600;
  max-width: calc(100% - 2rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-card-body {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hub-city {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.hub-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.hub-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.hub-features li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hub-features li svg {
  width: 15px;
  height: 15px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.hub-card-action {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-glass);
}

/* ==========================================================================
   CARTERA OFF-MARKET (REDESIGNED FOR BALANCED DISTRIBUTION)
   ========================================================================== */
.offmarket-section {
  position: relative;
  z-index: 1;
}

.offmarket-wrapper {
  background: var(--bg-card);
  border: 1.5px solid var(--border-bright);
  border-radius: 16px;
  padding: 4rem 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4), var(--shadow-gold);
}

.offmarket-wrapper::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.badge-confidential {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-bright);
  padding: 0.42rem 1.15rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.badge-confidential svg {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.offmarket-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3.5rem;
  position: relative;
  z-index: 2;
}

.offmarket-grid-balanced {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.offmarket-card {
  background: rgba(8, 10, 15, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 2rem 1.6rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

[data-theme="light"] .offmarket-card {
  background: rgba(247, 242, 233, 0.90);
}

.offmarket-card:hover {
  border-color: var(--gold-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.offmarket-card-location {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.offmarket-card-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.offmarket-card-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.offmarket-card-footer {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.offmarket-cta-box {
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.offmarket-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

@media (max-width: 1200px) {
  .offmarket-grid-balanced {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .offmarket-wrapper {
    padding: 2.5rem 1.4rem;
  }
  .offmarket-grid-balanced {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .offmarket-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .offmarket-cta-buttons .btn {
    width: 100%;
  }
}

/* ==========================================================================
   MISIÓN & VISIÓN
   ========================================================================== */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.statement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 3.2rem 2.8rem;
  position: relative;
  transition: var(--transition-smooth);
}

.statement-card:hover {
  border-color: var(--gold-glow);
  box-shadow: var(--shadow-md);
}

.statement-icon {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.statement-title {
  font-family: var(--font-serif);
  font-size: 1.65rem; /* Scaled up */
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.35rem;
}

.statement-text {
  font-size: 1.15rem; /* Scaled up */
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-secondary);
}

/* ==========================================================================
   FOUNDER & PRIVATE OFFICE (ANANDA RUBIO)
   ========================================================================== */
.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 3.8rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.8rem;
  align-items: center;
  position: relative;
  box-shadow: var(--shadow-gold);
}

.founder-photo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.founder-photo-ring {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  padding: 8px;
  background: var(--gold-gradient);
  box-shadow: 0 10px 32px rgba(197, 160, 89, 0.28);
  position: relative;
}

.founder-photo-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
  border: 4px solid var(--bg-primary);
}

.founder-badge-direct {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-primary);
  border: 1px solid var(--gold-primary);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem; /* Scaled up */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.founder-name {
  font-family: var(--font-serif);
  font-size: 2.4rem; /* Scaled up */
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.founder-role {
  font-size: 0.98rem; /* Scaled up */
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
  margin-bottom: 1.6rem;
  font-weight: 600;
}

.founder-quote {
  font-family: var(--font-serif-subtle);
  font-size: 1.42rem; /* Scaled up */
  font-style: italic;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 1.6rem;
  border-left: 2px solid var(--gold-primary);
  padding-left: 1.4rem;
}

.founder-bio {
  font-size: 1.08rem; /* Scaled up */
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.8rem;
}

.founder-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
}

/* ==========================================================================
   CONTACT FORM & PRIVATE CONSULTATION (EL NÚCLEO)
   ========================================================================== */
.contact-section-wrapper {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin: 2.8rem 0;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 1.3rem;
}

.contact-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.contact-icon-box svg {
  width: 24px;
  height: 24px;
}

.contact-method-label {
  font-size: 0.84rem; /* Scaled up */
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.contact-method-val {
  font-size: 1.18rem; /* Scaled up */
  font-weight: 600;
  color: var(--text-primary);
}

.contact-method-val a:hover {
  color: var(--gold-primary);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 3.2rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.form-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.88rem; /* Scaled up */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.95rem 1.1rem;
  color: var(--text-primary);
  font-size: 1.05rem; /* Scaled up */
  transition: var(--transition-fast);
  outline: none;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: rgba(247, 242, 233, 0.95);
  border-color: rgba(160, 126, 66, 0.32);
  color: var(--text-primary);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-glow);
  box-shadow: 0 0 0 3px rgba(207, 168, 94, 0.22);
  background: var(--bg-card-hover);
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 125px;
}

.form-actions-dual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.6rem;
}

.privacy-notice {
  font-size: 0.84rem; /* Scaled up */
  color: var(--text-muted);
  text-align: center;
  margin-top: 1.1rem;
  line-height: 1.6;
}

.form-success-banner {
  display: none;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 6px;
  padding: 1.1rem;
  color: #10b981;
  font-size: 1rem;
  margin-bottom: 1.4rem;
  text-align: center;
  font-weight: 500;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-header {
  width: 100%;
  padding: 1.5rem 1.8rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.18rem; /* Scaled up */
  font-weight: 500;
}

.faq-toggle-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.8rem;
}

.faq-item.active .faq-body {
  max-height: 260px;
  padding-bottom: 1.5rem;
}

.faq-answer {
  font-size: 1.05rem; /* Scaled up */
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-main {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 5.5rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 0.98rem; /* Scaled up */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  font-size: 0.98rem; /* Scaled up */
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2.2rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.88rem; /* Scaled up */
  color: var(--text-muted);
}

/* ==========================================================================
   FLOATING INTERACTIVE WIDGETS
   ========================================================================== */
.floating-widgets {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  z-index: 999;
}

.back-to-top {
  width: 48px;
  height: 48px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--gold-glow);
  transform: translateY(-3px);
  color: var(--gold-light);
}

.back-to-top svg.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring-circle {
  stroke: var(--gold-primary);
  stroke-width: 2.5;
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
  transition: stroke-dashoffset 0.15s ease-out;
  fill: transparent;
}

.floating-whatsapp-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-tooltip-card {
  position: absolute;
  bottom: 65px;
  right: 0;
  width: 330px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.whatsapp-tooltip-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-tooltip-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-glass);
}

.tooltip-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  object-fit: cover;
}

.tooltip-info h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem; /* Scaled up */
  color: var(--text-primary);
  line-height: 1.2;
}

.tooltip-info span {
  font-size: 0.82rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tooltip-info span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.whatsapp-tooltip-body {
  font-size: 0.92rem; /* Scaled up */
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.1rem;
}

.whatsapp-quick-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.whatsapp-quick-option {
  font-size: 0.86rem; /* Scaled up */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-quick-option:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
  color: #25d366;
}

.floating-whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.38);
  transition: var(--transition-smooth);
  position: relative;
  border: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.floating-whatsapp-btn::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.7;
  animation: pulseWhatsapp 2.2s infinite;
}

@keyframes pulseWhatsapp {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   MODAL DIALOG (OFF-MARKET DOSSIER)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 600px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 2.8rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.35);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (TABLETS & MOBILES)
   ========================================================================== */
/* Tablets (768px to 1024px) */
@media (max-width: 1024px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .differentiator-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

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

  .hub-card {
    height: auto;
  }

  .offmarket-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .founder-quote {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--gold-primary);
    border-bottom: 1px solid var(--gold-primary);
    padding: 1.2rem 0;
  }

  .founder-contact-actions {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

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

/* Mobile Phones (< 768px) */
@media (max-width: 768px) {
  .hero-section {
    padding: 7rem 0 3.5rem;
    min-height: auto;
  }

  .hero-section .container {
    padding-left: clamp(0.55rem, 2.8vw, 1.25rem);
    padding-right: clamp(0.55rem, 2.8vw, 1.25rem);
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    
    line-height: 1.22;
    letter-spacing: -0.015em;
    margin-bottom: 1.35rem;
    width: 100%;
  }

  .hero-title-line {
    display: block;
    white-space: nowrap;
    text-align: center;
  }

  .hero-desc {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .form-group-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .contact-form-card {
    padding: 2.2rem 1.4rem;
  }

  .founder-card {
    padding: 2.2rem 1.4rem;
  }

  .offmarket-banner {
    padding: 2.2rem 1.4rem;
  }

  .offmarket-samples-grid {
    grid-template-columns: 1fr;
  }

  .floating-widgets {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .whatsapp-tooltip-card {
    width: 290px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   CLIENT HOOK MANIFESTO BANNER
   ========================================================================== */
.client-hook-section {
  position: relative;
  z-index: 10;
  margin-top: -3.5rem;
  padding-bottom: 2.5rem;
}

.client-hook-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-bright);
  border-radius: 14px;
  padding: 3.5rem 3.8rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), var(--shadow-gold);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.client-hook-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--gold-gradient);
}

.hook-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-bright);
  padding: 0.5rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.6rem;
  font-weight: 600;
}

.hook-quote-text {
  font-family: var(--font-serif-subtle);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-primary);
  max-width: 1080px;
  margin: 0 auto 1.8rem;
  letter-spacing: 0.01em;
}

.hook-quote-text .hook-highlight {
  color: var(--text-gold);
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hook-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  margin-top: 2.2rem;
  text-align: center;
}

.hook-author-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3.5px solid var(--gold-primary);
  box-shadow: 0 0 28px rgba(197, 160, 89, 0.45);
  object-fit: cover;
  padding: 0;
  display: block;
  overflow: hidden;
  background: transparent;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hook-author-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 36px rgba(223, 183, 108, 0.65);
}

.hook-author-info {
  text-align: center;
}

.hook-author-name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: 0.03em;
}

.hook-author-role {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-primary);
  font-weight: 500;
  margin-top: 0.35rem;
}

@media (max-width: 768px) {
  .client-hook-section {
    margin-top: 0;
    padding-top: 2rem;
  }
  .client-hook-card {
    padding: 2.2rem 1.4rem;
  }
  .hook-author-avatar {
    width: 96px;
    height: 96px;
  }
}

/* ==========================================================================
   INSTAGRAM LIVE FEED SHOWCASE
   ========================================================================== */
.instagram-section {
  position: relative;
  z-index: 1;
}

.instagram-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.instagram-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--border-bright);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-weight: 600;
}

.instagram-badge svg {
  width: 16px;
  height: 16px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1240px;
  margin: 0 auto 3rem;
}

.instagram-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 54 / 100;
  background: var(--bg-card);
  display: block;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.15) 0%, rgba(8, 10, 15, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

[data-theme="light"] .instagram-card-overlay {
  background: linear-gradient(180deg, rgba(30, 26, 22, 0.15) 0%, rgba(30, 26, 22, 0.90) 100%);
}

.instagram-card:hover .instagram-card-overlay {
  opacity: 1;
}

.instagram-card:hover img {
  transform: scale(1.06);
}

.instagram-card:hover {
  border-color: var(--gold-glow);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.instagram-card-top-icon {
  align-self: flex-end;
  color: #ffffff;
}

.instagram-card-top-icon svg {
  width: 22px;
  height: 22px;
}

.instagram-card-caption {
  font-size: 0.82rem;
  color: #f1f5f9;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.instagram-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--gold-light);
  margin-top: 0.4rem;
  font-weight: 500;
}

.instagram-btn-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin-bottom: 2.5rem;
  box-sizing: border-box;
}

.instagram-cta-bar {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-instagram-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.btn-instagram-cta .btn-icon,
.btn-instagram-cta .btn-icon-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .instagram-card-overlay {
    padding: 0.85rem;
  }
  .instagram-card-caption {
    font-size: 0.72rem;
    -webkit-line-clamp: 2;
  }
  .instagram-btn-wrapper {
    margin-bottom: 1.8rem;
    padding: 0;
  }
  .instagram-cta-bar {
    flex-direction: column;
    padding: 0;
  }
  .instagram-cta-bar .btn,
  .instagram-btn-wrapper .btn,
  .btn-instagram-cta {
    width: 100% !important;
    padding: 0.82rem 0.85rem !important;
    font-size: clamp(0.70rem, 3.1vw, 0.78rem) !important;
    letter-spacing: 0.025em !important;
    white-space: normal !important;
    text-wrap: balance !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
  }
  .btn-instagram-cta span {
    display: inline-block;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .hero-section .container {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
  .hero-title {
    
    letter-spacing: -0.025em;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* Audit 2026-10-21: responsive editorial rhythm and accessible interaction. */
html { font-size: 16px; scroll-padding-top: 7rem; overflow-x: clip; }
body { overflow-x: clip; }
img { height: auto; }
.container { padding-inline: clamp(1rem, 4vw, 2rem); }
section[id], main { scroll-margin-top: 7rem; }
h1, h2, h3, h4 { text-wrap: pretty; overflow-wrap: break-word; }
.section-title .text-gradient-gold, .hero-title .text-gradient-gold { display: inline; }
.hero-content { max-width: 1120px; text-align: center; }
.hero-title {  line-height: 1.18; letter-spacing: -.025em; max-width: 24ch; margin-inline: auto; text-wrap: balance; }
.hero-title-line { display: inline; white-space: normal; }
.hero-desc { margin-inline: auto; max-width: 65ch; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { justify-content: center; }
.hero-location-pill { letter-spacing: .09em; max-width: 100%; }
.hero-location-pill .dot { flex-shrink: 0; }
.section-title {  letter-spacing: -.02em; }
.section-subtitle, .editorial-text p { max-width: 68ch; }
.section-label, .hook-badge, .diff-badge { letter-spacing: .12em; }
.section-label::before { flex-shrink: 0; }
.editorial-grid > *, .contact-grid > *, .founder-card > *, .footer-grid > *, .area-card { min-width: 0; }
.contact-detail-value, .footer-links a, .instagram-section a, .founder-badge { overflow-wrap: anywhere; white-space: normal; }
.btn { white-space: normal; min-height: 48px; }
.btn-whatsapp-hero { background: #157b3c; }
.theme-toggle-btn, .mobile-menu-btn, .modal-close-btn { min-width: 44px; min-height: 44px; }
:focus-visible { outline: 3px solid var(--text-gold); outline-offset: 5px; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 3000; padding: .75rem 1rem; background: var(--bg-primary); color: var(--text-primary); }
.skip-link:focus { top: 1rem; }
.faq-body { visibility: hidden; }
.faq-item.active .faq-body { max-height: none; visibility: visible; }
.modal-card { max-height: calc(100dvh - 3rem); overflow-y: auto; }
.whatsapp-tooltip-card { width: min(330px, calc(100vw - 2rem)); max-height: calc(100dvh - 7rem); overflow-y: auto; }
.footer-bottom > div { flex-wrap: wrap; }
@media (min-width: 1281px) and (max-width: 1399px) {
 .btn-header { display: none; }
 .nav-menu { gap: 1rem; }
 .nav-link { font-size: .9rem; }
}
@media (max-width: 1280px) {
 .nav-actions { position: relative; z-index: 1001; }
 .nav-menu { height: 100dvh; visibility: hidden; pointer-events: none; padding-top: 6rem; }
 .nav-menu.open { visibility: visible; pointer-events: auto; }
 .nav-link { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 768px) {
 .hero-section { padding: 7rem 0 3.5rem; }
 .hero-section .container { padding-inline: clamp(1rem, 4vw, 2rem); }
 .hero-title {  }
 .hero-location-pill { font-size: .7rem; padding: .6rem .8rem; letter-spacing: .06em; }
 .hero-desc { padding: 0; line-height: 1.7; }
 .section-padding { padding-block: 3.5rem; }
 .hero-stat-item { min-width: 0; }
 .stat-number { font-size: clamp(1.3rem, 5vw, 1.85rem); }
 .stat-label { font-size: .75rem; letter-spacing: .05em; }
 .hook-quote-text { font-size: 1.35rem; line-height: 1.6; }
 .hook-badge { font-size: .7rem; padding-inline: .8rem; }
 .founder-card, .contact-form-card, .offmarket-banner, .client-hook-card { padding: 1.75rem 1.25rem; }
 .form-input, .form-select, .form-textarea { font-size: 1rem; min-width: 0; }
 .floating-widgets { right: 1rem; bottom: 1rem; }
 .instagram-card-overlay { opacity: 1; }
 .instagram-btn-wrapper .btn { font-size: .8rem !important; }
 .brand-name { font-size: .8rem; letter-spacing: .06em; }
 .nav-actions { gap: .35rem; }
 .nav-actions > a.theme-toggle-btn { display: none; }
 .modal-card { padding: 3.5rem 1.25rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; }
 .reveal-on-scroll { opacity: 1; transform: none; }
 .hero-bg-video { display: none; }
 .hero-bg { background: url('../assets/hero-video-poster.jpg') center / cover; }
}
.contact-method > div { min-width: 0; }
.contact-method-val { overflow-wrap: anywhere; }
.contact-method-icon { flex-shrink: 0; }
@media (max-width: 768px) { .contact-method-label { letter-spacing: .08em; } }
.founder-badge-direct { white-space: normal; max-width: 100%; text-wrap: balance; }

/* Poster typography: one continuous scale, including across 768/769px. */
.hero-content { max-width: 1440px; }
.hero-title {
  width: 100%; max-width: none;
  font-size: clamp(2rem, 7vw, 7rem);
  line-height: 1.1; letter-spacing: -.03em;
  text-wrap: balance;
}
.section-title {
  font-size: clamp(1.85rem, 4.5vw, 4.25rem);
  line-height: 1.12; text-wrap: balance;
}
.section-heading, .instagram-header { max-width: 1120px; }
.card-title, .area-name, .diff-title {
  font-size: clamp(1.3rem, 1rem + .65vw, 1.85rem);
  line-height: 1.25; text-wrap: pretty;
}
.offmarket-card-title {
  font-size: clamp(1.25rem, 1rem + .5vw, 1.65rem);
  line-height: 1.25; text-wrap: pretty;
}
.hub-city, .statement-title {
  font-size: clamp(1.65rem, 1.2rem + 1vw, 2.5rem);
  line-height: 1.18; text-wrap: balance;
}
.founder-name { font-size: clamp(2.4rem, 5vw, 4.5rem); }

/* Client content simplification: one section action, prepared case cards. */
.section-cta { display: flex; justify-content: center; margin-top: 2.5rem; }
.closed-operations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.closed-operation-card { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--border-bright); border-radius: 12px; background: var(--bg-card); }
.closed-operation-value { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.8rem); color: var(--text-gold); margin-block: 1rem; }

/* Brevo HTML subscription form, integrated with the site's theme. */
.newsletter-section { background: var(--bg-deep); }
.newsletter-heading { text-align: center; margin: 0 auto 2rem; }
.newsletter-heading .section-subtitle { margin: 0 auto 1rem; }
.newsletter-note, .newsletter-submit-note { color: var(--text-muted); font-size: .9rem; }
.newsletter-direct-link { display: inline-block; padding-block: .6rem; color: var(--text-gold); text-decoration: underline; text-underline-offset: .25em; overflow-wrap: anywhere; font-size: .85rem; }
.newsletter-form-shell { width: 100%; max-width: 800px; margin-inline: auto; padding: clamp(1.25rem, 4vw, 3rem); border: 1px solid var(--border-bright); border-radius: 12px; background: var(--bg-card); box-shadow: var(--shadow-sm); }
.newsletter-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.newsletter-fields > div { min-width: 0; }
.newsletter-fields label { display: block; margin-bottom: .65rem; color: var(--text-primary); font-size: .9rem; }
.newsletter-fields .form-input { width: 100%; margin: 0; min-height: 50px; }
.newsletter-fields select { background: var(--bg-primary); color: var(--text-primary); }
.newsletter-phone { grid-column: 1 / -1; }
.newsletter-phone-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .75rem; }
.newsletter-optional, .newsletter-field-help { color: var(--text-muted); font-size: .8rem; }
.newsletter-field-help { margin-top: .6rem; line-height: 1.6; }
.newsletter-consent { display: flex; align-items: flex-start; gap: .85rem; margin-top: 1.75rem; color: var(--text-secondary); font-size: .9rem; line-height: 1.7; cursor: pointer; }
.newsletter-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: .25rem; accent-color: var(--gold-primary); }
.newsletter-unsubscribe { margin: .75rem 0 1.5rem; color: var(--text-muted); font-size: .8rem; line-height: 1.7; }
.newsletter-legal { padding-top: 1.25rem; border-top: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: .8rem; line-height: 1.85; overflow-wrap: anywhere; }
.newsletter-submit { width: 100%; margin-top: 1.75rem; white-space: normal; gap: .75rem; }
.newsletter-submit-note { margin: 1rem 0 0; text-align: center; line-height: 1.6; font-size: .8rem; }
.newsletter-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.newsletter-form-shell :focus-visible { outline: 2px solid var(--text-gold); outline-offset: 4px; }
@media (max-width: 600px) { .newsletter-fields { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } .newsletter-phone-fields { grid-template-columns: minmax(0, 1fr); } }

/* Newsletter confirmation: shown only after Brevo acknowledges the request. */
.newsletter-result[hidden], .newsletter-error[hidden], #newsletter-form[hidden] { display: none; }
.newsletter-result { text-align: center; animation: newsletter-appear .55s ease-out both; }
.newsletter-result h3 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.2; margin: 1rem 0 1.5rem; text-wrap: balance; }
.newsletter-result > p { color: var(--text-secondary); line-height: 1.85; max-width: 540px; margin: 0 auto 1.25rem; }
.newsletter-result .newsletter-result-help { color: var(--text-muted); font-size: .9rem; }
.newsletter-result .btn { margin-block: .75rem; }
.newsletter-result .newsletter-submit-note { font-size: .8rem; margin-top: 1.25rem; }
.newsletter-success-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; padding: 8px; border-radius: 50%; background: var(--gold-gradient-subtle); }
.newsletter-success-icon svg { width: 100%; height: 100%; stroke: var(--text-gold); stroke-width: 2; }
.newsletter-success-icon path { stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: newsletter-check .7s .15s ease-out forwards; }
.newsletter-error { max-width: 800px; margin: 1.25rem auto 0; padding: 1rem 1.25rem; color: var(--text-primary); background: var(--bg-secondary); border: 1px solid var(--border-bright); border-radius: 8px; line-height: 1.7; }
.newsletter-submit:disabled { cursor: wait; opacity: .65; }
@keyframes newsletter-appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes newsletter-check { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .newsletter-result, .newsletter-success-icon path { animation: none; } .newsletter-success-icon path { stroke-dashoffset: 0; } }

/* Native language selector: always available on desktop and mobile. */
.language-switcher { position: relative; color: var(--text-gold); flex-shrink: 0; font-family: var(--font-sans); }
.language-switcher summary { display: flex; align-items: center; justify-content: center; gap: .35rem; min-width: 52px; min-height: 44px; border: 1px solid var(--border-bright); border-radius: 8px; cursor: pointer; font-size: .8rem; font-weight: 600; list-style: none; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after { content: '⌄'; font-size: 1rem; }
.language-options { position: absolute; top: calc(100% + .6rem); right: 0; width: 180px; padding: .5rem; background: var(--bg-primary); border: 1px solid var(--border-bright); border-radius: 10px; box-shadow: var(--shadow-md); z-index: 1100; }
.language-options a { display: flex; align-items: center; min-height: 44px; padding: .6rem .8rem; color: var(--text-secondary); font-size: .9rem; border-radius: 6px; text-decoration: none; }
.language-options a:hover, .language-options a[aria-current] { background: var(--gold-gradient-subtle); color: var(--text-gold); }
.language-switcher :focus-visible { outline: 2px solid var(--text-gold); outline-offset: 3px; }
html[lang='ru'] { --font-serif: Georgia, 'Times New Roman', serif; --font-serif-display: Georgia, 'Times New Roman', serif; --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; }
html:not([lang='es']) .hero-title, html:not([lang='es']) .section-title { overflow-wrap: anywhere; hyphens: auto; }
html:not([lang='es']) .nav-menu { gap: clamp(.6rem, 1vw, 1.3rem); }
html:not([lang='es']) .nav-link { font-size: .8rem; letter-spacing: .01em; }
html:not([lang='es']) .btn { white-space: normal; text-align: center; }
@media (max-width: 600px) { .language-switcher summary { min-width: 44px; } .nav-actions { gap: .35rem; } .nav-menu .nav-link { font-size: 1rem; } }

@media (max-width: 380px) { .header-nav .brand-text { display: none; } }
@media (max-width: 1280px) { html:not([lang='es']) .nav-menu .nav-link { white-space: normal; overflow-wrap: anywhere; font-size: 1rem; } }

html[lang='ru'] .nav-actions > a.btn { display: none; }

/* Newsletter access: highlighted menu item and a quieter hero invitation. */
.nav-menu .nav-news { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: .35rem .85rem; color: var(--text-gold); border: 1px solid var(--border-bright); border-radius: 999px; background: var(--gold-gradient-subtle); font-weight: 600; }
.nav-menu .nav-news::after { display: none; }
.nav-menu .nav-news:hover, .nav-menu .nav-news:focus-visible { background: var(--gold-gradient); color: #080a0f; }
.hero-newsletter-wrap { text-align: center; margin-top: 1.25rem; }
.hero-newsletter-link { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; max-width: 100%; min-height: 44px; padding: .4rem .15rem; color: var(--text-gold); font-size: .95rem; line-height: 1.65; text-decoration: underline; text-underline-offset: .35em; text-wrap: balance; }
.hero-newsletter-link:hover { color: var(--text-primary); }
.hero-newsletter-link:focus-visible { outline: 2px solid var(--text-gold); outline-offset: 5px; border-radius: 3px; }
@media (min-width: 1281px) and (max-width: 1599px) { .btn-header { display: none; } }
