/* ==========================================
   CASA MADEIRA - LANDING PAGE STYLES
   Inmobiliaria Premium
   ========================================== */

/* ==========================================
   VARIABLES CSS - PALETA DE COLORES
   ========================================== */
:root {
  --bg: #ffffff;
  --text: #2f2f2f;
  --muted: #6b6b6b;
  --accent: #c7ad64;
  --accent-dark: #b3964f;
  --charcoal: #4a4643;
  --light-gray: #f4f4f4;
  --border: #e7e2d7;
  
  /* Espaciados */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;
  
  /* Tipografía */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transiciones */
  --transition: all 0.3s ease;
}

/* ==========================================
   RESET Y BASE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ==========================================
   TIPOGRAFÍA
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--spacing-sm);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--muted);
}

/* ==========================================
   UTILIDADES
   ========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-2xl) 0;
}

.section-alt {
  background-color: var(--light-gray);
}

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

.eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  display: block;
}

/* Animación de entrada */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   HEADER / NAVBAR
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
  gap: var(--spacing-md);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.logo-img {
  width: 150px !important;
  height: auto !important;
  max-height: 90px !important;
  max-width: 150px !important;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text);
  border-radius: 50%;
  transition: var(--transition);
  background-color: var(--light-gray);
}

.social-icon:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--charcoal);
  margin: 5px 0;
  transition: var(--transition);
}

/* ==========================================
   BOTONES
   ========================================== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(199, 173, 100, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-secondary:hover {
  background-color: var(--charcoal);
  color: white;
}

.btn-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

/* ==========================================
   HERO SECTION - FULL SCREEN
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  background: linear-gradient(135deg, var(--bg) 0%, #fafafa 100%);
}

/* Hero con imagen de fondo */
.hero-fullscreen {
  height: 100vh;
  padding-top: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(47, 47, 47, 0.85) 0%,
    rgba(74, 70, 67, 0.75) 50%,
    rgba(199, 173, 100, 0.3) 100%
  );
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  padding: var(--spacing-xl) var(--spacing-md);
}

.hero-fullscreen .hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.hero-fullscreen .eyebrow {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 3px;
}

