/* ==============================================
   SÉPTIMO – styles.css  v7  (warm light)
   ============================================== */

/* --- PRECIOS OCULTOS — eliminar este bloque para mostrarlos --- */
.room-price,
.apt-price-row,
.hero-stat--price { display: none; }
/* --- FIN PRECIOS OCULTOS --- */

/* --- RESET & TOKENS --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Navy & Gold ──────── */
  --gold:       #132240;
  --gold-bright:#1E3560;
  --gold-dk:    #0A1628;
  --gold-lt:    rgba(19,34,64,0.08);
  --gold-border:rgba(19,34,64,0.20);

  --navy:       #132240;
  --navy-mid:   #1E3560;
  --navy-lt:    rgba(19,34,64,0.08);
  --navy-border:rgba(19,34,64,0.20);

  --bg:      #F1F4F8;
  --bg-alt:  #E6EAF2;
  --bg-card: #FFFFFF;
  --bg-lift: #D8DEE9;

  --text-1:  #0B1628;
  --text-2:  #2E4268;
  --text-3:  #6B80A3;

  --border:  rgba(11,22,40,0.10);
  --border-g:rgba(201,150,12,0.30);

  --sh-xs: 0 1px 6px  rgba(11,22,40,0.07);
  --sh-sm: 0 4px 18px rgba(11,22,40,0.09);
  --sh-md: 0 10px 40px rgba(11,22,40,0.11);
  --sh-lg: 0 28px 80px rgba(11,22,40,0.14);

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-pill: 100px;

  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --nav-h: 68px;
  --t:    0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --t-md: 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font);
  color: var(--text-1);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-clip { overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 100px 0; }
.section + .section { border-top: 1px solid var(--border); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
  font-weight: 400;
}

.img-ref {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.6);
  font-size: 0.62rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
  pointer-events: none;
}


/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1;
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-gold {
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(19,34,64,0.30);
}
.btn-gold:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(19,34,64,0.45);
}

.btn-dark {
  background: rgba(255,255,255,0.12);
  color: #F2EDE3;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  font-weight: 600;
}
.btn-dark:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.btn-wa {
  background: #25D366;
  color: #fff;
  font-weight: 700;
}
.btn-wa:hover {
  background: #1ab055;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.42);
}

.btn-accent {
  background: var(--gold);
  color: #FFFFFF;
  font-weight: 700;
}
.btn-accent:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,169,110,0.35);
}

.btn-nav {
  background: var(--navy);
  color: #FFFFFF;
  padding: 9px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  box-shadow: 0 2px 12px rgba(19,34,64,0.25);
}
.btn-nav:hover { background: var(--navy-mid); box-shadow: 0 4px 18px rgba(19,34,64,0.40); }


/* ==============================================
   NAVBAR
   ============================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  backdrop-filter: none;
  transition: background 0.4s ease, border-color 0.3s, box-shadow 0.3s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(241,244,248,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--navy-border);
  box-shadow: 0 2px 28px rgba(11,22,40,0.12);
}

.navbar.scrolled .logo-primary  { color: var(--navy); }
.navbar.scrolled .logo-secondary { color: var(--text-3); }
.navbar.scrolled .nav-links a:not(.btn-nav) { color: var(--text-2); }
.navbar.scrolled .nav-links a:not(.btn-nav):hover { color: var(--navy); }
.navbar.scrolled .hamburger span { background: var(--navy); }

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: #FFFFFF;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-mark--sm { width: 30px; height: 30px; font-size: 0.68rem; }

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-primary  { font-size: 0.97rem; font-weight: 800; color: #F2EDE3; letter-spacing: -0.02em; }
.logo-secondary { font-size: 0.62rem; color: rgba(242,237,227,0.55); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a:not(.btn-nav) {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(242,237,227,0.65);
  transition: color var(--t);
}
.nav-links a:not(.btn-nav):hover { color: var(--text-1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all 0.28s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ==============================================
   HERO — full-screen with building image
   ============================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Background image layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  transition: transform 10s ease-out;
}

.hero.ready .hero-bg img { transform: scale(1); }

/* Gradient overlays */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(4,3,2,0.45)  0%,
      rgba(4,3,2,0.25) 25%,
      rgba(4,3,2,0.65) 62%,
      rgba(4,3,2,0.97) 100%
    );
}

/* Content positioned over image */
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 0;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(19,34,64,0.50);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 8px;
  text-shadow: 0 2px 32px rgba(0,0,0,0.45);
}

