/* ==========================================================================
   HOTEL TIERRA DEL SOL — NUEVA PROPUESTA (VANILLA CSS)
   Paleta Clara, Cálida y Boutique · Salta, Argentina
   ========================================================================== */

:root {
  /* Colores principales (Claros y Elegantes) */
  --bg-ivory: #faf7f2;
  --bg-warm: #f3ece2;
  --bg-surface: #ffffff;
  --bg-glass: rgba(250, 247, 242, 0.92);

  /* Acentos inspirados en el norte argentino y el logo */
  --primary: #b57b58;
  --primary-hover: #986242;
  --primary-light: #f4ebe3;
  --sand: #c59c83;
  --sage: #5b6e47;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe5d;

  /* Tipografía y bordes */
  --text-heading: #2a221d;
  --text-body: #5c524a;
  --text-muted: #8a7e74;
  --border-color: #e6ddd2;
  --border-strong: #d5c7b8;

  /* Sombras suaves de alta gama */
  --shadow-sm: 0 4px 16px rgba(42, 34, 29, 0.05);
  --shadow-md: 0 12px 34px rgba(42, 34, 29, 0.08);
  --shadow-lg: 0 22px 50px rgba(42, 34, 29, 0.13);

  /* Radios y transiciones */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);

  /* Fuentes */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-ivory);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* TIPOGRAFÍA */
.titles1 {
  font-family: var(--font-serif);
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.titles2 {
  font-family: var(--font-sans);
}

/* UTILIDADES Y CONTENEDOR */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

.section-warm {
  background-color: var(--bg-warm);
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
}

/* ANIMACIONES AL HACER SCROLL */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(181, 123, 88, 0.28);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(152, 98, 66, 0.35);
}

.btn-secondary {
  background-color: var(--bg-warm);
  color: var(--text-heading);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--border-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-heading);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background-color: var(--text-heading);
  color: #ffffff;
  border-color: var(--text-heading);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: var(--text-heading);
}

.btn-ghost-whatsapp {
  background-color: rgba(37, 211, 102, 0.1);
  color: #198744;
  border-color: rgba(37, 211, 102, 0.25);
}

.btn-ghost-whatsapp:hover {
  background-color: var(--whatsapp);
  color: #ffffff;
  border-color: var(--whatsapp);
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
  background-color: var(--bg-warm);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-body);
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-info i {
  color: var(--primary);
  margin-right: 5px;
}

.topbar-info a:hover {
  color: var(--primary);
}

.topbar-divider {
  color: var(--border-strong);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  font-size: 1.15rem;
  opacity: 0.85;
}

.topbar-social a:hover {
  opacity: 1;
  color: var(--primary);
  transform: translateY(-1px);
}

.topbar-social .trip-link img {
  width: 32px;
  height: 22px;
  object-fit: contain;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 221, 210, 0.8);
  transition: var(--transition);
}

.navbar-wrapper.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

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

.brand-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.05;
}

.navbar-collapse {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-heading);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.28s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

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

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mobile-social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  font-size: 1.25rem;
  transition: var(--transition);
}

.mobile-social-links a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.mobile-social-links img {
  width: 34px;
  height: 24px;
  object-fit: contain;
}

.navbar-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--bg-warm);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-heading);
  border-radius: 2px;
  transition: var(--transition);
}

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

.navbar-toggler.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

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

/* ==========================================================================
   HERO & MAIN SLIDER
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 620px;
  padding: 80px 0 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 6s ease-out;
}

.hero-slide.active img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(30, 22, 17, 0.48) 0%,
    rgba(30, 22, 17, 0.38) 50%,
    rgba(30, 22, 17, 0.68) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 840px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #f3c78b;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.35rem, 5.2vw, 4.2rem);
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 660px;
  margin: 0 auto 32px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-controls {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.hero-arrow:hover {
  background: #ffffff;
  color: var(--text-heading);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  width: 28px;
  background: #ffffff;
}

/* ==========================================================================
   RESERVATIONS / BOOKING BAR (#ribbon / #birthday)
   ========================================================================== */
.booking-section {
  position: relative;
  z-index: 20;
  margin-top: -54px;
}

