/* ==========================================================================
   ZAMIA GARDEN BACALAR · DESIGN SYSTEM
   Aesthetic: 3D Minimalist, Modern Luxury, Balanced Emerald & White
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Luminous White & Lush Bacalar Emeralds */
  --bg-white: #ffffff;
  --bg-light: #fbf9f5;
  --bg-pearl: #f6f3ed;
  --bg-sand: #ede8dc;
  
  /* Lush Jungle & Cenote Greens */
  --emerald-deep: #0a1f19;
  --emerald-rich: #0e2921;
  --emerald-medium: #14382e;
  --emerald-card: #184136;
  --emerald-glass: rgba(14, 41, 33, 0.72);
  --emerald-glass-light: rgba(20, 56, 46, 0.55);

  /* Gold & Champagne Accents */
  --gold-primary: #bfa142;
  --gold-dark: #967a28;
  --gold-light: #edd898;
  --gold-subtle: #fbf6e8;
  --gold-glow: rgba(191, 161, 66, 0.22);
  --gold-border: rgba(191, 161, 66, 0.28);
  --gold-border-light: rgba(191, 161, 66, 0.16);
  --gold-border-hover: rgba(191, 161, 66, 0.65);

  /* Laguna 7 Colors - Cyan & Turquoise */
  --laguna-cyan: #0a9396;
  --laguna-turquoise: #005f73;
  --laguna-bright: #1cb5b9;

  /* Text Colors - Light Backgrounds */
  --text-dark: #111a17;
  --text-body: #3c4c46;
  --text-muted: #667771;
  --text-subtle: #8e9e98;

  /* Text Colors - Green & Dark Backgrounds */
  --text-white: #ffffff;
  --text-light-muted: #d8e5e0;
  --text-light-subtle: #a5b9b1;

  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-editorial: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* 3D & Depth Properties */
  --perspective: 1100px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 999px;

  /* Shadows */
  --shadow-subtle: 0 4px 20px -2px rgba(17, 26, 23, 0.05);
  --shadow-card: 0 12px 35px -8px rgba(17, 26, 23, 0.08), 0 2px 10px rgba(17, 26, 23, 0.03);
  --shadow-3d: 0 22px 50px -12px rgba(17, 26, 23, 0.14), 0 0 30px rgba(191, 161, 66, 0.12);
  --shadow-emerald: 0 25px 55px -12px rgba(5, 20, 16, 0.45), 0 0 30px rgba(191, 161, 66, 0.15);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);

  /* Transitions */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.22s var(--ease-luxury);
  --transition-smooth: 0.45s var(--ease-luxury);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-light);
  color: var(--text-body);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: var(--bg-light);
  color: var(--text-body);
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
}

/* Subtle 3D Ambient Mouse Glow (Golden Warmth & Lagoon Bioluminescence) */
.cursor-ambient-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(216, 188, 106, 0.12) 0%,
    rgba(191, 161, 66, 0.08) 32%,
    rgba(14, 165, 150, 0.045) 56%,
    transparent 72%
  );
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.5s ease;
  will-change: transform;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.editorial-italic {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.01em;
}

p {
  color: var(--text-body);
  font-weight: 300;
}

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

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

/* BRAND LOCKUP WITH LOGO / EMBLEM */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  vertical-align: middle;
}

