/* =========================================================
   VARIABLES BÁSICAS ANERA
   ========================================================= */
:root {
  --anera-bg-dark: #050608;
  --anera-gold: #d0c29b;
  /* color cálido para hover del botón */
  --anera-text-light: #ffffff;
  --anera-header-height: 80px;
  --anera-max-width: 1200px;
}

/* =========================================================
   RESETEO BÁSICO
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--anera-text-light);
  background-color: #000;
  overflow-x: hidden;
  /* ✅ evita scroll horizontal sobrante */
}


/* Contenedor global */
.anera-container {
  max-width: var(--anera-max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================================
   HEADER
   ========================================================= */
.anera-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--anera-header-height);
  z-index: 20;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.85),
      rgba(0, 0, 0, 0.4),
      transparent);
  backdrop-filter: blur(10px);
}

.anera-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.anera-logo img {
  height: 32px;
  width: auto;
  display: block;
  filter: grayscale(0) brightness(1.2);
}

/* Menú */
.anera-nav {
  position: fixed;
  top: var(--anera-header-height);
  left: 0;
  right: 0;
  background: rgba(5, 6, 8, 0.97);
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 24px 20px;
  gap: 12px;
  font-size: 13px;
  display: none;
  /* 👈 oculto por defecto en mobile */
  z-index: 30;
}

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

.anera-nav-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.anera-nav .nav-link {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.anera-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background-color: var(--anera-gold);
  transition: width 0.25s ease;
}

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

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

.nav-lang-header {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
  line-height: 1;
  /* Ajuste fino para centrar visualmente con texto */
  margin-left: 10px;
}


.nav-lang-header:hover {
  transform: scale(1.15);
}

/* Botón "Volver a Num" en el menú */
.nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Espacio entre flecha y texto */
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 6px 20px;
  border-radius: 999px;
  transition: all 0.3s ease;
  margin-left: 5px;
  font-size: 13px;
}

.nav-link-btn svg {
  transition: transform 0.3s ease;
  width: 14px;
  height: 14px;
}

.nav-link-btn:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Efecto: la flecha se mueve un poco a la izquierda al hacer hover */
.nav-link-btn:hover svg {
  transform: translateX(-3px);
}

/* Botón hamburguesa (oculto en escritorio) */
.anera-burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 28px;
  height: 24px;
}

.anera-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Estado abierto del botón hamburguesa */
.anera-burger.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.anera-burger.is-open span:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */
.anera-hero {
  position: relative;
  min-height: 100vh;
  /* Pantalla completa en desktop/tablet */
  padding-top: calc(var(--anera-header-height) + 40px);
  padding-bottom: 60px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--anera-text-light);

  background-image:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.6) 30%,
      rgba(0, 0, 0, 0.2) 60%,
      rgba(0, 0, 0, 0) 100%),
    url("/images/anera2_news (12).webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  /* Ensure video doesn't spill out */
}

/* Background Video Styles */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  /* Behind overlay (overlay needs z-index 2) */
  opacity: 0;
  /* Start hidden for fade-in */
  transition: opacity 1.5s ease;
}

.hero-bg-video.video-loaded {
  opacity: 1;
}

/* Adjust overlay usually has z-index, let's make sure */
.anera-hero-overlay {
  z-index: 2;
}

/* Ensure content is above everything */
.anera-hero-inner {
  position: relative;
  z-index: 3;
}


/* Hide video on mobile only to save data/battery */
@media (max-width: 767px) {
  .hero-bg-video {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .anera-hero {
    min-height: 80vh;
    /* Un poco menos de altura en móviles para mejor UX */
  }
}

.anera-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.anera-hero-content {
  position: relative;
  max-width: 640px;
  padding-top: 140px;
  padding-bottom: 120px;
}

.hero-eyebrow {
  font-size: 24px;
  margin: 0 0 8px;
  font-family: "Brygada 1918", serif;
}

.hero-title {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.2;
  max-width: 580px;
  margin: 0 0 32px;
  font-weight: 500;
  font-family: "Brygada 1918", serif;
}

/* Palabras en italic */
.hero-title .hero-italic {
  font-weight: 200;
  font-style: italic;
}

/* Botón hero */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 38px;
  border-radius: 200px;
  border: 2px solid rgba(255, 255, 255, 0.9);

  /* 🔥 FONDO SEMITRANSPARENTE MÁS EVIDENTE */
  background-color: rgba(56, 50, 16, 0.644);

  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;

  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.35);

  backdrop-filter: blur(2px);

  transition:
    background-color 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

/* Hover sutil: más presencia sin exagerar */
.btn-hero-outline:hover {
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.55),
    0 4px 10px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}


.btn-hero-outline:hover {
  background-color: #a5a28d;
  border-color: #a5a28d;
  color: #ffffff;
}

/* =========================================================
   SECCIÓN INTRO / UBICACIÓN
   ========================================================= */
.anera-section-intro {
  background-color: #f3eee8;
  /* tono arena suave */
  padding: 80px 0;
}

.anera-intro-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.anera-intro-text {
  margin: 0;
  max-width: 720px;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #3a3733;
}

/* Botón "Ver ubicación" */
.anera-intro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 999px;
  border: 1px solid #3a3733;
  background-color: transparent;
  color: #3a3733;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.anera-intro-btn:hover {
  background-color: #3a3733;
  border-color: #3a3733;
  color: #f3eee8;
}

.anera-intro-hero-img {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
}

.anera-intro-hero-img img {
  width: 100%;
  height: 530px;
  /* ALTURA CONTROLADA */
  max-height: 60vh;
  /* por si la pantalla es baja */
  display: block;
  object-fit: cover;
  /* recorta por arriba/abajo */
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.anera-intro-hero-img:hover img {
  transform: scale(1.05);
}

/* =========================================================
   SECCIÓN AMENIDADES (CARRUSEL)
   ========================================================= */
.anera-amenidades {
  padding: 130px 0 150px;

  /* Fondo */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.35)),
    url('/images/anera2_news (1).webp');
  background-size: cover;
  background-position: center;

  /* Texto */
  color: #fff;
  text-align: center;

  /* ✅ ancho normal, sin desplazar el section */
  width: 100%;
  margin-left: 0;
  transform: none;
}

.amenidades-title {
  font-family: "Brygada 1918", serif;
  font-size: 32px;
  margin-bottom: 50px;
}

/* Grid Estático de Amenidades */
.amenidades-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  /* Un poco más de espacio */
  max-width: 1100px;
  margin: 0 auto;
}

/* Card */
.amenidad-card {
  /* Base: 3 por fila, pero con max-width */
  flex: 0 1 auto;
  /* Deja que el contenido defina ancho, o usa un ancho fijo menor */
  width: 280px;
  /* Ancho fijo más compacto */
  background: rgba(255, 255, 255, 0.10);
  /* Fondo un poco más sutil */
  backdrop-filter: blur(10px);
  padding: 30px 20px;
  /* Padding reducido */
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.amenidad-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.amenidad-card img {
  height: 60px;
  /* Ajustado tamaño icono */
  width: auto;
  margin-bottom: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Blancos */
}

.amenidad-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 900px) {
  .amenidad-card {
    /* En tablet: 2 por fila */
    flex: 0 1 calc((100% - 30px) / 2);
    padding: 30px 15px;
  }
}

@media (max-width: 600px) {
  .amenidad-card {
    /* En móvil: 1 por fila */
    flex: 0 1 100%;
  }
}



/* =========================================================
   SECCIÓN GALERÍA (CARRUSEL)
   ========================================================= */
.anera-galeria {
  padding: 100px 0 120px;
  background-color: #f7f3ed;
  color: #222;
}

.anera-galeria-title {
  font-family: "Brygada 1918", serif;
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
}

/* Wrapper Full Width */
.galeria-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100vw;
  /* Ancho total de la ventana */
  margin-left: calc(-50vw + 50%);
  /* Truco para romper el contenedor centrado */
  margin-right: calc(-50vw + 50%);
}

.galeria-carousel {
  display: flex;
  gap: 0;
  /* Sin espacios entre fotos */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  /* Transición más suave */
}

/* Tarjetas Full Height, sin bordes */
.galeria-card {
  margin: 0;
  /* Ajustamos para mostrar 3 fotos completas en pantalla grande */
  flex: 0 0 33.333%;
  max-width: 33.333%;
  height: 450px;
  /* Altura fija impactante */
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.galeria-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.5s ease;
}

