﻿:root {
  --bg: #0a0908;
  --fg: #f2ede4;
  --fg-soft: #d9d2c7;
  --muted: #9a938a;
  --muted-2: #737373;
  --card: #171717;
  --card-2: #0f0e0d;
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.16);
  --accent-1: #e9c46a;
  --accent-2: #d69a3a;
  --on-accent: #1a1206;
  --accent-gradient: var(--accent-1);
  --red-bg: rgba(239, 68, 68, 0.1);
  --red-border: rgba(239, 68, 68, 0.4);
  --red-text: #f87171;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
.font-display {
  font-family: "Playfair Display", Georgia, serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.gold-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent-2) 70%, transparent), transparent);
  border: none;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border: none;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  box-shadow: none !important;
}

.btn-gold {
  background: var(--accent-gradient);
  color: var(--on-accent);
  box-shadow: 0 6px 24px color-mix(in srgb, var(--accent-2) 30%, transparent);
}

.btn-gold:hover:not(:disabled) {
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-soft);
}

.btn-outline:hover {
  border-color: var(--accent-2);
  color: var(--accent-1);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(8px);
}

.site-header .inner {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--card-2);
  flex-shrink: 0;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* Hero: si el negocio no cargó foto de portada, se ve un degradé propio
   del tema (background de acá abajo); si cargó una, "hero-bg" la tapa. */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 1.5rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 60%), var(--bg);
}

/* El <picture> es solo el envoltorio que elige la foto: "display: contents"
   lo saca del layout para que el <img> siga siendo hijo directo del .hero y
   se posicione igual que antes (si no, el picture mete una caja inline vacía
   dentro del flex del hero). No afecta a la elección de la foto, que es cosa
   del HTML y no del CSS. */
.hero-bg-picture {
  display: contents;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--bg) 28%, transparent);
}

.hero-overlay-glow {
  display: none;
}

.hero-overlay-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, var(--bg), transparent 22%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-ring {
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 1.25rem;
  background: var(--accent-gradient);
  box-shadow: 0 0 40px -8px color-mix(in srgb, var(--accent-2) 60%, transparent);
}

.hero-logo-ring .inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
  background: var(--card-2);
}

.hero-logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}

.hero .slogan {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: var(--fg-soft);
}

.hero .gold-divider {
  width: 6rem;
  margin: 1.5rem auto;
}

.hero .address {
  font-size: 0.875rem;
  color: var(--fg-soft);
  margin: 0;
}

.hero .btn {
  margin-top: 2.25rem;
  font-size: 1.125rem;
}

/* Complejos con plano: el plano ES la portada (sin recortar, para que las
   zonas marcadas por el dueño coincidan en cualquier pantalla), en vez del
   hero decorativo de fondo + botón "Reservar turno". Ocupa todo el ancho
   disponible (en vez del hero angosto de siempre) para que la foto se vea
   grande y las zonas sean fáciles de tocar también desde el celular. */
.hero.hero-plano-activo {
  min-height: 0;
  padding: 1.5rem 1rem 2.5rem;
}
.hero-plano {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-plano-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.75rem;
}
.hero-plano-head .hero-logo-ring {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.85rem;
}
.hero-plano-head h1 {
  font-size: 2rem;
}
.hero-plano-nota {
  color: var(--fg-soft);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}
@media (max-width: 560px) {
  .hero.hero-plano-activo { padding: 1.1rem 0.5rem 1.75rem; }
  .hero-plano-head .hero-logo-ring { width: 3.25rem; height: 3.25rem; margin-bottom: 0.6rem; }
  .hero-plano-head h1 { font-size: 1.4rem; }
  .hero-plano-nota { font-size: 0.85rem; margin-bottom: 0.75rem; }
}

/* Booking section */
.booking-section {
  padding: 4rem 1.5rem;
}

.booking-section .inner {
  max-width: 34rem;
  margin: 0 auto;
}

.booking-section h2 {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 2rem;
}

/* Complejos deportivos: invitación a festejar cumpleaños/eventos, con
   botón directo a WhatsApp. */
.cumples-section {
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: color-mix(in srgb, var(--accent-1) 6%, transparent);
}
.cumples-section .inner {
  max-width: 34rem;
  margin: 0 auto;
}
.cumples-section h2 {
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}
.cumples-section p {
  color: var(--fg-soft);
  margin: 0 0 1.5rem;
}

.wizard-card {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  box-shadow: 0 0 60px -15px rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .wizard-card {
    padding: 2rem;
  }
}

/* Step indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.step-indicator .step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-dot {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--fg) 8%, transparent);
  color: var(--muted);
}

.step-dot.active,
.step-dot.done {
  background: var(--accent-gradient);
  color: var(--on-accent);
}

.step-label {
  display: none;
  font-size: 0.875rem;
  color: var(--muted);
}

.step-label.active {
  color: var(--fg);
}

@media (min-width: 640px) {
  .step-label {
    display: inline;
  }
}

.step-line {
  width: 1.5rem;
  height: 1px;
  background: var(--border);
}

.step-line.done {
  background: linear-gradient(90deg, var(--accent-2), color-mix(in srgb, var(--accent-2) 30%, transparent));
}

@media (min-width: 640px) {
  .step-line {
    width: 2.5rem;
  }
}

/* Step panels */
.step-panel {
  display: none;
}

.step-panel.visible {
  display: grid;
  gap: 1.5rem;
}

.service-list {
  display: grid;
  gap: 0.75rem;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card-2);
  padding: 1rem 1.25rem;
  text-align: left;
  color: inherit;
}

.service-item:hover {
  border-color: color-mix(in srgb, var(--accent-2) 60%, transparent);
}

.service-item .name {
  font-weight: 600;
  min-width: 0;
  word-break: break-word;
}