.hero-title-sub {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: rgba(255,255,255,0.80);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 16px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  color: rgba(242,237,227,0.70);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(242,237,227,0.80);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Stats bar — pinned to bottom of hero */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 22px 0;
  margin-top: 60px;
}

.hero-stats-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-stat {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.hero-stat + .hero-stat {
  border-left: 1px solid rgba(255,255,255,0.12);
}

.hero-stat-num {
  display: block;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 90px;
  right: 48px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(242,237,227,0.35);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hero-scroll-hint::before {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent 0%, rgba(201,169,110,0.5) 100%);
  animation: scrollLine 2.2s ease-in-out infinite;
}

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


/* ==============================================
   TRUST STRIP
   ============================================== */
.trust-strip {
  background: var(--navy);
  border-bottom: 1px solid rgba(201,150,12,0.20);
  padding: 32px 0;
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px;
  flex: 1 1 220px;
  min-width: 200px;
}

.trust-icon {
  color: #FFFFFF;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.10);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
}

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

.trust-item strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFFFFF;
}

.trust-item span {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.55);
}

.trust-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}


/* ==============================================
   ROOMS
   ============================================== */
.rooms-section { background: var(--bg); }

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.room-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-md), box-shadow var(--t-md), border-color var(--t-md);
  position: relative;
}

.room-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--sh-lg);
  border-color: var(--gold-border);
}

.room-card--featured {
  border-color: var(--navy-border);
  box-shadow: 0 0 0 2px var(--navy), var(--sh-sm);
}

.room-card--featured:hover {
  box-shadow: 0 0 0 2px var(--navy), var(--sh-lg);
  transform: translateY(-8px) scale(1.015);
}

.room-popular {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  z-index: 2;
}

.room-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.room-img-wrap--portrait {
  aspect-ratio: 3/4;
}

.room-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s ease;
  filter: brightness(0.88) saturate(0.9);
}

.room-img-wrap--portrait img {
  object-fit: cover;
  object-position: center 20%;
}

.room-card:hover .room-img-wrap img { transform: scale(1.07); filter: brightness(0.96) saturate(1); }

.room-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-eco  { background: rgba(160,114,42,0.12); color: var(--gold); border: 1px solid var(--gold-border); }
.tag-std  { background: rgba(160,114,42,0.18); color: var(--gold); border: 1px solid var(--gold-border); }
.tag-prem { background: rgba(122,82,32,0.12);  color: var(--gold-dk); border: 1px solid rgba(122,82,32,0.22); }

.room-body { padding: 22px 20px 20px; }

.room-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 4px;
}

.price-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
}

.price-mo {
  font-size: 0.84rem;
  color: var(--text-3);
}

.room-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
}

.room-desc {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 14px;
}

.room-perks {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.room-perks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.81rem;
  color: var(--text-2);
}

.room-perks li svg { color: var(--navy); flex-shrink: 0; }

.btn-room {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px;
  background: transparent;
  color: var(--text-2);
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all var(--t);
  cursor: pointer;
}

.btn-room:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-lt);
}

.btn-room--featured {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
  font-weight: 700;
}

.btn-room--featured:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: #FFFFFF;
}

/* Conditions bar */
.conditions-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border-g);
  border-radius: var(--r-md);
  padding: 22px 32px;
  box-shadow: var(--sh-xs);
}

.condition {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cond-icon { font-size: 1.35rem; }

.condition div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.condition strong { font-size: 0.82rem; font-weight: 700; color: var(--text-1); }
.condition span   { font-size: 0.76rem; color: var(--text-3); }

.cond-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}


/* ==============================================
   MINI APARTAMENTO
   ============================================== */
.apt-section { background: var(--bg-alt); }

.apt-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border-g);
  background: var(--bg-card);
}

.apt-img-col {
  position: relative;
  overflow: hidden;
  min-height: 540px;
}

.apt-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: brightness(0.85) saturate(0.85);
}

.apt-card:hover .apt-img-col img { transform: scale(1.04); filter: brightness(0.92) saturate(0.95); }

.apt-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--gold-dk) 0%, var(--gold) 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.apt-content {
  padding: 52px 44px;
}

.apt-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin: 14px 0 18px;
}

.apt-desc {
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 12px;
}

.apt-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.apt-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--bg-lift);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 8px;
  text-align: center;
  transition: border-color var(--t), box-shadow var(--t);
}

