/* ==========================================================================
   Uñas Yuleidy · estilos
   Motivo: el arco de una uña almendrada (el punto de la "i" del logo) enmarca
   todas las fotos. Rosa empolvado, nude, blanco cálido y destellos dorados.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fuentes/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fuentes/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  /* colores de la marca */
  --papel: #fbfafd;          /* fondo: el blanco del cartel */
  --nude: #f4edf4;           /* superficie: rosa cerezo muy claro */
  --nude-hondo: #e9dbe8;
  --tinta: #24234d;          /* texto: el azul marino del logo, más hondo (14:1) */
  --tinta-suave: #57567a;    /* notas (6,7:1 sobre papel) */
  --rosa: #c963a4;           /* rosa cerezo de las flores del logo */
  --rosa-hondo: #a33576;
  --rosa-accion: #2c2b6a;    /* botones y enlaces: azul del logo (12,6:1 con blanco) */
  --rosa-campo: #2c2b6a;     /* campo azul del logo con texto blanco (12,6:1) */
  --oro: #c45a9c;            /* detalles (estrellas, chispas): rosa cerezo */
  --ria: #d2e0e2;            /* el agua en el mapa */

  /* letra: cinco tamaños para toda la web */
  --letra-titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --letra-texto: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-enorme: clamp(2.75rem, 1.5rem + 4.4vw, 5rem);      /* h1 */
  --t-grande: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);      /* h2 */
  --t-medio: clamp(1.5rem, 1.3rem + .6vw, 1.875rem);     /* h3, dirección */
  --t-entrada: 1.25rem;                                  /* frase bajo un título */
  --t-texto: 1.0625rem;                                  /* 17px: texto y botones */
  --t-peque: .9375rem;                                   /* 15px: notas */

  /* espacio */
  --margen: clamp(16px, 4.2vw, 56px);
  --ancho: 1240px;
  --hueco-seccion: clamp(80px, 8vw, 128px);
  --alto-cabecera: 64px;
  --radio: 24px;

  /* movimiento */
  --salida: cubic-bezier(.23, 1, .32, 1);
  --dentro-fuera: cubic-bezier(.77, 0, .175, 1);
  --bote: cubic-bezier(.3, 1.6, .5, 1);

  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--alto-cabecera) + 16px); }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--letra-texto);
  font-size: var(--t-texto);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rosa-accion); text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 {
  font-family: var(--letra-titulo);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
  font-variation-settings: "SOFT" 80, "WONK" 0;
}
p { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--rosa-accion); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--nude-hondo); color: var(--tinta); }
html { scrollbar-color: var(--rosa) var(--papel); }

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--tinta); color: var(--papel); padding: 10px 16px; border-radius: 999px;
  transition: top .2s var(--salida);
}
.saltar:focus { top: 12px; }

.aviso-prueba {
  background: var(--tinta); color: var(--papel);
  font-size: var(--t-peque); text-align: center; padding: 8px var(--margen);
}

/* arco de uña: la forma de todas las fotos */
.arco { position: relative; overflow: hidden; border-radius: 999px 999px 22px 22px / 42% 42% 22px 22px; background: var(--nude); isolation: isolate; }
.arco img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- botones ---------- */
.boton {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 0;
  font: 600 var(--t-texto)/1.1 var(--letra-texto);
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--salida), background-color .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.boton svg { flex: none; }
.ico-pin { fill: currentColor; }
.ico-pin circle { fill: var(--rosa-accion); }
.boton:active { transform: scale(.97); }
.boton-grande { min-height: 56px; padding: 16px 30px; }

