/*
  ============================================================
  AMANDA WASI — Estilos Principales
  Archivo: css/styles.css
  ============================================================

  ÍNDICE DE SECCIONES:
  1.  Variables CSS (colores, fuentes, espaciados)
  2.  Reset y base
  3.  Cursor personalizado
  4.  Botones globales
  5.  Navbar / Navegación
  6.  Menú móvil
  7.  Hero (slider principal)
  8.  Trust Bar (barra de confianza)
  9.  Secciones genéricas (helpers)
  10. Departamentos (tarjetas)
  11. Galería
  12. Amenidades / Servicios
  13. Anfitrión / Nosotros
  14. Formulario de reserva
  15. Ubicación / Mapa
  16. Reseñas
  17. Reglas de la casa
  18. Footer
  19. Modal de confirmación
  20. WhatsApp flotante
  21. Animaciones de scroll (reveal)
  22. Responsive (móvil / tablet)
  ============================================================
*/


/* ============================================================
   1. VARIABLES CSS
   Cambia aquí los colores y fuentes para rediseñar todo el sitio
   ============================================================ */
:root {
  /* Paleta de colores */
  --color-bg:        #f5efe8;   /* Fondo principal (crema cálido) */
  --color-bg-alt:    #ede5d8;   /* Fondo alternativo (un poco más oscuro) */
  --color-white:     #ffffff;
  --color-ink:       #1c1208;   /* Texto oscuro principal */
  --color-deep:      #2d1f0e;   /* Fondos oscuros (nav, amenidades) */
  --color-terra:     #9b4f22;   /* Color principal de marca (terracota) */
  --color-rust:      #c46b38;   /* Hover del color principal */
  --color-gold:      #d4a853;   /* Dorado (títulos en cursiva, detalles) */
  --color-muted:     #8a7560;   /* Texto secundario / placeholders */
  --color-stone:     #d6ccc0;   /* Bordes y líneas suaves */

  /* Tipografía */
  --font-display: 'Playfair Display', serif;  /* Títulos elegantes */
  --font-body:    'DM Sans', sans-serif;       /* Texto corriente */

  /* Espaciado de sección */
  --section-padding: 100px 80px;

  /* Bordes redondeados */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 100px;

  /* Transición estándar */
  --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.25s ease;
}


/* ============================================================
   2. RESET Y BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-ink);
  overflow-x: hidden;
  cursor: none; /* Ocultamos el cursor nativo, usamos el personalizado */
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Para no mostrar outline feo en clicks con ratón (sí en teclado) */
:focus-visible {
  outline: 2px solid var(--color-terra);
  outline-offset: 4px;
}


/* ============================================================
   3. CURSOR PERSONALIZADO
   Controlado desde js/main.js → initCursor()
   ============================================================ */
#cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--color-terra);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
}

#cursor-ring {
  position: fixed;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--color-terra);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease, opacity 0.3s;
  opacity: 0.45;
}

/* En móviles, el cursor personalizado no se muestra */
@media (hover: none) {
  #cursor-dot,
  #cursor-ring { display: none; }
  body { cursor: auto; }
}


/* ============================================================
   4. BOTONES GLOBALES
   ============================================================ */

/* Botón principal (terracota sólido) */
.btn-primary {
  display: inline-block;
  background: var(--color-terra);
  color: var(--color-white);
  padding: 16px 38px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--color-rust);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(155, 79, 34, 0.38);
}

/* Botón outline (transparente con borde blanco, para el hero) */
.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--color-white);
  padding: 15px 34px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

/* Botón de reserva en tarjetas de depa (oscuro) */
.btn-book {
  display: inline-block;
  background: var(--color-ink);
  color: var(--color-white);
  padding: 11px 26px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-book:hover {
  background: var(--color-terra);
  transform: translateY(-2px);
}

/* Botón "Ver en Airbnb" */
.btn-airbnb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-stone);
  color: var(--color-muted);
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
}
.btn-airbnb:hover {
  border-color: var(--color-terra);
  color: var(--color-terra);
}

