/* =====================================================================
   ESTILOS DE LA PLANTILLA
   ---------------------------------------------------------------------
   Normalmente NO hace falta tocar este archivo: el estilo, la portada y
   los colores se eligen en js/datos.js.

   1. Los 3 estilos (variables CSS)
   2. Base
   3. Componentes: botones, barra, portada, secciones...
   4. Detalles propios de cada estilo
   ===================================================================== */


/* ---------- 1. LOS 3 ESTILOS ---------- */

/* MODERNO — peluquerías, estética, gimnasios */
:root,
[data-estilo="moderno"] {
  --fondo: #ffffff;
  --fondo-alt: #f6f3f0;
  --superficie: #ffffff;
  --texto: #1c1a19;
  --texto-suave: #5f5853;
  --borde: #e6e0da;
  --primario: #1c1a19;
  --primario-contraste: #ffffff;
  --acento: #c4826f;

  --fuente-titulos: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fuente-texto: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --peso-titulos: 700;
  --espaciado-titulos: -0.025em;
  --radio: 4px;
  --radio-boton: 999px;
  --sombra: 0 1px 2px rgb(0 0 0 / .05), 0 10px 30px rgb(0 0 0 / .06);
}

/* CÁLIDO — bares, restaurantes, panaderías */
[data-estilo="calido"] {
  --fondo: #fbf7f1;
  --fondo-alt: #f3eadf;
  --superficie: #fffdf9;
  --texto: #2e2219;
  --texto-suave: #6b5a4c;
  --borde: #e5d8c8;
  --primario: #a4441c;
  --primario-contraste: #ffffff;
  --acento: #d39a35;

  --fuente-titulos: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --fuente-texto: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --peso-titulos: 600;
  --espaciado-titulos: 0;
  --radio: 16px;
  --radio-boton: 999px;
  --sombra: 0 1px 2px rgb(70 40 10 / .06), 0 10px 30px rgb(70 40 10 / .08);
}

/* SERIO — clínicas, talleres, asesorías */
[data-estilo="serio"] {
  --fondo: #ffffff;
  --fondo-alt: #f1f5f9;
  --superficie: #ffffff;
  --texto: #13202d;
  --texto-suave: #4c5a68;
  --borde: #d8e0e8;
  --primario: #1d4e7a;
  --primario-contraste: #ffffff;
  --acento: #23968a;

  --fuente-titulos: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fuente-texto: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --peso-titulos: 600;
  --espaciado-titulos: -0.01em;
  --radio: 8px;
  --radio-boton: 8px;
  --sombra: 0 1px 2px rgb(15 35 60 / .06), 0 6px 20px rgb(15 35 60 / .06);
}

/* Colores que no cambian con el estilo */
:root {
  --whatsapp: #128c4a;
  --estrellas: #e0a100;
  --alto-barra: 64px;
}


/* ---------- 2. BASE ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--fuente-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--fuente-titulos);
  font-weight: var(--peso-titulos);
  letter-spacing: var(--espaciado-titulos);
  line-height: 1.15;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 9vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 5.5vw, 2.75rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }

[hidden] { display: none !important; }

.solo-lectores {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.saltar {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--primario); color: var(--primario-contraste);
  padding: 10px 16px; border-radius: var(--radio);
}
.saltar:focus { top: 16px; }

.contenedor {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

.icono { width: 1.25em; height: 1.25em; flex-shrink: 0; }

section[id] { scroll-margin-top: var(--alto-barra); }


/* ---------- 3. COMPONENTES ---------- */

/* Botones */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--radio-boton);
  font: inherit;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.boton:hover { filter: brightness(1.08); }
.boton:active { transform: scale(.98); }

