/* ESTÉTICA EDITORIAL HIGH-END */
:root {
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Open Sans', sans-serif;
  --color-gold: #C5A059;
  --transition-editorial: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: #000000;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* CLASES DE ACENTO DORADO */
.text-gold { color: var(--color-gold) !important; }
.text-gold-italic { color: var(--color-gold) !important; font-style: italic; }
.text-gold-small { color: var(--color-gold) !important; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 4px; }
.text-gold-hover:hover { color: var(--color-gold) !important; }
.font-serif { font-family: var(--font-heading) !important; font-size: 1.1rem; }

/* ESTRUCTURA & CENTRADO PERFECTO */
.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding { padding: 90px 0; }

.view-section {
  position: relative;
  min-height: 100vh;
  display: none;
  overflow: hidden;
}

.view-section.active {
  display: flex;
  flex-direction: column;
}

.section-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

.center-vertical-content {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.full-width { width: 100%; }
.text-center { text-align: center; }

/* CONTRASTE NOCTURNO / LUMINOSO */
.theme-dark { color: #FFFFFF; }
.theme-dark .dark-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(5, 5, 5, 0.92); z-index: 1;
}
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4 { color: #FFFFFF; }
.theme-dark p, .theme-dark span, .theme-dark li { color: #AAAAAA; font-weight: 300; }

.theme-light { color: #111111; }
.theme-light .light-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(250, 250, 250, 0.95); z-index: 1;
}
.theme-light h1, .theme-light h2, .theme-light h3, .theme-light h4 { color: #000000; }
.theme-light p, .theme-light span, .theme-light li { color: #555555; font-weight: 300; }

/* FONDOS CON COVER COMPLETO */
.bg-page-1 { background: url('fondo.jpg') center/cover no-repeat fixed; }
.bg-page-2 { background: url('fondo2.jpg') center/cover no-repeat fixed; }
.bg-page-3 { background: url('fondo3.jpg') center/cover no-repeat fixed; }

/* HERO A PANTALLA COMPLETA EXACTA 100VH */
.hero-full-screen {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.hero-content { max-width: 700px; padding: 0 20px; }
.hero-emotional-text { font-size: 1.1rem; margin-bottom: 40px; font-style: italic; font-family: var(--font-heading); color: #888888; }

/* ANIMACIÓN DINÁMICA DE TEXTO EN HERO AL DESLIZAR */
.hero-animated-el, #heroTag {
  will-change: transform, opacity;
  transition: transform 0.1s cubic-bezier(0.1, 1, 0.1, 1), opacity 0.1s ease-out;
}

.scroll-indicator {
  position: absolute;
  bottom: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
}

.scroll-line {
  width: 1px;
  height: 35px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* SEPARADORES EDITORIALES */
.editorial-divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
  margin: 60px auto;
  opacity: 0.6;
}

/* TIPOGRAFÍA FORMAL */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 300;
  letter-spacing: 4px;
}

h1 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 25px; text-transform: uppercase; }
h2.section-title { font-size: 2.6rem; margin-bottom: 20px; text-transform: uppercase; }

.editorial-tag {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto 50px auto;
  font-weight: 300;
  letter-spacing: 1px;
}

/* DIBUJO DE BORDES EN ENLACES */
.draw-link { position: relative; text-decoration: none; }
.draw-link::after {
  content: ''; position: absolute; width: 0%; height: 1px; bottom: -4px; left: 0;
  background-color: currentColor; transition: width 0.4s var(--transition-editorial);
}
.draw-link:hover::after, .draw-link.active::after { width: 100%; }

.clean-link-dark { color: #FFFFFF !important; }
.clean-link-light { color: #000000 !important; }

.heading-draw { position: relative; display: inline-block; }

/* ANIMACIÓN EN BOTONES */
.btn {
  position: relative;
  display: inline-block;
  padding: 16px 45px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-body);
  overflow: hidden;
  z-index: 1;
  transition: transform 0.4s var(--transition-editorial), border-color 0.4s var(--transition-editorial), box-shadow 0.4s var(--transition-editorial), color 0.4s var(--transition-editorial);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: all 0.6s var(--transition-editorial);
  z-index: -1;
}

.btn:hover::before { left: 100%; }
.btn:hover { transform: translateY(-3px); }

.btn-gold {
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn-gold:hover {
  background: var(--color-gold);
  color: #000000;
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

.theme-dark .btn-line { color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.4); }
.theme-dark .btn-line:hover { border-color: #FFFFFF; background: #FFFFFF; color: #000000; box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2); }

.theme-light .btn-line { color: #000000; border: 1px solid rgba(0, 0, 0, 0.4); }
.theme-light .btn-line:hover { border-color: #000000; background: #000000; color: #FFFFFF; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); }

.full-width { width: 100%; }

/* HEADER Y LOGO */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(10px); z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 18px 30px;
  display: flex; justify-content: space-between; align-items: center;
}

.logo-brand { 
  display: flex; 
  align-items: center; 
  gap: 20px; 
  text-decoration: none; 
}

.logo-img { 
  height: 50px; 
  width: auto; 
  filter: brightness(0) invert(1); 
}

.logo-text { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 400; letter-spacing: 6px; color: #FFFFFF; }

.nav-menu { display: flex; gap: 35px; align-items: center; }
.nav-link { color: #FFFFFF; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px; font-family: var(--font-body); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 22px; height: 1px; background-color: #FFFFFF; }

/* GRIDS Y ELEMENTOS LIMPIOS */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.gap-40 { gap: 40px; }
.gap-60 { gap: 60px; }
.gap-80 { gap: 80px; }
.align-center { align-items: center; }

.clean-feature { text-align: center; padding: 0 10px; }
.clean-feature h3 { font-size: 1.2rem; margin-bottom: 12px; letter-spacing: 2px; text-transform: uppercase; }
.clean-feature p { font-size: 0.88rem; line-height: 1.8; }

/* NOSOTROS */
.lead-p { font-size: 1.05rem !important; font-family: var(--font-heading); font-style: italic; margin-bottom: 15px; }
.about-p { font-size: 0.85rem !important; line-height: 1.7; }
.minimal-list { margin-top: 25px; display: flex; flex-direction: column; gap: 12px; }
.minimal-list div { font-size: 0.82rem; letter-spacing: 0.5px; }
.minimal-list span { margin-right: 8px; }
.minimal-img { width: 100%; height: 420px; object-fit: cover; display: block; border-radius: 2px; }

/* BARRA SELECCIONADORA EDITORIAL DE COLECCIÓN */
.editorial-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #777777;
  cursor: pointer;
  padding: 5px 0;
  position: relative;
  transition: color 0.35s var(--transition-editorial);
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.35s var(--transition-editorial);
}

.filter-btn:hover, .filter-btn.active { color: #000000; }
.filter-btn.active::after { width: 100%; }
.filter-separator { font-size: 0.8rem; }

/* FORMULARIO */
.clean-form-dark, .clean-form { display: flex; flex-direction: column; gap: 20px; }
.form-line-dark input, .form-line-dark textarea {
  width: 100%; padding: 12px 0; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent; color: #FFFFFF; font-family: var(--font-body); font-size: 0.85rem; outline: none;
  resize: none !important;
}

.form-line input, .form-line textarea {
  width: 100%; padding: 12px 0; border: none; border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  background: transparent; color: #000000; font-family: var(--font-body); font-size: 0.85rem; outline: none;
  resize: none !important;
}

.clean-info-dark h3, .clean-info h3 { font-size: 1.3rem; margin-bottom: 15px; text-transform: uppercase; }
.clean-info-dark p, .clean-info p { margin-bottom: 10px; font-size: 0.85rem; }

/* RESEÑAS REALES */
.reviews-container { margin-top: 15px; }
.clean-review { padding: 0 10px; text-align: center; }
.stars { color: var(--color-gold); letter-spacing: 3px; margin-bottom: 10px; font-size: 0.85rem; }
.review-text { font-style: italic; font-family: var(--font-heading); font-size: 1.05rem !important; line-height: 1.6; color: #DDDDDD !important; margin-bottom: 10px; }
.review-author { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; font-family: var(--font-body); }

/* MANIFIESTO */
.manifesto-clean { max-width: 700px; margin: 0 auto; }
.manifesto-quote { font-family: var(--font-heading); font-size: 1.3rem; font-style: italic; line-height: 1.8; color: #E0E0E0 !important; }

/* GALERÍA MINIMALISTA */
.minimal-gallery-card {
  position: relative; 
  overflow: hidden; 
  height: 380px;
  cursor: pointer; 
  background: #F0F0F0;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.8s var(--transition-editorial), transform 0.8s var(--transition-editorial);
}

.minimal-gallery-card.visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.minimal-gallery-card.hide { 
  display: none; 
}

.minimal-gallery-card img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.8s var(--transition-editorial); 
}

.minimal-gallery-card .item-info {
  position: absolute; 
  bottom: 0; 
  left: 0; 
  width: 100%; 
  padding: 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7)); 
  color: #FFFFFF;
  font-family: var(--font-heading); 
  font-size: 1rem; 
  letter-spacing: 2px; 
  opacity: 0; 
  transition: opacity 0.4s;
}

.minimal-gallery-card:hover img { transform: scale(1.05); }
.minimal-gallery-card:hover .item-info { opacity: 1; }

/* FAQ Y MAPA */
.clean-faq { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.faq-row h4 { font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 8px; text-transform: uppercase; }
.map-clean { margin-top: 20px; }

/* LIGHTBOX */
.lightbox-modal {
  display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.96); backdrop-filter: blur(10px);
  align-items: center; justify-content: space-between; padding: 30px;
}
.lightbox-modal.active { display: flex; }
.lightbox-content { text-align: center; max-width: 80%; max-height: 85vh; overflow: hidden; }

.lightbox-img-smooth {
  max-width: 100%; max-height: 75vh; object-fit: contain;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-img-smooth.fade-out-left { opacity: 0; transform: translateX(-30px); }
.lightbox-img-smooth.fade-out-right { opacity: 0; transform: translateX(30px); }

.lightbox-caption { font-family: var(--font-heading); font-size: 1.2rem; margin-top: 15px; letter-spacing: 2px; }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: #FFFFFF; font-size: 30px; cursor: pointer; }
.lightbox-prev, .lightbox-next { background: none; border: none; color: #FFFFFF; font-size: 28px; cursor: pointer; padding: 20px; transition: color 0.3s; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--color-gold); }

/* BOTÓN FLOTANTE WHATSAPP NEGRO CON BLANCO */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--transition-editorial), border-color 0.4s var(--transition-editorial), box-shadow 0.4s var(--transition-editorial);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.08);
  border-color: var(--color-gold);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.wa-icon-white {
  width: 22px;
  height: 22px;
}

/* FOOTER */
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 35px 0; font-size: 0.7rem; color: #666666; background: #000000; letter-spacing: 2px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.social-links-social { display: flex; gap: 20px; align-items: center; }
.social-btn { color: #FFFFFF; text-decoration: none; display: flex; align-items: center; gap: 8px; font-family: var(--font-body); }
.social-icon { width: 16px; height: 16px; fill: currentColor; }

/* ANIMACIONES OBSERVER */
.fade-in-up { 
  opacity: 0; 
  transform: translateY(25px); 
  transition: opacity 0.8s var(--transition-editorial), transform 0.8s var(--transition-editorial); 
}

.fade-in-left { 
  opacity: 0; 
  transform: translateX(-25px); 
  transition: opacity 0.8s var(--transition-editorial), transform 0.8s var(--transition-editorial); 
}

.fade-in-right { 
  opacity: 0; 
  transform: translateX(25px); 
  transition: opacity 0.8s var(--transition-editorial), transform 0.8s var(--transition-editorial); 
}

.visible { 
  opacity: 1 !important; 
  transform: translateY(0) translateX(0) scale(1) !important; 
}

/* AJUSTES RESPONSIVOS CON MARGEN LATERAL AMPLIADO EN CELULARES */
@media (max-width: 768px) {
  /* Separación amplia y cómoda con respecto a los bordes de la pantalla */
  .container {
    padding-left: 36px !important;
    padding-right: 36px !important;
  }

  .section-padding {
    padding: 50px 0;
  }

  .grid-2, .grid-3 { 
    grid-template-columns: 1fr; 
  }

  .menu-toggle { 
    display: flex; 
  }

  .nav-container {
    padding: 16px 28px;
  }

  .nav-menu {
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background-color: #000000;
    flex-direction: column; 
    padding: 30px 36px; 
    display: none; 
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu.open { 
    display: flex; 
  }

  h1 { 
    font-size: 2.1rem; 
  }

  .hero-content {
    padding: 0 15px;
  }

  .clean-feature, .clean-review {
    padding: 0 5px;
  }

  .footer-content { 
    flex-direction: column; 
    gap: 20px; 
    text-align: center; 
    padding-left: 36px;
    padding-right: 36px;
  }
}

@media (max-width: 480px) {
  /* Margen aún más holgado para pantallas muy angostas */
  .container {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
  
  .nav-container {
    padding: 16px 32px;
  }
}