/* ============================================
   CRISTAL PALACE HOTEL — Design System
   ============================================ */

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

:root {
  /* Color Palette — Sophisticated Hotel */
  --navy-900: #0a1628;
  --navy-800: #0f1f35;
  --navy-700: #142842;
  --navy-600: #1a3555;
  --navy-500: #1e4068;
  --gold-400: #c9a84c;
  --gold-300: #d4b96a;
  --gold-200: #e0cb8e;
  --gold-100: #f0e6c8;
  --ice-blue: #7eb8d8;
  --ice-light: #b4d8eb;
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);
  --black-50: rgba(0, 0, 0, 0.5);
  --black-30: rgba(0, 0, 0, 0.3);

  /* Gradients */
  --gradient-hero: linear-gradient(180deg, rgba(10, 22, 40, 0.3) 0%, rgba(10, 22, 40, 0.85) 100%);
  --gradient-dark: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  --gradient-card: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  --gradient-gold: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-300) 100%);

  /* Typography */
  --font-display: "Julius Sans One", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Spacing */
  --section-padding: clamp(60px, 10vw, 120px);
  --container-max: 1200px;
  --container-padding: clamp(16px, 4vw, 40px);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-normal: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.3);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--white-90);
  background: var(--navy-900);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.section-title .gold-line {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gradient-gold);
  margin: 0 auto 16px;
  border-radius: 2px;
}

.section-title p {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--white-50);
  max-width: 550px;
  margin: 0 auto;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}


/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition-normal), padding var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.navbar-logo img {
  height: 56px;
  width: auto;
  transition: height var(--transition-normal);
}

.navbar-logo .logo-mobile {
  display: none;
}

.navbar.scrolled .navbar-logo img {
  height: 44px;
}

.navbar-logo span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

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

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-70);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-400);
  transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-display) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.15em !important;
  padding: 10px 24px !important;
  color: var(--gold-300) !important;
  border-radius: 100px;
  transition: all var(--transition-fast) !important;
  position: relative;
  background: transparent !important;
  border: none !important;
  /* using mask for border */
  z-index: 1;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 1px;
  /* border thickness */
  background: linear-gradient(90deg, var(--gold-400) 0%, transparent 50%, var(--gold-400) 100%);
  background-size: 200% 100%;
  animation: borderShine 2.5s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  pointer-events: none;
}

@keyframes borderShine {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.nav-cta:hover {
  background: var(--gold-400) !important;
  color: var(--navy-900) !important;
}

.nav-cta::after {
  display: none !important;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .navbar-logo .logo-desktop {
    display: none;
  }

  .navbar-logo .logo-mobile {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    z-index: 1000;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1rem;
    letter-spacing: 0.2em;
  }
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--navy-900);
  /* Offset for fixed navbar so hero content always has breathing room */
  padding-top: clamp(80px, 12vw, 120px);
  padding-bottom: 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  animation: heroFadeIn 1.5s var(--ease-out) forwards;
  opacity: 0;
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content .hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-300);
  border: 1px solid var(--gold-400);
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: heroFadeIn 1.5s var(--ease-out) 0.3s forwards;
  opacity: 0;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 6vw, 4.5rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  animation: heroFadeIn 1.5s var(--ease-out) 0.5s forwards;
  opacity: 0;
  line-height: 1.1;
  font-weight: 600;
  -webkit-text-stroke: 0.4px var(--white);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-content .hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--white-70);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  animation: heroFadeIn 1.5s var(--ease-out) 0.7s forwards;
  opacity: 0;
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white-50);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition-fast);
  animation: heroFadeIn 1.5s var(--ease-out) 1s forwards;
  opacity: 0;
}

.hero-scroll:hover {
  color: var(--gold-300);
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: var(--white-20);
  position: relative;
  overflow: hidden;
}

.hero-scroll .scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-400);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    top: -100%;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: var(--section-padding) 0;
  background: var(--navy-900);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--white-10);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.about-text .gold-line {
  width: 50px;
  height: 2px;
  background: var(--gradient-gold);
  margin-bottom: 24px;
  border-radius: 2px;
}

.about-text p {
  color: var(--white-70);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-text .about-highlight {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--white-10);
}

.about-highlight-item {
  text-align: center;
}

.about-highlight-item .number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-400);
  display: block;
}

