/* ===== THE HUB — Design System ===== */
/* Mondrian palette + Frutiger Aero + Bauhaus grid */

/* Fuentes autohospedadas (sin dependencia de Google Fonts CDN) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/montserrat-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/dmsans-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bauhaus OG';
  src: local('Bauhaus OG'), local('BauhausOG'), local('Bauhaus OG Regular'), local('BauhausOG-Regular');
  font-weight: 100 600;
  font-style: normal;
}
@font-face {
  font-family: 'Bauhaus OG';
  src: local('Bauhaus OG Bold'), local('BauhausOG-Bold'), local('Bauhaus OG Demi'), local('BauhausOG-Demi');
  font-weight: 700 900;
  font-style: normal;
}

:root {
  --red:    #E3232C;
  --blue:   #1B5FA8;
  --yellow: #F5C800;
  --black:  #111111;
  --white:  #FFFFFF;
  --gray:   #F2F4F6;
  --glass:  rgba(255,255,255,0.18);
  --glass-border: rgba(255,255,255,0.35);
  --shadow: 0 8px 48px rgba(27,95,168,0.13);
  --radius: 20px;
  --font-heading: 'Bauhaus OG', 'Montserrat', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* ===== SISTEMA DE ANIMACIONES ===== */

/* Reveal al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero — animación de entrada al cargar la página */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p  { line-height: 1.7; color: #444; }

/* ===== BAUHAUS GRID ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* ===== MONDRIAN ACCENT BLOCKS ===== */
.mondrian-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}
.mondrian-bar span:nth-child(1) { flex: 3; background: var(--red); }
.mondrian-bar span:nth-child(2) { flex: 2; background: var(--blue); }
.mondrian-bar span:nth-child(3) { flex: 1; background: var(--yellow); }
.mondrian-bar span:nth-child(4) { flex: 1; background: var(--black); }

/* ===== FRUTIGER AERO GLASS ===== */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              padding 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar.scrolled { padding: 0.65rem 0; }
.navbar.scrolled {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(28px) url(#liquid-glass-nav) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 -1px 0 rgba(255,255,255,0.08) inset,
    0 8px 32px rgba(0,0,0,0.14),
    0 2px 8px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
  border-radius: 4px;
}
.logo-img-footer {
  height: 48px;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-transform: uppercase;
  transition: color 0.4s;
}
.navbar.scrolled .logo-text { color: var(--black); }
.logo-workspace {
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.65);
  transition: color 0.4s;
}
.navbar.scrolled .logo-workspace { color: rgba(0,0,0,0.5); }
.logo-dark .logo-text { color: var(--white); }
.logo-dark .logo-workspace { color: rgba(255,255,255,0.5); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
.navbar.scrolled .nav-links a { color: var(--black); }
.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--black) !important; transform: translateY(-1px); }

/* ===== HERO PREMIUM (Prisma-style) ===== */
.hp {
  height: 100vh;
  padding: 0.85rem;
  background: #07090f;
  box-sizing: border-box;
}
.hp-wrap {
  position: relative;
  height: 100%;
  border-radius: 1.75rem;
  overflow: hidden;
  background: #07090f;
}

/* Background photo */
.hp-bgimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform-origin: center;
  will-change: transform;
}

/* Film grain / noise */
.hp-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
  opacity: 0.07;
  mix-blend-mode: overlay;
}

/* Gradient: dark top + heavier dark bottom */
.hp-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.45) 0%,
      rgba(0,0,0,0.1) 30%,
      rgba(0,0,0,0.05) 55%,
      rgba(0,0,0,0.75) 100%);
}

/* ── Bottom grid ──────────────────────────────────────────── */
.hp-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  padding: 0 2.5rem 2rem;
  display: grid;
  grid-template-columns: 8fr 4fr;
  align-items: flex-end;
  gap: 2.5rem;
}

/* Eyebrow */
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(228,222,205,0.5);
  margin: 0 0 1rem;
}
.hp-pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: hp-pulse 2s ease-in-out infinite;
}
@keyframes hp-pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(227,35,44,0.5); }
  50% { opacity: 0.65; box-shadow: 0 0 0 5px rgba(227,35,44,0); }
}

