@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --bg-light: #fbfbfa;
  --bg-card: #ffffff;
  --bg-card-hover: #fcf9f2;
  --color-primary: #bb6f5d;
  --color-primary-hover: #a85d4b;
  --color-primary-glow: rgba(187, 111, 93, 0.12);
  --color-primary-light: #d7a173;
  --color-primary-bright: #f18871;
  --color-primary-dark: #513232;
  --text-dark: #2c2c2a;
  --text-gray: #555552;
  --text-muted: #8e8e8a;
  --font-title: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Light Luxury Theme */
body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-body);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.container-limit {
  position: relative;
  display: block;
  max-width: 1000px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  letter-spacing: 0.01em;
  color: var(--text-dark);
}

/* =========================================
   HEADER-N — Scroll-aware transparent navbar
   ========================================= */
#main-header.header-n {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Estado inicial: transparente sobre el hero */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estado al hacer scroll: blanco con sombra suave */
#main-header.header-n.header-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.header-n-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 78px;
  gap: 24px;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 46px;
  width: auto;
  filter: none;
  transition: filter 0.45s ease;
}

/* Al hacer scroll el logo mantiene su color natural */
.header-scrolled .header-logo img {
  filter: none;
}

/* Navegación desktop */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 36px;
}

.header-menu li a {
  font-family: var(--font-body);
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  /* Sobre el hero: blanco */
  color: rgba(253, 251, 247, 0.85);
  position: relative;
  transition: color 0.3s ease;
}

.header-menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.header-menu li a:hover::after {
  width: 100%;
}

.header-menu li a:hover {
  color: var(--color-primary);
}

/* Al hacer scroll: links oscuros */
.header-scrolled .header-menu li a {
  color: var(--text-dark);
}

/* Acciones: teléfono + botón CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-phone {
  font-family: var(--font-body);
  font-size: 0.85em;
  font-weight: 500;
  color: rgba(253, 251, 247, 0.75);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.header-phone i {
  color: var(--color-primary);
  font-size: 1.1em;
}

.header-phone:hover {
  color: rgba(253, 251, 247, 1);
}

.header-scrolled .header-phone {
  color: var(--text-gray);
}

.header-scrolled .header-phone:hover {
  color: var(--text-dark);
}

/* Botón CTA */
.header-cta {
  font-family: var(--font-body);
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  /* color: var(--text-dark); */
  color: #ffe7af;
  background: var(--color-primary);
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.header-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

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

.header-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(253, 251, 247, 0.9);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease, background 0.35s ease;
  transform-origin: center;
}

.header-scrolled .header-hamburger span {
  background: var(--text-dark);
}

/* Animación X al abrir */
.header-hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

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

/* Panel móvil */
.header-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(320px, 85vw);
  background: #ffffff;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px;
  gap: 0;
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-mobile-panel.is-open {
  transform: translateX(0);
}

.header-mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.header-mobile-menu li a {
  font-family: var(--font-title);
  font-size: 1.6em;
  font-weight: 400;
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.header-mobile-menu li a:hover {
  color: var(--color-primary);
  padding-left: 8px;
}

.header-mobile-phone {
  font-family: var(--font-body);
  font-size: 0.95em;
  font-weight: 500;
  color: var(--text-gray);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-mobile-phone i {
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 1024px) {

  .header-nav,
  .header-phone {
    display: none;
  }

  .header-hamburger {
    display: flex;
  }

  .header-n-inner {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .header-cta {
    display: none;
  }
}



/* =========================================
   HERO SECTION — Cinematic Dark Immersive
   ========================================= */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px 0 20px;
  overflow: hidden;
}

.hero-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-slider-bg .blogSlides {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-slider-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.02) saturate(1.05);
  transform: scale(1.04);
  animation: heroZoom 10s ease-in-out infinite alternate;
}

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

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

/* Layered overlays for depth and warmth */
.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(18, 15, 10, 0.05) 0%,
      rgba(18, 15, 10, 0.1) 79%,
      rgba(18, 15, 10, 0.65) 95%,
      rgba(18, 15, 10, 0.98) 100%);
  /* background:
    linear-gradient(180deg,
      rgba(18, 15, 10, 0.2) 0%,
      rgba(18, 15, 10, 0.05) 30%,
      rgba(18, 15, 10, 0.45) 75%,
      rgba(18, 15, 10, 0.78) 100%); */
  z-index: 1;
}

/* Warm amber vignette from the sides */
.hero-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%,
      rgba(139, 90, 30, 0.12) 0%,
      transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
  z-index: 10;
  padding: 0 20px 80px 20px;
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   SCROLL REVEAL — Animaciones al hacer scroll
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  animation: revealFallback 0.5s 2s forwards;
}

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

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

/* Variaciones */
.suite-card.reveal { transform: translateY(36px); }
.srv-item.reveal { transform: translateY(20px); }
.photo-card.reveal { transform: scale(0.96); }
.photo-card.reveal.revealed { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .suite-card.reveal, .srv-item.reveal, .photo-card.reveal {
    opacity: 1; transform: none; transition: none; animation: none;
  }
}

@media (max-width: 550px) {
  .hero-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 70px 16px 30px;
  }

  .hero-title {
    font-size: 2em;
    margin-bottom: 14px;
  }

  .hero-title em {
    display: inline;
  }

  .hero-description {
    font-size: 0.85em;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-tagline {
    font-size: 0.7em;
    letter-spacing: 0.2em;
  }

  .hero-eyebrow::before,
  .hero-eyebrow::after {
    width: 24px;
  }

  .booking-glass-panel {
    padding: 14px 16px;
  }

  .reveal { transform: translateY(12px); transition-duration: 0.6s; }
  .suite-card.reveal { transform: translateY(20px); }

  .suites-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .container-limit {
    margin: 0 16px;
  }

  .section-header {
    margin-bottom: 32px;
  }

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

  .section-luxury {
    padding: 48px 0;
  }
}

/* Thin horizontal rule before tagline */
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.7;
}

.hero-tagline {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-primary);
  /* color: #f5a693; */
  font-size: 0.8em;
  font-weight: 600;
  display: inline-block;
}

.hero-title {
  font-size: 4.2em;
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 22px;
  color: #fdfbf7;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-title em {
  font-style: italic;
  color: var(--color-primary-bright);
  font-weight: bold;
}

.hero-description {
  font-size: 1.05em;
  line-height: 1.85;
  color: rgba(253, 251, 247, 0.75);
  max-width: 640px;
  margin: 0 auto 40px auto;
  font-weight: 300;
}

/* Booking Bar Glassmorphic Light */
.booking-bar-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

.booking-glass-panel {
  background: rgba(30, 25, 20, 0.75);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(223, 186, 115, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateZ(0);
  will-change: transform;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 16px;
  align-items: center;
}

/* Force border-box sizing on all form elements */
.booking-form-grid *,
.booking-form-grid *::before,
.booking-form-grid *::after {
  box-sizing: border-box;
}

.booking-input-group {
  position: relative;
  width: 100%;
}

.booking-input-group i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 1.2em;
  pointer-events: none;
  z-index: 2;
}

.booking-input-group .inp_res {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 8px;
  padding: 0 16px 0 45px !important;
  color: #fdfbf7 !important;
  font-family: var(--font-body);
  font-size: 0.95em;
  transition: var(--transition-smooth);
  width: 100%;
  height: 52px;
  line-height: 50px;
  /* Vertically centered text */
}

.booking-input-group .inp_res::placeholder {
  color: rgba(253, 251, 247, 0.55) !important;
}

.booking-input-group .inp_res:focus {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 14px rgba(223, 186, 115, 0.2);
  outline: none;
}

.booking-select-group {
  position: relative;
  width: 100%;
}

.booking-select-group i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 1.2em;
  pointer-events: none;
  z-index: 2;
}

.booking-select-group select {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 8px;
  padding: 0 35px 0 45px;
  color: #fdfbf7;
  font-family: var(--font-body);
  font-size: 0.95em;
  transition: var(--transition-smooth);
  width: 100%;
  height: 52px;
  line-height: 50px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* Custom indicator arrow for select */
.booking-select-group::after {
  content: '\e908';
  font-family: 'icomoon' !important;
  /* Uses style.css font icons */
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  pointer-events: none;
  font-size: 1.5em;
}

.booking-select-group select option {
  background: #2c2420;
  color: #fdfbf7;
}

.booking-select-group select:focus {
  border-color: var(--color-primary);
  outline: none;
}

.booking-btn {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-bright) 100%);
  color: var(--color-primary-dark) !important;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 8px;
  height: 52px;
  padding: 0 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(187, 111, 93, 0.2);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-btn:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(187, 111, 93, 0.4);
}

/* Sections Styling */
.section-luxury {
  padding: 100px 0;
  position: relative;
}

.section-dark-one {
  background-color: #ffffff;
  /* Clean pure white backgrounds */
}

