/* ============================================================
   Hostal El Descanso — Premium Landing Page CSS
   Design: Atacama Desert Gold + Deep Ocean Navy
   Fonts: Playfair Display SC (headings) + Karla (body)
   Updated: 2026-03-16 — Visual refresh
   ============================================================ */

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  /* Primary — Desert Gold */
  --gold-50: #FFFBEB;
  --gold-100: #FEF3C7;
  --gold-200: #FDE68A;
  --gold-300: #FCD34D;
  --gold-400: #FBBF24;
  --gold-500: #F59E0B;
  --gold-600: #D97706;
  --gold-700: #B45309;
  --gold-800: #92400E;
  --gold-900: #78350F;

  /* Secondary — Deep Navy */
  --blue-50: #F0F4F8;
  --blue-100: #D9E2EC;
  --blue-200: #BCCCDC;
  --blue-300: #9FB3C8;
  --blue-400: #627D98;
  --blue-500: #486581;
  --blue-600: #334E68;
  --blue-700: #243B53;
  --blue-800: #1A2B3F;
  --blue-900: #102A43;

  /* Neutrals — Warm Hospitality */
  --warm-50: #FFFBF0;
  --warm-100: #FFF8ED;
  --warm-200: #FEF0DC;
  --warm-white: #FDFBF7;
  --text-primary: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #A8A29E;

  /* Status */
  --green: #22C55E;
  --green-dark: #16A34A;
  --red: #EF4444;
  --purple: #8B5CF6;

  /* Room Map Colors */
  --room-available: #22C55E;
  --room-occupied: #EF4444;
  --room-selected: #3B82F6;
  --room-disabled: #9CA3AF;
  --room-premium: #F59E0B;

  /* Shadows — Multi-layer warm premium */
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05), 0 1px 3px rgba(180, 83, 9, 0.03);
  --shadow-md: 0 1px 3px rgba(0,0,0,0.03), 0 4px 8px rgba(180, 83, 9, 0.03), 0 12px 24px rgba(0,0,0,0.04);
  --shadow-lg: 0 1px 3px rgba(0,0,0,0.02), 0 6px 16px rgba(180, 83, 9, 0.04), 0 24px 48px rgba(0,0,0,0.05);
  --shadow-xl: 0 2px 6px rgba(0,0,0,0.03), 0 12px 32px rgba(180, 83, 9, 0.06), 0 36px 72px rgba(0,0,0,0.07);
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.12), 0 0 80px rgba(245, 158, 11, 0.06);

  /* Typography */
  --font-heading: 'Playfair Display SC', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.825rem, 0.8rem + 0.3vw, 0.95rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.6rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --text-3xl: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
  --text-hero: clamp(2.5rem, 2rem + 3vw, 4.5rem);

  /* Spacing */
  --section-padding: clamp(3.5rem, 6vw, 7rem) 0;
  --container-width: 1200px;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;
}


/* ─── 1. Reset & Base ────────────────────────────────────── */
/* CRITICAL: HTML hidden attribute must always win over CSS display */
[hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--warm-white);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--gold-200);
  color: var(--gold-900);
}

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 2px;
  border-radius: 4px;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

small {
  font-size: 0.875rem;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}


/* ─── 2. Utility Classes ─────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--warm-50);
}

.section-dark {
  background: var(--text-primary);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-600), var(--gold-300));
  margin: 1.25rem auto 0;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  color: var(--gold-800);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.section-dark .section-tag {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-300);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2), 0 4px 12px rgba(245, 158, 11, 0.15), 0 8px 24px rgba(245, 158, 11, 0.1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-700));
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.25), 0 8px 20px rgba(245, 158, 11, 0.2), 0 16px 40px rgba(245, 158, 11, 0.15);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.btn-secondary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-full {
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ─── 3. Navigation ──────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
  background: transparent;
}

#nav.nav-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 0.6rem 0;
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  border-radius: 10px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.1;
  transition: color 0.4s ease;
}

.nav-scrolled .logo-name {
  color: var(--text-primary);
}

.logo-city {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.4s ease;
}

.nav-scrolled .logo-city {
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  position: relative;
}

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

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

.nav-links a:hover {
  color: var(--gold-300);
}

.nav-scrolled .nav-links a {
  color: var(--text-secondary);
}

.nav-scrolled .nav-links a:hover {
  color: var(--gold-700);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff !important;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2), 0 4px 16px rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-700));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25), 0 8px 24px rgba(245, 158, 11, 0.2);
}

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-scrolled .nav-hamburger span {
  background: var(--text-primary);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

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

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}


/* ─── 4. Hero Section ────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-color: #0C4A6E;
  animation: kenburns 25s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -0.5%); }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    #102A43 0%,
    #1A2B3F 15%,
    #243B53 30%,
    #D97706 60%,
    #F59E0B 75%,
    #FDE68A 90%,
    #FFFBF0 100%);
}

/* Subtle dot pattern overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Floating decorative shapes (CSS only) */
#hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 8%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(253, 230, 138, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  z-index: 1;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite 2s;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--gold-900);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: var(--text-hero);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
  background: linear-gradient(135deg, var(--gold-200), var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.3rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}

/* Search Box — Glass morphism */
.search-box {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.search-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.search-field input,
.search-field select {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 0.7rem 0.9rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  width: 100%;
}

.search-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.search-field select option {
  color: var(--text-primary);
  background: #fff;
}

/* Webkit date input color fix */
.search-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.6;
  cursor: pointer;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3), 0 8px 24px rgba(245, 158, 11, 0.2);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.search-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.search-btn:hover::before {
  left: 100%;
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-700));
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35), 0 12px 32px rgba(245, 158, 11, 0.25);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold-300);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.hero-scroll-indicator span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 0.4; }
}


/* ─── 5. Trust Bar ───────────────────────────────────────── */
#trust {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  padding: 0;
  overflow: hidden;
  border-bottom: 3px solid var(--gold-500);
}

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: var(--container-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.trust-item:hover {
  color: var(--gold-300);
  background: rgba(245, 158, 11, 0.06);
}

.trust-item svg {
  stroke: var(--gold-400);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}


/* ─── 6. Room Types Cards ────────────────────────────────── */
.tipos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.tipo-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(180, 83, 9, 0.06);
}

.tipo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--text-muted), #D4D4D8);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.tipo-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.15);
}

/* Premium card — gold gradient border */
.tipo-premium {
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--gold-300), var(--gold-600));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
}

.tipo-premium::before {
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  height: 5px;
}

.tipo-premium::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tipo-premium:hover::after {
  opacity: 0.15;
}

/* Cards with blue bar */
.tipo-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
}

/* Cards with green bar */
.tipo-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--green), var(--green-dark));
}

