/* Plantilla Reseñas Web (v2).
   Orden: 1) letras  2) colores del negocio (los escribe generar.py)  3) base común  4) temas.
   Cada web elige tema en contenido.json ("tema"); el tema se aplica con data-tema en <html>.
   No toques la base común para un solo negocio: los cambios van a la plantilla y a GUIA.md. */

/* ---------- 1. Letras, todas servidas desde la propia web ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
  src: url(fuentes/BricolageGrotesque-400_800-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
  src: url(fuentes/BricolageGrotesque-400_800-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+A720-A7FF; }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fuentes/Kalam-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fuentes/Kalam-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fuentes/Kalam-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fuentes/Kalam-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(fuentes/CormorantGaramond-500_600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(fuentes/CormorantGaramond-500_600-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(fuentes/CormorantGaramond-500i-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(fuentes/CormorantGaramond-500i-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+A720-A7FF; }

/* ---------- 2. Colores del negocio ---------- */
:root {
  color-scheme: light;
  --fondo: #faf8f8;
  --fondo-hondo: #f2eeee;
  --texto: #1c1a1b;
  --texto-suave: #5d585a;
  --acento: #c2415a;
  --acento-tinta: #ffffff;
  --hoy: #c2415a;
  --hoy-tinta: #ffffff;
  --banda: #19181a;
  --banda-texto: #f3f0f0;
  --sombra: 0 18px 40px -18px rgba(40, 24, 30, 0.16);
  --letra-titulos-negocio: "Cormorant Garamond", Georgia, serif;
}

/* ---------- 3. Base común (igual en todas las webs) ---------- */
:root {
  --linea: color-mix(in srgb, var(--texto) 16%, transparent);
  --letra-texto: "Bricolage Grotesque", system-ui, sans-serif;
  --ancho: 1240px;
  --margen: clamp(16px, 4vw, 48px);
  --seccion: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: color-mix(in srgb, var(--texto) 25%, var(--fondo)) var(--fondo-hondo); }
body {
  margin: 0;
  background-color: var(--fondo);
  color: var(--texto);
  font-family: var(--letra-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--acento); }
::selection { background: var(--acento); color: var(--acento-tinta); }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 4px; border-radius: 4px; }

.envoltorio { width: min(100% - 2 * var(--margen), var(--ancho)); margin-inline: auto; }
.num, .telefono, .nota-media__cifra { font-variant-numeric: lining-nums tabular-nums; }

h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--letra-titulos); font-weight: var(--titulos-peso); }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.05; letter-spacing: var(--titulos-espaciado); }
p { margin: 0; }
.seccion { padding-block: var(--seccion) 0; }
.entradilla { color: var(--texto-suave); max-width: 58ch; margin-top: 18px; font-size: 1.125rem; }

.trazo { display: block; width: min(280px, 60%); height: 14px; margin-top: 6px; color: var(--acento); }
.trazo path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; opacity: 0.85; }

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1.0625rem/1 var(--letra-texto); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.boton:active { transform: scale(0.97); }
.boton--principal { background: var(--acento); color: var(--acento-tinta); }
.boton--secundario { border-color: color-mix(in srgb, var(--texto) 55%, transparent); color: var(--texto); background: transparent; }
.boton--llamar { background: var(--hoy); color: var(--hoy-tinta); }
@media (hover: hover) and (pointer: fine) {
  .boton--principal:hover { background: color-mix(in srgb, var(--acento) 82%, var(--texto-hover)); }
  .boton--secundario:hover { border-color: var(--texto); background: color-mix(in srgb, var(--texto) 6%, transparent); }
  .boton--llamar:hover { background: color-mix(in srgb, var(--hoy) 85%, var(--texto-hover)); }
}

/* Cabecera */
.cabecera {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--fondo-hondo) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
}
.cabecera .envoltorio { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.marca { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--letra-titulos); font-weight: var(--titulos-peso); font-size: 1.6rem; text-decoration: none; line-height: 1; }
.menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 0.98rem; }
.menu a { text-decoration: none; color: var(--texto-suave); transition: color 200ms ease; }
.menu a:hover { color: var(--texto); }
.cabecera .boton { min-height: 42px; padding: 0 18px; font-size: 0.98rem; }