.section-dark-two {
  background-color: #f7f7f6;
  /* Warm light grey backgrounds */
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.section-subtitle {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  font-size: 0.85em;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.8em;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
}

.section-header p {
  color: var(--text-gray);
  margin-top: 15px;
  font-weight: 300;
  line-height: 1.6;
}

/* Luxury Suites Cards */
.suites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.suite-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.suite-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(187, 111, 93, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.suite-img-container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.suite-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.suite-card:hover .suite-img-container img {
  transform: scale(1.06);
}

.suite-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  border: 1px solid rgba(187, 111, 93, 0.3);
}

.suite-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.suite-title {
  font-size: 1.6em;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.suite-card:hover .suite-title {
  color: var(--color-primary);
}

.suite-specs {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.85em;
  color: var(--text-gray);
}

.suite-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.suite-specs i {
  color: var(--color-primary);
}

.suite-description {
  font-size: 0.9em;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 25px;
  font-weight: 300;
  flex-grow: 1;
}

.suite-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
  margin-top: auto;
}

.suite-price-container {
  text-align: left;
}

.suite-price {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--color-primary);
}

.suite-price-sub {
  font-size: 0.75em;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.suite-cta {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.suite-card:hover .suite-cta {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

/* =========================================
   SECTION SPLIT SERVICES — Minimalist luxury
   ========================================= */
.section-split-services {
  display: flex;
  min-height: 700px;
  position: relative;
  background-color: #f7f7f6;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

/* Left side: Photo Panel with gradient fade */
.split-photo-panel {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  display: block;
}

.split-photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fade mask to melt photo into the light gray background */
.split-photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent 65%,
      rgba(247, 247, 246, 0.7) 85%,
      #f7f7f6 100%);
  pointer-events: none;
}

/* Minimalist floating badge */
.split-photo-badge {
  position: absolute;
  bottom: 50px;
  left: 50px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(223, 186, 115, 0.3);
  border-radius: 12px;
  padding: 24px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
}

.split-badge-num {
  font-family: var(--font-title);
  font-size: 2.2em;
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1;
}

.split-badge-text {
  font-family: var(--font-body);
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  line-height: 1.3;
}

/* Right side: services details */
.split-services-panel {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 80px 80px 80px 60px;
}

.split-services-inner {
  max-width: 680px;
  width: 100%;
}

.split-services-desc {
  color: var(--text-gray);
  margin-top: 15px;
  margin-bottom: 45px;
  font-weight: 300;
  line-height: 1.7;
}

/* Grid layout for services */
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 30px;
}

.srv-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.srv-icon-wrap {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 1px solid rgba(223, 186, 115, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.4em;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.srv-item:hover .srv-icon-wrap {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 8px 16px var(--color-primary-glow);
}

.srv-text h5 {
  font-family: var(--font-body);
  font-size: 0.95em;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.srv-text p {
  font-family: var(--font-body);
  font-size: 0.82em;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Responsive splitscreen stacking */
@media (max-width: 1024px) {
  .section-split-services {
    flex-direction: column;
    min-height: auto;
  }

  .split-photo-panel {
    flex: none;
    height: 400px;
    width: 100%;
  }

  .split-photo-fade {
    background: linear-gradient(180deg,
        transparent 65%,
        rgba(247, 247, 246, 0.7) 85%,
        #f7f7f6 100%);
  }

  .split-services-panel {
    padding: 60px 40px;
  }
}

@media (max-width: 600px) {
  .services-list-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .split-photo-panel {
    height: 300px;
  }

  .split-photo-badge {
    bottom: 20px;
    left: 20px;
    padding: 15px 20px;
  }
}


/* Gallery & Video section styling */
.media-container-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  padding: 0 20px;
}

.video-showcase {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
}

.video-showcase video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-photos-grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.gallery-sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.photo-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card:hover img {
  transform: scale(1.05);
}

/* Contact & Form Section */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 0 20px;
}

.contact-info-panel {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Metadata list styling */
.contact-meta-list {
  list-style: none;
  padding: 0;
  margin: 25px 0 35px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-meta-item .meta-icon-wrap {
  width: 42px;
  height: 42px;
  background: rgba(187, 111, 93, 0.08);
  border: 1px solid rgba(187, 111, 93, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.25em;
  flex-shrink: 0;
}

.contact-meta-item .meta-text-wrap h6 {
  font-family: var(--font-body);
  font-size: 0.9em;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 0;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-meta-item .meta-text-wrap p {
  font-family: var(--font-body);
  font-size: 0.92em;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

/* Map Wrapper & Floating button */
.contact-map-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 15px;
}

.map-link-container {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.contact-map-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-map-wrap:hover img {
  transform: scale(1.03);
}

.map-float-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid rgba(223, 186, 115, 0.3);
  border-radius: 50px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.85em;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.map-float-btn i {
  color: var(--color-primary);
  font-size: 1.15em;
}

.contact-map-wrap:hover .map-float-btn {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(187, 111, 93, 0.35);
  transform: translateX(-50%) translateY(-2px);
}

.contact-map-wrap:hover .map-float-btn i {
  color: #ffffff;
}

.contact-glass-form {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

/* Ensure all form children calculate sizing correctly */
.contact-glass-form *,
.contact-glass-form *::before,
.contact-glass-form *::after {
  box-sizing: border-box;
}

.contact-glass-form h4 {
  font-size: 1.8em;
  margin-bottom: 25px;
  font-weight: 400;
  text-align: left;
  color: var(--text-dark);
}

.form-group-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-glass-form .cont_inp {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px !important;
  color: var(--text-dark) !important;
  font-family: var(--font-body) !important;
  padding: 14px 16px !important;
  font-size: 0.95em !important;
  transition: var(--transition-smooth) !important;
  margin-bottom: 18px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.contact-glass-form .cont_inp:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 12px var(--color-primary-glow) !important;
  outline: none !important;
}

.contact-glass-form textarea.hg-130 {
  height: 120px !important;
  resize: none;
}

.contact-submit-btn {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: 100%;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(187, 111, 93, 0.15);
}

.contact-submit-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(187, 111, 93, 0.3);
}

/* Floating WhatsApp Button */
.whts_btn_new {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition-smooth);
}

.whts_btn_new img {
  width: 32px;
  height: 32px;
}

.whts_btn_new:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Responsive queries */
@media (min-width: 1400px) {
  .container-limit {
    max-width: 1300px;
  }
}

@media (max-width: 967px) {
  .container-limit {
    width: auto;
    margin: 0 20px;
  }
}

/* Hero text split — desktop shows both, mobile only short phrase */
.desc-desktop { display: inline; }
.desc-mobile { display: inline; }

@media (max-width: 900px) {
  .hero-wrapper {
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 80px 20px 40px;
  }

  .hero-content {
    padding: 0;
    max-width: 480px;
  }

  .hero-title {
    font-size: 2.8em;
  }

  .hero-description {
    font-size: 0.95em;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .booking-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .media-container-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2.2em;
  }

  .section-luxury {
    padding: 60px 0;
  }

  .suites-grid {
    padding: 0;
    gap: 20px;
  }

  .section-header {
    padding: 0;
  }

  .desc-desktop { display: none; }
  .desc-mobile { display: inline; }
}

/* Light theme text overrides */
.cl_gray {
  color: var(--text-gray) !important;
}

.contact-info-panel p strong {
  color: var(--text-dark);
  font-weight: 600;
}

.contact-info-panel p {
  color: var(--text-gray);
}

/* Override imagenHab for light card backgrounds */
.imagenHab.i-active {
  opacity: 1;
  position: relative;
}

.imagenHab:not(.i-active) {
  opacity: 0;
}

/* Accent divider line used as decorative element */
.section-header::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--color-primary);
  margin: 20px auto 0 auto;
  border-radius: 2px;
  opacity: 0.6;
}

/* =========================================
   PAGE HERO — Internal pages banner
   ========================================= */
.page-hero {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(20, 18, 16, 0.65) 0%,
      rgba(20, 18, 16, 0.45) 50%,
      rgba(20, 18, 16, 0.7) 100%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%,
      rgba(139, 90, 30, 0.1) 0%,
      transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-hero-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-primary);
  font-size: 0.78em;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.page-hero-title {
  font-size: 3.4em;
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.15;
  color: #fdfbf7;
  margin-bottom: 18px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.page-hero-subtitle {
  font-size: 1em;
  line-height: 1.7;
  color: rgba(253, 251, 247, 0.7);
  max-width: 580px;
  margin: 0 auto 28px auto;
  font-weight: 300;
}

/* Breadcrumb inside hero */
.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.82em;
  font-weight: 500;
  color: rgba(253, 251, 247, 0.55);
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-breadcrumb a:hover {
  color: #d4a95a;
}

.breadcrumb-divider {
  color: rgba(253, 251, 247, 0.35);
}

.breadcrumb-current {
  color: rgba(253, 251, 247, 0.65);
}

/* =========================================
   INTRO ROOM SECTION — Less bottom padding
   ========================================= */
.intro-room-section {
  padding-bottom: 30px;
  background-color: #ffffff;
}

/* =========================================
   GALLERY MOSAIC — Asymmetrical photo grid
   ========================================= */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr;
  grid-template-rows: 280px 220px;
  gap: 12px;
  padding: 0 20px;
}

.gallery-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-mosaic img:hover {
  transform: scale(1.03);
}

.mosaic-main {
  grid-row: 1 / 3;
  grid-column: 1;
}

.mosaic-secondary {
  grid-row: 1;
  grid-column: 2;
}

.mosaic-tertiary {
  grid-row: 2;
  grid-column: 2;
}

.mosaic-quaternary {
  grid-row: 1 / 3;
  grid-column: 3;
}

/* =========================================
   CTA CARD — Call to action section
   ========================================= */
.cta-room-section {
  background-color: #ffffff;
}

.cta-card {
  background: linear-gradient(135deg, #1e1c19 0%, #2a2520 50%, #1e1c19 100%);
  border-radius: 20px;
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 20px;
  border: 1px solid rgba(187, 111, 93, 0.15);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 0%,
      rgba(187, 111, 93, 0.08) 0%,
      transparent 70%);
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(187, 111, 93, 0.3) 30%,
      rgba(187, 111, 93, 0.6) 50%,
      rgba(187, 111, 93, 0.3) 70%,
      transparent 100%);
}

.cta-card-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  font-size: 0.82em;
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.cta-title {
  font-family: var(--font-title);
  font-size: 2.6em;
  font-weight: 400;
  color: #fdfbf7;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-description {
  font-size: 0.95em;
  line-height: 1.7;
  color: rgba(253, 251, 247, 0.6);
  margin-bottom: 35px;
  font-weight: 300;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-bright) 100%);
  color: var(--color-primary-dark) !important;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 6px 20px rgba(187, 111, 93, 0.25);
  font-size: 0.95em;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(187, 111, 93, 0.4);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
}

/* =========================================
   RESPONSIVE — Habitaciones page
   ========================================= */
@media (max-width: 900px) {
  .page-hero {
    height: 360px;
  }

  .page-hero-title {
    font-size: 2.4em;
  }

  .page-hero-subtitle {
    font-size: 0.9em;
    max-width: 100%;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
    gap: 10px;
  }

  .mosaic-main {
    grid-row: auto;
    grid-column: 1 / 3;
  }

  .mosaic-quaternary {
    grid-row: auto;
    grid-column: 1 / 3;
  }

  .cta-title {
    font-size: 2em;
  }

  .cta-card {
    padding: 50px 30px;
    margin: 0;
  }
}

@media (max-width: 550px) {
  .page-hero {
    height: 320px;
  }

  .page-hero-title {
    font-size: 2em;
  }

  .page-hero-eyebrow {
    font-size: 0.7em;
    letter-spacing: 0.15em;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 160px 160px 160px;
    gap: 8px;
    padding: 0 10px;
  }

  .mosaic-main,
  .mosaic-secondary,
  .mosaic-tertiary,
  .mosaic-quaternary {
    grid-row: auto;
    grid-column: auto;
  }

  .cta-title {
    font-size: 1.6em;
  }

  .cta-card {
    padding: 40px 22px;
    border-radius: 14px;
  }

  .cta-btn {
    padding: 14px 30px;
    font-size: 0.88em;
  }
}

/* =========================================
   ROOM DETAIL — habitación individual
   ========================================= */
.room-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
  padding: 0 20px;
}

/* Galería de la habitación */
.room-gallery-col {
  position: relative;
}

.room-gallery {
  position: sticky;
  top: 100px;
}

.room-gallery-main {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  aspect-ratio: 4 / 3;
}

.room-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.room-gallery-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.room-gallery-strip::-webkit-scrollbar {
  height: 4px;
}

.room-gallery-strip::-webkit-scrollbar-thumb {
  background: rgba(187, 111, 93, 0.3);
  border-radius: 2px;
}

.room-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

.room-thumb.active {
  border-color: var(--color-primary);
  opacity: 1;
}

.room-thumb:hover {
  opacity: 0.9;
}

.room-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Panel de información de la habitación */
.room-info-panel {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.room-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.room-type-badge {
  background: rgba(187, 111, 93, 0.1);
  color: var(--color-primary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(187, 111, 93, 0.2);
}

.room-title {
  font-family: var(--font-title);
  font-size: 2.2em;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.15;
}

.room-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.room-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88em;
  color: var(--text-gray);
}

.room-meta-item i {
  color: var(--color-primary);
  font-size: 1.1em;
}

.room-description {
  margin-bottom: 24px;
}

.room-description p {
  font-size: 0.95em;
  line-height: 1.75;
  color: var(--text-gray);
  font-weight: 300;
}

/* Servicios incluidos */
.room-services {
  margin-bottom: 28px;
}

.room-services-title {
  font-family: var(--font-body);
  font-size: 0.88em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.room-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.room-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f7f7f6;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.85em;
  color: var(--text-gray);
}

.room-service-tag i {
  color: var(--color-primary);
  font-size: 0.9em;
}

/* Tarjeta de precio y CTA */
.room-price-card {
  background: linear-gradient(135deg, #fcf9f2 0%, #ffffff 100%);
  border: 1px solid rgba(187, 111, 93, 0.2);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.room-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

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

.room-price {
  font-family: var(--font-title);
  font-size: 2em;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1;
}

.room-price-currency {
  font-family: var(--font-body);
  font-size: 0.8em;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
}

.room-price-period {
  font-size: 0.8em;
  color: var(--text-muted);
  font-weight: 400;
}

.room-book-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-bright) 100%);
  color: var(--color-primary-dark) !important;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 0.9em;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(187, 111, 93, 0.2);
}

.room-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(187, 111, 93, 0.35);
}

/* Amenities highlight grid */
.amenities-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 20px;
}

.amenity-hl-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  padding: 30px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.amenity-hl-card:hover {
  border-color: rgba(187, 111, 93, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  transform: translateY(-3px);
}

.amenity-hl-icon {
  width: 48px;
  height: 48px;
  background: rgba(187, 111, 93, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amenity-hl-icon i {
  color: var(--color-primary);
  font-size: 1.35em;
}

.amenity-hl-text h5 {
  font-family: var(--font-body);
  font-size: 0.95em;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 4px 0;
}

.amenity-hl-text p {
  font-size: 0.82em;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.45;
}

/* =========================================
   SERVICES PAGE — servicios
   ========================================= */
.services-hero-section {
  background-color: #ffffff;
  padding-bottom: 40px;
}

.services-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0 20px;
}

.service-card-new {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.service-card-new:hover {
  border-color: rgba(187, 111, 93, 0.3);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  transform: translateY(-6px);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(187, 111, 93, 0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(187, 111, 93, 0.15);
}

.service-card-icon i {
  color: var(--color-primary);
  font-size: 1.6em;
}

.service-card-new h4 {
  font-family: var(--font-title);
  font-size: 1.25em;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0;
}

.service-card-new p {
  font-size: 0.88em;
  line-height: 1.6;
  color: var(--text-gray);
  font-weight: 300;
  margin: 0;
}

/* =========================================
   GALLERY PAGE — galería
   ========================================= */
.gallery-category-section {
  margin-bottom: 50px;
}

.gallery-category-header {
  text-align: center;
  margin-bottom: 28px;
}

.gallery-category-title {
  font-family: var(--font-title);
  font-size: 2em;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.gallery-category-divider {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  margin: 12px auto 0 auto;
  border-radius: 2px;
  opacity: 0.5;
}

.gallery-masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 20px;
}

.gallery-masonry-item {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}

.gallery-masonry-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(187, 111, 93, 0.3);
}

.gallery-masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-masonry-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.gallery-empty-state i {
  font-size: 4em;
  color: rgba(187, 111, 93, 0.2);
  display: block;
  margin-bottom: 18px;
}

.gallery-empty-state h3 {
  font-family: var(--font-title);
  font-size: 1.6em;
  color: var(--text-dark);
  margin-bottom: 10px;
}

/* =========================================
   RESPONSIVE — view_habitacion, servicios, galería
   ========================================= */
@media (max-width: 900px) {
  .room-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .room-gallery {
    position: relative;
    top: auto;
  }

  .room-title {
    font-size: 1.8em;
  }

  .room-price-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .room-book-btn {
    width: 100%;
    text-align: center;
  }

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

  .services-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-masonry-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .gallery-category-title {
    font-size: 1.6em;
  }
}

@media (max-width: 550px) {
  .room-info-panel {
    padding: 26px 20px;
  }

  .room-title {
    font-size: 1.5em;
  }

  .room-meta-row {
    gap: 14px;
  }

  .room-price {
    font-size: 1.6em;
  }

  .room-gallery-strip {
    gap: 8px;
  }

  .room-thumb {
    width: 64px;
    height: 48px;
  }

  .amenities-highlight-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 10px;
  }

  .amenity-hl-card {
    padding: 22px 18px;
  }

  .services-grid-new {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 10px;
  }

  .service-card-new {
    padding: 28px 22px;
  }

  .gallery-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 10px;
  }

  .gallery-masonry-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-category-title {
    font-size: 1.3em;
  }
}

/* =========================================
   GALLERY MODAL — Lightbox de imágenes
   ========================================= */
.cont_modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2500;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 20px;
}

.main_modal {
  position: relative;
  display: block;
  max-width: 950px;
  width: 100%;
  height: 550px;
  background: #ffffff;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(187, 111, 93, 0.12);
  overflow: hidden;
}

.main_modal .limpio {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hg500 {
  height: 550px;
}

/* Imagen principal del lightbox */
.img_cargada {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  transition: opacity 0.3s ease;
}

.isVertical {
  width: auto !important;
  height: 85% !important;
  max-width: 95%;
}

.isHorizontal {
  width: 90% !important;
  height: auto !important;
  max-height: 85%;
}

.isAuto {
  width: auto !important;
  height: auto !important;
  max-width: 95%;
  max-height: 85%;
}

/* Botón de cerrar */
.cerrar_modal {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 100;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 1.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cerrar_modal:hover {
  background: rgba(200, 40, 40, 0.8);
  border-color: transparent;
  transform: scale(1.08);
}

/* Flechas de navegación */
.icon_next,
.icon_previus {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  color: var(--text-dark);
  font-size: 1.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.icon_next:hover,
.icon_previus:hover {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(187, 111, 93, 0.3);
  border-color: var(--color-primary);
}

.icon_next {
  right: 18px;
}

.icon_previus {
  left: 18px;
}

/* Franja de miniaturas inferior */
.list_min_gal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  background: rgba(30, 28, 25, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  overflow-y: hidden;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 10px;
  border-top: 1px solid rgba(187, 111, 93, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.list_min_gal::-webkit-scrollbar {
  height: 3px;
}

.list_min_gal::-webkit-scrollbar-thumb {
  background: rgba(187, 111, 93, 0.4);
  border-radius: 2px;
}

.item_min_gal {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 56px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.item_min_gal:hover {
  opacity: 0.85;
  border-color: rgba(187, 111, 93, 0.4);
}

.item_min_gal.actThumb {
  opacity: 1;
  border-color: var(--color-primary);
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(187, 111, 93, 0.25);
}

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

/* Indicador de carga */
.tag_load_gale {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  z-index: 50;
}

.spinner_small {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(187, 111, 93, 0.15);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spinModal 0.7s linear infinite;
}

.hide {
  display: none !important;
}

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

/* Aviso de timeout en modal */
.txt_aviso {
  font-family: var(--font-body);
  font-size: 0.85em;
  color: var(--text-gray);
  text-align: center;
  padding: 10px;
  margin: 0;
}

.ico_sml_er {
  color: #c93b3b;
  margin-right: 6px;
}

.btn_mas_trd {
  color: var(--color-primary);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
  margin-left: 4px;
}

.btn_mas_trd:hover {
  color: var(--color-primary-hover);
}

/* Animaciones reutilizadas en modal */
.slideInUp {
  animation: heroFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* =========================================
   RESPONSIVE — Gallery modal
   ========================================= */
@media (max-width: 900px) {
  .main_modal {
    height: 420px;
    max-width: 98%;
  }

  .hg500 {
    height: 420px;
  }

  .icon_next,
  .icon_previus {
    width: 38px;
    height: 38px;
    font-size: 1.1em;
  }

  .icon_next {
    right: 8px;
  }

  .icon_previus {
    left: 8px;
  }

  .cerrar_modal {
    width: 36px;
    height: 36px;
    font-size: 1.2em;
    top: 10px;
    right: 10px;
  }

  .list_min_gal {
    height: 68px;
  }

  .item_min_gal {
    width: 48px;
    height: 44px;
  }
}

@media (max-width: 550px) {
  .cont_modal {
    padding: 15px 8px;
  }

  .main_modal {
    height: 350px;
    border-radius: 12px;
  }

  .hg500 {
    height: 350px;
  }

  .icon_next,
  .icon_previus {
    width: 32px;
    height: 32px;
    font-size: 0.95em;
  }

  .list_min_gal {
    height: 56px;
    padding: 0 6px;
    gap: 6px;
  }

  .item_min_gal {
    width: 40px;
    height: 36px;
    border-radius: 6px;
  }
}

/* =========================================
   RESERVATION FLOW — Pasos de reserva
   ========================================= */

/* Header compacto de reserva */
.res-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 500;
  padding: 0 20px;
}

.res-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
}

.res-header-logo img {
  height: 34px;
  width: auto;
}

.res-header-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 500;
}

.res-header-contact a i {
  color: var(--color-primary);
  font-size: 1.1em;
}

.res-header-cancel {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82em;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  transition: all 0.3s ease;
}

.res-header-cancel:hover {
  color: #c93b3b;
  background: rgba(200, 40, 40, 0.06);
  border-color: rgba(200, 40, 40, 0.2);
}

.res-header-cancel i {
  font-size: 1.3em;
  transition: transform 0.3s ease;
}

.res-header-cancel:hover i {
  transform: rotate(90deg);
}

/* Barra de pasos — stepper */
.res-stepper {
  background: var(--bg-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  padding: 0 20px;
}

.res-stepper-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
  height: 64px;
  gap: 0;
}

.res-step {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.3s ease;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.res-step:hover {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.02);
}

.res-step.active {
  color: var(--color-primary);
}

.res-step.done {
  color: var(--text-gray);
}

.res-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78em;
  font-weight: 700;
  flex-shrink: 0;
}

.res-step.active .res-step-num {
  background: var(--color-primary);
  color: #ffffff;
}

.res-step.done .res-step-num {
  background: rgba(187, 111, 93, 0.15);
  color: var(--color-primary);
}

.res-step-label {
  display: flex;
  align-items: center;
  gap: 4px;
}

.res-step-title {
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.res-step-done {
  color: var(--color-primary);
  font-size: 0.75em;
}

.res-step-line {
  width: 40px;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* Contenido principal */
.res-main {
  min-height: 60vh;
  background: var(--bg-light);
  padding: 40px 20px 80px;
}

.res-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Tarjeta contenedora */
.res-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.res-card-header {
  text-align: left;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.res-card-icon {
  font-size: 1.6em;
  color: var(--color-primary);
  display: inline-block;
  margin: 0 10px 0 0;
  vertical-align: middle;
}

.res-card-title {
  font-family: var(--font-title);
  font-size: 1.8em;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 4px 0;
  display: inline-block;
  vertical-align: middle;
}

.res-card-sub {
  font-size: 0.9em;
  color: var(--text-gray);
  margin: 6px 0 0 0;
  font-weight: 300;
  display: block;
}

/* Grid de formulario */
.res-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.res-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.res-field-full {
  grid-column: 1 / -1;
}

.res-subgrid {
  background: #f7f7f6;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  padding: 20px;
  margin-top: 10px;
}

.res-label {
  font-family: var(--font-body);
  font-size: 0.82em;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.res-label-sub {
  font-size: 0.75em;
  color: var(--text-muted);
  margin: 0 0 4px 0;
}

.res-label-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9em;
  color: var(--text-gray);
  cursor: pointer;
}

.res-label-checkbox input[type="checkbox"] {
  display: none;
}

.res-checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.res-label-checkbox input:checked + .res-checkmark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.res-label-checkbox input:checked + .res-checkmark::after {
  content: '✓';
  color: #ffffff;
  font-size: 0.75em;
  font-weight: 700;
}

/* Inputs y selects */
.res-input,
.res-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92em;
  color: var(--text-dark);
  background: #ffffff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.res-select {
  padding-left: 42px;
}

.res-input:focus,
.res-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(187, 111, 93, 0.1);
  outline: none;
}

.res-input::placeholder {
  color: var(--text-muted);
}

.res-select-wrap {
  position: relative;
}

.res-select-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 1.1em;
  pointer-events: none;
  z-index: 2;
}

.res-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-muted);
  pointer-events: none;
}

.res-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  cursor: pointer;
}

.res-date-wrap {
  position: relative;
}

.res-date-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 1.1em;
  pointer-events: none;
  z-index: 2;
}