.booking-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-lg);
}

.booking-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.booking-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary);
  order: 2;
}

.booking-header h2 {
  font-size: 1.85rem;
  order: 1;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.15fr;
  gap: 18px;
  align-items: end;
}

.booking-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.booking-field label i {
  color: var(--primary);
  margin-right: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-ivory);
  color: var(--text-heading);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(181, 123, 88, 0.15);
}

.form-control.input-error {
  border-color: #c94a38;
  background-color: #fff6f5;
}

.booking-action .btn {
  height: 48px;
  border-radius: var(--radius-sm);
}

.booking-feedback {
  margin-top: 12px;
  font-size: 0.88rem;
  color: #b84232;
  font-weight: 500;
  min-height: 20px;
}

/* ==========================================================================
   BEDROOMS SECTION & CARDS
   ========================================================================== */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.room-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.room-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
}

.room-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.room-capacity-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-heading);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.room-capacity-badge i {
  color: var(--primary);
  margin-right: 4px;
}

.room-media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 34, 29, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.room-media-overlay span {
  background: #ffffff;
  color: var(--text-heading);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: translateY(8px);
  transition: var(--transition);
}

.room-card-media:hover .room-media-overlay {
  opacity: 1;
}

.room-card-media:hover .room-media-overlay span {
  transform: translateY(0);
}

.room-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-card-title {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.room-card-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 16px;
  flex-grow: 1;
}

.room-mini-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.room-mini-amenities span {
  font-size: 0.76rem;
  font-weight: 500;
  background: var(--bg-ivory);
  color: var(--text-body);
  padding: 4px 10px;
  border-radius: 6px;
}

.room-mini-amenities i {
  color: var(--primary);
  margin-right: 4px;
}

.room-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.room-card-footer .btn {
  padding: 10px 12px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   VANILLA MODALS (#dobles, #triples, #cuadruples, #quintuples)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(30, 23, 18, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 940px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--text-heading);
  color: #ffffff;
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.modal-carousel {
  position: relative;
  min-height: 420px;
  background: #1f1916;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

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

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: none;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}

.carousel-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev {
  left: 14px;
}

.carousel-btn.next {
  right: 14px;
}

.carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  width: 24px;
  background: #ffffff;
}

.modal-info {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 6px;
}

.modal-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  margin-bottom: 22px;
}