.about-highlight-item .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white-50);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-text .about-highlight {
    justify-content: center;
  }
}


/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: var(--section-padding) 0;
  background: var(--navy-800);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition-normal);
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  color: var(--white-70);
}

.service-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.service-card .service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--white-50);
  line-height: 1.6;
}


/* ============================================
   ROOMS GALLERY
   ============================================ */
.rooms-section {
  padding: var(--section-padding) 0;
  background: var(--navy-900);
}

.rooms-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 12px;
}

.room-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  group: true;
}

.room-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.room-card:hover img {
  transform: scale(1.08);
}

.room-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, 0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.room-card:hover::after {
  opacity: 1;
}

.room-card .room-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.room-card:hover .room-label {
  opacity: 1;
  transform: translateY(0);
}

/* Zoom icon on hover */
.room-card .zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 2;
  width: 48px;
  height: 48px;
  background: var(--white-20);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
  font-size: 1.2rem;
}

.room-card:hover .zoom-icon {
  transform: translate(-50%, -50%) scale(1);
}

/* ============================================
   BREAKFAST BADGE (MINIMALIST)
   ============================================ */
.breakfast-badge {
  background: var(--navy-800);
  border: none;
  position: relative;
  border-radius: 100px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin: 40px auto 0;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.breakfast-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 1px;
  background: linear-gradient(90deg, var(--gold-400) 0%, transparent 50%, var(--gold-400) 100%);
  background-size: 200% 100%;
  animation: borderShine 2.5s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.breakfast-badge-text {
  color: var(--white);
  font-size: 0.95rem;
}

.breakfast-badge-text strong {
  color: var(--gold-400);
  font-weight: 600;
}

.breakfast-avatars {
  display: flex;
}

.breakfast-avatars img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--navy-800);
  margin-left: -16px;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.breakfast-avatars img:first-child {
  margin-left: 0;
}

.breakfast-avatars img:hover {
  transform: translateY(-4px);
  z-index: 10;
}

@media (max-width: 600px) {
  .breakfast-badge {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-md);
  }

  .breakfast-badge::before {
    display: none;
  }

  .breakfast-avatars {
    justify-content: center;
  }

  .breakfast-avatars img {
    width: 40px;
    height: 40px;
    margin-left: -12px;
  }

  .breakfast-avatars img:first-child {
    margin-left: 0;
  }
}

/* ============================================
   MAPA NEURONAL — "CERCA DE TODO"
   ============================================ */
.events-section {
  padding: var(--section-padding) 0;
  background: radial-gradient(circle at center, var(--navy-800) 0%, var(--navy-900) 100%);
  position: relative;
  overflow: hidden;
}

/* Selector de Categorías */
.neural-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.category-btn {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(15, 31, 53, 0.6);
  color: var(--white-70);
  border: 1px solid var(--white-10);
  padding: 10px 24px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.category-btn:hover {
  color: var(--white);
  border-color: var(--gold-400);
  background: rgba(20, 40, 66, 0.8);
}

.category-btn.active {
  background: var(--gold-400);
  color: var(--navy-900);
  border-color: var(--gold-400);
  font-weight: 600;
  box-shadow: var(--shadow-gold);
}

.category-btn i {
  font-size: 0.85rem;
}

.neural-map-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  background: rgba(10, 22, 40, 0.4);
  border: 1px solid var(--white-05);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.4), var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.neural-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.neural-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Base Node Styling & Dynamic Sliding Transition */
.neural-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  cursor: pointer;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  /* Left, top, transform, and opacity transitions create a stunning sliding/expansion animation! */
  transition: left 0.8s var(--ease-out), top 0.8s var(--ease-out), transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
  opacity: 0;
  /* Animated dynamically by JS on viewport enter */
}

.neural-node.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.neural-node .node-icon {
  width: 50px;
  height: 50px;
  background: rgba(15, 31, 53, 0.75);
  border: 1.5px solid var(--white-20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-90);
  font-size: 1.25rem;
  box-shadow: var(--shadow-md), inset 0 2px 4px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.neural-node .node-icon img.node-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.neural-node .node-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-70);
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(10, 22, 40, 0.6);
  border: 0.5px solid var(--white-10);
  white-space: nowrap;
  pointer-events: none;
  transition: all var(--transition-normal);
}