.res-date-wrap .res-input {
  padding-left: 42px;
}

.res-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92em;
  color: var(--text-dark);
  background: #ffffff;
  resize: vertical;
  min-height: 80px;
  box-sizing: border-box;
}

.res-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(187, 111, 93, 0.1);
  outline: none;
}

.res-error {
  color: #c93b3b;
  font-size: 0.85em;
  margin: 0;
}

.res-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(187, 111, 93, 0.06) 0%, rgba(187, 111, 93, 0.02) 100%);
  border: 1px solid rgba(187, 111, 93, 0.2);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.88em;
  color: var(--text-dark);
  text-align: left;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.res-alert i {
  flex-shrink: 0;
  font-size: 1.6em;
  color: var(--color-primary);
}

/* Botones */
.res-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition-smooth);
  font-size: 0.9em;
  padding: 14px 28px;
  box-sizing: border-box;
}

.res-btn-primary {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-bright) 100%);
  color: var(--color-primary-dark) !important;
  box-shadow: 0 4px 15px rgba(187, 111, 93, 0.2);
}

.res-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(187, 111, 93, 0.35);
}

.res-btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.res-btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.res-btn-outline:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.res-btn-secondary {
  background: var(--text-gray);
  color: #ffffff;
}

.res-btn-secondary:hover {
  background: var(--text-dark);
}