/* Botón WhatsApp del formulario */
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  padding: 0 20px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.btn-whatsapp:hover {
  background: #1fba59;
  transform: translateY(-2px);
}


/* ============================================================
   5. NAVBAR / NAVEGACIÓN
   Estado inicial: transparente sobre el hero
   Estado scrolled: sólido con backdrop blur
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  transition: all 0.4s ease;
}

/* Clase que agrega JS al hacer scroll */
#navbar.scrolled {
  background: rgba(245, 239, 232, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 60px;
  border-bottom: 1px solid var(--color-stone);
}

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.04em;
  transition: color 0.4s;
}
.nav-logo em {
  font-style: italic;
  color: var(--color-gold);
}
#navbar.scrolled .nav-logo {
  color: var(--color-ink);
}

/* Links de navegación */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}
#navbar.scrolled .nav-links a {
  color: var(--color-muted);
}
.nav-links a:hover {
  color: var(--color-gold);
}

/* Botón CTA dentro del nav */
.nav-cta-btn {
  background: var(--color-white) !important;
  color: var(--color-terra) !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
}
#navbar.scrolled .nav-cta-btn {
  background: var(--color-terra) !important;
  color: var(--color-white) !important;
}
.nav-cta-btn:hover {
  background: var(--color-rust) !important;
  color: var(--color-white) !important;
}

/* Botón hamburguesa (visible solo en móvil) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s;
}
#navbar.scrolled .hamburger span {
  background: var(--color-ink);
}


/* ============================================================
   6. MENÚ MÓVIL (overlay)
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--color-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.mobile-menu a:hover,
.mobile-menu-cta {
  color: var(--color-gold) !important;
}


/* ============================================================
   7. HERO — SLIDER PRINCIPAL
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Contenedor de los slides */
.hero-slides {
  position: absolute;
  inset: 0;
}

/* Cada slide de fondo */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active {
  opacity: 1;
}

/* Overlay gradiente oscuro sobre las fotos */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 18, 8, 0.85) 0%,
    rgba(28, 18, 8, 0.30) 55%,
    rgba(28, 18, 8, 0.10) 100%
  );
}

/* Contenido de texto del hero */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px 88px;
  max-width: 860px;
}

/* Texto pequeño sobre el título */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(212, 168, 83, 0.4);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  margin-bottom: 32px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(212, 168, 83, 0.08);
  backdrop-filter: blur(8px);
}
/* Punto parpadeante antes del texto */
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: blink 2s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* Título principal */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  font-weight: 400;
  line-height: 0.93;
  color: var(--color-white);
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--color-gold);
}

/* Subtítulo */
.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 48px;
}

/* Contenedor de botones */
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Puntos de navegación del slider */
.hero-dots {
  position: absolute;
  left: 80px;
  bottom: 96px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
}
.hero-dot.active {
  width: 52px;
  background: var(--color-gold);
}

/* Indicador de scroll (línea animada + texto) */
.scroll-indicator {
  position: absolute;
  right: 52px;
  bottom: 88px;
  z-index: 2;
  writing-mode: vertical-lr;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-gold);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  to { top: 200%; }
}


/* ============================================================
   8. TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--color-deep);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  padding: 28px 60px;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
}
.trust-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--color-gold);
  display: block;
}
.trust-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 3px;
}
.trust-separator {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
}


/* ============================================================
   9. SECCIONES GENÉRICAS (helpers reutilizables)
   ============================================================ */
.section {
  padding: var(--section-padding);
}

.section-header {
  margin-bottom: 56px;
}

/* Tag pequeño sobre el título (ej. "Nuestros Departamentos") */
.section-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-terra);
  margin-bottom: 18px;
}

/* Título de sección */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--color-ink);
}
.section-title em {
  font-style: italic;
  color: var(--color-terra);
}