/* Efecto hover sutil */
.galeria-card:hover img {
  transform: scale(1.05);
}

/* Controles abajo, centrados en el container normal */
.galeria-controls {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  /* Centrados */
  max-width: 1200px;
  /* Ancho del container */
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* Línea total */
.galeria-progress {
  flex: 1;
  height: 2px;
  background: #dcd6cb;
  border-radius: 3px;
  overflow: hidden;
  max-width: 600px;
  /* Que no sea excesivamente larga */
}

/* Segmento móvil */
.galeria-progress-bar {
  height: 3px;
  background: #3a3733;
  border-radius: 3px;
  width: 0;
  transform: translateX(0);
  transition: transform 0.35s ease, width 0.35s ease;
}

/* Flechas */
.galeria-arrow {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 40px;
  font-weight: 300;
  color: #3a3733;
  padding: 0 10px;
  line-height: 1;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.galeria-arrow:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .galeria-card {
    flex: 0 0 50%;
    /* 2 fotos en tablets */
    max-width: 50%;
    height: 500px;
  }
}

@media (max-width: 600px) {
  .galeria-card {
    flex: 0 0 100%;
    /* 1 foto en móvil */
    max-width: 100%;
    height: 400px;
  }

  .galeria-carousel-wrapper {
    margin-left: calc(-50vw + 50%);
    width: 100vw;
  }
}

/* =========================================================
   SECCIÓN CONTACTO FINAL
   ========================================================= */
.anera-contacto {
  position: relative;
  width: 100%;
  /* ✅ ancho normal */
  margin-left: 0;
  transform: none;
  padding: 280px 0 300px;
  color: #ffffff;

  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25)),
    url("/images/AN_1 (3).webp");
  background-size: cover;
  background-position: center;
}


.anera-contacto-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.anera-contacto-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  gap: 30px;
}

/* Texto izquierdo */
.contacto-texto h2 {
  margin: 0 0 10px;
  font-family: "Brygada 1918", serif;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.3;
}

.contacto-sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Formulario derecho */
.contacto-form {
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 26px 30px 30px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 20px;
  /* mismo lenguaje de diseño */
}

.contacto-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* Campos base del formulario (contacto + posible contenedor extra) */
.contacto-form input,
.contacto-form select,
.contact-form-container input,
.contact-form-container select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

/* select con flecha blanca */
.contacto-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* Contenedor general alternativo (por si lo usas) */
.contact-form-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Botón dentro de ese contenedor */
.contact-form-container button {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
}

/* Botón enviar principal */
.contacto-submit {
  margin-top: 6px;
  height: 40px;
  border: none;
  background-color: #847f77;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 12px;
  transition: background-color 0.25s ease, opacity 0.25s ease;
}

.contacto-submit:hover {
  background-color: #9a958d;
  opacity: 0.95;
}

/* =========================================================
   FOOTER
   ========================================================= */
.anera-footer {
  background-color: #b4afa6;
  color: #ffffff;
  padding: 22px 0;
  font-size: 12px;
}

.anera-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo Anera left */
.footer-anera-logo {
  height: 25px;
  width: auto;
}

/* Centro: enlaces */
.footer-center {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-separator {
  opacity: 0.7;
}

/* Right: Power by NUM */
.footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-power-by {
  font-size: 13px;
  opacity: 0.8;
}

.footer-num-logo {
  height: 13px;
  width: auto;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Galería responsive */
@media (max-width: 900px) {
  .galeria-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }

  .galeria-card img {
    height: 220px;
  }

  .anera-contacto {
    padding: 90px 0 100px;
  }

  .anera-contacto-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contacto-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .galeria-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .galeria-card img {
    height: 220px;
  }
}

/* Intro responsive */
@media (max-width: 1024px) {
  .anera-section-intro {
    padding: 64px 0;
  }

  .anera-intro-header {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .anera-section-intro {
    padding: 56px 0;
  }

  .anera-intro-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .anera-intro-text {
    max-width: 100%;
    font-size: 14px;
  }

  .anera-intro-btn {
    font-size: 12px;
    padding: 9px 22px;
  }
}

/* Escritorio: menú horizontal, burger oculta */
@media (min-width: 769px) {
  .anera-nav {
    position: static;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 32px;
    background: transparent;
    padding: 0;
    font-size: 14px;
  }

  .anera-nav-main {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }

  .anera-burger {
    display: none;
  }
}

/* El grupo principal se centra respecto al header; las utilidades permanecen a la derecha. */
@media (min-width: 1200px) {
  .anera-header-inner {
    position: relative;
  }

  .anera-nav {
    margin-left: auto;
  }

  .anera-nav-main {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

/* Hero desplazado a la izquierda y ajustado verticalmente en pantallas grandes */
@media (min-width: 1200px) {
  .anera-hero-content {
    transform: translate(-200px, -60px);
  }
}

/* Tablet layout general */
@media (max-width: 1024px) {
  .anera-intro-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-copy-column {
    align-items: flex-start;
  }

  .intro-copy-card {
    max-width: 100%;
  }

  .intro-gallery-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    row-gap: 12px;
  }
}

/* Móvil general */
@media (max-width: 768px) {

  .anera-container {
    padding: 0 16px;
  }

  .anera-header-inner {
    padding: 0 20px;
  }

  .anera-hero {
    min-height: 100vh;
    padding-top: calc(var(--anera-header-height) + 20px);
    padding-bottom: 40px;
  }

  .anera-hero-content {
    max-width: 100%;
    padding-top: 110px;
    padding-bottom: 72px;
  }

  .hero-eyebrow {
    font-size: 20px;
  }

  .hero-title {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-cta-group {
    margin-top: 16px;
  }

  .intro-gallery-grid {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .intro-copy-card {
    padding: 20px 22px;
  }

  .intro-copy-card p {
    font-size: 14px;
  }
}

/* Amenidades: en celulares solo 2 cards por fila */
@media (max-width: 600px) {

  .amenidades-carousel {
    gap: 16px;
    /* un poco menos espacio entre tarjetas */
  }

  .amenidad-card {
    flex: 0 0 calc((100% - 16px) / 2);
    /* 2 columnas */
    max-width: calc((100% - 16px) / 2);
    padding: 22px 18px;
    /* opcional: un poco más compactas */
  }
}

.contacto-boton-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.contacto-boton {
  display: inline-block;
  background: #d0b188;
  /* tono dorado suave */
  color: #2b2117;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.contacto-boton:hover {
  background: #c09a6e;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.ubicacion-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1500;
}

.ubicacion-modal.is-open {
  display: flex;
}

.ubicacion-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.ubicacion-modal-content {
  position: relative;
  background: #7c7c7c;
  color: #ffffff;
  border-radius: 18px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1510;
}

.ubicacion-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.ubicacion-modal-title {
  font-family: "Brygada 1918", serif;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

.ubicacion-modal-subtitle {
  font-size: 0.9rem;
  opacity: 0.8;
}

.ubicacion-modal-close {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.ubicacion-modal-body {
  flex: 1;
  min-height: 320px;
  border-radius: 14px;
  overflow: hidden;
}

#aneraMap {
  width: 100%;
  height: 360px;
  /* 🔹 alto fijo para que el mapa se pinte */
}

@media (max-width: 600px) {
  .ubicacion-modal-content {
    padding: 18px;
    max-width: 95%;
  }

  .ubicacion-modal-title {
    font-size: 1.1rem;
  }

  .ubicacion-modal-body {
    min-height: 260px;
  }
}

/*===========================================================================
/*===========================================================================
/*===========================================================================
/*===========================================================================
About*/
/* ===========================================================================
   ABOUT · MAPA ANERA
   ========================================================================== */

/* Sección general */
.anera-about-mapa {
  background-color: #f3eee8;
  padding: 110px 0 80px;
}

/* Contenedor interno */
.anera-about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Encabezado + toggle */
.anera-about-mapa-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  margin-bottom: 32px;
}

.anera-phase-kicker {
  margin: 0 0 -8px;
  color: #8b7450;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.anera-about-title {
  margin: 0;
  font-family: "Brygada 1918", serif;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.3;
  color: #3a3733;
}

/* Layout mapa */
.anera-map-layout {
  margin-top: 8px;
}

/* Figura del mapa */
.anera-map-figure {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #07090c;
}

.anera-map-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
}

/* Capa de pines */
.anera-map-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* los pines sí tienen pointer-events */
}

/* Pin base */
.anera-map-pin {
  position: absolute;
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background-color: var(--anera-gold, #d0c29b);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 4px rgba(0, 0, 0, 0.55),
    0 8px 18px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* Estados por color */
.anera-map-pin.pin-estado-disponible {
  background-color: #4ade80;
}

.anera-map-pin.pin-estado-vendido {
  background-color: #f97373;
}

.anera-map-pin.pin-estado-mixto,
.anera-map-pin.pin-estado-apartado {
  background-color: #fbbf24;
}

/* Hover / activo */
.anera-map-pin:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.55);
}

.anera-map-pin.is-active {
  box-shadow:
    0 0 0 6px rgba(208, 194, 155, 0.9),
    0 12px 26px rgba(0, 0, 0, 0.65);
}

/* Etiqueta del pin (código del depa) */
.anera-map-pin-label {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.82);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

/* Leyenda estados */
.anera-map-legend {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 4px;
}

.legend-dot-available {
  background-color: #4ade80;
}

.legend-dot-reserved {
  background-color: #fbbf24;
}

.legend-dot-sold {
  background-color: #f97373;
}

.legend-separator {
  margin: 0 4px;
  opacity: 0.6;
}

/* Toggle full / fractional */
.anera-map-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: #ddd5c9;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-toggle-option {
  position: relative;
  z-index: 2;
  flex: 1;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(50% - 4px);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 12px;
  padding: 7px 18px;
  white-space: nowrap;
  color: #8a7f72;
  transition: color 0.2s ease;
}

.map-toggle-option.is-active {
  color: #111111;
}

.map-toggle-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: translateX(0%);
  transition: transform 0.25s ease;
}

/* Cuando está en Fractional, movemos la pastilla a la derecha */
.anera-map-toggle[data-mode="fractional"] .map-toggle-indicator {
  transform: translateX(100%);
}

/* =========================================================
   ABOUT · MAPA · HOVER CARD (MODAL PEQUEÑO)
   ========================================================= */

.anera-map-hover-card {
  position: absolute;
  z-index: 15;
  width: 400px;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(28, 27, 23, 0.92);
  color: #f7f3eb;
  box-shadow: 0 18px 46px rgba(10, 8, 5, 0.34);
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  transition: opacity 0.2s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Flecha según posición */
.anera-map-hover-card.tooltip-top::after,
.anera-map-hover-card.tooltip-bottom::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
}

.anera-map-hover-card.tooltip-top::after {
  bottom: -16px;
  border-color: rgba(28, 27, 23, 0.92) transparent transparent transparent;
}

.anera-map-hover-card.tooltip-bottom::after {
  top: -16px;
  border-color: transparent transparent rgba(28, 27, 23, 0.92) transparent;
}

.anera-hover-card-inner {
  display: grid;
  grid-template-rows: auto auto;
  border-radius: 18px;
  overflow: hidden;
}

.anera-hover-card-img-wrap {
  position: relative;
  height: 48px;
  overflow: hidden;
}

.anera-hover-card-img-wrap img {
  display: none;
}

.anera-map-hover-card:hover .anera-hover-card-img-wrap img {
  transform: scale(1.025);
}

.anera-hover-card-image-chips {
  position: absolute;
  top: 11px;
  right: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hover-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hover-chip-launch {
  border-color: rgba(106, 225, 159, 0.28);
  background: rgba(21, 128, 74, 0.28);
  color: #baf4d2;
}

.hover-chip-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #53dc94;
}

.anera-hover-card-body {
  padding: 5px 18px 14px;
}

.anera-hover-card-context {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-bottom: 8px;
  color: #cdbb9a;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.anera-hover-card-context span + span::before {
  content: "·";
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.24);
}