.boton--principal { background: var(--primario); color: var(--primario-contraste); }
.boton--whatsapp { background: var(--whatsapp); color: #fff; }
.boton--secundario { background: transparent; color: inherit; border-color: currentColor; }
.boton--grande { min-height: 56px; font-size: 1.0625rem; padding: 0 26px; }
.boton--pequeno { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.boton--ancho { width: 100%; }

.enlace-flecha { font-weight: 600; color: var(--primario); text-underline-offset: 4px; }
.enlace-flecha::after { content: " →"; }

/* Aviso temporal */
.aviso {
  background: var(--acento);
  color: #1a1a1a;
  text-align: center;
  font-weight: 600;
  padding: 10px 20px;
  font-size: .9375rem;
}

/* Barra superior */
.barra {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--fondo) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--borde);
}
.barra__dentro {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--alto-barra);
}
.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  font-family: var(--fuente-titulos);
  font-weight: var(--peso-titulos);
  font-size: 1.125rem;
  letter-spacing: var(--espaciado-titulos);
  min-width: 0;
}
.marca__nombre { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marca__inicial {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--radio);
  background: var(--primario);
  color: var(--primario-contraste);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.marca img { height: 36px; width: auto; }

.menu { display: none; gap: 28px; }
.menu a {
  text-decoration: none;
  color: var(--texto-suave);
  font-size: .9375rem;
  font-weight: 500;
}
.menu a:hover { color: var(--texto); }
@media (min-width: 860px) {
  .menu { display: flex; }
}

/* Portada (común) */
.portada { position: relative; }
.portada__texto { max-width: 640px; }
.portada__lema { font-size: clamp(1.125rem, 3vw, 1.3125rem); margin-bottom: 1.75em; }
.portada__botones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 440px;
}
.portada__botones .boton { padding-inline: 12px; }

.antetitulo {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin-bottom: .9em;
}

