/* =========================================================
   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 .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%;
}
/* 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: 80vh; /* más corto que pantalla completa */
  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/anera_1.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.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/anera_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;
}

/* Contenedor del carrusel */
.amenidades-carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
}

/* Fila deslizable */
.amenidades-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
}



/* Card: 3 por vista */
.amenidad-card {
  flex: 0 0 calc((100% - 2 * 24px) / 3);
  max-width: calc((100% - 2 * 24px) / 3);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(5px);
  padding: 30px 26px;
  border-radius: 20px;
  text-align: center;
}

.amenidad-card img {
  width: 75px;
  height: 75px;
  margin-bottom: 12px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* iconos blancos */
}

.amenidad-card p {
  font-size: 16px;
  margin: 0;
}

/* Controles: barra + flechas */
.amenidades-controls {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Línea total (fina) */
.amenidades-progress {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.45);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

/* Trazo grueso (2 posiciones) */
.amenidades-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 50%;              /* la barra se divide en 2 segmentos */
  background: #ffffff;
  border-radius: 3px;
  transform: translateX(0);
  transition: transform 0.35s ease;
}

/* Flechas */
.amenidades-arrows {
  display: flex;
  align-items: center;
  margin-top: -5px;  /* ajusta altura de las flechas respecto a la barra */
  gap: 10px;
}

.amenidad-arrow {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 40px;       /* 🔥 Aumentamos el tamaño */
  font-weight: 300;      
  color: #ffffff;
  padding: 0 8px;        /* pequeño espacio para clic */
  line-height: 1;
  opacity: 0.85;         /* más visibles */
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.amenidad-arrow:hover {
  opacity: 1;
  transform: translateY(-2px); /* leve movimiento */
}

/* =========================================================
   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;
}

.galeria-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.galeria-carousel {
  display: flex;
  gap: 12px;
  transition: transform 0.45s ease;
}

/* 3 tarjetas por vista, grandes */
.galeria-card {
  margin: 0;                               /* 🔑 quita el margin del <figure> */
  flex: 0 0 calc((100% - 24px) / 3);       /* 24px = 2 gaps de 12px */
  max-width: calc((100% - 24px) / 3);
  border-radius: 26px;
  overflow: hidden;
}


.galeria-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 26px;
}

/* Controles: barra + flechas */
.galeria-controls {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Línea total */
.galeria-progress {
  flex: 1;
  height: 2px;
  background: #c9c0b0;
  border-radius: 3px;
  overflow: hidden;
}

/* Segmento móvil (se adapta al nº de páginas vía JS) */
.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;      /* 🔥 mismas dimensiones */
  font-weight: 300;
  color: #3a3733;
  padding: 0 8px;
  line-height: 1;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.galeria-arrow:hover {
  opacity: 1;
  transform: translateY(-2px);
}
/* =========================================================
   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/anera_2.webp");
  background-size: cover;
  background-position: center;
}


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

.anera-contacto-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

/* 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-burger {
    display: none;
  }
}

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

/* 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;
}

.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-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: 320px;
  max-width: calc(100% - 24px);
  background: #ffffff;
  color: #111111;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: opacity 0.18s ease;
}

/* 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: #ffffff transparent transparent transparent;
}
.anera-map-hover-card.tooltip-bottom::after {
  top: -16px;
  border-color: transparent transparent #ffffff transparent;
}

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

.anera-hover-card-img-wrap img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

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

.anera-hover-card-titles h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.anera-hover-card-sub {
  margin: 0 0 10px;
  font-size: 12px;
  color: #6b6460;
}

.anera-hover-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.meta-chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1e8dc;
  font-size: 11px;
  color: #3a3733;
}

.anera-hover-card-price {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
}

.price-label {
  font-weight: 400;
  font-size: 11px;
  color: #6b6460;
}

/* =========================================================
   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-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;
  transition: opacity 0.2s ease;
  pointer-events: none; /* 👈 NO bloquea los clics del mapa */
}

.anera-sidepanel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: #f7f3ed;
  color: #111111;
  z-index: 41;
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.4);
  transform: translateX(0);               /* estado visible */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease,       /* 👈 animación */
              opacity 0.3s ease;
}


.anera-sidepanel.hidden {
  transform: translateX(100%);  /* 👈 se mueve fuera de pantalla */
  opacity: 0;
  pointer-events: none;
}

.anera-sidepanel-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.anera-sidepanel-inner {
  height: 100%;
  overflow-y: auto;
  padding: 24px 26px 26px;
}

.anera-sidepanel-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-size: 16px;
}

.anera-sidepanel-header h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
}

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

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

.anera-sidepanel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: #e1d6c7;
  font-size: 11px;
}

.chip-estado-disponible {
  background: #dcfce7;
  color: #166534;
}
.chip-estado-vendido {
  background: #fee2e2;
  color: #991b1b;
}
.chip-estado-mixto {
  background: #fef3c7;
  color: #92400e;
}

.sidepanel-price {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 600;
}

.sidepanel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-bottom: 18px;
}

.sp-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

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

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

/* =========================
   ACCIONES DEL SIDEPANEL
   ========================= */
.sidepanel-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;              /* 👈 separación entre botones */
  margin-top: 16px;
}

.btn-ver-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #020817;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  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%);
  }
}

/* Fade suave entre mapas */
.anera-map-image {
  transition: opacity 0.45s ease-in-out;
  opacity: 1;
}

.anera-map-image.is-fading {
  opacity: 0.65;
}
/* =========================================================
   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-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;
}




/*======= 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;
  align-items: center;
  justify-content: center;
  color: currentColor;
}
