/* ==========================================================================
   MELISSA HOLGUIN - MODERN LUXURY LANDING PAGE STYLESHEET
   Style: High-End Boutique Real Estate Elegance
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-primary: #FDFBF7;
  --bg-secondary: #F8F3ED;
  --bg-tertiary: #F1ECE4;
  --bg-card: #FFFFFF;
  --bg-dark: #1C1716;
  --bg-dark-card: #272120;

  /* Luxury Accents */
  --gold-primary: #C5A059;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #C5A059 50%, #A37F38 100%);
  --gold-light: #F4EAD3;
  --gold-glow: rgba(197, 160, 89, 0.25);
  
  --rosewood: #3D2624;
  --rosewood-light: #593936;
  --blush: #F9EBE7;
  --blush-deep: #EED7D0;
  
  /* Text Colors */
  --text-dark: #2A2423;
  --text-muted: #6C6361;
  --text-light: #FDFBF7;
  --text-light-muted: #C5BCB9;
  
  /* Borders & Shadows */
  --border-light: rgba(197, 160, 89, 0.2);
  --border-subtle: #EAE2D7;
  --shadow-sm: 0 4px 12px rgba(42, 36, 35, 0.04);
  --shadow-md: 0 10px 30px rgba(42, 36, 35, 0.08);
  --shadow-lg: 0 20px 40px rgba(42, 36, 35, 0.12);
  --shadow-gold: 0 10px 30px rgba(197, 160, 89, 0.2);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-serif-secondary: 'Cormorant Garamond', Georgia, serif;
  --font-handwritten: 'Dancing Script', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;

  /* Custom scrollbar — WebKit (Chrome, Safari, Edge) */
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) var(--bg-dark);
}

/* WebKit scrollbar styling — debe ir en html para que Chrome lo tome */
html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D4AF37 0%, #C5A059 50%, #A37F38 100%);
  border-radius: 99px;
  border: 2px solid var(--bg-dark);
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e0be4a 0%, #d4af37 50%, #b8913f 100%);
}

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

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

ul {
  list-style: none;
}

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

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

/* Luxury Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

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

.font-handwritten {
  font-family: var(--font-handwritten);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.section-tag::before,
.section-tag::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold-primary);
}

.section-tag.no-after::after {
  display: none;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

/* Luxury Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 2rem;
  border-radius: 50px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(197, 160, 89, 0.35);
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--gold-primary);
}

.btn-secondary:hover {
  background: var(--blush);
  color: var(--rosewood);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-dark);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-dark:hover {
  background: var(--rosewood);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-light {
  background: #FFFFFF;
  color: var(--rosewood);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background: var(--bg-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   1. NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
  background: rgba(253, 251, 247, 0.98);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--rosewood);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

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

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 1001;
  padding: 2rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s ease;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.mobile-nav-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -5%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--blush) 0%, rgba(253, 251, 247, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rosewood);
  box-shadow: var(--shadow-sm);
  margin-bottom: 3.5rem;
  margin-top: -1rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--gold-primary);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.75vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--rosewood);
  margin-bottom: 1.75rem;
  margin-top: -2.75rem;
  letter-spacing: -0.02em;
}

.hero-headline span {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-primary);
}

.hero-headline .hero-headline-sm {
  font-size: 0.72em;
}

.hero-subheadline {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   CSS ANIMATIONS — @keyframes
   ========================================================================== */

/* fadeIn — hero content entrance */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero elements — initial state hidden, JS drives them in */
.hero-badge,
.hero-headline,
.hero-subheadline,
.hero-video-wrapper,
.hero-ctas {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}

.hero-content {
  animation: none; /* JS handles this now */
}

/* scroll-pulse — scroll indicator bounces */
@keyframes scrollPulse {
  0%, 100% { transform: translateY(0);    opacity: 0.6; }
  50%       { transform: translateY(10px); opacity: 1;   }
}

.scroll-indicator {
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ribbonScroll — credential ticker scrolls left infinitely */
@keyframes ribbonScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbonScroll 22s linear infinite;
}

.ribbon-track:hover {
  animation-play-state: paused;
}

/* ── Hover — Buttons sweep de brillo + lift + sombra dorada ─────────────── */
.btn-primary,
.btn-secondary,
.btn-dark {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after,
.btn-dark::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transition: left 0.5s ease;
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.btn-dark:hover::after {
  left: 150%;
}

/* ── Hover — Phone button letter-spacing + underline ────────────────────── */
.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
  transition: letter-spacing 0.3s ease, color 0.3s ease;
  position: relative;
}