.modal-amenities-list {
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
  padding: 18px;
  background: var(--bg-ivory);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.modal-amenities-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.modal-amenities-list li i {
  width: 20px;
  text-align: center;
  color: var(--primary);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.services-lead {
  font-size: 1.04rem;
  margin-bottom: 32px;
}

.services-grid {
  display: grid;
  gap: 20px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-surface);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-item:hover {
  transform: translateX(4px);
  border-color: var(--primary);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.service-item h4 {
  font-size: 1.02rem;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.service-item p {
  font-size: 0.88rem;
  color: var(--text-body);
}

.showcase-carousel {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid #ffffff;
}

.slide-caption {
  position: absolute;
  bottom: 42px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--text-heading);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   GALLERY SECTION & LIGHTBOX
   ========================================================================== */
.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.gallery-nav-controls {
  display: flex;
  gap: 10px;
}

.gallery-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-viewport {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(33.333% - 14px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--sand) var(--bg-warm);
}

.gallery-viewport::-webkit-scrollbar {
  height: 6px;
}

.gallery-viewport::-webkit-scrollbar-track {
  background: var(--bg-warm);
  border-radius: 999px;
}

.gallery-viewport::-webkit-scrollbar-thumb {
  background: var(--sand);
  border-radius: 999px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.gallery-zoom {
  position: absolute;
  inset: 0;
  background: rgba(42, 34, 29, 0.35);
  color: #ffffff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

/* LIGHTBOX */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(20, 16, 13, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: #ffffff;
  color: var(--text-heading);
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

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

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

/* ==========================================================================
   LOCATION & INFO SECTION (#info)
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 64px;
}

.location-text {
  background: var(--bg-surface);
  padding: 38px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-heading {
  font-size: 2rem;
  margin-bottom: 16px;
}

.location-text p {
  margin-bottom: 16px;
  font-size: 0.96rem;
}

.distance-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 16px 0 24px;
}

.distance-card {
  background: var(--bg-ivory);
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}

.distance-val {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.distance-lbl {
  font-size: 0.8rem;
  color: var(--text-body);
}

.location-address-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--primary-light);
  color: var(--text-heading);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.location-address-bar i {
  color: var(--primary);
}

.location-map-wrapper {
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: var(--shadow-md);
}

.salta-showcase {
  margin-top: 24px;
}

.salta-showcase-header {
  text-align: center;
  margin-bottom: 24px;
}

.salta-showcase-header h3 {
  font-size: 2rem;
}

.salta-showcase-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.salta-carousel {
  height: 420px;
}

/* ==========================================================================
   CONTACT SECTION (#contact)
   ========================================================================== */
.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.contact-info-col {
  background: linear-gradient(145deg, var(--bg-warm) 0%, #eadccf 100%);
  padding: 48px 42px;
}

.contact-intro {
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.contact-details-list {
  display: grid;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-detail-item h4 {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.contact-detail-item p {
  font-size: 0.92rem;
  color: var(--text-body);
}

.contact-detail-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.contact-form-col {
  padding: 48px 42px;
}

.form-title {
  font-size: 2rem;
  margin-bottom: 24px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.btn-submit {
  margin-top: 6px;
  padding: 15px 28px;
}

/* ==========================================================================
   FOOTER (Tonos claros y cálidos para lucir el logo PNG transparente)
   ========================================================================== */
.site-footer {
  background-color: #eadfd3;
  border-top: 1px solid var(--border-strong);
  color: var(--text-body);
  padding: 64px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 0.9fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-strong);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  padding: 0;
  margin-bottom: 16px;
}

.footer-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--text-body);
  max-width: 300px;
}

.site-footer h4 {
  color: var(--text-heading);
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.footer-links ul {
  display: grid;
  gap: 8px;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-body);
}

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

.footer-contact p {
  font-size: 0.92rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-socials .footer-trip img {
  width: 30px;
  height: 22px;
  object-fit: contain;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  background-color: var(--whatsapp);
  color: #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.08) translateY(-2px);
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--text-heading);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOVILES)
   ========================================================================== */
@media (max-width: 1080px) {
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-viewport {
    grid-auto-columns: calc(50% - 12px);
  }

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

@media (max-width: 860px) {
  .hide-tablet {
    display: none;
  }

  .navbar-toggler {
    display: flex;
  }

  .navbar-collapse {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .navbar-collapse.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-link {
    font-size: 1.08rem;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .navbar-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .mobile-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 8px 0;
  }

  .mobile-social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-warm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--text-heading);
  }

  .mobile-social-links img {
    width: 28px;
    height: 22px;
    object-fit: contain;
  }

  .services-layout,
  .location-grid,
  .contact-card,
  .modal-body-grid {
    grid-template-columns: 1fr;
  }

  .modal-carousel {
    min-height: 280px;
  }

  .showcase-carousel {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .topbar {
    display: none;
  }

  .section-padding {
    padding: 64px 0;
  }

  .navbar-container {
    height: 72px;
  }

  .navbar-collapse {
    top: 72px;
  }

  .brand-logo {
    height: 46px;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .hero-section {
    min-height: auto;
    height: auto;
    padding: 52px 0 84px;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-controls {
    margin-top: 22px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .booking-section {
    margin-top: -36px;
  }

  .booking-card {
    padding: 24px 20px;
  }

  .booking-header {
    flex-direction: column;
    gap: 4px;
  }

  .booking-eyebrow {
    order: 1;
  }

  .booking-header h2 {
    order: 2;
    font-size: 1.55rem;
  }

  .booking-grid,
  .rooms-grid,
  .form-row-2,
  .distance-badges,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-viewport {
    grid-auto-columns: 85%;
  }

  .location-text,
  .contact-info-col,
  .contact-form-col,
  .modal-info {
    padding: 28px 20px;
  }

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

  .whatsapp-tooltip {
    display: none;
  }

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

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