/* Joss · carrusel horizontal de pantalla completa.
   Referencia: carrusel editorial (serif fina de alto contraste, Inter ligera con remates en negrita,
   notas manuscritas, campos de rubor, topo y café, marco de esquinas). */
@import url('/fonts/referencia.css');

body.carrusel-pagina {
  /* Paleta de la referencia */
  --vino: #4a1d16;
  --vino-2: #5e281f;
  --rubor: #efe0d5;
  --rubor-2: #e6d2c4;
  --tarjeta: #fbeee3;
  --topo: #85766c;
  --topo-hondo: #75665d; /* topo con 5:1 contra el hueso */
  --cafe: #3a2219;
  --cafe-2: #21110b;
  --hueso: #f6e9dc;
  --hueso-suave: rgba(246, 233, 220, 0.82);
  --display: 'Italiana', 'Didot', 'Bodoni 72', Georgia, serif;
  --texto: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mano: 'Kalam', 'Segoe Print', 'Bradley Hand', cursive;
  --m: clamp(1.25rem, 4vw, 4rem);
  --barra: clamp(4rem, 9vh, 5.5rem);
  --enorme: clamp(4.4rem, min(13.5vw, 24vh), 15rem);
  --grande: clamp(2.7rem, min(6.4vw, 10.5vh), 6.4rem);
  --cuerpo: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  --frase: clamp(1.15rem, min(1.9vw, 3vh), 1.6rem);

  /* La agenda y el acordeón heredan estas variables de joss.css */
  --serif: var(--display);
  --sans: var(--texto);
  --marfil: var(--tarjeta);
  --marfil-2: var(--rubor);
  --arena: var(--rubor-2);
  --bosque: var(--vino);
  --bosque-2: #33130e;
  --tinta: var(--vino);
  --tinta-suave: #6a4a40;
  --arcilla-texto: var(--vino);
  --salvia-texto: #6a4a40;
  --linea: rgba(74, 29, 22, 0.18);

  margin: 0;
  background: var(--cafe-2);
  color: var(--vino);
  font-family: var(--texto);
  font-weight: 300;
  font-size: var(--cuerpo);
}
.js body.carrusel-pagina {
  overflow: hidden;
  height: 100svh;
}
.carrusel-pagina b,
.carrusel-pagina strong {
  font-weight: 600;
}

/* ---------- elementos de la referencia ---------- */