.tipo-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.tipo-badge-gold {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  color: var(--gold-800);
}

.tipo-badge-blue {
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  color: var(--blue-800);
}

.tipo-badge-green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-dark);
}

.tipo-icon {
  margin-bottom: 1rem;
  color: var(--gold-600);
}

.tipo-card:nth-child(2) .tipo-icon { color: var(--blue-600); }
.tipo-card:nth-child(3) .tipo-icon { color: var(--green-dark); }

.tipo-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.tipo-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.tipo-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tipo-features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tipo-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322C55E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.tipo-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(28, 25, 23, 0.06);
}

.tipo-price-from {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tipo-price-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--green-dark);
  line-height: 1;
}

.tipo-price-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tipo-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid var(--gold-500);
  color: var(--gold-700);
  background: transparent;
  font-family: var(--font-body);
  text-align: center;
  display: block;
  position: relative;
  overflow: hidden;
}

.tipo-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.08), transparent);
  transition: left 0.4s ease;
}

.tipo-btn:hover::before {
  left: 100%;
}

.tipo-btn:hover {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25), 0 8px 24px rgba(245, 158, 11, 0.2);
  border-color: transparent;
}

.tipo-premium .tipo-btn {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.tipo-premium .tipo-btn:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-700));
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}


/* ─── 7. Room Map Section ────────────────────────────────── */
.floor-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.floor-tab {
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: var(--font-body);
}

.floor-tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.floor-tab.active {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.map-wrapper {
  position: relative;
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.building-container {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.floor-plan {
  min-width: 600px;
}

.floor-svg {
  width: 100%;
  height: auto;
}

/* SVG Room Styling */
.room-rect {
  fill: var(--room-available);
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  rx: 8;
}

.room-rect:hover {
  filter: brightness(1.15);
  stroke: #fff;
  stroke-width: 2;
}

.room-depto {
  fill: var(--room-premium);
}

.room-bp {
  fill: var(--purple);
}

.room-inhabilitada {
  fill: var(--room-disabled);
  cursor: not-allowed;
  opacity: 0.5;
}

.room-inhabilitada:hover {
  filter: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1;
}

.room-disabled {
  cursor: not-allowed;
}

.room-disabled .room-rect {
  cursor: not-allowed;
}

/* Room occupied */
.room-group.occupied .room-rect {
  fill: var(--room-occupied);
  cursor: not-allowed;
  opacity: 0.7;
}

.room-group.occupied .room-rect:hover {
  filter: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1;
}

/* Room selected */
.room-group.selected .room-rect {
  fill: var(--room-selected);
  stroke: #fff;
  stroke-width: 2.5;
  animation: pulse-glow-room 2s ease-in-out infinite;
}

@keyframes pulse-glow-room {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.7)); }
}

.room-label {
  text-anchor: middle;
  fill: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.room-sublabel {
  text-anchor: middle;
  fill: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  pointer-events: none;
}

.room-sublabel-sm {
  text-anchor: middle;
  fill: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-size: 9px;
  pointer-events: none;
}

.room-price-label {
  text-anchor: middle;
  fill: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  pointer-events: none;
}

.badge-bp {
  fill: var(--purple);
  stroke: #fff;
  stroke-width: 1.5;
}

/* Room stagger animation */
.room-group {
  animation: room-stagger 0.5s ease-out both;
}

.room-group:nth-child(1) { animation-delay: 0.05s; }
.room-group:nth-child(2) { animation-delay: 0.1s; }
.room-group:nth-child(3) { animation-delay: 0.15s; }
.room-group:nth-child(4) { animation-delay: 0.2s; }
.room-group:nth-child(5) { animation-delay: 0.25s; }
.room-group:nth-child(6) { animation-delay: 0.3s; }
.room-group:nth-child(7) { animation-delay: 0.35s; }
.room-group:nth-child(8) { animation-delay: 0.4s; }
.room-group:nth-child(9) { animation-delay: 0.45s; }
.room-group:nth-child(10) { animation-delay: 0.5s; }

/* Room Detail Panel */
.room-detail {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  z-index: 10;
  animation: slide-in-right 0.3s ease-out;
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.room-detail h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.room-detail-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-100);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.room-detail-close:hover {
  background: var(--gold-100);
  color: var(--gold-800);
}

.detail-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.detail-info {
  margin-bottom: 1.5rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.detail-total {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 2px solid var(--gold-200);
}

.detail-price-value {
  font-weight: 700;
  color: var(--green-dark);
}

.detail-book-btn {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.detail-book-btn:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-700));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Map FOMO */
.map-fomo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.fomo-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}


/* ─── 8. Comparison Section ──────────────────────────────── */
#directo {
  background: var(--warm-50);
}

/* [REMOVED] .comparison-* rules — unused dead CSS */


