/* iGlow · Smart Bio. Sin JavaScript ni recursos externos (la CSP lo exige). */
:root {
  --bg-top: #F9F6F0;
  --bg-bottom: #F3EDE2;
  --card: #FFFFFF;
  --ink: #3B2F2F;
  --muted: #76655F;
  --line: #E2D6C6;
  --accent: #C98F97;

  /* Acentos solo en círculos de íconos y bordes: como texto sobre beige no llegan a 4.5:1 */
  --rose: #F1D9D8;
  --rose-ink: #9A5560;
  --lilac: #E6DDF0;
  --lilac-ink: #6B5689;
  --champagne: #EFE3CC;
  --champagne-ink: #86683A;

  --shadow: 0 6px 18px rgba(92, 64, 51, .08), 0 1px 3px rgba(92, 64, 51, .06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; }

html { background: var(--bg-bottom); }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--ink);
  font: 16px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { max-width: 460px; margin: 0 auto; padding: 40px 16px 32px; }

/* ---------- Cabecera ---------- */
.profile { text-align: center; }

.logo {
  width: 104px;
  height: 104px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  box-shadow: 0 0 0 3px var(--bg-top), 0 0 0 5px var(--accent), var(--shadow);
  font: 600 26px/1 var(--serif);
  color: var(--rose-ink);
  overflow: hidden;
}
/* El logo de Instagram trae mucho margen blanco; 1.15 lo agranda sin cortar el marco */
.logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }

h1 { font: 600 34px/1.1 var(--serif); letter-spacing: .01em; }

.tagline { margin-top: 6px; color: var(--muted); font-size: 15px; }

.tagline-2 {
  margin-top: 2px;
  font: italic 16px/1.3 var(--serif);
  color: var(--rose-ink);
}

.facts {
  list-style: none;
  padding: 0;
  margin-top: 12px;
  display: grid;
  gap: 4px;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}
.facts li { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.facts .icon { flex: none; }

.social { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--ink);
}

/* ---------- Íconos ---------- */
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 15px; height: 15px; }
.icon-xs { width: 12px; height: 12px; }
.icon.fill { fill: var(--accent); stroke: none; }

/* ---------- Separadores de categoría ---------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 14px;
  font: 600 12.5px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.section-title::before,
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Botones ---------- */
.links { list-style: none; padding: 0; display: grid; gap: 12px; }

.link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 10px 16px 10px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.link:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(92, 64, 51, .12), 0 1px 3px rgba(92, 64, 51, .06); }
.link:active { transform: translateY(0); }
.link:focus-visible, .social a:focus-visible, .back:focus-visible, .foot a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.link-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.rose .link-icon { background: var(--rose); color: var(--rose-ink); }
.lilac .link-icon { background: var(--lilac); color: var(--lilac-ink); }
.champagne .link-icon { background: var(--champagne); color: var(--champagne-ink); }

.link-text { flex: 1; min-width: 0; }
.link-title { display: block; font-weight: 600; font-size: 16px; }
.link-sub { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }

.chev { flex: none; width: 18px; height: 18px; color: var(--muted); }

/* Botón principal: borde destacado y pulso suave para llevar los clics a la reserva */
.link.primary { border-color: var(--accent); }
.link.primary::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 143, 151, .45); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(201, 143, 151, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .link, .link:hover { transition: none; transform: none; }
  .link.primary::after { animation: none; }
}

/* ---------- Página de servicios ---------- */
.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.back .icon { width: 16px; height: 16px; transform: scaleX(-1); }

.page-title { margin-top: 12px; font: 600 30px/1.15 var(--serif); }
.page-intro { margin-top: 6px; color: var(--muted); font-size: 15px; }

.draft {
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px dashed var(--accent);
  border-radius: 12px;
  background: var(--rose);
  color: var(--rose-ink);
  font-size: 14px;
}

.card {
  margin-top: 16px;
  padding: 18px 18px 8px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.card h2 { display: flex; align-items: center; gap: 10px; font: 600 20px/1.2 var(--serif); }
.card h2 .link-icon { width: 36px; height: 36px; }
.card h2 .icon { width: 18px; height: 18px; }

.menu { list-style: none; padding: 0; margin-top: 8px; }
.menu li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.menu li:first-child { border-top: 0; }
.menu .name { flex: 1; }
.menu .detail { display: block; font-size: 13px; color: var(--muted); }
.menu .price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

.cta { margin-top: 24px; }

/* ---------- Pie ---------- */
.foot { margin-top: 36px; text-align: center; font-size: 13px; color: var(--muted); }
.foot p + p { margin-top: 2px; }
.foot a { color: inherit; }

/* ---------- Reclamos (discreto, al final) ---------- */
.help .section-title { margin-top: 36px; }
.link-quiet {
  min-height: 60px;
  background: transparent;
  box-shadow: none;
  border: 1px solid var(--line);
}
.link-quiet .link-icon { width: 40px; height: 40px; background: var(--bg-bottom); color: var(--muted); }
.link-quiet .link-title { font-weight: 500; }

/* ---------- Opiniones ---------- */
.rating { text-align: center; padding-bottom: 18px; }
.rating-score { font: 600 40px/1 var(--serif); }
.rating-score .muted { font-size: 18px; }
.stars { color: #C9A227; letter-spacing: 2px; font-size: 16px; }
.reviews { list-style: none; padding: 0; }
.review { padding-bottom: 16px; }
.review blockquote { margin: 8px 0; font: italic 17px/1.45 var(--serif); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Promociones ---------- */
.promo { text-align: center; padding: 22px 18px; border: 1px solid var(--accent); }
.promo h2 { margin-top: 10px; font: 600 24px/1.2 var(--serif); }
.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--rose-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.promo-price { margin: 10px 0 4px; font-size: 22px; }

/* Sello Brillo Consciente */
.sello { display: inline-block; margin-top: 14px; border-radius: 50%; transition: transform .2s ease; }
.sello:hover, .sello:focus-visible { transform: rotate(-6deg) scale(1.03); }
.sello img { display: block; width: 112px; height: 112px; }
.sello-hero { display: block; width: 180px; height: 180px; margin: 4px auto 18px; }
.compromisos { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 8px; }
.compromisos li { padding-left: 26px; position: relative; }
.compromisos li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 10px; height: 10px; border-radius: 50% 0; background: #4F6B57; }
