/* === DESIGN SYSTEM === */
:root {
  /* Colors */
  --navy: #0D1B2A;
  --navy-mid: #1A3054;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --text-dark: #0D1B2A;
  --text-muted: #6B7280;
  --overlay: rgba(13, 27, 42, 0.6);

  /* Transitions */
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--gold);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 4px;
}

.btn:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(201, 168, 76, 0.3);
}

/* === NAVBAR === */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 30px 0;
  background-color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

header.scrolled {
  padding: 15px 0;
  background-color: rgba(13, 27, 42, 0.98);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.logo-box {
  background-color: var(--gold);
  padding: 8px 16px;
  border-radius: 0 0 8px 8px; /* Ribbon effect */
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--gold-light);
  transform: translateY(-5px); /* Slightly raised for the banner feel */
  transition: var(--transition);
}

.logo-box:hover {
  transform: translateY(0);
}

/* Ajuste del contenedor del logo para albergar imagen y texto */
.logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px; /* Espacio entre el logo y las letras */
  padding: 10px 20px;
}

/* Reducimos un poco el logo para que no sature el espacio */
.logo-img {
  max-height: 34px; 
  width: auto;
}

/* Restauramos y pulimos el estilo de las letras */
.logo-text-main {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; /* Reducido para balancear */
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  text-transform: uppercase;
}

.logo-text-sub {
  font-family: 'Lato', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 2.2px;
  color: var(--navy);
  margin-top: -2px;
}

/* Ajuste específico para móvil */
@media (max-width: 768px) {
  .logo-img {
    max-height: 30px;
  }
  .logo-text-main {
    font-size: 0.9rem;
  }
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
}

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

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
}

/* === HERO === */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: scale(1.1);
  transition: transform 0.5s ease-out;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--navy) 0%, transparent 100%);
  opacity: 0.7;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
}

.hero-label {
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  max-width: 600px;
}

/* === SECTIONS === */
section {
  padding: 100px 0;
}

.section-alt {
  background-color: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Feature Layout */
.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 100px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-img {
  flex: 1;
  position: relative;
}

.feature-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: 20px 20px 0 var(--gold);
}

.feature-content {
  flex: 1;
  padding-left: 40px;
  border-left: 2px solid var(--gold);
}

.feature-row.reverse .feature-content {
  padding-left: 0;
  padding-right: 40px;
  border-left: none;
  border-right: 2px solid var(--gold);
  text-align: right;
}

.feature-content h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.feature-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* === FACILITIES CARDS === */
.facility-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.facility-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.facility-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 0.5s ease;
}

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

.facility-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.8), transparent);
}

.facility-label {
  position: relative;
  z-index: 2;
  width: 100%;
  background-color: var(--navy);
  color: var(--white);
  padding: 20px 40px;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* === ROOM CARDS === */
.room-card {
  margin-bottom: 60px;
  border: 1px solid #eee;
  overflow: hidden;
}

.room-img-wrapper {
  height: 600px;
  position: relative;
}

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

.room-info-bar {
  background-color: var(--navy);
  color: var(--white);
  padding: 25px 40px;
  display: flex;
  justify-content: center;
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
}

.room-details-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  background-color: var(--white);
}

.room-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.room-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.5rem;
}

/* === TESTIMONIALS === */
.testimonials {
  text-align: center;
  padding: 120px 0;
  background-color: var(--white);
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 380px; /* Aumentado para texto largo */
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: all;
}

.testimonial-slide p {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  line-height: 1.4;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--text-muted);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.nav-arrow {
  cursor: pointer;
  background-color: var(--gold);
  color: var(--white);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

/* === BOOKING FORM === */
.booking-section {
  padding: 100px 0;
}

.booking-form-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  border-radius: 8px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group.full {
  grid-column: span 2;
}

label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

input, select, textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
}

.wa-preview {
  background-color: #e7f3ef;
  border-left: 4px solid #25d366;
  padding: 20px;
  margin-bottom: 30px;
  font-family: 'Lato', sans-serif;
  color: #128c7e;
  font-style: italic;
}