/* Secondary Node Interactions */
.neural-node:hover .node-icon,
.neural-node.active-hover .node-icon {
  background: var(--navy-900);
  border-color: var(--gold-400);
  color: var(--gold-300);
  transform: scale(1.1);
  box-shadow: var(--shadow-gold), 0 0 15px rgba(201, 168, 76, 0.3);
}

.neural-node:hover .node-tag,
.neural-node.active-hover .node-tag {
  color: var(--white);
  border-color: var(--gold-400);
  background: rgba(20, 40, 66, 0.85);
}

/* Center Node (Cristal Palace Hotel) */
.neural-node.node-center {
  z-index: 4;
}

.neural-node.node-center .node-icon {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, var(--navy-800) 40%, var(--navy-900) 100%);
  border: 2px solid var(--gold-400);
  box-shadow: var(--shadow-gold), 0 0 30px rgba(201, 168, 76, 0.4);
  padding: 14px;
}

.neural-node.node-center img.center-node-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.neural-node.node-center .node-tag {
  font-weight: 600;
  color: var(--gold-300);
  border-color: var(--gold-400);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  background: rgba(10, 22, 40, 0.85);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.neural-node.node-center .node-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, rgba(201, 168, 76, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.5;
  }
}

/* Tooltip Panel (Horizontal Flex con Foto Chica) */
.neural-tooltip {
  position: absolute;
  bottom: 24px;
  left: 24px;
  width: 380px;
  background: rgba(10, 22, 40, 0.9);
  border: 1px solid var(--white-15);
  border-radius: var(--radius-md);
  padding: 16px;
  z-index: 5;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), inset 0 2px 4px rgba(255, 255, 255, 0.05);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  display: flex;
  gap: 16px;
  align-items: center;
}

.neural-tooltip.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.tooltip-img-wrapper {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy-900);
  border: 1px solid var(--white-10);
}

.tooltip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tooltip-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.neural-tooltip .tooltip-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.neural-tooltip .tooltip-desc {
  font-size: 0.75rem;
  color: var(--white-70);
  line-height: 1.4;
  margin-bottom: 6px;
}

.neural-tooltip .tooltip-meta {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--white-10);
  padding-top: 6px;
}

.neural-tooltip .tooltip-meta span {
  font-size: 0.7rem;
  color: var(--gold-300);
  display: flex;
  align-items: center;
  gap: 4px;
}

.neural-tooltip .tooltip-meta span i {
  font-size: 0.75rem;
  color: var(--white-50);
}

.neural-tooltip .tooltip-btn {
  font-size: 0.7rem;
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.neural-tooltip .tooltip-btn:hover {
  color: var(--white);
}

.neural-tooltip .tooltip-btn i {
  font-size: 0.75rem;
  color: var(--white-50);
}

/* Enlarged state when a node is clicked */
.neural-map-wrapper.has-clicked-node .neural-tooltip {
  width: 450px;
  padding: 24px;
}

.neural-map-wrapper.has-clicked-node .tooltip-img-wrapper {
  width: 120px;
  height: 120px;
}

.neural-map-wrapper.has-clicked-node .neural-tooltip .tooltip-title {
  font-size: 1.1rem;
}

.neural-map-wrapper.has-clicked-node .neural-tooltip .tooltip-desc {
  font-size: 0.85rem;
}

.neural-map-wrapper.has-clicked-node .neural-tooltip .tooltip-meta span {
  font-size: 0.8rem;
}

.neural-map-wrapper.has-clicked-node .neural-tooltip .tooltip-meta span i {
  font-size: 0.85rem;
}

.neural-map-wrapper.has-clicked-node .neural-tooltip .tooltip-btn {
  font-size: 0.8rem;
}

.neural-map-wrapper.has-clicked-node .neural-tooltip .tooltip-btn i {
  font-size: 0.85rem;
}

/* SVG Line paths */
.connection-path {
  fill: none;
  stroke: var(--white-10);
  stroke-width: 1.5px;
  transition: stroke var(--transition-normal), stroke-width var(--transition-normal), opacity var(--transition-normal);
}

.connection-path.active,
.connection-path.path-active-clicked {
  stroke: var(--gold-400) !important;
  stroke-width: 2.5px !important;
  opacity: 1 !important;
  filter: url(#glow);
}

.connection-path-flow {
  fill: none;
  stroke: var(--gold-300);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-dasharray: 12 120;
  animation: flowPulse 4s linear infinite;
  opacity: 0.8;
  filter: drop-shadow(0 0 3px var(--gold-400));
  transition: opacity var(--transition-normal);
}

.connection-path-flow.path-active-clicked {
  stroke: var(--gold-300) !important;
  stroke-width: 2.5px !important;
  opacity: 1 !important;
  filter: drop-shadow(0 0 4px var(--gold-400)) !important;
}

@keyframes flowPulse {
  to {
    stroke-dashoffset: -132;
  }
}

/* Active clicked/pinned node overlay and fading */
.neural-map-wrapper.has-clicked-node .neural-node.node-secondary:not(.active-clicked) {
  opacity: 0.25;
  filter: grayscale(40%);
}

.neural-map-wrapper.has-clicked-node .neural-node.node-secondary.active-clicked {
  opacity: 1 !important;
  z-index: 10;
  transform: translate(-50%, -50%) scale(1.15) !important;
}

.neural-map-wrapper.has-clicked-node .neural-node.node-secondary.active-clicked .node-icon {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-gold), 0 0 20px rgba(201, 168, 76, 0.5);
}

.neural-map-wrapper.has-clicked-node .neural-node.node-secondary.active-clicked .node-tag {
  color: var(--white);
  border-color: var(--gold-400);
  background: rgba(20, 40, 66, 0.95);
}

/* Connection paths adjustments when a node is clicked */
.neural-map-wrapper.has-clicked-node .connection-path:not(.path-active-clicked) {
  opacity: 0.1;
}

.neural-map-wrapper.has-clicked-node .connection-path-flow:not(.path-active-clicked) {
  opacity: 0.05;
}

/* Mobile Panel styling (Rediseñado con Imagen) */
.neural-mobile-panel {
  display: none;
  margin-top: 30px;
}

.mobile-panel-header {
  text-align: center;
  margin-bottom: 20px;
}

.mobile-panel-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 6px;
}