.service-item .price {
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

/* La pone script.js sólo cuando NINGÚN servicio de la lista tiene precio
   (p. ej. modo WhatsApp): ahí centrar el botón entero evita el hueco vacío a
   la derecha y la lista queda uniforme. Si algunos tienen precio y otros no,
   los sin precio NO llevan esta clase — centrarlos los desalinearía de la
   columna que arman los demás. Con nombres largos el texto igual envuelve
   prolijo (word-break arriba + ancho acotado). */
.service-item.no-price {
  justify-content: center;
  text-align: center;
}

.service-item.no-price .name {
  max-width: 85%;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-soft);
}

.field input,
.field select,
.field textarea {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card-2);
  color: var(--fg);
  padding: 0.75rem 1rem;
  font: inherit;
  color-scheme: inherit;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}

/* Los textarea (ej. el comentario de la reseña) solo se pueden agrandar
   hacia abajo con el tirador de la esquina — hacia los costados no, para
   que no se ensanche la tarjeta que lo contiene. */
.field textarea {
  resize: vertical;
}

.field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card-2);
  padding: 0.75rem 1rem;
}

.summary-box .details {
  font-size: 0.875rem;
  color: var(--fg-soft);
}

.summary-box .details strong {
  color: var(--fg);
}

.summary-box button {
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-1);
}

.summary-box button:hover {
  text-decoration: underline;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .slots-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.slot-btn {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card-2);
  color: var(--fg-soft);
  padding: 0.5rem 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.slot-btn:hover {
  border-color: color-mix(in srgb, var(--accent-2) 60%, transparent);
}

.slot-btn.selected {
  border-color: transparent;
  background: var(--accent-gradient);
  color: var(--on-accent);
}

/* Esqueleto de carga: mismo tamaño/forma que los botones de hora reales,
   así la sección no queda vacía un instante mientras se busca disponibilidad
   — solo visual, no reemplaza ninguna lógica de datos. */
.slot-skeleton {
  display: block;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--card-2);
  border: 1px solid var(--border);
  animation: slot-skeleton-pulso 1.1s ease-in-out infinite;
}

