/* Fi-Scheer · estilos compartidos del sitio (inicio y departamentos) */
:root {
  /* paleta tomada del logo */
  --vino: #7a1c1e;          /* techo */
  --vino-oscuro: #5b1315;
  --madera: #d9a66b;        /* letras de madera */
  --madera-clara: #f5e3c8;
  --madera-oscura: #8a5a2e;
  --pizarra: #5f7f9e;       /* ventana */
  --tinta: #1f1a17;         /* trazo negro */
  --texto: #3d3530;
  --suave: #7a6f66;
  --linea: #ece3d7;
  --fondo: #ffffff;
  --fondo-alt: #fcf8f2;
  --wa: #1faa55;

  /* tipografía (la cambia el selector) */
  --f-titulo: "Fredoka", system-ui, sans-serif;
  --f-texto: "Nunito", system-ui, sans-serif;
  --titulo-peso: 600;
  --titulo-escala: 1;
  --titulo-espaciado: 0;

  --radio: 18px;
  --sombra: 0 10px 30px -12px rgba(60, 30, 10, .25);
  --ancho: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* ---------- splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  background: #fff; display: grid; place-items: center;
  transition: opacity .5s ease, visibility .5s;
  animation: splash-fuera .5s 4s forwards; /* por si falla el JS, se va solo */
}
.splash img { width: min(280px, 64vw); height: auto; animation: splash-logo .9s ease-out both; }
.splash.oculto { opacity: 0; visibility: hidden; }
@keyframes splash-logo { from { opacity: 0; transform: scale(.94); } }
@keyframes splash-fuera { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .splash img { animation: none; } }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; } /* width/height del HTML solo reservan la proporción */
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--f-titulo);
  font-weight: var(--titulo-peso);
  letter-spacing: var(--titulo-espaciado);
  color: var(--tinta);
  line-height: 1.12;
}
h1 { font-size: calc(clamp(2.3rem, 5.6vw, 3.9rem) * var(--titulo-escala)); }
h2 { font-size: calc(clamp(1.9rem, 4vw, 2.7rem) * var(--titulo-escala)); }

.contenedor { width: min(var(--ancho), 100% - 32px); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 110px) 0; }
.alt { background: var(--fondo-alt); }