.hero-fullscreen h1 {
  color: white;
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-fullscreen .accent-bar {
  background-color: var(--accent);
  margin: var(--spacing-md) auto;
}

.hero-fullscreen .hero-subtitle {
  color: white;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-fullscreen .hero-badges {
  justify-content: center;
  margin: var(--spacing-lg) 0;
}

.hero-fullscreen .badge {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(199, 173, 100, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-fullscreen .btn-group {
  justify-content: center;
  margin-top: var(--spacing-lg);
}

.hero-fullscreen .btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border-color: white;
}

.hero-fullscreen .btn-secondary:hover {
  background-color: white;
  color: var(--charcoal);
}

/* Quick info en hero fullscreen */
.hero-fullscreen .hero-quick-info {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
}

.hero-fullscreen .quick-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-fullscreen .quick-info-item span:first-child {
  color: var(--accent);
  font-size: 1.25rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: white;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.scroll-arrow {
  font-size: 1.5rem;
  opacity: 0.8;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Hero container original (para otras páginas) */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.hero-content {
  padding-right: var(--spacing-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.badge-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

.hero-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: var(--spacing-md);
  color: white;
}

.hero-quick-info {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.quick-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.accent-bar {
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  margin: var(--spacing-md) 0;
}

/* ==========================================
   SECCIÓN DE INFORMACIÓN BÁSICA
   ========================================== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.info-card {
  background: white;
  padding: var(--spacing-md);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--light-gray);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--charcoal);
}

.info-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   FICHA DE PRECIO
   ========================================== */
.price-bar {
  background: var(--charcoal);
  color: white;
  padding: 2rem 0;
}

.price-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.price-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 400;
}

.price-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.price-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.price-stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.price-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

.price-stat-divider {
  width: 1px;
  height: 2rem;
  background: rgba(255,255,255,0.15);
}

.price-cta {
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

.price-promo {
  margin-top: 1.25rem;
  padding: 0.85rem 1.25rem;
  background: rgba(199, 173, 100, 0.12);
  border: 1px solid rgba(199, 173, 100, 0.35);
  border-radius: 8px;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.price-promo-badge {
  background: var(--accent);
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.price-promo p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.price-promo p strong {
  color: white;
}

/* ==========================================
   SECCIÓN DE CARACTERÍSTICAS
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  margin-top: var(--spacing-lg);
}

.features-content ul {
  list-style: none;
  margin-top: var(--spacing-md);
}

.features-content li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: white;
  border-radius: 6px;
  transition: var(--transition);
  border-left: 3px solid var(--accent);
}

.features-content li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.features-content li:hover {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}

.feature-icon {
  display: none;
}

.feature-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.features-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.features-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.features-gallery {
  width: 100%;
  margin: 0 auto;
}

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

.gallery-item-small {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  aspect-ratio: 4/3;
}

.gallery-item-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-small-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: white;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 1.5rem 0.6rem 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-transform: uppercase;
}

.gallery-item-small:hover .gallery-small-label {
  opacity: 1;
}

.gallery-item-small:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

/* ==========================================
   SECCIÓN DE DISTRIBUCIÓN
   ========================================== */
.distribution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: var(--spacing-md);
}

.distribution-card {
  background: white;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: var(--transition);
}

.distribution-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.11);
}

.distribution-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}

.distribution-card ul {
  margin-top: 0;
}

.distribution-card li {
  padding: 0.3rem 0;
  color: var(--muted);
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.875rem;
  line-height: 1.4;
}

.distribution-card li:last-child {
  border-bottom: none;
}

/* ==========================================
   SECCIÓN DE VIDEO RECORRIDO
   ========================================== */
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

.video-wrapper video {
  width: 100%;
  display: block;
  background: #000;
}

/* ==========================================
   SECCIÓN DE PLANOS
   ========================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.plans-grid--2col {
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.plan-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.plan-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}

.plan-card:hover img {
  transform: scale(1.05);
}

.plan-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: var(--spacing-md);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ==========================================
   SECCIÓN DE DETALLES ADICIONALES
   ========================================== */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.detail-card {
  background: white;
  padding: var(--spacing-md);
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.detail-card:hover {
  border-color: var(--accent);
  box-shadow: 0 5px 20px rgba(199, 173, 100, 0.15);
}

.detail-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto var(--spacing-sm);
}

.detail-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--charcoal);
}

.detail-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================
   SECCIÓN DE AMENIDADES
   ========================================== */
.amenities-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: white;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: var(--transition);
}

.amenity-chip::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
}

.amenity-chip:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.amenity-chip:hover::before {
  color: white;
}

/* ==========================================
   SECCIÓN DE GALERÍA
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.gallery-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-md);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-label {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

/* ==========================================
   SECCIÓN DE UBICACIÓN
   ========================================== */
.location-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  margin-top: var(--spacing-lg);
}

.location-content h3 {
  margin-bottom: var(--spacing-sm);
}

.location-content p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
}

.location-map {
  background: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--muted);
}

/* ==========================================
   SECCIÓN DE TESTIMONIO / QUOTE
   ========================================== */
.testimonial {
  background: linear-gradient(135deg, rgba(199, 173, 100, 0.1), rgba(199, 173, 100, 0.05));
  border-left: 4px solid var(--accent);
  padding: var(--spacing-xl);
  text-align: center;
  border-radius: 8px;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--charcoal);
  font-style: italic;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent);
  display: block;
  line-height: 0.5;
  margin-bottom: var(--spacing-sm);
}

/* ==========================================
   SECCIÓN DE FAQ
   ========================================== */
.faq-container {
  max-width: 900px;
  margin: var(--spacing-lg) auto 0;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  padding: var(--spacing-md);
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-family: var(--font-body);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.8;
}

/* ==========================================
   SECCIÓN DE CTA FINAL
   ========================================== */
.cta-final {
  background: linear-gradient(135deg, var(--charcoal) 0%, #3a3633 100%);
  color: white;
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-md);
  border-radius: 8px;
}

.cta-final h2 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

.cta-final p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto var(--spacing-md);
  line-height: 1.8;
}

.cta-final .btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
}

.cta-final .btn-secondary {
  background-color: transparent;
  color: white;
  border-color: white;
}