.brand-emblem-inline {
  width: 24px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.brand-emblem-inline.large {
  width: 32px;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   SECTIONS: BALANCED WHITE & GREEN THEME
   ========================================================================== */
.section {
  position: relative;
  padding: 6rem 0;
  z-index: 2;
}

/* Section: Luminous White */
.section-white {
  background-color: var(--bg-white);
  color: var(--text-body);
}

/* Section: Pearl & Alabaster */
.section-pearl {
  background-color: var(--bg-light);
  border-top: 1px solid rgba(191, 161, 66, 0.12);
  border-bottom: 1px solid rgba(191, 161, 66, 0.12);
  color: var(--text-body);
}

/* Section: Lush Tropical Emerald Green */
.section-emerald {
  background: radial-gradient(circle at 50% 25%, #143d32 0%, #0e2921 60%, #081a15 100%);
  color: var(--text-light-muted);
  border-top: 1px solid rgba(191, 161, 66, 0.22);
  border-bottom: 1px solid rgba(191, 161, 66, 0.22);
}

.section-emerald h2,
.section-emerald h3,
.section-emerald h4 {
  color: var(--text-white);
}

.section-emerald p {
  color: var(--text-light-muted);
}

.section-emerald .section-title {
  color: var(--text-white);
}

.section-emerald .section-subtitle {
  color: var(--text-light-subtle);
}

/* Section: Forest Green Contrast */
.section-forest {
  background: linear-gradient(180deg, #0e2820 0%, #11342a 50%, #0a1f19 100%);
  color: var(--text-light-muted);
  border-top: 1px solid rgba(191, 161, 66, 0.2);
  border-bottom: 1px solid rgba(191, 161, 66, 0.2);
}

.section-forest h2,
.section-forest h3,
.section-forest h4 {
  color: var(--text-white);
}

.section-forest p {
  color: var(--text-light-muted);
}

.section-forest .section-title {
  color: var(--text-white);
}

.section-forest .section-subtitle {
  color: var(--text-light-subtle);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--border-radius-pill);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border-light);
}

.section-emerald .section-tag,
.section-forest .section-tag {
  background: rgba(191, 161, 66, 0.15);
  color: var(--gold-light);
  border-color: var(--gold-border);
}

.section-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--laguna-cyan);
}

.section-emerald .section-tag-dot,
.section-forest .section-tag-dot {
  background-color: #5ce1e6;
  box-shadow: 0 0 8px #5ce1e6;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #d8bc6a 0%, #bfa142 50%, #9e7f27 100%);
  color: #060c0a;
  box-shadow: 0 10px 25px -6px rgba(191, 161, 66, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(191, 161, 66, 0.6);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-dark);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-secondary-dark {
  background: rgba(20, 56, 46, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-white);
  border: 1px solid var(--gold-border);
}

.btn-secondary-dark:hover {
  background: rgba(191, 161, 66, 0.22);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   NAVIGATION: LUXURY GLASSMORPHISM CAPSULE (EFECTOS GLASS)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 1.1rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.nav-glass-bar {
  pointer-events: auto;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0.65rem 1.6rem;
  border-radius: var(--border-radius-pill);
  background: rgba(14, 41, 33, 0.68);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.site-header.scrolled .nav-glass-bar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(191, 161, 66, 0.3);
  box-shadow: 0 15px 40px -10px rgba(10, 26, 21, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 0.55rem 1.5rem;
}

.site-header.scrolled .nav-brand-name {
  color: var(--text-dark);
}

.site-header.scrolled .nav-brand-loc {
  color: var(--gold-dark);
}

.site-header.scrolled .nav-link {
  color: var(--text-dark);
}

.site-header.scrolled .nav-link:hover {
  color: var(--gold-dark);
}

.site-header.scrolled .nav-logo-white {
  display: none;
}
.site-header.scrolled .nav-logo-dark {
  display: block;
}

.nav-logo-dark {
  display: none;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  transition: transform var(--transition-fast);
}

.nav-brand:hover .nav-logo-img {
  transform: scale(1.05);
}

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

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #ffffff;
  line-height: 1.1;
  transition: color var(--transition-fast);
}

.nav-brand-loc {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  list-style: none;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
  padding: 0.45rem 0;
  transition: color var(--transition-fast);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled .nav-link {
  text-shadow: none;
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

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

.nav-desktop-cta {
  display: inline-flex;
}

/* Language Switcher Component */
.lang-switch-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--border-radius-pill);
  padding: 0.22rem 0.55rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header.scrolled .lang-switch-wrapper {
  background: rgba(17, 26, 23, 0.05);
  border-color: rgba(191, 161, 66, 0.25);
}

.lang-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0.12rem 0.4rem;
  border-radius: var(--border-radius-pill);
  transition: all var(--transition-fast);
}

.site-header.scrolled .lang-btn {
  color: var(--text-dark);
}

.lang-btn.active {
  color: var(--gold-light);
  background: rgba(191, 161, 66, 0.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.site-header.scrolled .lang-btn.active {
  color: #060c0a;
  background: var(--gold-primary);
}

.lang-divider {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

.site-header.scrolled .lang-divider {
  color: rgba(17, 26, 23, 0.25);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem;
  border-radius: var(--border-radius-sm);
  color: #ffffff;
  cursor: pointer;
}

.site-header.scrolled .mobile-toggle {
  color: var(--text-dark);
  border-color: rgba(191, 161, 66, 0.35);
  background: rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   HERO SECTION: FITS 100% IN FIRST VIEW WITHOUT VERTICAL CUTOFF
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.8rem 1rem 1.8rem;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-media-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  animation: heroKenBurns 30s ease-in-out infinite alternate;
  filter: brightness(0.82) saturate(1.18) contrast(1.04);
}

@keyframes heroKenBurns {
  0% { transform: scale(1.03) translate(0, 0); }
  50% { transform: scale(1.09) translate(-1%, -0.5%); }
  100% { transform: scale(1.05) translate(1%, 0.5%); }
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(10, 31, 25, 0.2) 0%, rgba(10, 31, 25, 0.65) 75%, rgba(8, 24, 19, 0.88) 100%),
              linear-gradient(180deg, rgba(8, 24, 19, 0.5) 0%, transparent 40%, rgba(8, 24, 19, 0.85) 90%, #ffffff 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* SLEEK, COMPACT LOGO CENTERPIECE */
.hero-logo-centerpiece {
  margin: 0 auto 0.6rem;
  max-width: 160px;
  width: 44%;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.65));
  transition: transform var(--transition-fast);
  text-align: center;
}

.hero-logo-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.5rem;
  padding-left: 0.45em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  opacity: 0.95;
}

.hero-logo-centerpiece:hover {
  transform: scale(1.03);
}

.hero-title-lead {
  display: block;
  font-family: var(--font-editorial);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* COMPACT DESCRIPTION SO BELOW ELEMENTS DON'T GET PUSHED DOWN */
.hero-description {
  font-size: clamp(0.82rem, 0.95vw, 0.94rem);
  color: #f1ede4;
  max-width: 620px;
  margin: 0 auto 1.05rem;
  line-height: 1.48;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.hero-cta-group .btn {
  padding: 0.65rem 1.6rem;
  font-size: 0.76rem;
}

/* COMPACT, SLEEK METRICS BAR (DOES NOT GET CUT OFF IN FIRST VIEW) */
.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  width: 100%;
  max-width: 820px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(191, 161, 66, 0.35);
  border-radius: var(--border-radius-pill);
  padding: 0.72rem 1.6rem;
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.35);
}

.metric-item {
  text-align: center;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -0.55rem;
  height: 70%;
  width: 1px;
  background: rgba(191, 161, 66, 0.25);
}

.metric-val {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.05;
  margin-bottom: 0.15rem;
}

.metric-label {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   PHILOSOPHY / EL SANTUARIO (FONDO BLANCO LUMINOSO)
   ========================================================================== */
.essence-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
}

.essence-visual {
  position: relative;
  perspective: var(--perspective);
}

.essence-3d-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  background: #ffffff;
}

.essence-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.essence-3d-card:hover .essence-img {
  transform: scale(1.05);
}

.essence-floating-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-card);
  transform: translateZ(35px);
}