/* ─── 9. Gallery ─────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 0.75rem;
  border-radius: 20px;
  overflow: hidden;
}

.gallery-item {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.12);
}

.gallery-large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

/* Warm gradient backgrounds as placeholders */
.gallery-item:nth-child(1) .gallery-placeholder {
  background: linear-gradient(135deg, #D97706, #F59E0B, #FCD34D);
}

.gallery-item:nth-child(2) .gallery-placeholder {
  background: linear-gradient(135deg, #243B53, #486581, #9FB3C8);
}

.gallery-item:nth-child(3) .gallery-placeholder {
  background: linear-gradient(135deg, #92400E, #D97706, #FDE68A);
}

.gallery-item:nth-child(4) .gallery-placeholder {
  background: linear-gradient(135deg, #1A2B3F, #334E68, #627D98);
}

.gallery-item:nth-child(5) .gallery-placeholder {
  background: linear-gradient(135deg, #78350F, #B45309, #FCD34D);
}

.gallery-item:nth-child(6) .gallery-placeholder {
  background: linear-gradient(135deg, #102A43, #243B53, #BCCCDC);
}

.gallery-placeholder svg {
  color: rgba(255, 255, 255, 0.5);
  stroke: rgba(255, 255, 255, 0.5);
}

.gallery-placeholder::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-placeholder::after {
  transform: translateY(0);
}


/* ─── 10. About Section ──────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-content .section-tag {
  margin-bottom: 1rem;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  margin-top: 1rem;
  border-radius: 2px;
}

.about-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(28, 25, 23, 0.08);
}

.about-stat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.about-stat-plus {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-400);
  margin-left: 0.1rem;
}

.about-stat-label {
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Visual cards */
.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(180, 83, 9, 0.04);
}

.about-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.12);
}

.about-card-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.about-card h4 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.about-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}


/* ─── 11. Reviews ────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(180, 83, 9, 0.05);
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--gold-100);
  line-height: 1;
  opacity: 0.7;
}

.review-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.12);
}

.review-stars {
  color: var(--gold-400);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.review-card p {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.review-author strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.review-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ─── 12. Blog Grid ──────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(180, 83, 9, 0.05);
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.12);
}

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--gold-200), var(--blue-200));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-img svg {
  color: rgba(255, 255, 255, 0.6);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-category {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  width: fit-content;
  background: var(--gold-100);
  color: var(--gold-800);
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-body h3 {
  color: var(--gold-700);
}

.blog-card-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s ease;
}

.blog-card-link::after {
  content: '\2192';
  transition: transform 0.3s ease;
}

.blog-card-link:hover {
  color: var(--gold-700);
}

.blog-card-link:hover::after {
  transform: translateX(4px);
}


/* ─── 13. FAQ Accordion ──────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  transition: background 0.3s ease;
}

.faq-item:first-child {
  border-top: 1px solid rgba(28, 25, 23, 0.06);
}

.faq-item:hover {
  background: rgba(245, 158, 11, 0.03);
}

.faq-item.active {
  background: rgba(245, 158, 11, 0.04);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--gold-700);
}

.faq-icon {
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: var(--gold-500);
  width: 20px;
  height: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--gold-600);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.35rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 0 0.5rem;
}


/* ─── 14. Final CTA ──────────────────────────────────────── */
.section-cta {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-800));
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.section-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

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

.cta-content h2 {
  color: #fff;
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.cta-content h2::after {
  display: none;
}

.cta-content > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: #fff;
  color: var(--gold-700);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-buttons .btn-primary:hover {
  background: var(--warm-100);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.cta-phone {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta-phone a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.3s ease;
}

.cta-phone a:hover {
  border-color: #fff;
}


/* ─── 15. Footer ─────────────────────────────────────────── */
#footer {
  background: linear-gradient(180deg, var(--blue-800) 0%, var(--blue-900) 100%);
  padding: 4rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-name {
  color: #fff;
}

.footer-logo .logo-city {
  color: var(--gold-400);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  fill: rgba(255, 255, 255, 0.5);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a svg {
  fill: rgba(255, 255, 255, 0.5);
  stroke: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--gold-600);
  transform: translateY(-3px);
  border-color: var(--gold-500);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.footer-social a:hover svg {
  fill: #fff;
  stroke: #fff;
}


/* ─── 16. WhatsApp Float ─────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3), 0 8px 24px rgba(37, 211, 102, 0.25);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: whatsapp-pulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3), 0 12px 32px rgba(37, 211, 102, 0.35);
}

/* Lift WhatsApp button above FOMO bar when visible */
.whatsapp-float.whatsapp-lifted {
  bottom: 76px;
}

@media (max-width: 768px) {
  .whatsapp-float.whatsapp-lifted {
    bottom: 68px;
  }
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}


/* ─── 17. FOMO Bar ───────────────────────────────────────── */
.fomo-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-primary);
  color: #fff;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  z-index: 998;
  animation: slide-up 0.5s ease-out;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);
  border-top: 2px solid var(--gold-500);
}

.fomo-bar-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}


/* ─── 18. Booking Modal ──────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

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

.modal {
  background: #fff;
  border-radius: var(--border-radius-lg);
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  animation: modal-slide-up 0.4s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 16px 40px rgba(0, 0, 0, 0.15), 0 32px 60px rgba(0, 0, 0, 0.1);
}

@keyframes modal-slide-up {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-100);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--gold-100);
  color: var(--gold-800);
}

.modal h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.modal-summary {
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  border-radius: var(--border-radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid rgba(28, 25, 23, 0.08);
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  transition: all 0.3s ease;
  background: var(--warm-white);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(28, 25, 23, 0.18);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
  background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-500);
  cursor: pointer;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Booking Success */
.booking-success {
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2), 0 12px 32px rgba(34, 197, 94, 0.25);
  animation: success-pop 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes success-pop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.booking-success h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--green-dark);
}

.success-code {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--gold-50);
  border: 2px dashed var(--gold-300);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  display: inline-block;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.success-detail {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.success-payment {
  background: var(--warm-100);
  padding: 1.25rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.5rem;
  text-align: left;
}

.success-payment h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.success-payment p {
  font-size: 0.85rem;
  line-height: 1.6;
}


/* ─── 19. Search Results Overlay ─────────────────────────── */
.search-results-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.search-results-container {
  background: #fff;
  border-radius: var(--border-radius-lg);
  max-width: 900px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  animation: modal-slide-up 0.4s ease-out;
  margin-top: 4rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.search-results-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-results-header h2 {
  font-size: 1.5rem;
  flex-grow: 1;
}

.search-results-header span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.search-results-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-100);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-results-close:hover {
  background: var(--gold-100);
  color: var(--gold-800);
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.result-card {
  background: var(--warm-100);
  border: 1px solid rgba(28, 25, 23, 0.06);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.result-card:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.result-card h4 {
  margin-bottom: 0.5rem;
}

.result-card-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

.result-card-select {
  width: 100%;
  padding: 0.65rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.result-card-select:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-700));
}


/* ─── 20. Scroll Reveal Animations ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Stagger children inside revealed sections */
.reveal.revealed .tipo-card:nth-child(1),
.reveal.revealed .review-card:nth-child(1),
.reveal.revealed .blog-card:nth-child(1) { transition-delay: 0.05s; }
.reveal.revealed .tipo-card:nth-child(2),
.reveal.revealed .review-card:nth-child(2),
.reveal.revealed .blog-card:nth-child(2) { transition-delay: 0.12s; }
.reveal.revealed .tipo-card:nth-child(3),
.reveal.revealed .review-card:nth-child(3),
.reveal.revealed .blog-card:nth-child(3) { transition-delay: 0.19s; }


/* ─── 21. Custom Animations ──────────────────────────────── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(245, 158, 11, 0.5); }
  50% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.8); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes room-stagger {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes fade-in-scale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


/* ─── FIX: Missing class definitions ─────────────────────── */
/* Added to match updated HTML class names                    */

/* -- section-container (replaces .container in section usage) -- */
.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -- section-title / section-subtitle -- */
.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--text-3xl);
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1rem;
  position: relative;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Left-aligned section titles (about) */
.about-content .section-title::after {
  margin-left: 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -- Trust bar: trust-container, trust-number, trust-label -- */
.trust-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: var(--container-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-right: 0.4rem;
}

.trust-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* -- hero-phone -- */
.hero-phone {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 2;
}

.hero-phone a {
  color: var(--gold-300);
  font-weight: 600;
  border-bottom: 1px solid rgba(253, 211, 77, 0.4);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.hero-phone a:hover {
  color: var(--gold-200);
  border-color: var(--gold-200);
}

/* -- Room card extra classes used in HTML -- */
.room-card-icon {
  margin-bottom: 1rem;
  color: var(--gold-600);
}

.room-card-photo {
  width: calc(100% + 4rem);
  margin: -2.5rem -2rem 1.5rem;
  height: 220px;
  overflow: hidden;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  position: relative;
}

.room-card-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.8));
  pointer-events: none;
}