.phone-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: width 0.35s ease;
}

.phone-btn:hover {
  letter-spacing: 0.08em;
  color: var(--gold-primary);
}

.phone-btn:hover::after {
  width: 100%;
}

/* Hero Video */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(42, 36, 35, 0.18);
  border: 1.5px solid transparent;
  background: linear-gradient(#FAF8F5, #FAF8F5) padding-box,
              linear-gradient(135deg, #D4AF37 0%, #C5A059 50%, #A37F38 100%) border-box;
  aspect-ratio: 16 / 9;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-sound-btn {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(28, 23, 22, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.hero-video-sound-btn:hover {
  background: rgba(197, 160, 89, 0.9);
  transform: translateX(-50%) translateY(-2px);
}

.hero-video-wrapper.has-controls .hero-video-sound-btn {
  bottom: 4.5rem;
  background: rgba(28, 23, 22, 0.9);
}

@media (max-width: 768px) {
  .hero-video-wrapper.has-controls .hero-video-sound-btn {
    bottom: 4rem;
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
  }
}


/* ==========================================================================
   3. STAT BAR (Full Width Accent Background)
   ========================================================================== */
.stat-bar {
  width: 100%;
  background: linear-gradient(135deg, rgba(20, 14, 13, 0.42) 0%, rgba(35, 22, 20, 0.45) 100%),
              url('imagenes/casa1.jpg') center/cover no-repeat;
  color: #FFFFFF;
  padding: 2.5rem 0;
  border-top: 2px solid var(--gold-primary);
  border-bottom: 2px solid var(--gold-primary);
  position: relative;
  box-shadow: var(--shadow-md);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 1rem;
  border-right: 1px solid rgba(234, 226, 215, 0.25);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ==========================================================================
   4. ABOUT SECTION
   ========================================================================== */
.about {
  padding: 6rem 0;
  background-color: var(--bg-primary);
}

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

.about-image-wrapper {
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.about-image-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 5;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.about-image-container:hover .about-image {
  transform: scale(1.03);
}

.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.875rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(42, 36, 35, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rosewood);
  font-size: 1.25rem;
}

.badge-text-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--rosewood);
}

.badge-text-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-content {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  will-change: opacity, transform;
}

.about-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* En desktop: mantener animación desde la derecha */
@media (min-width: 769px) {
  .about-content {
    transform: translateX(32px) translateY(0);
  }
  
  .about-content.visible {
    transform: translateX(0) translateY(0);
  }
}

.about-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--rosewood);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-body {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.about-phrase {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 0.8rem;
}

.about-phrase.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* En móvil: animación más dramática */
@media (max-width: 768px) {
  .about-phrase {
    transform: translateY(32px);
    margin-bottom: 1rem;
  }
}

.about-bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.975rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.75rem;
}

/* ==========================================================================
   5. WHY I DO THIS SECTION (Personal Letter Feel)
   ========================================================================== */
.why-section {
  padding: 6rem 0;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

.letter-card {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 4rem 3.5rem;
  box-shadow: 0 8px 40px rgba(42, 36, 35, 0.15), inset 0 1px 0 rgba(255,255,255,0.5);
  border: 1px solid rgba(255, 255, 255, 0.35);
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
}

.letter-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 2.5rem;
  font-family: var(--font-serif);
  font-size: 14rem;
  line-height: 1;
  color: var(--blush);
  opacity: 0.6;
  pointer-events: none;
}

.letter-header {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.letter-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--rosewood);
  line-height: 1.2;
}

.pull-quote {
  font-family: var(--font-serif-secondary);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--rosewood);
  line-height: 1.4;
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.letter-body {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

.letter-signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
}

.signature-name {
  font-family: var(--font-handwritten);
  font-size: 2.5rem;
  color: var(--rosewood);
}

.signature-title {
  font-size: 0.875rem;
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   6. WHO I WORK WITH SECTION
   ========================================================================== */
.services-section {
  padding: 6rem 0;
  background-color: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--transition), opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.service-card:hover::after {
  opacity: 1;
}

.service-roman {
  font-family: var(--font-serif-secondary);
  font-size: 3.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.7;
  transition: var(--transition);
}

.service-card:hover .service-roman {
  opacity: 1;
  transform: scale(1.05);
}

.service-divider {
  width: 36px;
  height: 1px;
  background: var(--gold-gradient);
  margin-bottom: 1.5rem;
  transition: width 0.4s ease;
}

.service-card:hover .service-divider {
  width: 60px;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--rosewood);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.service-body {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==========================================================================
   7. REVIEWS SECTION
   ========================================================================== */
.reviews-section {
  padding: 4.25rem 0;
  background-color: var(--bg-secondary);
}

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

.review-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 4px 16px rgba(42, 36, 35, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.review-card::before {
  content: '“';
  position: absolute;
  top: -0.2rem;
  right: 1.2rem;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  color: rgba(197, 160, 89, 0.12);
  line-height: 1;
  pointer-events: none;
}

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

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

.stars-rating {
  display: flex;
  gap: 3px;
  color: var(--gold-primary);
}

.star-icon {
  width: 15px;
  height: 15px;
  fill: var(--gold-primary);
  stroke: var(--gold-primary);
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--rosewood);
  background: var(--blush);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  border: 1px solid var(--blush-deep);
}

.verified-pill svg {
  width: 12px;
  height: 12px;
  color: var(--gold-primary);
}

.review-quote {
  font-family: var(--font-sans);
  font-size: 0.8875rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(234, 226, 215, 0.8);
}

.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1.5px solid var(--gold-primary);
  color: var(--rosewood);
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--rosewood);
  line-height: 1.2;
}

.reviewer-tag {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 500;
}

.reviews-action {
  text-align: center;
}

/* ==========================================================================
   8. INSTAGRAM FEED SECTION
   ========================================================================== */
.instagram-section {
  padding: 6rem 0;
  background-color: var(--bg-primary);
  overflow: hidden;
  max-width: 100vw;
}

.insta-header {
  text-align: center;
  margin-bottom: 3rem;
}

.insta-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--rosewood);
  background: var(--blush);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.insta-slider-container {
  position: relative;
  width: 100%;
  margin-bottom: 2.5rem;
  overflow: hidden;
  outline: none !important;
  border: none !important;
}