.anera-hover-card-titles h3 {
  margin: 0 0 3px;
  font-family: "Brygada 1918", serif;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.anera-hover-card-sub {
  margin: 0 0 9px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.62);
}

.anera-hover-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 11px;
}

.anera-hover-card-price {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.anera-hover-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 8px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.anera-hover-specs > div {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 5px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.anera-hover-specs > div:nth-child(3n),
.anera-hover-specs > div:last-child {
  border-right: 0;
}

.anera-hover-specs > div > i {
  flex: 0 0 auto;
  color: #d8bd88;
  font-size: 16px;
}

.anera-hover-specs span {
  min-width: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  line-height: 1.15;
  text-transform: uppercase;
}

.anera-hover-specs strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.anera-hover-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-top: 3px;
  border-top: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.anera-hover-card-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.anera-hover-card-foot > i {
  color: #d8bd88;
  font-size: 15px;
}

.price-label {
  font-weight: 400;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================================================
   Gráfico fracciones
   ========================================================= */
.anera-frac-summary {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.anera-frac-summary-text {
  font-size: 11px;
  color: #4a433d;
}

.anera-map-hover-card .anera-frac-summary-text {
  color: rgba(255, 255, 255, 0.64);
}

.anera-frac-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.anera-frac-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d3cec7;
}

.anera-frac-dot.is-available {
  background: #12b981;
  /* verde disponible */
}

.anera-frac-dot.is-sold {
  background: #c4b6a6;
}

/* =========================================================
   PANEL LATERAL
   ========================================================= */

.anera-sidepanel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 40;
  display: block;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.32s ease,
    visibility 0s linear 0s;
  pointer-events: none;
  /* 👈 NO bloquea los clics del mapa */
}

.anera-sidepanel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(500px, 100%);
  height: 100vh;
  background: #f8f5ef;
  color: #111111;
  z-index: 41;
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.4);
  transform: translate3d(0, 0, 0);
  /* estado visible */
  display: flex;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  will-change: transform;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    visibility 0s linear 0s;
}


.anera-sidepanel.hidden {
  display: flex;
  transform: translate3d(100%, 0, 0);
  /* 👈 se mueve fuera de pantalla */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.36s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.24s ease,
    visibility 0s linear 0.36s;
}

.anera-sidepanel-overlay.hidden {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0.28s;
}

@media (prefers-reduced-motion: reduce) {
  .anera-sidepanel,
  .anera-sidepanel.hidden,
  .anera-sidepanel-overlay,
  .anera-sidepanel-overlay.hidden {
    transition-duration: 0.01ms;
  }
}

.anera-sidepanel-inner {
  height: 100%;
  overflow-y: auto;
  padding: 30px 32px 34px;
}

.anera-sidepanel-close {
  position: absolute;
  top: 20px;
  right: 22px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #e3dbd0;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  color: #29251f;
  font-size: 21px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.anera-sidepanel-close:hover {
  background: #fff;
  transform: rotate(7deg);
}

.anera-sidepanel-header {
  padding-right: 52px;
}

.sidepanel-kicker {
  margin: 0 0 7px;
  color: #8b7450;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.anera-sidepanel-header h2 {
  margin: 0 0 5px;
  font-family: "Brygada 1918", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.sidepanel-sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: #5c534b;
}

.anera-sidepanel-img-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
  border-radius: 20px;
  background: #e9e2d8;
}

.anera-sidepanel-img-wrap img {
  width: 100%;
  height: 235px;
  border-radius: 0;
  object-fit: cover;
  display: block;
  margin-bottom: 0;
}

.anera-sidepanel-chips {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.anera-sidepanel .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid #ded5c8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #514a43;
  font-size: 10px;
  font-weight: 500;
  justify-content: center;
  text-align: center;
}

.anera-sidepanel-chips .chip:nth-child(-n + 3) {
  grid-column: span 2;
}

.anera-sidepanel-chips .chip:nth-child(4) {
  grid-column: span 4;
}

.anera-sidepanel-chips .chip:nth-child(5) {
  grid-column: span 2;
}

.anera-sidepanel .chip > i:not(.chip-status-dot) {
  color: #8b7450;
  font-size: 13px;
}

.anera-sidepanel .chip-launch {
  border-color: rgba(17, 122, 72, 0.32);
  background: #edf8f2;
  color: #0d7845;
}

.anera-sidepanel .chip-launch > i {
  color: #0d7845 !important;
}

.anera-sidepanel .chip-estado-disponible {
  border-color: #bdebd0;
  background: #dcfce7;
  color: #166534;
}

.anera-sidepanel .chip-estado-vendido {
  border-color: #f6caca;
  background: #fee2e2;
  color: #991b1b;
}

.anera-sidepanel .chip-estado-mixto {
  border-color: #f4dfa3;
  background: #fef3c7;
  color: #92400e;
}