/* brillo nacarado (pedido por la marca): un reflejo que cruza el botón */
.boton-perla { background: var(--rosa-accion); color: #fff; }
.boton-perla::after {
  content: "";
  position: absolute; inset: -2px auto -2px 0; width: 60%;
  z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 238, 233, .45) 50%, transparent 80%); /* taste-skill-ignore */
  transform: translateX(-130%) skewX(-14deg);
  pointer-events: none;
}
.boton-perla.brilla::after { animation: brillo 1.5s .7s var(--salida) both; }
@keyframes brillo { to { transform: translateX(260%) skewX(-14deg); } }
@media (hover: hover) and (pointer: fine) {
  .boton-perla:hover { background: #1f1e52; }
  .boton-perla:hover::after { transform: translateX(260%) skewX(-14deg); transition: transform .9s var(--salida); }
}

.boton-suave { background: var(--nude); color: var(--rosa-accion); }
.boton-claro { background: var(--papel); color: var(--rosa-accion); }
.boton-transparente { background: rgba(36, 35, 77, .26); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .boton-suave:hover { background: var(--nude-hondo); color: #2c2b6a; }
  .boton-claro:hover { background: #fff; }
  .boton-transparente:hover { background: rgba(36, 35, 77, .38); }
}

.enlace-flecha {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: none;
}
.enlace-flecha svg { transition: transform .2s var(--salida); }
@media (hover: hover) and (pointer: fine) { .enlace-flecha:hover svg { transform: translateX(4px); } }

/* ---------- cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: var(--papel);
  transition: box-shadow .3s ease;
}
.cabecera.bajada { box-shadow: 0 6px 24px -14px rgba(36, 35, 77, .35); } /* taste-skill-ignore: cabecera fija al bajar */
.cabecera-in {
  height: var(--alto-cabecera);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--margen); max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto;
}
.cabecera-marca { display: block; flex: none; padding: 6px 0; }
.cabecera-marca img { height: 38px; width: auto; }

.menu-boton {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 2px 0 12px; margin-right: -2px;
  background: none; border: 0; color: var(--tinta);
  font: 600 var(--t-texto) var(--letra-texto); cursor: pointer;
}
.menu-boton-rayas, .menu-boton-rayas::before, .menu-boton-rayas::after {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s var(--salida), background-color .2s;
}
.menu-boton-rayas { position: relative; }
.menu-boton-rayas::before, .menu-boton-rayas::after { content: ""; position: absolute; left: 0; }
.menu-boton-rayas::before { top: -7px; }
.menu-boton-rayas::after { top: 7px; }
.menu-boton[aria-expanded="true"] .menu-boton-rayas { background: transparent; }
.menu-boton[aria-expanded="true"] .menu-boton-rayas::before { transform: translateY(7px) rotate(45deg); }
.menu-boton[aria-expanded="true"] .menu-boton-rayas::after { transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: fixed; left: 0; right: 0; top: var(--alto-cabecera);
  height: calc(100dvh - var(--alto-cabecera));
  background: var(--papel);
  display: flex; flex-direction: column; gap: 2px;
  padding: 20px var(--margen) 40px;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .22s var(--salida), transform .22s var(--salida), visibility 0s .22s;
}
.menu.abierto { visibility: visible; opacity: 1; transform: none; transition: opacity .22s var(--salida), transform .22s var(--salida); }
.menu a:not(.boton) {
  font-family: var(--letra-titulo); font-size: var(--t-medio); letter-spacing: -.02em;
  color: var(--tinta); text-decoration: none; padding: 10px 0;
}
.menu a[aria-current="page"] { color: var(--rosa-accion); }
.menu .menu-reservar { margin-top: 24px; min-height: 56px; }
body.menu-abierto { overflow: hidden; }

@media (min-width: 960px) {
  .menu-boton { display: none; }
  .menu {
    position: static; height: auto; padding: 0; background: none;
    flex-direction: row; align-items: center; gap: clamp(18px, 2.2vw, 34px);
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .menu a:not(.boton) {
    font-family: var(--letra-texto); font-size: var(--t-texto); font-weight: 500; padding: 10px 0; position: relative;
  }
  .menu a:not(.boton)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--rosa); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--salida);
  }
  .menu a[aria-current="page"]::after { transform: scaleX(1); }
  @media (hover: hover) { .menu a:not(.boton):hover::after { transform: scaleX(1); } }
  .menu .menu-reservar { margin: 0 0 0 6px; min-height: 46px; padding: 10px 24px; }
}