/* Giant title */
.hp-h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 0.83;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: rgba(228,222,205,0.96);
  margin: 0;
}
.hp-line {
  display: block;
  overflow: hidden;
}
.hp-word {
  display: inline-block;
  will-change: transform;
}
.hp-the {
  font-size: clamp(2.5rem, 7.5vw, 9rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0.68;
}
.hp-hub {
  font-size: clamp(5.5rem, 21vw, 23rem);
  letter-spacing: -0.05em;
  position: relative;
}
.hp-ast {
  font-size: 0.2em;
  vertical-align: super;
  letter-spacing: 0;
  color: var(--red);
  font-style: normal;
  position: relative;
  top: 0.1em;
}

/* Info column */
.hp-info-col {
  padding-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.hp-desc {
  font-size: clamp(0.82rem, 1vw, 1rem);
  color: rgba(228,222,205,0.68);
  line-height: 1.6;
  margin: 0;
}

/* CTA button (pill with circle arrow) */
.hp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(228,222,205,0.95);
  color: #07090f;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 50px;
  padding: 0.55rem 0.55rem 0.55rem 1.4rem;
  transition: gap 0.35s cubic-bezier(0.34,1.56,0.64,1),
              background 0.2s;
  align-self: flex-start;
  white-space: nowrap;
}
.hp-cta-btn:hover { gap: 0.85rem; background: var(--yellow); }
.hp-arrow-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #07090f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(228,222,205,0.9);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.hp-cta-btn:hover .hp-arrow-circle { transform: rotate(-45deg) scale(1.1); }

/* Stats row */
.hp-stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.hp-stat-item {
  display: flex;
  flex-direction: column;
}
.hp-stat-n {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: rgba(228,222,205,0.9);
  line-height: 1;
}
.hp-stat-n small { font-size: 0.75rem; }
.hp-stat-l {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(228,222,205,0.38);
  margin-top: 0.2rem;
}
.hp-stat-sep {
  width: 1px;
  height: 2rem;
  background: rgba(228,222,205,0.15);
}

/* Scroll hint line */
.hp-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hp-scroll-line {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, transparent, rgba(228,222,205,0.5));
  animation: hp-scroll-drop 2s ease-in-out infinite;
}
@keyframes hp-scroll-drop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* Responsive */
@media (max-width: 900px) {
  .hp { padding: 0.5rem; }
  .hp-wrap { border-radius: 1.25rem; }
  .hp-bottom {
    grid-template-columns: 1fr;
    padding: 0 1.5rem 2rem;
    gap: 1.25rem;
  }
  .hp-info-col { order: -1; }
  .hp-the { font-size: clamp(2rem, 9vw, 5rem); }
  .hp-hub  { font-size: clamp(4rem, 24vw, 9rem); }
  .hp-stats { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 24px rgba(255,255,255,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,0.4); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #154d8a; transform: translateY(-2px); }

/* ===== SECTION STYLES ===== */
section { padding: 6rem 0; }
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: #666; max-width: 540px; margin-bottom: 3rem; }

/* ===== FEATURES / WHY THE HUB ===== */
.features { background: #06090f; position: relative; overflow: hidden; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 24px 72px rgba(27,95,168,0.2); }
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.feature-card:nth-child(1)::before { background: var(--blue); }
.feature-card:nth-child(2)::before { background: var(--red); }
.feature-card:nth-child(3)::before { background: var(--yellow); }
.feature-card:nth-child(4)::before { background: var(--black); }
.feature-card:nth-child(5)::before { background: var(--blue); }
.feature-card:nth-child(6)::before { background: var(--red); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.feature-card:nth-child(1) .feature-icon { background: rgba(27,95,168,0.1); }
.feature-card:nth-child(2) .feature-icon { background: rgba(227,35,44,0.1); }
.feature-card:nth-child(3) .feature-icon { background: rgba(245,200,0,0.15); }
.feature-card:nth-child(4) .feature-icon { background: rgba(17,17,17,0.07); }
.feature-card:nth-child(5) .feature-icon { background: rgba(27,95,168,0.1); }
.feature-card:nth-child(6) .feature-icon { background: rgba(227,35,44,0.1); }
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-card p { font-size: 0.92rem; }

/* ===== SPACES ===== */
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.space-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.space-card:hover { transform: translateY(-8px); box-shadow: 0 24px 72px rgba(27,95,168,0.18); }
.space-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #1B5FA8, #2196d4);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.space-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.space-img-placeholder {
  font-size: 3rem;
  opacity: 0.4;
}
.space-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--blue);
}
.space-body { padding: 1.75rem; }
.space-body h3 { margin-bottom: 0.5rem; }
.space-body p { font-size: 0.92rem; margin-bottom: 1.25rem; }
.space-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.space-meta span {
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.space-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--black);
}
.price-num sub { font-size: 0.75rem; font-weight: 500; color: #888; }

/* ===== PRICING — Aurora ===== */
.pricing {
  background: #07090f;
  position: relative;
  overflow: hidden;
}

/* Aurora background blobs */
.pricing-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.22;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.ab1 {
  width: 560px; height: 560px;
  background: var(--blue);
  top: -10%; left: -5%;
  animation: aurora1 22s infinite alternate ease-in-out;
}
.ab2 {
  width: 480px; height: 480px;
  background: var(--red);
  bottom: -15%; right: -5%;
  animation: aurora2 28s infinite alternate ease-in-out;
}
.ab3 {
  width: 320px; height: 320px;
  background: var(--yellow);
  top: 40%; left: 40%;
  animation: aurora3 18s infinite alternate ease-in-out;
  opacity: 0.6;
}
@keyframes aurora1 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(80px,40px) rotate(120deg); } }
@keyframes aurora2 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(-70px,-45px) rotate(-150deg); } }
@keyframes aurora3 { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,-30px) scale(1.2); } }