.insta-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1rem 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  outline: none !important;
  border: none !important;
  user-select: none;
  -webkit-user-select: none;
}

.insta-track::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.insta-card {
  min-width: 260px;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 16px rgba(42, 36, 35, 0.08);
  border: none !important;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  user-select: none;
  -webkit-user-select: none;
  isolation: isolate;
}

.insta-card:focus,
.insta-card:focus-visible,
.insta-card:active,
.insta-track:focus,
.insta-track:focus-visible,
.insta-track:active {
  outline: none !important;
  border: none !important;
}

.instagram-section *,
.insta-slider-container *,
.insta-track *,
.insta-card * {
  -webkit-tap-highlight-color: transparent !important;
}


.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  pointer-events: none;
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(61, 38, 36, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
  text-align: center;
  pointer-events: none;
}

/* Hover solo en dispositivos que realmente tienen hover (no touch) */
@media (hover: hover) and (pointer: fine) {
  .insta-card:hover .insta-overlay {
    opacity: 1;
  }

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

.insta-caption {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.insta-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.insta-action {
  text-align: center;
}

/* ==========================================================================
   9. PHOTO GALLERY / SOCIAL PROOF
   ========================================================================== */
.gallery-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  cursor: pointer;
}

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

.gallery-img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-tertiary);
}

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

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