/* Portada */
.portada { padding-block: clamp(40px, 7vw, 88px) 0; }
.portada .envoltorio { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.portada h1 { font-size: clamp(3.4rem, 6.2vw, 5.6rem); line-height: 1; overflow-wrap: anywhere; letter-spacing: -0.015em; padding-bottom: 4px; }
.portada .trazo { width: min(360px, 72%); height: 18px; }
.gancho { font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.45; max-width: 30ch; margin-top: 26px; }
.hoy { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-family: var(--letra-titulos); font-size: clamp(1.25rem, 2vw, 1.5rem); }
.hoy__dia { color: var(--hoy); font-weight: 700; }
.hoy__estado { font-family: var(--letra-texto); font-size: 0.95rem; color: var(--texto-suave); }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.foto-portada { position: relative; margin: 0; justify-self: end; width: min(100%, 540px); }
.foto-portada img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radio-foto); box-shadow: var(--sombra); }
.foto-portada figcaption { margin-top: 22px; font-family: var(--letra-titulos); color: var(--texto-suave); font-size: 1.05rem; text-align: right; }

/* Galería */
.galeria__cabeza { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.galeria__flechas { display: flex; gap: 10px; }
.flecha {
  width: 52px; height: 52px; border-radius: 999px; border: 2px solid color-mix(in srgb, var(--texto) 40%, transparent);
  background: transparent; color: var(--texto); cursor: pointer; display: grid; place-items: center;
  transition: transform 160ms var(--ease), border-color 200ms ease;
}
.flecha:active { transform: scale(0.95); }
.flecha:hover { border-color: var(--texto); }
.flecha svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tira {
  display: flex; gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 36px var(--margen) 18px; margin-top: 8px;
  scroll-padding-inline: var(--margen); scrollbar-width: thin;
}
.tira figure { margin: 0; flex: none; scroll-snap-align: start; }
.tira img { height: clamp(300px, 42vw, 460px); width: auto; object-fit: cover; border-radius: var(--radio-foto); }
.tira .apaisada img { aspect-ratio: 4 / 3; }
.tira .vertical img { aspect-ratio: 3 / 4; }
.nota { color: var(--texto-suave); font-size: 0.92rem; margin-top: 6px; }

/* Ventajas */
.ventajas__rejilla { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 4vw, 56px); margin-top: 56px; }
.ventaja { border-top: 1px solid var(--linea); padding-top: 22px; }
.ventaja h3 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--acento); }
.ventaja p { margin-top: 12px; color: var(--texto-suave); max-width: 46ch; }
.ventaja--grande { grid-column: 1 / span 7; }
.ventaja--grande h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.ventaja--grande p { font-size: 1.2rem; color: var(--texto); }
.ventajas__foto { grid-column: 8 / span 5; grid-row: span 2; margin: 0; align-self: start; }
.ventajas__foto img { border-radius: var(--radio-foto); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--sombra); }
.ventaja--media { grid-column: 1 / span 4; }
.ventaja--media + .ventaja--media { grid-column: 5 / span 3; }
.ventaja--ancha { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(24px, 4vw, 56px); align-items: start; }
.ventaja--ancha blockquote { margin: 0; font-family: var(--letra-titulos); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; }
.ventaja--ancha cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--letra-texto); font-size: 0.95rem; color: var(--texto-suave); }