.apt-feat:hover {
  border-color: var(--gold-border);
  box-shadow: var(--sh-xs);
}

.apt-feat span:first-child { font-size: 1.35rem; }
.apt-feat span:last-child  { font-size: 0.72rem; font-weight: 600; color: var(--text-2); }

.apt-price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.apt-price { display: flex; align-items: baseline; gap: 4px; }
.apt-from  { font-size: 0.8rem; color: var(--text-3); }
.apt-amt   { font-size: 2.4rem; font-weight: 800; color: var(--gold); letter-spacing: -0.03em; }
.apt-mo    { font-size: 0.86rem; color: var(--text-3); }


/* ==============================================
   BENEFITS
   ============================================== */
.benefits-section { background: var(--bg); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.benefit-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-md), box-shadow var(--t-md), border-color var(--t-md);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--gold-border);
}

.ben-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-lt);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 16px;
}

.benefit-card h3 { font-size: 0.94rem; font-weight: 700; color: var(--text-1); margin-bottom: 7px; }
.benefit-card p  { font-size: 0.83rem; color: var(--text-2); line-height: 1.65; }


/* ==============================================
   LOCATION
   ============================================== */
.location-section { background: var(--bg-alt); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 52px;
  align-items: start;
}

.nearby-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 18px;
}

.nearby-list { display: flex; flex-direction: column; gap: 10px; }

.nearby-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 15px;
  background: var(--bg-card);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  transition: all var(--t);
}

.nearby-item:hover {
  border-color: var(--gold-border);
  background: var(--gold-lt);
}

.nearby-icon { font-size: 1.2rem; min-width: 24px; padding-top: 1px; }

.nearby-item div { display: flex; flex-direction: column; gap: 1px; }
.nearby-item strong { font-size: 0.85rem; font-weight: 700; color: var(--text-1); }
.nearby-item span   { font-size: 0.77rem; color: var(--text-3); line-height: 1.4; }

.map-col { position: sticky; top: calc(var(--nav-h) + 20px); }

.map-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1px solid var(--border-g);
}

.map-wrap iframe { display: block; }

.map-caption {
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 10px;
}


/* ==============================================
   HOW IT WORKS
   ============================================== */
.how-section { background: var(--bg); }

.steps-wrap {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1fr;
  align-items: start;
  gap: 0;
}

.step { text-align: center; padding: 0 10px; }

.step-num {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-lt);
  border: 1px solid var(--gold-border);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}

.step-emoji { font-size: 2rem; display: block; margin-bottom: 12px; }

.step h3 { font-size: 0.94rem; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.step p  { font-size: 0.82rem; color: var(--text-2); line-height: 1.6; }

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.35;
}


/* ==============================================
   CTA SECTION
   ============================================== */
.cta-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-g);
  border-bottom: none;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.07) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.cta-section::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,169,110,0.05) 0%, transparent 70%);
  bottom: -200px; left: -80px;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-sub { font-size: 1.05rem; color: var(--text-2); margin-bottom: 40px; }

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #FFFFFF;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  padding: 18px 44px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(201,169,110,0.3);
  transition: all var(--t);
  margin-bottom: 28px;
}

.btn-cta-main:hover {
  background: var(--gold-bright);
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(201,169,110,0.38);
}

.cta-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cta-meta span     { font-size: 0.88rem; color: var(--text-2); font-weight: 500; }
.cta-hours         { font-size: 0.76rem !important; color: var(--text-3) !important; }


/* ==============================================
   FOOTER
   ============================================== */
.footer {
  background: #0D1B2A;
  color: rgba(255,255,255,0.85);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.footer-brand .logo-primary  { color: #FFFFFF; }
.footer-brand .logo-secondary { color: rgba(255,255,255,0.45); }
.footer-brand p { color: rgba(255,255,255,0.55); }
.footer-col h4  { color: rgba(255,255,255,0.70); }
.footer-col a   { color: rgba(255,255,255,0.50); }
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom p { color: rgba(255,255,255,0.35); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 18px;
}

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all var(--t);
}

.footer-wa-btn:hover { background: #1ab055; transform: translateY(-1px); }

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a  { font-size: 0.84rem; color: rgba(255,255,255,0.50); transition: color var(--t); }
.footer-col a:hover { color: #FFFFFF; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.74rem; color: rgba(255,255,255,0.30); }


/* ==============================================
   FLOATING WHATSAPP
   ============================================== */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 990;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,0.45);
  opacity: 0;
  transform: scale(0.6);
  transition: background var(--t), box-shadow var(--t);
}

.wa-float.visible {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1), background var(--t), box-shadow var(--t);
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.8s ease-out infinite;
  z-index: -1;
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.1); opacity: 0; }
}