/* ============================================================
   10. DEPARTAMENTOS (tarjetas)
   ============================================================ */
.apartments-section {
  padding: 80px 80px 100px;
}

/* Grid de 2 columnas */
.apartments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Tarjeta individual */
.apartment-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(28, 18, 8, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.apartment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(28, 18, 8, 0.14);
}

/* Contenedor de imagen principal */
.apt-image-wrapper {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.apt-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}
.apartment-card:hover .apt-main-image {
  transform: scale(1.06);
}

/* Badge de estado (ej. "En estreno") */
.apt-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--color-white);
  color: var(--color-terra);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

/* Rating badge sobre la imagen */
.apt-rating-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(28, 18, 8, 0.65);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

/* Miniaturas de fotos */
.apt-thumbnails {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.apt-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.5);
  object-fit: cover;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.apt-thumb:hover,
.apt-thumb.active {
  border-color: var(--color-white);
}

/* Cuerpo de la tarjeta */
.apt-body {
  padding: 28px 32px 32px;
}

.apt-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.apt-description {
  font-size: 0.86rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

/* Lista de características */
.apt-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 24px;
}
.apt-feature {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-ink);
}

/* Footer de la tarjeta */
.apt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--color-bg-alt);
}


/* ============================================================
   11. GALERÍA
   ============================================================ */
.gallery-section {
  padding: 0 80px 100px;
}

/* Grid asimétrico de 12 columnas */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 240px 240px;
  gap: 10px;
  margin-top: 52px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  cursor: pointer;
}

/* Foto grande que ocupa 2 filas */
.gallery-item--large {
  grid-column: span 5;
  grid-row: span 2;
}

/* Fotos medianas */
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 3; }

/* Última foto con overlay */
.gallery-item--last {
  grid-column: span 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover img {
  transform: scale(1.07);
}

/* Overlay con botón "Ver más" en la última foto */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 18, 8, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item--last:hover .gallery-overlay {
  opacity: 1;
}
.gallery-see-all {
  background: var(--color-white);
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
}


/* ============================================================
   12. AMENIDADES / SERVICIOS
   ============================================================ */
.amenities-section {
  background: var(--color-deep);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

/* Texto decorativo gigante de fondo */
.amenities-section::before {
  content: 'AMANDA WASI';
  position: absolute;
  bottom: -40px;
  right: -60px;
  font-family: var(--font-display);
  font-size: 18rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.amenities-inner {
  position: relative;
  z-index: 1;
}

/* Sobreescribir colores del section-title para fondo oscuro */
.amenities-section .section-title {
  color: rgba(245, 239, 232, 0.9);
  margin-bottom: 56px;
}
.amenities-section .section-title em {
  color: var(--color-gold);
}
.amenities-section .section-tag {
  color: var(--color-gold);
}

/* Grid de 4 columnas */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

/* Tarjeta de amenidad individual */
.amenity-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 26px;
  transition: background 0.4s, border-color 0.4s;
}
.amenity-card:hover {
  background: rgba(212, 168, 83, 0.1);
  border-color: rgba(212, 168, 83, 0.2);
}

.amenity-icon {
  font-size: 1.8rem;
  margin-bottom: 18px;
  display: block;
}

.amenity-name {
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(245, 239, 232, 0.85);
  margin-bottom: 6px;
}
.amenity-card:hover .amenity-name {
  color: var(--color-gold);
}

.amenity-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
}


/* ============================================================
   13. ANFITRIÓN / NOSOTROS
   ============================================================ */
.host-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Columna de la foto */
.host-image-wrapper {
  position: relative;
}
.host-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  background: var(--color-bg-alt);
}

