:root {
  --dorado: #d9a441;
  --dorado-claro: #e8bc6b;
  --rosa: #f4a6a6;
  --rose-gold: #c97e7e;
  --perlado: #fdf9f6;
  --carbon: #1e1e1e;
  --texto-secundario: #8a6d64;
  --borde: #eaded4;
  --tarjeta: #f5ebe3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--perlado);
  color: var(--carbon);
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a {
  color: inherit;
}

.contenedor {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Cabecera ---------- */

header.cabecera {
  border-bottom: 1px solid var(--borde);
  background: rgba(253, 249, 246, 0.9);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}

header.cabecera .contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--carbon);
}

.marca img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.marca span {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
}

nav.enlaces {
  display: flex;
  gap: 24px;
}

nav.enlaces a {
  text-decoration: none;
  color: var(--texto-secundario);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.15s ease;
}

nav.enlaces a:hover {
  color: var(--dorado);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  text-align: center;
  padding: 72px 0 48px;
  overflow: hidden;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dorado);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 12.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  margin: 18px 0 16px;
}

.hero h1 em {
  font-style: italic;
  color: var(--dorado);
}

.lead {
  color: var(--texto-secundario);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto;
}

/* Sello Bellivo: la insignia de garantía, hecha visual */
.sello {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--dorado-claro), var(--dorado) 55%, var(--rose-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 24px -8px rgba(217, 164, 65, 0.55),
    inset 0 2px 4px rgba(255, 255, 255, 0.5);
  animation: sello-flota 5s ease-in-out infinite;
}

.sello img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

@keyframes sello-flota {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sello {
    animation: none;
  }
}

.boton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--dorado-claro), var(--dorado));
  color: var(--carbon);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 26px;
  box-shadow: 0 6px 16px -6px rgba(217, 164, 65, 0.6);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.boton:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -6px rgba(217, 164, 65, 0.7);
}

.boton.secundario {
  background: transparent;
  border: 1px solid var(--dorado);
  color: var(--dorado);
  box-shadow: none;
}

.boton.secundario:hover {
  background: var(--tarjeta);
}

/* ---------- Tarjetas de negocio ---------- */

.tarjetas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.tarjeta {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--carbon);
  display: block;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.tarjeta[href]:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -12px rgba(30, 30, 30, 0.18);
}

.tarjeta .imagen {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--tarjeta);
}

.tarjeta .info {
  padding: 12px 14px;
}

.tarjeta .categoria {
  color: var(--texto-secundario);
  font-size: 12px;
}

.tarjeta .nombre {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 17px;
  margin: 2px 0 4px;
}

.tarjeta .rating {
  font-size: 13px;
  color: var(--texto-secundario);
}

.destacado-sello {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--dorado);
  color: var(--carbon);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.destacado-sello img {
  width: 11px;
  height: 11px;
}

/* ---------- Secciones ---------- */

section {
  margin: 48px 0;
}

.titulo-seccion {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.titulo-seccion .icono-insignia {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--tarjeta);
  border: 1px solid var(--borde);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.titulo-seccion .icono-insignia img {
  width: 20px;
  height: 20px;
}

.titulo-seccion h2 {
  font-size: 21px;
  margin: 0;
}

.faq {
  background: var(--tarjeta);
  border: 1px solid var(--borde);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.faq p {
  margin-bottom: 0;
}

.faq .pregunta {
  font-weight: 700;
  margin-bottom: 6px;
}

.faq .respuesta {
  color: var(--texto-secundario);
  margin: 0;
}

/* ---------- Pie ---------- */

footer.pie {
  border-top: 1px solid var(--borde);
  margin-top: 64px;
  padding: 28px 0;
  color: var(--texto-secundario);
  font-size: 13px;
  text-align: center;
}

.pie-marca {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--carbon);
  margin-bottom: 6px;
}

.pie-marca img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.pie-legal {
  margin-top: 8px;
  font-size: 12px;
}

.pie-legal a {
  text-decoration: none;
  color: var(--texto-secundario);
}

.pie-legal a:hover {
  color: var(--dorado);
}

/* ---------- Ficha de negocio ---------- */

.ficha-cabecera {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 36px 0 16px;
}

.ficha-cabecera img.logo {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  object-fit: cover;
  background: var(--tarjeta);
  border: 1px solid var(--borde);
  flex-shrink: 0;
}

.ficha-cabecera h1 {
  margin: 0 0 4px;
  font-size: 28px;
}

.ficha-cabecera .categoria {
  color: var(--texto-secundario);
  font-size: 14px;
}

.galeria {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.galeria-item {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 12px;
  transition: opacity 0.15s ease;
}

.galeria-item:hover {
  opacity: 0.85;
}

.galeria-item img {
  display: block;
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

/* ---------- Lightbox de la galería ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 30, 30, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox.visible {
  display: flex;
}

.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

.lightbox-cerrar {
  position: absolute;
  top: 20px;
  right: 24px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
}

.lightbox-anterior {
  left: 16px;
}

.lightbox-siguiente {
  right: 16px;
}

.lightbox-cerrar,
.lightbox-nav {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s ease;
}

.lightbox-cerrar:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.servicio-fila {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--borde);
}

.servicio-fila:last-child {
  border-bottom: none;
}

.servicio-fila .nombre {
  font-weight: 600;
}

.servicio-fila .duracion {
  color: var(--texto-secundario);
  font-size: 13px;
}

.servicio-fila .precio {
  font-weight: 700;
  color: var(--dorado);
}

.horario-fila {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 14px;
}

.horario-fila .dia {
  color: var(--texto-secundario);
}

.resena {
  border-bottom: 1px solid var(--borde);
  padding: 14px 0;
}

.resena:last-child {
  border-bottom: none;
}

.resena .autor {
  font-weight: 700;
  font-size: 14px;
}

.resena .rating {
  color: var(--dorado);
  font-size: 13px;
}

.resena .comentario {
  color: var(--texto-secundario);
  margin: 4px 0 0;
  font-size: 14px;
}

/* ---------- 404 ---------- */

.pagina-404 {
  text-align: center;
  padding: 90px 0;
}

.pagina-404 img {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}

/* ---------- Páginas legales ---------- */

.legal h1 {
  margin-top: 36px;
  margin-bottom: 4px;
  font-size: 32px;
}

.legal-fecha {
  color: var(--texto-secundario);
  font-size: 13px;
  margin-top: 0;
  margin-bottom: 28px;
}

.legal h2 {
  font-size: 19px;
  margin-top: 34px;
}

.legal h3 {
  font-size: 15px;
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.legal ul {
  padding-left: 20px;
}

.legal li {
  margin-bottom: 6px;
}

.acerca-hero {
  text-align: center;
}

.acerca-icono {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

/* ---------- Foco de accesibilidad ---------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: 2px;
}