/* Estado "Abierto ahora / Cerrado" */
.estado {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .9375rem;
  font-weight: 600;
  margin: 1.25em 0 0;
}
.estado::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #b4b4b4;
}
.estado.esta-abierto::before { background: #1fae5b; box-shadow: 0 0 0 4px rgb(31 174 91 / .2); }
.tarjeta .estado { margin: 0 0 1em; }

/* Portada tipo FOTO: foto de fondo y texto blanco encima */
[data-portada="foto"] .portada {
  display: flex;
  align-items: flex-end;
  min-height: min(86svh, 760px);
  color: #fff;
  background: #222;
  overflow: hidden;
}
[data-portada="foto"] .portada__foto {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
[data-portada="foto"] .portada::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / .78) 0%, rgb(0 0 0 / .45) 45%, rgb(0 0 0 / .15) 100%);
}
[data-portada="foto"] .portada__dentro {
  position: relative; z-index: 1;
  padding-block: 120px 48px;
}
[data-portada="foto"] .portada .antetitulo { color: rgb(255 255 255 / .85); }
[data-portada="foto"] .portada .boton--principal { background: #fff; color: #161616; }

/* Portada tipo DIVIDIDA: texto y foto lado a lado */
[data-portada="dividida"] .portada {
  display: flex;
  flex-direction: column;
  background: var(--fondo-alt);
}
[data-portada="dividida"] .portada__foto {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
[data-portada="dividida"] .portada__dentro { padding-block: 36px 48px; }
@media (min-width: 860px) {
  [data-portada="dividida"] .portada {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: min(80svh, 700px);
  }
  [data-portada="dividida"] .portada__foto {
    grid-column: 2; grid-row: 1;
    height: 100%;
    aspect-ratio: auto;
  }
  [data-portada="dividida"] .portada__dentro {
    grid-column: 1; grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: none;
    padding-inline: 20px 56px;
  }
  [data-portada="dividida"] .portada__texto { width: 100%; max-width: 520px; }
}

/* Portada tipo COLOR: fondo de color, sin foto */
[data-portada="color"] .portada {
  background: var(--primario);
  color: var(--primario-contraste);
}
[data-portada="color"] .portada__foto { display: none; }
[data-portada="color"] .portada__dentro { padding-block: 72px 64px; }
[data-portada="color"] .portada .antetitulo { color: inherit; opacity: .8; }
[data-portada="color"] .portada .boton--principal { background: var(--primario-contraste); color: var(--primario); }
[data-portada="color"] .portada .boton--whatsapp { box-shadow: 0 0 0 2px rgb(255 255 255 / .35); }
@media (min-width: 860px) {
  [data-portada="color"] .portada__dentro { padding-block: 120px 112px; }
}

/* Secciones */
.seccion { padding-block: 72px; }
.seccion--alt { background: var(--fondo-alt); }
@media (min-width: 860px) {
  .seccion { padding-block: 104px; }
}
.seccion__cabecera { max-width: 640px; margin-bottom: 40px; }
.seccion__intro { color: var(--texto-suave); margin: 0; }

/* Servicios y precios */
.servicios {
  display: grid;
  gap: 40px;
}
@media (min-width: 760px) {
  .servicios { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
}
.servicios__grupo h3 {
  padding-bottom: .6em;
  border-bottom: 2px solid var(--texto);
  margin-bottom: .25em;
}
.precios { list-style: none; margin: 0; padding: 0; }
.precios li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--borde);
}
.precios .servicio { font-weight: 600; }
.precios li::after { content: ""; flex: 1; order: 1; }
.precios .precio { order: 2; margin-left: auto; font-weight: 600; white-space: nowrap; }
.precios small {
  order: 3;
  flex-basis: 100%;
  color: var(--texto-suave);
  font-size: .9375rem;
}

/* Galería */
.galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.galeria a {
  display: block;
  overflow: hidden;
  border-radius: var(--radio);
  background: var(--borde);
}
.galeria a:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.galeria img {
  width: 100%; height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .4s ease;
}
.galeria a:hover img { transform: scale(1.04); }
@media (min-width: 760px) {
  .galeria { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .galeria a:last-child:nth-child(odd) { grid-column: auto; aspect-ratio: auto; }
}

/* Visor de fotos */
.visor {
  padding: 0;
  border: 0;
  max-width: 100vw;
  max-height: 100dvh;
  width: 100vw;
  height: 100dvh;
  background: transparent;
}
.visor::backdrop { background: rgb(0 0 0 / .92); }
.visor[open] { display: grid; place-items: center; }
.visor img {
  max-width: min(92vw, 1100px);
  max-height: 86dvh;
  width: auto; height: auto;
  border-radius: 4px;
}
.visor__boton {
  position: fixed;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .14);
  color: #fff;
  cursor: pointer;
}
.visor__boton:hover { background: rgb(255 255 255 / .26); }
.visor__cerrar { top: 16px; right: 16px; }
.visor__anterior { left: 12px; top: 50%; translate: 0 -50%; }
.visor__siguiente { right: 12px; top: 50%; translate: 0 -50%; }

/* Sobre nosotros */
.nosotros { display: grid; gap: 36px; align-items: center; }
.nosotros__foto {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radio);
  max-height: 560px;
}
.nosotros__texto > p:not(.antetitulo) { color: var(--texto-suave); max-width: 56ch; }
@media (min-width: 860px) {
  .nosotros { grid-template-columns: 5fr 6fr; gap: 72px; }
  .nosotros__foto { max-height: none; }
}
.destacados {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 2em 0 0;
  padding: 0;
}
.destacados li {
  display: flex;
  flex-direction: column;
  padding-top: 14px;
  border-top: 2px solid var(--acento);
}
.destacados strong {
  font-family: var(--fuente-titulos);
  font-weight: var(--peso-titulos);
  font-size: 1.25rem;
}
.destacados span { color: var(--texto-suave); font-size: .9375rem; }