/* Lo más pedido / Servicios / Lo más buscado */
.bloque-destacados { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); margin-top: 56px; align-items: start; }
.destacados { list-style: none; margin: 0; padding: 0; }
.destacado { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; font-family: var(--letra-titulos); font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.2; }
.destacado__nombre { flex: 0 1 auto; min-width: 0; max-width: 70%; }
.destacado__puntos { flex: 1; min-width: 24px; }
.destacado__cifra { flex: none; font-family: var(--letra-texto); font-size: 1rem; color: var(--acento); font-variant-numeric: tabular-nums; }
.destacado:first-child { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.destacados__nota { margin-top: 18px; color: var(--texto-suave); font-size: 0.95rem; max-width: 52ch; }
.tambien { margin-top: 48px; }
.tambien h3 { font-size: 1.6rem; color: var(--acento); }
.tambien p { margin-top: 10px; font-family: var(--letra-titulos); font-size: 1.35rem; line-height: 1.5; max-width: 40ch; }
.collage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.collage figure { margin: 0; }
.collage img { width: 100%; object-fit: cover; border-radius: var(--radio-foto); box-shadow: var(--sombra); }
.collage .c1 { grid-column: 1 / span 4; }
.collage .c1 img { aspect-ratio: 4 / 5; }
.collage .c2 { grid-column: 5 / span 2; align-self: end; margin-bottom: -40px; }
.collage .c2 img { aspect-ratio: 3 / 5; }
.collage .c3 { grid-column: 2 / span 4; margin-top: 8px; }
.collage .c3 img { aspect-ratio: 4 / 3; }

/* Reseñas */
.opinion { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); margin-top: 56px; align-items: start; }
.nota-media { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.nota-media__cifra { font-family: var(--letra-titulos); font-weight: var(--titulos-peso); font-size: clamp(6rem, 15vw, 11rem); line-height: 0.85; color: var(--acento); letter-spacing: -0.03em; }
.nota-media__texto { font-size: 1.15rem; line-height: 1.35; }
.nota-media__texto strong { display: block; font-size: 1.4rem; }
.sintesis p { font-size: clamp(1.15rem, 1.7vw, 1.3rem); line-height: 1.6; max-width: 56ch; }
.sintesis p + p { margin-top: 18px; color: var(--texto-suave); font-size: 1.08rem; }
.citas { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.citas li { border-top: 1px solid var(--linea); padding-top: 18px; }
.citas blockquote { margin: 0; font-family: var(--letra-titulos); font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.35; }
.citas cite { display: block; margin-top: 10px; font-style: normal; color: var(--acento); font-size: 0.98rem; }
.citas li:first-child { grid-column: 1 / -1; }
.citas li:first-child blockquote { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }

/* Horario y cómo llegar */
.visita { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); margin-top: 56px; align-items: start; }
.semana { list-style: none; margin: 0; padding: 0; }
.eje, .dia { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: center; gap: 16px; }
.eje { margin-bottom: 8px; }
.eje__marcas { position: relative; height: 20px; font-size: 0.8rem; color: var(--texto-suave); font-variant-numeric: tabular-nums; }
.eje__marcas span { position: absolute; transform: translateX(-50%); }
.eje__marcas span:first-child { transform: none; }
.eje__marcas span:last-child { transform: translateX(-100%); }
.dia { padding: 9px 0; border-top: 1px solid var(--linea); }
.dia__nombre { font-family: var(--letra-titulos); font-size: 1.3rem; line-height: 1; text-transform: capitalize; }
.dia__horas { display: block; font-size: 0.85rem; color: var(--texto-suave); margin-top: 4px; font-variant-numeric: tabular-nums; }
.pista { position: relative; height: 22px; }
.pista::before { content: ""; position: absolute; inset: 10px 0 auto; border-top: 2px dashed color-mix(in srgb, var(--texto) 18%, transparent); }
.tramo { display: block; position: absolute; top: 3px; height: 16px; border-radius: 8px; background: var(--tramo); left: var(--ini); width: var(--dur); transform-origin: left; }
.dia--hoy .dia__nombre { color: var(--hoy); }
.dia--hoy .tramo { background: var(--hoy); }
.dia--hoy .dia__nombre::after { content: " (hoy)"; font-size: 0.9rem; text-transform: none; }
.semana__nota { margin-top: 16px; font-size: 0.9rem; color: var(--texto-suave); }
.llegar h3, .como-funciona h3 { font-size: 1.8rem; color: var(--acento); line-height: 1.1; }
.direccion { font-style: normal; font-size: 1.35rem; line-height: 1.4; margin-top: 12px; }
.direccion span { display: block; color: var(--texto-suave); font-size: 1.05rem; }
.llegar .boton { margin-top: 24px; }
.como-funciona { margin-top: 56px; }
.pasos { list-style: none; padding: 0; margin: 16px 0 0; counter-reset: paso; }
.paso { position: relative; padding: 12px 0; border-top: 1px solid var(--linea); font-family: var(--letra-titulos); font-size: 1.35rem; line-height: 1.3; counter-increment: paso; }
.paso small { display: block; font-family: var(--letra-texto); font-size: 0.92rem; color: var(--texto-suave); }
.paso__trazo { display: none; }
.aviso { margin-top: 22px; color: var(--texto-suave); font-size: 0.98rem; max-width: 44ch; }

/* Contacto */
.contacto { padding-block: var(--seccion); }
.contacto .envoltorio { border-top: 1px solid var(--linea); padding-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.telefono { display: block; margin-top: 18px; font-family: var(--letra-titulos); font-weight: var(--titulos-peso); font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1; text-decoration: none; color: var(--texto); }
.contacto__accion { justify-self: end; text-align: right; }
.contacto__accion .boton { min-height: 64px; padding: 0 36px; font-size: 1.25rem; letter-spacing: 0.06em; }
.contacto__accion p { margin-top: 14px; font-size: 0.92rem; color: var(--texto-suave); }

/* Pie */
.pie { background: var(--fondo-hondo); border-top: 1px solid var(--linea); padding-block: 56px 120px; font-size: 0.95rem; color: var(--texto-suave); }
.pie__fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: baseline; }
.pie__firma { color: var(--texto); }
.legal { margin-top: 32px; display: grid; gap: 12px; }
.legal details { border-top: 1px solid var(--linea); padding-top: 12px; }
.legal summary { cursor: pointer; color: var(--texto); font-weight: 600; list-style: none; display: flex; justify-content: space-between; min-height: 44px; align-items: center; }
.legal summary::-webkit-details-marker { display: none; }
.legal summary::after { content: "+"; font-family: var(--letra-titulos); font-size: 1.4rem; line-height: 1; transition: transform 200ms var(--ease); }
.legal details[open] summary::after { transform: rotate(45deg); }
.legal details > div { padding: 8px 0 16px; max-width: 72ch; display: grid; gap: 10px; }

/* Barra fija del móvil */
.acciones-movil { display: none; }

/* Movimiento común: las barras crecen al verlas */
@media (prefers-reduced-motion: no-preference) {
  .js .tramo { transform: scaleX(0); transition: transform 900ms var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
  .js .visto .tramo { transform: scaleX(1); }
}

/* Pantallas medianas y móviles */
@media (max-width: 960px) {
  .menu { display: none; }
  .portada .envoltorio, .bloque-destacados, .opinion, .visita, .contacto .envoltorio { grid-template-columns: minmax(0, 1fr); }
  .foto-portada { justify-self: start; width: min(100%, 520px); }
  .ventajas__rejilla { grid-template-columns: minmax(0, 1fr); }
  .ventaja--grande, .ventaja--media, .ventaja--media + .ventaja--media, .ventajas__foto, .ventaja--ancha { grid-column: 1 / -1; grid-row: auto; }
  .ventaja--ancha { grid-template-columns: minmax(0, 1fr); }
  .contacto__accion { justify-self: start; text-align: left; }
  .collage .c2 { margin-bottom: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cabecera .boton { display: none; }
  .portada { padding-top: 20px; }
  .portada .envoltorio { gap: 28px; }
  .foto-portada { order: -1; width: calc(100% - 12px); margin-inline: auto; }
  .foto-portada figcaption { text-align: left; margin-top: 16px; }
  .gancho { margin-top: 18px; }
  .portada .acciones { display: none; }
  .citas { grid-template-columns: minmax(0, 1fr); }
  .eje, .dia { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .eje > span:first-child { display: none; }
  .dia > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .dia__horas { margin-top: 0; text-align: right; }
  .contacto__accion, .contacto__accion .boton { width: 100%; }
  .acciones-movil {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--fondo-hondo) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--linea);
  }
  .acciones-movil .boton { min-height: 48px; padding: 0 12px; }
}

/* ---------- 4a. Tema "pizarra": bares, freidurías, tabernas ----------
   Letra de tiza, subrayados a mano, foto sujeta con cinta, pasos que se tachan. */
[data-tema="pizarra"] {
  --letra-titulos: var(--letra-titulos-negocio, "Kalam", "Comic Sans MS", cursive);
  --titulos-peso: 700;
  --titulos-espaciado: -0.01em;
  --radio-foto: 14px;
  --tramo: var(--texto);
  --texto-hover: white;
}
[data-tema="pizarra"] body {
  /* borrones de borrador */
  background-image:
    radial-gradient(60% 40% at 18% 12%, color-mix(in srgb, var(--texto) 5%, transparent), transparent 70%),
    radial-gradient(45% 30% at 85% 38%, color-mix(in srgb, var(--texto) 4%, transparent), transparent 70%),
    radial-gradient(55% 35% at 30% 72%, color-mix(in srgb, var(--texto) 3.5%, transparent), transparent 70%),
    radial-gradient(40% 25% at 78% 92%, color-mix(in srgb, var(--texto) 4%, transparent), transparent 70%);
}
[data-tema="pizarra"] :focus-visible { outline-style: dashed; }
[data-tema="pizarra"] h2,
[data-tema="pizarra"] .portada h1 { text-shadow: 0 0 1px color-mix(in srgb, var(--texto) 35%, transparent); }
[data-tema="pizarra"] .portada h1 { text-shadow: 0 0 1px color-mix(in srgb, var(--texto) 40%, transparent), 0 0 18px color-mix(in srgb, var(--texto) 6%, transparent); }
[data-tema="pizarra"] .nota-media__cifra { text-shadow: 0 0 1px color-mix(in srgb, var(--acento) 60%, transparent); }
[data-tema="pizarra"] .foto-portada img { border-radius: 6px; transform: rotate(1.6deg); }
[data-tema="pizarra"] .foto-portada::before,
[data-tema="pizarra"] .foto-portada::after {
  /* cinta de carrocero */
  content: ""; position: absolute; z-index: 1; width: 92px; height: 26px;
  background: var(--cinta); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
[data-tema="pizarra"] .foto-portada::before { top: -10px; left: 18%; transform: rotate(-6deg); }
[data-tema="pizarra"] .foto-portada::after { top: -6px; right: 10%; transform: rotate(5deg); }
[data-tema="pizarra"] .ventajas__foto img { transform: rotate(-1.2deg); }
[data-tema="pizarra"] .collage .c1 img { transform: rotate(-1.4deg); }
[data-tema="pizarra"] .collage .c2 img { transform: rotate(2deg); }
[data-tema="pizarra"] .collage .c3 img { transform: rotate(1deg); }
[data-tema="pizarra"] .destacado__puntos { border-bottom: 2px dotted color-mix(in srgb, var(--texto) 35%, transparent); transform: translateY(-6px); }
[data-tema="pizarra"] .paso__trazo { display: block; position: absolute; left: -4px; top: 26px; width: calc(100% + 8px); height: 12px; pointer-events: none; color: var(--hoy); }
[data-tema="pizarra"] .paso__trazo path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; opacity: 0.9; }
@media (prefers-reduced-motion: no-preference) {
  [data-tema="pizarra"].js .portada h1 { animation: escribir 1100ms var(--ease) 120ms both; }
  [data-tema="pizarra"].js .portada .trazo path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: trazar 700ms var(--ease) 900ms forwards; }
  [data-tema="pizarra"].js .paso__trazo path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 650ms var(--ease); transition-delay: calc(var(--i) * 260ms + 200ms); }
  [data-tema="pizarra"].js .pasos.visto .paso__trazo path { stroke-dashoffset: 0; }
}
@keyframes escribir { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes trazar { to { stroke-dashoffset: 0; } }

/* ---------- 4b. Tema "sobrio": peluquerías, talleres, despachos, tiendas ----------
   Títulos tranquilos, líneas finas, fotos rectas con marco, pasos numerados,
   contacto y pie en una banda del color de la fachada. */
[data-tema="sobrio"] {
  --letra-titulos: var(--letra-titulos-negocio, "Bricolage Grotesque", system-ui, sans-serif);
  --titulos-peso: 500;
  --titulos-espaciado: -0.02em;
  --radio-foto: 4px;
  --tramo: color-mix(in srgb, var(--texto) 30%, transparent);
  --texto-hover: black;
}
[data-tema="sobrio"] h2 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1; }
[data-tema="sobrio"] .portada h1 { font-size: clamp(3.4rem, 7vw, 6.4rem); line-height: 0.95; letter-spacing: -0.025em; }
[data-tema="sobrio"] .trazo { width: 56px; height: 2px; margin-top: 22px; background: var(--acento); }
[data-tema="sobrio"] .trazo path { display: none; }
[data-tema="sobrio"] .portada .trazo { width: 72px; height: 2px; }
[data-tema="sobrio"] .hoy { font-family: var(--letra-texto); font-size: 1.1rem; }
[data-tema="sobrio"] .hoy__dia { font-weight: 600; }
[data-tema="sobrio"] .foto-portada { padding: 14px; border: 1px solid var(--linea); }
[data-tema="sobrio"] .foto-portada img { box-shadow: none; }
[data-tema="sobrio"] .foto-portada figcaption { font-family: var(--letra-texto); font-size: 0.92rem; margin-top: 14px; }
[data-tema="sobrio"] .ventaja h3 { color: var(--texto); }
[data-tema="sobrio"] .ventajas__rejilla { counter-reset: ventaja; }
[data-tema="sobrio"] .ventaja h3::before { counter-increment: ventaja; content: counter(ventaja, decimal-leading-zero); display: block; margin-bottom: 14px; font-family: var(--letra-texto); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; color: var(--acento); }
[data-tema="sobrio"] .ventaja--ancha blockquote,
[data-tema="sobrio"] .citas blockquote,
[data-tema="sobrio"] .tambien p { font-style: italic; }
[data-tema="sobrio"] .ventajas__foto img,
[data-tema="sobrio"] .collage img { box-shadow: none; }
[data-tema="sobrio"] .destacado { border-bottom: 1px solid var(--linea); padding: 14px 0; }
[data-tema="sobrio"] .destacado__cifra { color: var(--texto-suave); }
[data-tema="sobrio"] .tambien h3 { color: var(--texto); }
[data-tema="sobrio"] .nota-media__cifra { color: var(--texto); }
[data-tema="sobrio"] .citas cite { color: var(--texto-suave); }
[data-tema="sobrio"] .llegar h3,
[data-tema="sobrio"] .como-funciona h3 { color: var(--texto); }
[data-tema="sobrio"] .paso { padding-left: 3.2rem; }
[data-tema="sobrio"] .paso::before { content: counter(paso, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-family: var(--letra-texto); font-size: 0.9rem; font-weight: 600; color: var(--acento); }
/* banda del color de la fachada para contacto y pie */
[data-tema="sobrio"] .contacto,
[data-tema="sobrio"] .pie {
  --texto: var(--banda-texto);
  --texto-suave: color-mix(in srgb, var(--banda-texto) 72%, var(--banda));
  --linea: color-mix(in srgb, var(--banda-texto) 18%, transparent);
  background: var(--banda); color: var(--texto);
}
[data-tema="sobrio"] .contacto { margin-top: var(--seccion); }
[data-tema="sobrio"] .contacto .envoltorio { border-top: 0; padding-top: 0; }
[data-tema="sobrio"] .pie { border-top: 1px solid var(--linea); }
@media (prefers-reduced-motion: no-preference) {
  [data-tema="sobrio"].js .portada h1,
  [data-tema="sobrio"].js .portada .gancho { animation: aparecer 800ms var(--ease) both; }
  [data-tema="sobrio"].js .portada .gancho { animation-delay: 120ms; }
  [data-tema="sobrio"].js .portada .trazo { transform-origin: left; animation: crecer 700ms var(--ease) 300ms both; }
}
@keyframes aparecer { from { opacity: 0; transform: translateY(12px); } }
@keyframes crecer { from { transform: scaleX(0); } }