.essence-badge-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.essence-badge-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.essence-text-block h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.essence-text-block p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-body);
}

.essence-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.essence-feature-box {
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  background: #ffffff;
  border: 1px solid rgba(191, 161, 66, 0.2);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.essence-feature-box:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.feature-box-icon {
  width: 28px;
  height: 28px;
  color: var(--laguna-cyan);
  margin-bottom: 0.75rem;
}

.feature-box-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.feature-box-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   LOS ESPACIOS (FONDO VERDE ESMERALDA TROPICAL CON TARJETAS BLANCAS 3D)
   ========================================================================== */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.filter-tabs {
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.45rem;
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(191, 161, 66, 0.35);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  overflow-x: auto;
  max-width: 100%;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8e5e0;
  background: transparent;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-btn:hover {
  color: #ffffff;
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), rgba(10, 147, 150, 0.35));
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
  gap: 2.25rem;
  perspective: var(--perspective);
}

.space-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  background: #ffffff;
  border: 1px solid rgba(191, 161, 66, 0.28);
  overflow: hidden;
  box-shadow: var(--shadow-emerald);
  transition: transform 0.15s ease-out, border-color var(--transition-fast), box-shadow var(--transition-fast);
  transform-style: preserve-3d;
  will-change: transform;
  display: flex;
  flex-direction: column;
}

.space-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 30px 65px -15px rgba(0, 0, 0, 0.55), 0 0 35px var(--gold-glow);
}

.space-card-media {
  position: relative;
  height: 270px;
  overflow: hidden;
}