.cta-final .btn-secondary:hover {
  background-color: white;
  color: var(--charcoal);
}

/* ==========================================
   FORMULARIO DE CONTACTO
   ========================================== */
.contact-form {
  max-width: 700px;
  margin: var(--spacing-lg) auto 0;
  background: white;
  padding: var(--spacing-xl);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(199, 173, 100, 0.1);
}

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

.form-privacy {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: var(--spacing-sm);
  line-height: 1.6;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--charcoal);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
  margin-top: var(--spacing-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: white;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

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

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

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: var(--accent);
}

/* ==========================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

/* ==========================================
   LIGHTBOX MODAL
   ========================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent);
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */
@media (max-width: 968px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
  }
  
  .hero-content-overlay {
    margin-top: -80px;
  }
  
  .hero-content-box {
    margin-left: var(--spacing-sm);
    margin-right: var(--spacing-sm);
    padding: var(--spacing-md);
  }
  
  .hero-main-image {
    max-height: 60vh;
  }
  
  .hero-container,
  .features-grid,
  .location-container {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-image img {
    height: 400px;
  }
  
  .hero-fullscreen h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
  
  .hero-fullscreen .hero-badges {
    gap: var(--spacing-xs);
  }
  
  .hero-fullscreen .hero-quick-info {
    gap: var(--spacing-sm);
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: var(--spacing-md);
    transition: left 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    justify-content: flex-start;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-social {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .distribution-grid {
    grid-template-columns: 1fr;
  }

  /* Price bar tablet */
  .price-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .price-stats {
    gap: 1rem;
  }

  .price-cta .btn {
    width: 100%;
  }
}

/* ==========================================
   RESPONSIVE - MÓVIL
   ========================================== */
@media (max-width: 600px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
    --spacing-2xl: 3rem;
  }
  
  .container,
  .container-wide {
    padding: 0 var(--spacing-sm);
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .hero {
    min-height: auto;
    padding-top: 70px;
  }
  
  .hero-content-overlay {
    margin-top: -60px;
  }
  
  .hero-content-box {
    margin: 0 var(--spacing-sm);
    padding: var(--spacing-md);
  }
  
  .hero-content-box h1 {
    font-size: 2rem;
  }
  
  .hero-content-box .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-main-image {
    max-height: 50vh;
  }
  
  .hero-fullscreen {
    height: 88vh;
    min-height: 560px;
  }
  
  .hero-fullscreen h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 0.4rem;
  }
  
  .hero-fullscreen .hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-fullscreen .hero-content {
    padding: 0 var(--spacing-sm);
    padding-bottom: 4rem;
  }

  .hero-fullscreen .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 0.4rem;
  }

  .hero-fullscreen .accent-bar {
    margin: 0.5rem auto 0.75rem;
  }

  .hero-fullscreen .hero-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.75rem 0;
  }

  .hero-fullscreen .badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
  }

  .hero-fullscreen .badge .badge-icon {
    display: none;
  }

  .hero-fullscreen .btn-group {
    flex-direction: row;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
  }

  .hero-fullscreen .btn-group .btn {
    width: auto;
    padding: 0.6rem 1.25rem;
    font-size: 0.82rem;
  }
  
  .info-cards,
  .plans-grid,
  .plans-grid--2col,
  .details-grid,
  .amenities-grid,
  .gallery-grid,
  .gallery-grid--3col {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid-small {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-content li {
    flex-direction: row;
    align-items: center;
  }
  
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
  
  .testimonial {
    padding: var(--spacing-md);
  }
  
  .contact-form {
    padding: var(--spacing-md);
  }

  /* Price bar móvil */
  .price-amount {
    font-size: 1.6rem;
  }

  .price-stats {
    gap: 0.75rem;
  }

  .price-stat-divider {
    display: none;
  }

  .price-promo {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Footer bottom móvil */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ==========================================
   PLACEHOLDERS DE IMAGEN
   ========================================== */
.placeholder-image {
  background: linear-gradient(135deg, var(--light-gray) 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: var(--spacing-md);
}

/* ==========================================
   UTILIDADES DE IMPRESIÓN
   ========================================== */
@media print {
  .header,
  .whatsapp-float,
  .btn-group,
  .nav-menu {
    display: none !important;
  }
}