.room-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.tipo-card:nth-child(2) .room-card-icon { color: var(--blue-600); }
.tipo-card:nth-child(3) .room-card-icon { color: var(--green-dark); }

.room-card-name {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.room-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.room-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(28, 25, 23, 0.06);
}

.room-card-capacity {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.room-card-capacity svg {
  stroke: var(--text-muted);
}

.price-from {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--green-dark);
  line-height: 1;
}

.price-unit {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* -- SVG Map classes -- */
.building-outline {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1.5;
}

.corridor {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 0.5;
}

.corridor-label {
  text-anchor: middle;
  fill: rgba(255, 255, 255, 0.3);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.room-type-label {
  text-anchor: middle;
  fill: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  pointer-events: none;
}

.room-premium-bar {
  fill: var(--gold-400);
  opacity: 0.9;
}

.parking-area {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
  stroke-dasharray: 4 2;
}

.parking-label {
  text-anchor: middle;
  fill: rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
}

.parking-spot {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 0.5;
}

.parking-spot-label {
  text-anchor: middle;
  fill: rgba(255, 255, 255, 0.35);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  pointer-events: none;
}

.entrance {
  fill: var(--gold-500);
  opacity: 0.2;
}

.entrance-label {
  text-anchor: middle;
  fill: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
}

/* -- Fix room-group rect styling (HTML uses <rect> inside .room-group, not .room-rect) -- */
.room-group rect {
  fill: var(--room-available);
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  rx: 6;
}

.room-group:hover rect {
  filter: brightness(1.15);
  stroke: #fff;
  stroke-width: 2;
}

.room-group.room-premium rect {
  fill: var(--room-premium);
}

.room-group.room-premium .room-premium-bar {
  fill: var(--gold-400);
}

.room-group.room-disabled rect {
  fill: var(--room-disabled);
  cursor: not-allowed;
  opacity: 0.5;
}

.room-group.room-disabled:hover rect {
  filter: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1;
}

.room-group.room-occupied rect {
  fill: var(--room-occupied);
  cursor: not-allowed;
  opacity: 0.7;
}

.room-group.room-occupied:hover rect {
  filter: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1;
}

.room-group.room-selected rect {
  fill: var(--room-selected);
  stroke: #fff;
  stroke-width: 2.5;
  animation: pulse-glow-room 2s ease-in-out infinite;
}

/* -- Map layout -- */
.map-layout {
  position: relative;
}

.map-main {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.map-section {
  background: var(--text-primary);
  padding: var(--section-padding);
  color: #fff;
}

.map-section .section-title {
  color: #fff;
}

.map-section .section-title::after {
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
}

.map-section .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

/* -- Gallery classes -- */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-grad-warm {
  background: linear-gradient(135deg, #D97706, #F59E0B, #FCD34D);
}

.gallery-grad-blue {
  background: linear-gradient(135deg, #243B53, #486581, #9FB3C8);
}

.gallery-grad-amber {
  background: linear-gradient(135deg, #92400E, #D97706, #FDE68A);
}

.gallery-grad-teal {
  background: linear-gradient(135deg, #0D9488, #14B8A6, #5EEAD4);
}

.gallery-grad-orange {
  background: linear-gradient(135deg, #EA580C, #F97316, #FDBA74);
}

.gallery-grad-sunset {
  background: linear-gradient(135deg, #0C4A6E, #D97706, #FDE68A);
}

.gallery {
  padding: var(--section-padding);
}

/* -- Review classes -- */
.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.review-name {
  font-size: 0.95rem;
  color: var(--text-primary);
  display: block;
  line-height: 1.2;
}

.review-origin {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.review-rating {
  margin-left: auto;
  display: flex;
  gap: 2px;
  color: var(--gold-400);
}

.review-text {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.reviews-score {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold-600);
  line-height: 1;
}

.reviews-max {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.reviews-stars {
  display: flex;
  gap: 2px;
  color: var(--gold-400);
}

.reviews-count {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.reviews {
  padding: var(--section-padding);
  background: var(--gold-50);
}

/* -- Blog classes (HTML uses different names than CSS) -- */
.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--gold-200), var(--blue-200));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color 0.3s ease;
  color: var(--text-primary);
}

.blog-card:hover .blog-card-title {
  color: var(--gold-700);
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gold-800);
  z-index: 1;
}

.blog-more {
  text-align: center;
  margin-top: 2rem;
}

.blog-more-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-600);
  transition: color 0.3s ease;
}

.blog-more-link:hover {
  color: var(--gold-700);
}

/* ===================== BLOG SCENE SVG ILLUSTRATIONS ===================== */
.blog-scene {
  position: relative;
  overflow: hidden;
}
.blog-scene-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.blog-card:hover .blog-scene-svg {
  transform: scale(1.05);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.blog-scene-svg {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Steam animation for gastro card */
@keyframes steamFloat {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 0.6; transform: translateY(-6px); }
}
.blog-steam {
  animation: steamFloat 3s ease-in-out infinite;
}
.blog-steam:nth-child(2) { animation-delay: 0.5s; }
.blog-steam:nth-child(3) { animation-delay: 1s; }

.blog-placeholder {
  width: 100%;
  height: 100%;
}

.blog-grad-desert {
  background: linear-gradient(135deg, #D97706, #F59E0B, #FCD34D);
}

.blog-grad-ocean {
  background: linear-gradient(135deg, #243B53, #486581, #9FB3C8);
}

.blog-grad-mine {
  background: linear-gradient(135deg, #78350F, #B45309, #FCD34D);
}

.blog {
  padding: var(--section-padding);
}

/* -- About section classes -- */
.about-stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FDE68A 100%);
  border: 1px solid var(--gold-200);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  min-height: 200px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.1);
}

.about-stat-unit {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.about-stat-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-facts {
  list-style: none;
  margin-bottom: 1.5rem;
}

.about-fact {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.about-fact svg {
  flex-shrink: 0;
  color: var(--gold-500);
  stroke: var(--gold-500);
}

.about-quote {
  background: linear-gradient(135deg, var(--gold-50), #fff);
  border-left: 4px solid var(--gold-500);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.about-quote p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.about-quote cite {
  font-size: 0.85rem;
  color: var(--gold-700);
  font-style: normal;
  font-weight: 600;
}

.about {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--gold-50) 100%);
}

/* -- Modal wizard steps -- */
.modal-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
}

.modal-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 100px;
  background: rgba(28, 25, 23, 0.04);
  transition: all 0.3s ease;
  justify-content: center;
}

.modal-step span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(28, 25, 23, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.modal-step.active {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  color: var(--gold-800);
}

.modal-step.active span {
  background: var(--gold-500);
  color: #fff;
}

.modal-step.completed {
  background: rgba(34, 197, 94, 0.08);
  color: var(--green-dark);
}

.modal-step.completed span {
  background: var(--green);
  color: #fff;
}

/* -- Modal panels -- */
.modal-panel {
  display: none;
}

.modal-panel.active,
.modal-panel[style*="display: block"] {
  display: block;
}

/* More specific: panel that is active */
.modal-panel.active {
  display: block;
  animation: fade-in-scale 0.3s ease-out;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
}

.modal-form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.modal-form-actions .btn {
  flex: 1;
}

/* -- Modal confirmation -- */
.modal-confirmation {
  text-align: center;
  padding: 1rem 0;
}

.modal-check-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.modal-confirm-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-confirm-code {
  background: var(--gold-50);
  border: 2px dashed var(--gold-300);
  border-radius: var(--border-radius-sm);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.modal-confirm-code span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.modal-confirm-code strong {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 0.1em;
}

.modal-confirm-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* -- Modal summary row -- */
.modal-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.modal-summary-total {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 2px solid var(--gold-200);
}

/* -- Payment options -- */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-option {
  display: block;
  cursor: pointer;
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.payment-option-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(28, 25, 23, 0.1);
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  background: #fff;
}

.payment-option-content svg {
  flex-shrink: 0;
  color: var(--text-secondary);
}

.payment-option-content div {
  display: flex;
  flex-direction: column;
}

.payment-option-content strong {
  font-size: 0.92rem;
  color: var(--text-primary);
}

.payment-option-content span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.payment-option input[type="radio"]:checked + .payment-option-content {
  border-color: var(--gold-400);
  background: var(--gold-50);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.payment-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.payment-option:has(input[disabled]) {
  cursor: not-allowed;
}

/* -- btn-block -- */
.btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -- btn-outline inside modal (fix: invisible on white bg) -- */
.booking-modal .btn-outline,
.modal-overlay .btn-outline,
.modal .btn-outline,
.modal-panel .btn-outline,
.modal-form-actions .btn-outline {
  color: var(--text-primary);
  border-color: rgba(28, 25, 23, 0.2);
}

.booking-modal .btn-outline:hover,
.modal-overlay .btn-outline:hover,
.modal .btn-outline:hover,
.modal-panel .btn-outline:hover,
.modal-form-actions .btn-outline:hover {
  background: rgba(28, 25, 23, 0.04);
  border-color: rgba(28, 25, 23, 0.3);
  color: var(--text-primary);
}

/* -- Search overlay classes -- */
.search-overlay-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-overlay-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  flex-grow: 1;
  color: var(--text-primary);
}

.search-overlay-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-100);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-overlay-close:hover {
  background: var(--gold-100);
  color: var(--gold-800);
}

.search-overlay-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sort-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(28, 25, 23, 0.12);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.sort-btn:hover {
  border-color: var(--gold-400);
  color: var(--gold-700);
}

.sort-btn.active {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  border-color: var(--gold-300);
  color: var(--gold-800);
}

/* -- Search result card (generated by JS) -- */
.search-result-card {
  background: var(--warm-white);
  border: 1px solid rgba(28, 25, 23, 0.06);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.result-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.result-card-header h3 {
  font-size: 1.2rem;
}

.result-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--gold-100);
  color: var(--gold-800);
}

.result-badge-departamento {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  color: var(--gold-800);
}

.result-badge-privada {
  background: var(--blue-100);
  color: var(--blue-800);
}

.result-badge-compartida {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-dark);
}

.result-card-info {
  margin-bottom: 1rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(28, 25, 23, 0.04);
}

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

.result-total {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--gold-200);
}

.search-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

.search-no-results a {
  color: var(--gold-600);
  font-weight: 600;
}

.result-select-btn {
  width: 100%;
}

/* -- Agata Banner section -- */
.agata-banner {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #0C4A6E 0%, #1C1917 50%, #78350F 100%);
  position: relative;
  overflow: hidden;
}

.agata-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.agata-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.agata-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.agata-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-400);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.agata-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: var(--text-3xl);
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.agata-title::after { display: none; }

.agata-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.agata-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.agata-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.agata-features li svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

.agata-cta-hint {
  color: var(--gold-400);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  display: inline-block;
}

.agata-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.agata-orb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--blue-500));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: agataFloat 4s ease-in-out infinite;
}

.agata-orb-inner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--blue-400));
  opacity: 0.6;
  animation: agataPulseInner 3s ease-in-out infinite alternate;
}