.pricing-inner { position: relative; z-index: 1; }
.pricing-head { text-align: center; margin-bottom: 3.5rem; }

/* Section text colours */
.pricing .section-tag,
.pricing-badge-tag { color: var(--yellow); }
.pricing-title { color: var(--white); }
.pricing .section-subtitle { color: rgba(255,255,255,0.5); }

/* Badge tag */
.pricing-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(245,200,0,0.08);
  border: 1px solid rgba(245,200,0,0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
}
.pricing-badge-tag svg { color: var(--yellow); flex-shrink: 0; }

/* Toggle */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.toggle-lbl {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s;
}
.toggle-lbl.inactive { color: rgba(255,255,255,0.35); }
.pricing-toggle-btn {
  width: 52px; height: 28px;
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  position: relative;
  transition: background 0.35s;
  flex-shrink: 0;
}
.pricing-toggle-btn.is-monthly { background: var(--blue); border-color: var(--blue); }
.ptoggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.pricing-toggle-btn.is-monthly .ptoggle-knob { transform: translateX(24px); }
.toggle-save-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(245,200,0,0.1);
  border: 1px solid rgba(245,200,0,0.25);
  border-radius: 50px;
  padding: 0.2rem 0.75rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.toggle-save-chip.visible { opacity: 1; }

/* Cards grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  border-radius: 1.1rem;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s;
}
.pricing-card:hover { transform: translateY(-8px) scale(1.01); border-color: rgba(255,255,255,0.16); }
.pricing-card.featured {
  background: rgba(27,95,168,0.18);
  border-color: rgba(27,95,168,0.5);
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-8px); border-color: rgba(27,95,168,0.8); }

/* Card hover glow */
.pc-glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(27,95,168,0.25), rgba(245,200,0,0.12));
  opacity: 0;
  filter: blur(18px);
  transition: opacity 0.45s;
  pointer-events: none;
  z-index: 0;
}
.pc-glow-featured {
  background: linear-gradient(135deg, rgba(27,95,168,0.5), rgba(227,35,44,0.2));
}
.pricing-card:hover .pc-glow { opacity: 1; }
.pricing-card > * { position: relative; z-index: 1; }

/* Plan badge */
.plan-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 0 1.1rem 0 0.7rem;
  z-index: 2;
}

/* Plan name */
.plan-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.6rem;
}
.pricing-card.featured .plan-name { color: rgba(255,255,255,0.75); }

/* Plan description */
.plan-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.6rem;
  line-height: 1.5;
}
.pricing-card.featured .plan-desc { color: rgba(255,255,255,0.55); }