.space-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}

.space-card:hover .space-card-img {
  transform: scale(1.08);
}

.space-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 20, 0.1) 0%, rgba(10, 24, 20, 0.75) 100%);
  pointer-events: none;
}

.space-badge-capacity {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--border-radius-pill);
  transform: translateZ(25px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.space-badge-type {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(10, 147, 150, 0.92);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: var(--border-radius-pill);
  transform: translateZ(25px);
}

.space-card-body {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff;
  position: relative;
  z-index: 2;
  transform: translateZ(15px);
}

.space-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.space-card-number,
.section-emerald .space-card .space-card-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--gold-dark) !important;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.space-card-title,
.section-emerald .space-card h3,
.section-emerald .space-card .space-card-title {
  font-size: 1.45rem;
  color: #0b1a15 !important;
  margin-bottom: 0.75rem;
  line-height: 1.25;
  font-weight: 600;
}

.space-card-desc,
.section-emerald .space-card p,
.section-emerald .space-card .space-card-desc {
  font-size: 0.93rem;
  color: #22332c !important;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-weight: 400;
}

.space-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.space-pill,
.section-emerald .space-card .space-pill {
  font-size: 0.75rem;
  color: #1e3029 !important;
  background: #f4f6f4 !important;
  border: 1px solid rgba(191, 161, 66, 0.35) !important;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
}

.space-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(17, 26, 23, 0.08);
  padding-top: 1.25rem;
  margin-top: auto;
}

.btn-space-detail,
.section-emerald .space-card .btn-space-detail {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark) !important;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.btn-space-detail:hover {
  color: var(--text-dark);
  gap: 0.75rem;
}

/* ==========================================================================
   MASTERPLAN 3D INTERACTIVO (FONDO PERLA / LUMINOSO)
   ========================================================================== */
.masterplan-wrapper {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

.masterplan-stage {
  position: relative;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gold-border);
  background: #ffffff;
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.map-schematic-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(191, 161, 66, 0.25);
  background: #091310;
}

.map-base-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.15) contrast(1.1);
  transition: transform 0.6s var(--ease-luxury);
}

.map-overlay-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  background: none;
  border: none;
  padding: 0;
  outline: none;
}

.pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(191, 161, 66, 0.45);
  animation: pinPulseRing 2.4s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes pinPulseRing {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

.pin-core {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f1dfa8, #bfa142);
  color: #060c0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 15px var(--gold-glow);
  position: relative;
  z-index: 2;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.map-pin:hover .pin-core,
.map-pin.active .pin-core {
  transform: scale(1.22);
  background: linear-gradient(135deg, #0a9396, #1cb5b9);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(10, 147, 150, 0.7);
}

.pin-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: rgba(10, 24, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all var(--transition-fast);
}

.map-pin:hover .pin-tooltip,
.map-pin.active .pin-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.masterplan-info-card {
  background: #ffffff;
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.masterplan-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--laguna-cyan));
}

.info-spot-num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.info-spot-title {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.info-spot-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.info-spot-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  background: var(--bg-light);
  border: 1px solid rgba(191, 161, 66, 0.15);
}

.spot-meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.spot-meta-val {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.masterplan-pin-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.pin-select-chip {
  background: var(--bg-light);
  border: 1px solid rgba(191, 161, 66, 0.25);
  color: var(--text-body);
  padding: 0.4rem 0.85rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 500;
}

.pin-select-chip:hover,
.pin-select-chip.active {
  background: var(--gold-primary);
  color: #ffffff;
  border-color: var(--gold-primary);
}

/* ==========================================================================
   EL VIAJE DE TU BODA (FONDO VERDE SELVA EXÓTICA)
   ========================================================================== */
.timeline-track {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent 0%, var(--gold-border) 15%, var(--laguna-bright) 85%, transparent 100%);
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
  align-items: center;
}

.timeline-step:nth-child(even) .timeline-content {
  grid-column: 2;
  text-align: left;
}

.timeline-step:nth-child(even) .timeline-spacer {
  grid-column: 1;
}

.timeline-step:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #143d32;
  border: 2px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(191, 161, 66, 0.45);
  z-index: 5;
}

.timeline-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(191, 161, 66, 0.35);
  border-radius: var(--border-radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-glass);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.timeline-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.timeline-time {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #7ef2ed;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.65;
}