.agata-orb-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid rgba(245, 158, 11, 0.3);
  animation: agataRing 6s linear infinite;
}

.agata-pulse {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  animation: agataPulseOuter 4s ease-in-out infinite;
}

@keyframes agataFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes agataPulseInner {
  0% { transform: scale(0.9); opacity: 0.4; }
  100% { transform: scale(1.05); opacity: 0.7; }
}

@keyframes agataRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes agataPulseOuter {
  0%, 100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@media (max-width: 768px) {
  .agata-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .agata-title { font-size: 1.75rem; }
  .agata-features { align-items: center; }
  .agata-visual { order: -1; }
  .agata-orb { width: 120px; height: 120px; }
  .agata-orb-inner { width: 80px; height: 80px; }
  .agata-pulse { width: 170px; height: 170px; }
  .agata-cta-hint { display: block; text-align: center; }
}

/* -- Final CTA section -- */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: var(--section-padding);
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-600), var(--gold-800));
  z-index: 0;
}

.final-cta-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.final-cta-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

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

.final-cta-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: var(--text-3xl);
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.final-cta-title::after {
  display: none;
}

.final-cta-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.final-cta-buttons .btn-primary {
  background: #fff;
  color: var(--gold-700);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.final-cta-buttons .btn-primary:hover {
  background: var(--warm-100);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.final-cta-buttons .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.final-cta-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* -- Compare table classes (used in HTML) -- */
.compare {
  padding: var(--section-padding);
  background: var(--gold-50);
}

.compare-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.compare-table th,
.compare-table td {
  padding: 1.1rem 1.5rem;
  text-align: left;
  font-size: 0.92rem;
}

.compare-table thead th {
  background: linear-gradient(135deg, var(--text-primary), #2d2926);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare-table thead th:last-child {
  background: linear-gradient(135deg, var(--gold-700), var(--gold-800));
}

.compare-table tbody tr {
  border-bottom: 1px solid rgba(28, 25, 23, 0.05);
  transition: background 0.3s ease;
}

.compare-table tbody tr:last-child {
  border-bottom: none;
}

.compare-table tbody tr:hover {
  background: var(--gold-50);
}

.compare-col-other {
  color: var(--text-muted);
}

.compare-col-direct {
  color: var(--green-dark);
  font-weight: 600;
}

.compare-col-direct strong {
  color: var(--green-dark);
}

.compare-check {
  color: var(--green);
  stroke: var(--green);
  vertical-align: middle;
  margin-left: 0.35rem;
}

.compare-badge {
  max-width: 400px;
  margin: 2rem auto 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
  animation: gentle-bounce 3s ease-in-out infinite;
}

@keyframes gentle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.compare-badge svg {
  color: #fff;
  stroke: #fff;
  flex-shrink: 0;
}

/* -- Rooms section padding -- */
.rooms {
  padding: var(--section-padding);
}

/* -- Room detail (using class names from HTML) -- */
.room-detail-name {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.room-detail-type {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.room-detail-capacity {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.room-detail-amenities {
  margin-bottom: 1rem;
}

.room-detail-pricing {
  margin-bottom: 1.25rem;
}

.room-detail-price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.room-detail-price-row:last-child {
  border-bottom: none;
}

.room-detail-total {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 2px solid var(--gold-200);
}

.room-detail-book {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.room-detail-book:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-700));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* -- Detail badges -- */
.detail-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  margin-right: 0.3rem;
}

.detail-badge-gold {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  color: var(--gold-800);
}

.detail-badge-blue {
  background: var(--blue-100);
  color: var(--blue-800);
}

.detail-badge-green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-dark);
}

/* -- Map tooltip -- */
.map-tooltip {
  position: absolute;
  z-index: 1100;
  background: var(--text-primary);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  line-height: 1.4;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

/* -- Spinner -- */
.spinner-sm {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* -- Toast notification (created by JS) -- */
.toast {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  max-width: 380px;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 3000;
  animation: toast-in 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-xl);
}

@keyframes toast-in {
  0% { opacity: 0; transform: translateX(100%) scale(0.95); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

.toast-success {
  background: var(--green);
  color: #fff;
}

.toast-warning {
  background: var(--gold-500);
  color: #fff;
}

.toast-error {
  background: var(--red);
  color: #fff;
}

/* -- FOMO bar visibility class -- */
.fomo-bar-visible {
  display: flex !important;
}

.fomo-icon {
  display: flex;
  align-items: center;
}

.fomo-text {
  font-size: 0.88rem;
}

/* -- Footer extra classes used in HTML -- */
.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-logo span {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
}

.footer-logo svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

.footer-about {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-heading {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links li a {
  display: inline;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--gold-400);
  stroke: var(--gold-400);
}

.footer-contact-list li a {
  display: inline;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-list li a:hover {
  color: var(--gold-400);
}

.footer-powered {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-powered a {
  color: var(--gold-400);
  font-weight: 600;
  display: inline;
}

.footer-powered a:hover {
  color: var(--gold-300);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.footer-social-link svg {
  color: rgba(255, 255, 255, 0.5);
  fill: rgba(255, 255, 255, 0.5);
  stroke: rgba(255, 255, 255, 0.5);
}

.footer-social-link:hover {
  background: var(--gold-600);
  transform: translateY(-2px);
}

.footer-social-link:hover svg {
  color: #fff;
  fill: #fff;
  stroke: #fff;
}

/* -- Nav logo SVG classes -- */
.nav-logo-icon {
  color: var(--gold-400);
  flex-shrink: 0;
  transition: color 0.4s ease;
}

.nav-scrolled .nav-logo-icon {
  color: var(--gold-600);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  transition: color 0.4s ease;
}

.nav-scrolled .nav-logo-text {
  color: var(--text-primary);
}

/* -- form-check (checkbox label in modal) -- */
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-500);
  cursor: pointer;
}

/* -- Room map SVG -- */
.room-map-svg {
  width: 100%;
  height: auto;
}

/* -- Hero overlay -- */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 40, 0.75) 0%,
    rgba(12, 74, 110, 0.55) 35%,
    rgba(28, 25, 23, 0.45) 65%,
    rgba(28, 25, 23, 0.7) 100%);
  z-index: 1;
}

/* -- Tipo badge without gradient sub-class (the HTML uses class="tipo-badge" only) -- */
.tipo-badge {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  color: var(--gold-800);
}

/* -- Legend dot colors -- */
.legend-available {
  background: var(--room-available);
}

.legend-occupied {
  background: var(--room-occupied);
}

.legend-selected {
  background: var(--room-selected);
}

.legend-premium {
  background: var(--room-premium);
}

/* -- room-available class on .room-group (default SVG room state) -- */
.room-group.room-available rect {
  fill: var(--room-available);
  cursor: pointer;
}

/* -- Sections used as class in HTML -- */
.faq {
  padding: var(--section-padding);
}

.hero-search {
  margin-top: 2rem;
}

/* -- search-label / search-input (aliases used in HTML alongside search-field) -- */
.search-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.search-input {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 0.7rem 0.9rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  width: 100%;
}

.search-input:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.search-input option {
  color: var(--text-primary);
  background: #fff;
}

/* Webkit date input color fix for .search-input */
.search-input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.6;
  cursor: pointer;
}

/* -- parking-spots SVG group -- */
.parking-spots {
  /* Group container, no visual styles needed */
}

/* -- Class aliases for elements also targeted by ID selectors -- */
.nav { /* See #nav */ }
.hero { /* See #hero */ }
.footer { /* See #footer */ }
.nav-link { /* See .nav-links a */ }


/* ─── 22. Responsive ─────────────────────────────────────── */

/* Small tablets — 640px */
@media (max-width: 640px) {
  .trust-bar,
  .trust-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust-number {
    font-size: 1.5rem;
  }

  .trust-label {
    font-size: 0.75rem;
  }

  .final-cta-title {
    font-size: 1.8rem;
  }

  .final-cta-buttons {
    flex-direction: column;
  }

  .reviews-summary {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .modal-steps {
    flex-wrap: wrap;
  }

  .modal-step {
    font-size: 0.7rem;
    padding: 0.4rem 0.5rem;
  }

  .trust-item {
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
  }

  .trust-item + .trust-item::before {
    display: none;
  }

  /* [REMOVED] .comparison-* responsive rules — unused dead CSS */

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

  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-stat-divider {
    display: none;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }
}

/* Tablets — 768px */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .search-box {
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .search-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
  }

  .tipos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-large {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .room-detail {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    max-height: 70vh;
    overflow-y: auto;
    animation: slide-up 0.3s ease-out;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--text-primary) !important;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
    width: 100%;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .search-results-container {
    padding: 1.5rem;
    margin-top: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .gallery-item-wide {
    grid-column: span 2;
  }

  .gallery-item-tall {
    grid-row: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stat-block {
    padding: 2rem 1.5rem;
  }

  .final-cta-title {
    font-size: 2rem;
  }

  .modal-form-actions {
    flex-direction: column;
  }

  .payment-option-content {
    padding: 0.75rem 1rem;
  }

  .map-layout {
    flex-direction: column;
  }

  .search-overlay-header {
    flex-wrap: wrap;
  }

  .search-overlay-sort {
    flex-wrap: wrap;
  }
}

/* Tablets landscape — 1024px */
@media (max-width: 1024px) and (min-width: 769px) {
  .tipos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tipos-grid .tipo-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid .review-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile small — deepest adjustments */
@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }

  .hero-title {
    font-size: 2.2rem;
  }

  .container,
  .section-container,
  .section-container-narrow {
    padding: 0 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .gallery-item-wide {
    grid-column: auto;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
  }

  .tipo-card {
    padding: 2rem 1.5rem;
  }

  .modal {
    padding: 1.75rem;
    border-radius: var(--border-radius);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-large {
    grid-column: auto;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }

  .floor-tabs {
    gap: 0.5rem;
  }

  .floor-tab {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .map-legend {
    gap: 0.75rem;
  }

  .legend-item {
    font-size: 0.7rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Large desktop — 1280px+ */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 2.75rem;
  }
}


/* ─── 23. Print Styles ───────────────────────────────────── */
@media print {
  #nav,
  .whatsapp-float,
  .fomo-bar,
  .hero-scroll-indicator,
  .nav-cta,
  .search-box,
  .hero-stats,
  .floor-tabs,
  .map-fomo,
  .cta-buttons,
  #cta-final,
  .modal-overlay,
  .search-results-overlay {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #000;
  }

  p {
    color: #333;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .section {
    padding: 2rem 0;
    break-inside: avoid;
  }

  .hero-gradient,
  .hero-pattern {
    background: none;
  }

  #hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-title {
    color: #000;
    -webkit-text-fill-color: #000;
  }

  .section-cta {
    background: #f5f5f5;
  }

  .section-dark {
    background: #f5f5f5;
    color: #000;
  }

  .section-dark h2,
  .section-dark p {
    color: #000;
  }
}


/* ─── 24. Scrollbar Styling ──────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--warm-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-500);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--gold-300) var(--warm-100);
}


/* ─── 25. Accessibility ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --shadow-sm: 0 0 0 1px #000;
    --shadow-md: 0 0 0 1px #000;
    --shadow-lg: 0 0 0 2px #000;
  }

  .tipo-card,
  .review-card,
  .blog-card,
  .about-card {
    border: 2px solid #000;
  }
}


/* ─── 26. Premium Micro-interactions ──────────────────────── */

/* Smooth link underline animation */
.footer-col a,
.blog-card-link,
.blog-more-link {
  position: relative;
}

.footer-col a::after,
.blog-more-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.footer-col a:hover::after,
.blog-more-link:hover::after {
  width: 100%;
}

/* Price highlight on card hover */
.tipo-card:hover .price-amount {
  color: var(--gold-600);
  transition: color 0.3s ease;
}

/* Gallery grid gap animation on scroll */
.gallery-grid {
  gap: 0.5rem;
}

/* Improved modal overlay backdrop */
.modal-overlay {
  background: rgba(15, 23, 42, 0.65);
}

/* Search results overlay */
.search-results-overlay {
  background: rgba(15, 23, 42, 0.65);
}

/* Improved blog card image height */
.blog-card-image {
  height: 200px;
  position: relative;
}

/* Better focus ring for accessibility */
.tipo-btn:focus-visible,
.search-btn:focus-visible,
.btn-primary:focus-visible,
.nav-cta:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
}

/* Smooth section transitions for painting performance */
.tipo-card,
.review-card,
.blog-card,
.about-card {
  will-change: transform;
}

/* Hero phone link styling improvement */
.hero-phone {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Agata CTA hint improvement */
.agata-cta-hint {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Improved search results container */
.search-results-container {
  border: 1px solid rgba(28, 25, 23, 0.04);
}

/* Loading state for buttons */
.btn-primary[disabled],
.search-btn[disabled],
.tipo-btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

/* Price animation on card appearance */
.reveal.revealed .price-amount {
  animation: price-count 0.6s ease-out;
}

@keyframes price-count {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════════════════════
   DYNAMIC STYLES (moved from JS injectDynamicStyles)
   ═══════════════════════════════════════════════════════════ */

/* -- Map Tooltip -- */
.map-tooltip {
  position: absolute;
  z-index: 1000;
  background: rgba(24, 24, 27, 0.95);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  pointer-events: none;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.map-tooltip strong { color: #F59E0B; }

/* -- Lightbox -- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(4px);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 10;
  padding: 8px;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 8px;
  z-index: 10;
  transition: background 0.2s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-content {
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox-content .gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}
.lightbox-caption {
  color: #ccc;
  font-size: 14px;
  font-family: var(--font-body, Inter, sans-serif);
  text-align: center;
  padding: 0 20px;
}

/* -- Modal Room Info (booking modal summary) -- */
.modal-room-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.modal-room-info h3 {
  margin: 0;
  font-family: var(--font-heading, "Playfair Display SC", serif);
  font-size: 1.3rem;
}
.modal-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.15);
  color: #B45309;
}
.modal-dates-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: #FAFAFA;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #E4E4E7;
}
.modal-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #52525B;
  font-family: var(--font-body, Inter, sans-serif);
}
.modal-info-total {
  font-weight: 700;
  color: #18181B;
  border-top: 1px solid #E4E4E7;
  padding-top: 8px;
  font-size: 15px;
}
.modal-no-dates {
  color: #A1A1AA;
  font-size: 13px;
  text-align: center;
  font-style: italic;
  margin: 0;
}

/* -- Detail panel slide-in animation -- */
.detail-visible {
  animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* -- Last minute badge -- */
.tipo-badge-lastminute {
  background: linear-gradient(135deg, #EF4444, #DC2626) !important;
  color: #fff !important;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* -- Live pricing banner -- */
.live-pricing-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(239,68,68,.12), rgba(245,158,11,.08));
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 12px;
  padding: 14px 24px;
  margin-bottom: 24px;
  animation: liveBorderPulse 2s ease-in-out infinite;
}
@keyframes liveBorderPulse {
  0%, 100% { border-color: rgba(239,68,68,.3); box-shadow: 0 0 0 0 rgba(239,68,68,0); }
  50% { border-color: rgba(239,68,68,.6); box-shadow: 0 0 20px rgba(239,68,68,.1); }
}
.live-pricing-text {
  color: var(--text-warm);
  font-size: .95em;
  line-height: 1.5;
}
.live-pricing-text strong {
  color: #EF4444;
}

/* -- Live dot (pulsing red) -- */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  animation: liveDotPulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes liveDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,.6); }
  50% { opacity: .6; box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* -- Live badge on room cards -- */
.tipo-badge-live {
  background: linear-gradient(135deg, #EF4444, #F59E0B) !important;
  color: #fff !important;
  animation: pulse-badge 2s infinite;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78em;
  letter-spacing: .04em;
}
.tipo-badge-live .live-dot {
  width: 6px;
  height: 6px;
}

/* -- Price change animation -- */
.price-pulse {
  animation: pricePulse .6s ease-out;
}
@keyframes pricePulse {
  0% { color: #EF4444; transform: scale(1.1); }
  50% { color: #EF4444; }
  100% { color: inherit; transform: scale(1); }
}

/* -- WhatsApp hidden state -- */
.whatsapp-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0.8) !important;
}

/* -- FOMO bar close button -- */
.fomo-bar-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.6;
  transition: opacity 0.2s;
  margin-left: auto;
  flex-shrink: 0;
}
.fomo-bar-close:hover { opacity: 1; }

/* [REMOVED] blog-card-img/blog-card-cat aliases — JS now uses same classes as HTML */

@media (max-width: 768px) {
  .lightbox-prev, .lightbox-next {
    padding: 8px 12px;
    font-size: 18px;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}


/* ═══════════════════════════════════════════════════════════
   SESION 6 — MEJORAS UX/CONVERSION
   ═══════════════════════════════════════════════════════════ */

/* -- Search hint below search box -- */
.search-hint {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  text-align: center;
}
.search-hint strong {
  color: var(--gold-300);
}

/* -- Gallery captions that sell -- */
.gallery-item-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.3rem;
}

.gallery-overlay {
  padding: 1rem 1.25rem;
}

/* -- About photo -- */
.about-photo-block {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.about-photo {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: cover;
}

/* -- Review improvements -- */
.review-stars {
  color: var(--gold-500);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-left: auto;
  flex-shrink: 0;
}
.review-date {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* -- Agata CTA button -- */
.agata-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}
.agata-cta-btn:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-700));
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
}
.agata-cta-btn svg {
  stroke: #fff;
}

/* -- Benefits bar (replaces FOMO bar) -- */
.benefits-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, var(--blue-900), #0a3d5f);
  border-top: 2px solid var(--gold-500);
  padding: 0.6rem 1rem;
  display: none;
}
.benefits-bar-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.benefit-item {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .benefits-bar-inner {
    gap: 0.75rem;
    justify-content: center;
  }
  .benefit-item {
    font-size: 0.7rem;
  }
}

/* -- Mobile room list -- */
.mobile-room-list {
  display: none;
}
@media (max-width: 768px) {
  .mobile-room-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  #building-container {
    display: none;
  }
  .floor-tabs {
    display: none;
  }
  .map-legend {
    display: none;
  }
}
.mobile-room-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.mobile-room-card:hover,
.mobile-room-card:active {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-500);
}
.mobile-room-card.mrc-selected {
  border-color: var(--gold-400);
  background: rgba(245, 158, 11, 0.1);
}
.mobile-room-premium {
  border-color: rgba(245, 158, 11, 0.3);
}
.mrc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}
.mrc-header strong {
  color: #fff;
  font-size: 1rem;
}
.mrc-badge {
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mrc-badge-gold {
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold-300);
}
.mrc-badge-blue {
  background: rgba(14, 165, 233, 0.2);
  color: var(--blue-300);
}
.mrc-badge-green {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}
.mrc-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mrc-info span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}
.mrc-price {
  color: var(--gold-300) !important;
  font-weight: 600;
}
.mobile-room-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
.mobile-room-note a {
  color: var(--gold-400);
  text-decoration: underline;
}