.res-btn-sm {
  padding: 10px 18px;
  font-size: 0.82em;
}

/* Guest bar (paso 3) */
.res-guest-bar {
  text-align: left;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Two column layout */
.res-two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.res-col-main {
  min-width: 0;
}

.res-col-side {
  position: sticky;
  top: 140px;
}

/* Resumen lateral */
.res-summary {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-bottom: 20px;
}

.res-summary-title {
  font-family: var(--font-title);
  font-size: 1.15em;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 20px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.res-summary-room {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.res-summary-img {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.res-summary-info {
  min-width: 0;
}

.res-summary-name {
  font-size: 0.9em;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 4px 0;
}

.res-summary-meta {
  font-size: 0.82em;
  color: var(--text-muted);
  margin: 0;
}

.res-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.88em;
  color: var(--text-gray);
}

.res-summary-total {
  font-size: 1em;
  border-bottom: none;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 2px solid var(--color-primary);
}

.res-summary-total strong {
  color: var(--color-primary);
  font-size: 1.1em;
}

.res-summary-requests {
  margin-top: 20px;
}

.res-summary-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.res-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85em;
  color: var(--text-gray);
}

.res-contact-row i {
  color: var(--color-primary);
  font-size: 1.1em;
  width: 20px;
  text-align: center;
}

/* Room cards — paso 2 */
.res-rooms-grid {
  display: grid;
  gap: 20px;
}

.res-room-card {
  display: grid;
  grid-template-columns: 200px 1fr 180px;
  gap: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-smooth);
  align-items: stretch;
}

.res-room-card:hover {
  border-color: rgba(187, 111, 93, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.res-room-img {
  position: relative;
  background: #f5f5f5;
  min-height: 190px;
}

.res-room-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.res-room-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75em;
  color: var(--text-dark);
  transition: all 0.25s ease;
}

.res-room-arrow:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.res-room-prev { left: 8px; }
.res-room-next { right: 8px; }

.res-room-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72em;
  font-weight: 600;
  z-index: 5;
  border: 1px solid rgba(187, 111, 93, 0.2);
}

.res-room-info {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.res-room-name {
  font-family: var(--font-title);
  font-size: 1.2em;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0;
}

.res-room-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82em;
  color: var(--text-gray);
}

.res-room-spec i {
  color: var(--color-primary);
}

.res-room-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95em;
}

