:root {
  --hoja: #234237;
  --petalo: #F3D5CB;
  --papel: #F7F4EF;
  --tinta: #1C241C;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: Sora, sans-serif;
  font-size: 1.02rem;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: var(--hoja); }
.sr {
  position: absolute;
  left: 8px;
  top: -48px;
  background: #fff;
  padding: 6px 10px;
  z-index: 50;
}
.sr:focus { top: 8px; }
.contenedor { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.cabecera {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  align-items: start;
  gap: 8px 16px;
  padding: 22px 0 8px;
}
.marca {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--hoja);
  text-decoration: none;
  text-align: center;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}
.marca img { width: 44px; height: 44px; }
.tel {
  grid-column: 2;
  grid-row: 3;
  justify-self: center;
  background: var(--hoja);
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 2px;
}
.hamburguesa {
  display: none;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  background: transparent;
  color: var(--hoja);
  border: 1px solid var(--hoja);
  border-radius: 2px;
  font: inherit;
  padding: 6px 10px;
  cursor: pointer;
}
.indice { display: contents; }
.indice a {
  color: var(--hoja);
  text-decoration: none;
  font-size: 0.95rem;
}
.indice a[aria-current] { font-weight: 600; }
.indice a:nth-child(1) { grid-column: 1; grid-row: 1; justify-self: end; }
.indice a:nth-child(2) { grid-column: 1; grid-row: 2; justify-self: end; }
.indice a:nth-child(3) { grid-column: 1; grid-row: 3; justify-self: end; }
.indice a:nth-child(4) { grid-column: 3; grid-row: 1; }
.indice a:nth-child(5) { grid-column: 3; grid-row: 2; }
.indice a:nth-child(6) { grid-column: 3; grid-row: 3; }
.indice a:nth-child(7) { grid-column: 3; grid-row: 4; }
main { padding-bottom: 48px; }
h1, h2 {
  font-family: "Bodoni Moda", serif;
  font-weight: 600;
  line-height: 1;
  color: var(--hoja);
  margin: 0 0 12px;
}
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); text-align: center; margin-top: 18px; }
h2 { font-size: 2.1rem; }
.tres, .galeria { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.tres img, .galeria img, .prosa img, .nota img { width: 100%; object-fit: cover; border-radius: 2px; display: block; }
.tres img { height: 240px; }
.galeria { grid-template-columns: 1fr 1fr; }
.galeria img { height: 220px; cursor: zoom-in; }
.prosa img, .nota img { max-height: 420px; margin-top: 12px; }
.cta {
  display: inline-block;
  margin-top: 16px;
  background: var(--hoja);
  color: #fff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 2px;
}
.seccion { padding-top: 34px; }
.grupos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.precios, .lista { list-style: none; margin: 0; padding: 0; }
.precios li, .lista li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--hoja);
  padding: 8px 0;
}
.lista li { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; }
.lista img { width: 84px; height: 84px; object-fit: cover; border-radius: 2px; }
.precios b, .lista b { font-family: "Bodoni Moda", serif; font-size: 1.6rem; color: var(--hoja); }
.horario { background: var(--hoja); color: #fff; padding: 22px 16px; border-radius: 2px; }
.horario h2 { color: #fff; }
.filtros { display: flex; flex-wrap: wrap; gap: 16px; margin: 12px 0; }
.filtros input, .filtros select, .forma input, .forma textarea, .chat-form input {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1px solid var(--hoja);
  border-radius: 2px;
  background: #fff;
  color: var(--tinta);
  font: inherit;
  padding: 8px;
}
.forma { display: grid; gap: 12px; max-width: 36rem; }
.btn, .ck-si, .chat-form button {
  background: var(--hoja);
  color: #fff;
  border: 0;
  border-radius: 2px;
  font: inherit;
  padding: 10px 14px;
  cursor: pointer;
}
details { border-bottom: 1px solid #e4ddd4; padding: 8px 0; }
summary { cursor: pointer; }
.pie { border-top: 1px solid var(--hoja); padding: 28px 0 64px; margin-top: 20px; }
.pie-rejilla { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.redes img { vertical-align: middle; }
.redes a { margin-right: 12px; }
.link-cookies { background: none; border: 0; color: var(--hoja); font: inherit; cursor: pointer; padding: 0; }
.flotantes {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
}
.flo { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 10px 12px; border-radius: 2px; }
.flo svg, .flo img { width: 22px; height: 22px; }
.flo-tel { background: var(--hoja); color: #fff; }
.flo-wa { background: #fff; color: var(--tinta); border: 2px solid #25D366; }
.flo-chat { background: var(--tinta); color: var(--papel); border: 0; cursor: pointer; font: inherit; }
.chat {
  position: fixed;
  right: 16px;
  bottom: 168px;
  width: min(320px, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--hoja);
  border-radius: 2px;
  padding: 12px;
  z-index: 25;
}
.chat[hidden] { display: none !important; }
.chat-rapidas { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-rapidas button, .ck-no, .chat-reiniciar {
  background: var(--papel);
  border: 1px solid var(--hoja);
  border-radius: 2px;
  font: inherit;
  padding: 6px 10px;
  cursor: pointer;
}
.cookies {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  gap: 12px;
  align-items: center;
  width: min(640px, calc(100% - 32px));
  background: var(--hoja);
  color: #fff;
  border-radius: 2px;
  padding: 14px 16px;
}
.cookies[hidden] { display: none !important; }
.cookies a { color: #fff; }
.ck-si { background: var(--petalo); color: var(--tinta); }
.ck-no { background: transparent; color: #fff; border-color: #fff; }
dialog { border: 0; border-radius: 2px; padding: 12px; max-width: min(920px, calc(100% - 32px)); }
dialog img { width: 100%; height: auto; }
@media (max-width: 800px) {
  .contenedor { width: min(1080px, calc(100% - 32px)); }
  .cabecera { grid-template-columns: 1fr auto; }
  .marca { grid-column: 1; grid-row: 1; align-items: flex-start; text-align: left; }
  .tel { grid-column: 1; grid-row: 2; justify-self: start; }
  .hamburguesa { display: inline-flex; grid-column: 2; grid-row: 1; }
  .indice { display: none; grid-column: 1 / -1; }
  .indice.abierto { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: 8px; }
  .indice a { grid-column: auto; grid-row: auto; justify-self: start; }
  .tres, .grupos, .galeria, .pie-rejilla { grid-template-columns: 1fr; }
  .lista li { grid-template-columns: 72px 1fr; }
  .lista b { grid-column: 2; }
}