.mobile-panel-header p {
  font-size: 0.8rem;
  color: var(--white-50);
  max-width: 400px;
  margin: 0 auto;
}

.mobile-panel-card {
  background: var(--gradient-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.mp-img-wrapper {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy-900);
  border: 1px solid var(--white-10);
}

.mp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-panel-card .card-content {
  flex-grow: 1;
}

.mobile-panel-card .card-content h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.mobile-panel-card .card-content p {
  font-size: 0.8rem;
  color: var(--white-70);
  line-height: 1.4;
  margin-bottom: 8px;
}

.mobile-panel-card .mp-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
}

.mobile-panel-card .mp-meta span {
  font-size: 0.75rem;
  color: var(--gold-300);
  display: flex;
  align-items: center;
  gap: 4px;
}

/*.mobile-panel-card .mp-btn styled subtly like the other meta links*/
.mobile-panel-card .mp-btn {
  font-size: 0.75rem;
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.mobile-panel-card .mp-btn:hover {
  color: var(--white);
}

.mobile-panel-card .mp-btn i {
  font-size: 0.8rem;
  color: var(--white-50);
}

/* Responsiveness adjustments for map heights and node coordinates */
@media (min-width: 769px) {
  #node-hotel {
    top: 50%;
    left: 50%;
  }

  /* Anillo 1 (Cerca) */
  #node-cabildo {
    top: 34%;
    left: 58%;
  }

  #node-subte {
    top: 62%;
    left: 43%;
  }

  #node-rossi {
    top: 40%;
    left: 40%;
  }

  #node-fleni {
    top: 50%;
    left: 33%;
  }

  /* Anillo 2 (Medio) */
  #node-uade {
    top: 38%;
    left: 66%;
  }

  #node-barrancas {
    top: 78%;
    left: 50%;
  }

  #node-auditorio {
    top: 68%;
    left: 34%;
  }

  #node-ub {
    top: 28%;
    left: 31%;
  }

  #node-excursionistas {
    top: 22%;
    left: 48%;
  }

  #node-fleming {
    top: 52%;
    left: 24%;
  }

  #node-icba {
    top: 64%;
    left: 23%;
  }

  /* Anillo 3 (Lejos) */
  #node-barriochino {
    top: 30%;
    left: 75%;
  }

  #node-monumental {
    top: 71%;
    left: 76%;
  }

  #node-movistar {
    top: 82%;
    left: 16%;
  }

  #node-ditella {
    top: 20%;
    left: 18%;
  }

  #node-obras {
    top: 51%;
    left: 83%;
  }

  #node-ciudad {
    top: 82%;
    left: 70%;
  }

  #node-defensores {
    top: 18%;
    left: 81%;
  }

  #node-sagradafamilia {
    top: 46%;
    left: 11%;
  }

  #node-polotec {
    top: 31%;
    left: 89%;
  }

  #node-tecnopolis {
    top: 12%;
    left: 36%;
  }

  #node-cenard {
    top: 62%;
    left: 88%;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .neural-map-wrapper {
    height: 520px;
  }

  .neural-node .node-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .neural-node.node-center .node-icon {
    width: 76px;
    height: 76px;
    padding: 10px;
  }

  .neural-tooltip {
    width: 280px;
    bottom: 16px;
    left: 16px;
  }
}

