/* ════════════════════════════════════════════════════════════
   GRANJA PALACIO — hoja de estilos
   Paleta: pasto (verdes), heno (dorado), corteza (marrón madera),
   marisma (azul-gris) sobre un fondo crema cálido.
   ════════════════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Albert+Sans:wght@300..700&display=swap");

:root {
  /* ── color ── */
  --crema:        #F8F2E4;
  --crema-alta:   #FBF7EE;
  --tinta:        #2B2417;
  --pasto-900:    #223B22;
  --pasto-700:    #345E32;
  --pasto-500:    #5C8A4E;
  --pasto-200:    #C9DDBC;
  --heno-600:     #C9932E;
  --heno-500:     #E0A83A;
  --heno-200:     #F3DFA9;
  --corteza-700:  #5A3B22;
  --corteza-500:  #8A6237;
  --marisma-500:  #6C93A0;
  --marisma-200:  #D9E7EA;
  --linea:        #E4D9BE;
  --sombra: 0 12px 32px -16px rgb(43 36 23 / 0.35);

  /* ── tipografía ── */
  --f-display: "Bricolage Grotesque", "Albert Sans", system-ui, sans-serif;
  --f-cuerpo:  "Albert Sans", system-ui, sans-serif;

  /* ── layout ── */
  --ancho-maximo: 1180px;
  --radio: 18px;
  --nav-alto: 76px;
}

/* ── reset base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-alto) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--f-cuerpo);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 2.6vw + 1rem, 2.5rem); color: var(--pasto-900); }
h3 { font-size: 1.28rem; color: var(--pasto-900); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--heno-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.visualmente-oculto {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ── botones ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-heno {
  background: var(--heno-500);
  color: var(--corteza-700);
  box-shadow: 0 8px 18px -8px rgb(224 168 58 / 0.7);
}
.btn-heno:hover { background: var(--heno-600); }
.btn-borde {
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.7);
  color: #fff;
  backdrop-filter: blur(2px);
}
.btn-borde:hover { background: rgb(255 255 255 / 0.22); }
.btn-verde {
  background: var(--pasto-700);
  color: var(--crema-alta);
}
.btn-verde:hover { background: var(--pasto-900); }
.btn-borde-verde {
  background: transparent;
  border-color: var(--pasto-700);
  color: var(--pasto-700);
}
.btn-borde-verde:hover { background: var(--pasto-200); }
.btn-grande { padding: 1em 2em; font-size: 1.05rem; }

/* ════════════════════ CABECERA / NAV ════════════════════ */
.cabecera { position: relative; }
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--nav-alto);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  background: rgb(34 59 34 / 0.0);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
  color: #fff;
}
.nav.nav-solida {
  background: rgb(34 59 34 / 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -16px rgb(0 0 0 / 0.5);
}
.nav-marca {
  display: flex; align-items: center; gap: 0.6em;
  font-family: var(--f-display); font-weight: 800; font-size: 1.15rem;
  text-decoration: none; color: #fff;
}
.nav-logo { border-radius: 50%; background: var(--heno-500); }
.nav-enlaces {
  display: flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.7rem);
}
.nav-enlaces a:not(.btn) {
  text-decoration: none; color: rgb(255 255 255 / 0.92); font-weight: 600; font-size: 0.96rem;
  position: relative; padding: 0.3em 0;
}
.nav-enlaces a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--heno-500); transition: right 0.2s ease;
}
.nav-enlaces a:not(.btn):hover::after { right: 0; }
.nav-idioma select {
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.4);
  color: #fff; border-radius: 8px; padding: 0.4em 0.6em; font-size: 0.9rem;
}
.nav-idioma select option { color: var(--tinta); }
.nav-menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: rgb(255 255 255 / 0.14); border: none; border-radius: 10px;
  cursor: pointer;
}
.nav-menu-btn span { display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; }

/* ── hero ── */
.hero { position: relative; min-height: min(92vh, 780px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-velo {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(20 32 18 / 0.15) 0%, rgb(20 32 18 / 0.35) 55%, rgb(20 32 18 / 0.86) 100%);
}
.hero-texto {
  position: relative; z-index: 2; color: #fff;
  max-width: var(--ancho-maximo); margin: 0 auto; width: 100%;
  padding: calc(var(--nav-alto) + 1rem) clamp(1.2rem, 4vw, 3rem) clamp(3.5rem, 8vw, 6rem);
}
.hero-cinta {
  display: inline-block; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  font-size: 0.82rem; color: var(--heno-200); margin-bottom: 0.9em;
}
.hero h1 { max-width: 14ch; }
.hero-sub { max-width: 46ch; font-size: 1.12rem; color: rgb(255 255 255 / 0.92); }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 0.9em; margin-top: 1.6em; }