/* Tarjeta de estadísticas flotante sobre la foto */
.host-stats-card {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 8px 30px rgba(28, 18, 8, 0.12);
}
.host-stats-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-ink);
}
.host-stats-role {
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-top: 2px;
}
.host-stats-row {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-bg-alt);
}
.host-stat {
  text-align: center;
}
.host-stat-value {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-terra);
  display: block;
}
.host-stat-label {
  font-size: 0.65rem;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Columna de texto */
.host-info-col .section-title {
  margin-bottom: 20px;
}

.host-description {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.host-description:last-of-type {
  margin-bottom: 32px;
}

/* Badges de logros */
.host-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.host-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-ink);
}


/* ============================================================
   14. FORMULARIO DE RESERVA
   ============================================================ */
.booking-section {
  padding: 0 80px 100px;
}

/* Tarjeta principal del formulario */
.booking-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 60px rgba(28, 18, 8, 0.09);
  overflow: hidden;
  display: grid;
  grid-template-columns: 5fr 6fr;
}

/* Panel izquierdo oscuro con info */
.booking-info-panel {
  background: var(--color-deep);
  padding: 56px 52px;
  position: relative;
  overflow: hidden;
}
.booking-info-panel::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.06);
}
.booking-info-panel .section-tag {
  color: var(--color-gold);
  margin-bottom: 16px;
}

.booking-panel-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.1;
  color: rgba(245, 239, 232, 0.9);
  margin-bottom: 20px;
}
.booking-panel-subtitle {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* Lista de beneficios */
.booking-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.booking-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.booking-perk::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
  margin-top: 5px;
}

/* Panel derecho: formulario */
.booking-form-panel {
  padding: 52px;
}

.booking-form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-ink);
  margin-bottom: 30px;
}

/* Selector de apartamento */
.apt-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.apt-option {
  border: 2px solid var(--color-stone);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}
.apt-option.selected {
  border-color: var(--color-terra);
  background: rgba(155, 79, 34, 0.05);
}
.apt-option-radio {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--color-stone);
  flex-shrink: 0;
  transition: all 0.2s;
}
.apt-option.selected .apt-option-radio {
  border-color: var(--color-terra);
  background: var(--color-terra);
  box-shadow: inset 0 0 0 3px var(--color-white);
}
.apt-option-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-ink);
}
.apt-option-sub {
  font-size: 0.7rem;
  color: var(--color-muted);
}

/* Elementos de formulario */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 7px;
}

.form-fieldset {
  border: none;
  padding: 0;
  margin-bottom: 0;
}
.form-fieldset .form-label {
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-stone);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--color-ink);
  background: var(--color-bg);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--color-terra);
  box-shadow: 0 0 0 4px rgba(155, 79, 34, 0.12);
}
.form-input::placeholder {
  color: var(--color-stone);
}

.form-textarea {
  resize: vertical;
}

/* Caja de resumen dinámica */
.booking-summary {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 0.83rem;
  color: var(--color-ink);
  display: none; /* Se muestra desde JS cuando se eligen fechas */
}
.booking-summary a {
  color: var(--color-terra);
  text-decoration: underline;
}

/* Fila de botones de envío */
.form-submit-row {
  display: flex;
  gap: 10px;
}
.btn-submit {
  flex: 1;
  border-radius: var(--radius-md) !important;
  letter-spacing: 0.06em;
}


/* ============================================================
   15. UBICACIÓN / MAPA
   ============================================================ */
.location-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.location-description {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 30px;
}

/* Tags del barrio */
.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.location-tag {
  background: var(--color-bg-alt);
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-full);
}

/* Lista de lugares cercanos */
.nearby-list {
  display: flex;
  flex-direction: column;
}
.nearby-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-stone);
  font-size: 0.82rem;
}
.nearby-name {
  color: var(--color-ink);
  font-weight: 500;
}
.nearby-distance {
  color: var(--color-muted);
}

/* Mapa embebido */
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  box-shadow: 0 8px 40px rgba(28, 18, 8, 0.1);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


/* ============================================================
   16. RESEÑAS
   ============================================================ */