/* ==========================================================================
   INFRAESTRUCTURA & LOGÍSTICA (FONDO BLANCO LUMINOSO)
   ========================================================================== */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.infra-card {
  background: #ffffff;
  border: 1px solid rgba(191, 161, 66, 0.22);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.infra-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-3d);
}

.infra-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--border-radius-md);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}

.infra-icon-svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.infra-title {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
}

.infra-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.infra-specs-list {
  list-style: none;
  border-top: 1px solid rgba(17, 26, 23, 0.08);
  padding-top: 1.25rem;
}

.infra-specs-list li {
  font-size: 0.84rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.infra-specs-list li svg {
  width: 15px;
  height: 15px;
  stroke: var(--laguna-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   HISTORIAS REALES (GALERÍA - FONDO PERLA LUMINOSO)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(191, 161, 66, 0.2);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.gallery-item.span-2 {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-3d);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 12, 10, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0.95;
  transition: opacity var(--transition-fast);
}

.gallery-couple {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.gallery-date-loc {
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.gallery-expand-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--gold-border);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: all var(--transition-fast);
}

.gallery-item:hover .gallery-expand-icon {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   INTERACTIVE WEDDING ESTIMATOR (FONDO VERDE ESMERALDA)
   ========================================================================== */
.calculator-card {
  background: #ffffff;
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-3d);
  max-width: 1040px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
}

.calc-step {
  margin-bottom: 2.25rem;
}

.calc-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-dark);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.guest-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.guest-btn {
  background: var(--bg-light);
  border: 1px solid rgba(191, 161, 66, 0.25);
  border-radius: var(--border-radius-md);
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.guest-btn:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-primary);
}

.guest-btn.active {
  background: var(--gold-subtle);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 15px rgba(191, 161, 66, 0.25);
}

.guest-btn-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
}

.guest-btn-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.spaces-checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.custom-checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--border-radius-md);
  background: var(--bg-light);
  border: 1px solid rgba(191, 161, 66, 0.18);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.custom-checkbox-card:hover {
  border-color: var(--gold-primary);
  background: var(--gold-subtle);
}

.custom-checkbox-card input[type="checkbox"] {
  accent-color: var(--gold-primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-card-text {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 500;
}

.calc-summary-box {
  background: var(--bg-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
}

.summary-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(191, 161, 66, 0.25);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
}

.summary-row span:last-child {
  color: var(--text-dark);
  font-weight: 600;
  text-align: right;
}

.summary-spaces-list {
  font-size: 0.82rem;
  color: var(--laguna-cyan);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-weight: 500;
}

.summary-badge-fit {
  margin: 1.5rem 0;
  padding: 0.95rem;
  border-radius: var(--border-radius-sm);
  background: rgba(10, 147, 150, 0.08);
  border: 1px solid rgba(10, 147, 150, 0.25);
  font-size: 0.84rem;
  color: #0b5e61;
  line-height: 1.45;
}

.btn-whatsapp-quote {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  width: 100%;
  margin-top: auto;
  box-shadow: 0 10px 25px -8px rgba(37, 211, 102, 0.5);
  border: none;
}

.btn-whatsapp-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.65);
}

/* ==========================================================================
   CONTACTO & CONCIERGE (FONDO BLANCO LUMINOSO)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.contact-info-block h3 {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}

.contact-details {
  list-style: none;
  margin: 2rem 0;
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.contact-item-val {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-card);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

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

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-light);
  border: 1px solid rgba(191, 161, 66, 0.25);
  border-radius: var(--border-radius-sm);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
  background: #ffffff;
}

.form-input:user-invalid,
.form-select:user-invalid,
.form-textarea:user-invalid {
  border-color: #e63946;
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.2);
}

.form-input:user-valid,
.form-select:user-valid {
  border-color: rgba(46, 204, 113, 0.6);
}

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

.form-feedback {
  display: none;
  font-size: 0.75rem;
  color: #e63946;
  margin-top: 0.35rem;
}

.form-input:user-invalid + .form-feedback {
  display: block;
}

/* ==========================================================================
   MODAL DIALOG (MODERN WEB GUIDANCE COMPLIANT)
   ========================================================================== */
dialog:modal {
  overscroll-behavior: contain;
  margin: auto;
  padding: 0;
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-3d);
  max-width: 900px;
  width: 92vw;
  max-height: 90vh;
  color: var(--text-dark);
  outline: none;
  animation: dialogFadeIn 0.3s var(--ease-luxury);
}

