/* Layout: Apple-style alternating bands — warm paper for explanation, deep ink for product theatre; one wide column, generous air. */
:root {
  --ink: #0E0C11;
  --ink-2: #1A1720;
  --ink-line: rgba(255, 255, 255, .12);
  --paper: #F5F3F0;
  --white: #FFFFFF;
  --text: #17141B;
  --muted: #6B6570;
  --line: #E3DED9;
  --purple: #955DA3;      /* oficial · CMYK 50 71 0 0 */
  --purple-hi: #C39BCE;   /* tinte para fondos oscuros */
  --green: #70B62C;       /* oficial · CMYK 62 0 100 0 */
  --green-hi: #93D24F;
  --pending: #B3261E;

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(245, 243, 240, .82); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.dark { background: var(--ink); color: #F2EFF4; }

/* ---------- type ---------- */
.display {
  font: 800 clamp(48px, 8.4vw, 104px)/.95 var(--display);
  letter-spacing: -.035em;
  font-variation-settings: "opsz" 96;
}
.display--md { font-size: clamp(36px, 5.6vw, 68px); }
.h2 {
  font: 750 clamp(36px, 5.4vw, 64px)/1 var(--display);
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 96;
}
.eyebrow {
  font: 500 13px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--purple-hi); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #C9C3CE; max-width: 34ch; }
.body-light { color: #BDB6C2; max-width: 44ch; margin-top: 18px; }
.accent-green { color: var(--green-hi); }
.accent-purple { color: var(--purple); }
.footnote { font-size: 13px; color: var(--muted); margin-top: 28px; max-width: 70ch; }
.footnote--light { color: #8F8895; }
.pending {
  display: inline-block;
  font: 500 11px/1.4 var(--mono);
  letter-spacing: .02em;
  color: var(--pending);
  background: #FCEBEA;
  border: 1px dashed var(--pending);
  border-radius: 6px;
  padding: 2px 6px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 0;
  background: var(--purple); color: var(--white);
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
  box-shadow: 0 8px 18px -10px rgba(14, 12, 17, .45);
}
.btn:hover { transform: translateY(-2px); background: #84509A; }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--small { min-height: 36px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  font-size: 18px; transition: background .2s, transform .2s;
}
.round-btn:hover { background: var(--paper); transform: scale(1.05); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(245, 243, 240, .82);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.nav__inner {
  max-width: 1180px; margin: 0 auto; height: 60px;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  display: flex; align-items: center; gap: 28px;
}
.nav__brand img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.nav__links a { text-decoration: none; color: #4A4450; transition: color .2s; }
.nav__links a:hover { color: var(--purple); }
@media (max-width: 860px) { .nav__links { display: none; } .nav__inner .btn { margin-left: auto; } }

/* ---------- inside (exploded) ---------- */
.inside__scroller { height: 240vh; position: relative; }
.inside__sticky { position: sticky; top: 60px; height: calc(100vh - 60px); min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.inside__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center; }
.inside__copy { min-width: 0; }
.layers { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.layers li {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 12px 0; border-top: 1px solid var(--ink-line);
  color: #807986; transition: color .4s var(--ease);
}
.layers li:last-child { border-bottom: 1px solid var(--ink-line); }
.layers__name { font: 600 17px var(--body); }
.layers__spec { font: 400 12px var(--mono); text-align: right; }
.layers li.is-active { color: #F2EFF4; }
.layers li.is-active .layers__spec { color: var(--purple-hi); }
.inside .footnote { color: #9A939F; }
.inside__stage { position: relative; aspect-ratio: 1 / 1; min-width: 0; max-height: calc(100vh - 140px); }
#inside-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.inside__progress { position: absolute; left: 10%; right: 10%; bottom: 0; height: 2px; background: var(--ink-line); border-radius: 2px; overflow: hidden; }
.inside__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--purple), var(--green)); }
@media (max-width: 860px) {
  .inside__scroller { height: auto; }
  .inside__sticky { position: relative; top: 0; height: auto; min-height: 0; padding-block: 72px; }
  .inside__grid { grid-template-columns: 1fr; }
  .inside__stage { order: -1; width: 100%; max-width: 460px; margin: 0 auto; max-height: none; }
}

/* ---------- titulares que suben palabra por palabra ---------- */
.split .w { display: inline-block; will-change: transform; }

/* ---------- en la vida real ---------- */
.real { background: var(--ink); color: #F2EFF4; overflow: hidden; }
.real__pin { padding-block: clamp(64px, 9vw, 110px); }
.real__track { display: flex; gap: 18px; margin-top: 36px; padding-left: max(var(--gutter-l), calc((100vw - 1180px) / 2 + 20px)); padding-right: var(--gutter-r); will-change: transform; }
.rcard { margin: 0; flex: none; width: clamp(240px, 26vw, 360px); position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.rcard img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transform: scale(1.08); transition: transform 1s var(--ease); }
.rcard:hover img { transform: scale(1.02); }
.rcard figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; display: grid; gap: 2px; background: linear-gradient(transparent, rgba(14, 12, 17, .85)); }
.rcard figcaption b { font: 700 20px var(--display); }
.rcard figcaption span { font-size: 14px; color: #CFC8D4; }
@media (max-width: 860px) {
  .real__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .real__track::-webkit-scrollbar { display: none; }
  .rcard { scroll-snap-align: start; width: 72vw; }
}

/* ---------- personalizados ---------- */
.custom { padding-block: clamp(72px, 10vw, 140px); }
.custom__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.custom__img { margin: 0; min-width: 0; display: grid; gap: 8px; }
.custom__img img { border-radius: var(--radius); box-shadow: 0 40px 70px -40px rgba(42, 15, 69, .5); }
.custom__img figcaption { font: 500 11px var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.custom__copy { min-width: 0; }
.custom__lede { margin-top: 18px; font-size: 18px; color: #4A4450; max-width: 46ch; }
.custom__list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; }
.custom__list li { display: grid; grid-template-columns: minmax(150px, 44%) 1fr; gap: 4px 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.custom__list span { color: var(--muted); }
@media (max-width: 900px) { .custom__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .custom__list li { grid-template-columns: 1fr; } }

/* ---------- pagos ---------- */
.paybadges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid var(--ink-line); background: rgba(255, 255, 255, .04); }
.pay--yape { color: #fff; background: #742284; border-color: #742284; }
.pay--plin { color: #0E0C11; background: #3DD9C1; border-color: #3DD9C1; }
.pay--bbva { color: #fff; background: #004481; border-color: #004481; }

/* ---------- botones magnéticos ---------- */
.btn--magnet { will-change: transform; }

/* ---------- formats ---------- */
.formats { padding-block: clamp(72px, 10vw, 140px); }
.formats__grid { margin-top: 40px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.formats__photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: #E8E2DC; min-width: 0; }
.formats__photo img { width: 100%; }
/* tarjeta y sticker con su arte, a escala entre sí (54 × 85.5 mm y 100 × 100 mm), flotando sobre su sombra */
.duo { --u: clamp(1.7px, .32vw, 2.6px); position: relative; display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * 14); aspect-ratio: 4 / 4.4; background: radial-gradient(120% 70% at 50% 30%, #F7F3EF 0%, #E9E3DD 70%, #E1DAD3 100%); }
.duo__item { position: relative; animation: duo-float 6s ease-in-out infinite; }
.duo__item img { width: 100%; border-radius: calc(var(--u) * 3); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 0 0 1px rgba(0, 0, 0, .05), 0 calc(var(--u) * 10) calc(var(--u) * 16) calc(var(--u) * -6) rgba(60, 40, 30, .28); }
.duo__item::after { content: ''; position: absolute; left: 8%; right: 8%; bottom: calc(var(--u) * -30); height: calc(var(--u) * 7); border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 40, 30, .28), transparent); animation: duo-shadow 6s ease-in-out infinite; }
.duo__item--card { width: calc(var(--u) * 54); transform: rotate(-4deg); }
.duo__item--plate { width: calc(var(--u) * 100); animation-delay: -3s; }
.duo__item--plate::after { animation-delay: -3s; }
@keyframes duo-float { 50% { translate: 0 calc(var(--u) * -5); } }
@keyframes duo-shadow { 50% { opacity: .6; scale: .9 1; } }
.formats__specs { display: grid; gap: 16px; min-width: 0; }
.spec { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.spec h3 { font: 700 24px var(--display); }
.spec p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.spec dl { margin: 14px 0 0; display: grid; gap: 6px; }
.spec dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 6px; font-size: 14px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font: 500 13px var(--mono); text-align: right; }
.spec__art { display: grid; place-items: end center; height: 190px; }
/* escala: 1 mm = 1.45 px */
.dim { position: relative; }
.dim img { width: 100%; border-radius: 4px; box-shadow: 0 0 0 1px var(--line), 0 18px 24px -18px rgba(0, 0, 0, .35); }
.dim--card { width: calc(54px * 1.45); }
.dim--card img { border-radius: 5px; }
.dim--plate { width: calc(100px * 1.45); }
.dim__w, .dim__h { position: absolute; font: 500 11px var(--mono); color: var(--muted); white-space: nowrap; }
.dim__w { left: 0; right: 0; top: -20px; text-align: center; border-bottom: 1px solid #C9C2BB; line-height: 18px; }
.dim__h { left: -10px; top: 50%; transform: translate(-100%, -50%) rotate(-90deg); transform-origin: center; display: none; }
@media (max-width: 900px) { .formats__grid { grid-template-columns: 1fr; } .duo { aspect-ratio: 4 / 3.3; } }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; } .spec__art { height: 170px; } }

/* ---------- pricing ---------- */
.pricing { padding-block: clamp(72px, 10vw, 140px); }
.plans { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan {
  min-width: 0; border-radius: var(--radius); padding: 26px; background: var(--ink-2); border: 1px solid var(--ink-line);
  display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease), border-color .4s;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(195, 155, 206, .5); }
.plan__qty { font: 500 13px var(--mono); color: #A49DAA; letter-spacing: .04em; text-transform: uppercase; }
.plan__price { font: 800 52px/1 var(--display); letter-spacing: -.03em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 22px; font-weight: 600; margin-right: 4px; vertical-align: 18px; }
.plan__unit { font-size: 14px; color: #A49DAA; font-variant-numeric: tabular-nums; }
.plan__save { min-height: 22px; font: 500 12px var(--mono); color: var(--green-hi); }
.plan .btn { margin-top: auto; width: 100%; }
.plan__art { height: 120px; width: auto; align-self: flex-start; border-radius: 6px; margin-bottom: 18px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .8); transform: rotate(-4deg); transition: transform .5s var(--ease); }
.plan:hover .plan__art { transform: rotate(0) translateY(-4px); }
.plan__name { font: 700 22px/1.15 var(--display); margin-top: 2px; }
.plan__unit { margin-bottom: 18px; }
.plan--quote { background: transparent; border-style: dashed; justify-content: flex-start; }
.plan--quote .plan__name { font-size: 26px; margin-top: 8px; }
.plans { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } .plan--quote { grid-column: 1 / -1; } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }

.buy { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.buy__col { min-width: 0; border-radius: var(--radius); padding: 26px; border: 1px solid var(--ink-line); }
.buy__col h3 { font: 700 20px var(--display); margin-bottom: 14px; }
.buy__list { list-style: none; margin: 0; padding: 0; display: grid; }
.buy__list li { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--ink-line); font-size: 15px; }
.buy__list b { font-weight: 600; }
.buy__list span { color: #A49DAA; }
.buy__note { margin-top: 12px; font-size: 13px; color: #8F8895; }
@media (max-width: 860px) { .buy { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .buy__list li { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 20px 0 16px;
  border-radius: 999px; background: #187A42; color: #fff; text-decoration: none; font: 600 15px var(--body);
  box-shadow: 0 14px 30px -10px rgba(14, 12, 17, .55);
  transition: transform .3s var(--ease), background .3s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); background: #136537; }
@media (max-width: 520px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-float span { display: none; } }

/* ---------- faq ---------- */
.faq { padding-block: clamp(72px, 10vw, 140px); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.faq__list { min-width: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 18px/1.35 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: translateY(-75%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- support ---------- */
.support { padding-block: 0 clamp(72px, 10vw, 140px); }
.support__grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.check { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.check h3 { font: 700 22px var(--display); }
.check ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check ul:not(.contact) li { position: relative; padding-left: 26px; font-size: 15px; color: #4A4450; }
.check ul:not(.contact) li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--green); }
.check--contact { background: var(--ink); color: #F2EFF4; border-color: var(--ink); }
.check--contact > p { color: #A49DAA; }
.contact li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--ink-line); padding-top: 10px; font-size: 15px; }
.contact span { color: #A49DAA; }
.check--contact .btn { margin-top: auto; }
@media (max-width: 900px) { .support__grid { grid-template-columns: 1fr; } }

/* ---------- próximamente: fidelidad ---------- */
.nav__soon span { font: 600 11px var(--body); text-transform: uppercase; letter-spacing: .06em; color: #0E0C11; background: var(--green); border-radius: 4px; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; }
.loyal { padding-block: clamp(72px, 10vw, 130px); background: linear-gradient(180deg, var(--paper), #EFE7F2); overflow: hidden; }
.loyal__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.loyal__copy { min-width: 0; }
.soon { display: inline-block; margin-right: 8px; padding: 3px 8px; border-radius: 6px; background: var(--purple); color: var(--white); }
.loyal__lede { margin-top: 20px; font-size: 18px; color: #4A4450; max-width: 52ch; }
.loyal__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 2px; }
.loyal__list li { display: grid; grid-template-columns: minmax(150px, 40%) 1fr; gap: 4px 16px; padding: 12px 0; border-top: 1px solid #DDD3E2; font-size: 15px; }
.loyal__list span { color: var(--muted); }
.loyal__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.loyal__stage { position: relative; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.loyal__ex { font: 500 11px var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.lphone { position: relative; width: min(290px, 100%); border-radius: 44px; padding: 10px; background: #0E0C11; box-shadow: 0 40px 70px -36px rgba(42, 15, 69, .7), inset 0 0 0 2px #2B2533; transform: rotate(3deg); }
.lphone__screen { border-radius: 34px; background: #000; padding: 48px 12px 16px; min-height: 500px; display: flex; flex-direction: column; }
.lphone__title { color: #fff; font: 700 24px var(--body); margin: 0 4px 12px; }
.lpass { --ink: #fff; background: var(--c); color: var(--ink); border-radius: 14px; padding: 14px; display: grid; gap: 12px; }
.lpass small { display: block; font: 600 9px var(--body); letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.lpass--peek { display: flex; justify-content: space-between; align-items: center; border-radius: 14px 14px 0 0; margin-bottom: -6px; padding-bottom: 20px; font-size: 14px; font-weight: 600; }
.lpass__head { display: flex; justify-content: space-between; align-items: center; font: 700 16px var(--display); }
.lpass__count { text-align: right; font-size: 18px; font-variant-numeric: tabular-nums; }
.lpass__stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; margin-inline: -14px; background: rgba(0, 0, 0, .18); }
.lpass__stamps i { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .55); }
.lpass__stamps i.on { background: var(--ink); border: 0; }
.lpass__stamps i.next { animation: stamp 2.6s var(--ease) infinite; }
@keyframes stamp { 0%, 55% { background: transparent; transform: scale(1); } 65% { background: var(--green-hi); border-color: var(--green-hi); transform: scale(1.18); } 80%, 100% { background: var(--ink); border-color: var(--ink); transform: scale(1); } }
.lpass__foot { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.lpass__foot span:last-child { text-align: right; }
.lpass__qr { justify-self: center; width: 92px; height: 92px; border-radius: 10px; background:
  conic-gradient(from 90deg at 30% 30%, #17141B 25%, transparent 0) 0 0 / 14px 14px,
  repeating-linear-gradient(90deg, #17141B 0 6px, transparent 6px 11px),
  #fff; box-shadow: inset 0 0 0 8px #fff; opacity: .95; }
.lnotif {
  position: absolute; left: 50%; top: 58px; width: calc(100% + 40px); transform: translateX(-50%);
  display: flex; gap: 10px; align-items: center; padding: 11px 13px; border-radius: 18px;
  background: rgba(245, 243, 240, .96); color: var(--text); font-size: 13px; line-height: 1.35;
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .45);
  animation: drop 5s var(--ease) infinite;
}
.lnotif b { display: block; font-size: 13px; }
.lnotif__ap { width: 30px; height: 30px; border-radius: 8px; background: #6B3E26; flex: none; }
@keyframes drop { 0%, 10% { transform: translate(-50%, -24px); opacity: 0; } 18%, 80% { transform: translate(-50%, 0); opacity: 1; } 90%, 100% { transform: translate(-50%, -24px); opacity: 0; } }
@media (max-width: 860px) { .loyal__grid { grid-template-columns: 1fr; } .lnotif { width: calc(100% + 16px); } }
@media (max-width: 420px) { .loyal__list li { grid-template-columns: 1fr; } }

/* ---------- closer ---------- */
.closer { padding-block: clamp(56px, 8vw, 110px); overflow: hidden; }
.closer__inner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.closer__inner img { border-radius: var(--radius); }
.closer__inner .btn { margin-top: 28px; }
@media (max-width: 760px) { .closer__inner { grid-template-columns: 1fr; } .closer__inner img { max-width: 260px; } }

/* ---------- footer ---------- */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 48px 64px; font-size: 13px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 32px; }
.footer__grid img { height: 24px; width: auto; margin-bottom: 10px; }
.footer__legal { display: grid; gap: 10px; align-content: start; }
.footer__legal a { text-decoration: none; color: var(--text); font-size: 14px; }
.footer__legal a:hover { color: var(--purple); }
.lr-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.lr-link svg { color: var(--purple); }
.footer__company { display: grid; gap: 8px; }
.footer__company b { color: var(--text); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- dialogs ---------- */
.sheet {
  width: min(720px, calc(100vw - 24px)); max-height: calc(100vh - 48px);
  border: 0; border-radius: 24px; padding: clamp(24px, 4vw, 44px); background: var(--white); color: var(--text);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .5);
}
.sheet::backdrop { background: rgba(14, 12, 17, .55); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in .45s var(--ease); }
@keyframes sheet-in { from { transform: translateY(24px) scale(.98); } }
.sheet h2 { font: 750 32px/1.1 var(--display); letter-spacing: -.02em; padding-right: 40px; }
.sheet h3 { font: 700 17px var(--body); margin: 22px 0 6px; }
.sheet p { color: #4A4450; font-size: 15px; }
.sheet__meta { margin-top: 10px; font-size: 13px !important; color: var(--muted) !important; }
.sheet__close { position: absolute; top: 16px; right: 16px; margin: 0; }
.sheet__close button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); font-size: 22px; cursor: pointer; }
.lr { margin-top: 24px; display: grid; gap: 20px; }
.lr fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; min-width: 0; }
.lr legend { font: 700 14px var(--body); padding: 0 6px; }
.field { flex: 1 1 100%; display: grid; gap: 6px; min-width: 0; }
.field--half { flex: 1 1 calc(50% - 7px); min-width: 180px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px var(--body); padding: 12px 14px; border-radius: 12px;
  border: 1px solid #D5CFC9; background: var(--paper); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--purple); outline-offset: 0; border-color: transparent; }
.radio-row { gap: 10px; }
.radio-row label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.consent { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.consent input, .radio-row input { accent-color: var(--purple); margin-top: 3px; }
.lr__error { color: var(--pending) !important; font-weight: 600; }
.lr__done { margin-top: 24px; padding: 22px; border-radius: 16px; background: #EFF7E6; }
.lr__done h3 { margin-top: 0; }
.lr__done > p, #lr-pending > p { margin-top: 8px; }
.lr__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lr__actions .btn--ghost { color: var(--text); }
.lr__text { margin: 16px 0 0; padding: 14px; border-radius: 12px; background: var(--white); font: 400 12px/1.5 var(--mono); white-space: pre-wrap; overflow-x: auto; max-height: 220px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.display--hero { font-size: clamp(44px, 6.4vw, 86px); }

/* ---------- superficies del navegador con la marca ---------- */
::selection { background: #955DA3; color: #fff; }
input, textarea { caret-color: #955DA3; }
html { scrollbar-color: #C39BCE #F5F3F0; }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #F5F3F0; } ::-webkit-scrollbar-thumb { background: #C39BCE; border-radius: 10px; border: 2px solid #F5F3F0; }
.loyal .soon { font: 600 14px var(--body); vertical-align: middle; position: relative; top: -0.3em; }

/* =========================================================
   APERTURA · presentación, gesto y exploración
   Proporciones reales: celular 71.5 × 146.7 mm, tarjeta CR80 54 × 85.5 mm.
   ========================================================= */
.device {
  --pw: 280px;
  position: relative; width: var(--pw); aspect-ratio: 71.5 / 146.7; flex: none;
  border-radius: calc(var(--pw) * .16); padding: calc(var(--pw) * .035);
  background: linear-gradient(145deg, #2C2A31, #141217);
  box-shadow: inset 0 0 0 calc(var(--pw) * .008) #4A4650, 0 40px 60px -30px rgba(23, 20, 27, .55), 0 12px 20px -14px rgba(23, 20, 27, .4);
  font-size: calc(var(--pw) / 23);
}
.device::before { content: ""; position: absolute; top: calc(var(--pw) * .07); left: 50%; transform: translateX(-50%); width: 30%; height: 3.8%; border-radius: 99px; background: #000; z-index: 5; }
.device::after { content: ""; position: absolute; right: calc(var(--pw) * -.012); top: 24%; width: calc(var(--pw) * .012); height: 12%; border-radius: 2px; background: #3A3740; }
.device__screen { position: relative; height: 100%; border-radius: calc(var(--pw) * .125); overflow: hidden; background: #fff; }
.pcard { position: relative; width: calc(var(--pw) * .755); aspect-ratio: 54 / 85.5; height: auto; max-width: none; border-radius: calc(var(--pw) * .044); box-shadow: 0 0 0 1px rgba(23, 20, 27, .06), 0 34px 46px -26px rgba(23, 20, 27, .5), 0 8px 14px -10px rgba(23, 20, 27, .3); background: #fff; }

/* pantallas */
.scr { position: absolute; inset: 0; padding: 4.2em 1.25em 1.3em; display: flex; flex-direction: column; gap: .7em; color: #17141B; background: #fff; opacity: 0; transform: translateY(1.4em) scale(.98); transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.scr.is-on { opacity: 1; transform: none; }
.scr small { color: #6B6570; font-size: .78em; }
.scr--lock { background: radial-gradient(120% 70% at 75% 85%, rgba(149, 93, 163, .65), transparent 60%), linear-gradient(165deg, #3A2A45, #15121A 70%); color: #fff; align-items: center; padding-top: 5.2em; }
.lock__date { font-size: .9em; opacity: .85; }
.lock__time { font: 700 4.4em/1 var(--display); letter-spacing: -.03em; }
.notif { position: absolute; left: .6em; right: .6em; top: 3.3em; display: flex; align-items: center; gap: .7em; padding: .8em .9em; border-radius: 1.3em; background: #FFFFFF; color: #17141B; font-size: 1.02em; line-height: 1.3; box-shadow: 0 .8em 1.6em -.8em rgba(0, 0, 0, .5); transform: translateY(-160%); opacity: 0; }
.notif img { width: 3.3em; height: auto; flex: none; }
.notif b { display: block; font-size: .95em; }
.notif span { color: #6B6570; font-size: .9em; }
.notif--static { position: relative; left: auto; right: auto; top: auto; margin-top: 2.2em; width: 100%; transform: none; opacity: 1; }
.tap { position: absolute; left: 50%; top: 5em; width: 2.6em; height: 2.6em; margin-left: -1.3em; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 .3em rgba(255, 255, 255, .25); opacity: 0; transform: scale(.6); }
.ln__avatar, .ct__avatar { width: 4.6em; height: 4.6em; border-radius: 50%; display: grid; place-items: center; align-self: center; background: linear-gradient(135deg, #955DA3, #6E3F7C); color: #fff; font: 700 1.7em/1 var(--display); flex: none; }
.ct__avatar { font-size: 1.4em; width: 3.8em; height: 3.8em; }
.ln__name, .ct__name { text-align: center; font: 700 1.4em/1.1 var(--display); }
.ln__sub, .ct__sub { text-align: center; margin-top: -.4em; }
.ln__btn { padding: .85em; border-radius: 1em; background: #F5F3F0; text-align: center; font-weight: 600; }
.scr--links .ln__btn:nth-of-type(1) { background: #955DA3; color: #fff; }
/* ejemplo real (cliente Infusa): sus colores café y crema */
.scr--infusa { background: #F4E8D8; color: #372A23; }
.scr--infusa img.ln__avatar { padding: 0; object-fit: cover; box-shadow: 0 0 0 .2em #fff; }
.scr--infusa .ln__sub { color: #7A6656; padding-inline: 1em; line-height: 1.3; }
.scr--infusa .ln__btn { background: #fff; color: #372A23; }
.scr--infusa .ln__btn:nth-of-type(1) { background: #372A23; color: #F4E8D8; }
.rv__top { display: grid; gap: .15em; padding-bottom: .8em; border-bottom: 1px solid #E3DED9; }
.rv__top b { font: 700 1.35em var(--display); }
.rv__q { font-weight: 600; margin-top: .3em; }
.rv__stars { display: flex; gap: .4em; }
.rv__stars i { width: 2.1em; height: 2.1em; background: #DAD5D0; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transition: background .3s, transform .3s; }
.scr--review.is-on .rv__stars i { animation: rvfill .45s cubic-bezier(.16, 1, .3, 1) forwards; }
.scr--review.is-on .rv__stars i:nth-child(2) { animation-delay: .1s; } .scr--review.is-on .rv__stars i:nth-child(3) { animation-delay: .2s; } .scr--review.is-on .rv__stars i:nth-child(4) { animation-delay: .3s; } .scr--review.is-on .rv__stars i:nth-child(5) { animation-delay: .4s; }
@keyframes rvfill { to { background: #FBBC04; transform: scale(1.08); } }
.rv__box { border: 1px solid #E3DED9; border-radius: .9em; padding: .8em; color: #6B6570; font-size: .85em; min-height: 7em; }
.rv__btn, .ct__btn { margin-top: auto; padding: .9em; border-radius: 99px; text-align: center; font-weight: 700; background: #955DA3; color: #fff; }
.ct__row { display: flex; justify-content: space-between; gap: .5em; padding: .65em 0; border-bottom: 1px solid #E3DED9; font-size: .92em; }
.ct__row span { color: #6B6570; }
.ct__btn { background: #6E3F7C; }
/* Contacto: su página → toca "Datos de contacto" → toca "Guardar contacto" → guardado con check (7.5 s en bucle; main.js rota al mismo ritmo) */
.scr--flow { --fl: 7.5s; padding: 0; overflow: hidden; }
.fl__page, .fl__sheet, .fl__saved { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .7em; }
.fl__page { padding: 4.2em 1.25em 1.3em; }
.scr--flow .fl__go { background: #955DA3; color: #fff; }
.fl__go, .fl__save { position: relative; }
.fl__tap { position: absolute; right: 16%; top: 50%; width: 2.2em; height: 2.2em; margin-top: -1.1em; border-radius: 50%; background: rgba(255, 255, 255, .5); box-shadow: 0 0 0 .3em rgba(255, 255, 255, .22); opacity: 0; pointer-events: none; }
.fl__sheet { top: 3.4em; gap: .6em; padding: 1.1em 1.1em 1.2em; background: #fff; color: #17141B; border-radius: 1.4em 1.4em 0 0; box-shadow: 0 -.5em 2em rgba(0, 0, 0, .2); transform: translateY(105%); }
.fl__head { text-align: center; }
.fl__name { text-align: center; font: 700 1.25em/1.15 var(--display); margin-top: .3em; }
.fl__sub { text-align: center; margin-top: -.35em; }
.fl__box { display: flex; flex-direction: column; gap: .8em; margin-top: .3em; padding: .9em 1em; border-radius: 1em; background: #F1F0EE; font-size: .86em; }
.fl__i { display: flex; align-items: center; gap: .7em; min-width: 0; overflow-wrap: anywhere; }
.fl__i::before { content: ''; flex: none; width: 1.15em; height: 1.15em; background: center / contain no-repeat; }
.fl__i--mail::before { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317141B' stroke-width='1.8'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='M3 7l9 6 9-6'/></svg>"); }
.fl__i--tel::before { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317141B' stroke-width='1.8' stroke-linejoin='round'><path d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/></svg>"); }
.fl__i--in::before { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317141B' stroke-width='1.8' stroke-linecap='round'><rect x='3' y='3' width='18' height='18' rx='3'/><path d='M8 11v6M8 7.5v.01M12 17v-6M12 13.5a2.5 2.5 0 0 1 5 0V17'/></svg>"); }
.fl__save { margin-top: auto; padding: .85em; border-radius: 99px; background: #17141B; color: #fff; text-align: center; font-weight: 700; }
.fl__saved { padding: 3.4em 1.1em 1em; gap: .55em; background: linear-gradient(180deg, #6E4F7A, #2E2433); color: #fff; opacity: 0; }
.fl__saved .ln__avatar { box-shadow: 0 0 0 .12em rgba(255, 255, 255, .35); }
.scr .fl__saved small { color: rgba(255, 255, 255, .72); }
.fl__check { position: absolute; left: 1em; top: 2.8em; width: 2em; height: 2em; border-radius: 50%; background: #3B82F6 url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 60% no-repeat; box-shadow: 0 .3em .8em rgba(59, 130, 246, .45); transform: scale(0); }
.fl__acts { display: flex; justify-content: center; gap: .5em; margin: .15em 0 .2em; }
.fl__acts i { width: 2.3em; height: 2.3em; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.fl__row { display: flex; flex-direction: column; padding: .55em .85em; border-radius: .8em; background: rgba(255, 255, 255, .12); font-size: .86em; overflow-wrap: anywhere; }
.scr--pb { background: #8B7D66; }
.scr--wa-pb .wa__av { background: linear-gradient(135deg, #4A4135, #2A251E); color: #fff; }
.scr--pb .fl__page { color: #fff; }
.scr--pb .fl__page small { color: rgba(255, 255, 255, .8); }
.scr--pb .ln__btn, .scr--pb .fl__go { background: #ADA28E; color: #1E1A14; }
.scr--pb .ln__avatar { background: linear-gradient(135deg, #4A4135, #2A251E); }
.scr--pb .fl__saved { background: linear-gradient(180deg, #8A8478, #4B4740); }
.scr--pb .fl__go .fl__tap { background: rgba(30, 26, 20, .3); box-shadow: 0 0 0 .3em rgba(30, 26, 20, .12); }
.scr--flow.is-on .fl__go { animation: flPress1 var(--fl) infinite; }
.scr--flow.is-on .fl__go .fl__tap { animation: flTap1 var(--fl) infinite; }
.scr--flow.is-on .fl__sheet { animation: flSheet var(--fl) cubic-bezier(.16, 1, .3, 1) infinite; }
.scr--flow.is-on .fl__save { animation: flPress2 var(--fl) infinite; }
.scr--flow.is-on .fl__save .fl__tap { animation: flTap2 var(--fl) infinite; }
.scr--flow.is-on .fl__saved { animation: flSaved var(--fl) cubic-bezier(.16, 1, .3, 1) infinite; }
.scr--flow.is-on .fl__check { animation: flCheck var(--fl) infinite; }
@keyframes flTap1 { 0%, 13% { opacity: 0; transform: scale(.5); } 16% { opacity: 1; transform: scale(1); } 22%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes flPress1 { 0%, 15% { transform: none; } 17% { transform: scale(.96); } 20%, 100% { transform: none; } }
@keyframes flSheet { 0%, 22% { transform: translateY(105%); opacity: 1; } 30%, 94% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
@keyframes flTap2 { 0%, 45% { opacity: 0; transform: scale(.5); } 48% { opacity: 1; transform: scale(1); } 54%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes flPress2 { 0%, 47% { transform: none; } 49% { transform: scale(.96); } 52%, 100% { transform: none; } }
@keyframes flSaved { 0%, 55% { opacity: 0; transform: translateY(1.2em); } 61%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes flCheck { 0%, 62% { transform: scale(0); } 67% { transform: scale(1.2); } 71%, 100% { transform: scale(1); } }
.scr--wa { background: #EFE7DE; padding: 0 .8em 1em; gap: .6em; }
.wa__bar { display: flex; align-items: center; gap: .7em; margin: 0 -.8em .4em; padding: 3.6em 1em .8em; background: #1F7A45; color: #fff; }
.wa__bar small { color: rgba(255, 255, 255, .8); display: block; }
.wa__av { width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: #C39BCE; font-weight: 700; font-size: .85em; flex: none; }
.wa__msg { max-width: 82%; padding: .6em .8em; border-radius: .8em; font-size: .92em; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa__msg--in { background: #fff; align-self: flex-start; border-top-left-radius: .15em; }
.wa__msg--out { background: #D9FDD3; align-self: flex-end; border-top-right-radius: .15em; }
.wa__input { margin-top: auto; background: #fff; border-radius: 99px; padding: .75em 1em; color: #6B6570; }

/* 1 · presentación */
.launch { position: relative; overflow: hidden; background: #FBFAFC; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px); }
.launch__field { position: absolute; right: -10vw; top: -12vh; width: 60vw; height: 120%; background: #EBDDF0; border-radius: 62% 38% 46% 54% / 40% 52% 48% 60%; transform: rotate(-12deg); }
.launch__lines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 calc(16.666% - 1px), rgba(23, 20, 27, .06) calc(16.666% - 1px) 16.666%); }
.launch__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
.launch__copy { min-width: 0; display: grid; gap: 22px; }
.launch__title { font: 700 clamp(48px, 6.4vw, 6rem)/.96 var(--display); letter-spacing: -0.04em; font-variation-settings: "opsz" 96; }
.launch__title span { color: #955DA3; }
.launch__lede { font-size: clamp(18px, 1.5vw, 21px); color: #4A4450; max-width: 30ch; }
.launch__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.launch__more { font-weight: 600; color: #17141B; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.launch__meta { font-size: 14px; color: #6B6570; }
.launch__stage { position: relative; height: clamp(440px, 46vw, 600px); min-width: 0; }
.device--hero { --pw: clamp(200px, 20vw, 270px); position: absolute; right: 12%; top: 0; transform: rotate(7deg); }
.pcard--hero { --pw: clamp(200px, 20vw, 270px); position: absolute; left: 10%; bottom: 0; transform: rotate(-8deg); }
@media (max-width: 860px) {
  .launch__grid { grid-template-columns: 1fr; gap: 12px; }
  .launch__stage { height: 380px; }
  .device--hero { --pw: 170px; right: 8%; }
  .pcard--hero { --pw: 170px; left: 8%; }
  .launch__field { right: -50vw; top: 46%; width: 140vw; height: 60%; }
}

/* 2 · gesto */
.gesture { background: #fff; border-top: 1px solid #EEEAF0; }
.gesture__pin { position: relative; min-height: calc(100vh - 60px); display: flex; align-items: center; padding-block: 40px; overflow: hidden; }
.gesture__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 72px); align-items: center; width: 100%; }
.gesture__copy { min-width: 0; display: grid; gap: 26px; }
.gsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gsteps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 12px 0; color: #6B6570; transition: color .4s cubic-bezier(.16, 1, .3, 1); }
.gsteps li.is-on { color: #17141B; }
.gsteps li:not(.is-on) b { font-weight: 600; }
.gsteps span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 17px var(--display); border: 1.5px solid #D5CFDA; color: #6B6570; transition: background .4s, color .4s, border-color .4s; }
.gsteps li.is-on span { background: #955DA3; border-color: #955DA3; color: #fff; }
.gsteps b { font: 700 22px/1.2 var(--display); display: block; }
.gsteps p { color: #6B6570; font-size: 15px; }
.gesture__note { font-size: 14px; color: #6B6570; max-width: 40ch; }
.gesture__stage { position: relative; height: min(70vh, 620px); min-height: 460px; min-width: 0; }
.pcard--demo { --pw: clamp(200px, 17vw, 240px); position: absolute; left: 14%; top: 2%; transform: rotate(-4deg); }
.device--demo { --pw: clamp(200px, 17vw, 240px); position: absolute; left: 46%; top: 44%; transform: rotate(10deg); transform-origin: 50% 0; }
.nfc-rings { position: absolute; left: 14%; top: 2%; width: calc(clamp(200px, 17vw, 240px) * .755); aspect-ratio: 54 / 85.5; pointer-events: none; transform: rotate(-4deg); z-index: 3; }
.nfc-rings i { position: absolute; left: 50%; top: 76%; width: 30%; aspect-ratio: 1; margin-left: -15%; border-radius: 50%; border: 2px solid #70B62C; opacity: 0; transform: translateY(-50%) scale(.5); }
.gesture__bar { position: absolute; left: max(20px, calc((100vw - 1180px) / 2 + 20px)); right: max(20px, calc((100vw - 1180px) / 2 + 20px)); bottom: 18px; height: 2px; background: #EEEAF0; border-radius: 2px; overflow: hidden; }
.gesture__bar span { display: block; height: 100%; width: 0; background: #955DA3; }
@media (max-width: 860px) {
  .gesture__pin { min-height: calc(100svh - 60px); padding-block: 20px 36px; align-items: flex-start; }
  .gesture__grid { grid-template-columns: 1fr; gap: 6px; }
  .gesture__copy { order: 2; gap: 10px; }
  .gesture__copy .h2 { display: none; }
  .gsteps li { display: none; padding: 4px 0; }
  .gsteps li.is-on { display: grid; }
  .gesture__note { font-size: 13px; }
  .gesture__stage { height: 60svh; min-height: 380px; }
  .pcard--demo, .nfc-rings { --pw: 150px; left: 6%; }
  .nfc-rings { width: calc(150px * .755); }
  .device--demo { --pw: 150px; left: 44%; top: 46%; }
}

/* 3 · exploración */
.explore { position: relative; background: #FBFAFC; padding-block: clamp(72px, 9vw, 120px); overflow: hidden; }
.explore__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.explore__copy { min-width: 0; display: grid; gap: 22px; align-content: center; }
.xtabs { display: flex; flex-wrap: wrap; gap: 8px; }
.xtabs button { border: 1.5px solid #D5CFDA; background: #fff; color: #17141B; font: 600 16px var(--body); padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s cubic-bezier(.16, 1, .3, 1); }
.xtabs button:hover { border-color: #955DA3; transform: translateY(-1px); }
.xtabs button[aria-selected="true"] { background: #17141B; border-color: #17141B; color: #fff; }
.explore__desc { font-size: 19px; color: #4A4450; max-width: 36ch; min-height: 3em; }
.explore__other { font-size: 15px; color: #6B6570; max-width: 46ch; }
.explore__other b { color: #17141B; font-weight: 600; }
.explore__copy .btn { justify-self: start; }
.explore__stage { position: relative; height: clamp(520px, 52vw, 640px); min-width: 0; display: grid; place-items: center; }
.explore__field { position: absolute; inset: 4% 0; background: #EBDDF0; border-radius: 62% 38% 46% 54% / 40% 52% 48% 60%; transition: background .8s cubic-bezier(.16, 1, .3, 1), border-radius 1s cubic-bezier(.16, 1, .3, 1); }
.device--explore { --pw: clamp(220px, 21vw, 280px); position: relative; transform: translateX(14%); }
.pcard--explore { --pw: clamp(220px, 21vw, 280px); position: absolute; left: 4%; bottom: 8%; z-index: 2; transform: rotate(-8deg); transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.pcard--explore.is-swap { transform: rotate(-8deg) rotateY(90deg); }
/* diseños de clientes en horizontal (85.5 × 54 mm) */
.pcard--explore.is-land { width: calc(var(--pw) * 1.12); aspect-ratio: 85.5 / 54; border-radius: calc(var(--pw) * .05); bottom: 14%; left: 0; }
@media (max-width: 860px) {
  .explore__grid { grid-template-columns: 1fr; }
  .explore__stage { height: 480px; order: -1; }
  .device--explore { --pw: 200px; }
  .pcard--explore { --pw: 200px; left: -2%; bottom: 4%; }
}

/* gesto: borde superior del iPhone que toca la tarjeta */
.g-edge { position: absolute; left: 26%; right: 26%; top: calc(var(--pw) * -.012); height: calc(var(--pw) * .016); border-radius: 99px; background: #70B62C; box-shadow: 0 2px 6px -2px rgba(23, 20, 27, .45); opacity: 0; z-index: 6; pointer-events: none; }
.notif b { font-size: 1em; } .notif span { font-size: .92em; color: #4A4450; }

/* explorador: diseño y enlace por separado */
.explore__lede { font-size: 17px; color: #4A4450; max-width: 40ch; margin-top: -8px; }
.xgroup { display: grid; gap: 12px; }
.xgroup__label { font: 600 13px var(--body); color: #4A4450; }
.xnote { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #E3DED9; font-size: 15px; color: #4A4450; max-width: 44ch; }
.xnote b { color: #17141B; }
.xnote[hidden] { display: none !important; }
.xdesigns { display: flex; gap: 10px; flex-wrap: wrap; }
.xdesigns button { display: grid; justify-items: center; gap: 6px; padding: 8px 8px 6px; border-radius: 14px; border: 1.5px solid #E3DED9; background: #fff; cursor: pointer; font: 600 13px var(--body); color: #4A4450; transition: border-color .3s, transform .3s cubic-bezier(.16, 1, .3, 1); }
.xdesigns button:hover { transform: translateY(-2px); border-color: #C39BCE; }
.xdesigns button[aria-checked="true"] { border-color: #17141B; color: #17141B; }
.xdesigns img { width: 38px; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgba(23, 20, 27, .08), 0 4px 8px -4px rgba(23, 20, 27, .3); }
.explore__field { background: #EBDDF0 !important; }
.xcombo { position: relative; margin: 0; display: grid; place-items: center; width: 100%; height: 100%; }
.xcombo__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; font: 500 13px var(--body); }
.xcombo__cap span { padding: 6px 12px; border-radius: 999px; background: #fff; color: #17141B; box-shadow: 0 0 0 1px #E3DED9; }
@media (max-width: 860px) { .xcombo__cap { bottom: -6px; } }
.device--demo .notif { font-size: 1.3em; top: 3.1em; left: .45em; right: .45em; padding: .7em .75em; gap: .55em; }
.device--demo .notif img { width: 2.6em; }
@media (max-width: 860px) { .device--demo .notif { font-size: 1.8em; top: 2.6em; } .device--demo .notif img { display: none; } }

@media (max-width: 860px) {
  .explore__stage { height: 520px; }
  .pcard--explore { bottom: 14%; }
  .xcombo__cap { bottom: -18px; z-index: 4; }
}

/* enlace para saltar al contenido con teclado */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: #17141B; color: #fff; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
main:focus { outline: none; }

/* gesto: aviso ampliado junto al celular (zoom de la notificación del paso 2) */
.nfc-rings { z-index: 1 !important; }
.device--demo { z-index: 2; }
.g-callout {
  position: absolute; z-index: 3; left: 50%; top: 38%; width: min(300px, 46%);
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px;
  background: #FFFFFF; color: #17141B; box-shadow: 0 0 0 1px rgba(23, 20, 27, .06), 0 24px 40px -18px rgba(23, 20, 27, .45);
  opacity: 0; pointer-events: none;
}
.g-callout img { width: 56px; height: auto; flex: none; }
.g-callout b { display: block; font: 700 17px/1.2 var(--body); }
.g-callout span { display: block; font-size: 15px; color: #4A4450; line-height: 1.3; }
@media (max-width: 860px) {
  .g-callout { left: 50%; top: 30%; width: 48%; padding: 10px 12px; gap: 8px; border-radius: 16px; }
  .g-callout img { display: none; }
  .g-callout b { font-size: 15px; } .g-callout span { font-size: 13px; }
}

/* explorador: formato y diseños por enlace */
.xformat { display: inline-flex; padding: 4px; border-radius: 999px; background: #EEEAF0; gap: 2px; justify-self: start; }
.xformat button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: 600 15px var(--body); color: #4A4450; cursor: pointer; display: grid; gap: 1px; text-align: center; transition: background .3s, color .3s; }
.xformat button small { font: 500 11px var(--body); color: #6B6570; }
.xformat button[aria-checked="true"] { background: #fff; color: #17141B; box-shadow: 0 2px 8px -2px rgba(23, 20, 27, .2); }
.xdesigns img { width: 38px; height: auto; }
.explore__stage.is-sticker .xdesigns img { width: 46px; }
/* sticker real: 100 mm de lado frente a 71.5 mm de ancho del celular → 1.399 veces el ancho del celular */
.explore__stage.is-sticker .pcard--explore { aspect-ratio: 1; width: calc(var(--pw) * 1.399); border-radius: calc(var(--pw) * .044); left: 1%; bottom: 9%; }
.explore__stage.is-sticker .device--explore, .explore__stage.is-sticker .pcard--explore { --pw: clamp(180px, 15vw, 210px); }
/* el sticker es grande (a escala): el celular sube y se corre a la derecha para que su pantalla se lea, el sticker solo tapa su esquina de abajo */
.explore__stage.is-sticker .device--explore { transform: translate(46%, -8%); }
@media (max-width: 860px) {
  .explore__stage.is-sticker .device--explore, .explore__stage.is-sticker .pcard--explore { --pw: 150px; }
  .explore__stage.is-sticker .device--explore { transform: translate(52%, -10%); }
  .explore__stage.is-sticker .pcard--explore { left: 0; bottom: 14%; }
}

/* el sticker va al frente: su QR lateral no debe quedar bajo el celular */
.explore__stage .pcard--explore { z-index: 3; }
.device--explore { z-index: 1; }

/* aviso del celular: siempre debajo de la isla (la isla termina a ~11% del ancho del celular dentro de la pantalla) */
.device--demo .notif { top: calc(var(--pw) * .15); }
@media (max-width: 860px) { .device--demo .notif { top: calc(var(--pw) * .15); } }
/* aviso ampliado: anclado a ambos lados para que nunca se salga de la escena */
.g-callout { left: 52%; right: 1%; width: auto; max-width: 300px; }
.g-callout > div { min-width: 0; }
@media (max-width: 860px) { .g-callout { left: 50%; right: 0; width: auto; } }

/* ---------- utilidades ---------- */
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; font-style: normal; }
.btn--line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--purple); }

/* ---------- diseñador ---------- */
.studio { padding-block: clamp(72px, 10vw, 140px); background: #fff; border-block: 1px solid var(--line); }
.studio__lede { margin-top: 18px; font-size: 18px; color: #4A4450; max-width: 56ch; }
.studio__row { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper); border-radius: 999px; justify-self: start; }
.seg { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: 600 15px var(--body); color: var(--muted); cursor: pointer; }
.seg[aria-checked="true"] { background: #fff; color: var(--text); box-shadow: 0 2px 8px -4px rgba(14, 12, 17, .35); }
.studio__tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); }
.studio__tabs button { border: 0; background: none; padding: 10px 0; margin-bottom: -1px; font: 600 16px var(--body); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.studio__tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--purple); }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 6px; }
.field__hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.field input[type="text"] { font: 400 16px var(--body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); }
.field input[type="text"]:focus { outline: none; border-color: var(--purple); }
.field input[type="file"] { font: 400 14px var(--body); color: var(--muted); max-width: 100%; }
.field input[type="file"]::file-selector-button { font: 600 14px var(--body); padding: 9px 16px; margin-right: 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--text); cursor: pointer; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches label { position: relative; cursor: pointer; }
.swatches input[type="radio"] { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatches span { display: block; width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(14, 12, 17, .18); }
.swatches input:checked + span { box-shadow: inset 0 0 0 1px rgba(14, 12, 17, .18), 0 0 0 3px #fff, 0 0 0 5px var(--purple); }
.swatches input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 6px; }
.swatches__pick input { width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: conic-gradient(#E7363A, #FECC2E, #13A85A, #1F4E8C, #955DA3, #E7363A); cursor: pointer; }
.swatches__pick input::-webkit-color-swatch-wrapper { padding: 0; }
.swatches__pick input::-webkit-color-swatch { border: 0; border-radius: 50%; opacity: 0; }
.swatches__pick.is-on input { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--purple); }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--purple); }
.studio__note { font-size: 13px; color: var(--muted); margin: 0; max-width: 60ch; }
.studio__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- asistente virtual ---------- */
.bot-fab {
  position: fixed; z-index: 41;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--purple); color: #fff; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(14, 12, 17, .55);
  transition: transform .3s var(--ease), background .3s;
}
.bot-fab:hover { transform: translateY(-3px) scale(1.03); background: #84509A; }
.bot {
  position: fixed; z-index: 45;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(152px + env(safe-area-inset-bottom, 0px));
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - 180px));
  display: flex; flex-direction: column; background: #fff; color: var(--text); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(14, 12, 17, .45), 0 0 0 1px rgba(14, 12, 17, .08);
  transform-origin: 100% 100%; animation: bot-in .35s cubic-bezier(.16, 1, .3, 1);
}
.bot[hidden] { display: none; }
@keyframes bot-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.bot__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line); }
.bot__head div { display: grid; line-height: 1.2; flex: 1; }
.bot__head b { font-size: 15px; }
.bot__head span { font-size: 12px; color: var(--muted); }
.bot__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper); font-size: 22px; line-height: 1; cursor: pointer; color: var(--text); }
.bot__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.bot__msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.bot__msg p { margin: 0; }
.bot__msg p + p { margin-top: 6px; }
.bot__msg a { color: var(--purple); font-weight: 600; }
.bot__msg--bot { background: var(--paper); border-bottom-left-radius: 4px; align-self: flex-start; }
.bot__msg--me { background: var(--purple); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.bot__msg .btn { margin-top: 8px; min-height: 40px; font-size: 14px; padding: 0 16px; background: #187A42; color: #fff; }
.bot__chips { display: flex; gap: 8px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; }
.bot__chips button { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--text); padding: 8px 12px; border-radius: 999px; font: 500 13px var(--body); cursor: pointer; }
.bot__chips button:hover { border-color: var(--purple); }
.bot__form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.bot__form input { flex: 1; min-width: 0; font: 400 16px var(--body); padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; }
.bot__form input:focus { outline: none; border-color: var(--purple); }
.bot__form button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; cursor: pointer; }
@media (max-width: 520px) {
  .bot { right: 8px; left: 8px; width: auto; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); height: min(520px, calc(100dvh - 170px)); }
}
/* ---------- editor de diseño (tipo Aircards) ---------- */
.studio__tabs { margin-top: 32px; }
.ed { display: grid; grid-template-columns: 250px minmax(0, 1fr) 270px; gap: 20px; margin-top: 20px; align-items: start; }
.ed__tools, .ed__props { background: var(--paper); border-radius: 18px; padding: 14px; display: grid; gap: 14px; min-width: 0; }
.ed__toolbar { display: flex; flex-wrap: wrap; gap: 6px; }
.ed__toolbar button { border: 0; background: #fff; color: var(--text); padding: 8px 12px; border-radius: 999px; font: 600 13px var(--body); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.ed__toolbar button[aria-pressed="true"] { background: var(--text); color: #fff; box-shadow: none; }
.ed__panel { display: grid; gap: 12px; }
.ed__stack { display: grid; gap: 10px; }
.ed__hint { font-size: 13px; color: var(--muted); margin: 0; }
.ed__label { font: 600 12px var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ed__label--strong { color: var(--text); font-size: 13px; }
.ed__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool-btn { border: 1.5px dashed #CFC6D6; background: #fff; border-radius: 12px; padding: 12px; font: 600 14px var(--body); color: var(--text); cursor: pointer; text-align: left; }
.tool-btn:hover { border-color: var(--purple); }
.tool-btn--title { font: 750 18px var(--display); }
.link-btn { border: 0; background: none; padding: 0; font: 600 13px var(--body); color: var(--purple); text-decoration: underline; cursor: pointer; justify-self: start; }
.tpls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tpl { border: 0; background: none; padding: 0; display: grid; gap: 6px; cursor: pointer; font: 600 13px var(--body); color: var(--text); }
.tpl canvas { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px rgba(14, 12, 17, .1), 0 8px 16px -10px rgba(14, 12, 17, .4); transition: transform .2s; }
.tpl:hover canvas { transform: translateY(-2px); }
.shapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.shape-btn { aspect-ratio: 1; border: 0; background: #fff; border-radius: 12px; display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.shape-btn:hover { box-shadow: inset 0 0 0 1.5px var(--purple); }
.shape-i { display: block; background: var(--purple); }
.shape-i--rect { width: 26px; height: 26px; border-radius: 4px; }
.shape-i--circle { width: 28px; height: 28px; border-radius: 50%; }
.shape-i--pill { width: 32px; height: 14px; border-radius: 99px; }
.shape-i--line { width: 30px; height: 3px; border-radius: 2px; }
.swatches--sm { gap: 6px; }
.sw { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(14, 12, 17, .2); padding: 0; }
.sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(14, 12, 17, .2), 0 0 0 2px #fff, 0 0 0 4px var(--purple); }
.swatches--sm .swatches__pick input { width: 28px; height: 28px; }
.corners { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 120px; aspect-ratio: 54 / 70; padding: 8px; background: #fff; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.corners button { border: 0; background: none; cursor: pointer; display: grid; padding: 4px; border-radius: 6px; }
.corners button:nth-child(1) { place-items: start; } .corners button:nth-child(2) { place-items: start end; }
.corners button:nth-child(3) { place-items: end start; } .corners button:nth-child(4) { place-items: end; }
.corners i { width: 34px; height: 10px; border-radius: 3px; background: #DCD5E0; }
.corners button[aria-checked="true"] i { background: var(--purple); }
.corners button:hover { background: var(--paper); }
.ed__stage { display: grid; gap: 12px; min-width: 0; }
.ed__bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.ed__hist { display: flex; gap: 6px; }
.ed__hist button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.ed__hist button:disabled { opacity: .35; cursor: default; }
.ed__canvas { display: grid; place-items: center; padding: clamp(16px, 3vw, 36px); background: repeating-conic-gradient(#EFECF1 0 25%, #F7F5F8 0 50%) 0 0 / 22px 22px; border-radius: 18px; }
.ed__canvas canvas { width: min(100%, 330px); height: auto; aspect-ratio: 54 / 85.5; border-radius: 4.6% / 2.9%; box-shadow: 0 30px 50px -28px rgba(42, 15, 69, .55), 0 0 0 1px rgba(14, 12, 17, .08); touch-action: none; cursor: grab; }
.ed__canvas canvas:active { cursor: grabbing; }
.ed__canvas canvas:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.ed__canvas.is-sticker canvas { width: min(100%, 400px); aspect-ratio: 1; border-radius: 3%; }
.field textarea, .field select { font: 400 15px var(--body); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); resize: vertical; min-width: 0; }
.field textarea:focus, .field select:focus { outline: none; border-color: var(--purple); }
.rng-ed { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.rng-ed span { display: flex; justify-content: space-between; }
.rng-ed output { font: 500 12px var(--mono); color: var(--muted); }
.rng-ed input { accent-color: var(--purple); width: 100%; }
.ed__acts { display: flex; flex-wrap: wrap; gap: 6px; }
.ed__acts button { border: 0; background: #fff; padding: 7px 11px; border-radius: 999px; font: 600 12px var(--body); color: var(--text); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.ed__acts button:hover { box-shadow: inset 0 0 0 1.5px var(--purple); }
.ed__acts .is-danger { color: #B3261E; }
.layers-ed { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.layers-ed ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 220px; overflow: auto; }
.layers-ed button { width: 100%; text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 8px; font: 500 13px var(--body); color: var(--text); cursor: pointer; }
.layers-ed button:hover { background: #fff; }
.layers-ed button[aria-current="true"] { background: #fff; box-shadow: inset 3px 0 0 var(--purple); font-weight: 600; }
.auto { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; margin-top: 24px; align-items: start; }
.auto__form { display: grid; gap: 14px; background: var(--paper); border-radius: 18px; padding: 18px; }
.auto__form .btn { justify-self: start; }
.auto__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.prop { margin: 0; display: grid; gap: 8px; }
.prop canvas { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px rgba(14, 12, 17, .1), 0 16px 26px -16px rgba(42, 15, 69, .5); }
.prop figcaption { display: grid; gap: 6px; justify-items: start; font-size: 14px; }
.studio__actions { margin-top: 28px; }
.studio .studio__actions + .studio__note { margin-top: 10px; }
@media (max-width: 1100px) {
  .ed { grid-template-columns: minmax(0, 1fr) 270px; }
  .ed__tools { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 760px) {
  .ed { grid-template-columns: 1fr; }
  .ed__stage { order: 1; } .ed__tools { order: 2; } .ed__props { order: 3; }
  .ed__toolbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding-inline: 4px; }
  .ed__toolbar button { flex: none; }
  .ed__canvas canvas { width: min(100%, 260px); }
  .ed__canvas.is-sticker canvas { width: min(100%, 300px); }
  .auto { grid-template-columns: 1fr; }
  .auto__grid { grid-template-columns: 1fr 1fr; }
}
/* =====================================================================
   Recorrido unificado: formato con sus diferencias · Personaliza (galería + estudio) · Ayuda
   ===================================================================== */
[hidden] { display: none !important; }
::selection { background: rgba(149, 93, 163, .26); color: var(--text); }
html { accent-color: var(--purple); caret-color: var(--purple); }

/* botón de texto con flecha (Ver por dentro, Pregúntale al asistente) */
.more-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; background: none; cursor: pointer; font: 600 15px var(--body); color: var(--purple); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; justify-self: start; }
.more-btn svg { transition: transform .4s var(--ease); }
.more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.gesture__copy .more-btn { margin-top: 10px; }
.inside:not([hidden]) { animation: reveal .7s cubic-bezier(.16, 1, .3, 1); }
@keyframes reveal { from { opacity: 0; clip-path: inset(0 0 12% 0); } to { opacity: 1; clip-path: inset(0); } }

/* formato: lo que cambia al elegir tarjeta o sticker */
.xspec { display: grid; gap: 10px; max-width: 44ch; }
.xspec__use { font-size: 15px; color: #4A4450; }
.xspec__list { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.xspec__list div { display: flex; gap: 6px; }
.xspec__list dt { color: var(--muted); }
.xspec__list dd { margin: 0; font-weight: 600; color: var(--text); }

/* ---------- 4 · Personaliza ---------- */
.persona { padding-block: clamp(80px, 11vw, 150px); background: #fff; border-block: 1px solid var(--line); }
.persona__head { display: grid; gap: 14px; max-width: 780px; }
.persona__lede { font-size: clamp(18px, 1.6vw, 21px); color: #4A4450; }
.gal { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
/* escenario: misma luz y mismo encuadre para todas las vistas; la tarjeta mide siempre lo mismo de lado largo */
.gal__stage { --long: min(66%, 500px); position: relative; aspect-ratio: 5 / 4; min-width: 0; border-radius: calc(var(--radius) + 8px); display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 38%, #FFFFFF 0%, #F1EDF2 60%, #E6DFE8 100%); }
.gal__card { position: relative; z-index: 1; width: calc(var(--long) * 54 / 85.5); aspect-ratio: 54 / 85.5; border-radius: 4.6% / 2.9%; overflow: hidden; background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 34px 48px -24px rgba(42, 15, 69, .42), 0 10px 18px -12px rgba(42, 15, 69, .28); }
.gal__card.is-land { width: var(--long); aspect-ratio: 85.5 / 54; border-radius: 2.9% / 4.6%; }
.gal__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
/* luz de estudio común: un brillo suave arriba a la izquierda */
.gal__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0) 70%, rgba(20, 8, 30, .08)); pointer-events: none; }
.gal__card { transition: transform .9s cubic-bezier(.16, 1, .3, 1), width .5s cubic-bezier(.16, 1, .3, 1); }

.gal__tag { position: absolute; z-index: 2; left: 18px; top: 16px; display: flex; gap: 8px; align-items: center; font: 500 13px var(--body); color: #4A4450; }
.gal__tag b { padding: 4px 10px; border-radius: 999px; background: var(--green); color: #0E1A04; font-weight: 600; }
.gal__tag.is-sample b { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.gal__side { min-width: 0; display: grid; gap: 12px; align-content: center; }
.gal__designs { display: grid; gap: 8px; margin-bottom: 10px; }
.gal__chip { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; border: 0; border-radius: 14px; background: var(--paper); cursor: pointer; font: 600 15px var(--body); text-align: left; transition: background .25s, box-shadow .25s; }
.gal__chip small { font: 500 12px var(--body); color: var(--muted); }
.gal__chip:hover { background: #EEE8F0; }
.gal__chip[aria-checked="true"] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--purple), 0 6px 16px -10px rgba(42, 15, 69, .35); }
.gal__views { display: flex; gap: 10px; margin-bottom: 8px; }
.gal__thumb { display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; font: 500 12px var(--body); color: var(--muted); }
.gal__thumb > span { width: 44px; height: 70px; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 10px -6px rgba(42, 15, 69, .3); transition: box-shadow .25s, transform .25s; }
.gal__thumb.is-land > span { width: 70px; height: 44px; }
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumb:hover > span { transform: translateY(-2px); }
.gal__thumb[aria-checked="true"] { color: var(--text); font-weight: 600; }
.gal__thumb[aria-checked="true"] > span { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--purple); }
.persona__list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; }
.persona__list li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.persona__list span { color: var(--muted); }
.persona__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.persona__pick { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .gal { grid-template-columns: 1fr; }
  .gal__stage { --long: 72%; aspect-ratio: 1 / 1; }
}

/* el estudio se abre dentro de Personaliza */
.persona .studio { margin-top: clamp(48px, 7vw, 88px); padding: clamp(32px, 5vw, 56px) 0 0; background: none; border: 0; border-top: 1px solid var(--line); animation: reveal .6s cubic-bezier(.16, 1, .3, 1); scroll-margin-top: 80px; }
.studio__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; }
.studio__title { font: 750 clamp(26px, 3vw, 34px)/1.1 var(--display); letter-spacing: -.02em; }
.studio__link { display: grid; gap: 4px; font: 600 13px var(--body); color: #4A4450; }
.studio__link select { min-height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 15px var(--body); color: var(--text); }
.persona .studio .studio__lede { margin-top: 8px; font-size: 16px; }
.auto__pick { font: 600 14px var(--body); color: var(--purple); }

/* ---------- 7 · Preguntas y ayuda ---------- */
.help .help__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.help__intro { display: grid; gap: 28px; position: sticky; top: 90px; }
.help__contact { display: grid; gap: 14px; padding: 26px; border-radius: var(--radius); background: var(--ink); color: #F2EFF4; scroll-margin-top: 90px; }
.help__contact h3 { font: 700 22px var(--display); }
.help__contact > p { color: #B9B2BF; font-size: 15px; }
.help__contact .btn { justify-self: start; }
.help__contact .contact { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.help__contact .contact li { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--ink-line); }
.help__contact .contact span { color: #A49DAA; }
.help__contact .more-btn { color: var(--purple-hi); }
.help__sub { margin-top: clamp(56px, 8vw, 96px); font: 700 clamp(22px, 2.4vw, 28px) var(--display); letter-spacing: -.01em; }
.help .support__grid { margin-top: 20px; }
@media (max-width: 860px) { .help .help__grid { grid-template-columns: 1fr; } .help__intro { position: static; } }