.reviews-section {
  background: var(--color-bg-alt);
  padding: var(--section-padding);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 52px 0 32px;
}

/* Tarjeta de reseña */
.review-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.review-stars {
  color: var(--color-gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.87rem;
  color: var(--color-ink);
  line-height: 1.72;
  margin-bottom: 22px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-terra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-white);
  flex-shrink: 0;
}
.review-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-ink);
}
.review-origin {
  font-size: 0.72rem;
  color: var(--color-muted);
}

/* Panel de calificación global */
.reviews-overall {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.reviews-score-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 400;
  color: var(--color-terra);
  line-height: 1;
}
.reviews-score-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* Categorías de calificación */
.reviews-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 10px;
  flex: 1;
}
.review-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}
.review-cat-name {
  color: var(--color-muted);
  min-width: 90px;
}
.review-cat-bar {
  flex: 1;
  height: 3px;
  background: var(--color-stone);
  border-radius: 2px;
  max-width: 100px;
}
.review-cat-fill {
  height: 100%;
  background: var(--color-terra);
  border-radius: 2px;
  width: 100%; /* 5.0/5.0 = 100% */
}
.review-cat-score {
  font-weight: 700;
  color: var(--color-ink);
  font-size: 0.82rem;
}


/* ============================================================
   17. REGLAS DE LA CASA
   ============================================================ */
.rules-section {
  padding: 60px 80px 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rule-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border-left: 4px solid var(--color-terra);
}

.rule-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-ink);
  margin-bottom: 14px;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rule-list li {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.5;
  display: flex;
  gap: 8px;
}
.rule-list li::before {
  content: '—';
  color: var(--color-terra);
  flex-shrink: 0;
}


/* ============================================================
   18. FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-ink);
  padding: 72px 80px 44px;
}

/* Grid de 4 columnas */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 36px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 14px;
}
.footer-logo em {
  font-style: italic;
  color: var(--color-gold);
}

.footer-tagline {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.75;
  max-width: 260px;
}

.footer-col-title {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--color-gold);
}

/* Barra inferior del footer */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}
.footer-social:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}


/* ============================================================
   19. MODAL DE CONFIRMACIÓN
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(28, 18, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  transform: translateY(30px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--color-stone);
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: var(--color-bg);
  color: var(--color-ink);
}

.modal-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-ink);
  margin-bottom: 10px;
}
.modal-subtitle {
  font-size: 0.86rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}


/* ============================================================
   20. WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.38);
  animation: waPulse 3s ease infinite;
  transition: all var(--transition);
}
.wa-float:hover {
  transform: scale(1.1);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(37, 211, 102, 0.38); }
  50%       { box-shadow: 0 6px 48px rgba(37, 211, 102, 0.60); }
}

/* Tooltip que aparece al hacer hover */
.wa-tooltip {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-ink);
  color: var(--color-white);
  font-size: 0.73rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.wa-float:hover .wa-tooltip {
  opacity: 1;
}


/* ============================================================
   21. ANIMACIONES DE SCROLL (reveal)
   Elementos con clase .reveal-el aparecen al hacer scroll
   Controlado desde js/main.js → initScrollReveal()
   ============================================================ */
.reveal-el {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity  0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-el.visible {
  opacity: 1;
  transform: none;
}

/* Delays escalonados para animar elementos en secuencia */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }


/* ============================================================
   22. RESPONSIVE
   ============================================================ */

/* Tablet y pantallas medianas */
@media (max-width: 1100px) {
  #navbar,
  #navbar.scrolled    { padding: 18px 32px; }
  .hero-content       { padding: 0 40px 64px; }
  .hero-dots          { left: 40px; }
  .scroll-indicator   { right: 32px; }

  .section,
  .apartments-section,
  .booking-section,
  .gallery-section,
  .reviews-section,
  .rules-section,
  .location-section,
  .host-section       { padding-left: 32px; padding-right: 32px; }

  .trust-bar          { gap: 32px; padding: 24px 32px; }
  .amenities-section  { padding: 80px 32px; }
  .site-footer        { padding: 60px 32px 36px; }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 36px; }
  .amenities-grid     { grid-template-columns: repeat(2, 1fr); }
}