@keyframes slot-skeleton-pulso {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .slot-skeleton { animation: none; opacity: 0.7; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muted-note {
  font-size: 0.875rem;
  color: var(--muted-2);
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.step-actions .btn {
  flex: 1;
}

.step-actions .btn-outline {
  flex: 0 0 auto;
}

.error-box {
  border-radius: 0.5rem;
  border: 1px solid var(--red-border);
  background: var(--red-bg);
  color: var(--red-text);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.confirm-panel {
  text-align: center;
  animation: confirm-panel-in 0.4s ease-out;
}

@keyframes confirm-panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tilde animada: el círculo y el visto se "dibujan" solos apenas se
   muestra la confirmación (dashoffset de 0 a la longitud real del trazo). */
.confirm-check {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
}
.confirm-check svg {
  width: 100%;
  height: 100%;
}
.confirm-check-circle {
  stroke: var(--accent-1);
  stroke-width: 2;
  stroke-dasharray: 152;
  stroke-dashoffset: 152;
  animation: confirm-draw 0.5s ease-out forwards;
}
.confirm-check-mark {
  stroke: var(--accent-1);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: confirm-draw 0.35s 0.45s ease-out forwards;
}
@keyframes confirm-draw {
  to { stroke-dashoffset: 0; }
}

/* Cruz para "el pago no se completó": oculta por defecto, un tilde no puede
   representar un fallo o alguien podría pensar que igual quedó todo bien. */
.confirm-check-cross {
  display: none;
  stroke: #e05252;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
  animation: confirm-draw 0.35s 0.45s ease-out forwards;
}
.confirm-check.es-error .confirm-check-mark {
  display: none;
}
.confirm-check.es-error .confirm-check-cross {
  display: inline;
}
.confirm-check.es-error .confirm-check-circle {
  stroke: #e05252;
}

@media (prefers-reduced-motion: reduce) {
  .confirm-panel,
  .confirm-check-circle,
  .confirm-check-mark {
    animation: none;
  }
  .confirm-check-circle,
  .confirm-check-mark {
    stroke-dashoffset: 0;
  }
}

/* Botón con spinner mientras se procesa la reserva: el texto queda para
   lectores de pantalla (sigue en el DOM), solo se hace invisible y se
   dibuja un círculo girando encima. */
.btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.1rem;
  height: 1.1rem;
  margin: -0.55rem 0 0 -0.55rem;
  border: 2px solid var(--on-accent);
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::after { animation: none; }
}

.confirm-panel h3 {
  font-size: 1.5rem;
  margin: 0;
}

.confirm-panel p {
  margin: 0.75rem 0 0;
  color: var(--fg-soft);
}

.confirm-panel .note {
  font-size: 0.875rem;
  color: var(--muted-2);
  margin-top: 0.5rem;
}

.confirm-panel .btn {
  margin-top: 1.5rem;
}

.hidden {
  display: none !important;
}

/* Footer */
.site-footer {
  padding: 3rem 1.5rem 2rem;
}

.site-footer .gold-divider {
  max-width: 72rem;
  margin: 0 auto 2.5rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand .name {
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-brand p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--fg-soft);
}

.footer-links a:hover {
  color: var(--accent-1);
}

.footer-copy {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Acceso del dueño al panel: discreto, casi invisible hasta que pasás el
   mouse por encima (o lo tocás en el celular), para no ensuciar el pie de
   página que ven los clientes. */
.footer-panel-link {
  display: block;
  margin: 0.75rem auto 0;
  text-align: center;
  font-size: 0.7rem;
  color: #3a3a3a;
  text-decoration: none;
  width: fit-content;
}

.footer-panel-link:hover {
  color: var(--muted, #a3a3a3);
  text-decoration: underline;
}

/* Firma "Hecho por Reservauy": discreta pero visible, lleva a nuestra
   landing — cada página de un negocio es también nuestra publicidad. */
.footer-hecho-por {
  display: block;
  margin: 0.5rem auto 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted, #a3a3a3);
  text-decoration: none;
  width: fit-content;
}

.footer-hecho-por strong {
  color: var(--accent-1, #f6d78e);
  font-weight: 600;
}

.footer-hecho-por:hover {
  text-decoration: underline;
}

/* Enlaces a la política de privacidad y a los términos (pie y registro). */
.footer-legal {
  margin: 0.4rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted, #a3a3a3);
}
.footer-legal a,
.legal-nota a {
  color: inherit;
  text-decoration: underline;
}
.legal-nota {
  font-size: 0.8rem;
  margin: 0.4rem 0 0;
}

/* ===== Calendario con cupos (flujo peluquero → servicio → día → hora) ===== */
.cal-card {
  background: color-mix(in srgb, var(--fg) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-1) 18%, transparent);
  border-radius: 14px;
  padding: 1rem 1rem 0.75rem;
  margin-bottom: 1.25rem;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.cal-head span {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.cal-head button {
  background: none;
  border: 1px solid color-mix(in srgb, var(--accent-1) 30%, transparent);
  color: inherit;
  border-radius: 8px;
  width: 2rem;
  height: 2rem;
  font-size: 1.1rem;
  cursor: pointer;
}
.cal-head button:disabled { opacity: 0.25; cursor: default; }
.cal-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.55;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.cal-cargando { grid-column: 1 / -1; text-align: center; }
.cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 10px;
  background: color-mix(in srgb, var(--fg) 5%, transparent);
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  font-size: 0.9rem;
}
.cal-day .n { font-weight: 600; }
.cal-day .cupos { font-size: 0.62rem; color: var(--accent-1); font-weight: 700; }
.cal-day .tag { font-size: 0.6rem; color: #d06a5f; font-weight: 700; }
.cal-day:not(:disabled):hover { border-color: color-mix(in srgb, var(--accent-1) 50%, transparent); }
.cal-day.selected {
  border-color: var(--accent-1);
  background: color-mix(in srgb, var(--accent-1) 12%, transparent);
}
.cal-day.pasado, .cal-day.cerrado { opacity: 0.28; cursor: default; }
.cal-day.cerrado .tachado { text-decoration: line-through; }
.cal-day.sinlugar, .cal-day.feriado { opacity: 0.55; cursor: default; }
.cal-day.feriado .tag { color: #e0b13c; }
.cal-legend {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  font-size: 0.65rem;
  opacity: 0.6;
  padding: 0.6rem 0.2rem 0.4rem;
}
.cal-legend em { font-style: normal; color: #d06a5f; }
.cal-legend em.feriado { color: #e0b13c; }
.cal-legend s { opacity: 0.8; }

.slots-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.slots-count { color: var(--accent-1); font-size: 0.8rem; font-weight: 700; }
.slot-btn.ocupado {
  opacity: 0.4;
  cursor: default;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.slot-btn.ocupado small { font-size: 0.55rem; letter-spacing: 0.08em; text-transform: uppercase; }

.service-item .duration {
  display: block;
  font-size: 0.7rem;
  opacity: 0.55;
  margin-top: 2px;
}
.barber-item { display: flex; align-items: center; gap: 0.8rem; }
.barber-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--accent-1) 40%, transparent);
  flex-shrink: 0;
}
.barber-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-1) 12%, transparent);
  color: var(--accent-1);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Complejos deportivos (canchas): el primer paso muestra cada cancha como
   una ficha grande con foto (en vez de la lista compacta de peluqueros),
   así se ve de un vistazo qué se puede reservar. */
.tipo-canchas #barber-list.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 1rem;
}
.tipo-canchas .barber-item {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.tipo-canchas .barber-photo {
  width: 100%;
  height: 8.5rem;
  border-radius: 0;
  border: none;
}
.tipo-canchas .barber-initial {
  width: 100%;
  height: 8.5rem;
  border-radius: 0;
  font-size: 2rem;
}
.tipo-canchas .barber-item .name {
  padding: 0.85rem 1rem;
  font-weight: 700;
  text-align: center;
}

/* Plano clickeable (opcional, por negocio): en vez de fichas, una foto
   aérea/plano con una zona marcada por cancha. Las zonas se posicionan en
   porcentaje (0–1) sobre el ancho/alto real de la imagen, así funciona a
   cualquier tamaño de pantalla sin recalcular nada. */
.plano-wrap { margin-bottom: 1.25rem; }
.plano-nota {
  text-align: center;
  margin: 0 0 0.6rem;
}
.plano-img-wrap-site {
  position: relative;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.plano-img-wrap-site img {
  display: block;
  width: 100%;
  height: auto;
}
#plano-hotspots,
#hero-plano-hotspots {
  position: absolute;
  inset: 0;
}
.plano-hotspot {
  position: absolute;
  border: 2px solid color-mix(in srgb, var(--accent-1) 45%, transparent);
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  /* El propio fondo es el recorte de esa cancha dentro de la misma foto
     (calculado en script.js, ver aplicarRecortePlano) — así lo que se
     agranda con hover/toque es la cancha en sí, no un rectángulo vacío
     encima de la foto. background-origin en border-box para que el recorte
     coincida en px con el borde, no con el padding-box. */
  background-repeat: no-repeat;
  background-origin: border-box;
  background-clip: border-box;
  z-index: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  /* Respiración sutil y constante: en el celular no existe el ":hover" que
     avisa "esto se puede tocar", así que un pulso lento y permanente ayuda
     a notar las zonas clickeables del plano sin necesidad de pasar el
     mouse. */
  animation: plano-hotspot-respirar 2.4s ease-in-out infinite;
}
.plano-hotspot:hover,
.plano-hotspot:focus-visible {
  border-color: var(--accent-1);
  transform: scale(1.06);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.55), 0 0 0 3px color-mix(in srgb, var(--accent-1) 40%, transparent);
  z-index: 5;
  animation-play-state: paused;
}
.plano-hotspot:active {
  transform: scale(1.02);
}
@keyframes plano-hotspot-respirar {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-1) 22%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-1) 0%, transparent); }
}
/* "Levantada" más marcada al tocar/cliquear (se agrega y saca solita desde
   script.js), para confirmar que el toque se registró antes de pasar a la
   pantalla siguiente. */
.plano-hotspot.toque {
  z-index: 5;
  animation: plano-hotspot-toque 0.4s ease;
}
@keyframes plano-hotspot-toque {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-1) 55%, transparent);
  }
  40% {
    transform: scale(1.08);
    box-shadow: 0 18px 34px -10px rgba(0, 0, 0, 0.6), 0 0 0 3px color-mix(in srgb, var(--accent-1) 55%, transparent);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  .plano-hotspot {
    animation: none;
    transition: none;
  }
  .plano-hotspot:hover,
  .plano-hotspot:focus-visible,
  .plano-hotspot:active {
    transform: none;
  }
  .plano-hotspot.toque {
    animation: none;
    border-color: var(--accent-1);
  }
}
.plano-hotspot span {
  background: color-mix(in srgb, var(--card) 85%, transparent);
  color: var(--fg);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  text-align: center;
  pointer-events: none;
}