.chip-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.sidepanel-price-block {
  margin: 1px 0 22px;
  padding: 0 0 20px;
  border-bottom: 1px solid #ddd4c8;
}

.sidepanel-price-block > span {
  display: block;
  margin-bottom: 4px;
  color: #7a7169;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sidepanel-price {
  margin: 0;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.sidepanel-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
  color: #766d64;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidepanel-section-title i {
  height: 1px;
  flex: 1;
  background: #ddd4c8;
}

.sidepanel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 0;
  margin-bottom: 22px;
}

.sp-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(118, 109, 100, 0.2);
}

.sp-icon {
  flex: 0 0 auto;
  color: #806b4e;
  font-size: 20px;
}

.sp-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.sp-label {
  font-size: 9px;
  color: #6b6460;
}

.sp-value {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidepanel-frac-section h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

/* =========================
   ACCIONES DEL SIDEPANEL
   ========================= */
.sidepanel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.btn-ver-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #020817;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

/* Evita scroll de fondo cuando panel está abierto (si lo usas en <body>) */
.anera-sidepanel-open {
  overflow: hidden;
}

/* =========================================================
   SECCIÓN RESUMEN DE INVENTARIO
   ========================================================= */

.anera-stats {
  background-color: #f3eee8;
  padding: 40px 0 70px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.anera-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.anera-stats-header {
  text-align: center;
  margin-bottom: 28px;
}

.anera-stats-header h2 {
  margin: 0 0 8px;
  font-family: "Brygada 1918", serif;
  font-size: clamp(22px, 2.4vw, 26px);
  color: #3a3733;
}

.anera-stats-header p {
  margin: 0;
  font-size: 13px;
  color: #6b6460;
}

.anera-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.anera-stats-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.stats-card-header {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.stats-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}

.stats-pill-full {
  background: #111827;
  color: #ffffff;
}

.stats-pill-frac {
  background: #f4e5d4;
  color: #7b4a1d;
}

.stats-main-kpi {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.stats-main-number {
  font-size: 26px;
  font-weight: 600;
  color: #111827;
}

.stats-main-label {
  font-size: 12px;
  color: #6b6460;
}

.stats-sub-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #4b4b4b;
  margin-bottom: 6px;
}

.stats-bar {
  position: relative;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #ece4d8;
  overflow: hidden;
  margin-top: 4px;
  margin-bottom: 4px;
}

.stats-bar-thin {
  height: 6px;
}

.stats-bar-fill {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: inherit;
  transition: width 0.35s ease;
}

.stats-bar-full {
  background: linear-gradient(90deg, #111827, #4b5563);
}

.stats-bar-frac {
  background: linear-gradient(90deg, #a16207, #eab308);
}

.stats-fractions {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Responsive para la sección de stats */
@media (max-width: 800px) {
  .anera-stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .anera-stats-card {
    padding: 16px 16px 18px;
  }

  .stats-main-number {
    font-size: 22px;
  }
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 900px) {
  .anera-about-mapa {
    padding: 96px 0 60px;
  }

  .anera-about-inner {
    padding: 0 12px;
  }

  .anera-map-image {
    max-height: 60vh;
  }

  .anera-map-pin-label {
    font-size: 9px;
  }
}

@media (max-width: 600px) {
  .map-toggle-option {
    font-size: 11px;
    padding: 7px 12px;
  }

  .anera-map-pin {
    width: 18px;
    height: 18px;
  }

  .anera-map-pin-label {
    top: -24px;
  }

  .anera-sidepanel {
    width: 100%;
  }
}

/* =========================================
   SECCIÓN TORRES
   ========================================= */
.anera-towers {
  padding: 120px 0 120px;
  /* antes 80px 0 90px */
  /* 👉 Fondo con imagen */
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.055)),
    url("/images/anera_4.jpeg");
  /* cambia el nombre si quieres otra */
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

/* 👉 Hacemos esta sección más ancha y un poco “más a la” (menos márgenes) */
.anera-towers-inner {
  max-width: 1400px;
  /* antes 1200 vía .anera-container */
  margin: 0 auto;
  padding: 0 48px;
}

.anera-towers-header h2 {
  font-family: "Brygada 1918", serif;
  font-size: 2rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.anera-towers-header p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  margin-bottom: 26px;
}

/* 👉 Cards más abiertas hacia los lados */
.anera-towers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 80px;
}

.anera-tower-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #111;
  isolation: isolate;
}

.anera-tower-bg {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.anera-tower-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(5, 6, 8, 0.85),
      rgba(5, 6, 8, 0.15));
  opacity: 0.8;
}

.anera-tower-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-family: "Brygada 1918", serif;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.anera-tower-card:hover .anera-tower-bg {
  transform: scale(1.06);
}

/* Responsive */
@media (max-width: 960px) {
  .anera-towers-inner {
    padding: 0 24px;
  }

  .anera-towers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .anera-towers {
    padding: 60px 0 70px;
  }

  .anera-towers-inner {
    padding: 0 16px;
  }

  .anera-tower-bg {
    height: 130px;
  }
}

/* =========================================
   MODAL TORRES
   ========================================= */
.anera-tower-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.55);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.anera-tower-modal-overlay:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.anera-tower-modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 32px 16px;
  z-index: 81;
  /* por defecto: no estorba */
  pointer-events: none;
}

/* Cuando NO tiene .hidden, el modal está activo y clickeable */
.anera-tower-modal:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  /* 👈 clave */
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Y cuando está oculto */
.anera-tower-modal.hidden {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  /* asegura que no interfiera */
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.anera-tower-modal-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 1120px;
  max-height: 90vh;
  background: #f6f1ea;
  border-radius: 24px;
  /* 🔁 ahora TODAS las esquinas */
  overflow: hidden;
  /* 🔒 el contenido respeta el radio */
  box-shadow: 0 24px 60px rgba(15, 10, 5, 0.55);
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
}


.anera-tower-modal.hidden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.anera-tower-modal:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.anera-tower-modal-close {
  align-self: flex-end;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  color: #5c4d40;
  margin-bottom: 4px;
}

.anera-tower-modal-header h2 {
  color: #b58b3b;
  font-family: "Brygada 1918", serif;
  font-size: 1.5rem;
  margin: 2px 0;
}

.anera-tower-modal-kicker {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #a28f7d;
}

.anera-tower-modal-sub {
  font-size: 0.9rem;
  color: #7b6f62;
}

.anera-tower-modal-body {
  margin-top: 14px;
  overflow: auto;
}

/* Cards de unidades dentro del modal */
.anera-tower-unit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.anera-tower-unit-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.anera-tower-unit-imgwrap {
  position: relative;
  overflow: hidden;
}

.anera-tower-unit-imgwrap img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 0.4s ease;
}

.anera-tower-unit-card:hover .anera-tower-unit-imgwrap img {
  transform: scale(1.07);
}

.anera-tower-unit-badge {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(215, 190, 150, 0.9);
  color: #ffffff;
}

.anera-tower-unit-body {
  padding: 12px 16px 14px;
}

.anera-tower-unit-location {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9b8b7c;
  margin-bottom: 4px;
}

.anera-tower-unit-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.anera-tower-unit-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2f2620;
}

.anera-tower-unit-price {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  color: #2f2620;
}

.anera-tower-unit-price span {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-left: 2px;
}

.anera-tower-unit-meta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #6b5a4b;
}

.anera-tower-unit-meta span::after {
  content: "";
  margin-left: 0;
}

.anera-tower-unit-foot {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eee2d5;
  font-size: 0.78rem;
  color: #857463;
  display: flex;
  justify-content: space-between;
}

.anera-tower-unit-link {
  font-size: 0.78rem;
  text-decoration: none;
  color: #b57a23;
}

.anera-tower-unit-link:hover {
  text-decoration: underline;
}

/* Mensaje vacío */
.anera-tower-empty {
  padding: 16px;
  font-size: 0.9rem;
  color: #7b6f62;
}