/* Móvil */
@media (max-width: 768px) {
  /* Mostrar hamburguesa, ocultar nav links */
  .nav-links        { display: none; }
  .hamburger        { display: flex; }
  .hero-dots        { left: 24px; bottom: 72px; }
  .scroll-indicator { display: none; }

  /* Navbar móvil */
  #navbar, #navbar.scrolled { padding: 14px 20px; }
  .nav-logo { font-size: 1.3rem; }

  /* Hero más compacto */
  .hero-content  { padding: 0 20px 48px; }
  .hero-title    { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .hero-subtitle { font-size: 0.82rem; }
  .hero-buttons  { flex-direction: column; gap: 10px; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline { text-align: center; width: 100%; }

  /* Trust bar en columnas de 2 */
  .trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    padding: 28px 24px;
  }
  .trust-separator { display: none; }
  .trust-value     { font-size: 1.6rem; }

  /* Secciones */
  .section       { padding: 60px 20px; }
  .section-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }

  /* Departamentos */
  .apartments-section  { padding: 60px 20px; }
  .apartments-grid     { grid-template-columns: 1fr; gap: 20px; }
  .apt-image-wrapper   { height: 260px; }

  /* Galería en móvil - 2 columnas simples */
  .gallery-section { padding: 0 20px 60px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: unset;
    gap: 8px;
  }
  .gallery-item,
  .gallery-item--large,
  .gallery-item--last {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: 160px;
  }

  /* Amenidades 2 columnas */
  .amenities-section { padding: 60px 20px; }
  .amenities-grid    { grid-template-columns: 1fr 1fr; gap: 2px; }
  .amenity-card      { padding: 20px 16px; }
  .amenity-icon      { font-size: 1.4rem; margin-bottom: 10px; }

  /* Anfitrión */
  .host-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 20px;
  }
  .host-photo      { aspect-ratio: 3/2; }
  .host-stats-card { left: 16px; bottom: 16px; padding: 12px 16px; }
  .host-stats-name { font-size: 0.9rem; }

  /* Reserva */
  .booking-section       { padding: 0 20px 60px; }
  .booking-unified-card  { grid-template-columns: 1fr; }
  .booking-info-panel    { padding: 32px 24px; }
  .booking-panel-title   { font-size: 1.8rem; }
  .booking-wizard        { padding: 28px 20px; gap: 24px; }
  .apt-options           { grid-template-columns: 1fr; }
  .form-row              { grid-template-columns: 1fr; }
  .cal-selected-pills    { grid-template-columns: 1fr; gap: 8px; }
  .cal-pill-arrow        { display: none; }

  /* Ubicación */
  .location-section {
    grid-template-columns: 1fr;
    padding: 60px 20px;
    gap: 32px;
  }
  .location-map { height: 280px; }

  /* Reseñas */
  .reviews-section      { padding: 60px 20px; }
  .reviews-grid         { grid-template-columns: 1fr; gap: 16px; }
  .reviews-overall      { padding: 24px 20px; flex-direction: column; gap: 20px; }
  .reviews-categories   { grid-template-columns: 1fr; }
  .reviews-score-number { font-size: 4rem; }

  /* Reglas */
  .rules-section {
    grid-template-columns: 1fr;
    padding: 40px 20px 60px;
    gap: 16px;
  }

  /* Footer */
  .site-footer   { padding: 48px 20px 32px; }
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer-logo   { font-size: 2rem; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  /* WhatsApp flotante */
  .wa-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.3rem; }
}