/* Gallery Zoom Badge */
.gallery-zoom-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(28, 23, 22, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-zoom-badge {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption {
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   PREMIUM GALLERY LIGHTBOX MODAL
   ========================================================================== */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gallery-modal-container {
  position: relative;
  z-index: 2001;
  width: 100%;
  max-width: 960px;
  background: var(--bg-primary);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-modal.active .gallery-modal-container {
  transform: scale(1) translateY(0);
}

.gallery-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2002;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(28, 23, 22, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-modal-close:hover {
  background: var(--gold-primary);
  color: #FFFFFF;
  transform: rotate(90deg) scale(1.08);
}

.gallery-modal-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  min-height: 480px;
}

.gallery-modal-media {
  width: 100%;
  height: 100%;
  max-height: 540px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.gallery-modal-body {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-modal-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  background: var(--blush);
  color: var(--rosewood);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  border: 1px solid var(--blush-deep);
}

.gallery-modal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--rosewood);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.gallery-modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.gallery-modal-cta {
  align-self: flex-start;
}

@media (max-width: 860px) {
  .gallery-modal-content {
    grid-template-columns: 1fr;
    max-height: 85vh;
    overflow-y: auto;
  }
  .gallery-modal-media {
    max-height: 300px;
  }
  .gallery-modal-body {
    padding: 2rem 1.5rem;
  }
}


/* ==========================================================================
   10. EMAIL CAPTURE SECTION (Market Updates)
   ========================================================================== */
.email-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--rosewood) 0%, var(--bg-dark) 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.email-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.email-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.email-body {
  font-size: 1.1rem;
  color: var(--text-light-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.email-form {
  display: flex;
  gap: 1rem;
  max-width: 650px;
  margin: 0 auto 1rem auto;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

.form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.email-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.form-success-message {
  display: none;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(197, 160, 89, 0.25));
  border: 2px solid var(--gold-primary);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  color: var(--rosewood);
  font-weight: 600;
  font-size: 1.05rem;
  max-width: 550px;
  margin: 1.5rem auto 0;
  text-align: center;
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.25);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-message.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   11. BOOK A CALL SECTION (GHL / Calendly Interactive Embed)
   ========================================================================== */
.booking-section {
  padding: 6rem 0;
  background-color: var(--bg-primary);
}

.booking-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.booking-header {
  text-align: center;
  margin-bottom: 3rem;
}

.booking-container {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.booking-sidebar {
  background: var(--bg-secondary);
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.booking-host {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.host-info-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--rosewood);
}

.host-info-title {
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.booking-details-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.booking-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-dark);
}

.booking-calendar-main {
  padding: 2.5rem;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.calendar-month {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--rosewood);
}

.calendar-nav-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.calendar-nav-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-primary);
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.day-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}

.day-tile {
  padding: 0.6rem 0;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.day-tile.available {
  background: var(--blush);
  color: var(--rosewood);
}

.day-tile.available:hover, .day-tile.selected {
  background: var(--gold-primary);
  color: #FFFFFF;
}

.day-tile.today {
  border: 2px solid var(--gold-primary);
  font-weight: 700;
}

.day-tile.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Booking input fields — Luxury Styling */
/* Dual selector to guarantee application: by tag+class and by class alone. */
input.booking-input,
.booking-input {
  width: 100% !important;
  display: block !important;
  padding: 0.95rem 1.35rem !important;
  border-radius: 14px !important;
  border: 1.5px solid #D8CBB7 !important;
  background: #FBF8F2 !important;
  color: #3D2624 !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  outline: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: inset 0 1px 3px rgba(61, 38, 36, 0.04), 0 1px 2px rgba(61, 38, 36, 0.02) !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 50px !important;
}

input.booking-input::placeholder,
.booking-input::placeholder {
  color: #9A8E81 !important;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

input.booking-input:hover,
.booking-input:hover {
  border-color: #C5A059 !important;
  background: #FFFFFF !important;
}

input.booking-input:focus,
.booking-input:focus {
  border-color: #C5A059 !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.22), 0 6px 18px rgba(197, 160, 89, 0.14) !important;
}

/* Live validation visual feedback */
input.booking-input.touched.valid,
.booking-input.touched.valid {
  border-color: #6B8E5B !important;
  background: #F7FAF3 !important;
  box-shadow: inset 0 1px 3px rgba(107, 142, 91, 0.08) !important;
}
input.booking-input.touched.invalid,
.booking-input.touched.invalid {
  border-color: #B7554C !important;
  background: #FBF0EE !important;
  box-shadow: inset 0 1px 3px rgba(183, 85, 76, 0.08) !important;
}
input.booking-input.touched.invalid:focus,
.booking-input.touched.invalid:focus {
  box-shadow: 0 0 0 4px rgba(183, 85, 76, 0.18), 0 6px 18px rgba(183, 85, 76, 0.1) !important;
}
input.booking-input.touched.valid:focus,
.booking-input.touched.valid:focus {
  box-shadow: 0 0 0 4px rgba(107, 142, 91, 0.18), 0 6px 18px rgba(107, 142, 91, 0.1) !important;
}

/* Confirm booking button — luxury disabled/ready states */
#confirmBookingBtn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  letter-spacing: 0.01em !important;
  font-weight: 600 !important;
  padding: 1.05rem 1.75rem !important;
  font-size: 1rem !important;
  border-radius: 14px !important;
  border: none !important;
  cursor: pointer !important;
  line-height: 1.5 !important;
  min-height: 56px !important;
}
#confirmBookingBtn.needs-info:disabled,
#confirmBookingBtn:disabled {
  background: linear-gradient(135deg, #C8BDAE 0%, #B3A794 100%) !important;
  color: #FDFBF7 !important;
  opacity: 0.72 !important;
  cursor: not-allowed !important;
  box-shadow: 0 4px 12px rgba(61, 38, 36, 0.06) !important;
  transform: none !important;
}
#confirmBookingBtn.needs-info:disabled:hover,
#confirmBookingBtn:disabled:hover {
  transform: none !important;
  box-shadow: 0 4px 12px rgba(61, 38, 36, 0.06) !important;
}
#confirmBookingBtn.ready:not(:disabled) {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A059 50%, #A37F38 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 28px rgba(197, 160, 89, 0.35), 0 2px 6px rgba(61, 38, 36, 0.06) !important;
}
#confirmBookingBtn.ready:not(:disabled):hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 36px rgba(197, 160, 89, 0.45), 0 3px 8px rgba(61, 38, 36, 0.08) !important;
}

/* Placeholder "Pick a date first" con look boutique */
.time-slots-hint {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  padding: 1.1rem 1.4rem !important;
  background: linear-gradient(135deg, #FBF3DC 0%, #F4E9D1 100%) !important;
  color: #593936 !important;
  border: 1.5px dashed rgba(197, 160, 89, 0.55) !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: 0.01em !important;
  text-align: center !important;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 1.5rem;
}

.time-slot-btn {
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  color: var(--rosewood);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.time-slot-btn:hover, .time-slot-btn.selected {
  background: var(--rosewood);
  color: #FFFFFF;
  border-color: var(--rosewood);
}

.booking-secondary-cta {
  text-align: center;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid var(--rosewood-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.footer-brand-title {
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--font-serif-secondary);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-light-muted);
  margin-bottom: 1.5rem;
}

.footer-links-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-size: 0.925rem;
  color: var(--text-light-muted);
}

.footer-contact-list a:hover {
  color: var(--gold-primary);
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* About badge no se sale del contenedor */
  .about-image-badge {
    bottom: 0.75rem;
    right: 0.75rem;
  }

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

  .booking-container {
    grid-template-columns: 1fr;
  }

  .booking-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  /* Footer: 3 col → 2 col, la tercera pasa abajo */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-grid > *:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta-btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  /* Stat bar */
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(234, 226, 215, 0.15);
    padding-bottom: 1rem;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  /* Grids → 1 columna */
  .services-grid, .reviews-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Letter card */
  .letter-card {
    padding: 2.5rem 1.5rem;
  }

  .pull-quote {
    font-size: 1.2rem;
  }

  /* Hero CTAs → full width en móvil */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Listing card info — vuelve a row cuando hay espacio */
  .listing-info {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
  }

  /* Booking calendar responsive layout */
  .booking-container {
    grid-template-columns: 1fr;
    border-radius: 18px;
    margin-bottom: 1.75rem;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .booking-sidebar {
    padding: 1.5rem 1rem;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .booking-calendar-main {
    padding: 1.25rem 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .calendar-days-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 3px !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .day-name {
    font-size: 0.65rem !important;
    padding: 0 !important;
    letter-spacing: -0.02em !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    min-width: 0 !important;
  }

  .day-tile {
    padding: 0.45rem 0 !important;
    font-size: 0.78rem !important;
    border-radius: 6px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .time-slots {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .time-slots-hint {
    padding: 0.75rem 0.75rem !important;
    font-size: 0.8rem !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    word-break: break-word !important;
  }

  .booking-input {
    padding: 0.75rem 0.85rem !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  #confirmBookingBtn {
    padding: 0.85rem 0.75rem !important;
    font-size: 0.825rem !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  /* Letter signature → stack */
  .letter-signature {
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
  }

  /* Email form */
  .email-form {
    flex-direction: column;
    width: 100%;
  }

  .email-form .form-group {
    width: 100%;
    min-width: 100%;
  }

  .email-form .btn {
    width: 100%;
    justify-content: center;
  }


  /* Footer → 1 col */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Section titles smaller on mobile */
  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.25rem);
  }

  /* Botones de acción grandes → más pequeños en móvil */
  .reviews-action .btn,
  .insta-action .btn,
  .phone-btn,
  .booking-secondary-cta .btn {
    font-size: 0.8rem;
    padding: 0.75rem 1.25rem;
    white-space: normal;
    line-height: 1.4;
  }

  .reviews-action .btn svg,
  .insta-action .btn svg,
  .phone-btn svg,
  .booking-secondary-cta .btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  /* Container padding más estrecho */
  .container {
    padding: 0 0.75rem;
  }

  .booking-calendar-main {
    padding: 1rem 0.6rem;
  }

  /* Hero headline más pequeño y fluido en móvil */
  .hero-headline {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
  }
  .hero-headline br {
    display: none;
  }

  /* About badge en móvil pequeño */
  .about-image-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    bottom: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    padding: 0.75rem 1rem;
  }

  /* Insta card width en pantallas muy pequeñas */
  .insta-card {
    min-width: 220px;
    width: 220px;
  }

  /* Booking calendar: time slots → 2 col */
  .time-slots {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .time-slot-btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.2rem;
  }

  /* Calendar day tiles más pequeños */
  .day-tile {
    padding: 0.4rem 0;
    font-size: 0.75rem;
    border-radius: 6px;
  }

  .calendar-days-grid {
    gap: 3px;
  }

  .time-slots-hint {
    padding: 0.75rem 0.75rem !important;
    font-size: 0.8rem !important;
  }

  /* Gallery modal en móvil muy pequeño */
  .gallery-modal-body {
    padding: 1.5rem 1.25rem;
  }

  /* Listings footer btn full width */
  .listings-footer .btn {
    width: 100%;
    justify-content: center;
  }

  /* Services / reviews padding */
  .service-card {
    padding: 2rem 1.5rem;
  }

  /* Letter card */
  .letter-card {
    padding: 2rem 1.25rem;
  }

  .letter-card::before {
    font-size: 8rem;
  }
}

/* ==========================================================================
   6.5 FEATURED LISTINGS — VIDEO SECTION
   ========================================================================== */
.listings-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

/* Decorative background accent */
.listings-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--blush) 0%, rgba(253, 251, 247, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.listings-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-light) 0%, rgba(253, 251, 247, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.listings-section .container {
  position: relative;
  z-index: 1;
}

/* ── Header ── */
.listings-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.listings-title {
  margin-bottom: 1rem;
}

.listings-title-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-primary);
}

.listings-subtitle {
  margin-bottom: 0;
}

/* ── scroll-reveal base (título, subtítulo, footer CTA) ── */
.listings-section .scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── Grid ── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .listings-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Card ── */
.listing-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(40px);
}

.listing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.listing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

/* ── Gold top line on hover (igual que service-card) ── */
.listing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition);
}