@media (max-width: 768px) {
  .neural-map-wrapper {
    height: 420px;
    border-radius: var(--radius-lg);
  }

  .neural-categories {
    gap: 8px;
    margin-bottom: 24px;
  }

  .category-btn {
    font-size: 0.65rem;
    padding: 8px 16px;
  }

  .neural-node .node-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .neural-node .node-tag {
    font-size: 0.55rem;
    padding: 2px 6px;
    margin-top: 4px;
  }

  .neural-node.node-center .node-icon {
    width: 65px;
    height: 65px;
    padding: 8px;
  }

  .neural-node.node-center .node-tag {
    font-size: 0.6rem;
  }

  .neural-tooltip {
    display: none !important;
    /* Tooltip hides, mobile panel shows instead */
  }

  .neural-mobile-panel {
    display: block;
  }

  .hide-mobile {
    display: none !important;
  }

  /* Posiciones de los 10 nodos móviles alrededor del hotel */
  #node-hotel {
    top: 50%;
    left: 50%;
  }

  #node-cabildo {
    top: 32%;
    left: 74%;
  }

  #node-subte {
    top: 68%;
    left: 56%;
  }

  #node-fleni {
    top: 50%;
    left: 24%;
  }

  #node-icba {
    top: 76%;
    left: 22%;
  }

  #node-monumental {
    top: 78%;
    left: 80%;
  }

  #node-barriochino {
    top: 50%;
    left: 78%;
  }

  #node-barrancas {
    top: 76%;
    left: 48%;
  }

  #node-movistar {
    top: 22%;
    left: 22%;
  }

  #node-ub {
    top: 24%;
    left: 48%;
  }

  #node-auditorio {
    top: 24%;
    left: 74%;
  }
}

/* ============================================
   SALON SECTION
   ============================================ */
.salon-section {
  padding: var(--section-padding) 0;
  background: var(--navy-800);
}

.salon-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 12px;
}

.salon-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.salon-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.salon-card:hover img {
  transform: scale(1.08);
}


/* ============================================
   PROMOTIONS SECTION (ACCORDION)
   ============================================ */
.promos-section {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--navy-900);
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(201, 168, 76, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(126, 184, 216, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(10, 22, 40, 0.8) 0%, transparent 100%);
  background-size: cover;
  overflow: hidden;
}

/* Optional subtle grid/stars effect for background */
.promos-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.15;
  pointer-events: none;
}

.accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.accordion-item {
  background: rgba(15, 31, 53, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.accordion-item:not(.active) {
  animation: accordionPulse 4s ease-in-out infinite;
}

@keyframes accordionPulse {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.3);
  }
}

.accordion-item:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 168, 76, 0.1);
  transform: translateY(-2px);
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  cursor: pointer;
  user-select: none;
}

.accordion-header img {
  width: 60px;
  height: 60px;
  border-radius: 16px 4px 16px 4px;
  object-fit: cover;
  margin-right: 20px;
  border: 2px solid var(--gold-400);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.3);
}

.accordion-header h3 {
  flex: 1;
  font-size: 1.1rem;
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
}

.accordion-icon {
  font-size: 1.2rem;
  color: var(--gold-400);
  transition: transform var(--transition-normal);
}