/* === CONTACT PAGE === */
.contact-hero {
  height: 400px;
  background-color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.contact-layout {
  display: flex;
  gap: 60px;
}

.contact-info {
  flex: 1;
}

.contact-map {
  flex: 1.5;
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item h3 {
  color: var(--gold);
  margin-bottom: 10px;
}

/* === FOOTER === */
footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 80px 0 40px;
  position: relative;
}

.footer-top-accent {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 20px;
  background-color: var(--navy);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

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

.footer-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.footer-col ul li {
  margin-bottom: 15px;
}

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

/* Fix: Asegurar que el logo del footer respete la columna y el centrado */
.footer-logo .logo-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  text-align: center;
}

/* Forzar que los textos del footer se mantengan en bloque y centrados */
.footer-logo .logo-text-main,
.footer-logo .logo-text-sub {
  display: block;
  text-align: center;
  width: 100%;
}

/* === CORRECCIÓN FOOTER SOCIAL LINKS === */
.social-links {
  display: flex;
  flex-direction: column; /* Cambiado a columna */
  gap: 15px;
  margin-top: 10px;
}

.social-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  transition: var(--transition);
}

.social-links li a svg {
  width: 24px;
  height: 24px;
}

.social-links li a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 12px;
  flex: 1;
}

.newsletter-form .btn-ok {
  background: var(--gold);
  border: none;
  padding: 0 20px;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* === ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === SKELETON LOADING === */
.skeleton {
  background: #eee;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: 1.5s shine linear infinite;
}

@keyframes shine {
  to {
    background-position-x: -200%;
  }
}

.skeleton-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.skeleton-img { height: 400px; border-radius: 4px; }
.skeleton-title { height: 30px; width: 60%; border-radius: 4px; }
.skeleton-text { height: 18px; width: 90%; border-radius: 4px; }
.skeleton-text-sm { height: 18px; width: 70%; border-radius: 4px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero h1 { font-size: 4rem; }
  .feature-row { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  header {
    padding: 15px 0;
  }
  
  .nav-container {
    padding: 0 20px;
  }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  
  .hamburger span {
    background-color: var(--gold); /* Improved contrast on navy */
  }
  
  .hero h1 { font-size: 3rem; }
  .feature-row, .feature-row.reverse { 
    flex-direction: column; 
    text-align: left;
    gap: 30px;
  }
  .feature-content, .feature-row.reverse .feature-content {
    border: none;
    border-left: 2px solid var(--gold);
    padding: 0 0 0 20px;
    text-align: left;
  }
  .contact-layout { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }

  /* Footer Mobile */
  footer {
    text-align: center;
  }

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

/* === MODAL & CALENDAR PREMIUM === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}

@media (min-width: 992px) {
  .modal-content {
    max-width: 900px;
  }
  .modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
  }
  .selection-summary {
    position: sticky;
    top: 0;
    border-top: none !important;
    padding-top: 0 !important;
    border-left: 1px solid #eee;
    padding-left: 30px;
    margin-top: 0 !important;
  }
}

.modal-header {
  padding: 20px 24px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: 1px;
}
.close-modal {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }
  .modal-content {
    max-height: 95vh;
    border-radius: 8px;
  }
  .modal-header {
    padding: 15px;
  }
  .modal-header h3 {
    font-size: 1.1rem;
  }
  .modal-body {
    padding: 15px;
  }
  .calendar-legend {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
  }
}

/* Calendar Grid */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.calendar-header h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  text-transform: capitalize;
}
.cal-nav {
  display: flex;
  gap: 10px;
}
.cal-nav-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #eee;
  background: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.cal-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.cal-day-name {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  border: 1px solid transparent;
}
.cal-day:hover:not(.empty):not(.reserved):not(.blocked) {
  background: #f0f4f8;
  border-color: #ddd;
}
.cal-day.empty { cursor: default; }
.cal-day.today { font-weight: 700; color: var(--gold); }
.cal-day.available { background: #28a745; color: white; border-color: #218838; }
.cal-day.reserved { background: #6c757d; color: white; cursor: not-allowed; text-decoration: line-through; }
.cal-day.blocked { background: #dc3545; color: black; cursor: not-allowed; }
.cal-day.selected { background: var(--gold) !important; color: white !important; font-weight: 700; }
.cal-day.in-range { background: rgba(201, 168, 76, 0.1) !important; }

.calendar-legend {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.selection-summary {
  margin-top: 25px;
  padding: 20px;
  background: var(--off-white);
  border-radius: 8px;
  text-align: center;
}
.selection-summary p {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 15px;
}

/* === PREMIUM GOLD BUTTON === */
.btn-premium {
  background-color: var(--navy);
  color: var(--gold); /* Letras doradas */
  border: 1px solid var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 15px 30px;
  transition: all 0.3s ease;
  width: 100%;
}
.btn-premium:hover:not(:disabled) {
  background-color: var(--gold);
  color: var(--navy);
}
.btn-premium:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* "Ver Disponibilidad" Button in Cards */
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 4px;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

/* Modal Form Fields */
.modal-form-fields input,
.modal-form-fields select {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  background-color: var(--white);
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 6px;
  color: var(--navy);
  transition: border-color 0.3s ease;
  width: 100%;
}

.modal-form-fields input:focus,
.modal-form-fields select:focus {
  outline: none;
  border-color: var(--gold);
}

.modal-form-fields label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy-mid);
  margin-bottom: 6px;
  display: block;
}

/* Ensure summary looks good in modal */
.selection-summary {
  margin-top: 25px;
  border-top: 1px solid #eee;
  padding-top: 20px;
  animation: fadeIn 0.3s ease;
}

@media (max-width: 768px) {
  .social-links {
    align-items: center; /* Alineación horizontal al centro cuando es columna */
  }

  .newsletter-form {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .newsletter-form input {
    width: 100%;
  }

  .newsletter-form .btn-ok {
    width: 100%;
    padding: 15px;
    height: auto;
  }

  .footer-top-accent {
    display: none;
  }
}

/* === WHATSAPP FLOAT BUTTON === */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: #FFF;
}

@keyframes pulse-wa {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* === CORE CAROUSEL STYLES === */
.image-carousel {
    position: relative;
    width: 100%;
    /* Importante: Definir una relación de aspecto para móvil (ej. 4:3) */
    aspect-ratio: 4 / 3; 
    overflow: hidden;
    background-color: var(--off-white); /* Fondo mientras carga */
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-out; /* Transición suave */
    height: 100%;
    width: 100%;
}

.carousel-track img {
    min-width: 100%;
    height: 100%;
    object-fit: cover; /* Llena el espacio sin estirarse */
    flex-shrink: 0;
}

/* Botones más grandes y 'touch-friendly' en móvil */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5); /* Más contraste */
    color: var(--white);
    border: none;
    width: 44px; /* Touch target estándar */
    height: 44px;
    cursor: pointer;
    z-index: 5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}
.carousel-btn:hover { background-color: var(--gold); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* FIX: Hero section should animate immediately on load */
.hero-content.fade-up {
    animation: forceAppear 1s forwards ease-out 0.2s;
}

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

/* Asegurar que la tarjeta móvil se vea perfecta */
.room-card {
    display: flex;
    flex-direction: column; 
    margin-bottom: 30px;
    border: 1px solid #eee;
    background-color: var(--white);
    overflow: hidden;
    border-radius: 8px; /* Toque moderno */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Sombra sutil */
}

.room-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.room-cta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee; /* Separador sutil antes del precio */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Por si las pantallas son muy pequeñas */
    gap: 15px;
}

/* Menu Mobile Helper */
.nav-links.mobile-active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--navy);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (min-width: 769px) {
    .room-card {
        flex-direction: row;
        height: 400px;
    }
    .room-card .image-carousel {
        width: 45%;
        height: 100%;
        aspect-ratio: auto;
    }
}
/* === CUSTOM NOTIFICATIONS (TOAST) === */
.ch-notification-container {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Desktop: Top Right */
@media (min-width: 769px) {
  .ch-notification-container {
    top: 30px;
    right: 30px;
    width: 350px;
  }
}

/* Mobile: Bottom Center */
@media (max-width: 768px) {
  .ch-notification-container {
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: auto;
  }
}

.ch-notification {
  background-color: var(--navy);
  color: var(--white);
  padding: 18px 25px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: all;
  border-left: 4px solid var(--gold);
}

.ch-notification.active {
  transform: translateY(0);
  opacity: 1;
}

.ch-notification-content {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
}

.ch-notification-close {
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.6;
  transition: var(--transition);
}

.ch-notification-close:hover {
  opacity: 1;
  color: var(--gold);
}

/* Iconos de estado opcionales */
.ch-notification.success { border-left-color: #28a745; }
.ch-notification.error { border-left-color: #dc3545; }
.ch-notification.warning { border-left-color: var(--gold); }