.res-room-tag {
  font-size: 0.78em;
  color: var(--text-muted);
  background: #f7f7f6;
  padding: 2px 8px;
  border-radius: 4px;
}

.res-room-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: #fafaf9;
  text-align: center;
}

.res-room-price {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.res-price-amount {
  font-size: 1.8em;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.res-price-curr {
  font-size: 0.55em;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0;
  margin-right: 4px;
  vertical-align: middle;
}

.res-price-sub {
  font-size: 0.7em;
  color: var(--text-muted);
  margin: 2px 0 0 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.res-room-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-bright) 100%);
  color: var(--color-primary-dark);
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.82em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.res-room-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(187, 111, 93, 0.3);
}

/* =========================================
   PAYMENT FORM — Diseño moderno tarjeta
   ========================================= */

/* Contenedor principal con efecto tarjeta */
.pay-card-container {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Cabecera de la tarjeta */
.pay-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1e1c19 0%, #2a2520 100%);
  border-bottom: 1px solid rgba(187, 111, 93, 0.2);
}

.pay-card-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 0.82em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pay-card-header-left i {
  font-size: 1.1em;
}

.pay-card-header-right {
  display: flex;
  gap: 6px;
}

.pay-card-badge {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Cuerpo — Stripe Element */
.pay-card-body {
  padding: 24px 20px;
  background: #fcfcfb;
}

.pay-card-element-wrapper {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 16px 16px 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pay-card-element-wrapper:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(187, 111, 93, 0.1);
}

#card-error {
  color: #c93b3b;
  font-size: 0.82em;
  margin-top: 10px;
  min-height: 18px;
}

/* Footer — seguridad */
.pay-card-footer {
  padding: 16px 20px;
  background: #fafaf9;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.pay-secure-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pay-secure-row i {
  color: var(--color-primary);
  font-size: 1.3em;
  flex-shrink: 0;
  margin-top: 2px;
}

.pay-secure-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pay-secure-text strong {
  font-size: 0.85em;
  color: var(--text-dark);
}

.pay-secure-text span {
  font-size: 0.78em;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Botón de pago principal */
.res-btn-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-bright) 100%);
  color: var(--color-primary-dark);
  box-shadow: 0 6px 24px rgba(187, 111, 93, 0.3);
  position: relative;
  overflow: hidden;
}

.res-btn-pay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.res-btn-pay:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(187, 111, 93, 0.45);
}

.res-btn-pay:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Fila de confianza */
.pay-trust-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 24px 0 20px;
  flex-wrap: wrap;
}

.pay-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8em;
  color: var(--text-muted);
}

.pay-trust-item i {
  color: var(--color-primary);
  font-size: 1.2em;
}