/* ════════════════════ SECCIONES GENERALES ════════════════════ */
.seccion { padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.2rem, 4vw, 3rem); max-width: var(--ancho-maximo); margin: 0 auto; }
.seccion-verde { max-width: none; background: var(--pasto-900); color: var(--crema-alta); position: relative; }
.seccion-verde h2, .seccion-verde .entradilla { color: var(--crema-alta); }
.seccion-alterna { background: var(--crema-alta); max-width: none; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.seccion-mapa { max-width: none; padding-top: 0; }

.centrada { text-align: center; max-width: 62ch; margin: 0 auto 2.6rem; }
.entradilla { font-size: 1.1rem; color: var(--corteza-700); }

/* ── reveal on scroll ── */
.revela { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.revela.visto { opacity: 1; transform: translateY(0); }

/* ── partida (imagen + texto) ── */
.partida {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.partida-inversa { grid-template-columns: 1fr 1fr; }
.partida-inversa .partida-productos { order: 1; }
.partida-inversa .partida-texto { order: 2; }
.partida-foto img {
  border-radius: var(--radio); box-shadow: var(--sombra); aspect-ratio: 4/3.1; object-fit: cover; width: 100%;
}

/* Imagen principal de La Granja: más presencia y un encuadre que conserva mejor el ternero. */
#granja .partida {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
#granja .partida-foto img {
  aspect-ratio: 4 / 4.6;
  object-position: center 58%;
}
.sellos { display: flex; flex-wrap: wrap; gap: 0.7em 0.9em; margin-top: 1.6em; }
.sellos li {
  font-family: var(--f-display); font-weight: 700; font-size: 0.86rem;
  color: var(--pasto-900);
  border: 2px dashed var(--pasto-500);
  border-radius: 999px;
  padding: 0.55em 1.1em;
  transform: rotate(-2deg);
  background: var(--crema-alta);
}
.sellos li:nth-child(2n) { transform: rotate(1.5deg); }
.sellos li:nth-child(3n) { transform: rotate(-1deg); border-color: var(--heno-600); }

/* ── tarjetas (visita) ── */
.visita-rejilla {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1rem;
}
.tarjeta {
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--radio);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.tarjeta img { aspect-ratio: 16/11; object-fit: cover; }
.tarjeta-cuerpo { padding: 1.4rem 1.5rem 1.7rem; }
.tarjeta-cuerpo p { color: rgb(255 255 255 / 0.82); margin-bottom: 0; font-size: 0.98rem; }
.tarjeta-destacada { grid-row: span 1; grid-column: span 1; background: rgb(255 255 255 / 0.1); }
@media (min-width: 861px) {
  .tarjeta-destacada { grid-column: 1 / 3; display: grid; grid-template-columns: 1.1fr 1fr; }
  .tarjeta-destacada img { height: 100%; }
  .tarjeta-destacada .tarjeta-cuerpo { display: flex; flex-direction: column; justify-content: center; }
}

.datos-visita {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 3rem; border-top: 1px solid rgb(255 255 255 / 0.18);
}
.datos-visita > div {
  text-align: center; padding: 1.8rem 1rem 0;
  display: flex; flex-direction: column; gap: 0.3em;
}
.datos-visita strong { font-family: var(--f-display); font-size: clamp(1.5rem, 2vw, 2rem); color: var(--heno-500); }
.datos-visita span { color: rgb(255 255 255 / 0.75); font-size: 0.92rem; }

/* ── quesos / productos ── */
.partida-productos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.producto {
  margin: 0; position: relative; padding: .65rem .65rem .85rem;
  background: #fffdf8; border: 1px solid rgb(82 70 45 / .12);
  box-shadow: 0 18px 32px -24px rgb(39 49 38 / .7);
}
.producto:first-child { transform: translateY(-1.2rem) rotate(-2.2deg); }
.producto:nth-child(2) { transform: translateY(1.2rem) rotate(2.2deg); }
.producto::before {
  content: ""; position: absolute; z-index: 2; top: -.42rem; left: 50%;
  width: 72px; height: 19px; transform: translateX(-50%) rotate(-1deg);
  background: rgb(224 201 153 / .72); box-shadow: 0 1px 2px rgb(0 0 0 / .08);
}
.producto:nth-child(2)::before { transform: translateX(-50%) rotate(2deg); }
.producto img { border-radius: 2px; box-shadow: none; aspect-ratio: 3/3.6; object-fit: cover; width: 100%; display: block; }
.producto figcaption {
  margin-top: 0.7em; font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; color: var(--corteza-700);
}
.quesos-cta { margin-top: 1.6em; }



/* ════════════════════ GALERÍA ════════════════════ */
.galeria-seccion { max-width: none; background: var(--crema-alta); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.galeria-marco {
  position: relative; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem;
}
.galeria-ventana {
  overflow: hidden; border-radius: 24px; box-shadow: var(--sombra);
  touch-action: pan-y; cursor: grab; background: transparent;
  transition: height .25s ease;
}
.galeria-ventana:active { cursor: grabbing; }
.galeria-pista { display: flex; transition: transform .38s ease; will-change: transform; align-items: flex-start; }
.galeria-item {
  flex: 0 0 100%; margin: 0; display: flex; align-items: flex-start; justify-content: center;
}
.galeria-item img {
  display: block; width: 100%; height: auto; max-height: 620px;
  object-fit: contain; background: transparent;
}
.galeria-flecha {
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--pasto-900); color: var(--crema-alta);
  font-family: var(--f-display); font-size: 2rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--sombra); transition: transform .15s ease, background-color .15s ease;
  z-index: 2;
}
.galeria-flecha:hover { transform: scale(1.06); background: var(--pasto-700); }
.galeria-flecha:disabled { opacity: .35; cursor: default; transform: none; }
.galeria-controles { text-align: center; margin-top: .8rem; color: var(--corteza-500); font-weight: 700; font-size: .9rem; }
@media (max-width: 700px) {
  .galeria-marco { grid-template-columns: auto minmax(0, 1fr) auto; gap: .45rem; }
  .galeria-ventana { border-radius: 16px; }
  .galeria-item img { width: 100%; height: auto; max-height: 520px; object-fit: contain; }
  .galeria-flecha { width: 38px; height: 38px; font-size: 1.55rem; }
}

/* ════════════════════ RESERVA INTEGRADA ════════════════════ */
.reserva-seccion {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background: var(--crema-alta);
}
.reserva-integrada {
  max-width: var(--ancho-maximo);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  min-height: 440px;
  border: 1px solid var(--linea);
  background: #fffdf8;
  box-shadow: var(--sombra);
  overflow: hidden;
  border-radius: 24px;
}
.reserva-integrada-foto { min-height: 100%; }
.reserva-integrada-foto img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.reserva-integrada-contenido {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(2rem, 5vw, 4.5rem);
}
.eyebrow {
  margin: 0 0 .8rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--corteza-500);
}
.reserva-integrada-contenido h2 { margin-bottom: .8rem; max-width: 540px; color: var(--tinta); }
.reserva-integrada-texto { max-width: 500px; color: #665d54; font-size: 1.08rem; margin-bottom: 1.2rem; }
.reserva-precio {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .7rem;
  align-items: baseline;
  margin-bottom: 1.6rem;
}
.reserva-precio strong { font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--tinta); }
.reserva-precio span { color: #75695f; }
.reserva-precio small { grid-column: 1 / -1; margin-top: .35rem; color: #75695f; font-size: .84rem; }
@media (max-width: 820px) {
  .reserva-integrada { grid-template-columns: 1fr; }
  .reserva-integrada-foto img { min-height: 280px; max-height: 360px; }
  .reserva-integrada-contenido { padding: 2.2rem 1.5rem 2.5rem; }
}

/* ════════════════════ RESERVAS ════════════════════ */
.reserva-caja {
  max-width: 880px; margin: 0 auto; background: var(--crema-alta);
  border: 1px solid var(--linea); border-radius: 22px; box-shadow: var(--sombra);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}
.reserva-cargando { text-align: center; color: var(--corteza-500); margin: 2rem 0; }

/* pasos del asistente de reserva */
.rsv-pasos { display: flex; gap: 0.6rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.rsv-paso {
  font-size: 0.8rem; font-weight: 700; color: var(--corteza-500);
  padding: 0.4em 0.9em; border-radius: 999px; background: var(--linea);
}
.rsv-paso.activo { background: var(--pasto-700); color: #fff; }

.rsv-cabecera-mes { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.rsv-cabecera-mes h3 { margin: 0; text-transform: capitalize; }
.rsv-nav-mes {
  background: var(--crema); border: 1px solid var(--linea); border-radius: 10px;
  width: 38px; height: 38px; cursor: pointer; font-size: 1.1rem; color: var(--pasto-900);
}
.rsv-nav-mes:disabled { opacity: 0.35; cursor: not-allowed; }

.rsv-calendario { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.rsv-dia-semana { text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--corteza-500); padding-bottom: 0.4em; }
.rsv-dia {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid transparent; background: none;
  font-family: var(--f-cuerpo); font-size: 0.92rem; color: var(--tinta); cursor: pointer;
  position: relative;
}
.rsv-dia[data-estado="disponible"] { background: var(--pasto-200); font-weight: 700; }
.rsv-dia[data-estado="disponible"]:hover { background: var(--pasto-500); color: #fff; }
.rsv-dia[data-estado="completo"] { color: var(--corteza-500); text-decoration: line-through; cursor: not-allowed; }
.rsv-dia[data-estado="cerrado"], .rsv-dia[data-estado="pasado"] { color: var(--linea); cursor: not-allowed; }
.rsv-dia.seleccionado { background: var(--heno-500) !important; color: var(--corteza-700) !important; box-shadow: 0 0 0 3px var(--heno-200); }
.rsv-dia-vacio { visibility: hidden; }

.rsv-pases { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.rsv-pase {
  flex: 1 1 180px; text-align: left; padding: 1em 1.2em; border-radius: 14px;
  border: 2px solid var(--linea); background: var(--crema); cursor: pointer;
}
.rsv-pase strong { display: block; font-family: var(--f-display); font-size: 1.2rem; color: var(--pasto-900); }
.rsv-pase span { font-size: 0.85rem; color: var(--corteza-500); }
.rsv-pase .rsv-pase-descripcion {
  display: block;
  line-height: 1.45;
}
.rsv-pase .rsv-plazas-libres {
  display: block;
  width: fit-content;
  margin-top: .55rem;
  padding: .3rem .6rem;
  border-radius: 999px;
  background: var(--pasto-200);
  color: var(--pasto-900);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.rsv-pase .rsv-plazas-libres.hay-plazas {
  box-shadow: 0 0 0 1px rgba(55, 94, 45, .14);
}
.rsv-pase .rsv-plazas-libres.sin-plazas {
  background: #eee9e3;
  color: var(--corteza-500);
}
.rsv-pase:hover:not(:disabled) { border-color: var(--pasto-500); }
.rsv-pase.seleccionado { border-color: var(--heno-600); background: var(--heno-200); }
.rsv-pase:disabled { opacity: 0.45; cursor: not-allowed; }

.rsv-form { display: grid; gap: 1rem; margin-top: 1.6rem; }
.rsv-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rsv-form label, .gestionar-form label {
  display: flex; flex-direction: column; gap: 0.4em; font-size: 0.88rem; font-weight: 700; color: var(--corteza-700);
}
.rsv-form input, .rsv-form textarea, .rsv-form select,
.gestionar-form input {
  font-family: var(--f-cuerpo); font-size: 1rem; padding: 0.75em 0.9em;
  border: 1.5px solid var(--linea); border-radius: 10px; background: #fff; color: var(--tinta);
}
.rsv-form input:focus, .rsv-form textarea:focus, .rsv-form select:focus, .gestionar-form input:focus {
  border-color: var(--pasto-500);
}
.rsv-resumen {
  background: var(--pasto-200); border-radius: 14px; padding: 1.1em 1.3em; font-size: 0.95rem;
}
.rsv-resumen strong { color: var(--pasto-900); }
.rsv-acciones { display: flex; justify-content: space-between; align-items: center; margin-top: 1.8rem; flex-wrap: wrap; gap: 1rem; }
.rsv-volver { background: none; border: none; font-weight: 700; color: var(--corteza-700); cursor: pointer; text-decoration: underline; }
.rsv-error { color: #A3372C; background: #FBE7E3; border-radius: 10px; padding: 0.8em 1em; font-size: 0.92rem; }

.rsv-confirmacion { text-align: center; padding: 1rem 0; }
.rsv-confirmacion .rsv-localizador {
  font-family: var(--f-display); font-size: 2.1rem; font-weight: 800; color: var(--pasto-900);
  background: var(--heno-200); display: inline-block; padding: 0.3em 0.7em; border-radius: 12px; margin: 0.6em 0 1em;
  letter-spacing: 0.04em;
}

.reserva-alt { text-align: center; margin-top: 1.6rem; color: var(--corteza-700); }

.gestionar { max-width: 880px; margin: 1.4rem auto 0; }
.gestionar summary {
  cursor: pointer; font-weight: 700; color: var(--pasto-700); text-align: center; padding: 0.6em; list-style: none;
}
.gestionar summary::-webkit-details-marker { display: none; }
.gestionar-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem;
  background: var(--crema-alta); border: 1px solid var(--linea); border-radius: 16px; padding: 1.4rem;
}
.gestionar-botones { display: flex; gap: 0.8rem; grid-column: 1 / -1; flex-wrap: wrap; }
.gestionar-resultado { grid-column: 1 / -1; margin: 0; font-weight: 600; }

/* ════════════════════ MODALES (ya tienes reserva / revisar datos) ════════════════════ */
.btn-gestionar-abrir { display: block; margin: 1.3rem auto 0; }

dialog.modal {
  border: none; border-radius: var(--radio); padding: 1.6rem;
  max-width: 560px; width: min(92vw, 560px);
  background: var(--crema-alta); color: var(--tinta); box-shadow: var(--sombra);
}
dialog.modal::backdrop { background: rgb(43 36 23 / 0.55); backdrop-filter: blur(2px); }
dialog.modal h3 { margin-top: 0; }

.modal-cerrar-form { display: flex; justify-content: flex-end; margin: -0.6rem -0.6rem 0.2rem 0; }
.modal-cerrar {
  background: none; border: none; font-size: 1.6rem; line-height: 1; color: var(--corteza-700);
  cursor: pointer; padding: 0.15em 0.5em; border-radius: 8px;
}
.modal-cerrar:hover { background: var(--pasto-200); color: var(--pasto-900); }

.modal-gestionar .gestionar-form { margin-top: 0.6rem; border: none; padding: 0; background: none; }

.modal-confirmar-texto { color: var(--corteza-700); font-size: 0.92rem; margin-bottom: 1.2rem; }
.modal-confirmar-lista {
  display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1.2rem;
  margin: 0 0 1.4rem; padding: 1rem 1.2rem; background: var(--pasto-200); border-radius: 14px;
}
.modal-confirmar-lista dt { font-weight: 700; color: var(--pasto-900); font-size: 0.86rem; }
.modal-confirmar-lista dd { margin: 0; font-size: 0.94rem; word-break: break-word; }
.modal-confirmar-acciones { display: flex; justify-content: flex-end; gap: 0.8rem; flex-wrap: wrap; }

/* ════════════════════ OPINIONES ════════════════════ */
.opinion-grande {
  max-width: 62ch; margin: 0 auto 2.6rem; text-align: center; font-family: var(--f-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; color: var(--pasto-900); padding: 0; border: none;
}
.opinion-grande footer { margin-top: 1em; font-family: var(--f-cuerpo); font-size: 0.9rem; font-weight: 700; color: var(--corteza-500); }
.opiniones-par { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: var(--ancho-maximo); margin: 0 auto; }
.opinion {
  background: var(--crema-alta); border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 1.6rem; margin: 0; box-shadow: var(--sombra);
}
.opinion p { color: var(--tinta); font-size: 1rem; }
.opinion footer { font-size: 0.86rem; font-weight: 700; color: var(--corteza-500); }

/* ════════════════════ DÓNDE ESTAMOS ════════════════════ */
.donde-cabecera { max-width: var(--ancho-maximo); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem) 2.4rem; }
.donde-datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.donde-datos h3 { font-size: 1rem; color: var(--corteza-500); text-transform: uppercase; letter-spacing: 0.03em; font-family: var(--f-cuerpo); font-weight: 700; }
.donde-datos address { font-style: normal; }
.mapa-envoltura { line-height: 0; }
.mapa-envoltura iframe { width: 100%; height: 420px; border: 0; filter: saturate(0.9); }

/* ════════════════════ PIE ════════════════════ */
.pie { background: var(--pasto-900); color: rgb(255 255 255 / 0.85); padding: clamp(2.5rem, 5vw, 4rem) clamp(1.2rem, 4vw, 3rem) 2rem; }
.pie-columnas { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; max-width: var(--ancho-maximo); margin: 0 auto; }
.pie-marca { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 0.4em; }
.pie-titulo { font-weight: 700; color: var(--heno-200); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.7em; }
.pie a { text-decoration: none; }
.pie a:hover { text-decoration: underline; }
.pie-legal {
  max-width: var(--ancho-maximo); margin: 2.4rem auto 0; padding-top: 1.6rem;
  border-top: 1px solid rgb(255 255 255 / 0.14); font-size: 0.78rem; color: rgb(255 255 255 / 0.55);
}
.pie-legal a { color: inherit; }

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 1000px) {
  .visita-rejilla { grid-template-columns: 1fr; }
  .tarjeta-destacada { grid-column: auto; }
  .datos-visita { grid-template-columns: 1fr; gap: 1.6rem; }
  .donde-datos { grid-template-columns: 1fr; gap: 1.6rem; }
  .pie-columnas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-menu-btn { display: flex; }
  .nav-enlaces {
    position: fixed; inset: var(--nav-alto) 0 auto auto; width: min(78vw, 320px);
    background: var(--pasto-900); flex-direction: column; align-items: stretch;
    padding: 1.4rem; gap: 0.4rem; border-radius: 0 0 0 18px; box-shadow: -8px 12px 30px -12px rgb(0 0 0 / 0.4);
    transform: translateX(105%); transition: transform 0.25s ease;
  }
  .nav-enlaces.abierto { transform: translateX(0); }
  .nav-enlaces a:not(.btn) { padding: 0.7em 0.4em; }
  .nav-enlaces .btn { justify-content: center; margin-top: 0.4rem; }
  .partida, .partida-inversa { grid-template-columns: 1fr; }
  .partida-inversa .partida-productos { order: 0; }
  .partida-productos { max-width: 420px; margin: 0 auto; }
  .opiniones-par { grid-template-columns: 1fr; }
  .rsv-fila { grid-template-columns: 1fr; }
  .gestionar-form { grid-template-columns: 1fr; }
  .pie-columnas { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .hero-acciones { flex-direction: column; align-items: stretch; }
  .rsv-calendario { gap: 4px; }
}

/* ════════════════════════════════════════════════════════════
   CAPA VISUAL — rediseño moderno / granja artesanal
   Solo presentación: no modifica el comportamiento del sistema.
   ════════════════════════════════════════════════════════════ */
:root {
  --crema: #f6f1e7;
  --crema-alta: #fffdf8;
  --tinta: #273126;
  --pasto-900: #1f3a2a;
  --pasto-700: #356047;
  --pasto-500: #6e9671;
  --pasto-200: #dce8d7;
  --heno-600: #b57b22;
  --heno-500: #d39a36;
  --heno-200: #f2dfb3;
  --corteza-700: #62442d;
  --corteza-500: #947255;
  --marisma-500: #72949a;
  --marisma-200: #dbe9e9;
  --linea: #e4dac9;
  --sombra: 0 22px 55px -30px rgb(39 49 38 / .42);
  --radio: 22px;
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgb(255 255 255 / .8), transparent 28rem),
    var(--crema);
}

/* navegación */
.nav {
  height: 82px;
  padding-inline: clamp(1.25rem, 5vw, 4.5rem);
  background: linear-gradient(180deg, rgb(18 35 25 / .48), transparent);
}
.nav.nav-solida {
  background: rgb(31 58 42 / .96);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 10px 35px rgb(0 0 0 / .14);
}
.nav-marca { font-size: 1.28rem; letter-spacing: -.02em; }
.nav-logo { width: 40px; height: 40px; border: 2px solid rgb(255 255 255 / .75); }
.nav-enlaces { gap: clamp(.7rem, 1.3vw, 1.35rem); }
.nav-enlaces a:not(.btn) { font-size: .9rem; letter-spacing: .01em; }
.nav-enlaces a:not(.btn)::after { height: 3px; border-radius: 99px; bottom: -7px; }
.nav-idioma select { border-radius: 999px; padding: .5rem .8rem; backdrop-filter: blur(8px); }

/* botones */
.btn { min-height: 48px; box-shadow: 0 8px 20px -13px rgb(0 0 0 / .45); }
.btn-heno { background: var(--heno-500); color: #33220e; }
.btn-heno:hover { background: #e1aa4d; box-shadow: 0 12px 26px -13px rgb(181 123 34 / .7); }
.btn-verde { box-shadow: 0 10px 24px -14px rgb(31 58 42 / .8); }
.btn-borde, .btn-borde-verde { box-shadow: none; }

/* portada */
.hero { min-height: min(88vh, 820px); }
.hero-fondo { transform: scale(1.015); }
.hero-velo {
  background:
    linear-gradient(90deg, rgb(20 36 25 / .72) 0%, rgb(20 36 25 / .30) 58%, rgb(20 36 25 / .08) 100%),
    linear-gradient(180deg, rgb(15 28 20 / .12) 25%, rgb(15 28 20 / .82) 100%);
}
.hero-texto { padding-bottom: clamp(4rem, 9vw, 7.5rem); }
.hero-cinta {
  padding: .48rem .8rem;
  border: 1px solid rgb(242 223 179 / .45);
  background: rgb(31 58 42 / .38);
  border-radius: 999px;
  backdrop-filter: blur(7px);
  font-size: .76rem;
}
.hero h1 { max-width: 12ch; text-wrap: balance; letter-spacing: -.045em; text-shadow: 0 5px 25px rgb(0 0 0 / .22); }
.hero-sub { max-width: 52ch; font-size: 1.08rem; line-height: 1.7; }

/* secciones */
.seccion { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.seccion > .partida, .seccion > .centrada, .seccion > .visita-rejilla, .seccion > .datos-visita,
.seccion > .reserva-caja, .seccion > .reserva-alt, .seccion > .gestionar { position: relative; }
.seccion:not(.seccion-verde):not(.seccion-alterna)::before {
  content: ""; display: block; width: 58px; height: 4px; border-radius: 99px;
  background: var(--heno-500); margin-bottom: 1.4rem;
}
.seccion-verde::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 15%, rgb(110 150 113 / .14), transparent 25rem); pointer-events: none; }
.seccion-verde { overflow: hidden; }
.seccion-alterna { background: linear-gradient(180deg, #fffdf8, #f5efe3); }
.centrada { margin-bottom: 3.2rem; }
h2 { letter-spacing: -.04em; text-wrap: balance; }
h3 { letter-spacing: -.025em; }
.entradilla { max-width: 60ch; margin-inline: auto; line-height: 1.7; }

/* bloques de historia */
.partida { gap: clamp(3rem, 7vw, 6.5rem); }
.partida-foto { position: relative; margin: 0; }
.partida-foto::after {
  content: ""; position: absolute; width: 32%; height: 32%; right: -12px; bottom: -12px;
  border-right: 3px solid var(--heno-500); border-bottom: 3px solid var(--heno-500);
  border-radius: 0 0 18px 0; pointer-events: none;
}
.partida-foto img { border-radius: 26px; box-shadow: 0 28px 55px -30px rgb(39 49 38 / .65); }
.partida-texto p { max-width: 60ch; color: #4b5148; }
.sellos { gap: .6rem; }
.sellos li { border: 1px solid #cddbc7; background: #fbfdf8; transform: none; box-shadow: 0 4px 12px -10px rgb(0 0 0 / .3); }
.sellos li:nth-child(2n), .sellos li:nth-child(3n) { transform: none; }

/* tarjetas */
.visita-rejilla { gap: 1.35rem; }
.tarjeta {
  border: 1px solid rgb(255 255 255 / .13);
  border-radius: 24px;
  background: linear-gradient(145deg, rgb(255 255 255 / .10), rgb(255 255 255 / .045));
  box-shadow: 0 20px 45px -35px rgb(0 0 0 / .8);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tarjeta:hover { transform: translateY(-6px); border-color: rgb(242 223 179 / .38); box-shadow: 0 26px 55px -32px rgb(0 0 0 / .9); }
.tarjeta img { filter: saturate(.94); }
.tarjeta-cuerpo { padding: 1.55rem 1.6rem 1.8rem; }
.tarjeta-cuerpo p { line-height: 1.7; }

/* productos */
.partida-productos { gap: 1.5rem; }
.producto:first-child { transform: translateY(-1.5rem) rotate(-2.2deg); }
.producto:nth-child(2) { transform: translateY(1.5rem) rotate(2.2deg); }
.producto img { border-radius: 2px; }
.producto figcaption { color: var(--corteza-700); font-size: .92rem; }

/* reservas */
.reserva-caja {
  max-width: 940px; margin-inline: auto; padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--crema-alta); border: 1px solid var(--linea); border-radius: 28px;
  box-shadow: 0 30px 70px -42px rgb(39 49 38 / .5);
}
.rsv-pasos { border-bottom-color: var(--linea); }
.rsv-paso.activo { color: var(--pasto-700); }
.rsv-calendario, .rsv-pase, .rsv-form { border-color: var(--linea); }
.rsv-dia, .rsv-pase-boton { border-radius: 14px; }
.rsv-dia-disponible, .rsv-pase-boton:hover { box-shadow: 0 10px 22px -16px rgb(53 96 71 / .7); }
.gestionar { max-width: 940px; }
.gestionar summary { border-radius: 16px; background: #eee7d9; padding: 1rem 1.2rem; font-weight: 700; }
.gestionar-form { padding: 1.2rem; border: 1px solid var(--linea); border-top: 0; border-radius: 0 0 16px 16px; background: #fffdf8; }

/* página de reserva */
.pagina-reserva-body { background: linear-gradient(180deg, #edf2e8 0, var(--crema) 360px); }
.pagina-reserva-body .nav { background: var(--pasto-900); position: fixed; }
.pagina-reserva { padding-top: 82px; min-height: calc(100vh - 82px); }
.pagina-reserva > .seccion { max-width: 1120px; }
.pagina-reserva > .seccion::before { margin-top: .5rem; }
.pagina-reserva .centrada { padding-top: 1.5rem; }
.pagina-reserva .centrada h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.pagina-reserva .reserva-alt { margin-top: 1.5rem; }

/* opiniones */
.opinion-grande { max-width: 850px; margin-inline: auto; padding: clamp(2rem, 5vw, 4rem); border-radius: 28px; background: #f0eadc; box-shadow: var(--sombra); }
.opinion-grande p { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.6; }
.opinion { transition: transform .2s ease; }
.opinion:hover { transform: translateY(-4px); }

/* mapa */
.donde-datos { gap: 1rem; }
.donde-datos > * { padding: 1.25rem; border: 1px solid var(--linea); border-radius: 18px; background: var(--crema-alta); }
.mapa-envoltura iframe { height: 460px; filter: saturate(.78) contrast(.98); }

/* footer */
.pie { background: #1b3023; }
.pie-columnas { gap: 3rem; }
.pie-marca { font-size: 1.45rem; }
.pie-titulo { color: var(--heno-200); }

@media (max-width: 860px) {
  .nav { height: 72px; }
  .pagina-reserva { padding-top: 72px; }
  .pagina-reserva-body .nav { height: 72px; }
  .nav-enlaces { top: 72px; }
  .partida-foto::after { display: none; }
}

/* ════════════════════════════════════════════════════════════
   AJUSTE FINAL — estética editorial / rural contemporánea
   Solo presentación. No cambia ninguna funcionalidad.
   ════════════════════════════════════════════════════════════ */
:root {
  --crema: #f4efe7;
  --crema-alta: #fffdf9;
  --tinta: #292824;
  --pasto-900: #292824;
  --pasto-700: #675344;
  --pasto-500: #a97852;
  --pasto-200: #e8ddd2;
  --heno-600: #a9683d;
  --heno-500: #c48656;
  --heno-200: #ecd4c0;
  --corteza-700: #4e4036;
  --corteza-500: #806e60;
  --marisma-500: #6f8587;
  --marisma-200: #dce5e4;
  --linea: #ded5ca;
  --sombra: 0 24px 60px -34px rgb(42 38 33 / .38);
  --radio: 20px;
}

body {
  background: #f4efe7;
  color: var(--tinta);
}

h2, h3 { color: var(--pasto-900); }

.nav.nav-solida { background: rgb(41 40 36 / .96); }
.nav-enlaces a:not(.btn)::after { background: var(--heno-500); }
.nav-logo { background: #292824; object-fit: cover; padding: 2px; }

.hero-velo {
  background:
    linear-gradient(90deg, rgb(32 29 25 / .72) 0%, rgb(32 29 25 / .28) 62%, rgb(32 29 25 / .05) 100%),
    linear-gradient(180deg, rgb(20 18 16 / .08) 20%, rgb(20 18 16 / .78) 100%);
}
.hero-cinta {
  color: #f1d8c5;
  border-color: rgb(241 216 197 / .45);
  background: rgb(41 40 36 / .35);
}
.btn-heno { background: #c48656; color: #fffaf4; }
.btn-heno:hover { background: #ad6d43; }
.btn-verde { background: #292824; color: #fffdf9; }
.btn-verde:hover { background: #171614; }
.btn-borde-verde { border-color: #675344; color: #675344; }
.btn-borde-verde:hover { background: #e8ddd2; }

/* La visita: galería más equilibrada, menos aspecto de tarjetas generadas */
.seccion-verde {
  background: #2d2b27;
  color: #fffaf4;
}
.seccion-verde h2 { color: #fffaf4; }
.seccion-verde .entradilla { color: rgb(255 250 244 / .78); }
.seccion-verde::before { display: none; }
.visita-rejilla {
  max-width: 1120px;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.tarjeta {
  background: #f7f1e9;
  color: #292824;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 18px 45px -30px rgb(0 0 0 / .7);
}
.tarjeta:hover { transform: translateY(-4px); border-color: transparent; }
.tarjeta img { aspect-ratio: 16 / 9; filter: none; }
.tarjeta-cuerpo { padding: 1.35rem 1.45rem 1.5rem; }
.tarjeta-cuerpo h3 { color: #292824; margin-bottom: .45rem; }
.tarjeta-cuerpo p { color: #625b53; }
.tarjeta-destacada { background: #f7f1e9; }
@media (min-width: 861px) {
  .tarjeta-destacada { grid-column: auto; display: flex; }
  .tarjeta-destacada img { height: auto; }
}
.datos-visita { max-width: 1120px; margin-inline: auto; border-top: 1px solid rgb(255 255 255 / .15); }
.datos-visita strong { color: #d9a77f; }
.datos-visita span { color: rgb(255 250 244 / .68); }

/* Cómo llegar: información limpia, sin las cajas tipo dashboard */
.seccion-mapa { background: #fffdf9; }
.donde-cabecera { padding-bottom: 2rem; }
.donde-datos {
  grid-template-columns: 1.15fr .85fr 1.25fr;
  gap: 0;
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
}
.donde-datos > * {
  padding: 1.35rem 1.6rem 1.35rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.donde-datos > * + * {
  padding-left: 1.6rem;
  border-left: 1px solid var(--linea);
}
.donde-datos h3 {
  color: #806e60;
  font-size: .76rem;
  letter-spacing: .1em;
}
.donde-datos p { color: #514a44; }
.donde-datos a { color: #675344; text-underline-offset: 3px; }
.mapa-envoltura { padding: 0 clamp(1.2rem, 4vw, 3rem) 5rem; }
.mapa-envoltura iframe { height: 430px; border-radius: 18px; box-shadow: 0 20px 50px -34px rgb(42 38 33 / .45); }

/* La sección de la granja queda más editorial */
.seccion:not(.seccion-verde):not(.seccion-alterna)::before { background: #c48656; }
.partida-foto::after { border-color: #c48656; }
.sellos li { color: #5d4c40; border-color: #d8c9bc; background: #fffdf9; }

/* Footer más sobrio */
.pie { background: #242320; }
.pie-titulo { color: #d8a77f; }

/* Icono/fav no depende de PNG externos */
.nav-logo { flex: 0 0 auto; }

@media (max-width: 1000px) {
  .visita-rejilla { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .visita-rejilla { grid-template-columns: 1fr; }
  .donde-datos { grid-template-columns: 1fr; }
  .donde-datos > *, .donde-datos > * + * { padding: 1.15rem 0; border-left: 0; }
  .donde-datos > * + * { border-top: 1px solid var(--linea); }
  .mapa-envoltura { padding-bottom: 3rem; }
}


.nav-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
  padding: 2px;
  flex: 0 0 auto;
}

/* ════════════════════════════════════════════════════════════
   AJUSTE MÓVIL — lectura cómoda y sin animaciones que "aparezcan"
   Solo presentación. No modifica la lógica del sitio.
   ════════════════════════════════════════════════════════════ */

/* Estados seleccionados del calendario y pasos: siempre con contraste */
.rsv-dia.seleccionado {
  background: #9b623e !important;
  color: #fffdf9 !important;
  font-weight: 800;
  box-shadow: 0 0 0 3px #ecd4c0;
}
.rsv-paso.activo {
  background: #9b623e !important;
  color: #fffdf9 !important;
}
.rsv-pase.seleccionado {
  background: #ead2bd !important;
  border-color: #9b623e !important;
  color: #292824 !important;
}
.rsv-pase.seleccionado strong,
.rsv-pase.seleccionado span {
  color: #292824 !important;
}

@media (max-width: 600px) {
  body { font-size: 16px; }

  h1 { font-size: clamp(2.15rem, 10vw, 3rem); line-height: 1.02; }
  h2 { font-size: clamp(1.7rem, 8vw, 2.25rem); }
  h3 { font-size: 1.12rem; }

  .nav { height: 68px; padding-inline: 1rem; }
  .nav-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    object-fit: contain;
    padding: 2px;
  }  
  .nav-marca { font-size: 1.05rem; gap: .5rem; }
  .nav-menu-btn { width: 40px; height: 40px; }
  .nav-enlaces { top: 68px; }

  .hero { min-height: 76svh; }
  .hero-texto { padding: calc(68px + 1.4rem) 1rem 3rem; }
  .hero-cinta { font-size: .7rem; }
  .hero-sub { font-size: .98rem; line-height: 1.55; }
  .hero-acciones { gap: .65rem; margin-top: 1.15rem; }
  .btn { min-height: 44px; padding: .72rem 1.15rem; font-size: .9rem; }
  .btn-grande { min-height: 46px; padding: .8rem 1.25rem; font-size: .95rem; }

  .seccion { padding: 3.5rem 1rem; }
  .centrada { margin-bottom: 2rem; }
  .centrada .entradilla { font-size: .98rem; line-height: 1.6; }

  /* En móvil las fotos se leen como una secuencia normal, sin "aparecer" al entrar.
     El efecto de reveal se mantiene en escritorio. */
  .revela,
  .revela.visto {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .partida { grid-template-columns: 1fr; gap: 1.8rem; }
  .partida-inversa { grid-template-columns: 1fr; }
  .partida-inversa .partida-productos,
  .partida-inversa .partida-texto { order: initial; }
  .partida-foto img { aspect-ratio: 4 / 3; border-radius: 16px; }
  .partida-texto p { line-height: 1.65; }
  .sellos { margin-top: 1rem; }
  .sellos li { font-size: .78rem; padding: .48em .8em; }

  /* Galería: fotos más compactas y uniformes */
  .visita-rejilla { gap: 1rem; }
  .tarjeta,
  .tarjeta-destacada { border-radius: 15px; }
  .tarjeta img { aspect-ratio: 16 / 10; }
  .tarjeta-cuerpo { padding: 1.05rem 1.1rem 1.2rem; }
  .tarjeta-cuerpo p { font-size: .9rem; line-height: 1.55; }
  .datos-visita { margin-top: 2rem; }
  .datos-visita > div { padding: 1.1rem .5rem 0; }
  .datos-visita strong { font-size: 1.45rem; }

  /* Bloque de reserva de portada */
  .reserva-seccion { padding: 3.5rem 1rem; }
  .reserva-integrada { border-radius: 17px; min-height: 0; }
  .reserva-integrada-foto img { min-height: 0; height: 230px; max-height: none; object-fit: cover; }
  .reserva-integrada-contenido { padding: 1.7rem 1.2rem 1.8rem; }
  .reserva-integrada-contenido h2 { font-size: 1.85rem; }
  .reserva-integrada-texto { font-size: .96rem; line-height: 1.55; }
  .reserva-precio { margin-bottom: 1.2rem; }
  .reserva-precio strong { font-size: 1.7rem; }

  /* Quesos: nada de fotos desplazadas arriba/abajo en móvil */
  .partida-productos { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .producto:first-child { transform: translateY(-.35rem) rotate(-1.4deg); }
  .producto:nth-child(2) { transform: translateY(.35rem) rotate(1.4deg); }
  .producto img { aspect-ratio: 4 / 4.7; border-radius: 2px; }
  .producto figcaption { font-size: .78rem; line-height: 1.35; }

  /* Reserva: que todo quepa sin sensación de interfaz enorme */
  .pagina-reserva { padding-top: 68px; }
  .pagina-reserva > .seccion { padding: 3rem 1rem; }
  .pagina-reserva .centrada { padding-top: .5rem; }
  .pagina-reserva .centrada h2 { font-size: 2rem; }
  .pagina-reserva .reserva-caja { padding: 1rem; border-radius: 17px; }

  .rsv-pasos { gap: .4rem; margin-bottom: 1.15rem; }
  .rsv-paso { font-size: .7rem; padding: .38em .65em; }
  .rsv-cabecera-mes h3 { font-size: 1rem; }
  .rsv-nav-mes { width: 34px; height: 34px; }
  .rsv-calendario { gap: 3px; }
  .rsv-dia-semana { font-size: .62rem; }
  .rsv-dia { border-radius: 8px; font-size: .82rem; }

  .rsv-pases { gap: .6rem; margin-top: 1.1rem; }
  .rsv-pase { flex-basis: 100%; padding: .85rem .9rem; border-radius: 11px; }
  .rsv-pase strong { font-size: 1.05rem; }
  .rsv-pase span { font-size: .78rem; }

  .rsv-form { gap: .8rem; margin-top: 1.1rem; }
  .rsv-fila { grid-template-columns: 1fr; gap: .8rem; }
  .rsv-form label { font-size: .82rem; }
  .rsv-form input,
  .rsv-form textarea,
  .rsv-form select,
  .gestionar-form input { font-size: 16px; padding: .7rem .8rem; }
  .rsv-resumen { padding: .9rem 1rem; font-size: .88rem; }
  .rsv-acciones { margin-top: 1.2rem; gap: .7rem; }
  .rsv-confirmacion .rsv-localizador { font-size: 1.7rem; }

  .gestionar-form { grid-template-columns: 1fr; padding: 1rem; }
  .gestionar-botones { grid-column: auto; }

  .btn-gestionar-abrir { width: 100%; }
  dialog.modal { padding: 1.2rem; max-width: none; width: min(94vw, 480px); }
  .modal-confirmar-lista { grid-template-columns: 1fr; gap: 0.2rem 0; padding: 0.9rem 1rem; }
  .modal-confirmar-lista dt { margin-top: 0.5rem; }
  .modal-confirmar-lista dt:first-child { margin-top: 0; }
  .modal-confirmar-acciones { flex-direction: column-reverse; }
  .modal-confirmar-acciones .btn { width: 100%; justify-content: center; }

  /* Cómo llegar: más ligero y sin bloques enormes */
  .donde-cabecera { padding: 3.5rem 1rem 1.7rem; }
  .donde-datos > *, .donde-datos > * + * { padding: .9rem 0; }
  .donde-datos h3 { margin-bottom: .25rem; }
  .donde-datos p { margin-bottom: .35rem; }
  .mapa-envoltura { padding: 0 1rem 3.5rem; }
  .mapa-envoltura iframe { height: 300px; border-radius: 14px; }

  .opinion-grande { padding: 1.5rem 1.15rem; border-radius: 17px; }
  .opinion-grande p { font-size: 1.08rem; }
  .opinion { padding: 1.15rem; border-radius: 15px; }

  .pie { padding: 2.5rem 1rem 1.5rem; }
  .pie-columnas { grid-template-columns: 1fr; gap: 1.7rem; }
  .pie-marca { font-size: 1.25rem; }
}

/* ════════════════════════════════════════════════════════════
   QUIÉNES SOMOS + GALERÍA — ajuste final de fotografías
   ════════════════════════════════════════════════════════════ */
.quienes-seccion {
  background: #fffdf9;
}
.quienes-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.persona-card {
  overflow: hidden;
  border-radius: 20px;
  background: #f7f1e9;
  box-shadow: 0 18px 45px -30px rgb(0 0 0 / .45);
}
.persona-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.persona-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.persona-card-cuerpo {
  padding: 1.2rem 1.35rem 1.4rem;
}
.persona-card-cuerpo h3 {
  margin-bottom: .35rem;
}
.persona-card-cuerpo p {
  margin: 0;
  color: #625b53;
}

.galeria-ventana {
  background: #e8ddd2;
}
.galeria-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8ddd2;
}
.galeria-item img {
  height: min(60vw, 620px);
  min-height: 360px;
  object-fit: contain;
  object-position: center;
  background: #e8ddd2;
}

@media (max-width: 700px) {
  .quienes-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .persona-card figure {
    aspect-ratio: 4 / 3;
  }
  .galeria-item img {
    height: 68vw;
    min-height: 260px;
    max-height: 430px;
  }
}


/* ════════════════════════════════════════════════════════════
   GALERÍA — fotografías completas, sin recortes ni fondo
   ════════════════════════════════════════════════════════════ */
.galeria-marco {
  background: transparent;
}
.galeria-ventana {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  height: 580px;
}
.galeria-item {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.galeria-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 22px;
  box-shadow: 0 22px 50px -32px rgb(39 49 38 / .55);
  cursor: zoom-in;
}
/* La fotografía del rebaño necesita mostrar más terreno en la parte inferior. */
.tarjeta .foto-vacas-equilibrio {
  object-position: center 72%;
}
@media (max-width: 700px) {
  .galeria-ventana { border-radius: 0; height: 400px; }
  .galeria-item img {
    border-radius: 16px;
  }
}

@media (max-width: 860px) {
  #granja .partida {
    grid-template-columns: 1fr;
  }
  #granja .partida-foto img {
    aspect-ratio: 4 / 4.8;
    object-position: center 58%;
  }
}

/* ════════════════════════════════════════════════════════════
   VISOR DE FOTO A PANTALLA COMPLETA (LIGHTBOX)
   ════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(15 20 14 / 0.94);
  backdrop-filter: blur(4px);
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  animation: lightbox-entrada 0.2s ease forwards;
}
.lightbox[hidden] { display: none; }
@keyframes lightbox-entrada { to { opacity: 1; } }
.lightbox-img {
  max-width: min(94vw, 1400px);
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 30px 70px -20px rgb(0 0 0 / 0.7);
  cursor: default;
}
.lightbox-cerrar {
  position: absolute;
  top: clamp(0.8rem, 2.5vw, 1.6rem);
  right: clamp(0.8rem, 2.5vw, 1.6rem);
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  font-size: 1.7rem; line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.lightbox-cerrar:hover { background: rgb(255 255 255 / 0.26); transform: scale(1.06); }
.lightbox-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border: 0; border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  font-family: var(--f-display); font-size: 2.1rem; line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.lightbox-flecha:hover { background: rgb(255 255 255 / 0.26); transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: clamp(0.6rem, 3vw, 2rem); }
.lightbox-next { right: clamp(0.6rem, 3vw, 2rem); }
@media (max-width: 700px) {
  .lightbox-flecha { width: 42px; height: 42px; font-size: 1.7rem; }
  .lightbox-cerrar { width: 38px; height: 38px; font-size: 1.4rem; }
}

/* Quesos: fotos un poco más grandes en escritorio */
@media (min-width: 861px) {
  #quesos .partida {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  }

  #quesos .partida-productos {
    gap: 1.35rem;
  }

  #quesos .producto {
    padding: .72rem .72rem .9rem;
  }
}