/* -- Simplified modal (2 steps) -- */
.modal-compact-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modal-summary-compact {
  padding: 0.75rem 1rem;
  background: #FAFAFA;
  border-radius: 10px;
  border: 1px solid #E4E4E7;
  font-size: 0.88rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.payment-compact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
  flex-wrap: wrap;
}
.payment-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.payment-pill {
  display: inline-flex;
  cursor: pointer;
}
.payment-pill input {
  display: none;
}
.payment-pill span {
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #D4D4D8;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.payment-pill input:checked + span {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

/* -- Mobile search box fix -- */
@media (max-width: 768px) {
  .search-box {
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.75rem;
  }
  .search-field {
    width: 100%;
  }
  .search-btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem;
    font-size: 1rem;
  }
  .hero-search {
    width: 100%;
    max-width: 100%;
  }
  #hero {
    padding: 6rem 1rem 2rem;
  }
  .hero-badge {
    font-size: 0.68rem;
  }
  .hero-phone {
    font-size: 0.8rem;
  }
  .search-hint {
    font-size: 0.78rem;
  }

  /* Modal fullscreen on mobile */
  .modal {
    max-height: 95vh;
    overflow-y: auto;
    width: 95%;
    margin: auto;
  }

  /* CTA buttons stack on mobile */
  .final-cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  .final-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* -- Trust bar fix: no "invented" look, factual labels -- */
.trust-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold-300);
  line-height: 1;
  display: block;
}
.trust-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
  display: block;
}
.trust-item {
  text-align: center;
  flex-direction: column;
}

/* ===================== NAV & FOOTER LOGO IMAGE ===================== */
.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.nav.scrolled .nav-logo-img {
  filter: none;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Staff link subtle */
.footer-staff-link {
  color: rgba(255, 255, 255, 0.25) !important;
  font-size: 0.78rem !important;
  transition: color 0.3s ease;
}
.footer-staff-link:hover {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* ===================== MOBILE ROOM LIST GROUPS ===================== */
.mrc-group-title {
  font-family: var(--font-heading, 'Playfair Display SC', serif);
  font-size: 1rem;
  color: var(--text-primary, #1e293b);
  margin: 1.25rem 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--sky-100, #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mrc-group-title:first-child {
  margin-top: 0;
}
.mrc-group-count {
  font-family: var(--font-body, 'Karla', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted, #64748b);
  background: var(--sky-50, #f0f9ff);
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
}
.mrc-floor {
  font-size: 0.7rem;
  color: var(--text-muted, #64748b);
  margin-left: auto;
  font-weight: 400;
}