/* Badge Stripe */
.pay-stripe-badge {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.pay-stripe-badge img {
  height: 22px;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.pay-stripe-badge img:hover {
  opacity: 0.8;
}

/* =========================================
   RESPONSIVE — Payment
   ========================================= */
@media (max-width: 550px) {
  .pay-card-container {
    border-radius: 10px;
  }

  .pay-card-header {
    padding: 14px 16px;
  }

  .pay-card-body {
    padding: 20px 14px;
  }

  .pay-card-element-wrapper {
    padding: 14px 12px 10px;
  }

  .pay-card-footer {
    padding: 14px 16px;
  }

  .pay-trust-row {
    gap: 16px;
  }

  .res-btn-pay {
    padding: 16px 24px;
    font-size: 0.95em;
  }
}

.res-secure-badge {
  text-align: center;
  margin-top: 16px;
}

.res-discount-note {
  font-size: 0.8em;
  color: var(--color-primary);
  margin: 8px 0 0 0;
}

/* Payment loading */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinModal 0.6s linear infinite;
}

.res-loading {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.res-loading-bar {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: loadingBar 2s ease-in-out infinite;
}

@keyframes loadingBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.res-loading-text {
  font-size: 0.95em;
  color: var(--text-gray);
  margin: 10px 0 0 0;
}

.res-loading-hint {
  font-size: 0.8em;
  color: var(--text-muted);
}

/* =========================================
   VOUCHER — Paso 5: confirmación compacta
   ========================================= */

.voucher-card {
  padding: 0 !important;
  overflow: hidden;
}

/* Hero */
.voucher-hero {
  text-align: center;
  padding: 32px 24px 28px;
  background: linear-gradient(180deg, rgba(179,142,70,0.04) 0%, #ffffff 100%);
}

.voucher-check {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(46,125,50,0.2);
}

.voucher-check i { font-size: 1.8em; color: #fff; }

.voucher-title {
  font-family: var(--font-title);
  font-size: 1.7em;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 4px 0;
}

.voucher-subtitle {
  font-size: 0.85em;
  color: var(--text-gray);
  margin: 0;
}

/* Hotel */
.voucher-hotel {
  text-align: center;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.voucher-hotel-logo { height: 32px; margin-bottom: 4px; }
.voucher-hotel-address { font-size: 0.78em; color: var(--text-muted); margin: 0; }

/* Detalles */
.voucher-detail {
  padding: 14px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.voucher-detail:last-of-type { border-bottom: none; }

.voucher-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.voucher-row-total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(179,142,70,0.2);
}

.voucher-row-total .voucher-value {
  color: var(--color-primary);
  font-size: 1.05em;
  font-family: var(--font-title);
}

.voucher-label { font-size: 0.78em; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.voucher-value { font-size: 0.9em; color: var(--text-dark); font-weight: 500; }
.voucher-value strong { font-weight: 600; }

/* Habitación */
.voucher-room-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fafaf9;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}

.voucher-room-img {
  width: 90px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.voucher-room-detail h5 {
  font-family: var(--font-title);
  font-size: 1em;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 2px 0;
}

.voucher-room-detail p {
  font-size: 0.8em;
  color: var(--text-gray);
  margin: 0;
}

/* Clave */
.voucher-key-row {
  margin: 16px 24px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1e1c19 0%, #2a2520 100%);
  border-radius: 12px;
  border: 1px solid rgba(179,142,70,0.12);
}

.voucher-key-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.voucher-key-label {
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(253,251,247,0.4);
}

.voucher-key-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.voucher-key-code {
  font-family: 'Courier New', monospace;
  font-size: 1.3em;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.06em;
}

.voucher-key-copy {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  transition: all 0.25s ease;
}

.voucher-key-copy:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.voucher-key-hint {
  font-size: 0.72em;
  color: rgba(253,251,247,0.3);
  margin: 8px 0 0 0;
}

/* Acciones */
.voucher-actions {
  display: flex;
  gap: 10px;
  padding: 0 24px 24px;
  flex-wrap: wrap;
}

.voucher-actions .res-btn {
  flex: 1 1 160px;
  font-size: 0.82em;
  padding: 12px 16px;
  justify-content: center;
  min-width: 0;
  line-height: 1.3;
}

/* =========================================
   RESPONSIVE — Voucher
   ========================================= */
@media (max-width: 900px) {
  .voucher-hero { padding: 28px 18px 22px; }
  .voucher-title { font-size: 1.4em; }
  .voucher-detail { padding: 12px 18px; }
  .voucher-key-row { margin: 14px 18px; }
  .voucher-actions { padding: 0 18px 20px; }
  .voucher-actions .res-btn { font-size: 0.78em; }
}

@media (max-width: 550px) {
  .voucher-check { width: 50px; height: 50px; }
  .voucher-check i { font-size: 1.4em; }
  .voucher-title { font-size: 1.2em; }
  .voucher-room-card { flex-direction: column; align-items: flex-start; }
  .voucher-room-img { width: 100%; height: 130px; }
  .voucher-actions { flex-direction: column; }
  .voucher-actions .res-btn { width: 100%; flex: none; }
  .voucher-key-code { font-size: 1.1em; }
  .voucher-key-row { padding: 14px 16px; }
}

/* Políticas */
.res-summary-policies {
  font-size: 0.82em;
}

.res-policy-text {
  color: var(--text-muted);
  margin: 0 0 8px 0;
  line-height: 1.5;
}

/* Estado vacío */
.res-empty {
  text-align: center;
  padding: 60px 20px;
}

.res-empty i {
  font-size: 3em;
  color: rgba(187, 111, 93, 0.2);
  display: block;
  margin-bottom: 16px;
}

.res-empty h3 {
  font-family: var(--font-title);
  font-size: 1.5em;
  color: var(--text-dark);
  margin: 0 0 8px 0;
}

.res-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Utilidades */
.dnone { display: none !important; }
.hidden { display: none !important; }

/* =========================================
   SHARED FORM ELEMENTS — Inputs y botones legacy
   ========================================= */
.inp_add {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.92em;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #ffffff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.inp_add:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(187, 111, 93, 0.1);
}

.inp_fail {
  border: 1px solid #ffd8d5 !important;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.08) !important;
}

.inp_yes {
  border: 1px solid rgba(187, 111, 93, 0.5) !important;
}

.icon_inp {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
  font-size: 0.7em;
  color: var(--text-muted);
  text-align: center;
  pointer-events: none;
}

.btn_next_res {
  display: inline-block;
  padding: 12px 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-bright) 100%);
  color: var(--color-primary-dark);
  border: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(187, 111, 93, 0.2);
}

.btn_next_res:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(187, 111, 93, 0.35);
}

/* Guest search modal */
.modal_shr {
  background: #ffffff !important;
  height: auto !important;
  max-width: 420px !important;
  min-height: auto !important;
  padding: 0 !important;
  overflow: visible !important;
}

.modal_shr .limpio {
  display: block !important;
  height: auto !important;
  width: auto !important;
  padding: 40px 32px 34px !important;
  box-sizing: border-box !important;
}

.modal_shr .wd_80 {
  width: 100% !important;
  margin: 0 auto;
  text-align: left;
}

.modal_shr .separador {
  padding: 0 0 16px 0;
}

.modal_shr .p_relative {
  position: relative;
}

.modal_shr .inp_add {
  width: 100%;
  margin-right: 0;
  padding: 13px 40px 13px 14px;
}

.modal_shr .icon_inp {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(187, 111, 93, 0.1);
  color: var(--color-primary);
  font-size: 0.75em;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.modal_shr .btn_next_res {
  width: 100%;
  padding: 14px 24px;
  text-align: center;
}

.t_blk {
  font-family: var(--font-title);
  font-size: 1.5em;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 24px 0;
}

/* Close button inside white modal */
.line_n {
  top: 14px !important;
  right: 14px !important;
  color: var(--text-dark) !important;
  background: rgba(0, 0, 0, 0.05) !important;
  width: 34px !important;
  height: 34px !important;
  font-size: 1.1em !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.line_n:hover {
  background: rgba(200, 40, 40, 0.15) !important;
  color: #c93b3b !important;
}

/* =========================================
   MESSAGE TOASTS — Notificaciones toast
   ========================================= */

/* Toast inferior — mandarMensaje() */
.cont_mensaje {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 40px 18px 24px;
  font-family: var(--font-body);
  color: #ffffff;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cont_mensaje.isTrue {
  background: linear-gradient(135deg, rgba(28, 120, 70, 0.95) 0%, rgba(30, 140, 80, 0.95) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cont_mensaje.isFalse {
  background: linear-gradient(135deg, rgba(180, 40, 40, 0.95) 0%, rgba(200, 50, 50, 0.95) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cont_mensaje .col_icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cont_mensaje .icon_alert {
  font-size: 1.1em;
}

.cont_mensaje .text_mensaje {
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5;
  flex: 1;
  text-align: left;
}

/* Toast superior — mandarMensajeTop() */
.top_mensaje {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 40px 16px 24px;
  font-family: var(--font-body);
  color: #ffffff;
  background: linear-gradient(135deg, #1e1c19 0%, #2a2520 100%);
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.top_mensaje .txt_ms_t {
  font-size: 1.1em;
  font-weight: 500;
  line-height: 1.5;
  flex: 1;
  text-align: center;
}

/* Botón de cierre compartido */
.closed_mensaje {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.25s ease;
  opacity: 0.7;
}

.closed_mensaje:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

.circle_ex {
  font-size: 1.2em;
  color: #ffffff;
  line-height: 1;
}

/* =========================================
   ANIMATIONS — Toast y modal
   ========================================= */
.fadeInDown {
  animation: fadeInDown 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.fadeOutUp {
  animation: fadeOutUp 0.6s cubic-bezier(0.55, 0.06, 0.68, 0.19) both;
}

.slideInUp {
  animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.slideOutDown {
  animation: slideOutDown 0.6s cubic-bezier(0.55, 0.06, 0.68, 0.19) both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeOutUp {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideOutDown {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
}

/* =========================================
   RESPONSIVE — Reservaciones
   ========================================= */
@media (max-width: 900px) {
  .res-two-col {
    grid-template-columns: 1fr;
  }

  .res-col-side {
    position: relative;
    top: auto;
  }

  .res-stepper-inner {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 10px;
  }

  .res-step-line {
    width: 20px;
  }

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

  .res-room-card {
    grid-template-columns: 1fr;
  }

  .res-room-img {
    min-height: 200px;
  }

  .res-room-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 550px) {
  .res-header-inner {
    height: 60px;
  }

  .res-header-contact {
    display: none;
  }

  .res-header-cancel span {
    display: none;
  }

  .res-header-logo img {
    height: 42px;
  }

  .res-stepper-inner {
    height: 54px;
  }

  .res-step-title {
    font-size: 0.7em;
  }

  .res-step-num {
    width: 24px;
    height: 24px;
    font-size: 0.7em;
  }

  .res-main {
    padding: 24px 12px 60px;
  }

  .res-card {
    padding: 24px 16px;
    border-radius: 12px;
  }

  .res-card-title {
    font-size: 1.4em;
  }

  .res-room-info {
    padding: 16px;
  }

  .res-room-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
  }

  .res-room-price {
    text-align: left;
  }

  .top_mensaje {
    padding: 20px 16px;
    gap: 6px;
    justify-content: center;
  }

  .top_mensaje .txt_ms_t {
    flex: 0 1 auto;
    text-align: center;
  }
}

/* =========================================
   FOOTER-N — Minimalist Dark Luxury Footer
   ========================================= */
.footer-n {
  background-color: #1a1a19;
  color: #a5a5a2;
  padding: 80px 20px 40px 20px;
  font-family: var(--font-body);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  align-self: flex-start;
  opacity: 0.95;
}

.footer-tagline {
  font-size: 0.9em;
  line-height: 1.65;
  color: #a5a5a2;
  font-weight: 300;
  max-width: 280px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-title {
  font-family: var(--font-title);
  color: #fdfbf7;
  font-size: 1.25em;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footer-links-list,
.footer-contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list li a {
  color: #a5a5a2;
  text-decoration: none;
  font-size: 0.88em;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

.footer-links-list li a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88em;
  line-height: 1.5;
  color: #a5a5a2;
}

.footer-contact-details li i {
  color: var(--color-primary);
  font-size: 1.1em;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-privacy-text {
  font-size: 0.88em;
  line-height: 1.6;
  color: #a5a5a2;
  font-weight: 300;
  margin-bottom: 5px;
}

.footer-privacy-link {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.88em;
  font-weight: 500;
  transition: color 0.25s ease;
  align-self: flex-start;
  border-bottom: 1px dashed rgba(223, 186, 115, 0.4);
}

.footer-privacy-link:hover {
  color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.footer-bottom-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 30px;
}

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

.footer-copy {
  font-size: 0.82em;
  color: #7c7c79;
}

/* Sentaury Credit Styles Overrides for Dark Footer */
.footer-powerby .sentaury-divider {
  display: none;
  /* Hide default separator */
}

.footer-powerby .sentaury-credit {
  color: #7c7c79 !important;
  font-size: 0.8em !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s ease;
}

.footer-powerby .sentaury-credit:hover {
  color: var(--color-primary) !important;
}

.footer-powerby .sentaury-credit__icon {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

.footer-powerby .sentaury-credit__brand {
  font-weight: 600;
}

/* Footer Responsive grid stacking */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* =============================================================
   DATEPICKER STYLES — Adapted to White/Gold Luxury Theme
   ============================================================*/
.datepicker {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
  position: absolute;
  top: -21em;
  width: 260px;
  z-index: 500;
}

.datepicker__inner {
  overflow: hidden;
}

.datepicker__month {
  border-collapse: collapse;
  text-align: center;
  width: 100%;
}

.datepicker__month--month2 {
  display: none;
}

.datepicker__month-day--valid {
  cursor: pointer;
}

.datepicker__month-day--lastMonth,
.datepicker__month-day--nextMonth {
  visibility: hidden;
}

.datepicker__month-button {
  cursor: pointer;
}

.datepicker__info--feedback {
  display: none;
}

.datepicker__info--error,
.datepicker__info--help {
  display: block;
}

.datepicker__close-button {
  cursor: pointer;
}

.datepicker__tooltip {
  position: absolute;
}

/* Theme adaptation */
.datepicker {
  background-color: #ffffff;
  border: 1px solid rgba(223, 186, 115, 0.3);
  border-radius: 12px;
  -webkit-box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 14px;
}

.datepicker__inner {
  padding: 24px;
}

.datepicker__month {
  font-size: 12px;
}

.datepicker__month-caption {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  height: 3em;
  vertical-align: middle;
}

.datepicker__month-name {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-dark);
}

.datepicker__week-days {
  height: 2.5em;
  vertical-align: middle;
}

.datepicker__week-name {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
}

.datepicker__month-day {
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-property: color, background-color, border-color;
  transition-property: color, background-color, border-color;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-dark);
  padding: 10px 8px;
  border-radius: 4px;
}

.datepicker__month-day--no-checkin {
  position: relative;
}

.datepicker__month-day--no-checkin:after {
  background-color: rgba(223, 186, 115, 0.1);
  bottom: 0;
  content: '';
  display: block;
  left: 0;
  position: absolute;
  right: 50%;
  top: 0;
  z-index: -1;
}

.datepicker__month-day--no-checkout {
  position: relative;
}

.datepicker__month-day--no-checkout:after {
  background-color: rgba(223, 186, 115, 0.1);
  bottom: 0;
  content: '';
  display: block;
  left: 50%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

.datepicker__month-day--invalid {
  color: var(--text-muted);
  opacity: 0.4;
}

.datepicker__month-day--disabled {
  color: var(--text-muted);
  opacity: 0.3;
  position: relative;
}

.datepicker__month-day--disabled:after {
  content: '\00d7';
  left: 50%;
  position: absolute;
  color: #c93b3b;
  font-size: 14px;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.datepicker__month-day--day-of-week-disabled {
  background-color: rgba(0, 0, 0, 0.02);
}

.datepicker__month-day--selected {
  background-color: rgba(187, 111, 93, 0.15);
  color: var(--color-primary);
  font-weight: 600;
}

.datepicker__month-day--selected:after {
  display: none;
}

.datepicker__month-day--hovering {
  background-color: rgba(187, 111, 93, 0.25);
  color: var(--color-primary);
}

.datepicker__month-day--today {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
  font-weight: 600;
}

.datepicker__month-day--first-day-selected,
.datepicker__month-day--last-day-selected {
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: 6px;
}

.datepicker__month-day--last-day-selected:after {
  content: none;
}

.datepicker__month-button {
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-property: color, background-color, border-color;
  transition-property: color, background-color, border-color;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(187, 111, 93, 0.1);
  border-radius: 6px;
  color: var(--color-primary);
  display: inline-block;
  padding: 6px 12px;
  font-weight: 500;
}

.datepicker__month-button:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.datepicker__topbar {
  margin-bottom: 24px;
  position: relative;
}

.datepicker__info-text {
  font-size: 13px;
  color: var(--text-gray);
}

.datepicker__info--selected {
  font-size: 11px;
  text-transform: uppercase;
  text-align: left;
}

.datepicker__info--selected-label {
  color: var(--text-muted);
}

.datepicker__info-text--selected-days {
  font-size: 11px;
  font-style: normal;
  color: var(--color-primary);
  font-weight: 600;
}

.datepicker__info--error {
  color: #c93b3b;
  font-size: 13px;
  font-style: italic;
}

.datepicker__info--help {
  color: var(--text-muted);
  text-align: left;
}

.datepicker__close-button {
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-property: color, background-color, border-color;
  transition-property: color, background-color, border-color;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--color-primary);
  border-radius: 6px;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 20px;
  padding: 8px 16px;
  text-decoration: none;
  text-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.datepicker__close-button:hover {
  background-color: var(--color-primary-hover);
  color: #ffffff;
}

.datepicker__tooltip {
  background-color: var(--bg-card-hover);
  border: 1px solid rgba(223, 186, 115, 0.25);
  border-radius: 4px;
  font-size: 11px;
  margin-top: -5px;
  padding: 5px 10px;
  color: var(--text-dark);
}

.datepicker__tooltip:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--color-primary);
  bottom: -4px;
  content: '';
  left: 50%;
  margin-left: -4px;
  position: absolute;
}

@media (max-width: 480px) {
  .datepicker {
    width: 280px !important;
  }
}

@media (min-width: 480px) {
  .datepicker__months {
    overflow: hidden;
  }

  .datepicker__month {
    width: 200px;
  }

  .datepicker__month--month1 {
    float: left;
  }

  .datepicker__month--month2 {
    display: table;
    float: right;
  }

  .datepicker__month-button--disabled {
    visibility: hidden;
  }

  .datepicker__months {
    position: relative;
  }

  .datepicker__months:before {
    background: rgba(0, 0, 0, 0.06);
    bottom: 0;
    content: '';
    display: block;
    left: 50%;
    position: absolute;
    top: 0;
    width: 1px;
  }
}

@media (min-width: 768px) {
  .datepicker {
    width: 560px;
  }

  .datepicker__month {
    width: 240px;
  }

  .datepicker__close-button {
    margin-top: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
}

/* =========================================
   LINK DE PAGO — Página pública de pago
   ========================================= */
.lp-body {
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.lp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 20, 15, 0.82);
  z-index: 0;
}

.lp-container {
  position: relative;
  max-width: 500px;
  margin: 40px auto 60px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  z-index: 100;
  padding-bottom: 28px;
}

/* Header */
.lp-header {
  text-align: center;
  padding: 16px 24px 20px;
}

.lp-hotel {
  font-family: var(--font-title);
  font-size: 1.25em;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0 0 4px;
  line-height: 1.2;
  text-transform: capitalize;
}

.lp-title {
  font-family: var(--font-body);
  font-size: 0.82em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin: 0;
}

.lp-address {
  margin-top: 10px;
  font-size: 0.78em;
  color: var(--text-muted);
}

/* Map section with centered logo */
.lp-map-section {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #e8e4de;
}

.lp-map-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.88) 100%);
  pointer-events: none;
}

.lp-map-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 68px;
  width: auto;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
}

/* =========================================
   Stepper — 2 pasos
   ========================================= */
.lp-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px 24px;
  gap: 0;
}

.lp-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  transition: opacity 0.35s ease;
}

.lp-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  font-weight: 700;
  border: 2px solid #d5d3cf;
  color: #a5a3a0;
  background: #faf9f7;
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.lp-step-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.lp-step-label {
  font-size: 0.85em;
  font-weight: 600;
  color: #a5a3a0;
  transition: color 0.35s ease;
  white-space: nowrap;
}

.lp-step-desc {
  font-size: 0.7em;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(-3px);
  transition: all 0.35s ease;
  white-space: nowrap;
}

.lp-step-active .lp-step-num {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(187, 111, 93, 0.3);
}

.lp-step-active .lp-step-label {
  color: var(--text-dark);
}

.lp-step-active .lp-step-desc {
  opacity: 1;
  transform: translateY(0);
}

.lp-step-line {
  width: 50px;
  height: 2px;
  background: #e0ded9;
  margin: 0 8px;
  align-self: flex-start;
  margin-top: 18px;
  transition: background 0.35s ease;
  border-radius: 1px;
  flex-shrink: 0;
}

.lp-stepper-step2 .lp-step-line {
  background: var(--color-primary);
}

/* Stepper — step 2 active */
.lp-stepper-step2 .lp-step:first-child .lp-step-num {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: none;
}

.lp-stepper-step2 .lp-step:first-child .lp-step-desc {
  opacity: 0;
}

.lp-stepper-step2 .lp-step:last-child .lp-step-num {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(187, 111, 93, 0.3);
}

.lp-stepper-step2 .lp-step:last-child .lp-step-label {
  color: var(--text-dark);
}

.lp-stepper-step2 .lp-step:last-child .lp-step-desc {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Price Card
   ========================================= */
.lp-amount-card {
  margin: 0 24px 20px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #fcf8f4 0%, #faf4ed 100%);
  border: 1px solid rgba(187, 111, 93, 0.15);
  border-radius: 12px;
  text-align: center;
}

.lp-amount-header {
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.lp-amount-value {
  font-family: var(--font-body);
  font-size: 2.6em;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.15;
}

.lp-amount-letters {
  font-size: 0.85em;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: lowercase;
}

.lp-amount-detail {
  font-size: 0.78em;
  color: var(--text-gray);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-style: italic;
}

/* =========================================
   Form Section
   ========================================= */
.lp-form-section {
  padding: 0 24px;
}

.lp-form-block {
  transition: opacity 0.35s ease, transform 0.35s ease;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.lp-form-block.dnone {
  display: none !important;
}

.lp-form-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 8px;
  font-size: 0.78em;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lp-form-header i {
  font-size: 1.05em;
  color: var(--color-primary);
}

.lp-form-body {
  padding: 4px 18px 20px;
  border: none;
  border-radius: 0;
}

/* Fields */
.lp-field {
  margin-bottom: 16px;
}

.lp-field:last-child {
  margin-bottom: 0;
}

.lp-label {
  display: block;
  font-size: 0.8em;
  font-weight: 500;
  color: var(--text-gray);
  margin-bottom: 6px;
  text-align: left;
}

.lp-input-wrap {
  position: relative;
}

.lp-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 1.1em;
  pointer-events: none;
  z-index: 2;
}

.lp-input-wrap .inp_add {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9em;
  color: var(--text-dark);
  background: #ffffff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.lp-input-wrap .inp_add:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(187, 111, 93, 0.1);
  outline: none;
}

.lp-input-wrap .inp_add.inp_yes {
  border-color: #4caf50;
}

.lp-input-wrap .inp_add.inp_fail {
  border-color: #f44336;
}

/* Custom Checkboxes */
.lp-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82em;
  color: var(--text-gray);
  cursor: pointer;
  user-select: none;
}

.lp-check input {
  display: none;
}

.lp-check-box {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.lp-check input:checked + .lp-check-box {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.lp-check input:checked + .lp-check-box::after {
  content: '';
  display: block;
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

/* =========================================
   Card Brands Row
   ========================================= */
.lp-cards-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.lp-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f5f3f0;
  font-size: 0.72em;
  font-weight: 500;
  color: var(--text-gray);
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}

.lp-card-badge.active {
  background: var(--color-primary);
  color: #ffffff;
}

.lp-card-badge i {
  font-size: 1em;
  color: var(--color-primary);
}

/* =========================================
   Stripe Card Elements — Fields separados
   ========================================= */
.lp-card-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}

.lp-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lp-card-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-card-field .lp-label {
  font-size: 0.72em;
  font-weight: 500;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.lp-stripe-el {
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  min-height: 46px;
  box-sizing: border-box;
}

.lp-stripe-el.StripeElement--focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(187, 111, 93, 0.1);
}

.lp-stripe-el.StripeElement--invalid {
  border-color: #f44336;
}

.lp-card-error {
  font-size: 0.78em;
  color: #f44336;
  margin: 0 0 12px;
  min-height: 1em;
}

/* =========================================
   Buttons
   ========================================= */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.lp-btn-primary {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-bright) 100%);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 16px rgba(187, 111, 93, 0.25);
}

.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(187, 111, 93, 0.35);
}

.lp-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Override old blue button when inside lp-body */
.lp-body .butto_base.button-colors-blue {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-bright) 100%) !important;
  color: var(--color-primary-dark) !important;
  box-shadow: 0 4px 16px rgba(187, 111, 93, 0.25) !important;
  border-radius: 10px !important;
}

.lp-body .butto_base.button-colors-blue:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%) !important;
}

.lp-body .butto_base.button-colors-blue:disabled {
  opacity: 0.45 !important;
  pointer-events: none !important;
}

/* =========================================
   Security Row
   ========================================= */
.lp-secure {
  margin: 20px 24px;
  padding: 14px 18px;
  background: #faf9f7;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.lp-secure-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72em;
  color: var(--text-muted);
}

.lp-secure-row i {
  color: var(--color-primary);
  font-size: 1.1em;
}

/* =========================================
   Contact
   ========================================= */
.lp-contact {
  margin: 0 24px 16px;
  padding: 14px 18px;
  background: #faf9f7;
  border-radius: 8px;
  text-align: center;
  font-size: 0.8em;
}

.lp-contact strong {
  display: block;
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.lp-contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--text-gray);
}

.lp-contact-row i {
  color: var(--color-primary);
  font-size: 1em;
}

/* =========================================
   Terms Accordion
   ========================================= */
.lp-terms {
  margin: 0 24px;
}

.lp-accordion {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #faf9f7;
  font-family: var(--font-body);
  font-size: 0.8em;
  font-weight: 500;
  color: var(--text-gray);
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
}

.lp-accordion:hover {
  background: #f0ede8;
}

.lp-accordion.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.lp-panel {
  display: none;
  padding: 14px 16px;
  font-size: 0.78em;
  color: var(--text-gray);
  line-height: 1.6;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.lp-policy {
  margin: 4px 0;
  padding-left: 8px;
}

/* =========================================
   State Views (completado, expirado, error)
   ========================================= */
.lp-state {
  text-align: center;
  padding: 40px 24px;
}

.lp-state .lp-success-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.lp-state .lp-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(187, 111, 93, 0.3);
}

.lp-state .lp-success-icon svg {
  width: 48px;
  height: 48px;
}

.lp-state .lp-success-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6em;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 4px;
}

.lp-state .lp-success-meta {
  font-size: 0.82em;
  color: var(--text-gray);
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

.lp-state .lp-success-msg {
  font-size: 0.82em;
  color: var(--text-gray);
  max-width: 340px;
  margin: 16px auto 24px;
  line-height: 1.5;
}

.lp-state .lp-success-btn,
.lp-state .lp-btn {
  max-width: 260px;
  margin: 0 auto;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 550px) {
  .lp-container {
    margin: 16px 12px 40px;
    border-radius: 12px;
  }

  .lp-header {
    padding: 14px 16px 16px;
  }

  .lp-map-section {
    height: 120px;
  }

  .lp-map-logo {
    height: 48px;
  }

  .lp-stepper {
    padding: 8px 16px 18px;
  }

  .lp-step {
    gap: 8px;
  }

  .lp-step-num {
    width: 32px;
    height: 32px;
    font-size: 0.85em;
  }

  .lp-step-label {
    font-size: 0.75em;
  }

  .lp-step-desc {
    display: none;
  }

  .lp-step-line {
    width: 32px;
    margin: 0 4px;
    margin-top: 15px;
  }

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

  .lp-stripe-el {
    padding: 12px 14px;
    min-height: 40px;
  }

  .lp-amount-card {
    margin: 0 16px 16px;
    padding: 18px 14px;
  }

  .lp-amount-value {
    font-size: 2em;
  }

  .lp-form-section {
    padding: 0 16px;
  }

  .lp-form-body {
    padding: 14px 12px;
  }

  .lp-secure,
  .lp-contact,
  .lp-terms {
    margin-left: 16px;
    margin-right: 16px;
  }
  .lp-success {
    padding: 0 16px;
  }

  .lp-success-icon-wrap {
    margin-bottom: 14px;
  }

  .lp-success-title {
    font-size: 1.3em;
  }

  .lp-success-card {
    padding: 14px;
  }

  .lp-success-dates {
    flex-direction: column;
    gap: 8px;
  }

  .lp-success-date-divider {
    display: none;
  }

}

/* Utility */
.lp-body .hidden {
  display: none !important;
}

.lp-body .spinner_sm {
  border-top-color: var(--color-primary-bright) !important;
  border-right-color: var(--color-primary-bright) !important;
}

/* =========================================
   Linkpay — Pago exitoso
   ========================================= */
.lp-success {
  text-align: center;
  padding: 10px 20px 24px;
}

.lp-success-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.lp-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(187, 111, 93, 0.3);
  animation: lpSuccessPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes lpSuccessPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.lp-success-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6em;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 4px;
}

.lp-success-meta {
  font-size: 0.78em;
  color: var(--text-gray);
  margin: 0 0 4px;
}

.lp-success-msg {
  font-size: 0.82em;
  color: var(--text-gray);
  max-width: 320px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.lp-success-card {
  background: #faf8f5;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 22px;
  text-align: left;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.lp-success-room {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lp-success-room-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.lp-success-room-info {
  display: flex;
  flex-direction: column;
}

.lp-success-room-info strong {
  font-size: 0.92em;
  color: var(--color-primary-dark);
}

.lp-success-room-info span {
  font-size: 0.75em;
  color: var(--text-gray);
}

.lp-success-guest {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85em;
  color: var(--color-primary-dark);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lp-success-guest svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.lp-success-dates {
  display: flex;
  gap: 12px;
}

.lp-success-date {
  flex: 1;
  text-align: center;
}

.lp-success-date-label {
  display: block;
  font-size: 0.65em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-gray);
  margin-bottom: 2px;
}

.lp-success-date-val {
  display: block;
  font-size: 0.88em;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.lp-success-date-divider {
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.lp-success-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 36px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

/* =========================================
   Linkpay — Processing (carga intermedia)
   ========================================= */
.lp-processing {
  text-align: center;
  padding: 40px 20px;
}

.lp-processing-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(187, 111, 93, 0.15);
  border-top-color: var(--color-primary-bright);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: lpSpin 0.7s linear infinite;
}

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

.lp-processing-text {
  font-size: 1em;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 0 0 4px;
}

.lp-processing-sub {
  font-size: 0.78em;
  color: var(--text-gray);
  margin: 0;
}

/* =========================================
   Linkpay — Error en pago
   ========================================= */
.lp-card-error {
  min-height: auto;
  margin: 0 0 12px;
}

.lp-error-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff5f5;
  border: 1px solid #fde2e2;
  border-radius: 10px;
  padding: 12px 14px;
  animation: lpErrorSlide 0.3s ease both;
}

@keyframes lpErrorSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lp-error-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f44336;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.lp-error-msg {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-error-msg strong {
  font-size: 0.82em;
  color: #c62828;
}

.lp-error-msg span {
  font-size: 0.76em;
  color: #8f3a3a;
  line-height: 1.4;
}