.wa-float:hover {
  background: #1ab055;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-lift);
  color: var(--text-1);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--bg-lift);
}

.wa-float:hover .wa-tooltip { opacity: 1; }


/* ==============================================
   SCROLL ANIMATIONS
   ============================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity  0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-stats-bar {
  animation: heroFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.apt-card {
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ==============================================
   RESPONSIVE — TABLET ≤1024px
   ============================================== */
@media (max-width: 1024px) {
  .apt-content { padding: 40px 32px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-wrap { grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr; }
  .trust-item { padding: 10px 20px; }
  .trust-divider { display: none; }
  .hero-scroll-hint { display: none; }
}


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

  /* Nav */
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(241,244,248,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
    padding: 80px 32px 48px;
  }

  .nav-links.open { display: flex; }
  .nav-links a:not(.btn-nav) { font-size: 1.2rem; color: var(--text-1); }
  .nav-links .btn-nav { font-size: 1rem; padding: 14px 32px; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content { padding-top: calc(var(--nav-h) + 44px); }
  .hero-title { font-size: clamp(3rem, 12vw, 4.5rem); }
  .hero-title-sub { font-size: 1.4rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  .hero-stats-bar { margin-top: 40px; }
  .hero-stats-inner { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 50%; padding: 16px 10px; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .hero-stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.12); }
  .hero-stat:nth-child(odd)  { border-left: none; }

  /* Trust */
  .trust-grid { flex-direction: column; align-items: flex-start; gap: 0; }
  .trust-item { border-bottom: 1px solid var(--border); padding: 16px 0; width: 100%; }
  .trust-item:last-child { border-bottom: none; }

  /* Rooms */
  .rooms-grid { grid-template-columns: 1fr; }
  .conditions-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
  }
  .cond-sep { display: none; }

  /* Apt */
  .apt-card { grid-template-columns: 1fr; }
  .apt-img-col { min-height: 240px; aspect-ratio: 16/9; }
  .apt-content { padding: 28px 22px 32px; }
  .apt-title { font-size: 1.8rem; }
  .apt-features { grid-template-columns: repeat(2, 1fr); }
  .apt-price-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .apt-price-row .btn { width: 100%; justify-content: center; }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr; }

  /* Location */
  .location-grid { grid-template-columns: 1fr; }
  .map-col { position: static; }

  /* Steps */
  .steps-wrap {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
    gap: 6px;
  }
  .step-arrow {
    padding: 4px 0;
    font-size: 1.2rem;
    transform: rotate(90deg);
    justify-content: center;
  }

  /* CTA */
  .btn-cta-main { padding: 16px 26px; font-size: 0.97rem; width: 100%; justify-content: center; }
  .cta-title { font-size: 1.9rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  /* WA Float */
  .wa-float { bottom: 18px; right: 18px; width: 56px; height: 56px; }
  .wa-tooltip { display: none; }

  /* General */
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
}


/* ==============================================
   ZONA / ENTORNO
   ============================================== */
.zona-section { background: var(--bg-alt); }

.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.mf-btn {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t);
  font-family: var(--font);
}
.mf-btn:hover { border-color: var(--gold); color: var(--gold); }
.mf-btn.is-active { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 700; }

.entorno-map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border-g);
  margin-bottom: 36px;
}

.entorno-map {
  width: 100%;
  height: 480px;
  z-index: 0;
}

.zona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.zona-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.zona-card:hover { box-shadow: var(--sh-sm); transform: translateY(-2px); border-color: var(--gold-border); }