@keyframes dialogFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(10, 24, 20, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dialog-inner {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  position: relative;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(191, 161, 66, 0.2);
  background: var(--bg-light);
}

.dialog-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dialog-close-btn {
  background: #ffffff;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dialog-close-btn:hover {
  background: var(--gold-subtle);
  transform: rotate(90deg);
}

.dialog-body {
  padding: 2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog-media-showcase {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--gold-border);
  aspect-ratio: 16 / 9;
}

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

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

.dialog-spec-box {
  background: var(--bg-light);
  border: 1px solid rgba(191, 161, 66, 0.2);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  text-align: center;
}

.dialog-spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.dialog-spec-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* ==========================================================================
   FOOTER (NOCHE DE SELVA / OBSIDIANA & ORO)
   ========================================================================== */
.site-footer {
  background: #06130f;
  border-top: 1px solid rgba(191, 161, 66, 0.25);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 2;
  color: var(--text-light-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand-logo {
  height: 65px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-light-subtle);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-light-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header {
    top: 0.65rem;
    padding: 0 1rem;
  }
  .nav-glass-bar {
    padding: 0.55rem 1.25rem;
  }
  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    border-radius: var(--border-radius-lg);
    padding: 1rem 1.25rem;
  }
  .metric-item:nth-child(2)::after {
    display: none;
  }
  .essence-grid,
  .masterplan-wrapper,
  .calc-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }
  .site-header {
    top: 0.5rem;
    padding: 0 0.75rem;
  }
  .nav-glass-bar {
    border-radius: var(--border-radius-pill);
    padding: 0.45rem 1rem;
  }
  .nav-brand {
    gap: 0;
  }
  /* Remove text & book-a-date button on mobile top bar for ultra-clean luxury UX */
  .nav-brand-text {
    display: none !important;
  }
  .nav-logo-img {
    height: 38px;
  }
  .nav-desktop-cta {
    display: none !important;
  }
  .nav-mobile-cta {
    display: flex !important;
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    margin-top: 0.6rem;
    font-size: 0.82rem;
  }
  .nav-actions {
    gap: 0.65rem;
  }
  .lang-switch-wrapper {
    padding: 0.18rem 0.48rem;
  }
  .lang-btn {
    font-size: 0.68rem;
    padding: 0.1rem 0.35rem;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0.45rem;
    border-radius: var(--border-radius-pill);
  }
  .nav-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 100%;
    background: rgba(14, 41, 33, 0.94);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(191, 161, 66, 0.35);
    border-radius: var(--border-radius-md);
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-smooth);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  }
  .site-header.scrolled .nav-menu {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(191, 161, 66, 0.25);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-header.scrolled .nav-menu .nav-link {
    color: var(--text-dark);
  }
  .hero-logo-centerpiece {
    max-width: 175px;
    width: 52%;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .hero-metrics-bar {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--border-radius-md);
    padding: 0.9rem 1rem;
  }
  .spaces-grid {
    grid-template-columns: 1fr;
  }
  .guest-presets {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-track::before {
    left: 20px;
  }
  .timeline-step {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 50px;
  }
  .timeline-step:nth-child(odd) .timeline-content,
  .timeline-step:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: left;
  }
  .timeline-node {
    left: 20px;
    top: 25px;
  }
  .infra-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item.span-2 {
    grid-column: span 1;
  }
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Screen height adaptations for laptops & compact viewports */
@media (max-height: 850px) and (min-width: 769px) {
  .hero {
    padding-top: 5.2rem;
    padding-bottom: 1.2rem;
  }
  .hero-logo-centerpiece {
    max-width: 145px;
    margin-bottom: 0.45rem;
  }
  .hero-title-lead {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
  }
  .hero-description {
    font-size: 0.82rem;
    line-height: 1.42;
    margin-bottom: 0.9rem;
    max-width: 580px;
  }
  .hero-cta-group {
    margin-bottom: 1rem;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    padding: 0.6rem 1.45rem;
    font-size: 0.74rem;
  }
  .hero-metrics-bar {
    padding: 0.62rem 1.4rem;
    max-width: 780px;
  }
  .metric-val {
    font-size: 1.22rem;
  }
  .metric-label {
    font-size: 0.58rem;
  }
}