/* Responsive modal */
@media (max-width: 900px) {
  .anera-tower-unit-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================
   SECCIÓN CONTACTO SIMPLE (ABOUT)
   ========================================================= */
/* =========================================================
   SECCIÓN CONTACTO SIMPLE (ABOUT) — ESTILO PREMIUM
   ========================================================= */
.anera-contacto-simple {
  padding: 120px 0;
  /* MÁS ALTA */
  background: #f3eee8;
  /* FONDO ARENA OSCURO PREMIUM */
  color: #fff;
}

.anera-contacto-simple-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.contacto-simple-texto h2 {
  font-family: "Brygada 1918", serif;
  font-size: 2.8rem;
  /* MÁS GRANDE */
  color: #74634d;
  /* tono arena claro */
  margin-bottom: 15px;
}

.contacto-simple-sub {
  font-size: 1.25rem;
  color: #a19282;
  max-width: 500px;
  line-height: 1.5;
}

.contacto-simple-boton-wrapper {
  display: flex;
  align-items: center;
}

.contacto-simple-boton {
  padding: 16px 36px;
  background-color: #c7a47d;
  /* tono arena cálido */
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.3s ease;
}

.contacto-simple-boton:hover {
  background-color: #b38c63;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 760px) {
  .anera-contacto-simple {
    padding: 80px 20px;
    text-align: center;
  }

  .anera-contacto-simple-inner {
    flex-direction: column;
  }

  .contacto-simple-texto h2 {
    font-size: 2.2rem;
  }
}

/* =========================================================
   CONTROL DÍA / NOCHE · ÓRBITA SEMICIRCULAR
   ========================================================= */
.anera-map-mode-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(5, 6, 8, 0.78);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  z-index: 5;
}

/* Semicírculo que representa la órbita del sol */
.anera-time-orbit {
  position: relative;
  width: 86px;
  height: 43px;
  border-radius: 86px 86px 0 0;
  border: 2px solid rgba(248, 224, 166, 0.9);
  border-bottom: none;
  overflow: visible;
}

/* “Sol” que se mueve sobre la órbita */
.anera-time-sun {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f8e0a6;
  color: #614521;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 0 0 3px rgba(248, 224, 166, 0.45);
  transform: translate(-50%, -50%);
}

/* Luna fija a la derecha */
.anera-time-moon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1f4ff;
  font-size: 16px;
}

/* Slider nativo invisible: solo captura el drag */
.anera-map-slider-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* Ajuste en mobile */
@media (max-width: 600px) {


  .anera-time-orbit {
    width: 74px;
    height: 37px;
    border-radius: 74px 74px 0 0;
  }

  .anera-time-sun {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .anera-time-moon {
    width: 22px;
    height: 22px;
    font-size: 15px;
  }
}

@media (max-width: 600px) {

  /* Deja espacio debajo del mapa para el control */
  .anera-map-layout {
    padding-bottom: 56px;
    /* ajusta si quieres más o menos aire */
    position: relative;
  }

  /* Mueve el botón día/noche afuera del mapa, centrado abajo */
  .anera-map-mode-toggle {
    position: absolute;
    bottom: 40px;
    /* 🔥 SÚBELO ajustando este número */
    top: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* El cambio de frame se mantiene sin transiciones costosas durante el drag. */
.anera-map-image {
  opacity: 1;
}

/* =========================================================
   FOOTER · RESPONSIVE CENTRADO
   ========================================================= */
@media (max-width: 600px) {

  .anera-footer-inner {
    flex-direction: column;
    align-items: center;
    /* 🔥 TODO centrado */
    text-align: center;
    gap: 14px;
  }

  /* Logo ANERA */
  .footer-anera-logo {
    height: 22px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  /* Links legales */
  .footer-center {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Power by NUM */
  .footer-right {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .footer-num-logo {
    height: 14px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
  }
}


/* =========================================================
   ANERA · TOUR VIRTUAL — FULL SCREEN / FULL BLEED
   SOLO PARA anera-tour.html
   ========================================================= */

/* Variable de altura del header (ajustable) */
.anera-page-tour {
  --anera-header-h: 96px;
  /* desktop */
}

/* Wrapper principal del tour */
.anera-page-tour .anera-3d-tour--bg {
  position: relative;
  width: 100%;
  height: 100vh;
  /* viewport completo */
  padding-top: var(--anera-header-h);
  /* 🔥 baja el tour debajo del header */
  margin: 0;

  background-image: url("/images/anera_6.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

/* Overlay oscuro premium */
.anera-page-tour .anera-3d-tour--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 0;
}

/* Contenedor del iframe — FULL WIDTH / FULL HEIGHT */
.anera-page-tour .anera-3d-tour__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: calc(100vh - var(--anera-header-h));

  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}

/* IFRAME — ocupa todo el espacio disponible */
.anera-page-tour .anera-3d-tour__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 768px) {

  .anera-page-tour {
    --anera-header-h: 86px;
    /* 🔥 más alto para que no se encime */
  }

  /* Extra: si aún se encimaba 1-2px, empuja un poquito más */
  .anera-page-tour .anera-3d-tour--bg {
    padding-top: calc(var(--anera-header-h) + 6px);
  }

  .anera-page-tour .anera-3d-tour__frame {
    height: calc(100vh - (var(--anera-header-h) + 6px));
  }
}


/*hero nuevo */
/* =========================================================
   HERO PREMIUM (kicker con raya + tipografía)
   ========================================================= */

.anera-hero-content--premium {
  max-width: 860px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  display: inline-block;
}

.hero-title--premium {
  font-family: "Brygada 1918", serif;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   HERO · RESPONSIVE MOBILE (alineado izquierda)
   ========================================================= */
@media (max-width: 768px) {

  /* Kicker: raya + ANERA · PLAYA BLANCA */
  .hero-kicker {
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
  }

  .hero-kicker::before {
    width: 26px;
  }

  /* Título principal */
  .hero-title {
    font-size: 32px;
    /* protagonista */
    line-height: 1.25;
  }

  /* Texto secundario */
  .hero-lead {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 10px;
  }

  /* CTA: columna pero alineada a la izquierda */
  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
    /* 🔥 izquierda */
    gap: 12px;
    margin-top: 22px;
  }

  .hero-cta-group .btn-hero-outline {
    width: auto;
    /* 🔥 NO full width */
    padding: 13px 34px;
    /* botón elegante, no enorme */
    font-size: 15px;
    text-align: center;
  }

}



/* =========================================================
   INVENTARIO (TABLA PREMIUM) · ANERA ABOUT
   ========================================================= */

.anera-inventory-table {
  padding: 52px 0 22px;
  background: #f3eee8;
}

.anera-inventory-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.anera-inventory-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.anera-inventory-header h2 {
  margin: 0;
  font-family: "Brygada 1918", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 28px;
  color: #2f2a26;
}

.anera-inventory-header p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #6b6460;
  max-width: 540px;
}

.anera-inventory-filters {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.inv-filter-btn {
  appearance: none;
  border: 1px solid rgba(47, 42, 38, 0.16);
  background: rgba(255, 255, 255, 0.65);
  color: #2f2a26;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}

.inv-filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 42, 38, 0.28);
  background: rgba(255, 255, 255, 0.85);
}

.inv-filter-btn.is-active {
  border-color: rgba(179, 107, 28, 0.55);
  background: rgba(179, 107, 28, 0.08);
  color: #5a3b16;
}

/* Grupos por torre */
.inv-group {
  border: 1px solid rgba(47, 42, 38, 0.12);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.65);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.inv-group+.inv-group {
  margin-top: 14px;
}

.inv-group-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(47, 42, 38, 0.10);
  background: rgba(255, 255, 255, 0.55);
}

.inv-group-title {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2f2a26;
  font-weight: 600;
}

.inv-group-count {
  font-size: 12px;
  color: #6b6460;
}

/* Tabla/Lista */
.inv-table {
  display: flex;
  flex-direction: column;
}

.inv-row {
  border-bottom: 1px solid rgba(47, 42, 38, 0.08);
}

.inv-row:last-child {
  border-bottom: none;
}

/* Fila clickeable */
.inv-row-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1.2fr 2fr 0.7fr 26px;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .15s ease, transform .15s ease;
}

.inv-row-btn:hover {
  background: rgba(255, 255, 255, 0.55);
}

.inv-cover {
  width: 56px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(47, 42, 38, 0.10);
  background: #f3efe9;
}

.inv-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.inv-code {
  font-weight: 600;
  color: #2f2a26;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inv-sub {
  font-size: 12px;
  color: #6b6460;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
}

.inv-chip {
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(47, 42, 38, 0.14);
  background: rgba(255, 255, 255, 0.55);
  color: #2f2a26;
  line-height: 1;
  white-space: nowrap;
}

/* Chips de estado */
.inv-chip-ok {
  border-color: rgba(26, 120, 76, 0.30);
  background: rgba(26, 120, 76, 0.08);
  color: #1a784c;
}

.inv-chip-warn {
  border-color: rgba(179, 107, 28, 0.32);
  background: rgba(179, 107, 28, 0.10);
  color: #7a4a12;
}

.inv-chip-bad {
  border-color: rgba(154, 46, 46, 0.28);
  background: rgba(154, 46, 46, 0.08);
  color: #9a2e2e;
}

.inv-chip-launch,
.chip-launch,
.anera-tower-unit-launch {
  border: 1px solid rgba(17, 122, 72, 0.34);
  background: #e8f7ef;
  color: #0d7845;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.anera-launch-view .anera-tower-card[data-torre="A"]:not(.anera-extra-tower),
.anera-launch-view .anera-tower-card[data-torre="B"]:not(.anera-extra-tower),
.anera-launch-view .inv-filter-btn[data-filter="A"]:not(.anera-extra-tower),
.anera-launch-view .inv-filter-btn[data-filter="B"]:not(.anera-extra-tower) {
  display: none !important;
}

.anera-tower-unit-launch {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(13, 120, 69, 0.16);
}

.inv-price {
  font-size: 13px;
  font-weight: 600;
  color: #2f2a26;
  text-align: right;
  white-space: nowrap;
}

.inv-caret {
  font-size: 18px;
  color: #6b6460;
  transform: translateY(-1px);
  transition: transform .2s ease;
  text-align: center;
}

/* Expand / Accordion */
.inv-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  background: rgba(255, 255, 255, 0.55);
}

.inv-expand-inner {
  padding: 12px 16px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-top: 1px solid rgba(47, 42, 38, 0.08);
}

.inv-expand-block h4 {
  margin: 0 0 6px;
  font-size: 12px;
  color: #2f2a26;
  font-weight: 600;
}

.inv-expand-block p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #6b6460;
}

.inv-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.inv-open-btn {
  appearance: none;
  border: 1px solid rgba(179, 107, 28, 0.55);
  background: rgba(179, 107, 28, 0.10);
  color: #5a3b16;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}

.inv-open-btn:hover {
  transform: translateY(-1px);
  background: rgba(179, 107, 28, 0.14);
  border-color: rgba(179, 107, 28, 0.75);
}

/* Estados “abierto” */
.inv-row.is-open .inv-caret {
  transform: rotate(180deg);
}

.inv-row.is-open .inv-expand {
  max-height: 260px;
  /* suficiente para el contenido */
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
  .inv-row-btn {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    gap: 10px 12px;
    align-items: start;
  }

  .inv-chips {
    grid-column: 1 / -1;
  }

  .inv-price {
    grid-column: 1 / -1;
    text-align: left;
    margin-top: 2px;
  }

  .inv-caret {
    position: absolute;
    right: 16px;
    margin-top: 8px;
  }

  .inv-row-btn {
    position: relative;
    padding-right: 44px;
  }

  .inv-expand-inner {
    grid-template-columns: 1fr;
  }

  .inv-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .anera-inventory-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .anera-inventory-header h2 {
    font-size: 24px;
  }

  .inv-cover {
    width: 54px;
    height: 44px;
  }

  .inv-chip {
    padding: 6px 8px;
    font-size: 10.5px;
  }

  .inv-open-btn {
    width: 100%;
    border-radius: 14px;
    padding: 12px 14px;
  }
}

/* =========================
   BOTÓN TOUR VIRTUAL (ORO)
   ========================= */
.btn-tour-virtual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: #3b2f1b;
  background: linear-gradient(135deg,
      #d4af37,
      #f2d675,
      #c9a227);
  border: none;
  box-shadow: 0 6px 18px rgba(212, 175, 55, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-tour-virtual:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, .45);
}

/* =========================
   MODAL MAPA (por encima del sidepanel)
   ========================= */
.anera-mapa-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.336);
  z-index: 99990;
}