/* ===== Ventana de reserva (overlay que abre el botón "Reservar") ===== */
.reserva-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
  padding: 2.5rem 1rem 3rem;
}
.reserva-overlay.hidden { display: none; }
.reserva-dialog {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.reserva-dialog > h2 {
  text-align: center;
  margin-bottom: 1.2rem;
  padding: 0 2.75rem;
}
.reserva-close {
  position: absolute;
  top: -0.6rem;
  right: 0;
  z-index: 2;
  background: none;
  border: 1px solid color-mix(in srgb, var(--accent-1) 35%, transparent);
  color: inherit;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1rem;
  cursor: pointer;
}
.reserva-close:hover { border-color: var(--accent-1); }

/* ===== Código de reserva + Ver tu reserva ===== */
.header-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
/* En el celular, con la cuenta iniciada hay varios items; compactamos para
   que la marca y el botón "Reservar" no se corten. */
.brand { min-width: 0; }
@media (max-width: 560px) {
  .site-header .inner { padding: 0.55rem 1rem; gap: 0.5rem; }
  .header-actions { gap: 0.6rem; }
  .cliente-saludo { display: none; }
  .brand-name { font-size: 0.95rem; line-height: 1.15; }
  .link-plain { letter-spacing: 0.05em; font-size: 0.68rem; }
  .site-header .btn-small { padding: 0.4rem 0.9rem; font-size: 0.78rem; }
}
.link-plain {
  background: none;
  border: none;
  color: inherit;
  opacity: 0.75;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.link-plain:hover { opacity: 1; color: var(--accent-1); }
.mr-card {
  border: 1px solid color-mix(in srgb, var(--accent-1) 25%, transparent);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mr-card strong { color: var(--accent-1); font-size: 1.05rem; }
.mr-card small { opacity: 0.6; }

/* Reserva con la seña sin pagar: tiene que saltar a la vista, no perderse
   entre el resto de los datos del turno (por eso no lleva el opacity de los
   "small" comunes). */
.mr-card small.aviso-sena {
  opacity: 1;
  display: block;
  margin: 0.5rem 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.5rem;
  line-height: 1.4;
  color: #b45309;
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.35);
}
.mr-card small.aviso-sena-vencida {
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.35);
}
.mr-cancelar { margin-top: 0.5rem; align-self: flex-start; }
.mr-cambiar-nota { opacity: 0.5; }
.mt-acciones { display: flex; gap: 0.5rem; margin-top: 0.6rem; flex-wrap: wrap; }
.mt-acciones .btn { margin-top: 0; }

/* ===== Login / registro de cliente ===== */
.cliente-saludo { font-size: 0.8rem; opacity: 0.85; }
.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.auth-tab {
  flex: 1;
  background: var(--card-2);
  border: 1px solid var(--border);
  color: inherit;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.auth-tab.active {
  border-color: transparent;
  background: var(--accent-gradient);
  color: var(--on-accent);
}
.auth-form { display: grid; gap: 1rem; }
.link-inline {
  background: none;
  border: none;
  color: var(--accent-1);
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
  padding: 0;
  justify-self: center;
}
.link-inline:hover { text-decoration: underline; }

/* ==========================================================================
   Estilos visuales opcionales (además del color). Se activan agregando la
   clase "style-vidrio" o "style-textura" al <body> (ver script.js) según lo
   que elija el super-admin para ese negocio. Sin ninguna de las dos clases
   (o sea, "clasico"), nada de esto aplica — el sitio queda EXACTAMENTE
   como está hoy para todos los negocios existentes.
   ========================================================================== */

/* ---- Vidrio: tarjetas con efecto esmerilado (glass) ---- */
body.style-vidrio .wizard-card,
body.style-vidrio .cal-card,
body.style-vidrio .mr-card {
  background: color-mix(in srgb, var(--card) 55%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid color-mix(in srgb, var(--fg) 14%, transparent);
  box-shadow:
    0 20px 50px -20px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 color-mix(in srgb, var(--fg) 10%, transparent);
}
body.style-vidrio .slot-btn {
  background: color-mix(in srgb, var(--card-2) 55%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
}
body.style-vidrio .slot-btn.selected {
  /* Sin este "background" acá, el de ".slot-btn" de arriba (fondo
     translúcido clarito) le gana por especificidad — el horario elegido
     quedaba con letra blanca sobre un fondo casi blanco, invisible. */
  background: var(--accent-gradient);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ---- Textura: botones con relieve/brillo ---- */
body.style-textura .btn-gold {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 6px 24px color-mix(in srgb, var(--accent-2) 40%, transparent),
    inset 0 1px 0 color-mix(in srgb, #fff 35%, transparent),
    inset 0 -2px 4px color-mix(in srgb, #000 15%, transparent);
}
body.style-textura .btn-gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    color-mix(in srgb, #fff 45%, transparent),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
body.style-textura .btn-gold:hover:not(:disabled)::after {
  left: 130%;
}
body.style-textura .slot-btn.selected {
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 30%, transparent), inset 0 -2px 4px color-mix(in srgb, #000 15%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  body.style-textura .btn-gold::after {
    transition: none;
  }
}

/* ---- Editorial: composición asimétrica y tipografía grande, pensado para
   rubros de belleza/diseño que quieren un look de revista en vez de "app".
   Solo toca tipografía de título, el acento de color y la composición del
   hero/listas — el fondo y el texto siguen siendo los del tema que eligió
   el negocio (no reemplaza el tema, se monta arriba). ---- */
body.style-editorial {
  --accent-1: #c17a4e;
  --accent-2: #9c5a30;
  --on-accent: #fff8f0;
  --accent-gradient: var(--accent-1);
}

body.style-editorial h1,
body.style-editorial h2,
body.style-editorial h3,
body.style-editorial .font-display {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
}

body.style-editorial .brand-logo {
  border-radius: 6px;
}
body.style-editorial .brand-name {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.92rem;
}

/* El contenido del hero se corre a la izquierda en vez de quedar centrado */
body.style-editorial .hero {
  justify-content: flex-start;
  text-align: left;
  padding: 3rem 1.75rem 4rem;
}
body.style-editorial .hero-overlay-dim {
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--bg) 80%, transparent) 0%,
    color-mix(in srgb, var(--bg) 25%, transparent) 60%,
    transparent 100%
  );
}
body.style-editorial .hero-content {
  align-items: flex-start;
  max-width: 24rem;
  margin: 0;
}
body.style-editorial .hero-logo-ring {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 10px;
}
body.style-editorial .hero-logo-ring .inner {
  border-radius: 7px;
}
body.style-editorial .hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-weight: 600;
}
body.style-editorial .hero .slogan {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-1);
  margin-top: 1rem;
}
body.style-editorial .hero .gold-divider {
  margin: 1.5rem 0;
  width: 3rem;
  height: 2px;
  background: var(--accent-1);
}
body.style-editorial .hero .address {
  font-size: 0.82rem;
}
body.style-editorial .hero .btn {
  margin-top: 2rem;
  border-radius: 2px;
  padding: 1rem 2.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
@media (min-width: 640px) {
  body.style-editorial .hero {
    min-height: 82vh;
  }
}

/* Títulos de sección alineados a la izquierda en vez de centrados */
body.style-editorial .booking-section h2,
body.style-editorial .resenas-section h2 {
  text-align: left;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 600;
}

/* Servicios: lista con línea fina en vez de tarjetas con borde completo */
body.style-editorial .service-item {
  border: none;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0;
  background: transparent;
  padding: 1.15rem 0.1rem;
}
body.style-editorial .service-item:hover {
  border-bottom-color: var(--accent-1);
}
body.style-editorial .service-item .name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.05rem;
}
body.style-editorial .service-item .price {
  font-weight: 400;
  color: var(--muted);
}

body.style-editorial .btn-gold {
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---- Reseñas ---- */
.resenas-section {
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border-soft);
}
.resenas-section .inner {
  max-width: 64rem;
  margin: 0 auto;
}
.resenas-section h2 {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 2rem;
}

/* Cuadraditos lado a lado (como una cuadrícula de fotos), ocupando todo el
   ancho disponible; se acomodan solos según el tamaño de pantalla. Se
   muestra como máximo la cantidad que devuelve el servidor (9, ver
   getApprovedReviews en src/lib/db.js) para que la sección no crezca sin
   límite. Son anónimas a propósito: solo estrellas + comentario, sin nombre. */
.resenas-lista {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.resena-card {
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card-2);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  overflow: hidden;
  /* Estado inicial oculto: aparecen con un fundido al entrar en pantalla al
     scrollear (ver IntersectionObserver en script.js), igual que hicimos en
     la landing. */
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.resena-card.resena-revelada {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .resena-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* Nombre de quien dejó la reseña, arriba de todo. Se recorta con "..." en vez
   de partirse en dos líneas: la tarjeta es cuadrada y el espacio es justo. */
.resena-card .resena-nombre {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--fg);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.resena-card .resena-estrellas-fijas {
  color: var(--accent-2);
  letter-spacing: 0.1em;
  font-size: 1rem;
}
.resena-card p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 0.85rem;
  line-height: 1.4;
  display: -webkit-box;
  /* 3 líneas y no 4: el nombre nuevo se comió una. */
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Reseñas que el dueño importó de otra plataforma desde su panel: van con un
   "vía Google" chiquito al pie para que se entienda que no las dejaron acá.
   Las reseñas propias no llevan nada. */
.resena-origen {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
  opacity: 0.7;
}

/* Más chico y compacto a propósito: las reseñas de arriba son el
   protagonista de la sección; esto es solo un llamado corto a dejar la tuya. */
.resena-form-card {
  max-width: 24rem;
  margin: 0 auto;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  padding: 1.1rem 1.25rem;
}
.resena-form-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}
.resena-form-card #resena-form-nota {
  margin: 0 0 0.6rem;
  font-size: 0.825rem;
}
.resena-form-card form {
  display: grid;
  gap: 0.75rem;
}
.resena-form-card .field label {
  font-size: 0.8rem;
}
.resena-form-card textarea {
  min-height: 3.5rem;
}
.resena-form-card .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.resena-estrellas {
  display: flex;
  gap: 0.4rem;
  font-size: 1.5rem;
  line-height: 1;
}
.resena-estrella {
  background: none;
  border: none;
  padding: 0;
  color: color-mix(in srgb, var(--fg) 18%, transparent);
  transition: color 0.15s ease, transform 0.1s ease;
}
.resena-estrella:hover {
  transform: scale(1.08);
}
.resena-estrella.activa {
  color: var(--accent-2);
}


/* ===== Servicios con anticipación (color, mechas…) ===== */
/* Días del calendario demasiado cercanos: apagados y tachados, como cerrado. */
.cal-day.anticipacion { opacity: 0.28; cursor: default; }
.cal-day.anticipacion .tachado { text-decoration: line-through; }

.aviso-prep {
  margin: 0.2rem 0 0.9rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--fg-soft);
}

/* Antes de reservar: tiene que verse como un aviso, no como una nota más. */
.aviso-wa-previo {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--accent-1);
  background: rgba(224, 177, 60, 0.1);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--fg);
}
.aviso-wa-previo strong { color: var(--accent-1); }