/* ---------- portada ---------- */
.portada {
  display: grid; gap: 28px;
  padding: 8px var(--margen) 0;
  max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto;
}
.portada-foto { position: relative; padding: 0 0 0 0; }
.portada-arco { aspect-ratio: 4 / 4.3; max-height: 54svh; width: 100%; }
.portada-arco img { object-position: 50% 0%; transform-origin: 50% 0%; animation: respira 24s ease-in-out infinite alternate; }
@keyframes respira { from { transform: scale(1); } to { transform: scale(1.06); } }
.portada-detalle {
  position: absolute; left: -6px; bottom: -22px; width: 30%; aspect-ratio: 4 / 5;
  border: 5px solid var(--papel);
  box-shadow: 0 18px 36px -18px rgba(36, 35, 77, .45); /* taste-skill-ignore: foto que flota sobre otra */
}
.destello { position: absolute; color: var(--oro); pointer-events: none; }
.destello.d1 { width: 34px; height: 34px; right: 6%; top: 4%; }
.destello.d2 { width: 18px; height: 18px; right: 1%; top: 14%; }
.portada-hoy {
  position: absolute; right: 14px; bottom: 14px;
  background: var(--papel); color: var(--tinta);
  border-radius: 999px; padding: 9px 16px;
  font-size: var(--t-peque); font-weight: 500;
  box-shadow: 0 10px 24px -14px rgba(36, 35, 77, .5); /* taste-skill-ignore: píldora sobre la foto */
  display: none;
}
@media (min-width: 640px) { .portada-hoy { display: block; } }