/* Reseñas */
.resenas { display: grid; gap: 16px; }
@media (min-width: 860px) {
  .resenas { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.resena {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
}
.resena__estrellas { color: var(--estrellas); letter-spacing: .1em; margin-bottom: .75em; }
.resena blockquote { margin: 0 0 1.25em; flex: 1; }
.resena blockquote p { margin: 0; font-size: 1.0625rem; }
.resena figcaption { display: flex; flex-direction: column; font-size: .9375rem; }
.resena figcaption span { color: var(--texto-suave); }
.resenas__mas { margin: 28px 0 0; }

/* Valoración de Google (alternativa a las reseñas cuando aún no hay permiso para copiarlas) */
.valoracion {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 28px;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
}
@media (min-width: 760px) {
  .valoracion { grid-template-columns: auto 1fr auto; gap: 36px; padding: 36px 40px; }
}
.valoracion__nota {
  margin: 0;
  font-family: var(--fuente-titulos);
  font-weight: var(--peso-titulos);
  font-size: clamp(3.25rem, 10vw, 4.5rem);
  line-height: 1;
}
.valoracion__texto p { margin: 0; }
.valoracion .resena__estrellas { font-size: 1.375rem; margin-bottom: .2em; }
.valoracion__total { color: var(--texto-suave); }
.temas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.temas li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--fondo-alt);
  font-size: .875rem;
}
.seccion--alt .temas li { background: var(--fondo); }

/* Horario y ubicación */
.visita { display: grid; gap: 16px; }
@media (min-width: 860px) {
  .visita { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.tarjeta {
  padding: 28px;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
}
.tarjeta h3 { display: flex; align-items: center; gap: .5em; }
.tarjeta h3 .icono { color: var(--primario); }
.tarjeta__nota { color: var(--texto-suave); font-size: .9375rem; margin: 1em 0 0; }
.tarjeta__nota:empty { display: none; }

.horario { width: 100%; border-collapse: collapse; }
.horario th, .horario td {
  padding: 10px 0;
  border-bottom: 1px solid var(--borde);
  text-align: left;
  font-weight: 400;
  vertical-align: top;
}
.horario td { text-align: right; }
.horario td span { display: block; white-space: nowrap; }
.horario .cerrado { color: var(--texto-suave); }
.horario tr.hoy th, .horario tr.hoy td { font-weight: 700; }
.horario .etiqueta-hoy {
  display: inline-block;
  margin-left: .5em;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--primario);
  color: var(--primario-contraste);
  font-size: .75rem;
  font-weight: 600;
  vertical-align: 2px;
}

.direccion { font-style: normal; margin-bottom: 1.25em; font-size: 1.125rem; }
.contacto { list-style: none; margin: 1.5em 0 0; padding: 0; }
.contacto li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.contacto .icono { color: var(--texto-suave); }
.contacto a { text-underline-offset: 4px; overflow-wrap: anywhere; }

/* Pie de página */
.pie {
  background: var(--texto);
  color: color-mix(in srgb, var(--fondo) 78%, transparent);
  padding-top: 56px;
  font-size: .9375rem;
}
.pie a { color: inherit; text-underline-offset: 3px; }
.pie a:hover { color: var(--fondo); }
.pie__dentro { display: grid; gap: 28px; }
@media (min-width: 760px) {
  .pie__dentro { grid-template-columns: 2fr 1fr 1fr; }
}
.pie__nombre {
  font-family: var(--fuente-titulos);
  font-weight: var(--peso-titulos);
  font-size: 1.375rem;
  color: var(--fondo);
  margin-bottom: .4em;
}
.pie__texto { margin: 0 0 .25em; }
.pie__contacto { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.redes { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; align-content: start; }
.redes a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--fondo) 30%, transparent);
}
.pie__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 40px;
  padding-top: 20px;
  padding-bottom: 96px; /* hueco para el botón flotante */
  border-top: 1px solid color-mix(in srgb, var(--fondo) 18%, transparent);
}
.pie__legal p { margin: 0; }
@media (min-width: 760px) {
  .pie__legal { padding-bottom: 28px; }
}

/* Botón flotante de WhatsApp */
.whatsapp-flotante {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 20px rgb(0 0 0 / .25);
  transition: transform .15s ease;
}
.whatsapp-flotante:hover { transform: scale(1.06); }
.whatsapp-flotante .icono { width: 30px; height: 30px; }