/* Confirmación con paso pendiente: el ícono es un signo de exclamación (un
   tilde diría "ya está todo hecho", y todavía falta mandar el WhatsApp). */
.confirm-check-alert {
  display: none;
  stroke: #e0b13c;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
  animation: confirm-draw 0.35s 0.45s ease-out forwards;
}
.confirm-check.es-aviso .confirm-check-mark { display: none; }
.confirm-check.es-aviso .confirm-check-alert { display: inline; }
.confirm-check.es-aviso .confirm-check-circle { stroke: #e0b13c; }

.confirm-wa {
  margin: 1.25rem 0 0;
  padding: 1.1rem 1rem 1rem;
  border-radius: 1rem;
  border: 1px solid #e0b13c;
  background: rgba(224, 177, 60, 0.1);
}
.confirm-wa .confirm-wa-texto { margin: 0; color: var(--fg); font-weight: 600; line-height: 1.45; }
.confirm-wa .btn-wa {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.05rem;
  text-align: center;
}
.confirm-wa .confirm-wa-sub { margin: 0.7rem 0 0; font-size: 0.8rem; color: var(--muted); }
/* Con el paso pendiente, "Hacer otra reserva" pasa a segundo plano: lo
   llamativo tiene que ser el botón de WhatsApp. */
.confirm-panel.con-wa #btn-reiniciar {
  margin-top: 1.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Recordatorio del WhatsApp pendiente dentro de "Ver tu reserva" / "Mis turnos". */
.mr-aviso-wa {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.6rem 0 0.2rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.6rem;
  border: 1px solid #e0b13c;
  background: rgba(224, 177, 60, 0.1);
}
.mr-aviso-wa small { color: var(--fg); line-height: 1.4; }

/* ===== Pulido para celular: tamaños táctiles y legibilidad ===== */
.cal-day .cupos { font-size: 0.7rem; }
.service-item .duration { font-size: 0.75rem; }
.resena-origen { font-size: 0.75rem; }
@media (max-width: 640px) {
  /* Botones y enlaces de la cabecera, el "Cambiar" de los resúmenes y los links
     del pie: eran de 17 a 28px de alto, muy chicos para tocar con el dedo. */
  .link-plain { padding: 0.8rem 0.4rem; }
  .header-actions .btn-small { min-height: 2.5rem; }
  .summary-box button { padding: 0.7rem 0.5rem; }
  .footer-links a { display: inline-block; padding: 0.5rem 0.25rem; }
  /* Estrellas para calificar: de 20px de ancho a un área cómoda de tocar. */
  .resena-estrellas { gap: 0; }
  .resena-estrella { width: 2.6rem; height: 2.6rem; font-size: 1.9rem; display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 640px) {
  /* Enlaces discretos del pie (acceso del negocio, firma, privacidad, términos). */
  .footer-panel-link, .footer-hecho-por { display: block; padding: 0.55rem 0.75rem; font-size: 0.78rem; }
  .footer-legal a { display: inline-block; padding: 0.55rem 0.4rem; }
}
@media (max-width: 640px) {
  .link-inline { padding: 0.7rem 0.5rem; }
}

/* ===== Estilo a medida "unamas" (Unamasuna Estética) =====
   Diseño hecho para ese negocio (salvia, beige y carbón, como su logo).
   script.js (pintarEstiloUnamas) agrega la portada, la carta y "dónde
   estamos"; acá se viste todo, incluida la ventana de reserva — que sigue
   siendo la misma de siempre. Solo aplica con body.style-unamas. */
body.style-unamas {
  --um-bone: #f2ede1;
  --um-ink: #24221f;
  --um-ink-soft: #5a564f;
  --um-line: rgba(36, 34, 31, 0.18);
  --um-sage: #aeb59e;
  --um-moss: #4f5944;
  --um-clay: #e5cbb8;
  --um-ochre: #b9843a;
  --um-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --um-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --um-mono: "DM Mono", ui-monospace, Menlo, monospace;
  --um-frame: 38px;
  --bg: var(--um-bone);
  --fg: var(--um-ink);
  --fg-soft: var(--um-ink-soft);
  --muted: #7a756c;
  --card: #e9e3d4;
  --card-2: #f7f3ea;
  --border: rgba(36, 34, 31, 0.14);
  --border-soft: rgba(36, 34, 31, 0.2);
  --accent-1: var(--um-moss);
  --accent-2: var(--um-moss);
  --on-accent: var(--um-bone);
  --accent-gradient: var(--um-moss);
  background: var(--um-bone);
  color: var(--um-ink);
  font-family: var(--um-sans);
  -webkit-font-smoothing: antialiased;
}
body.style-unamas h1,
body.style-unamas h2,
body.style-unamas h3,
body.style-unamas .font-display {
  font-family: var(--um-display);
  font-weight: 400;
}

/* Cabecera */
body.style-unamas .site-header { background: color-mix(in srgb, var(--um-bone) 90%, transparent); }
body.style-unamas .site-header .inner { max-width: 1180px; padding: 1rem clamp(16px, 4vw, 48px); }
body.style-unamas .site-header .gold-divider { background: var(--um-line); }
body.style-unamas .brand-logo { border-radius: 0; background: transparent; width: 38px; height: 38px; }
body.style-unamas .brand-logo img { object-fit: contain; }
body.style-unamas .brand-name {
  font-family: var(--um-display);
  font-weight: 400;
  font-size: 1.35rem;
  background: none;
  color: var(--um-ink);
}
body.style-unamas .header-actions .btn-small {
  background: transparent;
  color: var(--um-ink);
  border: 1.5px solid var(--um-ink);
  box-shadow: none;
  font-family: var(--um-mono);
  font-weight: 500;
}
body.style-unamas .header-actions .btn-small:hover { background: var(--um-ink); color: var(--um-bone); filter: none; }

/* Portada: se reemplaza la de siempre por la propia */
body.style-unamas .hero {
  display: block;
  min-height: 0;
  padding: 0;
  text-align: left;
  background: var(--um-bone);
  overflow: visible;
}
body.style-unamas .hero-bg-picture,
body.style-unamas .hero-overlay-dim,
body.style-unamas .hero-overlay-glow,
body.style-unamas .hero-overlay-fade,
body.style-unamas #hero-content-normal {
  display: none !important;
}
body.style-unamas .um-wrap,
body.style-unamas .um-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 48px);
}
body.style-unamas .um-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding-block: clamp(24px, 5vw, 64px) clamp(48px, 7vw, 96px);
}
body.style-unamas .um-word {
  font-family: var(--um-display);
  font-weight: 400;
  font-size: clamp(64px, 11.5vw, 168px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--um-ink);
}
body.style-unamas .um-word .l { display: block; }
body.style-unamas .um-word .l2 { padding-left: 0.9em; font-style: italic; color: var(--um-moss); }
body.style-unamas .um-word .l3 { padding-left: 0.35em; }
body.style-unamas .um-word .plus {
  font-family: var(--um-sans);
  font-style: normal;
  color: var(--um-ochre);
  font-size: 0.55em;
  vertical-align: 0.32em;
  margin-right: 0.12em;
}
body.style-unamas .um-sub {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 520px;
}
body.style-unamas .um-sub .eq {
  font-family: var(--um-mono);
  font-size: 13px;
  color: var(--um-ink-soft);
  white-space: nowrap;
  padding-top: 4px;
}
body.style-unamas .um-sub p { margin: 0; font-size: 19px; line-height: 1.45; text-wrap: balance; }
body.style-unamas .um-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 32px; }
body.style-unamas .um-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--um-ink);
  color: var(--um-bone);
  border: 0;
  border-radius: 999px;
  padding: 16px 26px;
  font: 500 15px var(--um-sans);
  cursor: pointer;
}
body.style-unamas .um-btn:hover { background: var(--um-moss); }
body.style-unamas .um-btn .arr { font-family: var(--um-mono); }
body.style-unamas .um-link {
  font-size: 14px;
  color: var(--um-ink-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--um-line);
}
body.style-unamas .um-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: var(--um-frame);
  overflow: hidden;
  background: var(--um-sage);
}
body.style-unamas .um-illu {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 18% 50%;
  mix-blend-mode: multiply;
  opacity: 0.9;
}
body.style-unamas .um-mono {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  transform: translate(-50%, -50%);
  aspect-ratio: 3 / 4;
  border-radius: calc(var(--um-frame) * 0.8);
  background: var(--um-bone);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px -30px rgba(36, 34, 31, 0.45);
}
body.style-unamas .um-mono img { width: 118%; max-width: none; }
body.style-unamas .um-tag {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--um-mono);
  font-size: 12px;
}
body.style-unamas .um-tag span { background: var(--um-bone); border-radius: 999px; padding: 6px 12px; }