.anera-mapa-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.anera-mapa-modal-inner {
  width: min(900px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
}

/* Ocultar por defecto si existe un helper .hidden */
.hidden {
  display: none;
}

/* Fuerza visibilidad del botón Tour Virtual */
.sidepanel-actions .btn-tour-virtual {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 2;
  min-height: 48px;
}

/* Acabado consistente para las acciones del detalle de residencia. */
.anera-sidepanel .sidepanel-actions .btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.anera-sidepanel .sidepanel-actions .btn-ver-num {
  border: 0;
  background: #101827;
  color: #fff;
}

.anera-sidepanel .sidepanel-actions .btn-tour-virtual {
  grid-column: 1 / -1;
  border-radius: 14px;
  color: #3b2f1b;
}

@media (max-width: 600px) {
  .anera-sidepanel-inner {
    padding: 24px 20px 28px;
  }

  .anera-sidepanel-close {
    top: 15px;
    right: 16px;
  }

  .anera-sidepanel-header h2 {
    font-size: 30px;
  }

  .anera-sidepanel-img-wrap img {
    height: 210px;
  }

  .sp-item {
    min-height: 58px;
    padding: 9px 0;
  }

  .sp-icon {
    font-size: 16px;
  }

  .sp-value {
    font-size: 13px;
  }
}




/*======= calendly==========*/
.anera-calendly-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;

  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(10, 10, 10, .78);
  backdrop-filter: blur(10px);

  color: #fff;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;

  cursor: pointer;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.anera-calendly-fab:hover {
  transform: translateY(-2px);
  background: rgba(10, 10, 10, .88);
  border-color: rgba(255, 255, 255, .28);
}

.anera-calendly-fab:active {
  transform: translateY(0px);
}

@media (max-width: 600px) {
  .anera-calendly-fab {
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
    font-size: 13px;
  }
}

.anera-calendly-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* espacio entre icono y texto */
}

.anera-calendly-fab .fab-icon {
  display: inline-flex;
  justify-content: center;
  color: currentColor;
}

/* =========================================================
   BOTONES FLOTANTES (TRADUCCIÓN)
   ========================================================= */
.btn-traducir-flotante {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 9999;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-traducir-flotante:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  color: #000000;
}

.btn-traducir-flotante i {
  color: #555;
  transition: color 0.3s ease;
}

.btn-traducir-flotante:hover i {
  color: #000;
}

/* Ajuste para móvil para no tapar el botón de Calendly o WhatsApp si los hubiera */
@media (max-width: 768px) {
  .btn-traducir-flotante {
    bottom: 90px;
    right: 20px;
  }
}

/* =========================================================
   FAQ SECTION (PREMIUM ACCORDION)
   ========================================================= */
.anera-faq {
  padding: 80px 0;
  background-color: #fff;
}

.anera-faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.anera-faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.anera-faq-title {
  font-family: "Brygada 1918", serif;
  font-size: 32px;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.anera-faq-sub {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #666;
}

.anera-accordion-item {
  border-bottom: 1px solid #eee;
}

.anera-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Brygada 1918", serif;
  font-size: 18px;
  color: #2b2b2b;
  transition: color 0.3s ease;
}

.anera-accordion-btn:hover {
  color: #000;
}

.anera-accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.anera-accordion-icon::before,
.anera-accordion-icon::after {
  content: "";
  position: absolute;
  background-color: #2b2b2b;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.anera-accordion-icon::before {
  width: 12px;
  height: 2px;
}

.anera-accordion-icon::after {
  width: 2px;
  height: 12px;
}

/* Estado abierto */
.anera-accordion-item.is-open .anera-accordion-icon {
  transform: rotate(45deg);
}

.anera-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.anera-accordion-body {
  padding-bottom: 24px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  text-align: justify;
}

/* =========================================================
   FAQ CATEGORIES & NESTED ACCORDION
   ========================================================= */

.anera-faq-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anera-category-group {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Category Button (Level 1) */
.anera-category-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 24px 0;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.anera-category-btn span {
  font-family: "Brygada 1918", serif;
  font-size: 22px;
  font-weight: 500;
  color: #333;
}

.anera-category-icon {
  width: 14px;
  height: 14px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-right: 8px;
}

/* Open State for Category */
.anera-category-group.is-open .anera-category-icon {
  transform: rotate(225deg);
  /* Flips up */
  border-color: #aa9c75;
}

.anera-category-group.is-open .anera-category-btn span {
  color: #aa9c75;
}

/* Category Content (Hidden by default) */
.anera-category-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 20px;
  /* Indent sub-items */
}


/* Inner Accordion (Level 2) - Reuse or slight mod of existing */
.anera-accordion {
  padding-bottom: 20px;
}

