/* The Glamour — estructura limpia tipo iOS con alma de salón (dirección B3) + kit de logo (rose-gold #CAA38A sobre crema #FCF7F1) */
:root {
  --canvas: #ffffff;
  --band: #fcf7f1;        /* crema del kit de logo */
  --ink: #2a211e;
  --slate: #7b6d6f;
  --steel: #a99c9d;
  --hair: #efe5dc;
  --ctrl: #f1e8df;
  --rose: #caa38a;        /* color del logo (decorativo) */
  --lacquer: #8c6450;     /* rose-gold oscuro: botones y acentos (legible con letra blanca) */
  --sel: #241a1c;         /* lo seleccionado */
  --ok: #3d7a57;
  --danger: #b3261e;
  --r: 28px;
  --serif: 'Instrument Serif', Georgia, serif;
  --text: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* alias que usa el panel */
  --bg: var(--band);
  --surface: var(--canvas);
  --muted: var(--slate);
  --line: var(--hair);
  --accent: var(--lacquer);
  --accent-ink: #ffffff;
  --accent-soft: #f5ebe3;
  --gold: #a5672f;
  --radius: 20px;
  --sans: var(--text);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { overscroll-behavior: none; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--band);
  color: var(--ink);
  font: 17px/1.47 var(--text);
  letter-spacing: -0.374px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.muted { color: var(--slate); font-size: 14px; letter-spacing: -0.224px; }
.pad { padding: 14px 16px; margin: 0; }
.small { font-size: 15px; }
.txt { flex: 1; min-width: 0; }

/* ---------- app ---------- */
.app { max-width: 520px; margin: 0 auto; min-height: 100vh; background: var(--band); }
@media (min-width: 560px) {
  body { background: #f3ebe2; }
  .app { box-shadow: 0 0 0 1px var(--hair); }
}
.screen { padding-bottom: env(safe-area-inset-bottom); }

/* portada (en el celular solo se ve en el paso 1) */
.app:not([data-step="1"]) .cover { display: none; }
.cover {
  position: relative;
  height: min(62vh, 520px);
  min-height: 360px;
  background: #caa38a center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.cover::after {
  content: '';
  position: absolute;
  inset: 25% 0 0 0;
  background: linear-gradient(to top, rgba(32, 24, 21, .82) 0%, rgba(32, 24, 21, .55) 45%, transparent 100%);
}
.cover-text { position: relative; z-index: 1; color: #fff; padding: 0 24px 26px; width: 100%; text-align: center; }
.cover-text h1 { margin: 0; line-height: 0; }
.cover-logo { width: min(300px, 72%); height: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .25)); }
.cover-text p { font: italic 400 19px/1.25 var(--serif); margin: 12px 0 0; letter-spacing: 0; opacity: .95; }

.info { background: var(--canvas); padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.intro { font: 400 40px/1 var(--serif); letter-spacing: -0.5px; margin: 6px 0 -4px; }
.intro i { color: var(--lacquer); }
.status { margin: 0; font-size: 14px; letter-spacing: -0.224px; color: var(--slate); }
.status b { color: var(--ink); font-weight: 600; }
.pills { display: flex; gap: 10px; }
.pill {
  flex: 1;
  height: 44px;
  border-radius: 9999px;
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}
.pill svg { width: 18px; height: 18px; }
.gal-head { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 -6px; }
.gal-head h3 { font: 400 26px/1 var(--serif); margin: 0; letter-spacing: 0; }
.gal-head i { color: var(--lacquer); }
.strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -20px;
  padding: 0 20px;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip img { flex: none; width: 42%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; display: block; scroll-snap-align: start; }

/* servicios */
.band { padding: 8px 16px 0; }
.sec { display: flex; justify-content: space-between; align-items: baseline; padding: 28px 8px 14px; }
.sec h2 { font: 400 38px/1 var(--serif); letter-spacing: -0.4px; margin: 0; }
.sec span { font-size: 13px; color: var(--slate); letter-spacing: -0.12px; }
.card { background: var(--canvas); border-radius: var(--r); overflow: hidden; }
.list { display: flex; flex-direction: column; }
.svc {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 16px;
  text-align: left;
  position: relative;
  transition: background .15s;
}
.svc + .svc::before { content: ''; position: absolute; top: 0; left: 76px; right: 0; height: 1px; background: var(--hair); }
.svc:active { background: var(--band); }
.thumb { width: 48px; height: 48px; border-radius: 16px; flex: none; object-fit: cover; display: block; background: #dcbfae; }
.thumb.sm { width: 44px; height: 44px; border-radius: 13px; }
.thumb.md { width: 56px; height: 56px; }
.svc-name { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -0.32px; overflow-wrap: anywhere; hyphens: auto; }
.svc-meta { font-size: 14px; letter-spacing: -0.224px; color: var(--slate); margin-top: 1px; }
.svc-price { font-size: 16px; text-align: right; line-height: 1.25; flex: none; max-width: 42%; }
.svc-price small { display: block; font-size: 12px; color: var(--slate); letter-spacing: -0.12px; }
.svc.is-on { background: color-mix(in srgb, var(--rose) 12%, var(--canvas)); }
.pick { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--steel); transition: background .15s, box-shadow .15s; }
.svc.is-on .pick { background: var(--lacquer); box-shadow: none; }
.svc.is-on .pick::after { content: ''; width: 10px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.note { font: italic 400 19px/1.3 var(--serif); color: var(--slate); text-align: center; padding: 26px 30px 0; margin: 0; letter-spacing: 0; }
.foot { text-align: center; color: var(--steel); font-size: 12px; letter-spacing: -0.12px; padding: 28px 16px 40px; }

/* navegación de pasos */
.nav {
  position: sticky;
  top: 0;
  z-index: 4;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: env(safe-area-inset-top) 8px 0;
  background: rgba(252, 247, 241, .85);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
}
.nav-back { height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 16px; }
.nav-back svg { width: 10px; height: 17px; }
.nav-title { font-weight: 600; font-size: 16px; }
.nav-pad { width: 96px; }
.title { font: 400 44px/1 var(--serif); letter-spacing: -0.6px; padding: 6px 24px 0; margin: 0; }
.title i { color: var(--lacquer); }
.link { color: var(--lacquer); font-size: 15px; font-weight: 500; padding: 10px 0 10px 12px; flex: none; }
.link.inline { padding: 0; font-size: inherit; }