.zona-card-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.zona-icon-blue   { background: rgba(79,70,229,0.12); color: #4338ca; }
.zona-icon-green  { background: rgba(5,150,105,0.12); color: #047857; }
.zona-icon-orange { background: rgba(194,65,12,0.12); color: #c2410c; }
.zona-icon-amber  { background: rgba(180,83,9,0.12);  color: #92400e; }

.zona-card-body h4 {
  font-size: 0.84rem; font-weight: 700;
  color: var(--text-1); margin-bottom: 10px;
}
.zona-card-body ul { display: flex; flex-direction: column; gap: 7px; }
.zona-card-body li {
  font-size: 0.79rem; color: var(--text-2);
  display: flex; align-items: baseline; gap: 7px; line-height: 1.4;
}
.zona-dist {
  font-size: 0.66rem; font-weight: 700;
  color: var(--gold); background: var(--gold-lt);
  padding: 2px 7px; border-radius: 20px;
  white-space: nowrap; flex-shrink: 0;
}

@media (max-width: 900px) { .zona-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .zona-grid { grid-template-columns: 1fr; } }


/* ==============================================
   FAQ
   ============================================== */
.faq-section { background: var(--bg); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}
.faq-item:hover { box-shadow: var(--sh-sm); border-color: var(--gold-border); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  line-height: 1.4;
}

.faq-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-lt);
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--gold-border);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; transition: transform var(--t); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.faq-a p {
  padding: 0 20px 18px;
  font-size: 0.87rem;
  color: var(--text-2);
  line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 200px; }

@media (max-width: 700px) { .faq-grid { grid-template-columns: 1fr; } }


/* ==============================================
   BOOKING CALENDAR
   ============================================== */
.booking-section { background: var(--bg-alt); }

.booking-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border-g);
  padding: 36px;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cal-month-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  text-transform: capitalize;
}

.cal-nav {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.cal-weekdays span {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 0;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: default;
  transition: transform var(--t);
  position: relative;
  color: var(--text-1);
}
.cal-day.empty { background: none; }
.cal-day.past  { color: var(--text-3); background: none; }
.cal-day.free {
  background: var(--gold-lt);
  color: var(--gold);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--gold-border);
}
.cal-day.free:hover {
  background: var(--gold);
  color: #FFFFFF;
  transform: scale(1.08);
  border-color: var(--gold);
}
.cal-day.booked {
  background: rgba(239,68,68,0.10);
  color: #f87171;
  font-weight: 600;
}
.cal-day.booked::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f87171;
  position: absolute;
  bottom: 5px;
}
.cal-day.today {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.cal-day.sunday { opacity: 0.3; cursor: default; }

.cal-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-2);
}
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-free    { background: var(--gold); }
.dot-booked  { background: #f87171; }
.dot-past    { background: var(--border); }

.cal-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.cal-cta-text {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.5;
}
.btn-book {
  display: inline-block;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: var(--r-pill);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-book:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,169,110,0.3);
}

.cal-popup {
  margin-top: 20px;
  padding: 20px;
  background: var(--gold-lt);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-md);
  position: relative;
  animation: fadeUp 0.22s ease;
}
.cal-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 0.9rem;
  color: var(--text-3);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.cal-popup-close:hover { color: var(--text-1); }
.cal-popup-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 4px;
}
.cal-popup-date {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 2px;
  text-transform: capitalize;
}
.cal-popup-hours {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 14px;
}
.cal-popup-form-note {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 12px;
}
.cal-popup-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.cal-popup-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
}
.cal-popup-input {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--text-1);
  background: var(--bg-card);
  outline: none;
  transition: border-color var(--t);
  width: 100%;
  box-sizing: border-box;
}
.cal-popup-input:focus { border-color: var(--gold); }
.cal-popup-error {
  font-size: 0.78rem;
  color: #dc2626;
  margin-bottom: 8px;
}
.btn-popup-continue {
  width: 100%;
  background: var(--gold);
  color: #FFFFFF;
  border: none;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 11px 16px;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
  margin-top: 4px;
}
.btn-popup-continue:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}
.cal-popup-ready {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 12px;
}
.cal-popup-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-popup {
  flex: 1;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  transition: background var(--t), transform var(--t);
  text-align: center;
}
.btn-popup--cal {
  background: var(--gold);
  color: #FFFFFF;
}
.btn-popup--cal:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}
.btn-popup--wa {
  background: #25D366;
  color: #FFFFFF;
}
.btn-popup--wa:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .booking-card { padding: 24px 16px; }
  .cal-day { font-size: 0.8rem; }
  .cal-weekdays span { font-size: 0.62rem; }
  .cal-popup-btns { flex-direction: column; }
  .btn-popup { min-width: unset; }
}


/* ==============================================
   ROOM PLANNER
   ============================================== */
.planner-section { background: var(--bg-alt); }


/* ==============================================
   DISPONIBILIDAD POR PISO
   ============================================== */