.listing-card {
  position: relative;
}

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

/* ── Video Wrapper ── */
.listing-video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-dark);
  cursor: pointer;
}

.listing-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.listing-card:hover .listing-video {
  transform: scale(1.04);
}

/* ── Play Button ── */
.listing-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 23, 22, 0.35);
  transition: background 0.3s ease;
}

.listing-play-btn svg {
  width: 52px;
  height: 52px;
  color: #FFFFFF;
  background: rgba(197, 160, 89, 0.88);
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 6px 24px rgba(197, 160, 89, 0.45);
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.listing-card:hover .listing-play-btn {
  background: rgba(28, 23, 22, 0.15);
}

.listing-card:hover .listing-play-btn svg {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(197, 160, 89, 0.6);
}

/* Ocultar play btn cuando está reproduciendo */
.listing-video-wrapper.playing .listing-play-btn {
  opacity: 0;
  pointer-events: none;
}

/* ── Badge "Available" ── */
.listing-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold-gradient);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4);
}

/* ── Card Info (debajo del video) ── */
.listing-info {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.listing-address {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.listing-address svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* ── "Schedule a Showing" link ── */
.listing-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rosewood);
  letter-spacing: 0.02em;
  white-space: nowrap;
  position: relative;
  padding-bottom: 2px;
}

.listing-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-primary);
  transition: width 0.35s ease;
}

.listing-cta:hover {
  color: var(--gold-primary);
}

.listing-cta:hover::after {
  width: 100%;
}

.listing-cta svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s ease;
}

.listing-cta:hover svg {
  transform: translateX(3px);
}

/* ── Footer CTA ── */
.listings-footer {
  text-align: center;
}