/* Adjust inner items to look smaller/subordinate */
.anera-accordion-item {
  border: none;
  /* Remove border from inner items if parent has it, or keep for separation */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.anera-accordion-btn {
  padding: 18px 0;
  font-size: 15px;
  /* Smaller than category */
}

.anera-accordion-btn span {
  font-family: "Poppins", sans-serif;
  /* Distinct font for questions */
  font-weight: 500;
  color: #555;
}

.anera-accordion-icon {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid #888;
  border-bottom: 1.5px solid #888;
  /* Rotation handled by JS class toggling */
}

.anera-accordion-body {
  font-size: 14px;
  color: #666;
  padding-bottom: 20px;
  line-height: 1.6;
}

/* Open State for Inner Item */
.anera-accordion-item.is-open .anera-accordion-btn span {
  color: #aa9c75;
}

.anera-accordion-item.is-open .anera-accordion-icon {
  transform: rotate(225deg);
  border-color: #aa9c75;
}

/* =========================================================
   TESTIMONIALS SECTION (LIGHT THEME)
   ========================================================= */
.anera-testimonials {
  padding: 80px 0 100px;
  background-color: #f7f3ed;
  /* Matching Galeria background */
  position: relative;
}

.anera-testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.anera-testimonials-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #1a1a1a;
  /* Dark title */
  margin: 0;
}

.anera-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.anera-testimonial-card {
  background-color: #ffffff;
  /* White card */
  padding: 40px 32px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  /* Soft shadow */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.anera-testimonial-content {
  margin-bottom: 16px;
  position: relative;
}

.anera-testimonial-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444444;
  /* Dark gray text */
  margin: 0;

  /* Transition for height change if needed */
  transition: max-height 0.3s ease;
}

/* Truncation & Transition Logic */
.anera-testimonial-wrapper {
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  position: relative;
}

/* Estado colapsado: altura fija */
.anera-testimonial-card.is-collapsed .anera-testimonial-wrapper {
  max-height: 110px;
  /* Ajusta este valor según ~4 líneas */
}

/* Estado expandido: altura libre (se asigna por JS, pero base style here) */


/* Ocultar botón si no hace falta */
.anera-read-more-btn.hidden {
  display: none;
}

.anera-read-more-btn {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #d0c29b;
  /* Gold accent */
  cursor: pointer;
  text-decoration: underline;
  align-self: flex-start;
  transition: color 0.2s;
}

.anera-read-more-btn:hover {
  color: #bfae83;
}

.anera-testimonial-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1a1a1a;
  /* Dark name */
  font-weight: 600;
  margin: 0;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

/* Responsive Grid */
@media (max-width: 1200px) {
  .anera-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .anera-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .anera-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .anera-testimonial-card {
    padding: 30px 24px;
  }
}


/* =========================================================
   DISPONIBILIDAD · REFINAMIENTO VISUAL INTEGRAL
   Mantiene la identidad editorial de ANERA y aligera la UI.
   ========================================================= */
.anera-launch-view {
  --availability-ink: #24211d;
  --availability-muted: #746d65;
  --availability-sand: #f3eee7;
  --availability-sand-deep: #e8dfd3;
  --availability-gold: #a98a58;
  --availability-green: #16744a;
  background: var(--availability-sand);
}

.anera-launch-view .anera-about-mapa {
  position: relative;
  padding: 138px 0 74px;
  background:
    radial-gradient(circle at 15% 0%, rgba(209, 193, 163, 0.24), transparent 34%),
    #f5f1eb;
}

.anera-launch-view .anera-about-inner {
  max-width: 1380px;
  padding-inline: 40px;
}

.anera-launch-view .anera-about-mapa-header {
  gap: 13px;
  margin: 0 auto 38px;
}

.anera-launch-view .anera-phase-kicker {
  margin: 0;
  color: var(--availability-gold);
  letter-spacing: 0.24em;
}

.anera-launch-view .anera-about-title {
  max-width: 760px;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--availability-ink);
}

.anera-launch-view .anera-map-toggle {
  width: min(100%, 440px);
  margin-top: 10px;
  padding: 5px;
  border-color: rgba(72, 61, 48, 0.12);
  background: #e4dccf;
  box-shadow: inset 0 1px 2px rgba(40, 34, 27, 0.08);
}