.portada-texto { text-align: center; padding-top: 18px; }
.portada-logo { width: min(58vw, 230px); margin: 0 auto 22px; }
.portada h1 { font-size: var(--t-enorme); }
.portada-sub { margin: 16px auto 0; max-width: 30ch; font-size: var(--t-entrada); line-height: 1.45; }
.portada-acciones { display: grid; gap: 12px; margin: 30px auto 0; max-width: 380px; }
.estado {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: var(--t-peque); font-weight: 500;
}
.nota-google { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; font-size: var(--t-peque); }
.nota-google strong { font-weight: 700; }
.nota-google + .estado { margin-top: 8px; }
.estado-punto { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #8f8ea6; flex: none; }
.estado.abierto .estado-punto { background: #2f8a5c; }
.estado.abierto .estado-punto::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2f8a5c;
  animation: late 2.4s var(--salida) infinite;
}
@keyframes late { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- servicios ---------- */
.servicios {
  padding: var(--hueco-seccion) var(--margen) 0;
  max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto;
}
.servicios-cabeza { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.servicios h2 { font-size: var(--t-grande); }
.filas { margin-top: 48px; display: grid; gap: 72px; }
.fila { display: grid; gap: 22px; align-items: center; }
.fila-arco { aspect-ratio: 4 / 4.2; width: 100%; }
.fila-arco img { transition: transform 1.2s var(--salida); }
@media (hover: hover) and (pointer: fine) { .fila:hover .fila-arco img { transform: scale(1.04); } }
.fila-texto { display: grid; gap: 14px; }
.fila-frase { font-size: var(--t-entrada); line-height: 1.45; max-width: 34ch; }
.fila-cabeza { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.fila h3 { font-size: var(--t-medio); }
.fila-desde { flex: none; white-space: nowrap; }
.fila-desde strong { color: var(--rosa-accion); font-weight: 600; font-size: var(--t-entrada); }
.fila-lista { display: grid; gap: 2px; }
.fila-lista li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.fila-lista li + li { box-shadow: inset 0 1px 0 var(--nude-hondo); } /* taste-skill-ignore: separador de lista de precios */
.fila-lista li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fila-reservar { justify-self: start; margin-top: 6px; }

/* ---------- huecos libres ---------- */
.huecos { margin-top: var(--hueco-seccion); background: var(--rosa-campo); color: #fff; padding: clamp(72px, 9vw, 128px) var(--margen); }
.huecos-in { max-width: var(--ancho); margin: 0 auto; }
.huecos h2 { font-size: var(--t-grande); }
.huecos-cabeza p { margin-top: 14px; font-size: var(--t-entrada); }
.huecos-dias { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 36px; }
.dia {
  display: grid; justify-items: center; gap: 4px;
  min-height: 80px; padding: 14px 8px 12px;
  border: 0; border-radius: 999px 999px 18px 18px / 60% 60% 18px 18px;
  background: rgba(30, 29, 64, .18); color: #fff; /* más oscuro que el campo: el texto blanco se lee mejor */
  font: 500 var(--t-peque)/1.1 var(--letra-texto); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .16s var(--salida);
}
.dia strong { font-family: var(--letra-titulo); font-weight: 400; font-size: var(--t-medio); line-height: 1; }
.dia:active { transform: scale(.96); }
.dia[aria-pressed="true"] { background: var(--papel); color: var(--rosa-accion); }
@media (hover: hover) and (pointer: fine) { .dia:not([aria-pressed="true"]):hover { background: rgba(30, 29, 64, .3); } }
.huecos-horas { margin-top: 24px; min-height: 120px; }
.horas-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.hora {
  display: flex; align-items: center; justify-content: center; min-height: 52px;
  border-radius: 999px; background: var(--papel); color: var(--rosa-accion);
  font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none;
  transition: transform .16s var(--salida), background-color .2s ease, color .2s ease;
}
.hora:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .hora:hover { background: var(--tinta); color: var(--papel); } }
.horas-vacio { font-size: var(--t-entrada); }
.horas-vacio a, .horas-nota a { color: #fff; font-weight: 600; }
.horas-nota { margin-top: 20px; }

/* ---------- reseñas ---------- */
.resenas { padding: var(--hueco-seccion) var(--margen); max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; }
.resenas h2 { font-size: var(--t-grande); }
.resenas-in { margin-top: 40px; display: grid; gap: 40px; }
.resena { margin: 0; }
.resena blockquote { margin: 0; font-family: var(--letra-titulo); font-size: var(--t-medio); line-height: 1.25; letter-spacing: -.015em; }
.resena figcaption { margin-top: 16px; display: flex; gap: 12px; align-items: center; font-weight: 600; }
.estrellas { color: var(--oro); display: inline-flex; gap: 2px; }
.estrellas svg { display: block; }
.resena-falta blockquote { color: var(--tinta-suave); }
.resena-falta svg { color: var(--oro); width: 26px; height: 26px; margin-bottom: 10px; }
.resena-falta strong { display: block; font-weight: 700; margin-bottom: 4px; }
.resenas-acciones { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- dónde estoy ---------- */
.donde { background: var(--papel); padding: var(--hueco-seccion) var(--margen); }
.donde-in { max-width: var(--ancho); margin: 0 auto; display: grid; gap: 40px; }
.donde h2 { font-size: var(--t-grande); }
.donde-calle { margin-top: 22px; font-family: var(--letra-titulo); font-size: var(--t-medio); line-height: 1.1; letter-spacing: -.015em; }
.donde-ciudad { margin-top: 4px; color: var(--tinta-suave); }
.horario { margin-top: 26px; display: grid; gap: 4px; }
.horario > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 14px;
}
.horario dt { font-weight: 600; }
.horario dd { font-variant-numeric: tabular-nums; }
.horario > div.hoy { background: var(--nude); }
.contacto-panel .horario > div.hoy { background: var(--papel); }
.horario > div.hoy dt::after { content: " · hoy"; font-weight: 500; color: var(--rosa-accion); }
.donde-acciones { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* mapa dibujado con la chincheta que cae (como en Kontxi) */
.mapa {
  position: relative; display: block; min-height: 340px;
  border-radius: var(--radio); overflow: hidden;
  background: #eff1ec; color: var(--tinta); text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(36, 35, 77, .08), 0 24px 48px -36px rgba(36, 35, 77, .4); /* taste-skill-ignore: mapa levantado del fondo */
  isolation: isolate;
}
.mapa-dibujo { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapa-dibujo path { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--dentro-fuera); }
.mapa-dibujo .ria { stroke: #a5d3e6; stroke-width: 46; }
.mapa-dibujo .calles path { stroke: #fff; stroke-width: 10; }
.mapa-dibujo .calle-suya { stroke: #f2c56f; stroke-width: 12; transition-delay: .35s; }
.mapa-dibujo .manzanas rect { fill: #e3e5de; transition: opacity 1s ease .6s; }
.mapa-dibujo .manzanas rect.parque { fill: #c5e2b8; }
.mapa-rotulo { font: italic 400 15px var(--letra-titulo); fill: var(--tinta-suave); letter-spacing: .02em; transition: opacity .8s ease 1s; }
.mapa-rotulo.ria-rotulo { fill: #3b7c97; }
.mapa-lugar {
  position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 8px 16px; border-radius: 999px;
  background: #fff; color: var(--tinta); font: 500 1.25rem/1.1 var(--letra-titulo); letter-spacing: -.01em;
  box-shadow: 0 8px 20px -12px rgba(36, 35, 77, .5); transition: opacity .6s ease 1s; /* taste-skill-ignore: rótulo sobre el mapa */
}
.pin {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -58px 0 0 -28px; z-index: 2;
  fill: var(--rosa-accion); stroke: var(--papel); stroke-width: 1.4;
  filter: drop-shadow(0 10px 8px rgba(36, 35, 77, .3));
  transition: transform .9s var(--bote), opacity .3s ease;
  transition-delay: .7s;
}
.pin-onda {
  position: absolute; left: 50%; top: 50%; width: 70px; height: 24px; margin: -12px 0 0 -35px;
  border: 2px solid var(--rosa); border-radius: 50%; opacity: 0; pointer-events: none;
}
.mapa-etiqueta {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, 22px);
  background: var(--tinta); color: var(--papel); border-radius: 999px; padding: 7px 14px;
  font: 600 var(--t-peque)/1 var(--letra-texto); white-space: nowrap;
  transition: opacity .4s ease 1.3s;
}
.mapa-abrir {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--papel); color: var(--rosa-accion); border-radius: 999px; padding: 9px 14px;
  font: 600 var(--t-peque)/1 var(--letra-texto);
  box-shadow: 0 8px 20px -12px rgba(36, 35, 77, .5); /* taste-skill-ignore: botón sobre el mapa */
  transition: background-color .2s ease, color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .mapa:hover .mapa-abrir { background: var(--rosa-accion); color: #fff; }
  .mapa:hover .pin { animation: pin-bota .7s var(--bote); }
}
.mapa:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .js .mapa:not(.visto) .mapa-dibujo path { stroke-dashoffset: 1; }
  .js .mapa:not(.visto) .pin { transform: translateY(-90px); opacity: 0; }
  .js .mapa:not(.visto) :is(.mapa-etiqueta, .mapa-rotulo, .mapa-lugar, .manzanas rect) { opacity: 0; }
  .mapa.visto .pin-onda { animation: pin-onda 2.6s 1.8s ease-out infinite; }
  .mapa.visto .pin-onda.o2 { animation-delay: 3.1s; }
}
@keyframes pin-onda { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes pin-bota { 40% { transform: translateY(-14px); } }

/* ---------- pie: cierre ---------- */
.pie { background: var(--rosa-accion); color: #fff; padding: clamp(72px, 9vw, 120px) var(--margen) calc(104px + env(safe-area-inset-bottom)); }
.pie-in { max-width: var(--ancho); margin: 0 auto; display: grid; gap: 56px; }
.pie-cierre { display: grid; justify-items: center; text-align: center; gap: 18px; }
.pie-logo { width: min(70vw, 300px); }
.pie-frase { font-family: var(--letra-titulo); font-size: var(--t-grande); line-height: 1.05; letter-spacing: -.02em; margin-top: 10px; }
.pie-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.pie-datos { display: grid; gap: 8px; font-size: var(--t-peque); text-align: center; justify-items: center; }
.pie-datos a { color: #fff; }
.pie-enlaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.pie-enlaces a { display: inline-block; padding: 6px 0; }
.creditos summary { cursor: pointer; padding: 6px 0; }
.creditos p { margin-top: 6px; max-width: 65ch; }

/* ---------- barra fija del móvil ---------- */
.barra-movil {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px;
  padding: 10px var(--margen) calc(10px + env(safe-area-inset-bottom));
  background: var(--papel);
  box-shadow: 0 -10px 30px rgba(36, 35, 77, .1); /* taste-skill-ignore: barra fija que flota */
  transform: translateY(110%);
  transition: transform .3s var(--salida);
}
.barra-movil.visible { transform: none; }
.barra-movil .boton { min-height: 50px; padding: 10px 14px; }

/* ---------- aparición al bajar ---------- */
.js .sube { opacity: 0; transform: translateY(22px); }
.js .sube.dentro { opacity: 1; transform: none; transition: opacity .8s var(--salida), transform .8s var(--salida); transition-delay: var(--retraso, 0ms); }
.js .revela { clip-path: inset(0 0 100% 0); }
.js .revela.dentro { clip-path: inset(0 0 0 0); transition: clip-path .9s var(--dentro-fuera); }
@media (prefers-reduced-motion: no-preference) {
  /* el título está pintado desde el primer momento; lo de alrededor llega suave */
  .portada-logo, .portada-sub, .portada-acciones, .estado { animation: entra .8s var(--salida) both; }
  .portada-sub { animation-delay: 90ms; }
  .portada-acciones { animation-delay: 170ms; }
  .estado { animation-delay: 250ms; }
  .portada-detalle { animation: flota 1.1s .3s var(--salida) both; }
  .destello { animation: titila 3.6s ease-in-out infinite; }
  .destello.d2 { animation-delay: 1.4s; }
}
@keyframes entra { from { opacity: 0; transform: translateY(14px); } }
@keyframes flota { from { opacity: 0; transform: translateY(28px) rotate(-3deg); } }
@keyframes titila { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(20deg); opacity: .55; } }

/* ==========================================================================
   Tablet y ordenador
   ========================================================================== */
@media (min-width: 640px) {
  .portada-acciones { display: flex; justify-content: center; max-width: none; }
  .huecos-dias { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .fila { grid-template-columns: 1fr 1fr; gap: 40px; }
  .fila:nth-child(even) .fila-foto { order: 2; }
}

@media (min-width: 960px) {
  :root { --alto-cabecera: 80px; }
  .cabecera-marca img { height: 46px; }

  .portada {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center; gap: clamp(40px, 6vw, 96px);
    min-height: min(calc(100svh - var(--alto-cabecera)), 900px);
    padding-top: 12px; padding-bottom: 48px;
  }
  .portada-foto { order: 2; padding-left: 6%; }
  .portada-arco { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--alto-cabecera) - 80px); }
  .portada-detalle { left: 0; bottom: 8%; width: 30%; border-width: 7px; }
  .portada-hoy { right: 22px; bottom: 22px; padding: 12px 20px; }
  .portada-texto { text-align: left; padding: 0; }
  .portada-logo { width: min(80%, 340px); margin: 0 0 36px -4px; }
  .portada-sub { margin-left: 0; }
  .portada-acciones { justify-content: flex-start; }
  .nota-google { justify-content: flex-start; }

  .filas { gap: 88px; margin-top: 64px; }
  .fila { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 104px); }
  .fila:nth-child(even) { grid-template-columns: 6fr 5fr; }
  .fila-arco { aspect-ratio: 4 / 4.6; }
  .fila-texto { max-width: 480px; gap: 18px; }
  .fila:nth-child(even) .fila-texto { justify-self: end; }
  .fila h3 { font-size: clamp(2rem, 1.4rem + 1.2vw, 2.5rem); }

  .huecos-in { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .huecos-dias { margin-top: 0; }
  .dia { min-height: 96px; }
  .horas-lista { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }

  .resenas-in { grid-template-columns: repeat(3, 1fr); gap: 32px; }

  .donde-in { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
  .mapa { min-height: 460px; }

  .pie { padding-bottom: 48px; }
  .pie-in { grid-template-columns: 1fr; }
  .barra-movil { display: none; }
}

/* ==========================================================================
   Movimiento reducido: sin desplazamientos, todo visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .sube { opacity: 1; transform: none; }
  .js .revela { clip-path: none; }
}

/* ---------- la firma se escribe sola, solo la primera visita (js/firma.js) ---------- */
.firma-pendiente img.portada-logo { visibility: hidden; animation: firma-seguro 0s 3.5s forwards; } /* si algo falla, el logo sale igual */
@keyframes firma-seguro { to { visibility: visible; } }
.portada-logo.firma-svg { display: block; height: auto; animation: none; }
.firma-svg path { visibility: hidden; stroke-dasharray: 1 2; stroke-dashoffset: 1.02; animation: firma-traza linear forwards; }
@keyframes firma-traza { from { visibility: visible; stroke-dashoffset: 1.02; } to { visibility: visible; stroke-dashoffset: 0; } }
.firma-fin { opacity: 0; animation: firma-aparece .4s ease-out forwards; }
@keyframes firma-aparece { to { opacity: 1; } }

/* ---------- portada que se abre (una vez por visita) ---------- */
.portada-detalle video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .portada-abre .portada-arco { animation: portada-abre 1.05s var(--dentro-fuera) both; }
  .portada-abre .portada-detalle { animation: flota 1s .75s var(--salida) both; }
  .portada-abre .destello { animation: destello-sale .7s 1s var(--salida) both, titila 3.6s 1.7s ease-in-out infinite; }
  .portada-abre .destello.d2 { animation-delay: 1.15s, 2.6s; }
  .portada-abre .portada-hoy { animation: entra .6s 1s var(--salida) both; }
}
@keyframes portada-abre { from { clip-path: inset(52% 24% 0 24% round 240px 240px 22px 22px); } to { clip-path: inset(0 0 0 0 round 0 0 0 0); } }
@keyframes destello-sale { from { opacity: 0; transform: scale(.2) rotate(-40deg); } }

/* ---------- menú del móvil: las opciones entran una tras otra ---------- */
@media (max-width: 959.98px) and (prefers-reduced-motion: no-preference) {
  .menu.abierto > a { animation: menu-entra .4s var(--salida) both; }
  .menu.abierto > a:nth-child(2) { animation-delay: 40ms; }
  .menu.abierto > a:nth-child(3) { animation-delay: 80ms; }
  .menu.abierto > a:nth-child(4) { animation-delay: 120ms; }
  .menu.abierto > a:nth-child(5) { animation-delay: 160ms; }
  .menu.abierto > a:nth-child(6) { animation-delay: 210ms; }
}
@keyframes menu-entra { from { opacity: 0; transform: translateX(-14px); } }

/* ---------- paso suave entre páginas ---------- */
@view-transition { navigation: auto; }
.cabecera { view-transition-name: cabecera; }
.barra-movil { view-transition-name: barra-movil; }
::view-transition-old(root) { animation: vt-sale .16s ease-out both; }
::view-transition-new(root) { animation: vt-entra .3s cubic-bezier(.23, 1, .32, 1) both; }
@keyframes vt-sale { to { opacity: 0; } }
@keyframes vt-entra { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* Aviso sobre las fotos de banco de imágenes */
.foto-muestra { position: absolute; z-index: 2; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(30, 29, 64, .68); color: #fff; font-size: .75rem; font-weight: 600; line-height: 1.3; pointer-events: none; }

/* WhatsApp fijo en la esquina */
.wa-fijo { position: fixed; z-index: 39; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #128c4b; color: #fff; box-shadow: 0 8px 22px rgba(36, 35, 77, .22); transition: transform .16s var(--salida), background-color .16s ease; view-transition-name: wa-fijo; } /* taste-skill-ignore: botón que flota */
.wa-fijo:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .wa-fijo:hover { background: #0e743e; } }
.wa-fijo:focus-visible { outline: 3px solid var(--tinta, #24234d); outline-offset: 3px; }
@media (max-width: 959.98px) { .wa-fijo-ancho { display: none; } }
@media print { .wa-fijo { display: none; } }

/* De dónde salen las reseñas */
.resenas-fuente { flex-basis: 100%; color: var(--tinta-suave); font-size: var(--t-peque); }

/* Reseñas en arco: la del centro, en rosa */
.resena { position: relative; display: flex; flex-direction: column; align-items: center; padding: 84px 28px 32px; border-radius: 50% 50% 22px 22px / 150px 150px 22px 22px; background: var(--nude); text-align: center; }
.resena-destello { position: absolute; top: 34px; left: 50%; width: 30px; height: 30px; margin-left: -15px; color: var(--oro); }
.resena blockquote { font-size: clamp(1.25rem, 1.15rem + .35vw, 1.4375rem); line-height: 1.32; text-wrap: pretty; }
.resena figcaption { margin-top: auto; padding-top: 22px; flex-direction: column; gap: 6px; }
.resena:nth-child(2) { background: var(--rosa-campo); color: #fff; }
.resena:nth-child(2) .estrellas, .resena:nth-child(2) .resena-destello { color: #f3c4e0; }
.resenas-in:focus-visible { outline: 3px solid var(--rosa-accion); outline-offset: 4px; border-radius: 22px; }
@media (max-width: 959.98px) {
  .resenas-in { display: flex; gap: 14px; margin: 36px calc(-1 * var(--margen)) 0; padding: 0 var(--margen) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margen); scrollbar-width: none; }
  .resenas-in::-webkit-scrollbar { display: none; }
  .resena { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }
}
@media (min-width: 960px) {
  .resenas-in { gap: 24px; margin-top: 48px; }
  .resena:nth-child(odd) { margin-top: 40px; }
  .resena:nth-child(even) { margin-bottom: 40px; }
}
@media (prefers-reduced-motion: no-preference) {
  .resena.dentro .estrellas svg { animation: estrella-sale .5s var(--salida) both; animation-delay: calc(var(--retraso, 0ms) + 260ms); }
  .resena.dentro .estrellas svg:nth-child(2) { animation-delay: calc(var(--retraso, 0ms) + 330ms); }
  .resena.dentro .estrellas svg:nth-child(3) { animation-delay: calc(var(--retraso, 0ms) + 400ms); }
  .resena.dentro .estrellas svg:nth-child(4) { animation-delay: calc(var(--retraso, 0ms) + 470ms); }
  .resena.dentro .estrellas svg:nth-child(5) { animation-delay: calc(var(--retraso, 0ms) + 540ms); }
}
@keyframes estrella-sale { from { opacity: 0; transform: scale(.45) rotate(-24deg); } }

/* ==========================================================================
   Repaso de móvil
   ========================================================================== */
.pie-enlaces { gap: 0 24px; }
.pie-enlaces a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.creditos summary { padding: 11px 0; }
.foto-muestra { font-size: .8125rem; }
.donde-calle { text-wrap: balance; }
.resenas-acciones .boton { padding-inline: 20px; }
@media (max-width: 639.98px) {
  /* Portada: el botón de reservar, dentro de la primera pantalla */
  .portada-arco { aspect-ratio: 4 / 3.2; max-height: 38svh; }
  .portada-texto { padding-top: 12px; }
  .portada-logo { width: min(42vw, 164px); margin-bottom: 10px; }
  .portada h1 { font-size: clamp(2.125rem, 10vw, 2.625rem); }
  .portada-sub { margin-top: 8px; font-size: 1.0625rem; line-height: 1.35; }
  .portada-acciones { grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 16px; max-width: none; }
  .portada-acciones .boton { padding-inline: 12px; }
}
@media (max-width: 359.98px) {
  .barra-movil { grid-template-columns: 1.15fr 1fr; gap: 8px; }
  .barra-movil .boton { padding-inline: 8px; }
}

@media (max-width: 359.98px) { .portada-acciones { grid-template-columns: 1.1fr 1fr; gap: 8px; } .portada-acciones .boton { padding-inline: 8px; } }

/* Las otras páginas, nada más bajar de la portada */
.portales { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 36px auto 0; padding: 0 var(--margen); }
.portal { display: grid; justify-items: center; align-content: start; gap: 2px; color: var(--tinta); text-align: center; text-decoration: none; transition: transform .16s var(--salida); }
.portal:active { transform: scale(.97); }
.portal-foto { display: block; width: 100%; aspect-ratio: 4 / 4.7; margin-bottom: 8px; }
.portal-foto img { transition: transform .5s var(--salida); }
.portal strong { font-family: var(--letra-titulo); font-size: 1.0625rem; font-weight: 400; line-height: 1.15; text-wrap: balance; }
.portal-linea { display: none; color: var(--tinta-suave); font-size: var(--t-peque); }
@media (hover: hover) and (pointer: fine) { .portal:hover .portal-foto img { transform: scale(1.04); } .portal:hover strong { color: var(--rosa-accion); } }
@media (min-width: 640px) {
  .portales { gap: 24px; }
  .portal-foto { aspect-ratio: 4 / 3.6; margin-bottom: 12px; }
  .portal strong { font-size: var(--t-medio); }
  .portal-linea { display: block; }
}
.pie-paginas a { font-weight: 600; text-decoration: none; }

/* Reseñas en el móvil: una debajo de otra y recogidas */
@media (max-width: 959.98px) {
  .resenas-in { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .resena { flex: none; padding: 18px 20px 16px; border-radius: 26px 26px 14px 14px; align-items: stretch; text-align: left; }
  .resena-destello { top: 16px; right: 16px; left: auto; width: 16px; height: 16px; margin: 0; }
  .resena blockquote { padding-right: 18px; font-size: 1.0625rem; line-height: 1.35; }
  .resena figcaption { flex-direction: row; justify-content: space-between; padding-top: 10px; }
  .resena .estrellas svg { width: 14px; height: 14px; }
}

/* textos largos de botón que en el móvil estrecho se acortan (12/11/2026) */
@media (max-width: 479px) { .solo-ancho { display: none; } }