/* ── Visualizador de fechas del formulario ── */
.form-dates-display {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-stone);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.form-dates-display:hover {
  border-color: var(--color-terra);
}
.form-date-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-date-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.form-date-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-ink);
}
.form-date-value.placeholder {
  color: var(--color-stone);
  font-weight: 400;
  font-size: 0.78rem;
}
.form-date-arrow {
  color: var(--color-stone);
  font-size: 1.2rem;
  text-align: center;
}

/* ── Booking Unificado ── */
.booking-unified-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 60px rgba(28,18,8,.09);
  overflow: hidden;
  display: grid;
  grid-template-columns: 5fr 7fr;
}

/* Resumen dinámico en panel izquierdo */
.booking-live-summary {
  margin-top: 28px;
  padding: 20px;
  background: rgba(212,168,83,.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212,168,83,.25);
}
.bls-apt    { font-size:.78rem; color:var(--color-gold); font-weight:600; letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px; }
.bls-dates  { font-size:1rem; font-weight:600; color:rgba(245,239,232,.9); margin-bottom:4px; }
.bls-nights { font-size:.78rem; color:rgba(255,255,255,.5); margin-bottom:8px; }
.bls-price  { font-family:var(--font-display); font-size:1.8rem; color:var(--color-gold); }

/* Wizard */
.booking-wizard { padding: 48px 48px 40px; display:flex; flex-direction:column; gap:28px; }

.wizard-step { display:flex; flex-direction:column; gap:14px; }

.wizard-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wizard-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-terra);
  color: var(--color-white);
  font-size: .78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wizard-step-title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 400;
  color: var(--color-ink);
}
.wizard-step-hint {
  margin-left: auto;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--color-terra);
  background: rgba(155,79,34,.08);
  padding: 4px 12px; border-radius: var(--radius-full);
}

/* Mini leyenda */
.cal-mini-legend { display:flex; gap:16px; flex-wrap:wrap; }

/* Nav row del calendario inline */
.cal-nav-row {
  display: flex; align-items: center; gap: 10px;
}
.cal-nav-label {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 400;
  color: var(--color-ink);
  flex: 1; text-align: center;
}

/* Grid inline (1 mes) */
.cal-inline-grid { width: 100%; }
.cal-inline-grid .cal-month { 
  background: var(--color-bg); 
  border-radius: var(--radius-md); 
  padding: 16px;
  box-shadow: none;
}
.cal-inline-grid .cal-month-header { display:none; }
.cal-inline-grid .cal-cell { 
  font-size: .8rem; 
  border-radius: 8px;
  aspect-ratio: 1;
}

/* Píldoras de fechas seleccionadas */
.cal-selected-pills {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.cal-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-stone);
  background: var(--color-bg);
  transition: all var(--transition-fast);
}
.cal-pill--empty { border-style: dashed; }
.cal-pill--filled {
  border-color: var(--color-terra);
  background: rgba(155,79,34,.05);
}
.cal-pill-icon { font-size: 1.1rem; }
.cal-pill-label { font-size:.65rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--color-muted); }
.cal-pill-value { font-size:.85rem; font-weight:600; color:var(--color-ink); margin-top:2px; }
.cal-pill--empty .cal-pill-value { color:var(--color-stone); font-weight:400; }
.cal-pill-arrow { color:var(--color-stone); font-size:1.2rem; text-align:center; }

/* Acciones finales */
.wizard-actions { display:flex; gap:10px; padding-top:8px; border-top:1px solid var(--color-bg-alt); }
.wizard-actions .btn-submit { flex:1; border-radius:var(--radius-md) !important; }



/* ============================================================
   LIGHTBOX — Ver fotos en grande
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: lbFadeIn .2s ease;
}
.lightbox.open { display: flex; }

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, .7);
  cursor: default;
  animation: lbImgIn .25s ease;
}

@keyframes lbImgIn {
  from { transform: scale(.94); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* Cursor zoom-in en las fotos que abren el lightbox */
.gallery-item img,
.apt-main-image { cursor: zoom-in; }