/* Price row */
.plan-price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}
.plan-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3.6rem;
  color: var(--white);
  line-height: 1;
  transition: opacity 0.18s, transform 0.18s;
}
.plan-num.price-exit   { opacity: 0; transform: translateY(-10px); }
.plan-num.price-enter  { animation: price-pop 0.35s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes price-pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.plan-price-meta {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.6rem;
}
.plan-cur {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  line-height: 1;
}
.plan-per {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

/* Capacity line */
.plan-capacity {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.8rem;
  letter-spacing: 0.04em;
}

/* Features */
.plan-features { list-style: none; margin-bottom: 2rem; }
.plan-features li {
  padding: 0.55rem 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.plan-features li::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  background: var(--yellow);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 8 6.5 11.5 13 4.5'/%3E%3C/svg%3E");
  background-size: contain;
}
.pricing-card.featured .plan-features li { color: rgba(255,255,255,0.85); }

/* CTA buttons */
.plan-btn { width: 100%; justify-content: center; margin-top: auto; }
.btn-white { background: var(--white); color: var(--blue); width: 100%; justify-content: center; }
.btn-white:hover { background: var(--yellow); color: var(--black); transform: translateY(-2px); }
.btn-glass {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
  width: 100%;
  justify-content: center;
}
.btn-glass:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

/* ===== BOOKING SECTION ===== */
.booking { background: var(--gray); }
.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}
.booking-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.booking-form-wrap h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e0e4ea;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: #fafbfc;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); background: var(--white); }
.form-group input:invalid:not(:placeholder-shown) { border-color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Honeypot anti-spam: oculto visualmente pero presente en el DOM */
.hp-field {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.form-error {
  background: rgba(227,35,44,0.08);
  border: 1px solid rgba(227,35,44,0.3);
  color: var(--red);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 1rem;
  margin-top: 3rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #1B5FA8, #0d3a6b);
  position: relative;
}
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item img { width:100%; height:100%; object-fit:cover; display:block; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.3;
  color: white;
}

/* ===== LOCATION ===== */
.location { background: var(--white); }
.location-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* ── Globe → Satellite → Street View map ───────────────────── */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
  box-shadow: var(--shadow);
  background: #06090f;
  position: relative;
}

/* ── Globe stage ─────────────────────────────────────────────── */
.globe-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06090f;
}
.globe-stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.globe-sphere-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.globe-sphere {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow:
    inset -45px -18px 65px rgba(0,0,0,0.7),
    inset 10px 8px 30px rgba(255,255,255,0.06);
}
.globe-texture {
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 100%;
  background:
    url('https://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Land_ocean_ice_2048.jpg/1024px-Land_ocean_ice_2048.jpg')
    left center / 50% 100% repeat-x;
  animation: globe-spin 22s linear infinite;
}
.globe-shadow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 62%, transparent 35%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}
.globe-shine {
  position: absolute;
  top: 8%; left: 12%;
  width: 42%; height: 36%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 38% 33%, rgba(255,255,255,0.28) 0%, transparent 65%);
  pointer-events: none;
}
.globe-atmo {
  position: absolute;
  width: 330px; height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle,
    transparent 43%,
    rgba(90,150,255,0.18) 56%,
    rgba(40,80,200,0.07) 70%,
    transparent 80%);
  pointer-events: none;
  animation: atmo-breathe 5s ease-in-out infinite;
}
@keyframes globe-spin   { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes atmo-breathe { 0%,100% { opacity: 0.75; } 50% { opacity: 1; } }

/* ── Leaflet satellite ───────────────────────────────────────── */
#lf-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s;
}

