@font-face {
  font-family: "Cormorant";
  src: url("../fuentes/cormorant-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fuentes/cormorant-500i.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fuentes/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fuentes/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --fondo: #f6f1ea;
  --tinta: #241e19;
  --oro: #8a6840;
  --crema: #fbf7f2;
  --noche: #1c1714;
  --linea: rgba(138, 104, 64, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--tinta);
  background: var(--fondo);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
h1, h2 { font-family: Cormorant, Georgia, serif; font-weight: 500; margin: 0; }
a { color: inherit; }

.barra {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: #f6f1ea;
  border-bottom: 1px solid var(--linea);
}
.marca img { width: 34px; height: 28px; object-fit: contain; }
.menu { display: flex; gap: 18px; }
.menu a {
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.menu a:focus, .boton:focus { outline: 2px solid var(--oro); outline-offset: 3px; }
@media (max-width: 700px) {
  .barra { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 14px 14px; }
  .menu { width: 100%; justify-content: center; gap: 10px; row-gap: 8px; }
  .menu a { letter-spacing: 0.06em; font-size: 0.62rem; }
  .voces .enlaces { flex-direction: column; align-items: center; gap: 14px; padding-bottom: 8px; }
  .voces .nota { max-width: 15rem; margin-left: auto; margin-right: auto; }
  .fichas { margin-right: 72px; }
}

.abre {
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 28px 64px;
}
.lugar {
  margin: 0 0 28px;
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--oro);
}
.abre h1 { width: min(100%, 620px); margin: 0; }
.abre .logo { width: 100%; height: auto; margin: 0 auto; }
.frase {
  margin: 22px auto 0;
  max-width: 16rem;
  font-family: Cormorant, Georgia, serif;
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.25;
  color: #4e453d;
}
.linea {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: #6a5f55;
}
.prueba {
  margin: 28px 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oro);
}
.acciones { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 132px;
  padding: 12px 18px;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.boton.lleno { background: var(--noche); color: var(--crema); }
.boton.vacio { background: transparent; color: var(--noche); border: 1px solid var(--noche); }

.carta {
  padding: 72px 22px 64px;
  border-top: 1px solid var(--linea);
  scroll-margin-top: 72px;
}
.kicker {
  margin: 0;
  text-align: center;
  color: var(--oro);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.nombres {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  max-width: 28rem;
}
.nombres li {
  padding: 16px 2px;
  border-bottom: 1px solid var(--linea);
  text-align: center;
}
.nombres .nombre {
  display: block;
  font-family: Cormorant, Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.1;
}
.nombres a { display: block; text-decoration: none; }
.nombres a:focus { outline: 2px solid var(--oro); outline-offset: 3px; }
.nombres .que {
  display: block;
  margin-top: 4px;
  color: #6d6258;
  font-size: 0.92rem;
  line-height: 1.35;
}
.ficha {
  max-width: 40rem;
  margin: 0 auto;
  padding: 36px 22px 8px;
}
.ficha h1 {
  margin-top: 8px;
  font-size: 2.7rem;
  text-align: center;
  line-height: 1.05;
}
.ficha .bajada {
  margin: 16px 0 0;
  text-align: center;
  font-family: Cormorant, Georgia, serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.3;
  color: #4e453d;
}
.ficha .texto { margin: 22px 0 0; }
.ficha .texto p { margin: 0 0 14px; }
.ficha .volver {
  display: inline-block;
  margin-top: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  text-decoration: none;
}
.nota {
  margin: 28px 0 0;
  text-align: center;
  color: #6d6258;
  font-size: 0.92rem;
}

.reserva {
  background: var(--noche);
  color: #f6f1ea;
  padding: 72px 22px 56px;
  text-align: center;
  scroll-margin-top: 72px;
}
.reserva .kicker { color: #d7c3a6; }
.reserva h2 {
  margin-top: 12px;
  font-size: 2.7rem;
  font-style: italic;
  font-weight: 500;
}
.reserva .boton.lleno { background: #f3eee6; color: var(--noche); }
.reserva .boton.vacio { color: #f3eee6; border-color: rgba(215, 195, 166, 0.7); }
.donde { margin: 22px 0 0; color: #e7d9c8; }
.horas {
  width: min(100%, 420px);
  margin: 28px auto 0;
  border-collapse: collapse;
  text-align: left;
}
.horas caption {
  caption-side: bottom;
  padding-top: 12px;
  color: #b7a894;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-align: center;
}
.horas th, .horas td {
  padding: 11px 0;
  border-bottom: 1px solid rgba(243, 238, 230, 0.14);
  font-weight: 400;
}
.horas td { text-align: right; }
.enlaces { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin: 28px 0 0; }
.enlaces a { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.68rem; color: #f3eee6; }

.voces {
  padding: 72px 22px 64px;
  border-top: 1px solid var(--linea);
  text-align: center;
  scroll-margin-top: 72px;
}
.voces h2 {
  margin-top: 12px;
  font-size: 2.7rem;
  font-style: italic;
}
.pruebas {
  list-style: none;
  margin: 32px auto 0;
  padding: 0;
  max-width: 40rem;
  display: grid;
  gap: 16px;
}
.pruebas li {
  margin: 0;
  padding: 28px 18px 22px;
  border: 1px solid var(--linea);
}
.numero {
  margin: 0;
  font-family: Cormorant, Georgia, serif;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--oro);
}
.pruebas p { margin: 10px 0 0; }
.voces .enlaces a { color: var(--tinta); }

.bloque {
  padding: 72px 22px 64px;
  border-top: 1px solid var(--linea);
  text-align: center;
  scroll-margin-top: 88px;
}
.bloque h2 {
  margin-top: 12px;
  font-size: 2.7rem;
  font-style: italic;
}
.fichas {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  max-width: 52rem;
  display: grid;
  gap: 16px;
}
.fichas li {
  margin: 0;
  padding: 26px 18px 22px;
  border: 1px solid var(--linea);
}
.fichas h3 { margin: 0; font-size: 1.8rem; }
.fichas p { margin: 10px 0 0; color: #4e453d; }
.fichas .boton { margin-top: 18px; }

@media (min-width: 900px) {
  .barra { padding: 20px 48px; }
  .abre { min-height: calc(100vh - 72px); padding: 64px 48px 88px; }
  .frase { max-width: 22rem; font-size: 1.85rem; }
  .carta { padding: 96px 48px 88px; }
  .nombres {
    max-width: 760px;
    column-count: 2;
    column-gap: 64px;
  }
  .nombres li { break-inside: avoid; text-align: left; }
  .nombres .nombre { font-size: 1.7rem; }
  .reserva { padding: 96px 48px 80px; }
  .reserva h2 { font-size: 4.2rem; }
  .voces { padding: 96px 48px 88px; }
  .voces h2 { font-size: 4.2rem; }
  .bloque { padding: 96px 48px 88px; }
  .bloque h2 { font-size: 4.2rem; }
  .fichas { grid-template-columns: 1fr 1fr; gap: 22px; }
  .pruebas { grid-template-columns: 1fr 1fr; gap: 22px; }
  .ficha { padding-top: 56px; }
  .ficha h1 { font-size: 3.6rem; }
  .nombres a {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
    align-items: center;
  }
  .mini { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .nombres .nombre { grid-column: 2; grid-row: 1; }
  .nombres .que { grid-column: 2; grid-row: 2; }
}

.dibujo {
  width: 148px;
  height: 148px;
  margin: 18px auto 0;
}
.mini {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
}
body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.flotante {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flotante a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(28, 23, 20, 0.22);
}
.flotante a:focus { outline: 2px solid #d7c3a6; outline-offset: 3px; }
.llama { background: #1c1714; color: #f6f1ea; }
.wa { background: #1f8a4c; color: #fff; }