.avail-section { background: var(--bg); }

.avail-building {
  max-width: 680px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.avail-floor {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avail-floor-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 48px;
  flex-shrink: 0;
  text-align: right;
}

.avail-rooms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  flex: 1;
}

.avail-room {
  border-radius: var(--r-md);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: transform var(--t), box-shadow var(--t);
  text-align: center;
}

.avail-room--free {
  background: var(--gold-lt);
  border: 1.5px solid var(--gold-border);
  cursor: pointer;
}
.avail-room--free:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(19,34,64,0.12);
}

.avail-room--occupied {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  opacity: 0.5;
  cursor: default;
}

.avail-room-type {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-1);
}

.avail-room-price {
  font-size: 0.72rem;
  color: var(--text-2);
}

.avail-room-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 100px;
}

.avail-room--free .avail-room-badge {
  background: var(--gold);
  color: #fff;
}

.avail-room--occupied .avail-room-badge {
  background: var(--border);
  color: var(--text-3);
}

.avail-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
}

.avail-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-2);
}

.avail-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.avail-dot--free     { background: var(--gold); }
.avail-dot--occupied { background: var(--border); }

@media (max-width: 520px) {
  .avail-floor { flex-direction: column; align-items: flex-start; gap: 6px; }
  .avail-floor-label { width: auto; text-align: left; }
  .avail-rooms { grid-template-columns: repeat(2, 1fr); }
}

.planner-wrap {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.planner-sidebar {
  width: 288px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.planner-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
}

.planner-group-hd {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.planner-group-hd svg { color: var(--gold); flex-shrink: 0; }

.planner-presets {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.preset-btn {
  flex: 1;
  background: var(--bg-lift);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  text-align: center;
  transition: all var(--t);
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.3;
}
.preset-btn small { display: block; font-weight: 400; color: var(--text-3); font-size: 0.63rem; }
.preset-btn:hover { border-color: var(--gold); color: var(--gold); }
.preset-btn.active { background: var(--gold); border-color: var(--gold); color: #0A0806; }
.preset-btn.active small { color: rgba(8,7,5,0.6); }

.planner-dim-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.dim-field { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.dim-label { font-size: 0.7rem; font-weight: 600; color: var(--text-3); }
.dim-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-lift);
  transition: border-color var(--t);
}
.dim-input-wrap:focus-within { border-color: var(--gold); }
.dim-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 7px 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
  font-family: var(--font);
  min-width: 0;
  width: 100%;
}
.dim-input:focus { outline: none; }
.dim-input::-webkit-inner-spin-button,
.dim-input::-webkit-outer-spin-button { opacity: 0.35; }
.dim-unit {
  padding: 0 8px 0 2px;
  font-size: 0.68rem;
  color: var(--text-3);
  font-weight: 600;
  flex-shrink: 0;
}
.dim-x {
  font-size: 1rem;
  color: var(--text-3);
  padding-bottom: 8px;
  font-weight: 300;
  flex-shrink: 0;
}

.furniture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.fur-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-lift);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 9px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: all var(--t);
  min-width: 0;
}
.fur-btn:hover { border-color: var(--gold); background: var(--gold-lt); }
.fur-btn:active { transform: scale(0.97); }
.fur-emoji { font-size: 1.05rem; flex-shrink: 0; line-height: 1; }
.fur-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; overflow: hidden; }
.fur-name { font-size: 0.73rem; font-weight: 600; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fur-size { font-size: 0.63rem; color: var(--text-3); font-weight: 500; }

.planner-text-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: 0.87rem;
  font-family: var(--font);
  color: var(--text-1);
  background: var(--bg-lift);
  margin-bottom: 10px;
  transition: border-color var(--t);
  display: block;
}
.planner-text-input:focus { outline: none; border-color: var(--gold); }
.planner-text-input::placeholder { color: var(--text-3); }

.planner-add-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: var(--gold);
  color: #FFFFFF;
  border: none;
  border-radius: var(--r-sm);
  padding: 10px 16px;
  font-size: 0.87rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--t), transform var(--t);
}
.planner-add-btn:hover { background: var(--gold-bright); transform: translateY(-1px); }