/* ── Street View overlay ─────────────────────────────────────── */
.sv-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}
.sv-overlay iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.sv-back-btn {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 10;
  background: rgba(6,9,15,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.sv-back-btn:hover { background: rgba(6,9,15,0.95); border-color: rgba(255,255,255,0.3); }

/* ── Cinematic vignette ──────────────────────────────────────── */
.map-vignette {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at center, transparent 52%, rgba(0,0,0,0.58) 100%);
  pointer-events: none;
  z-index: 400;
}

/* ── Location label pill ─────────────────────────────────────── */
.map-zoom-label {
  position: absolute;
  bottom: 1.25rem; left: 50%;
  transform: translateX(-50%);
  background: rgba(6,9,15,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.42rem 1.1rem;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 500;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.map-zoom-label.visible { opacity: 1; }

/* ── Leaflet pin marker ──────────────────────────────────────── */
.lf-pin-wrap {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.lf-pin-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--red);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  z-index: 1; position: relative;
}
.lf-pin-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(227,35,44,0.6);
  animation: lf-pulse 2.2s ease-out infinite;
}
.lf-pin-ring-2 {
  position: absolute; inset: -8px; border-radius: 50%;
  border: 1.5px solid rgba(227,35,44,0.28);
  animation: lf-pulse 2.2s ease-out 0.55s infinite;
}
@keyframes lf-pulse { 0% { transform: scale(0.7); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

.leaflet-control-attribution {
  font-size: 9px !important;
  background: rgba(0,0,0,0.5) !important;
  color: rgba(255,255,255,0.45) !important;
}
.location-info h2 { margin-bottom: 1rem; }
.location-info p { margin-bottom: 2rem; }
.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.location-detail-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(27,95,168,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.location-detail h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2rem; }
.location-detail p { font-size: 0.9rem; margin: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: #06090f; overflow: hidden; position: relative; }
.testimonials-track { display: flex; gap: 1.5rem; margin-top: 3rem; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  min-width: 320px;
  flex: 0 0 320px;
  box-shadow: var(--shadow);
}
.testimonial-stars { color: var(--yellow); margin-bottom: 1rem; font-size: 0.9rem; letter-spacing: 0.1em; }
.testimonial-text { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; color: #444; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-role { font-size: 0.8rem; color: #888; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #0d3a6b 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.cta-banner .mondrian-bar { max-width: 200px; margin: 0 auto 2rem; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 480px; margin: 0 auto 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer {
  background: #0a0a0a;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1.25rem; display: inline-flex; align-items: center; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a {
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-mondrian { display: flex; gap: 4px; }
.footer-mondrian span { width:20px; height:6px; border-radius:3px; }

/* ===== GLASSMORPHISM ===== */
.glass-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: 0 6px 32px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.08);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}
.glass-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 24px 64px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.12); }
.gl-blur {
  position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  backdrop-filter: blur(6px); filter: url(#glass-distortion); isolation: isolate;
}
.gl-tint {
  position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  background: rgba(255,255,255,0.18);
}
.gl-edge {
  position: absolute; inset: 0; z-index: 2; border-radius: inherit;
  box-shadow: inset 2px 2px 1px rgba(255,255,255,0.5), inset -1px -1px 1px rgba(255,255,255,0.3);
}
.gl-content { position: relative; z-index: 3; }

/* ===== VIRTUAL TOUR — ESPACIOS ===== */
.tour-section {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 620px;
  overflow: hidden;
  padding: 0;
  background: #06090f;
}
.tour-viewport {
  position: absolute; inset: 0;
  overflow: hidden;
}
.tour-photo {
  position: absolute;
  inset: -8%;
  width: 116%; height: 116%;
  object-fit: cover;
  will-change: transform;
}
.tour-photo-b { opacity: 0; }

.tour-grain {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.tour-vignette {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background:
    linear-gradient(to right,  rgba(6,9,15,0.75) 0%, transparent 32%, transparent 68%, rgba(6,9,15,0.55) 100%),
    linear-gradient(to bottom, rgba(6,9,15,0.55) 0%, transparent 18%, transparent 58%, rgba(6,9,15,0.92) 100%);
}

/* Top tag */
.tour-header-tag {
  position: absolute; top: 2.8rem; left: 50%; transform: translateX(-50%);
  z-index: 10;
}
.tour-tag-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--yellow);
  background: rgba(6,9,15,0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
}

/* Info panel */
.tour-panel {
  position: absolute; bottom: 5.5rem; left: 3rem;
  z-index: 10; max-width: 360px;
  background: rgba(6,9,15,0.68);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 1.75rem 2rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.09);
}
.tour-eyebrow {
  font-family: var(--font-heading); font-size: 0.62rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 0.5rem;
}
.tour-name {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--white); line-height: 1.1; margin-bottom: 0.3rem;
}
.tour-sub {
  font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 1.1rem;
}
.tour-price-row {
  display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1rem;
}
.tour-price {
  font-family: var(--font-heading); font-weight: 900;
  font-size: 1.45rem; color: var(--white);
}
.tour-capacity {
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.4); letter-spacing: 0.06em;
}
.tour-feats {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.4rem;
}
.tour-feats li {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.7rem;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px; padding: 0.28rem 0.75rem;
}
.tour-cta-btn {
  display: inline-flex; align-items: center; padding: 0.65rem 1.4rem;
  border-radius: 50px; font-family: var(--font-heading); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.04em; text-decoration: none;
  background: var(--blue); color: var(--white);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.tour-cta-btn:hover { background: var(--white); color: var(--blue); transform: translateY(-2px); }

/* Counter */
.tour-counter {
  position: absolute; top: 2.7rem; right: 2.5rem; z-index: 10;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.4);
}

/* Nav tabs */
.tour-tabs {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 0.35rem;
  background: rgba(6,9,15,0.68);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 50px; padding: 0.32rem;
  white-space: nowrap;
}
.tour-tab {
  background: transparent; border: none; cursor: pointer;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  padding: 0.42rem 1.1rem; border-radius: 50px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.tour-tab.active { background: var(--blue); color: var(--white); }
.tour-tab:hover:not(.active) { color: rgba(255,255,255,0.85); }

/* Arrows */
.tour-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(6,9,15,0.62);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.tour-arrow:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-50%) scale(1.06); }
.tour-prev { left: 1.5rem; }
.tour-next { right: 1.5rem; }