.anera-launch-view .map-toggle-option {
  min-width: 0;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.anera-launch-view .map-toggle-indicator {
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  background: #fbfaf7;
  box-shadow: 0 5px 16px rgba(47, 39, 30, 0.14);
}

.anera-launch-view .anera-map-figure {
  border: 1px solid rgba(67, 56, 43, 0.14);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(51, 42, 31, 0.16);
}

.anera-launch-view .anera-map-legend {
  width: fit-content;
  margin: 20px auto 0;
  padding: 10px 16px;
  border: 1px solid rgba(67, 56, 43, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: #665f57;
}

.anera-launch-view .anera-map-mode-toggle {
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.anera-launch-view .anera-stats {
  padding: 94px 0 104px;
  border: 0;
  background: #eee7de;
}

.anera-launch-view .anera-stats-inner {
  max-width: 1240px;
  padding-inline: 40px;
}

.anera-launch-view .anera-stats-header {
  max-width: 700px;
  margin: 0 auto 48px;
}

.anera-launch-view .anera-stats-header::before,
.anera-launch-view .anera-towers-header::before,
.anera-launch-view .anera-inventory-header > div:first-child::before {
  content: "INVENTARIO · ANERA";
  display: block;
  margin-bottom: 10px;
  color: var(--availability-gold);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.anera-launch-view .anera-stats-header h2,
.anera-launch-view .anera-inventory-header h2 {
  font-size: clamp(30px, 3.3vw, 43px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--availability-ink);
}

.anera-launch-view .anera-stats-header p,
.anera-launch-view .anera-inventory-header p {
  margin-top: 12px;
  color: var(--availability-muted);
  line-height: 1.65;
}

.anera-launch-view .anera-stats-grid {
  gap: 0;
  border-top: 1px solid rgba(64, 54, 43, 0.16);
  border-bottom: 1px solid rgba(64, 54, 43, 0.16);
}

.anera-launch-view .anera-stats-card {
  min-height: 260px;
  padding: 30px 42px 32px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.anera-launch-view .anera-stats-card + .anera-stats-card {
  padding-right: 0;
  padding-left: 42px;
  border-left: 1px solid rgba(64, 54, 43, 0.16);
}

.anera-launch-view .stats-card-header {
  margin-bottom: 22px;
}

.anera-launch-view .stats-pill {
  padding: 7px 12px;
  border: 1px solid rgba(50, 43, 35, 0.12);
  background: transparent;
  color: #5c5145;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.anera-launch-view .stats-pill-full::before,
.anera-launch-view .stats-pill-frac::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #19202d;
}

.anera-launch-view .stats-pill-frac::before {
  background: #c18a28;
}

.anera-launch-view .stats-main-kpi {
  margin-bottom: 24px;
}

.anera-launch-view .stats-main-number {
  font-family: "Brygada 1918", serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 0.9;
  color: var(--availability-ink);
}

.anera-launch-view .stats-main-label {
  color: var(--availability-muted);
}

.anera-launch-view .stats-sub-row {
  margin-bottom: 8px;
  color: #5f5850;
}

.anera-launch-view .stats-bar {
  height: 5px;
  background: rgba(104, 91, 76, 0.14);
}

.anera-launch-view .stats-fractions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(64, 54, 43, 0.12);
}

.anera-launch-view .anera-towers {
  position: relative;
  padding: 112px 0 120px;
  background:
    linear-gradient(105deg, rgba(11, 13, 12, 0.92), rgba(11, 13, 12, 0.5)),
    url("/images/anera_4.jpeg") center / cover;
}

.anera-launch-view .anera-towers-inner {
  max-width: 1280px;
  padding-inline: 40px;
}

.anera-launch-view .anera-towers-header {
  max-width: 620px;
}

.anera-launch-view .anera-towers-header::before {
  content: "ELIGE TU UBICACIÓN";
  color: #d0bd99;
}

.anera-launch-view .anera-towers-header h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.anera-launch-view .anera-towers-header p {
  max-width: 520px;
  margin: 0;
  line-height: 1.65;
}

.anera-launch-view .anera-towers-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 50px;
}

.anera-launch-view .anera-tower-card {
  min-height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.anera-launch-view .anera-tower-bg {
  height: 310px;
}

.anera-launch-view .anera-tower-overlay {
  background: linear-gradient(180deg, rgba(7, 9, 8, 0.08), rgba(7, 9, 8, 0.84));
}

.anera-launch-view .anera-tower-label {
  top: auto;
  bottom: 58px;
  left: 28px;
  transform: none;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.anera-launch-view .anera-tower-card::after {
  content: "Explorar inventario  ↗";
  position: absolute;
  bottom: 28px;
  left: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anera-launch-view .anera-inventory-table {
  padding: 108px 0 118px;
  background: #f5f1eb;
}

.anera-launch-view .anera-inventory-inner {
  max-width: 1240px;
  gap: 34px;
  padding-inline: 40px;
}

.anera-launch-view .anera-inventory-header {
  align-items: flex-end;
}

.anera-launch-view .anera-inventory-header > div:first-child::before {
  content: "DISPONIBILIDAD ACTUAL";
}

.anera-launch-view .anera-inventory-filters {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 320px;
  padding: 5px;
  border: 1px solid rgba(65, 54, 42, 0.1);
  border-radius: 999px;
  background: #e9e1d6;
}

.anera-launch-view .inv-filter-indicator {
  position: absolute;
  z-index: 0;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc((100% - 10px) / 3);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(58, 47, 36, 0.12);
  transform: translate3d(0, 0, 0);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.anera-launch-view .anera-inventory-filters[data-active-filter="C"] .inv-filter-indicator {
  transform: translate3d(100%, 0, 0);
}

.anera-launch-view .anera-inventory-filters[data-active-filter="D"] .inv-filter-indicator {
  transform: translate3d(200%, 0, 0);
}

.anera-launch-view .inv-filter-btn {
  position: relative;
  z-index: 1;
  min-width: 78px;
  border: 0;
  background: transparent;
}

.anera-launch-view .inv-filter-btn:hover {
  border: 0;
  background: transparent;
  color: #171512;
}

.anera-launch-view .inv-filter-btn.is-active {
  border: 0;
  background: transparent;
  color: #2d2822;
  box-shadow: none;
}

.anera-launch-view .inv-group {
  border-color: rgba(65, 54, 42, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 46px rgba(54, 43, 31, 0.07);
}

.anera-launch-view .inv-group + .inv-group {
  margin-top: 20px;
}

.anera-launch-view .inv-group-header {
  padding: 18px 22px;
  background: rgba(236, 228, 217, 0.6);
}

.anera-launch-view .inv-group-title {
  font-family: "Brygada 1918", serif;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.anera-launch-view .inv-row-btn {
  grid-template-columns: 76px 280px minmax(0, 1fr) 200px 38px;
  gap: 18px;
  min-height: 106px;
  padding: 18px 22px;
}

.anera-launch-view .inv-row-btn:hover {
  background: rgba(255, 255, 255, 0.76);
  transform: translateX(3px);
}

.anera-launch-view .inv-cover {
  width: 76px;
  height: 66px;
  border-radius: 16px;
}

.anera-launch-view .inv-code {
  font-family: "Brygada 1918", serif;
  font-size: 19px;
  font-weight: 600;
}

.anera-launch-view .inv-sub {
  margin-top: 2px;
  font-size: 11px;
}

.anera-launch-view .inv-row-information {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.anera-launch-view .inv-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
}

.anera-launch-view .inv-attributes span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #5f574e;
  font-size: 10px;
  white-space: nowrap;
}

.anera-launch-view .inv-attributes i {
  color: #9a825e;
  font-size: 13px;
}

.anera-launch-view .inv-chips {
  gap: 7px;
}

.anera-launch-view .inv-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-color: rgba(71, 61, 49, 0.1);
  background: rgba(246, 242, 236, 0.74);
  font-size: 9px;
  font-weight: 500;
}

.anera-launch-view .inv-chip-launch {
  border-color: rgba(17, 122, 72, 0.22);
  background: rgba(232, 247, 239, 0.8);
  color: #0d7845;
}

.anera-launch-view .inv-chip-fractions {
  border-color: rgba(154, 130, 94, 0.18);
  background: rgba(232, 224, 212, 0.6);
  color: #6e5d45;
}

.anera-launch-view .inv-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.anera-launch-view .inv-price {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}

.anera-launch-view .inv-price small {
  color: #8a8178;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anera-launch-view .inv-row-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(68, 57, 44, 0.12);
  border-radius: 50%;
  color: #806b4e;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.anera-launch-view .inv-row-btn:hover .inv-row-arrow {
  background: #24211d;
  color: #fff;
  transform: translateX(3px);
}

.anera-launch-view .anera-contacto-simple {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(174, 143, 91, 0.2), transparent 30%),
    #171815;
}

.anera-launch-view .anera-contacto-simple-inner {
  max-width: 1160px;
}

.anera-launch-view .contacto-simple-texto h2 {
  margin: 0 0 14px;
  max-width: 620px;
  color: #f4eee4;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.anera-launch-view .contacto-simple-sub {
  margin: 0;
  color: rgba(244, 238, 228, 0.62);
  font-size: 15px;
}

.anera-launch-view .contacto-simple-boton {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #c5a46b;
  color: #1c1914;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.anera-launch-view .contacto-simple-boton::after {
  content: "↗";
  margin-left: 12px;
  font-size: 16px;
}

.anera-launch-view .contacto-simple-boton:hover {
  background: #d2b47e;
}

@media (max-width: 900px) and (min-width: 701px) {
  .anera-launch-view .inv-row-btn {
    grid-template-columns: 64px 190px minmax(0, 1fr) 160px 34px;
    gap: 10px;
    padding: 14px 16px;
  }

  .anera-launch-view .inv-cover {
    width: 64px;
    height: 54px;
  }

  .anera-launch-view .inv-attributes {
    gap: 6px 10px;
  }
}

@media (max-width: 900px) {
  .anera-launch-view .anera-about-inner,
  .anera-launch-view .anera-stats-inner,
  .anera-launch-view .anera-towers-inner,
  .anera-launch-view .anera-inventory-inner {
    padding-inline: 22px;
  }

  .anera-launch-view .anera-stats-card {
    min-height: 0;
    padding: 28px 0;
  }

  .anera-launch-view .anera-stats-card + .anera-stats-card {
    padding: 28px 0;
    border-top: 1px solid rgba(64, 54, 43, 0.16);
    border-left: 0;
  }

  .anera-launch-view .anera-tower-card,
  .anera-launch-view .anera-tower-bg {
    min-height: 250px;
    height: 250px;
  }
}

@media (max-width: 700px) {
  .anera-launch-view .anera-about-mapa {
    padding: 108px 0 56px;
  }

  .anera-launch-view .anera-about-inner,
  .anera-launch-view .anera-stats-inner,
  .anera-launch-view .anera-towers-inner,
  .anera-launch-view .anera-inventory-inner {
    padding-inline: 14px;
  }

  .anera-launch-view .anera-about-title {
    font-size: 36px;
  }

  .anera-launch-view .map-toggle-option {
    min-width: 0;
  }

  .anera-launch-view .anera-map-figure {
    border-radius: 18px;
  }

  .anera-launch-view .anera-map-legend {
    width: 100%;
    padding-inline: 10px;
    font-size: 10px;
  }

  .anera-launch-view .anera-stats,
  .anera-launch-view .anera-inventory-table {
    padding: 72px 0 80px;
  }

  .anera-launch-view .anera-stats-header {
    margin-bottom: 30px;
  }

  .anera-launch-view .stats-main-number {
    font-size: 48px;
  }

  .anera-launch-view .anera-towers {
    padding: 78px 0 84px;
  }

  .anera-launch-view .anera-towers-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .anera-launch-view .anera-inventory-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .anera-launch-view .anera-inventory-filters {
    width: 100%;
  }

  .anera-launch-view .inv-filter-btn {
    flex: 1;
  }

  .anera-launch-view .inv-row-btn {
    grid-template-columns: 58px 1fr;
    padding: 14px;
  }

  .anera-launch-view .inv-cover {
    width: 58px;
    height: 48px;
  }

  .anera-launch-view .inv-row-information,
  .anera-launch-view .inv-price {
    grid-column: 1 / -1;
  }

  .anera-launch-view .inv-price {
    align-items: flex-start;
  }

  .anera-launch-view .inv-row-arrow {
    position: absolute;
    top: 20px;
    right: 14px;
  }

  .anera-launch-view .anera-contacto-simple {
    padding: 78px 20px;
  }
}