/* Páginas legales */
.legal { padding-block: 56px 96px; }
.legal .contenedor { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 6vw, 2.75rem); }
.legal h2 { font-size: 1.375rem; margin-top: 2em; }
.legal p, .legal li { color: var(--texto-suave); }
.legal strong { color: var(--texto); }
.falta { background: #ffe58a; color: #5a4300; padding: 0 4px; border-radius: 3px; font-weight: 600; }


/* ---------- 4. DETALLES DE CADA ESTILO ---------- */

/* Cálido: antetítulos en cursiva, carta con puntos guía, formas redondeadas */
[data-estilo="calido"] .antetitulo {
  font-family: var(--fuente-titulos);
  font-style: italic;
  font-size: 1.125rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--primario);
}
[data-portada="foto"][data-estilo="calido"] .portada .antetitulo { color: #f3d9a6; }
[data-estilo="calido"] .servicios__grupo {
  padding: 28px;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}
[data-estilo="calido"] .servicios__grupo h3 { border-bottom-color: var(--acento); font-size: 1.5rem; }
[data-estilo="calido"] .precios li { border-bottom: 0; padding: 10px 0; }
[data-estilo="calido"] .precios li::after {
  border-bottom: 2px dotted var(--borde);
  align-self: center;
  min-width: 20px;
}
[data-estilo="calido"] .precios .precio { color: var(--primario); }
[data-estilo="calido"] .resena { box-shadow: var(--sombra); border: 0; }
[data-estilo="calido"] .resena blockquote p { font-family: var(--fuente-titulos); font-size: 1.1875rem; }
[data-estilo="calido"] .tarjeta,
[data-estilo="calido"] .valoracion { box-shadow: var(--sombra); border: 0; }
[data-estilo="calido"] .marca__inicial { border-radius: 50%; }

/* Moderno: contraste alto, títulos grandes y apretados, líneas finas */
[data-estilo="moderno"] h1 { font-size: clamp(2.75rem, 11vw, 5.5rem); line-height: 1; }
[data-estilo="moderno"] .antetitulo::before {
  content: "";
  display: inline-block;
  width: 24px; height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--acento);
}
[data-estilo="moderno"] .resena blockquote p { font-size: 1.125rem; font-weight: 500; }

/* Serio: ordenado y sobrio, barra de color en los títulos, tarjetas con sombra suave */
[data-estilo="serio"] .antetitulo { color: var(--primario); letter-spacing: .1em; }
[data-portada="foto"][data-estilo="serio"] .portada .antetitulo { color: #bfe3ff; }
[data-estilo="serio"] .seccion__cabecera h2 {
  padding-left: 16px;
  border-left: 4px solid var(--acento);
}
[data-estilo="serio"] .servicios__grupo {
  padding: 24px 28px;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
}
[data-estilo="serio"] .servicios__grupo h3 { border-bottom: 1px solid var(--borde); color: var(--primario); }
[data-estilo="serio"] .precios li:last-child { border-bottom: 0; }
[data-estilo="serio"] .tarjeta, [data-estilo="serio"] .resena { box-shadow: var(--sombra); }
[data-estilo="serio"] .resena__estrellas { color: var(--acento); }


/* ---------- PANEL "PROBAR ESTILOS" (solo con ?probar en la dirección) ---------- */
.probador {
  position: fixed;
  left: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  gap: 8px;
  width: min(260px, calc(100vw - 100px));
  padding: 14px;
  background: #111;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgb(0 0 0 / .35);
  font: 14px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.probador strong { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.probador label { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 8px; }
.probador select, .probador input {
  font: inherit; color: #111;
  min-height: 32px; border-radius: 6px; border: 0; padding: 0 6px; width: 100%;
}
.probador input[type="color"] { padding: 2px; }
.probador small { color: #aaa; }