.antetitulo {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--vino);
  margin-bottom: 12px;
}
.intro { max-width: 620px; margin-bottom: 44px; }
.intro p { color: var(--suave); margin-top: 14px; }
.centro { text-align: center; margin-inline: auto; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18914a; }
.btn-borde { border-color: var(--madera); color: var(--tinta); background: #fff; }
.btn-borde:hover { background: var(--madera-clara); }

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
header.con-sombra { border-color: var(--linea); box-shadow: 0 6px 20px -16px rgba(0,0,0,.4); }
.barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.marca img { height: 54px; width: auto; }
nav ul { display: flex; gap: 28px; list-style: none; }
nav a { text-decoration: none; font-weight: 600; color: var(--texto); }
nav a:hover { color: var(--vino); }
@media (max-width: 860px) {
  nav { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(28px, 5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 span { color: var(--vino); }
.hero p.lead { font-size: 1.12rem; color: var(--suave); margin: 20px 0 30px; max-width: 480px; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-datos { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: .95rem; color: var(--suave); }
.hero-datos b { color: var(--tinta); }
.hero-fotos { position: relative; }
.hero-fotos .principal { border-radius: 28px; aspect-ratio: 4/3.2; object-fit: cover; width: 100%; box-shadow: var(--sombra); }
.hero-fotos .secundaria {
  position: absolute; left: -36px; bottom: -36px; width: 42%;
  aspect-ratio: 1; object-fit: cover; border-radius: 22px;
  border: 6px solid #fff; box-shadow: var(--sombra);
}
.sello-precio {
  position: absolute; top: 18px; right: 18px;
  background: #fff; border-radius: 16px; padding: 10px 16px;
  box-shadow: var(--sombra); font-size: .85rem; line-height: 1.3; color: var(--suave);
}
.sello-precio b { display: block; font-size: 1.2rem; color: var(--vino); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fotos { order: -1; margin-bottom: 20px; }
  .hero-fotos .secundaria { left: 12px; bottom: -24px; width: 34%; border-width: 4px; }
}

/* ---------- comodidades ---------- */
.comodidades { padding: 56px 0; }
.comodidades ul {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.comodidades li {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 22px 10px; border: 1px solid var(--linea); border-radius: var(--radio);
  font-weight: 700; color: var(--tinta); font-size: .95rem;
}
.comodidades .icono {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--madera-clara); color: var(--vino);
}
.comodidades .icono svg { width: 28px; height: 28px; }
@media (max-width: 760px) { .comodidades ul { grid-template-columns: repeat(2, 1fr); } .comodidades li:last-child { grid-column: span 2; } }

/* ---------- bloques ilustrativos ---------- */
.bloque { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.bloque + .bloque { margin-top: clamp(64px, 8vw, 100px); }
.bloque.invertido .bloque-texto { order: 2; }
.bloque-texto p { color: var(--suave); margin-top: 14px; }
.lista-check { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; }
.lista-check li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--madera-clara) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a1c1e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1.15; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radio); }
.collage img:first-child { grid-row: span 2; }
.foto-sola { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 24px; box-shadow: var(--sombra); }
@media (max-width: 860px) {
  .bloque { grid-template-columns: 1fr; }
  .bloque.invertido .bloque-texto { order: 0; }
}

/* ---------- tarifas ---------- */
.tarifas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tarifa {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tarifa:hover { transform: translateY(-3px); box-shadow: var(--sombra); border-color: var(--madera); }
.tarifa .personas { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--tinta); }
.tarifa .personas svg { width: 22px; height: 22px; color: var(--madera-oscura); }
.tarifa .precio { font-family: var(--f-titulo); font-weight: var(--titulo-peso); font-size: calc(2rem * var(--titulo-escala)); color: var(--vino); line-height: 1.1; }
.tarifa .precio small { display: block; margin-top: 4px; font-family: var(--f-texto); font-size: .9rem; color: var(--suave); font-weight: 600; }
.tarifa-extra {
  margin-top: 16px; padding: 22px 26px; border-radius: var(--radio);
  background: var(--vino); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.tarifa-extra p { font-size: 1.08rem; }
.tarifa-extra b { color: var(--madera); }
@media (max-width: 760px) {
  .tarifas-grid { grid-template-columns: 1fr 1fr; }
  .tarifa { padding: 20px 16px; }
  .tarifa .precio { font-size: calc(1.5rem * var(--titulo-escala)); }
}

/* ---------- galería ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.filtros button {
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--linea); background: #fff; color: var(--texto);
}
.filtros button[aria-pressed="true"] { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.galeria { columns: 3 260px; column-gap: 14px; }
.galeria button {
  display: block; width: 100%; margin-bottom: 14px; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 14px; overflow: hidden; break-inside: avoid;
}
.galeria button[hidden] { display: none; }
.galeria img { width: 100%; height: auto; transition: transform .35s; }
.galeria button:hover img { transform: scale(1.04); }

dialog.visor {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; margin: 0;
}
dialog.visor::backdrop { background: rgba(20, 12, 8, .92); }
.visor-interior { width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 16px; }
.visor img { max-width: min(1200px, 100%); max-height: calc(100vh - 112px); border-radius: 10px; object-fit: contain; }
.visor button {
  position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
}
.visor button:hover { background: rgba(255,255,255,.25); }
.visor .cerrar { top: 14px; right: 14px; }
.visor .ant { left: 14px; top: 50%; transform: translateY(-50%); }
.visor .sig { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- sello SENATUR ---------- */
.reco { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--linea); }
.reco .icono { width: 48px; height: 48px; border-radius: 50%; background: var(--madera-clara); color: var(--vino); display: grid; place-items: center; flex: none; }
.reco .icono svg { width: 24px; height: 24px; }
.reco b { display: block; color: var(--tinta); }
.reco span { font-size: .9rem; color: var(--suave); }

/* ---------- preguntas frecuentes ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--linea); border-radius: 14px; background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--tinta);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--vino); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 18px; color: var(--suave); }
.faq details p b { color: var(--tinta); }
.faq a { color: var(--vino); font-weight: 700; }

/* ---------- contacto ---------- */
.contacto-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.datos { list-style: none; display: grid; gap: 18px; margin: 28px 0 32px; }
.datos li { display: flex; gap: 14px; align-items: flex-start; }
.datos .icono { width: 44px; height: 44px; border-radius: 12px; background: var(--madera-clara); color: var(--vino); display: grid; place-items: center; flex: none; }
.datos .icono svg { width: 22px; height: 22px; }
.datos small { display: block; color: var(--suave); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.datos a { color: var(--tinta); font-weight: 700; text-decoration: none; }
.datos a:hover { color: var(--vino); }
.redes { display: flex; gap: 10px; }
.redes a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--linea); color: var(--tinta); transition: background .2s, color .2s, border-color .2s;
}
.redes a:hover { background: var(--vino); color: #fff; border-color: var(--vino); }
.redes svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .contacto-grid { grid-template-columns: 1fr; } }

/* mapa */
.mapa {
  position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--sombra);
  aspect-ratio: 4 / 3.4; background: var(--fondo-alt); border: 1px solid var(--linea);
}
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa-tarjeta {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 12px 12px 12px 14px;
  box-shadow: 0 10px 28px -10px rgba(0,0,0,.35);
}
.mapa-tarjeta img { flex: none; border-radius: 10px; }
.mapa-tarjeta div { flex: 1; min-width: 0; line-height: 1.3; }
.mapa-tarjeta b { display: block; color: var(--tinta); }
.mapa-tarjeta span { display: block; font-size: .85rem; color: var(--suave); }
.mapa-tarjeta .btn { flex: none; padding: 10px 16px; font-size: .9rem; }
@media (max-width: 480px) {
  .mapa { aspect-ratio: 4 / 4.4; }
  .mapa-tarjeta img { display: none; }
}

/* ---------- footer ---------- */
footer { background: var(--tinta); color: #cfc5ba; padding: 44px 0 36px; font-size: .92rem; }
footer .contenedor { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer img { height: 48px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; }
footer a { color: #fff; text-decoration: none; }

/* ---------- botón flotante de reserva ---------- */
.reservar-flotante {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--vino); color: #fff; font: inherit; font-weight: 800; font-size: 1rem;
  box-shadow: 0 12px 28px -10px rgba(90, 19, 21, .7);
  transition: transform .2s, background .2s;
}
.reservar-flotante:hover { transform: translateY(-2px); background: var(--vino-oscuro); }
.reservar-flotante svg { width: 22px; height: 22px; }

/* ---------- tarifas: extras ---------- */
.btn-vino { background: var(--vino); color: #fff; }
.btn-vino:hover { background: var(--vino-oscuro); }
.btn-blanco { background: #fff; color: var(--vino); }
.btn-blanco:hover { background: var(--madera-clara); }
.subtitulo-tarifa {
  font-size: calc(1.35rem * var(--titulo-escala)); margin: 36px 0 16px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
}
.subtitulo-tarifa:first-of-type { margin-top: 0; }
.subtitulo-tarifa span { font-family: var(--f-texto); font-size: .92rem; font-weight: 600; color: var(--suave); letter-spacing: 0; }
.intro p.horarios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.horarios span { padding: 6px 14px; border-radius: 999px; background: var(--madera-clara); color: var(--tinta); font-size: .9rem; }
.horarios b { color: var(--vino); }
.nota-tarifa { margin-top: 14px; color: var(--suave); }
.nota-tarifa b { color: var(--tinta); }
.tarifa-habitacion { max-width: calc((100% - 32px) / 3); }
@media (max-width: 760px) { .tarifa-habitacion { max-width: none; } }

/* ---------- formulario de reserva ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
dialog.reserva {
  border: 0; padding: 0; margin: auto; border-radius: 22px;
  width: min(640px, 100% - 24px); max-height: min(92vh, 900px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); color: var(--texto);
}
dialog.reserva::backdrop { background: rgba(31, 26, 23, .6); backdrop-filter: blur(3px); }
dialog.reserva[open] { display: flex; overflow: hidden; overscroll-behavior: contain; }
.reserva form { display: flex; flex-direction: column; width: 100%; max-height: inherit; }
.reserva-cab { padding: 18px 22px 0; border-bottom: 1px solid var(--linea); }
.reserva-cab-fila { display: flex; align-items: center; gap: 14px; }
.reserva-logo { height: 40px; width: auto; }
.reserva-cab h2 { font-size: calc(1.35rem * var(--titulo-escala)); flex: 1; }
.reserva-cerrar {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--fondo-alt); color: var(--tinta); font-size: 1.5rem; line-height: 1;
}
.reserva-cerrar:hover { background: var(--madera-clara); }
.pasos { list-style: none; display: flex; gap: 8px; margin-top: 16px; }
.pasos li {
  flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 0 12px;
  font-size: .9rem; font-weight: 700; color: var(--suave); border-bottom: 3px solid transparent;
}
.pasos li span {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--linea); color: var(--suave); font-size: .8rem; flex: none;
}
.pasos li[aria-current="step"] { color: var(--vino); border-color: var(--vino); }
.pasos li[aria-current="step"] span, .pasos li.hecho span { background: var(--vino); color: #fff; }
.pasos li.hecho { color: var(--tinta); }

.reserva-cuerpo {
  padding: 22px; flex: 1;
  overflow-y: auto; overflow-x: hidden;           /* solo scroll vertical */
  overscroll-behavior: contain; touch-action: pan-y;
}
.reserva fieldset { border: 0; display: grid; gap: 18px; min-width: 0; }
.reserva .campo, .reserva .campos > *, .pasos li { min-width: 0; }
.campo input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-height: 50px; }
html:has(dialog.reserva[open]) { overflow: hidden; } /* la página de atrás no se mueve */
.etiqueta, .campo label { display: block; font-weight: 700; color: var(--tinta); font-size: .95rem; margin-bottom: 6px; }
.opcional { font-weight: 600; color: var(--suave); }
.opciones-tipo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -8px; }
.opcion {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px; cursor: pointer;
  border: 1.5px solid var(--linea); border-radius: 14px; transition: border-color .2s, background .2s;
}
.opcion input { margin-top: 4px; accent-color: var(--vino); }
.opcion b { display: block; color: var(--tinta); }
.opcion small { color: var(--suave); font-size: .85rem; line-height: 1.35; display: block; }
.opcion:has(input:checked) { border-color: var(--vino); background: #fdf5f3; }
.campos { display: grid; gap: 16px; }
.campos.dos { grid-template-columns: 1fr 1fr; }
.campo input, .campo textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--tinta);
  padding: 12px 14px; border: 1.5px solid var(--linea); border-radius: 12px; background: #fff;
}
.campo textarea { resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--madera); box-shadow: 0 0 0 3px var(--madera-clara); }
.campo.invalido input { border-color: #c0392b; }
.campo .error { display: block; color: #b3261e; font-size: .85rem; font-weight: 600; margin-top: 4px; min-height: 0; }
.contador {
  display: inline-flex; align-items: center; border: 1.5px solid var(--linea); border-radius: 12px; overflow: hidden;
}
.contador button {
  width: 46px; height: 46px; border: 0; background: var(--fondo-alt); font-size: 1.4rem; cursor: pointer; color: var(--vino);
}
.contador button:disabled { color: var(--linea); cursor: not-allowed; }
.contador output { min-width: 56px; text-align: center; font-weight: 800; font-size: 1.15rem; color: var(--tinta); }
.ayuda { font-size: .88rem; color: var(--suave); }

/* calendario de disponibilidad */
.disponibilidad { border: 1px solid var(--linea); border-radius: 16px; padding: 14px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-nav b { color: var(--tinta); }
.cal-nav button {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--linea); background: #fff;
  font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--vino);
}
.cal-nav button:disabled { opacity: .3; cursor: default; }
.disponibilidad .cal-nav, .disponibilidad .cal { max-width: 380px; margin-inline: auto; }
.disponibilidad .leyenda { justify-content: center; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.cal .dow { font-size: .72rem; font-weight: 800; color: var(--suave); padding: 2px 0 4px; }
.cal button {
  aspect-ratio: 1; min-width: 0; border-radius: 9px; border: 1px solid transparent; background: #f4fbf6;
  font: inherit; font-weight: 700; font-size: .92rem; color: var(--tinta); cursor: pointer; padding: 0;
}
.cal button:hover:not(:disabled) { border-color: var(--vino); }
.cal button:disabled { cursor: not-allowed; }
.cal button.pasado { background: transparent; color: #cfc6bc; }
.cal button.parcial { background: #fdf0d5; }
.cal button.lleno { background: #f6d5d1; color: #9b2c24; text-decoration: line-through; }
.cal button.rango { background: var(--madera-clara); color: var(--tinta); text-decoration: none; }
.cal button.extremo { background: var(--vino); color: #fff; text-decoration: none; }
.leyenda { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .8rem; color: var(--suave); }
.leyenda span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.leyenda .l-libre::before { background: #f4fbf6; border: 1px solid #d7eadc; }
.leyenda .l-parcial::before { background: #fdf0d5; }
.leyenda .l-lleno::before { background: #f6d5d1; }
.leyenda .l-elegido::before { background: var(--vino); }
.aviso-bloqueo {
  padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #8c1d18; font-size: .92rem; font-weight: 600;
}

.resumen { border: 1px solid var(--linea); border-radius: 16px; overflow: hidden; }
.resumen h4 {
  font-family: var(--f-texto); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--vino); padding: 12px 16px 6px;
}
.resumen dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 0 16px 14px; font-size: .95rem; }
.resumen dt { color: var(--suave); }
.resumen dd { color: var(--tinta); font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.resumen .total-final {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--vino); color: #fff; padding: 14px 16px; font-weight: 700;
}
.resumen .total-final b { font-size: 1.35rem; }
.resumen .sena {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--madera-clara); color: var(--tinta); padding: 10px 16px; font-weight: 700; font-size: .95rem;
}
.acciones-final { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.reserva-pie {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px; border-top: 1px solid var(--linea); background: var(--fondo-alt);
}
.total-vivo small { display: block; color: var(--suave); font-size: .82rem; font-weight: 600; }
.total-vivo b { font-size: 1.25rem; color: var(--vino); }
.reserva-nav { display: flex; gap: 8px; }
.reserva-nav .btn { padding: 12px 20px; }

@media (max-width: 600px) {
  dialog.reserva { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .opciones-tipo, .campos.dos, .acciones-final { grid-template-columns: 1fr; }
  .pasos li { font-size: .8rem; gap: 6px; }
  .reserva-logo { height: 32px; }
  .reserva-pie { padding: 12px 16px; }
  .reserva-cuerpo { padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.aviso-ok { padding: 12px 14px; border-radius: 12px; background: #e6f6ec; color: #1e7a3d; font-size: .92rem; font-weight: 600; }

/* ---------- formulario: precio de cada noche ---------- */
.detalle-noches { border: 1px solid var(--linea); border-radius: 14px; padding: 12px 14px; font-size: .9rem; }
.detalle-noches b { display: block; color: var(--tinta); margin-bottom: 6px; }
.detalle-noches ul { list-style: none; display: grid; gap: 2px; max-height: 180px; overflow-y: auto; }
.detalle-noches li { display: flex; justify-content: space-between; gap: 12px; color: var(--suave); }
.detalle-noches li span:last-child { color: var(--tinta); font-weight: 700; }
#r-deptos-error { display: block; color: #b3261e; font-size: .85rem; font-weight: 600; margin-top: -10px; }
#r-deptos-error:empty { display: none; }

/* ---------- carrusel de departamentos (inicio) ---------- */
.promo-deptos { padding: clamp(56px, 8vw, 96px) 0; }
.promo-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.promo-grid .etiqueta-nuevo {
  display: inline-block; background: var(--vino); color: #fff; font-weight: 800; font-size: .75rem;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.promo-grid p { color: var(--suave); margin: 14px 0 24px; }
.promo-grid .precio-promo { color: var(--tinta); font-weight: 700; }
.carrusel { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--sombra); aspect-ratio: 4 / 3; background: var(--fondo-alt); }
.carrusel-pista { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carrusel-pista::-webkit-scrollbar { display: none; }
.carrusel-pista img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.carrusel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.9); color: var(--vino); font-size: 1.4rem; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.4);
}
.carrusel-btn.ant { left: 12px; } .carrusel-btn.sig { right: 12px; }
.carrusel-puntos { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.carrusel-puntos button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.6); cursor: pointer; }
.carrusel-puntos button[aria-current="true"] { background: #fff; width: 22px; border-radius: 999px; }
@media (max-width: 860px) { .promo-grid { grid-template-columns: 1fr; } .promo-grid .carrusel { order: -1; } }

/* ---------- página de departamentos ---------- */
.deptos-hero { position: relative; min-height: clamp(320px, 52vw, 520px); display: grid; align-items: end; color: #fff; }
.deptos-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deptos-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(31,26,23,.82) 0%, rgba(31,26,23,.55) 45%, rgba(31,26,23,.1) 80%),
    linear-gradient(180deg, rgba(31,26,23,0) 55%, rgba(31,26,23,.5));
}
.deptos-hero h1, .deptos-hero p { text-shadow: 0 2px 12px rgba(0,0,0,.35); }
@media (max-width: 760px) { .deptos-hero::after { background: linear-gradient(180deg, rgba(31,26,23,.25), rgba(31,26,23,.85) 70%); } }
.deptos-hero .contenedor { position: relative; z-index: 1; padding: 0 0 clamp(28px, 5vw, 56px); }
.deptos-hero h1 { color: #fff; }
.deptos-hero p { max-width: 560px; margin: 12px 0 22px; font-size: 1.1rem; color: rgba(255,255,255,.9); }
.deptos-hero .antetitulo { color: var(--madera); }
.franja-datos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.franja-datos span { padding: 6px 14px; border-radius: 999px; background: var(--madera-clara); color: var(--tinta); font-size: .9rem; }
.franja-datos b { color: var(--vino); }
.depto { padding: clamp(48px, 7vw, 84px) 0; }
.depto + .depto { border-top: 1px solid var(--linea); }
.depto-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.depto-cab p { color: var(--suave); max-width: 620px; margin-top: 8px; }
.depto-comodidades { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.depto-comodidades li { padding: 6px 12px; border: 1px solid var(--linea); border-radius: 999px; font-size: .9rem; font-weight: 600; }
.depto .galeria { columns: 3 220px; }