/* Franja con los servicios */
body.style-unamas .um-strip { border-block: 1px solid var(--um-line); overflow: hidden; }
body.style-unamas .um-strip-inner {
  display: flex;
  gap: 40px;
  width: max-content;
  padding-block: 16px;
  white-space: nowrap;
  font-family: var(--um-display);
  font-style: italic;
  font-size: 22px;
  animation: um-slide 40s linear infinite;
}
body.style-unamas .um-strip-inner i { font-style: normal; font-family: var(--um-sans); color: var(--um-ochre); }
@keyframes um-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  body.style-unamas .um-strip-inner { animation: none; }
}

/* Secciones propias */
body.style-unamas .um-sec { padding-block: clamp(64px, 9vw, 120px); }
body.style-unamas .um-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: baseline;
}
body.style-unamas .um-kicker {
  font-family: var(--um-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--um-ink-soft);
}
body.style-unamas .um-title {
  font-family: var(--um-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
body.style-unamas .um-title em { color: var(--um-moss); }
body.style-unamas .um-carta-grid { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
body.style-unamas .um-carta-side { margin: 0; font-size: 14px; color: var(--um-ink-soft); line-height: 1.6; }
body.style-unamas .um-item {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  gap: 14px;
  align-items: baseline;
  padding: 18px 4px;
  border: 0;
  border-bottom: 1px solid var(--um-line);
  background: none;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s, padding 0.2s, color 0.2s;
}
body.style-unamas .um-item:hover {
  background: var(--um-ink);
  color: var(--um-bone);
  padding-inline: 14px;
  border-radius: 14px;
  border-bottom-color: transparent;
}
body.style-unamas .um-item .n,
body.style-unamas .um-item .dur { font-family: var(--um-mono); font-size: 12px; color: var(--um-ink-soft); }
body.style-unamas .um-item:hover .n,
body.style-unamas .um-item:hover .dur { color: var(--um-sage); }
body.style-unamas .um-item .nm { font-size: 19px; font-weight: 500; }
body.style-unamas .um-item .pr {
  font-family: var(--um-mono);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  min-width: 74px;
  text-align: right;
}
body.style-unamas .um-lugar-sec { padding-top: 0; }
body.style-unamas .um-lugar {
  background: var(--um-clay);
  border-radius: var(--um-frame);
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
body.style-unamas .um-addr {
  font-family: var(--um-display);
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
body.style-unamas .um-links { display: flex; flex-wrap: wrap; gap: 10px; }
body.style-unamas .um-links a {
  font-family: var(--um-mono);
  font-size: 13px;
  border: 1.5px solid var(--um-ink);
  border-radius: 999px;
  padding: 10px 16px;
}
body.style-unamas .um-links a:hover { background: var(--um-ink); color: var(--um-clay); }

/* Reseñas */
body.style-unamas .resenas-section { border-top: 1px solid var(--um-line); padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 48px); }
body.style-unamas .resenas-section .inner { max-width: 1180px; }
body.style-unamas .resenas-section h2 { text-align: left; font-size: clamp(40px, 6vw, 76px); line-height: 1; }
body.style-unamas .resena-card { border-radius: 24px; background: #f7f3ea; }
body.style-unamas .resena-card .resena-estrellas-fijas,
body.style-unamas .resena-estrella.activa { color: var(--um-ochre); }
body.style-unamas .resena-form-card { margin: 0; border: 1.5px solid var(--um-ink); border-radius: 24px; background: transparent; }

/* Ventana de reserva (la misma de siempre, vestida de salvia) */
body.style-unamas .reserva-overlay { background: color-mix(in srgb, var(--um-bone) 78%, transparent); }
body.style-unamas .reserva-dialog {
  --fg: var(--um-bone);
  --fg-soft: rgba(242, 237, 225, 0.8);
  --muted: rgba(242, 237, 225, 0.6);
  --card: rgba(242, 237, 225, 0.06);
  --card-2: rgba(242, 237, 225, 0.05);
  --border: rgba(242, 237, 225, 0.24);
  --border-soft: rgba(242, 237, 225, 0.34);
  --accent-1: var(--um-clay);
  --accent-2: var(--um-clay);
  --on-accent: var(--um-ink);
  --accent-gradient: var(--um-clay);
  color-scheme: dark;
  background: var(--um-moss);
  color: var(--um-bone);
  border-radius: var(--um-frame);
  padding: 2.25rem 1.5rem 1.75rem;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5);
}
body.style-unamas .reserva-dialog > h2 { font-size: clamp(30px, 5vw, 44px); margin-top: 0; }
body.style-unamas .reserva-close { top: 1.1rem; right: 1.1rem; border-color: rgba(242, 237, 225, 0.4); }
body.style-unamas .wizard-card { background: transparent; border: 0; box-shadow: none; padding: 0; }
body.style-unamas .reserva-dialog .step-dot { font-family: var(--um-mono); font-weight: 500; }
body.style-unamas .reserva-dialog .service-item { border-radius: 16px; border-width: 1.5px; }
body.style-unamas .reserva-dialog .service-item .price { font-family: var(--um-mono); font-weight: 500; background: none; color: var(--um-bone); }
body.style-unamas .reserva-dialog .barber-initial { background: var(--um-clay); color: var(--um-ink); font-family: var(--um-display); font-style: italic; }
body.style-unamas .reserva-dialog .summary-box { border-radius: 16px; }
body.style-unamas .reserva-dialog .cal-card { border-radius: 24px; border-color: rgba(242, 237, 225, 0.22); }
body.style-unamas .reserva-dialog .cal-head span { font-family: var(--um-mono); font-weight: 500; }
body.style-unamas .reserva-dialog .cal-day { border-radius: 14px; }
body.style-unamas .reserva-dialog .cal-day .n { font-family: var(--um-display); font-weight: 400; font-size: 1.1rem; }
body.style-unamas .reserva-dialog .cal-day.selected { background: var(--um-bone); color: var(--um-ink); border-color: var(--um-bone); }
body.style-unamas .reserva-dialog .cal-day.selected .cupos { color: var(--um-moss); }
body.style-unamas .reserva-dialog .slot-btn { font-family: var(--um-mono); font-weight: 500; border-radius: 12px; border-width: 1.5px; padding: 0.65rem 0.4rem; }
body.style-unamas .reserva-dialog .field input { border-radius: 14px; border-width: 1.5px; }
body.style-unamas .reserva-dialog .btn { border-radius: 999px; box-shadow: none; }
body.style-unamas .reserva-dialog .btn-gold { background: var(--um-bone); color: var(--um-ink); }
body.style-unamas .reserva-dialog .btn-gold:hover:not(:disabled) { background: var(--um-clay); filter: none; }
body.style-unamas .reserva-dialog .gold-text { background: none; color: var(--um-bone); }
body.style-unamas .reserva-dialog .confirm-panel h3 { font-family: var(--um-display); font-style: italic; font-size: 2.2rem; }
body.style-unamas .reserva-dialog .confirm-panel .note { color: var(--fg-soft); opacity: 1; }

/* Pie */
body.style-unamas .site-footer .gold-divider { background: var(--um-line); }
body.style-unamas .footer-brand .name { background: none; color: var(--um-ink); font-family: var(--um-display); font-style: italic; font-weight: 400; }
body.style-unamas .footer-hecho-por strong { color: var(--um-moss); }

/* Barra fija del celular (oculta en compu) */
body.style-unamas .um-mbar { display: none; }

@media (max-width: 900px) {
  body.style-unamas .um-hero { grid-template-columns: 1fr; }
  body.style-unamas .um-frame { aspect-ratio: 5 / 4; }
  body.style-unamas .um-mono { width: 40%; }
  body.style-unamas .um-head,
  body.style-unamas .um-carta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body.style-unamas { --um-frame: 28px; }
  body.style-unamas .um-word { font-size: clamp(58px, 19vw, 96px); }
  body.style-unamas .um-frame { aspect-ratio: 1 / 1; }
  body.style-unamas .um-mono { width: 52%; }
  body.style-unamas .um-item { grid-template-columns: 30px 1fr auto; row-gap: 2px; }
  body.style-unamas .um-item .dur { grid-column: 2; grid-row: 2; }
  body.style-unamas .um-item .pr { grid-column: 3; grid-row: 1; }
  body.style-unamas .reserva-dialog { padding: 2rem 1rem 1.5rem; }
  /* El nombre ya va en la barra de abajo; arriba queda solo el logo. */
  body.style-unamas .brand-name { display: none; }
  body.style-unamas .um-mbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--um-ink);
    color: var(--um-bone);
    font-family: var(--um-display);
    font-size: 18px;
  }
  body.style-unamas .um-mbar .um-btn { background: var(--um-clay); color: var(--um-ink); padding: 12px 20px; }
  body.style-unamas .site-footer { padding-bottom: 6rem; }
}