.accordion-item.active {
  border-color: var(--gold-400);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(201, 168, 76, 0.25);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.accordion-inner {
  padding: 0 24px 24px;
  display: flex;
  gap: 24px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  margin-top: 16px;
  padding-top: 24px;
}

/* Cascade animation for accordion content elements */
.accordion-item.active .promo-accordion-img {
  animation: cascadeIn 0.5s var(--ease-out) 0.05s both;
}

.accordion-item.active .promo-accordion-text h4 {
  animation: cascadeIn 0.5s var(--ease-out) 0.15s both;
}

.accordion-item.active .promo-accordion-text .promo-includes {
  animation: cascadeIn 0.5s var(--ease-out) 0.25s both;
}

.accordion-item.active .promo-accordion-text .promo-disclaimer {
  animation: cascadeIn 0.5s var(--ease-out) 0.35s both;
}

.accordion-item.active .promo-accordion-text .nav-cta {
  animation: cascadeIn 0.5s var(--ease-out) 0.45s both;
}

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

.promo-accordion-img {
  width: 200px;
  height: 200px;
  border-radius: 24px 6px 24px 6px;
  object-fit: cover;
  border: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.promo-accordion-text h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.5;
}

.promo-accordion-text .promo-includes {
  margin-bottom: 16px;
}

.promo-accordion-text .promo-includes li {
  font-size: 0.85rem;
  color: var(--white-70);
  padding: 4px 0 4px 20px;
  position: relative;
}

.promo-accordion-text .promo-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-400);
  font-weight: bold;
}

.promo-disclaimer {
  font-size: 0.75rem;
  color: var(--white-30);
  font-style: italic;
}

@media (max-width: 600px) {
  .accordion-inner {
    flex-direction: column;
    padding: 0 16px 16px;
    gap: 16px;
  }

  .promo-accordion-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
  }

  .accordion-header {
    padding: 12px 16px;
  }

  .accordion-header img {
    width: 48px;
    height: 48px;
    margin-right: 14px;
    border-radius: 12px 3px 12px 3px;
  }

  .accordion-header h3 {
    font-size: 0.85rem;
  }

  .promo-accordion-text h4 {
    font-size: 0.9rem;
  }
}


/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  animation: lbFadeIn 0.3s var(--ease-out);
}

.lightbox.active {
  display: flex;
}

@keyframes lbFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: lbImgIn 0.4s var(--ease-out);
}

@keyframes lbImgIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--white-10);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2001;
}

.lightbox-close:hover {
  background: var(--white-20);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2002;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    top: auto;
    bottom: 30px;
    transform: none;
  }

  .lightbox-nav.prev {
    left: 30%;
  }

  .lightbox-nav.next {
    right: 30%;
  }
}

/* ============================================
   FLOATING ACTIONS CONTAINER
   ============================================ */
.floating-actions-container {
  position: fixed;
  right: 24px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 1000;
}

.floating-action-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  border-radius: 20px;
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--white-10);
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* WhatsApp standalone floating button */
.whatsapp-float {
  width: 56px;
  height: 56px;
  background: radial-gradient(circle at center, #2bd56f 0%, #22a856 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: fabSweep 4s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.fab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: transparent;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.fab-btn i {
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

/* Buttons with visible text label below icon */
.fab-with-text {
  flex-direction: column;
  width: auto;
  height: auto;
  border-radius: 14px;
  padding: 8px 14px 6px;
  gap: 2px;
}

.fab-text {
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1;
}

.fab-label {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--white-10);
  color: var(--white-90);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.3s var(--ease-out);
  pointer-events: none;
}

.fab-btn:hover .fab-label {
  opacity: 1;
  transform: translateX(0);
}

.fab-btn:hover i {
  transform: scale(1.15);
}

/* Shine sweep on all fab buttons */
.fab-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: fabSweep 4s ease-in-out infinite;
}

@keyframes fabSweep {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

/* WhatsApp Button */
.fab-whatsapp {
  background: radial-gradient(circle at center, #2bd56f 0%, #22a856 100%);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.25);
}

.fab-whatsapp:hover {
  background: radial-gradient(circle at center, #36e67d 0%, #2bd56f 100%);
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.45);
  transform: scale(1.1);
}

.fab-whatsapp i {
  font-size: 1.5rem;
}

/* Tax Free Button */
.fab-taxfree {
  color: #5aeaa0;
}

.fab-taxfree:hover {
  background: rgba(34, 135, 77, 0.2);
  transform: scale(1.1);
}

/* Promos Button */
.fab-promos {
  color: var(--gold-400);
}

.fab-promos:hover {
  background: rgba(201, 168, 76, 0.15);
  transform: scale(1.1);
}

/* Divider lines between buttons */
.fab-taxfree::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: var(--white-10);
}

.fab-promos::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: var(--white-10);
}