.item-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t);
  border: 1px solid transparent;
  margin-bottom: 4px;
}
.item-row:last-child { margin-bottom: 0; }
.item-row:hover { background: var(--bg-lift); }
.item-row--sel { background: var(--gold-lt); border-color: var(--gold-border); }
.item-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.item-label {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-1);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.item-label small { font-weight: 400; color: var(--text-3); display: block; font-size: 0.66rem; }
.item-status {
  font-size: 0.67rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  flex-shrink: 0;
}
.fit-ok { background: rgba(34,197,94,0.15); color: #4ade80; }
.fit-no { background: rgba(239,68,68,0.15); color: #f87171; }
.item-act {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t);
  flex-shrink: 0;
}
.item-act:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-lt); }

.planner-canvas-col { flex: 1; min-width: 0; }
.planner-canvas-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1px solid var(--border-g);
  background: var(--bg-card);
  cursor: crosshair;
}
.planner-canvas-wrap canvas {
  display: block;
  width: 100%;
  touch-action: none;
  cursor: grab;
}
.planner-canvas-wrap canvas:active { cursor: grabbing; }
.planner-hints {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 0.74rem;
  color: var(--text-3);
  font-weight: 500;
}
.planner-hint-keys {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-family: monospace;
  color: var(--text-2);
}

@media (max-width: 920px) {
  .planner-wrap { flex-direction: column; }
  .planner-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .planner-group { flex: 1 1 260px; }
}
@media (max-width: 600px) {
  .planner-sidebar { flex-direction: column; }
  .planner-group { flex: none; }
  .planner-hints { flex-direction: column; gap: 6px; align-items: flex-start; }
}


/* ==============================================
   CHATBOT WIDGET
   ============================================== */
.chat-bubble {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 991;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 22px rgba(201,169,110,0.45);
  transition: transform 0.2s ease, background 0.2s;
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.08);
  background: var(--gold-bright);
}

.chat-icon-close { display: none; }
.chat-bubble.is-open .chat-icon-open  { display: none; }
.chat-bubble.is-open .chat-icon-close { display: block; }

.chat-panel {
  position: absolute;
  bottom: 72px;
  left: 0;
  width: 340px;
  max-height: 500px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-g);
  box-shadow: 0 12px 50px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  transform: scale(0.92) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.34,1.4,0.64,1), opacity 0.2s ease;
  transform-origin: bottom left;
}

.chat-panel.is-open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: var(--bg-lift);
  border-bottom: 1px solid var(--border-g);
  color: var(--text-1);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.chat-header-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.chat-header-info strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-1); line-height: 1.3; }
.chat-header-info span   { font-size: 11.5px; color: var(--text-3); }

.chat-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 4px 2px;
  transition: color 0.15s;
}
.chat-close:hover { color: var(--text-1); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-alt);
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 88%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  word-break: break-word;
}

.chat-msg-bot {
  background: var(--bg-card);
  color: var(--text-1);
  align-self: flex-start;
  border-radius: 4px 12px 12px 12px;
  box-shadow: var(--sh-xs);
  border: 1px solid var(--border);
}
.chat-msg-bot a { color: var(--gold); }

.chat-msg-user {
  background: var(--gold);
  color: #FFFFFF;
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
  font-weight: 600;
}

.chat-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 11px 14px;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  background: var(--text-3);
  border-radius: 50%;
  animation: chat-bounce 1.1s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes chat-bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-7px); }
}

.chat-quick-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 14px 10px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.chat-quick-btn {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1.5px solid var(--gold-border);
  background: var(--bg-lift);
  cursor: pointer;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: all 0.15s;
}
.chat-quick-btn:hover { background: var(--gold); border-color: var(--gold); color: #0A0806; }

.chat-input-wrap {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  outline: none;
  color: var(--text-1);
  background: var(--bg-lift);
  transition: border-color 0.2s;
}
.chat-input::placeholder { color: var(--text-3); }
.chat-input:focus { border-color: var(--gold); }

.chat-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.chat-send:hover  { background: var(--gold-bright); transform: scale(1.06); }
.chat-send:disabled { background: var(--text-3); cursor: not-allowed; transform: none; }

@media (max-width: 480px) {
  .chat-panel { width: calc(100vw - 52px); }
}


/* ==============================================
   VOICE CALL WIDGET
   ============================================== */
.vcall-bubble {
  position: fixed;
  bottom: 26px;
  left: 98px;
  z-index: 990;
}

.vcall-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-lift);
  color: var(--text-1);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, background 0.2s, border-color 0.2s;
}
.vcall-toggle:hover { transform: scale(1.08); background: var(--bg-card); border-color: var(--gold-border); }