.firma-mini {
  margin: clamp(1.25rem, 3vh, 2rem) 0 0;
  font: 600 0.72rem/1.4 var(--texto);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.firma-mini span {
  font-weight: 300;
  opacity: 0.8;
}
.serif {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0;
}
.subrayado {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
.mano {
  font-family: var(--mano);
  font-weight: 300;
  font-size: clamp(1.15rem, min(1.7vw, 2.8vh), 1.5rem);
  line-height: 1.3;
}
.numerada {
  list-style: none;
  counter-reset: n;
  margin: 0;
  padding: 0;
}
.numerada > li {
  counter-increment: n;
}
.numerada > li::before {
  content: counter(n, decimal-leading-zero) '.';
  font-weight: 600;
  margin-right: 0.35em;
}

/* ---------- barra y controles ---------- */

.barra {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--barra);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--m);
  pointer-events: none;
  color: var(--hueso);
  transition: color 0.4s ease;
}
.barra > * {
  pointer-events: auto;
}
body[data-tono='claro'] .barra {
  color: var(--vino);
}
.marca {
  font: 400 clamp(1.9rem, 2.6vw, 2.4rem) / 1 var(--display);
  letter-spacing: -0.02em;
  color: inherit;
  text-decoration: none;
}
.barra__accion {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: var(--hueso);
  color: var(--vino);
  font: 500 0.92rem/1 var(--texto);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
body[data-tono='claro'] .barra__accion {
  background: var(--vino);
  color: var(--hueso);
}
.barra__accion:hover {
  transform: translateY(-1px);
}
.barra__accion svg {
  width: 1.05rem;
  height: 1.05rem;
}

.flecha {
  position: fixed;
  top: 50%;
  z-index: 40;
  width: 3.25rem;
  height: 3.25rem;
  margin-top: -1.625rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: rgba(246, 233, 220, 0.88);
  color: var(--vino);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease, background 0.2s ease;
}
.flecha:hover {
  background: var(--hueso);
}
.flecha:active {
  transform: scale(0.94);
}
.flecha[disabled] {
  opacity: 0;
  pointer-events: none;
}
.flecha svg {
  width: 1.4rem;
  height: 1.4rem;
}
.flecha--prev {
  left: clamp(0.5rem, 1.4vw, 1.5rem);
}
.flecha--sig {
  right: clamp(0.5rem, 1.4vw, 1.5rem);
}
.flecha--sig:not([disabled]) svg {
  animation: invitar 2.6s ease-in-out 1.2s 3;
}
@keyframes invitar {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.puntos {
  position: fixed;
  left: 50%;
  bottom: clamp(0.6rem, 2.2vh, 1.4rem);
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(33, 17, 11, 0.32);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
body[data-tono='claro'] .puntos {
  background: rgba(246, 233, 220, 0.72);
}
.puntos button {
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  color: var(--hueso);
}
body[data-tono='claro'] .puntos button {
  color: var(--vino);
}
.puntos button::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.puntos button[aria-current='true']::before {
  opacity: 1;
  transform: scale(1.35);
}
.puntos button:hover::before {
  opacity: 0.8;
}
@media (max-width: 760px) {
  .puntos,
  body[data-tono='claro'] .puntos {
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (min-width: 761px) {
  .puntos button {
    width: 2.25rem;
    height: 2.25rem;
  }
}
.no-js .flecha,
.no-js .puntos {
  display: none;
}

/* ---------- pista horizontal ---------- */

.pista {
  display: flex;
  height: 100svh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}
.js .pista {
  scrollbar-width: none;
}
.js .pista::-webkit-scrollbar {
  display: none;
}
.hoja {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow-x: hidden;
  overflow-y: auto;
  isolation: isolate;
}
.hoja__dentro {
  min-height: 100%;
  display: grid;
  padding: calc(var(--barra) + 0.75rem) calc(var(--m) + 3rem) calc(3.5rem + 2vh);
}
@media (max-width: 760px) {
  .hoja__dentro {
    padding: calc(var(--barra) + 0.5rem) var(--m) 4.5rem;
  }
  .flecha {
    top: auto;
    bottom: 0.7rem;
    margin-top: 0;
    width: 2.9rem;
    height: 2.9rem;
  }
}

/* foto de fondo / columnas de foto */
.foto {
  margin: 0;
  position: absolute;
  z-index: -1;
  overflow: hidden;
}
.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 1 · portada ---------- */

.h-portada {
  background: var(--cafe-2);
  color: var(--hueso);
}
.h-portada .foto {
  inset: 0 0 0 auto;
  width: min(60%, 82svh);
}
.h-portada .foto img {
  object-position: 50% 20%;
}
.h-portada .hoja__dentro {
  align-content: end;
  padding-bottom: calc(4rem + 4vh);
}
.h-portada__intro {
  max-width: 30rem;
  margin: 0 0 0.6rem;
  font-size: clamp(1.45rem, min(2.6vw, 4.2vh), 2.35rem);
  line-height: 1.3;
  color: var(--hueso);
}
.h-portada h1 {
  font-size: var(--enorme);
  line-height: 0.8;
  color: #f3dcc6;
  margin-left: -0.04em;
}
@media (min-width: 761px) and (min-aspect-ratio: 5/6) {
  /* el titular vive en la columna libre, sin entrar en la foto */
  .h-portada .hoja__dentro > * {
    max-width: calc(100vw - min(60vw, 82svh) - var(--m) - 1.5rem);
  }
  .h-portada h1 {
    font-size: min(var(--enorme), calc((100vw - min(60vw, 82svh) - var(--m) - 1.5rem) / 3.95));
    padding-bottom: 0.14em;
  }
}
.h-portada__pie {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: clamp(1.25rem, 3vh, 2.25rem);
}
.boton-r {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 0;
  background: var(--hueso);
  color: var(--vino);
  font: 500 1rem/1.2 var(--texto);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.boton-r:hover {
  background: #fff6ec;
}
.boton-r:active {
  transform: scale(0.97);
}
.boton-r svg {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform 0.2s ease;
}
.boton-r:hover svg {
  transform: translateX(3px);
}
.boton-r--vino {
  background: var(--vino);
  color: var(--hueso);
}
.boton-r--vino:hover {
  background: var(--vino-2);
}
.h-portada__dato {
  font-size: 0.95rem;
  color: var(--hueso-suave);
}
@media (max-aspect-ratio: 5/6), (max-width: 760px) {
  .h-portada .foto {
    inset: 0;
    width: auto;
  }
  .h-portada .foto img {
    object-position: 58% 12%;
  }
  .h-portada .foto::after {
    content: '';
    position: absolute;
    inset: 30% 0 0 0;
    background: linear-gradient(to bottom, rgba(33, 17, 11, 0) 0, rgba(33, 17, 11, 0.8) 16%, rgba(33, 17, 11, 0.86) 100%);
  }
  .h-portada__intro {
    font-size: 1.35rem;
  }
}

/* ---------- 2 · rubor con marco ---------- */

.h-manifiesto {
  background: var(--rubor);
}
.h-manifiesto .hoja__dentro {
  place-items: center;
}
.marco {
  position: relative;
  width: min(100%, 46rem);
  padding: clamp(2.5rem, 7vh, 4.5rem) clamp(1.5rem, 5vw, 4.5rem);
  text-align: center;
}
.marco__esq {
  position: absolute;
  width: clamp(2rem, 5vw, 3.25rem);
  height: 100%;
  border: 1px solid rgba(74, 29, 22, 0.55);
  top: 0;
}
.marco__esq--izq {
  left: 0;
  border-right: 0;
}
.marco__esq--der {
  right: 0;
  border-left: 0;
}
.h-manifiesto h2 {
  font-size: clamp(2.8rem, min(6.4vw, 9.4vh), 6rem);
  margin-bottom: 1.4rem;
}
.h-manifiesto .firma-mini {
  font-size: 0.7rem;
}
.h-manifiesto__texto {
  font-size: var(--frase);
  line-height: 1.3;
  margin: 0 auto 1.6rem;
  max-width: 28rem;
}
.h-manifiesto .mano {
  margin: 0;
}

/* ---------- 3 · topo con lista ---------- */

.h-mirada {
  background: var(--topo-hondo);
  color: #fdf4ea;
}
.h-mirada .hoja__dentro {
  align-content: center;
  justify-content: center;
}
.h-mirada__caja {
  width: min(100vw - 2 * var(--m), 52rem);
  container-type: inline-size;
}
.h-mirada h2 {
  font-size: min(var(--grande), 12cqi);
  margin-bottom: 1.4rem;
}
.h-mirada .numerada {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  gap: 0.35rem 3rem;
  font-size: clamp(1.15rem, min(1.9vw, 3vh), 1.6rem);
  margin-bottom: 1.6rem;
}
.h-mirada .subrayado {
  display: block;
  font-size: var(--frase);
  line-height: 1.3;
  max-width: 34rem;
  font-weight: 400;
}
.h-mirada__nota {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  color: #fdf4ea;
}
@media (max-width: 560px) {
  .h-mirada .numerada {
    gap: 0.35rem 1.5rem;
  }
}

/* ---------- 4 · resuena (tarjeta sobre campo partido) ---------- */

.h-resuena {
  background: var(--rubor);
}
.h-resuena .foto {
  inset: 0 0 0 auto;
  width: 46%;
}
.h-resuena .foto img {
  object-position: 35% 25%;
}
.h-resuena .hoja__dentro {
  place-items: center;
}
.tarjeta-r {
  background: var(--tarjeta);
  width: min(100%, 50rem);
  padding: clamp(1.6rem, 4vw, 3.25rem);
}
.tarjeta-r__cabeza {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}
.tarjeta-r h2 {
  font-size: clamp(2.3rem, min(4.2vw, 6.6vh), 4rem);
}
.tarjeta-r .firma-mini {
  font-size: 0.7rem;
}
.tarjeta-r__instruccion {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  color: #6a4a40;
}
.frases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
}
.frase {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(74, 29, 22, 0.28);
  background: none;
  padding: 0.7rem 0.6rem;
  font: 300 clamp(0.95rem, min(1.25vw, 2vh), 1.08rem) / 1.3 var(--texto);
  color: var(--vino);
  cursor: pointer;
  transition: background 0.2s ease;
}
.frase::before {
  content: '';
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px currentColor;
  transition: box-shadow 0.2s ease;
}
.frase:hover {
  background: rgba(74, 29, 22, 0.05);
}
.frase:active {
  background: rgba(74, 29, 22, 0.11);
}
.frase[aria-pressed='true'] {
  background: rgba(74, 29, 22, 0.08);
}
.frase[aria-pressed='true']::before {
  box-shadow: inset 0 0 0 4.5px currentColor;
}
.eco {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.eco__texto {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 1.02rem;
}
.eco__texto strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.privado {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: #6a4a40;
}
@media (max-width: 760px) {
  .h-resuena .foto {
    inset: 0 0 auto 0;
    width: auto;
    height: 34svh;
  }
  .h-resuena .hoja__dentro {
    padding-top: calc(28svh);
  }
  .frases {
    grid-template-columns: minmax(0, 1fr);
  }
  .tarjeta-r__cabeza {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* ---------- 5 · caminos (café con foto a la izquierda) ---------- */

.h-caminos {
  background: var(--cafe);
  color: var(--hueso);
}
.h-caminos .foto {
  inset: 0 auto 0 0;
  width: 36%;
}
.h-caminos .foto img {
  object-position: 30% 30%;
}
.h-caminos .hoja__dentro {
  grid-template-columns: 36% minmax(0, 1fr);
  padding-left: 0;
  align-items: center;
}
.h-caminos__texto {
  grid-column: 2;
  padding-left: clamp(1.5rem, 5vw, 5rem);
  max-width: 50rem;
}
.h-caminos h2 {
  font-size: var(--grande);
  margin-bottom: 1.5rem;
}
.h-caminos .numerada {
  display: grid;
  gap: 1rem;
}
.h-caminos .numerada li {
  font-size: clamp(1.05rem, min(1.5vw, 2.4vh), 1.25rem);
  line-height: 1.35;
}
.h-caminos .lista-caminos > li {
  display: grid;
  grid-template-columns: clamp(2.6rem, 3.6vw, 3.4rem) minmax(0, 1fr);
  gap: 0 clamp(0.9rem, 1.6vw, 1.4rem);
  align-items: center;
}
.h-caminos .lista-caminos > li::before {
  content: none;
}
.icono-camino {
  width: 100%;
  height: auto;
  color: #f3dcc6;
  transition: transform 0.4s ease;
}
.h-caminos .lista-caminos > li:hover .icono-camino {
  transform: scale(1.08);
}
.h-caminos .numerada li span {
  display: block;
  font-size: 0.86em;
  color: var(--hueso-suave);
}
@media (max-width: 760px) {
  .h-caminos .foto {
    inset: 0 0 auto 0;
    width: auto;
    height: 34svh;
  }
  .h-caminos .foto img {
    object-position: 50% 6%;
  }
  .h-caminos .hoja__dentro {
    grid-template-columns: minmax(0, 1fr);
    padding: calc(34svh + 1.5rem) var(--m) 4.5rem;
  }
  .h-caminos__texto {
    grid-column: 1;
    padding-left: 0;
  }
}

/* ---------- 6 · formas de ser (foto completa) ---------- */

.h-formas {
  background: var(--cafe-2);
  color: var(--cafe-2);
}
.h-formas .foto {
  inset: 0;
}
.h-formas .foto img {
  object-position: 50% 26%;
}
.h-formas .hoja__dentro {
  align-content: end;
  justify-items: end;
  padding-bottom: calc(3.5rem + 3vh);
}
/* tarjeta sobre el jardín; la línea de colores es su borde superior */
.h-formas__texto {
  position: relative;
  width: min(34rem, 44vw);
  background: var(--tarjeta);
  padding: calc(clamp(1.6rem, 3vw, 2.6rem) + 6px) clamp(1.6rem, 3vw, 2.6rem) clamp(1.4rem, 2.6vw, 2.2rem);
}
.h-formas h2 {
  font-size: clamp(2.3rem, min(3.7vw, 6.4vh), 3.8rem);
  color: var(--vino);
  margin-bottom: 1rem;
}
.arcoiris {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  width: auto;
  height: 6px;
  margin: 0;
  background: none;
  border-radius: 0;
}
.arcoiris i {
  flex: 1;
}
.h-formas p {
  color: #2a140c;
  margin: 0 0 0.9rem;
  line-height: 1.5;
  font-weight: 400;
}
.h-formas .mano {
  color: var(--vino);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: 0;
}
@media (max-aspect-ratio: 5/6), (max-width: 760px) {
  .h-formas {
    background: var(--tarjeta);
  }
  .h-formas .foto {
    inset: 0 0 auto 0;
    height: 44svh;
  }
  .h-formas .foto img {
    object-position: 40% 24%;
  }
  .h-formas .hoja__dentro {
    padding-top: calc(44svh + 1.6rem);
    align-content: start;
    justify-items: stretch;
  }
  .h-formas__texto {
    position: static;
    width: auto;
    background: none;
    padding: 0;
  }
  /* en teléfono la línea corre de orilla a orilla, justo bajo la foto */
  .arcoiris {
    top: 44svh;
  }
}

/* ---------- 7 · hola, soy joss (rubor + foto a la derecha) ---------- */

.h-perfil {
  background: var(--rubor-2);
}
.h-perfil .foto {
  inset: 0 0 0 auto;
  width: 42%;
}
.h-perfil .foto img {
  object-position: 50% 30%;
}
.h-perfil .hoja__dentro {
  grid-template-columns: minmax(0, 58%);
  align-content: center;
}
.h-perfil__texto {
  max-width: 40rem;
  padding-right: clamp(1rem, 4vw, 4rem);
}
.h-perfil h2 {
  font-size: clamp(3.6rem, min(9vw, 15vh), 10rem);
  line-height: 0.82;
  margin-bottom: 1.4rem;
}
.h-perfil__frase {
  font-size: var(--frase);
  line-height: 1.3;
  margin: 0 0 1rem;
}
.h-perfil p {
  max-width: 34rem;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .h-perfil .foto {
    inset: 0 0 auto 0;
    width: auto;
    height: 40svh;
  }
  .h-perfil .hoja__dentro {
    grid-template-columns: minmax(0, 1fr);
    padding-top: calc(40svh + 1.5rem);
    align-content: start;
  }
  .h-perfil__texto {
    padding-right: 0;
  }
}

/* ---------- 8 · proceso (campo vino) ---------- */

.h-proceso {
  background: var(--vino);
  color: var(--hueso);
}
.h-proceso .hoja__dentro {
  align-content: center;
}
.h-proceso h2 {
  font-size: var(--grande);
  margin-bottom: 0.9rem;
}
.h-proceso__intro {
  max-width: 36rem;
  margin: 0 0 clamp(1.5rem, 4vh, 2.75rem);
  color: var(--hueso-suave);
}
.h-proceso .numerada {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: clamp(1.5rem, 4vh, 2.75rem);
}
.h-proceso .numerada li {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}
.h-proceso .numerada li p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--hueso-suave);
}
.h-proceso .mano {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
}
@media (max-width: 860px) {
  .h-proceso .numerada {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
  }
}

/* ---------- 9 · reservar ---------- */

.h-reservar {
  background: var(--tarjeta);
}
.h-reservar .hoja__dentro {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
}
.h-reservar h2 {
  font-size: var(--grande);
  margin-bottom: 1.2rem;
}
.h-reservar__texto > p {
  line-height: 1.5;
  max-width: 30rem;
}
.modo {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
}
.modo li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(74, 29, 22, 0.25);
  font-size: 0.98rem;
}
.modo b {
  display: block;
}
.h-reservar .nota-r {
  font-size: 0.85rem;
  color: #6a4a40;
}
.h-reservar .agenda {
  border-radius: 0;
  box-shadow: none;
  background: var(--rubor);
}
@media (max-width: 960px) {
  .h-reservar .hoja__dentro {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }
}

/* ---------- 10 · preguntas (café) ---------- */

.h-preguntas-r {
  background: var(--cafe);
  color: var(--hueso);
}
.h-preguntas-r .hoja__dentro {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
}
.h-preguntas-r h2 {
  font-size: var(--grande);
}
.h-preguntas-r .acordeon summary {
  font-family: var(--texto);
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  padding: 0.95rem 0;
  color: var(--hueso);
}
.h-preguntas-r .acordeon summary::after {
  border-color: var(--hueso);
}
.h-preguntas-r .acordeon details {
  border-color: rgba(246, 233, 220, 0.25);
}
.h-preguntas-r .acordeon details p {
  color: var(--hueso-suave);
  font-size: 0.98rem;
}
.h-preguntas-r .acordeon a {
  color: var(--hueso);
}
@media (max-width: 900px) {
  .h-preguntas-r .hoja__dentro {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }
}

/* ---------- 11 · cierre ---------- */

.h-cierre {
  background: var(--cafe-2);
  color: var(--hueso);
}
.h-cierre .foto {
  inset: 0 0 0 auto;
  width: min(42%, 72svh);
}
@media (min-width: 761px) and (min-aspect-ratio: 5/6) {
  .h-cierre .hoja__dentro > * {
    max-width: calc(100% - min(42vw, 72svh) - 2rem);
  }
}
.h-cierre .foto img {
  object-position: 50% 30%;
}
@media (max-aspect-ratio: 5/6), (max-width: 760px) {
  .h-cierre .foto {
    inset: 0;
    width: auto;
  }
  .h-cierre .foto::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(33, 17, 11, 0.7);
  }
}
.h-cierre .hoja__dentro {
  grid-template-rows: 1fr auto;
}
.h-cierre__centro {
  align-self: end;
  padding-bottom: clamp(1.5rem, 5vh, 3rem);
}
.h-cierre .firma-mini {
  color: var(--hueso);
}
.h-cierre__centro {
  container-type: inline-size;
}
.h-cierre h2 {
  /* el titular cabe en dos líneas según el ancho de su columna */
  font-size: min(clamp(2.4rem, min(4.8vw, 10vh), 6rem), 10.4cqi);
  line-height: 0.9;
  color: #f3dcc6;
  margin-bottom: 1.5rem;
}
.h-cierre__frase {
  max-width: 32rem;
  font-size: var(--frase);
  line-height: 1.3;
  margin: 0 0 1.6rem;
}
.pie-r {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  font-size: 0.82rem;
  color: rgba(246, 233, 220, 0.85);
}
.pie-r ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pie-r a {
  color: var(--hueso);
}

/* ---------- entrada de cada hoja ---------- */

.listo .hoja [data-entra] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.listo .hoja.activa [data-entra] > * {
  opacity: 1;
  transform: none;
}
.listo .hoja.activa [data-entra] > *:nth-child(2) { transition-delay: 0.08s; }
.listo .hoja.activa [data-entra] > *:nth-child(3) { transition-delay: 0.16s; }
.listo .hoja.activa [data-entra] > *:nth-child(4) { transition-delay: 0.24s; }
.listo .hoja.activa [data-entra] > *:nth-child(5) { transition-delay: 0.32s; }
.listo .hoja.activa [data-entra] > *:nth-child(6) { transition-delay: 0.4s; }
.hoja .foto img {
  transform: scale(1.06);
  transition: transform 6s ease-out;
}
.hoja.activa .foto img,
.no-js .hoja .foto img {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .pista {
    scroll-behavior: auto;
  }
  .listo .hoja [data-entra] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hoja .foto img {
    transform: none;
    transition: none;
  }
  .flecha--sig svg {
    animation: none !important;
  }
}

/* ---------- detalles de acabado ---------- */
body.carrusel-pagina {
  -moz-osx-font-smoothing: grayscale;
}
.dia strong,
.hora,
.agenda__resumen,
.numerada {
  font-variant-numeric: tabular-nums;
}
.lista-caminos span,
.frase,
.h-proceso .numerada p {
  text-wrap: pretty;
}