/* ---- Tax Free Modal ---- */
.taxfree-modal-box {
  max-width: 560px;
  text-align: left;
}

.taxfree-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--white-10);
}

.taxfree-icon {
  font-size: 2.5rem;
  color: #22874d;
  display: block;
  margin-bottom: 12px;
}

.taxfree-header h3 {
  text-align: center;
}

.taxfree-subtitle {
  font-size: 0.85rem !important;
  color: var(--gold-300) !important;
  margin-bottom: 0 !important;
  letter-spacing: 0.08em;
}

.taxfree-body h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 20px 0 12px;
}

.taxfree-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.taxfree-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--white-70);
  line-height: 1.6;
  margin-bottom: 10px;
}

.taxfree-list li i {
  color: #22874d;
  margin-top: 3px;
  flex-shrink: 0;
}

.taxfree-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 4px;
}

.taxfree-note i {
  color: var(--ice-blue);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.taxfree-note span {
  font-size: 0.8rem;
  color: var(--white-50);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .floating-actions-container {
    right: 10px;
    bottom: 14px;
    gap: 10px;
  }

  .floating-action-bar {
    padding: 4px;
  }

  .fab-btn i {
    font-size: 1.1rem;
  }

  .fab-label {
    display: none;
  }

  .whatsapp-float {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .fab-svg-icon {
    width: 52px;
    height: 52px;
  }

  .taxfree-modal-box {
    max-width: 95%;
    padding: 24px 16px;
    max-height: 85vh;
  }
  
  .taxfree-icon {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  .taxfree-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

  .taxfree-body p {
    font-size: 0.85rem;
  }

  .taxfree-list li {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .taxfree-note span {
    font-size: 0.75rem;
  }

  /* Hero adjustments for tablets */
  .hero {
    padding-top: 100px;
  }

  .hero-content .hero-sub {
    margin-bottom: 24px;
  }
}

/* ============================================
   MAP MODAL
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--gradient-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-box .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--white-50);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-box .modal-close:hover {
  color: var(--white);
}

.modal-box img {
  width: 140px;
  margin: 0 auto 20px;
}

.modal-box h3 {
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.modal-box p {
  font-size: 0.9rem;
  color: var(--white-70);
  margin-bottom: 24px;
  line-height: 1.7;
}

.modal-box .btn-gold {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 32px;
  color: var(--gold-300);
  border-radius: 100px;
  transition: all var(--transition-fast);
  position: relative;
  background: transparent;
  border: none;
  z-index: 1;
}

.modal-box .btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 1px;
  background: linear-gradient(90deg, var(--gold-400) 0%, transparent 50%, var(--gold-400) 100%);
  background-size: 200% 100%;
  animation: borderShine 2.5s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  pointer-events: none;
}

.modal-box .btn-gold:hover {
  background: var(--gold-400);
  color: var(--navy-900);
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-800);
  border-top: 1px solid var(--white-10);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 80px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--white-50);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 20px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.85rem;
  color: var(--white-50);
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--white-20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white-50);
  transition: all var(--transition-fast);
  margin-bottom: 0;
}

.footer-social a:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--white-05);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--white-30);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 16px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }
}


/* ============================================
   RESERVAS — Form Styles
   ============================================ */
.formreservas {
  padding-top: 100px;
  padding-bottom: 40px;
}

/* ============================================
   PAGE: EXITO
   ============================================ */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.success-page h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold-400);
  margin-bottom: 16px;
}

.success-page p {
  font-size: 1.05rem;
  color: var(--white-70);
  margin-bottom: 8px;
  max-width: 500px;
}

.success-page .success-logo {
  width: 160px;
  margin: 30px auto;
}

.success-page .loader-ring {
  width: 40px;
  height: 40px;
  border: 3px solid var(--white-10);
  border-top-color: var(--gold-400);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 30px auto 16px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.success-page .redirect-text {
  font-size: 0.8rem;
  color: var(--white-30);
  letter-spacing: 0.1em;
}


/* ============================================
   CHECKIN/CHECKOUT INFO BAR
   ============================================ */
.info-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 16px;
  background: var(--navy-700);
  border-radius: var(--radius-sm);
  margin-top: 20px;
}

.info-bar-item {
  text-align: center;
}

.info-bar-item .info-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: block;
  margin-bottom: 4px;
}

.info-bar-item .info-value {
  font-size: 0.9rem;
  color: var(--white-70);
}

/* ============================================
   NEW CUSTOM CLASSES (HERO LOGO & SVG ICONS)
   ============================================ */
.hero-logo {
  width: 95%;
  max-width: 900px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.svg-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  /* Allow shadow to glow outside boundaries */
  overflow: visible;
  outline: none;
}

.fab-svg-icon {
  width: 70px;
  height: 70px;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.svg-float-btn:hover .fab-svg-icon {
  transform: scale(1.1);
}

.glow-effect {
  filter: drop-shadow(0 0 8px rgba(186, 155, 96, 0.5));
  animation: svgGlowPulse 2s infinite alternate;
}

@keyframes svgGlowPulse {
  0% {
    filter: drop-shadow(0 0 5px rgba(186, 155, 96, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(186, 155, 96, 0.9));
  }
}

/* ============================================
   SMALL DEVICE RESPONSIVE (≤480px)
   ============================================ */
@media (max-width: 480px) {
  /* Hero — tighter spacing, smaller text */
  .hero {
    padding-top: 90px;
    min-height: 100svh; /* Use svh for mobile address-bar-aware height */
  }

  .hero-content h1 {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    margin-bottom: 4px;
    letter-spacing: 0.1em;
  }

  .hero-content .hero-badge {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    padding: 5px 14px;
    margin-bottom: 16px;
  }

  .hero-content .hero-sub {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
  }

  .hero-scroll {
    font-size: 0.6rem;
  }

  .hero-scroll .scroll-line {
    height: 28px;
  }

  /* Sections — tighter padding */
  :root {
    --section-padding: clamp(40px, 8vw, 80px);
    --container-padding: clamp(14px, 4vw, 24px);
  }

  .section-title {
    margin-bottom: 30px;
  }

  .section-title h2 {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    letter-spacing: 0.1em;
  }

  .section-title p {
    font-size: 0.85rem;
  }

  /* About */
  .about-text h2 {
    font-size: 1.3rem;
  }

  .about-text p {
    font-size: 0.88rem;
  }

  .info-bar {
    gap: 24px;
    padding: 12px;
  }

  /* Services — force 2-column even on tiny screens */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .service-card {
    padding: 14px 10px;
  }

  .service-card .service-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .service-card h3 {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
  }

  .service-card p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  /* Rooms */
  .rooms-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Neural Map */
  .neural-map-wrapper {
    height: 350px;
    border-radius: var(--radius-md);
  }

  .neural-node .node-icon {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .neural-node .node-tag {
    font-size: 0.5rem;
    padding: 2px 5px;
  }

  .neural-node.node-center .node-icon {
    width: 52px;
    height: 52px;
    padding: 6px;
  }

  .neural-node.node-center .node-tag {
    font-size: 0.55rem;
  }

  /* Mobile Panel Card — stack vertically on tiny screens */
  .mobile-panel-card {
    flex-direction: column;
    text-align: center;
    padding: 14px;
  }

  .mp-img-wrapper {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-sm);
  }

  .mobile-panel-card .mp-meta {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Salon */
  .salon-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Accordion / Promos */
  .accordion-container {
    gap: 14px;
  }

  .accordion-item {
    border-radius: var(--radius-md);
  }

  /* Floating Buttons — even smaller */
  .floating-actions-container {
    right: 8px;
    bottom: 10px;
    gap: 8px;
  }

  .whatsapp-float {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .fab-svg-icon {
    width: 44px;
    height: 44px;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 20px;
  }

  .footer-brand img {
    height: 60px;
    margin: 0 auto 12px;
  }

  .footer-grid {
    gap: 28px;
    margin-bottom: 28px;
  }

  .footer-col h4 {
    font-size: 0.7rem;
    margin-bottom: 14px;
  }

  .footer-col a,
  .footer-col p {
    font-size: 0.8rem;
  }

  /* Navbar */
  .navbar-logo img {
    height: 44px;
  }

  .navbar.scrolled .navbar-logo img {
    height: 36px;
  }

  .navbar {
    padding: 12px 0;
  }

  .navbar.scrolled {
    padding: 8px 0;
  }
}