.vcall-panel {
  position: absolute;
  bottom: 62px;
  left: 0;
  width: 280px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-g);
  box-shadow: 0 12px 50px rgba(0,0,0,0.7);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  transform: scale(0.92) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom left;
  transition: transform 0.25s cubic-bezier(0.34,1.4,0.64,1), opacity 0.2s ease;
}
.vcall-panel.is-open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }

.vcall-header {
  background: var(--bg-lift);
  border-bottom: 1px solid var(--border-g);
  color: var(--text-1);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vcall-header-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
  transition: background 0.3s;
}
.vcall-header-dot.is-live { background: #22c55e; animation: dotPulse 1.6s ease-in-out infinite; }

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.vcall-header-info strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-1); line-height: 1.3; }
.vcall-header-info span   { font-size: 11.5px; color: var(--text-3); }

.vcall-body {
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--bg-alt);
}

.vcall-ring {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 3px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.vcall-ring.is-speaking {
  border-color: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,0.12), 0 0 0 14px rgba(34,197,94,0.05);
  animation: vcallRingPulse 1.2s ease-in-out infinite;
}

@keyframes vcallRingPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(34,197,94,0.12), 0 0 0 14px rgba(34,197,94,0.05); }
  50%       { box-shadow: 0 0 0 10px rgba(34,197,94,0.08), 0 0 0 22px rgba(34,197,94,0.03); }
}

.vcall-status-label {
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
  line-height: 1.5;
  max-width: 210px;
}

.vcall-controls { display: flex; align-items: center; gap: 18px; margin-top: 4px; }

.vcall-main-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(34,197,94,0.4);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.vcall-main-btn:hover { transform: scale(1.06); }
.vcall-main-btn.is-active { background: #ef4444; box-shadow: 0 4px 18px rgba(239,68,68,0.4); }
.vcall-main-btn:disabled { background: var(--text-3); box-shadow: none; cursor: not-allowed; transform: none; }

.vcall-mute-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-1);
  border: 2px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}
.vcall-mute-btn:hover { background: var(--text-1); color: var(--bg); border-color: var(--text-1); }
.vcall-mute-btn.is-muted { background: #ef4444; color: #fff; border-color: #ef4444; }

.vcall-mic-note { font-size: 11px; color: var(--text-3); }

@media (max-width: 480px) {
  .vcall-bubble { left: 90px; }
  .vcall-panel  { width: calc(100vw - 106px); }
}


/* ==============================================
   SMALL ≤480px
   ============================================== */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.8rem, 14vw, 3.5rem); }
  .section-title { font-size: 1.7rem; }
  .apt-features { grid-template-columns: repeat(3, 1fr); }
  .cta-title { font-size: 1.7rem; }
}

/* ==============================================
   ROOM GALLERY BUTTON
   ============================================== */
.room-gallery-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  z-index: 2;
}
.room-gallery-btn:hover {
  background: rgba(0,0,0,.8);
  transform: scale(1.04);
}
.room-gallery-btn svg { flex-shrink: 0; }

/* ==============================================
   GALLERY LIGHTBOX
   ============================================== */
.glb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: glbIn .18s ease;
}
.glb-overlay[hidden] { display: none; }

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

.glb-inner {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.glb-close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 10001;
}
.glb-close:hover { background: rgba(255,255,255,.22); }

.glb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 54px 0 4px;
}
.glb-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.glb-counter {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
}

.glb-main-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.glb-img-wrap {
  flex: 1;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  max-height: 70vh;
}
.glb-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 70vh;
  transition: opacity .18s ease;
}
.glb-main-img.fading { opacity: 0; }

.glb-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .1s;
}
.glb-arrow:hover { background: rgba(255,255,255,.2); transform: scale(1.08); }
.glb-arrow:disabled { opacity: .25; pointer-events: none; }

.glb-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.glb-thumbs::-webkit-scrollbar { height: 4px; }
.glb-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }

.glb-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s, opacity .15s;
  opacity: .55;
}
.glb-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.glb-thumb:hover { opacity: .85; }
.glb-thumb.active { border-color: var(--gold, #c8a96e); opacity: 1; }

.glb-thumb-section {
  flex-shrink: 0;
  align-self: center;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
  padding: 0 4px;
}

@media (max-width: 600px) {
  .glb-arrow { width: 36px; height: 36px; font-size: 1.4rem; }
  .glb-thumb  { width: 58px; height: 43px; }
}