/* Responsive */
@media (max-width: 768px) {
  .tour-panel { left: 1rem; right: 1rem; max-width: none; bottom: 6rem; padding: 1.25rem 1.5rem; }
  .tour-tabs  { max-width: calc(100vw - 2rem); overflow-x: auto; scrollbar-width: none; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-arrow { display: none; }
  .tour-counter { top: auto; bottom: 7rem; right: 1.2rem; }
}

/* ===== PREMIUM DARK GLASS SECTIONS ===== */

/* Features — dark orbs */
.features::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 70% at 85% 10%, rgba(27,95,168,0.28) 0%, transparent 68%),
    radial-gradient(ellipse 45% 45% at 15% 85%, rgba(245,200,0,0.07) 0%, transparent 65%);
}
.features .section-tag { color: var(--yellow); }
.features .section-title { color: var(--white); }
.features .section-subtitle { color: rgba(255,255,255,0.48); }
.features-grid { position: relative; z-index: 1; }

/* Feature cards — glass on dark */
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.feature-card:hover {
  background: rgba(255,255,255,0.07);
  box-shadow: 0 24px 64px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.15);
}
.feature-card::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 55%);
  border-radius: inherit;
  mix-blend-mode: screen;
}
.feature-card h3 { color: var(--white); }
.feature-card p { color: rgba(255,255,255,0.45); }
.feature-card:nth-child(1) .feature-icon { background: rgba(27,95,168,0.2); border: 1px solid rgba(27,95,168,0.3); }
.feature-card:nth-child(2) .feature-icon { background: rgba(227,35,44,0.2); border: 1px solid rgba(227,35,44,0.3); }
.feature-card:nth-child(3) .feature-icon { background: rgba(245,200,0,0.15); border: 1px solid rgba(245,200,0,0.25); }
.feature-card:nth-child(4) .feature-icon { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); }
.feature-card:nth-child(5) .feature-icon { background: rgba(27,95,168,0.2); border: 1px solid rgba(27,95,168,0.3); }
.feature-card:nth-child(6) .feature-icon { background: rgba(227,35,44,0.2); border: 1px solid rgba(227,35,44,0.3); }

/* Spaces — subtle Bauhaus grid bg + card glass sheen */
#espacios { position: relative; }
#espacios::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(27,95,168,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27,95,168,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
}
.spaces-grid { position: relative; z-index: 1; }
.space-card::after {
  content: '';
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.space-card:hover::after { opacity: 1; }

/* Gallery — subtle Bauhaus grid bg */
#galeria { position: relative; }
#galeria::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(27,95,168,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27,95,168,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
}
.gallery-grid { position: relative; z-index: 1; }

/* Pricing cards — real glass blur on dark */
.pricing-card {
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

/* Testimonials — dark orbs + glass cards */
.testimonials::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 60% at 90% 50%, rgba(227,35,44,0.1) 0%, transparent 68%),
    radial-gradient(ellipse 40% 40% at 10% 50%, rgba(27,95,168,0.14) 0%, transparent 65%);
}
.testimonials .section-tag { color: var(--yellow); }
.testimonials .section-title { color: var(--white); }
.testimonials-track { position: relative; z-index: 1; }
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.testimonial-text { color: rgba(255,255,255,0.6); }
.author-name { color: var(--white); }
.author-role { color: rgba(255,255,255,0.4); }

/* ===== FOOTER LEGAL LINKS ===== */
.footer-bottom {
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.7rem;
  font-size: 0.82rem;
}
.footer-legal-links a,
.footer-link-btn {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-links a:hover,
.footer-link-btn:hover { color: var(--white); }
.footer-legal-links span { color: rgba(255,255,255,0.2); }
.footer-link-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

/* ===== STREET VIEW PLACEHOLDER (consentimiento de cookies) ===== */
.sv-placeholder {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  padding: 2rem;
  background: rgba(6,9,15,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sv-placeholder p {
  max-width: 360px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== COOKIE CONSENT BANNER ===== */
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.8rem; }
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 1000;
  max-width: 760px;
  margin: 0 auto;
  background: rgba(6,9,15,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  padding: 1.5rem;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1 1 320px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  line-height: 1.6;
}
.cookie-banner-text a { color: var(--white); }
.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .booking-inner, .location-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-row: auto; grid-column: 1/3; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  section { padding: 4rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-column: auto; }
  .cookie-banner { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; padding: 1.25rem; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}
