/* Confetti Craft Co. · "Mesa de taller", tercera versión
   Concepto: la página es el taller de Camila. Papel crema con trama de imprenta, dibujos de línea fina
   con el color un poco corrido (estilo riso), un hero de cine donde la máquina imprime el logo en 3D, papel que se
   rasga con la tijera y el confeti como detalle vivo que celebra cada pedido. Las fotos van limpias, sin marco.
   Todo lo demás es tranquilo: tinta ciruela, los pasteles del logo y títulos con dos voces (recta + cursiva).
   Mobile first. */

@font-face { font-family: 'Fraunces Display'; src: url('/assets/fonts/fraunces-display-800.woff') format('woff'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Fraunces Italic'; src: url('/assets/fonts/fraunces-italic-700.woff') format('woff'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fraunces Text'; src: url('/assets/fonts/fraunces-text-650.woff') format('woff'); font-weight: 650; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/dmsans-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/dmsans-500.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/dmsans-700.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Pacifico'; src: url('/assets/fonts/pacifico-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('/assets/fonts/fredoka-600.woff') format('woff'); font-weight: 600; font-display: swap; }

:root {
  --cream: #FBF3E2;
  --cream-2: #F4E6CA;
  --paper: #FFFDF8;
  --white: #FFFFFF;
  --pink: #F2A3B5;
  --pink-soft: #F9D3DC;
  --pink-mist: #FDEEF2;
  --pink-ink: #A8355C;
  --lilac: #C3B8E2;
  --lilac-soft: #ECE7F7;
  --lilac-ink: #5B4B91;
  --sky: #8FC3E3;
  --sky-soft: #E2F0F9;
  --mint: #A9DDB9;
  --mint-soft: #E3F4E8;
  --butter: #FFD86E;
  --butter-soft: #FFF4CF;
  --ink: #2B2230;
  --ink-2: #5B4F61;
  --ink-3: #887D8E;
  --line: rgba(43, 34, 48, .13);
  --line-2: rgba(43, 34, 48, .07);
  --ok: #2F7D4F;
  --error: #B42340;
  --airbrush: linear-gradient(100deg, #D24E7B 0%, #9A69CF 52%, #4E9BCB 100%);
  --rainbow: linear-gradient(90deg, #F2A3B5, #FFD86E, #A9DDB9, #8FC3E3, #C3B8E2);
  --f-display: 'Fraunces Display', 'Fraunces Text', Georgia, serif;
  --f-italic: 'Fraunces Italic', Georgia, serif;
  --f-head: 'Fraunces Text', Georgia, serif;
  --f-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-script: 'Pacifico', 'Brush Script MT', cursive;
  --f-round: 'Fredoka', 'DM Sans', sans-serif;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --sh-sm: 0 1px 2px rgba(43, 34, 48, .06), 0 6px 16px -8px rgba(43, 34, 48, .22);
  --sh: 0 2px 4px rgba(43, 34, 48, .05), 0 22px 44px -24px rgba(43, 34, 48, .42);
  --gutter: 18px;
  --header-h: 62px;
  --bar-h: 0px;
  --vh: 1vh;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--sticky-extra, 0px) + 14px); }
body {
  margin: 0; min-height: 100vh; background: var(--cream); color: var(--ink);
  font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
/* grano de papel impreso, casi invisible */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2 0 0 0 0 .13 0 0 0 0 .19 0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
#main, .site-footer, .site-header, #bars { position: relative; z-index: 1; }
body.locked { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; line-height: 1.1; letter-spacing: -.01em; font-family: var(--f-head); }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--lilac-ink); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.noscript { padding: 24px; text-align: center; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-2); }
.tiny { font-size: 13px; }

/* dos voces: recta + cursiva con aerógrafo (como el logo) */
.rich em, h1 em, h2 em {
  font-family: var(--f-italic); font-style: italic; font-weight: 700; letter-spacing: -.01em;
  background: var(--airbrush); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .06em; margin: 0 -.03em;
}
.label { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1.2 var(--f-body); letter-spacing: .17em; text-transform: uppercase; color: var(--pink-ink); }
.label svg { width: 14px; height: 14px; flex: none; }

/* ---------- botones ---------- */
.btn {
  --bg: var(--pink); --fg: var(--ink); --bd: var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 16px; letter-spacing: .01em; line-height: 1.15; text-align: center;
  text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .25s var(--spring), box-shadow .3s var(--ease), background-color .25s;
  user-select: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 24px -12px rgba(43, 34, 48, .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.dark { --bg: var(--ink); --fg: var(--cream); --bd: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn.dark:hover { box-shadow: 0 0 0 4px var(--pink-soft), 0 12px 26px -12px rgba(43, 34, 48, .7); }
.btn.light { --bg: transparent; --fg: var(--ink); box-shadow: none; }
.btn.light:hover { --bg: var(--paper); }
.btn.lilac { --bg: var(--lilac); }
.btn.block { width: 100%; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .spinner { width: 18px; height: 18px; }
.btn small { display: block; font-weight: 500; font-size: 12px; opacity: .78; letter-spacing: 0; margin-top: 2px; }
.btn .two { display: grid; text-align: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--pink-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 0; background: transparent; color: var(--ink); position: relative; }
.icon-btn:hover { background: rgba(43, 34, 48, .06); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- barras superiores ---------- */
.bar { position: relative; z-index: 31; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px var(--gutter); font-size: 14px; text-align: center; line-height: 1.35; }
.bar.announce { background: var(--ink); color: var(--cream); }
.bar.pause { background: var(--lilac-soft); color: var(--ink); border-bottom: 1px solid var(--line); }
.bar.lang { background: var(--pink-mist); flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.bar.lang .actions { display: flex; gap: 8px; }
.bar.lang button { border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); padding: 5px 12px; font-size: 13px; font-weight: 700; }
.bar.lang button.primary { background: var(--ink); color: var(--cream); }

/* ---------- encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251, 243, 226, .86); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); transition: box-shadow .3s; }
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .3s; }
.site-header.scrolled::after { opacity: 1; }
.header-inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 1180px; margin: 0 auto; padding: 0 8px; }
.brand { justify-self: center; display: block; height: 46px; transition: transform .4s var(--spring); }
.brand:hover { transform: rotate(-3deg) scale(1.04); }
.brand img { height: 46px; width: auto; }
.main-nav { display: none; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 2px; }
.lang-btn { border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; padding: 4px 9px; margin-right: 2px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 10.5px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-count.bump { animation: bump .55s var(--spring); }
@keyframes bump { 30% { transform: scale(1.45) rotate(-8deg); } 60% { transform: scale(.9); } }
@media (min-width: 960px) {
  :root { --header-h: 74px; --gutter: 32px; }
  .header-inner { grid-template-columns: auto 1fr auto; padding: 0 var(--gutter); gap: 28px; }
  .menu-btn { display: none; }
  .brand { justify-self: start; height: 54px; }
  .brand img { height: 54px; }
  .main-nav { display: flex; gap: 30px; justify-self: center; }
  .main-nav a { position: relative; text-decoration: none; font-weight: 500; padding: 6px 2px; }
  .main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--rainbow); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* ---------- dibujos de línea (riso: el color va corrido respecto a la tinta) ---------- */
.riso .fill { transform: translate(2.2px, 2.4px); }
.riso .ink { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.draw .ink, .draw .arc { stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw.in .ink, .draw.in .arc { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.draw.in .arc:nth-child(2) { transition-delay: .12s; }
.draw.in .arc:nth-child(3) { transition-delay: .24s; }
.draw.in .arc:nth-child(4) { transition-delay: .36s; }
.draw.in .arc:nth-child(5) { transition-delay: .48s; }
.spark { position: absolute; pointer-events: none; animation: twinkle 5s ease-in-out infinite; }
.spark.d2 { animation-delay: -1.7s; }
.spark.d3 { animation-delay: -3.3s; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.72) rotate(22deg); opacity: .75; } }
.paused, .paused * { animation-play-state: paused !important; }

/* confeti */
.confetti-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.confetti-burst { position: fixed; inset: 0; pointer-events: none; z-index: 70; }

/* ---------- portada de cine: la máquina imprime el logo y un iris abre la página ----------
   Dos capas iguales: .hero-night (el taller a oscuras, mientras se imprime) y .hero-day (la página clara),
   que el iris va destapando en círculo desde el logo. La escena 3D va encima, en .hero-gl. */
.hero { position: relative; min-height: calc(var(--vh) * 100 - var(--header-h) - var(--bar-h)); overflow: hidden; isolation: isolate; }
.hero-day, .hero-night { display: flex; flex-direction: column; justify-content: center; padding: 8px var(--gutter) 78px; text-align: center; }
.hero-day { position: relative; z-index: 2; min-height: inherit; background: var(--cream); }
.hero-day > .confetti-layer { z-index: 0; }
.hero-in { position: relative; z-index: 1; width: 100%; max-width: 660px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-slot { position: relative; flex: none; height: clamp(168px, calc(var(--vh) * 33), 300px); aspect-ratio: 2431 / 2577; max-width: 82vw; }
.hero-logo { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(43, 34, 48, .16)); transition: opacity .25s; }
.hero.is-3d .hero-logo { opacity: 0; }
.hero-day .hero-slot::after { content: ''; position: absolute; left: 16%; right: 16%; bottom: -7%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(43, 34, 48, .2), rgba(43, 34, 48, 0)); opacity: 0; transition: opacity .6s .3s; }
.hero.is-3d.is-live .hero-day .hero-slot::after { opacity: 1; }
.hero-copy { width: 100%; }
.hero-h1 { margin: 10px 0 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 10vw, 72px); line-height: 1.02; letter-spacing: -.025em; }
.hero-h1 .word { display: inline-block; }
.hero-h1 em { font-family: var(--f-italic); font-style: italic; font-weight: 700; letter-spacing: -.01em; background: var(--airbrush); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .06em; margin: 0 -.03em; }
.underline-draw { position: relative; display: inline-block; }
.underline-draw svg { position: absolute; left: -3%; right: -3%; width: 106%; bottom: -.16em; height: .34em; overflow: visible; }
.underline-draw path { fill: none; stroke: var(--pink); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine 1.1s var(--ease) 1.2s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.hero .lede { margin: 12px auto 0; font-size: 17px; color: var(--ink-2); max-width: 31em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.hero-ctas .btn { flex: 1 1 150px; max-width: 240px; }
.scroll-cue { position: absolute; left: 50%; bottom: 14px; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); border: 1.5px solid var(--ink); background: rgba(255, 253, 248, .7); animation: cue 2.4s ease-in-out infinite; text-decoration: none; z-index: 2; }
.scroll-cue svg { width: 22px; height: 22px; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.hero-gl { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-canvas { width: 100%; height: 100%; }
.hero-ring { position: absolute; left: 0; top: 0; z-index: 4; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%; pointer-events: none; opacity: 0; will-change: transform, opacity;
  box-shadow: 0 0 0 calc(2.5px / var(--s, 1)) rgba(255, 255, 255, .95), 0 0 calc(30px / var(--s, 1)) calc(7px / var(--s, 1)) rgba(242, 163, 181, .8), inset 0 0 calc(34px / var(--s, 1)) calc(3px / var(--s, 1)) rgba(255, 216, 110, .4); }

/* el taller a oscuras: ciruela, luces pastel y trama de imprenta */
.hero-night { position: absolute; inset: 0; z-index: 1; color: var(--cream);
  background: linear-gradient(#17101e, rgba(23, 16, 30, 0) 24%), radial-gradient(95% 62% at 50% 30%, #3d2b4c 0%, #271c32 50%, #17101e 100%); }
.hero-night::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(242, 163, 181, .2) 1.1px, transparent 1.5px); background-size: 13px 13px;
  -webkit-mask-image: radial-gradient(75% 55% at 50% 34%, transparent 30%, #000 100%); mask-image: radial-gradient(75% 55% at 50% 34%, transparent 30%, #000 100%); }
.hero-night .hero-h1 .word { opacity: 0; transform: translateY(14px); animation: word .7s var(--ease) forwards; }
@keyframes word { to { opacity: 1; transform: none; } }
.hero-night .hero-h1 em { background-image: linear-gradient(100deg, #FF9DBD 0%, #C9B6FF 52%, #8FD0F5 100%); }
.hero-night .lede { color: rgba(251, 243, 226, .78); }
.hero-night .btn.dark { --bg: var(--pink); --fg: var(--ink); --bd: var(--pink); }
.hero-night .scroll-cue { display: none; }
.cine-bar { position: absolute; left: 0; right: 0; z-index: 4; height: clamp(26px, calc(var(--vh) * 5), 42px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); background: #0c0811; color: rgba(251, 243, 226, .66); font: 700 10.5px/1 var(--f-body); letter-spacing: .17em; text-transform: uppercase; white-space: nowrap; transition: transform .55s var(--ease); }
.cine-bar.t { top: 0; } .cine-bar.b { bottom: 0; }
.cine-bar i { font-style: normal; font-variant-numeric: tabular-nums; }
.cine-hud { display: inline-flex; align-items: center; gap: 9px; }
.cine-hud .rec { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 3px rgba(242, 163, 181, .22), 0 0 10px var(--pink); animation: led 1s ease-in-out infinite; }
.hero.is-done .cine-hud .rec { background: var(--mint); box-shadow: 0 0 0 3px rgba(169, 221, 185, .22), 0 0 10px var(--mint); animation: none; }
@keyframes led { 50% { opacity: .3; } }
.hero.is-reveal .cine-bar.t { transform: translateY(-101%); }
.hero.is-reveal .cine-bar.b { transform: translateY(101%); }
.cine-skip { position: absolute; z-index: 6; right: var(--gutter); top: calc(clamp(26px, calc(var(--vh) * 5), 42px) + 10px); display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px 0 15px; border-radius: 999px; border: 1.5px solid rgba(251, 243, 226, .5); background: rgba(23, 16, 30, .55); color: var(--cream); font: 700 12.5px/1 var(--f-body); letter-spacing: .06em; transition: opacity .3s, background .2s; }
.cine-skip svg { width: 15px; height: 15px; }
.cine-skip:hover { background: rgba(251, 243, 226, .12); }
.hero.is-reveal .cine-skip { opacity: 0; pointer-events: none; }
/* la barra de arriba acompaña a la escena y vuelve a su color cuando se abre la página */
.site-header, .bar.lang { transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s, box-shadow .3s; }
.brand { transition: transform .4s var(--spring), opacity .35s; }
html.cine-on .site-header { background: #17101e; color: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
html.cine-on .site-header .icon-btn, html.cine-on .site-header .main-nav a { color: var(--cream); }
html.cine-on .site-header .lang-btn { color: var(--cream); border-color: rgba(251, 243, 226, .6); }
html.cine-on .site-header .cart-count { background: var(--pink); color: var(--ink); }
html.cine-on .bar.lang { background: #241a2e; color: var(--cream); border-color: transparent; }
html.cine-on .bar.lang button { background: transparent; color: var(--cream); border-color: rgba(251, 243, 226, .6); }
html.cine-on .bar.lang button.primary { background: var(--cream); color: var(--ink); border-color: var(--cream); }
html.cine-on .brand, html.hero-logo-on .brand { opacity: 0; transform: translateY(10px) scale(.72); pointer-events: none; }
html.cine-on .wa-float { transform: scale(.4); opacity: 0; pointer-events: none; }
@media (min-width: 600px) { .hero-slot { height: clamp(250px, calc(var(--vh) * 38), 440px); } }
@media (min-width: 960px) {
  .hero-day, .hero-night { padding: 24px var(--gutter) 90px; text-align: left; }
  .hero-in { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; column-gap: 56px; }
  .hero-slot { order: 2; justify-self: center; height: clamp(300px, calc(var(--vh) * 60), 560px); max-width: 100%; }
  .hero .lede { margin: 16px 0 0; font-size: 19px; }
  .hero-ctas { justify-content: flex-start; margin-top: 24px; }
  .cine-bar { font-size: 11.5px; }
  .hero-night { background: linear-gradient(#17101e, rgba(23, 16, 30, 0) 24%), radial-gradient(52% 70% at 73% 46%, #3d2b4c 0%, #271c32 55%, #17101e 100%); }
  .hero-night::before { -webkit-mask-image: radial-gradient(48% 62% at 73% 46%, transparent 30%, #000 100%); mask-image: radial-gradient(48% 62% at 73% 46%, transparent 30%, #000 100%); }
}

/* ---------- secciones ---------- */
.section { position: relative; padding: 64px 0; }
.section.paper { background: var(--paper); }
.section.ink { background: var(--ink); color: var(--cream); overflow: hidden; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.section-head h2, .page-head h1 { margin-top: 8px; font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 8vw, 50px); letter-spacing: -.025em; }
.section-head p { color: var(--ink-2); margin-top: 8px; max-width: 34em; }
.see-all { flex: none; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; padding-bottom: 2px; background: var(--rainbow) bottom / 100% 2px no-repeat; }
.see-all svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.see-all:hover svg { transform: translateX(3px); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* borde con ondas (tijera de picos) entre secciones */
.scallop-top::before { content: ''; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: radial-gradient(circle at 11px 0, transparent 10px, var(--sc, var(--paper)) 10.5px) repeat-x; background-size: 22px 14px; }

/* ---------- tienda en la portada ---------- */
.techs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.tech-f { position: relative; display: flex; flex-direction: column; text-align: left; padding: 7px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .25s, box-shadow .3s, transform .3s var(--spring); }
.tech-f:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }
.tech-f[aria-pressed="true"] { border-color: var(--ink); background: var(--white); box-shadow: 0 12px 24px -18px rgba(43, 34, 48, .9); }
.tech-f .stage { display: block; aspect-ratio: 1 / .86; border-radius: 14px; background: var(--cream); overflow: hidden; }
.tech-f .stage svg { width: 100%; height: 100%; display: block; }
.tech-f .tx { display: grid; padding: 8px 3px 3px; gap: 1px; }
.tech-f b { font-size: 13.5px; line-height: 1.2; }
.tech-f small { font-size: 11.5px; color: var(--ink-3); }
.tech-f .desc { display: none; }
.tech-f .tk { position: absolute; right: 11px; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--spring); }
.tech-f .tk svg { width: 13px; height: 13px; stroke-width: 3; }
.tech-f[aria-pressed="true"] .tk { transform: scale(1); }
@media (min-width: 720px) {
  .techs { gap: 18px; margin-bottom: 30px; }
  .tech-f { padding: 12px; border-radius: 24px; }
  .tech-f .stage { aspect-ratio: 16 / 9; border-radius: 16px; }
  .tech-f b { font-family: var(--f-display); font-weight: 800; font-size: 21px; }
  .tech-f small { font-size: 13px; }
  .tech-f .desc { display: block; font-size: 14px; color: var(--ink-2); margin-top: 6px; line-height: 1.45; }
}
.filter-note { font-size: 14px; color: var(--ink-2); margin: -8px 0 18px; }
.shelf + .shelf { margin-top: 44px; }
.shelf-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.shelf-head .label { flex: none; color: var(--ink); }
.shelf-head .rule { flex: 1; height: 1.5px; background: repeating-linear-gradient(90deg, rgba(43, 34, 48, .38) 0 7px, transparent 7px 13px); }
.shelf-head .n { flex: none; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--cream-2); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.empty-shelf { padding: 34px 0; text-align: center; color: var(--ink-2); }

/* tarjetas de producto: foto limpia, sin marco */
.p-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
@media (min-width: 720px) { .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; } }
.p-card { position: relative; display: block; text-decoration: none; color: inherit; }
.p-card .media { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--cream-2); }
.p-card .media img, .p-card .media .art { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.p-card:hover .media img { transform: scale(1.045); }
.p-card .badges { position: absolute; left: 8px; bottom: 8px; right: 8px; display: flex; flex-wrap: wrap; gap: 5px; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(255, 253, 248, .94); line-height: 1.1; box-shadow: 0 2px 6px -2px rgba(43, 34, 48, .3); }
.badge svg { width: 13px; height: 13px; }
.badge.sale { background: var(--butter); }
.badge.out { background: var(--ink); color: var(--cream); }
.badge.mock { background: var(--lilac-soft); color: var(--lilac-ink); }
.p-card .info { padding: 11px 2px 0; }
.p-card .tech-tag { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--pink-ink); margin-bottom: 4px; }
.p-card h3 { font-family: var(--f-head); font-weight: 650; font-size: 16.5px; line-height: 1.22; }
.p-card .price { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
.p-card .price s { color: var(--ink-3); margin-left: 6px; font-size: 13px; }
.p-card.out .media img { filter: grayscale(.4) opacity(.75); }

/* proceso: línea de corte que sigue el scroll, con la tijera */
.process { position: relative; padding-left: 64px; }
.process .cut { position: absolute; left: 25px; top: 10px; bottom: 30px; width: 2px; background: repeating-linear-gradient(to bottom, var(--ink) 0 7px, transparent 7px 13px); opacity: .28; }
.process .tear { position: absolute; left: 16px; top: 10px; width: 20px; height: calc(100% - 40px); overflow: visible; pointer-events: none; z-index: 1; }
.process .tear-gap { fill: #3B3142; }
.process .tear-edge { fill: none; stroke: #FFFFFF; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 1px 1px rgba(43, 34, 48, .25)); }
.process .scissors { position: absolute; left: 26px; top: calc(10px + var(--p, 0) * (100% - 40px)); width: 34px; height: 34px; margin: -17px 0 0 -17px; transform: rotate(90deg); color: var(--ink); z-index: 2; }
.process .scissors .blade { transform-origin: 12px 12px; animation: snip .32s ease-in-out infinite; animation-play-state: paused; }
.process.cutting .scissors .blade { animation-play-state: running; }
.process .scissors .blade.b2 { animation-direction: reverse; }
@keyframes snip { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
.process ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.process li { position: relative; }
.process .ic { position: absolute; left: -64px; top: -2px; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line); display: grid; place-items: center; transition: border-color .5s, box-shadow .5s, transform .5s var(--spring); z-index: 1; }
.process li.lit .ic { border-color: var(--ink); box-shadow: 0 0 0 5px var(--pink-mist); transform: scale(1.05); }
.process .ic svg { width: 32px; height: 32px; }
.process .n { font-family: var(--f-italic); font-style: italic; font-weight: 700; color: var(--pink-ink); font-size: 15px; }
.process h3 { font-family: var(--f-display); font-weight: 800; font-size: 23px; letter-spacing: -.015em; margin: 2px 0 4px; }
.process p { color: var(--ink-2); max-width: 34em; }
@media (min-width: 960px) { .process ol { gap: 40px; } .process { max-width: 760px; } }
/* escritorio: el título a la izquierda (fijo) y el contenido a la derecha */
@media (min-width: 960px) {
  .split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); gap: 64px; align-items: start; }
  .split > .section-head { position: sticky; top: calc(var(--header-h) + 34px); flex-direction: column; align-items: flex-start; margin-bottom: 0; }
  .split > .section-head h2 { font-size: clamp(40px, 4.2vw, 56px); }
  .split .process { padding-top: 6px; }
}

/* 3D: capas que suben y boquilla que va y viene */
.t3d .layers { animation: layers 5.5s steps(16, end) infinite; }
.t3d .rise { animation: nozUp 5.5s steps(16, end) infinite; }
.t3d .nozzle-g { animation: noz .55s ease-in-out infinite alternate; }
.t3d .hot { filter: drop-shadow(0 0 3px #FF8FB0) drop-shadow(0 0 1.5px #fff); }
@keyframes layers { 0% { clip-path: inset(100% 0 0 0); } 80%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes noz { from { translate: -34px 0; } to { translate: 34px 0; } }
@keyframes nozUp { 0% { transform: translateY(0); } 80%, 100% { transform: translateY(-72px); } }
/* láser: la línea se graba con un punto brillante */
.tlaser .engrave { stroke-dasharray: 1; stroke-dashoffset: 1; animation: engrave 4.5s ease-in-out infinite; }
.tlaser .dot { offset-path: var(--path); animation: laserDot 4.5s ease-in-out infinite; }
@keyframes engrave { 0% { stroke-dashoffset: 1; } 65%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes laserDot { 0% { offset-distance: 0%; opacity: 1; } 65% { offset-distance: 100%; opacity: 1; } 70%, 100% { offset-distance: 100%; opacity: 0; } }
/* sublimación: el diseño pasa al termo con calor */
.tsub .print { animation: sublim 4.8s ease-in-out infinite; }
.tsub .heat path { animation: heat 2.4s ease-in-out infinite; }
.tsub .heat path:nth-child(2) { animation-delay: -.8s; }
.tsub .heat path:nth-child(3) { animation-delay: -1.6s; }
@keyframes sublim { 0%, 15% { clip-path: inset(0 100% 0 0); opacity: .2; } 60%, 90% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes heat { 0% { transform: translateY(6px); opacity: 0; } 40% { opacity: .9; } 100% { transform: translateY(-14px); opacity: 0; } }

/* DTF: la película se despega y deja el diseño en la camiseta */
.tdtf .film { transform-box: fill-box; transform-origin: 0% 100%; animation: peel 5s var(--ease) infinite; }
.tdtf .design { transform-box: fill-box; transform-origin: center; animation: dtfPop 5s ease-in-out infinite; }
@keyframes peel { 0%, 28% { transform: none; opacity: 1; } 52% { transform: rotate(-20deg) translate(6px, -10px); opacity: .95; } 66%, 90% { transform: rotate(-34deg) translate(24px, -38px); opacity: 0; } 91% { transform: none; opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes dtfPop { 0%, 56%, 74%, 100% { scale: 1; } 64% { scale: 1.07; } }
/* UV DTF: el sticker se pega en el vaso y pasa un brillo */
.tuv .sticker { transform-box: fill-box; transform-origin: center; animation: stick 5s var(--spring) infinite; }
.tuv .shine { animation: shine 5s ease-in-out infinite; }
@keyframes stick { 0%, 6% { transform: translate(46px, -18px) rotate(18deg); opacity: 0; } 26%, 100% { transform: none; opacity: 1; } }
@keyframes shine { 0%, 38% { transform: translateX(0) skewX(-18deg); } 72%, 100% { transform: translateX(120px) skewX(-18deg); } }
/* tu negocio: el letrero de la tiendita se mece */
.tbiz .sign { transform-box: fill-box; transform-origin: 50% 0%; animation: swing 3.2s ease-in-out infinite alternate; }
@keyframes swing { from { rotate: -7deg; } to { rotate: 7deg; } }
.tdtf .tw, .tuv .tw, .tbiz .tw { transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { scale: .6; opacity: .45; } 50% { scale: 1.1; opacity: 1; } }

/* idea: tarjeta en tinta con confeti */
.idea-card { position: relative; overflow: hidden; border-radius: 34px; color: var(--cream); padding: 46px 20px 44px;
  /* el mismo taller de noche del hero: ciruela, luz pastel y trama de imprenta */
  background: radial-gradient(rgba(242, 163, 181, .13) 1.1px, transparent 1.5px) 0 0 / 13px 13px, radial-gradient(95% 80% at 50% 0%, #3d2b4c 0%, #271c32 52%, #1d1526 100%); }
.idea-card::after { content: ''; position: absolute; inset: 10px; border-radius: 26px; border: 1px dashed rgba(251, 243, 226, .22); pointer-events: none; }
.idea-block { position: relative; z-index: 1; text-align: center; padding: 6px 0; }
.idea-block h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 8.6vw, 54px); letter-spacing: -.025em; max-width: 14em; margin: 10px auto 0; color: var(--cream); }
.idea-block h2 em { background: linear-gradient(100deg, #F7B8C8, #D9C9FF 55%, #A9DDF5); -webkit-background-clip: text; background-clip: text; }
.idea-block p { margin: 14px auto 0; max-width: 32em; color: rgba(251, 243, 226, .78); font-size: 17px; }
.idea-block .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.idea-block .ctas .btn { flex: 1 1 210px; max-width: 270px; }
.ink .label { color: var(--pink); }
.ink .btn.light { --fg: var(--cream); --bd: rgba(251, 243, 226, .55); }
.ink .btn.light:hover { --bg: rgba(251, 243, 226, .08); }
.ink .btn { --bd: var(--cream); }

/* ---------- pie de página ---------- */
#main > .wrap:last-child { padding-bottom: 64px; }
.site-footer { background: var(--ink); color: var(--cream); padding: 50px 0 28px; margin-top: 0; }
/* comprando (ficha, finalizar, solicitudes, pago, inscripción): sin pie; la página termina en el botón de enviar */
body.no-footer .site-footer { display: none; }
body.no-footer #main { padding-bottom: 0; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: radial-gradient(circle at 11px 0, transparent 10px, var(--ink) 10.5px) repeat-x; background-size: 22px 14px; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand img { width: 150px; height: auto; background: var(--cream); border-radius: 20px; padding: 8px 10px; }
.foot-brand p { margin-top: 14px; color: rgba(251, 243, 226, .76); max-width: 26em; }
.site-footer h3 { font: 700 12px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-links a, .foot-links span { color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 5px 0; opacity: .9; }
.foot-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.foot-links svg { width: 18px; height: 18px; }
.foot-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(251, 243, 226, .16); font-size: 13px; color: rgba(251, 243, 226, .6); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }

/* WhatsApp flotante: se achica y se oculta al llegar al pie */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgba(15, 80, 40, .6); transition: transform .35s var(--ease), opacity .35s; text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float.away { transform: scale(.4); opacity: 0; pointer-events: none; }

/* ---------- tienda ---------- */
.page-head { padding: 26px 0 8px; }
.page-head p { color: var(--ink-2); margin-top: 8px; max-width: 40em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.chips { position: sticky; top: var(--header-h); z-index: 20; background: rgba(251, 243, 226, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; gap: 8px; overflow-x: auto; padding: 10px var(--gutter); margin: 8px calc(var(--gutter) * -1) 22px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 500; font-size: 14px; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip small { font-size: 12px; opacity: .65; }
.empty { text-align: center; padding: 40px 10px; color: var(--ink-2); }
.empty .art { width: 120px; margin: 0 auto 14px; border-radius: 20px; }

/* esqueletos de carga */
.skel { position: relative; overflow: hidden; background: var(--cream-2); border-radius: 16px; }
.skel::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.skel-card .m { aspect-ratio: 4 / 5; border-radius: 24px; }
.skel-card .l1 { height: 15px; margin-top: 12px; width: 80%; }
.skel-card .l2 { height: 12px; margin-top: 8px; width: 45%; }
.load-error { text-align: center; padding: 50px 0; }
.load-error p { margin-bottom: 14px; }

/* ---------- producto ---------- */
.pdp { padding-bottom: 0; }
@media (min-width: 960px) { .pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 52px; align-items: start; padding-top: 22px; padding-bottom: 40px; } }
.gallery { position: relative; margin: 0 calc(var(--gutter) * -1); }
@media (min-width: 960px) { .gallery { margin: 0; position: sticky; top: calc(var(--header-h) + 16px); } }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; background: var(--white); position: relative; }
.g-slide img, .g-slide .art { width: 100%; height: 100%; object-fit: cover; }
/* Video corto de cómo funciona (sin controles: se mueve solo mientras se ve la galería). */
.g-video video { display: block; width: 100%; height: 100%; object-fit: cover; background: #E9E3DA; }
.g-vlabel { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px;
  background: rgba(30, 24, 32, .6); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .01em; pointer-events: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.g-vlabel svg { width: 14px; height: 14px; }
/* Antes y después: «Sin diseño» en las fotos del modelo y «Con diseño» en la primera que ya lo lleva. */
.g-tag { position: absolute; left: 12px; top: 12px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .01em;
  pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.g-tag.before { background: rgba(255, 253, 248, .88); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.g-tag.after { background: rgba(168, 53, 92, .9); color: #fff; }
.g-vthumb { position: relative; display: block; width: 100%; height: 100%; }
.g-vthumb img { width: 100%; height: 100%; object-fit: cover; }
.g-vthumb i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .2); }
.g-vthumb i svg { width: 20px; height: 20px; }
@media (min-width: 960px) { .g-track { border-radius: 24px; } }
.g-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.g-dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 253, 248, .85); box-shadow: 0 0 0 1px rgba(43, 34, 48, .25); transition: width .3s var(--ease), background-color .3s; }
.g-dots button[aria-current="true"] { width: 24px; background: var(--ink); }
.g-arrow { display: none; }
@media (min-width: 960px) {
  .g-arrow { display: grid; place-items: center; position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 0; background: rgba(255, 253, 248, .92); box-shadow: var(--sh-sm); }
  .g-arrow.prev { left: 18px; } .g-arrow.next { right: 18px; }
  .g-arrow svg { width: 20px; height: 20px; }
}
.g-thumbs { display: none; }
@media (min-width: 960px) {
  .g-thumbs { display: flex; gap: 10px; margin-top: 18px; }
  .g-thumbs button { width: 66px; aspect-ratio: 4 / 5; padding: 0; border-radius: 12px; overflow: hidden; border: 0; background: var(--cream-2); opacity: .6; transition: opacity .25s, box-shadow .25s; }
  .g-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--cream), 0 0 0 3.5px var(--ink); }
  .g-thumbs img, .g-thumbs .art { width: 100%; height: 100%; object-fit: cover; }
}
.p-head { padding-top: 22px; }
.p-head .crumbs { margin-bottom: 8px; }
.p-head h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 8.6vw, 48px); letter-spacing: -.025em; }
.p-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 23px; font-weight: 700; }
.p-price s { font-size: 16px; color: var(--ink-3); font-weight: 400; }
.p-tagline { margin-top: 8px; color: var(--ink-2); font-size: 17px; }

/* ticket: cómo funciona este pedido (antes de pedir datos) */
.ticket { position: relative; margin-top: 20px; border-radius: 20px; background: var(--tk, var(--mint-soft)); padding: 16px 18px 16px; overflow: hidden; transition: background-color .5s; }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 52px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); }
.ticket::before { left: -9px; } .ticket::after { right: -9px; }
.ticket.mockup, .ticket.quote { --tk: var(--lilac-soft); }
.ticket.bulk { --tk: var(--butter-soft); }
.ticket .tk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1.5px dashed rgba(43, 34, 48, .25); min-height: 26px; }
.ticket .tk-head b { font-size: 13.5px; font-weight: 700; background: var(--ink); color: var(--cream); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ticket .label { color: var(--ink); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flow li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.flow .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--paper); border: 1.5px solid var(--ink); }
.flow li.now .n { background: var(--ink); color: var(--cream); }
.flow li.done .n { background: var(--ok); color: #fff; border-color: var(--ok); }
.flow li.done .n svg { width: 14px; height: 14px; stroke-width: 3; }
.flow b { display: block; font-size: 15px; line-height: 1.3; }
.flow span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.ticket.flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { transform: scale(.98); box-shadow: 0 0 0 0 rgba(91, 75, 145, .5); } 60% { transform: scale(1.01); box-shadow: 0 0 0 10px rgba(91, 75, 145, 0); } 100% { transform: none; } }

/* vista previa del letrero */
.sign-preview { margin-top: 22px; border-radius: var(--r-lg); background: radial-gradient(130% 100% at 50% 0%, #fff 0%, var(--cream) 72%); padding: 16px 14px 14px; text-align: center; box-shadow: var(--sh-sm); position: relative; overflow: hidden; border: 1px solid var(--line); }
.sign-preview .lbl { position: absolute; left: 14px; top: 12px; }
.sign-preview .chip-approx { position: absolute; right: 12px; top: 10px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--butter-soft); color: #6B4E06; }
.sign-stage { min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-top: 34px; }
.sign-line { font-size: clamp(34px, 11vw, 56px); line-height: .95; max-width: 100%; overflow-wrap: anywhere; padding: 0 6px; -webkit-text-stroke: var(--stroke-w, 7px) var(--c2); paint-order: stroke fill; color: var(--c1); text-shadow: 3px 4px 0 var(--c2d), 5px 8px 0 rgba(43, 34, 48, .16); transition: color .3s, -webkit-text-stroke-color .3s; }
.sign-line.block { font-family: var(--f-round); font-weight: 600; letter-spacing: .01em; }
.sign-line.script { font-family: var(--f-script); font-weight: 400; line-height: 1.25; margin-top: -6px; --stroke-w: 6px; }
.sign-line.ph { opacity: .32; }
.sign-base { width: 84%; height: 14px; border-radius: 6px; margin-top: 6px; background: var(--c3); box-shadow: 0 5px 0 var(--c3d), 0 12px 16px -8px rgba(43, 34, 48, .35); transition: background-color .3s; }
.sign-preview .note { margin: 18px auto 0; font-size: 13.5px; color: var(--ink-2); max-width: 30em; }
.sign-preview .note b { color: var(--ink); }
/* mini vista previa que acompaña mientras se personaliza */
.mini-preview { position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 24; display: flex; align-items: center; gap: 10px; padding: 8px var(--gutter); background: rgba(255, 253, 248, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px -20px rgba(43, 34, 48, .6); transform: translateY(-110%); opacity: 0; transition: transform .35s var(--ease), opacity .3s; cursor: pointer; }
.mini-preview.on { transform: none; opacity: 1; }
.mini-preview .mp-l { flex: none; font: 700 10.5px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); width: 58px; }
.mini-preview .mp-s { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden; height: 40px; }
.mini-preview .mp-s .sign-line { font-size: 24px !important; --stroke-w: 3.5px; text-shadow: 1.5px 2px 0 var(--c2d); white-space: nowrap; }
.mini-preview .mp-s .sign-line.script { --stroke-w: 3px; margin: 0; }
.mini-preview .btn { flex: none; min-height: 34px; padding: 0 12px; font-size: 13px; }
@media (min-width: 960px) { .mini-preview { display: none; } }

/* personalizador */
.form-steps { margin-top: 22px; display: grid; gap: 14px; }
.opt { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 16px 16px 18px; transition: border-color .25s, box-shadow .25s; }
.opt.is-error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(180, 35, 64, .12); animation: nudge .35s; }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.opt-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.opt-n { flex: none; font-family: var(--f-italic); font-style: italic; font-weight: 700; font-size: 16px; color: var(--pink-ink); min-width: 22px; }
.opt.done .opt-n { color: var(--ok); }
.opt-title { font-family: var(--f-head); font-size: 18.5px; line-height: 1.25; flex: 1; }
.opt-title .val { font-family: var(--f-body); font-weight: 500; font-size: 14.5px; color: var(--ink-2); }
.opt-title .opt-tag { font-family: var(--f-body); font-size: 12px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.opt-help { font-size: 14px; color: var(--ink-2); margin: -4px 0 12px; }
.opt-err { display: none; margin-top: 10px; color: var(--error); font-size: 14px; font-weight: 500; }
.opt.is-error > .opt-err, .sub.is-error > .opt-err { display: block; }
.opt-anim { animation: optin .4s var(--ease); }
@keyframes optin { from { opacity: 0; transform: translateY(-6px); } }
.sub + .sub { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.sub-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.sub-label .opt-tag { font-weight: 500; color: var(--ink-3); margin-left: 4px; font-size: 12.5px; }
.sub .pills { margin-top: 8px; }
.sub .pill { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.flow-hint { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: var(--lilac-soft); color: var(--lilac-ink); font-size: 13.5px; font-weight: 500; line-height: 1.4; animation: optin .4s var(--ease); }
.flow-hint svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--spring); text-align: left; }
.pill:hover { border-color: var(--ink); }
.pill .delta { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.pill[aria-checked="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pill[aria-checked="true"] .delta { color: var(--pink); }
.pill:active { transform: scale(.96); }
.pill:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 520px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card-opt { position: relative; padding: 4px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--white); overflow: hidden; text-align: left; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .25s, transform .3s var(--spring); }
.card-opt:hover { border-color: rgba(43, 34, 48, .45); }
.card-opt .im { aspect-ratio: 1; background: var(--cream); overflow: hidden; border-radius: 14px; }
.cards.two .card-opt .im { aspect-ratio: 4 / 3; }
.card-opt .im img, .card-opt .im .art { width: 100%; height: 100%; object-fit: cover; }
.card-opt .tx { padding: 7px 6px 7px; display: grid; gap: 1px; }
.card-opt .nm { font-weight: 700; font-size: 13.5px; line-height: 1.2; }
.card-opt .sub { font-size: 12px; color: var(--ink-3); line-height: 1.25; border: 0; margin: 0; padding: 0; }
.card-opt .pr { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-top: 2px; }
.card-opt .soon { position: absolute; left: 9px; top: 9px; font-size: 10.5px; font-weight: 700; background: rgba(255, 253, 248, .94); border-radius: 99px; padding: 2px 7px; }
.card-opt .tick { position: absolute; right: 9px; top: 9px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; opacity: 0; transform: scale(.3); transition: opacity .2s, transform .35s var(--spring); }
.card-opt .tick svg { width: 14px; height: 14px; stroke-width: 3; }
.card-opt[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 10px 20px -14px rgba(43, 34, 48, .7); transform: translateY(-2px); }
.card-opt[aria-checked="true"] .tick { opacity: 1; transform: none; }
.card-opt:disabled { opacity: .5; cursor: not-allowed; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { position: relative; width: 40px; height: 40px; border-radius: 50%; padding: 0; border: 1px solid rgba(43, 34, 48, .3); background: var(--c); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .07), inset 0 3px 5px rgba(255, 255, 255, .35); transition: transform .3s var(--spring), box-shadow .2s; }
.sw:hover { transform: scale(1.08); }
.sw[aria-checked="true"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); transform: scale(1.06); }
.sw .ord { position: absolute; right: -7px; top: -7px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.sw:disabled { opacity: .35; cursor: not-allowed; }
.sw:disabled::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: var(--ink); transform: rotate(45deg); }
.sw-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.sw-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw-legend i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(43, 34, 48, .3); display: inline-block; background: var(--c, transparent) center / cover; }
/* muestras reales de filamento: se elige tocando la pieza */
.swatches.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 10px; }
.sw.photo { width: auto; height: auto; aspect-ratio: 1; border-radius: 13px; border: 0; overflow: visible; background: var(--c); box-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 3px 6px -2px rgba(43, 34, 48, .35); }
.sw.photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 13px; }
.sw.photo::before { content: ''; position: absolute; inset: 0; border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(43, 34, 48, .14), inset 0 1.5px 0 rgba(255, 255, 255, .5), inset 0 -3px 4px rgba(0, 0, 0, .14); pointer-events: none; z-index: 1; }
.sw.photo:hover { transform: translateY(-2px); }
.sw.photo[aria-checked="true"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink), 0 8px 14px -6px rgba(43, 34, 48, .5); transform: translateY(-2px); }
.sw.photo .ord { z-index: 2; }
.sw.photo .ord.ck svg { width: 12px; height: 12px; stroke-width: 3; }
.sw.photo:disabled::after { left: 50%; top: 4px; bottom: 4px; z-index: 2; }
.sw-name { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); min-height: 20px; }

.sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 520px) { .sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.size-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 6px 6px 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); transition: border-color .2s, background-color .2s; }
.size-row.has { border-color: var(--ink); background: var(--pink-mist); }
.size-row .sz { font-weight: 700; }
.size-row .sz small { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink-3); }
.sizes-total { margin-top: 10px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
/* Colores con cantidad (tote bags): una columna en el teléfono para que el nombre quepa entero. */
.sizes.colors { grid-template-columns: 1fr; }
@media (min-width: 520px) { .sizes.colors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.size-row .dot { display: inline-block; width: 16px; height: 16px; margin-right: 9px; border-radius: 50%; background: var(--c); vertical-align: -3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16); }
/* Precio por mayor junto al precio. */
.tiers { display: grid; gap: 7px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--pink-mist); }
.tiers b { font-size: 14px; }
.tier-rows { display: flex; flex-wrap: wrap; gap: 6px; }
.tier-rows span { padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 13.5px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.tier-rows span.on { border-color: var(--ink); background: var(--ink); color: var(--white); }
.tiers small { font-size: 13px; color: var(--ink-2); }
.tiers small.next { color: var(--ink); font-weight: 600; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); overflow: hidden; }
.stepper button { width: 36px; height: 36px; border: 0; background: transparent; display: grid; place-items: center; }
.stepper button:disabled { opacity: .3; }
.stepper button svg { width: 18px; height: 18px; }
.stepper input { width: 36px; height: 36px; text-align: center; border: 0; background: transparent; font-weight: 700; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper.big button { width: 44px; height: 44px; }
.stepper.big input { width: 42px; height: 44px; font-size: 17px; }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 4px 0; background: none; border: 0; text-align: left; }
.switch-row .tx { display: grid; }
.switch-row .tx b { font-size: 16px; }
.switch-row .tx span { font-size: 14px; color: var(--ink-2); }
.switch-row .delta { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.switch { flex: none; width: 52px; height: 32px; border-radius: 99px; background: var(--cream-2); position: relative; transition: background-color .25s; box-shadow: inset 0 0 0 1.5px rgba(43, 34, 48, .2); }
.switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 5px rgba(43, 34, 48, .3); transition: transform .3s var(--spring); }
.switch-row[aria-checked="true"] .switch { background: var(--ink); }
.switch-row[aria-checked="true"] .switch::after { transform: translateX(20px); }

.field { display: grid; gap: 6px; }
.field + .field { margin-top: 12px; }
.field > label, .field > .label-txt { font-weight: 500; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--ink-3); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 14px; border: 1.5px solid rgba(43, 34, 48, .22); background: var(--white); font-size: 16px; line-height: 1.35; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--pink-mist); }
.input.is-error, .select.is-error, .textarea.is-error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(180, 35, 64, .12); }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B2230' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.counter { text-align: right; font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.counter.over { color: var(--error); font-weight: 700; }
.field-err { color: var(--error); font-size: 13.5px; font-weight: 500; }
/* teléfono con país: bandera y código a la izquierda; el selector nativo va encima, transparente */
.tel-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.cc-pick { position: relative; display: block; min-width: 92px; }
.cc-view { height: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px 0 12px; border-radius: 14px; border: 1.5px solid rgba(43, 34, 48, .22); background: var(--white); font-weight: 600; font-size: 15.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cc-view .fl { font-size: 20px; line-height: 1; }
.cc-view svg { color: var(--ink-3); flex: none; }
.cc-sel { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.cc-sel:focus-visible + .cc-view, .cc-pick:focus-within .cc-view { border-color: var(--ink); box-shadow: 0 0 0 4px var(--pink-mist); }
.phone-field .input.is-error { border-color: var(--error); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-3 { display: grid; grid-template-columns: 1.3fr .9fr 1fr; gap: 10px; }
@media (max-width: 420px) { .row-3 { grid-template-columns: 1fr 1fr; } .row-3 > :first-child { grid-column: 1 / -1; } }

.files { display: grid; gap: 8px; }
.file-drop { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 62px; border-radius: 18px; border: 1.5px dashed rgba(43, 34, 48, .45); background: var(--pink-mist); font-weight: 700; padding: 10px 14px; text-align: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.file-drop:hover { background: var(--pink-soft); border-color: var(--ink); }
.file-drop svg { width: 22px; height: 22px; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-item { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.file-item .th { width: 46px; height: 46px; flex: none; border-radius: 12px; overflow: hidden; background: var(--cream); display: grid; place-items: center; }
.file-item .th img { width: 100%; height: 100%; object-fit: cover; }
.file-item .th svg { width: 22px; height: 22px; color: var(--ink-2); }
.file-item .meta { flex: 1; min-width: 0; }
.file-item .nm { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-item .sz { font-size: 12px; color: var(--ink-3); }
.file-item .bar { height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; margin-top: 4px; padding: 0; display: block; }
.file-item .bar span { display: block; height: 100%; background: var(--rainbow); width: 0; transition: width .2s; }
.file-item.err { border-color: var(--error); }
.file-item.err .sz { color: var(--error); }
.file-item .icon-btn { width: 38px; height: 38px; }
.file-item .icon-btn svg { width: 20px; height: 20px; }

.p-more { margin-top: 22px; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 2px; font-weight: 700; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.acc[open] summary svg { transform: rotate(45deg); }
.acc .acc-body { padding: 0 2px 18px; color: var(--ink-2); }

/* barra de acciones: va pegada abajo mientras bajas y, al final de la ficha, es lo último de la página (sin pie) */
.buybar { position: sticky; bottom: 0; z-index: 26; margin: 22px calc(var(--gutter) * -1) 0; background: rgba(255, 253, 248, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -16px 34px -26px rgba(43, 34, 48, .7); }
.buybar-inner { max-width: 1180px; margin: 0 auto; display: grid; gap: 10px; }
.buybar .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buybar .tot { text-align: right; line-height: 1.15; }
.buybar .tot small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.buybar .tot b { font-size: 21px; }
.buybar .tot s { font-size: 13px; color: var(--ink-3); margin-right: 6px; font-weight: 400; }
.buybar .units { font-size: 14px; color: var(--ink-2); font-weight: 500; }
/* Cantidad con su unidad de venta (docenas, hojas…) junto a los botones. */
.q-wrap { display: inline-flex; align-items: center; gap: 8px; }
.q-unit { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.buybar .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buybar .btns.one { grid-template-columns: 1fr; }
.buybar .btn { min-height: 50px; padding: 0 12px; font-size: 15.5px; }
.buybar .cap { text-align: center; font-size: 12.5px; color: var(--ink-2); margin-top: -2px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.buybar .cap svg { width: 14px; height: 14px; color: #1F8A4C; }
@media (min-width: 960px) { .buybar { bottom: 16px; margin: 22px 0 0; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 16px; } }

/* ---------- capas: carrito, menú y hojas ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(43, 34, 48, .42); opacity: 0; transition: opacity .3s; backdrop-filter: blur(2px); }
.scrim.on { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; z-index: 41; width: min(100%, 440px); background: var(--cream); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .42s var(--ease); box-shadow: -18px 0 40px -24px rgba(43, 34, 48, .6); }
.drawer.left { right: auto; left: 0; transform: translateX(-105%); }
.drawer.on { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 10px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--f-display); font-weight: 800; font-size: 27px; letter-spacing: -.02em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 18px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: var(--paper); display: grid; gap: 10px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.sum-row.total { font-size: 19px; font-weight: 700; }
.sum-row .neg { color: var(--ok); font-weight: 700; }
.sum-note { font-size: 13px; color: var(--ink-3); }

.line { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.line:first-child { padding-top: 4px; }
.line .th { width: 76px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: var(--sh-sm); padding: 3px; }
.line .th img, .line .th .art { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.line h3 { font-family: var(--f-head); font-size: 16px; line-height: 1.25; }
.line h3 a { text-decoration: none; }
.dets { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); display: grid; gap: 1px; }
.dets li { overflow-wrap: anywhere; }
.dets b { font-weight: 500; color: var(--ink-3); }
.dets.clamp li:nth-child(n+4) { display: none; }
.line .more { font-size: 13px; margin-top: 3px; }
.line .acts { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.line .acts .r { display: flex; gap: 2px; }
.line .acts .icon-btn { width: 38px; height: 38px; }
.line .acts .icon-btn svg { width: 19px; height: 19px; }
.line .lp { font-weight: 700; }
.line .lp s { font-weight: 400; color: var(--ink-3); font-size: 13px; margin-right: 4px; }
.line .warn { margin-top: 8px; font-size: 13px; padding: 8px 10px; border-radius: 12px; background: var(--butter-soft); }
.line .warn.bad { background: #FBE3E8; }
.line.unavailable .th, .line.unavailable h3 { opacity: .5; }

.code-box { display: flex; gap: 8px; }
.code-box .input { min-height: 44px; text-transform: uppercase; }
.code-box .btn { min-height: 44px; }
.code-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; padding: 8px 12px; border-radius: 12px; background: var(--mint-soft); }
.code-applied b { letter-spacing: .04em; }
.code-err { font-size: 13.5px; color: var(--error); }

.menu-body { padding: 8px 20px 24px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 2px; border-bottom: 1px dashed var(--line); text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.menu-list a small { font-family: var(--f-body); font-weight: 500; font-size: 13px; color: var(--ink-3); letter-spacing: 0; }
.menu-list.sub a { font-family: var(--f-body); font-size: 16px; font-weight: 500; padding: 11px 2px; letter-spacing: 0; }
.menu-label { margin: 24px 0 4px; }
.menu-contact { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.menu-contact a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; background: var(--paper); }
.menu-contact svg { width: 18px; height: 18px; }

.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 92vh; max-height: calc(var(--vh) * 92); background: var(--cream); border-radius: 28px 28px 0 0; display: flex; flex-direction: column; transform: translateY(105%); transition: transform .42s var(--ease); box-shadow: 0 -20px 40px -20px rgba(43, 34, 48, .5); }
.sheet.on { transform: none; }
.sheet::before { content: ''; width: 44px; height: 5px; border-radius: 9px; background: rgba(43, 34, 48, .22); margin: 9px auto 0; flex: none; }
@media (min-width: 720px) {
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: min(580px, 94vw); max-height: 88vh; border-radius: 28px; transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .25s; box-shadow: var(--sh); }
  .sheet.on { transform: translate(-50%, -50%); opacity: 1; }
  .sheet::before { display: none; }
}
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px 10px 4px 22px; }
.sheet-head h2 { font-family: var(--f-display); font-weight: 800; font-size: 27px; letter-spacing: -.02em; padding-top: 6px; }
.sheet-body { overflow-y: auto; padding: 4px 22px 22px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sheet-foot { padding: 12px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.sheet-foot .btn { padding-left: 10px; padding-right: 10px; font-size: 15px; letter-spacing: 0; white-space: nowrap; }
.mini-line { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); margin: 8px 0 16px; }
.mini-line .th { width: 64px; height: 80px; flex: none; border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: var(--sh-sm); }
.mini-line .th img, .mini-line .th .art { width: 100%; height: 100%; object-fit: cover; }
.mini-line > div > b { display: block; font-size: 15px; }
.mini-line > div > span { font-size: 13px; color: var(--ink-2); }
.wa-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; background: #E5F7EC; color: #134B2C; margin: 4px 0 14px; }
.wa-note .ic { width: 38px; height: 38px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; flex: none; }
.wa-note .ic svg { width: 22px; height: 22px; }
.wa-note b { display: block; font-size: 15px; }
.wa-note span { font-size: 13.5px; line-height: 1.45; display: block; }
.wa-to { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); min-height: 20px; }
.wa-to b { color: var(--ink); }

.toasts { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--ink); color: var(--cream); padding: 12px 16px; border-radius: 16px; font-size: 15px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); animation: toast .4s var(--spring); display: flex; gap: 10px; align-items: center; }
.toast svg { width: 20px; height: 20px; color: var(--pink); flex: none; }
.toast.out { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
@keyframes toast { from { opacity: 0; transform: translateY(12px) scale(.96); } }
body.has-buybar .toasts { bottom: calc(160px + env(safe-area-inset-bottom)); }

/* ---------- finalizar pedido ---------- */
.checkout { padding: 6px 0 40px; display: flex; flex-direction: column; }
.co-summary { order: 0; }
.co-card.receipt { background: var(--white); border-color: rgba(43, 34, 48, .2); box-shadow: var(--sh-sm); }
.co-card.receipt .btn { margin-top: 16px; }
@media (min-width: 960px) { .checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; } .co-summary { order: 0; position: sticky; top: calc(var(--header-h) + 16px); } }
.co-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 18px; margin-bottom: 14px; }
.co-card h2 { font-family: var(--f-head); font-size: 20px; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--lilac-soft); font-size: 14.5px; margin-bottom: 14px; }
.notice svg { width: 20px; height: 20px; flex: none; color: var(--lilac-ink); margin-top: 1px; }
.notice.warn { background: var(--butter-soft); }
.notice.err { background: #FBE3E8; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; padding: 15px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .25s; }
.radio-card:hover { border-color: rgba(43, 34, 48, .45); }
.radio-card .dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink); margin-top: 2px; position: relative; background: var(--paper); }
.radio-card[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 10px 22px -16px rgba(43, 34, 48, .7); }
.radio-card[aria-checked="true"] .dot::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); }
.radio-card .tx { flex: 1; display: grid; gap: 2px; }
.radio-card .tx b { font-size: 16px; }
.radio-card .tx span { font-size: 14px; color: var(--ink-2); }
.radio-card .ic { width: 26px; height: 26px; color: var(--ink-2); flex: none; }
.address { margin-top: 14px; display: grid; gap: 12px; }
.co-lines { display: grid; gap: 12px; margin-bottom: 14px; }
.co-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: start; }
.co-line .th { width: 56px; aspect-ratio: 4 / 5; border-radius: 11px; overflow: hidden; background: var(--white); box-shadow: var(--sh-sm); }
.co-line .th img, .co-line .th .art { width: 100%; height: 100%; object-fit: cover; }
.co-line .th-wrap { position: relative; }
.co-line .q { position: absolute; right: -6px; top: -6px; min-width: 22px; height: 22px; border-radius: 99px; background: var(--ink); color: var(--cream); font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.co-line b { font-size: 14.5px; display: block; line-height: 1.3; }
.co-line span { font-size: 12.5px; color: var(--ink-2); display: block; }
.co-line .pr { font-weight: 700; font-size: 14.5px; }
.terms { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 10px; }
.form-error { margin-top: 12px; }

/* ---------- listo ---------- */
.done-page { text-align: center; padding-top: 40px; padding-bottom: 40px; max-width: 620px; margin: 0 auto; }
.done-page .badge-big { width: 98px; height: 98px; margin: 0 auto 18px; border-radius: 32px; background: var(--ink); color: var(--cream); display: grid; place-items: center; box-shadow: 0 0 0 7px var(--pink-mist); transform: rotate(-5deg); animation: pop .7s var(--spring); }
.done-page .badge-big svg { width: 52px; height: 52px; stroke-width: 2.6; }
@keyframes pop { 0% { transform: scale(.3) rotate(-25deg); opacity: 0; } 100% { transform: rotate(-5deg); opacity: 1; } }
.done-page h1 { font-family: var(--f-display); font-weight: 800; font-size: 46px; letter-spacing: -.025em; }
.done-page .id { display: inline-block; margin-top: 12px; padding: 6px 14px; border-radius: 12px; background: var(--paper); border: 1.5px dashed var(--ink); font-weight: 700; letter-spacing: .08em; }
.done-page > p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.done-page .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.done-page .notice, .done-page .ticket { text-align: left; margin-top: 24px; }
.done-page .ticket::before, .done-page .ticket::after { background: var(--cream); }
.done-page .save-wa { margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--ink); }
.done-page .save-wa + .ctas { margin-top: 12px; }

/* ---------- pago con el enlace ---------- */
.pay-page { max-width: 560px; margin: 0 auto; padding-top: 8px; }
.pay-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--sh-sm); margin-top: 18px; }
.pay-card .mini-line { margin-top: 0; }
.pay-rows { margin: 4px 0 18px; display: grid; gap: 8px; }
.pay-rows .row { display: flex; justify-content: space-between; gap: 10px; font-size: 15.5px; }
.pay-rows .row > span:first-child { color: var(--ink-2); }
.pay-rows .row.total { font-weight: 700; font-size: 19px; padding-top: 10px; border-top: 1.5px dashed var(--line); }
.pay-rows .row.total > span:first-child { color: var(--ink); }
.test-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin-top: 12px; line-height: 1.45; }
.test-note svg { width: 18px; height: 18px; flex: none; color: var(--lilac-ink); margin-top: 1px; }
.pay-msg { text-align: center; padding: 34px 0 10px; }
.pay-msg h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 9vw, 44px); letter-spacing: -.02em; }
.pay-msg > p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.pay-msg .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.pay-msg .ticket { text-align: left; margin-top: 24px; }
.pay-msg .badge-big { width: 98px; height: 98px; margin: 0 auto 18px; border-radius: 32px; background: var(--ink); color: var(--cream); display: grid; place-items: center; box-shadow: 0 0 0 7px var(--mint-soft); transform: rotate(-5deg); animation: pop .7s var(--spring); }
.pay-msg .badge-big.soft { background: var(--lilac-soft); color: var(--lilac-ink); box-shadow: none; }
.pay-msg .badge-big svg { width: 52px; height: 52px; stroke-width: 2.6; }

/* ---------- idea ---------- */
.idea-page { max-width: 640px; margin: 0 auto; padding-top: 10px; padding-bottom: 50px; }
.idea-page .co-card { margin-top: 18px; }

.notfound { text-align: center; padding: 70px 0; }
.notfound h1 { font-family: var(--f-display); font-weight: 800; font-size: 34px; margin-bottom: 18px; }

/* ---------- acompañamiento personalizado ---------- */
.ticket.mentor { --tk: var(--pink-mist); }
.paper .ticket::before, .paper .ticket::after { background: var(--paper); }

/* fotos tipo polaroid con cinta (página del acompañamiento e invitación del inicio) */
.pola { position: absolute; display: block; background: var(--white); padding: 7px 7px 30px; border-radius: 6px; box-shadow: 0 1px 2px rgba(43, 34, 48, .08), 0 18px 34px -18px rgba(43, 34, 48, .55); }
.pola img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.pola::before { content: ''; position: absolute; top: -9px; left: 50%; width: 56px; height: 20px; margin-left: -28px; background: rgba(242, 163, 181, .55); transform: rotate(-4deg); border-left: 2px dotted rgba(255, 255, 255, .7); border-right: 2px dotted rgba(255, 255, 255, .7); }
.pola i { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-family: var(--f-italic); font-style: italic; font-weight: 700; font-size: 14px; color: var(--ink); }

.mt-hero { position: relative; padding: 22px 0 54px; overflow: hidden; }
.mt-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(242, 163, 181, .16) 1.1px, transparent 1.6px) 0 0 / 14px 14px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.mt-hero-in { position: relative; display: grid; gap: 30px; }
.mt-h1 { margin-top: 10px; font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 10.4vw, 66px); line-height: 1.02; letter-spacing: -.025em; }
.mt-h1 em, .mentor .section-head h2 em, .learn-card h2 em { font-family: var(--f-italic); font-style: italic; font-weight: 700; letter-spacing: -.01em; background: var(--airbrush); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .06em; margin: 0 -.03em; }
.mt-copy .lede { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 34em; }
.mt-facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mt-facts li { display: grid; grid-template-columns: 30px 1fr; column-gap: 9px; align-items: start; padding: 12px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.mt-facts .ic { grid-row: span 2; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--pink-mist); color: var(--pink-ink); }
.mt-facts li:nth-child(2) .ic { background: var(--lilac-soft); color: var(--lilac-ink); }
.mt-facts li:nth-child(3) .ic { background: var(--butter-soft); color: #8A6A00; }
.mt-facts li:nth-child(4) .ic { background: var(--mint-soft); color: var(--ok); }
.mt-facts .ic svg { width: 18px; height: 18px; }
.mt-facts b { font-size: 14.5px; line-height: 1.25; }
.mt-facts span:not(.ic) { font-size: 12.5px; color: var(--ink-3); line-height: 1.3; margin-top: 2px; }
.mt-copy .notice { margin: 18px 0 0; }
.mt-copy .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.mt-copy .ctas .btn { flex: 1 1 100%; }
@media (min-width: 480px) { .mt-copy .ctas .btn { flex: 1 1 200px; } }
.mt-visual { position: relative; margin: 0 auto; width: min(100%, 420px); aspect-ratio: 1 / .9; }
.mt-visual .pola { width: 43%; }
.mt-visual .p1 { left: 1%; top: 13%; transform: rotate(-8deg); }
.mt-visual .p2 { left: 29%; top: 1%; width: 46%; transform: rotate(-1.5deg); z-index: 2; }
.mt-visual .p2::before { background: rgba(195, 184, 226, .7); }
.mt-visual .p3 { right: 1%; top: 15%; transform: rotate(7deg); }
.mt-visual .p3::before { background: rgba(169, 221, 185, .7); transform: rotate(5deg); }
.mt-tag { position: absolute; z-index: 3; right: -1%; top: -3%; display: grid; place-items: center; text-align: center; width: 112px; height: 112px; border-radius: 50%; background: var(--butter); border: 1.5px solid var(--ink); transform: rotate(-9deg); box-shadow: 4px 5px 0 var(--ink); }
.mt-tag b { font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.02em; margin-top: 14px; }
.mt-tag small { font-size: 11.5px; font-weight: 700; margin-top: -18px; }
@media (min-width: 960px) {
  .mt-hero { padding: 40px 0 80px; }
  .mt-hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .mt-copy .lede { font-size: 19px; }
  .mt-facts { gap: 12px; }
  .mt-copy .ctas .btn { flex: 0 1 auto; }
  .mt-visual { width: 100%; max-width: 520px; }
  .mt-tag { width: 132px; height: 132px; }
  .mt-tag b { font-size: 36px; }
}

.mt-how { display: grid; gap: 12px; }
.mt-how-c { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; padding: 18px 16px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.mt-how-c .ic { grid-row: span 2; width: 56px; height: 56px; }
.mt-how-c .ic svg { width: 100%; height: 100%; }
.mt-how-c h3 { font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: -.015em; line-height: 1.15; }
.mt-how-c p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
@media (min-width: 720px) { .mt-how { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .mt-how { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mt-how-c { grid-template-columns: 1fr; row-gap: 12px; padding: 22px 20px; } .mt-how-c .ic { grid-row: auto; width: 64px; height: 64px; } }

.mt-topics { display: grid; gap: 12px; }
.mt-topic { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 22px; background: var(--paper); border: 1.5px solid var(--line); }
.mt-topic .stage { display: block; aspect-ratio: 1 / .94; border-radius: 15px; background: var(--cream); overflow: hidden; }
.mt-topic:nth-child(3n+2) .stage { background: var(--lilac-soft); }
.mt-topic:nth-child(3n) .stage { background: var(--sky-soft); }
.mt-topic .stage svg { width: 100%; height: 100%; display: block; }
.mt-topic .tx { padding: 4px 8px 4px 0; }
.mt-topic h3 { font-family: var(--f-display); font-weight: 800; font-size: 19px; letter-spacing: -.015em; line-height: 1.15; }
.mt-topic p { color: var(--ink-2); font-size: 14px; line-height: 1.4; margin-top: 4px; }
@media (min-width: 720px) {
  .mt-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .mt-topic { grid-template-columns: 1fr; align-items: start; padding: 12px; border-radius: 24px; }
  .mt-topic .stage { aspect-ratio: 16 / 10; }
  .mt-topic .tx { padding: 4px 4px 6px; }
  .mt-topic h3 { font-size: 21px; }
}

.mt-join { display: grid; gap: 34px; }
.mt-steps .section-head { margin-bottom: 6px; }
.mt-price { position: relative; background: var(--white); border: 1.5px solid var(--ink); border-radius: 28px; padding: 22px 20px 20px; box-shadow: 6px 7px 0 var(--pink-soft); }
.mt-price .label { color: var(--ink); }
.mp-big { display: flex; align-items: flex-end; gap: 10px; margin-top: 8px; }
.mp-big b { font-family: var(--f-display); font-weight: 800; font-size: 64px; line-height: .9; letter-spacing: -.035em; }
.mp-big span { display: grid; font-weight: 700; font-size: 15px; line-height: 1.2; padding-bottom: 4px; }
.mp-big small { font-weight: 500; font-size: 13px; color: var(--ink-3); }
.mp-split { margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--pink-ink); }
.mp-inc { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1.5px dashed var(--line); display: grid; gap: 9px; }
.mp-inc li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-size: 15px; line-height: 1.35; }
.mp-inc svg { width: 20px; height: 20px; color: var(--ok); stroke-width: 2.6; margin-top: 1px; }
.mp-pay { display: grid; gap: 4px; margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: var(--cream); font-size: 13.5px; color: var(--ink-2); }
.mp-pay b { color: var(--ink); font-size: 14px; }
.mp-pay span::before { content: '·'; margin-right: 6px; color: var(--pink-ink); font-weight: 700; }
.mp-cta { margin-top: 18px; }
.mp-note { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.mp-note .link-btn { font-size: 12.5px; }
@media (min-width: 960px) { .mt-join { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 64px; align-items: start; } .mt-price { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px 28px 24px; } }

.mt-tests { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none; }
.mt-tests::-webkit-scrollbar { display: none; }
.mt-test { flex: 0 0 84%; scroll-snap-align: start; margin: 0; padding: 20px 18px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.mt-test .q { display: block; font-family: var(--f-display); font-weight: 800; font-size: 54px; line-height: .6; color: var(--pink); height: 24px; }
.mt-test blockquote { margin: 0; font-size: 16px; line-height: 1.5; }
.mt-test figcaption { margin-top: 12px; display: grid; font-size: 14px; }
.mt-test figcaption span { color: var(--ink-3); font-size: 13px; }
@media (min-width: 720px) { .mt-tests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } }

.mt-faq-wrap { max-width: 820px; }
.faq { border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1.5px dashed var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 2px; cursor: pointer; font-family: var(--f-head); font-weight: 650; font-size: 18px; line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); transition: transform .3s var(--ease), background-color .2s; }
.faq-item summary i svg { width: 16px; height: 16px; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--pink-soft); border-color: var(--ink); }
.faq-a { padding: 0 2px 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 44em; }
.faq-item[open] .faq-a { animation: optin .35s var(--ease); }

.mt-end { padding-top: 10px; }
.mt-bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 22px; background: rgba(255, 253, 248, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(43, 34, 48, .55); transform: translateY(140%); transition: transform .45s var(--ease); }
.mt-bar.on { transform: none; }
.mt-bar .tx { display: grid; line-height: 1.2; }
.mt-bar b { font-size: 17px; }
.mt-bar small { font-size: 12px; color: var(--ink-3); }
.mt-bar .btn { flex: none; }
@media (min-width: 960px) { .mt-bar { display: none; } }

/* inscripción */
.back-link { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 14px; font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--ink-2); }
.back-link svg { width: 17px; height: 17px; }
.back-link:hover { color: var(--ink); }
.enroll .page-head h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 9vw, 50px); letter-spacing: -.025em; margin-top: 8px; }
.enroll .page-head .label { display: flex; }
.tpick { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 4px; }
@media (min-width: 520px) { .tpick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tpick.small { grid-template-columns: 1fr; }
.tpick.small.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp { position: relative; display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 8px 34px 8px 9px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); text-align: left; font-weight: 500; font-size: 14.5px; line-height: 1.25; transition: border-color .2s, background-color .2s, transform .25s var(--spring), box-shadow .2s; }
.tp.plain { padding-left: 14px; min-height: 48px; }
.tp:hover { border-color: var(--ink); }
.tp:active { transform: scale(.97); }
.tp .ti { flex: none; width: 36px; height: 36px; }
.tp .ti svg { width: 100%; height: 100%; }
.tp .tk { position: absolute; right: 9px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--cream); transition: background-color .2s, border-color .2s; }
.tp .tk svg { width: 12px; height: 12px; stroke-width: 3; opacity: 0; }
.tp[aria-checked="true"] { border-color: var(--ink); background: var(--pink-mist); box-shadow: inset 0 0 0 1px var(--ink); }
.tp[aria-checked="true"] .tk { background: var(--ink); border-color: var(--ink); }
.tp[aria-checked="true"] .tk svg { opacity: 1; }
.field.is-error .tpick .tp { border-color: rgba(180, 35, 64, .45); }
.field .tpick + .hint { margin-top: 4px; }
@media (min-width: 560px) { .tpick.small { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tpick.small.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.enr-line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.enr-line .th { width: 64px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--cream); box-shadow: var(--sh-sm); }
.enr-line .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.enr-line b { display: block; font-family: var(--f-head); font-size: 16.5px; line-height: 1.25; }
.enr-line span { font-size: 13.5px; color: var(--ink-2); }
.enr-receipt .mp-inc { margin-top: 14px; }
.enr-receipt .mp-inc li { font-size: 14px; }
.enr-receipt .sum-row.total { margin-top: 14px; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.enr-receipt .mp-split { margin-top: 4px; font-size: 13.5px; }
.enr-policy { margin-top: 14px; border-radius: 14px; background: var(--cream); padding: 0 14px; }
.enr-policy summary { cursor: pointer; padding: 11px 0; font-weight: 600; font-size: 14px; }
.enr-policy p { padding: 0 0 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.check-row { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; margin-top: 14px; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.check-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-row .box { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid rgba(43, 34, 48, .35); background: var(--white); display: grid; place-items: center; color: var(--cream); transition: background-color .2s, border-color .2s; }
.check-row .box svg { width: 15px; height: 15px; stroke-width: 3; opacity: 0; }
.check-row input:checked + .box { background: var(--ink); border-color: var(--ink); }
.check-row input:checked + .box svg { opacity: 1; }
.check-row input:focus-visible + .box { box-shadow: 0 0 0 4px var(--pink-mist); border-color: var(--ink); }
.check-row.is-error .box { border-color: var(--error); box-shadow: 0 0 0 3px rgba(180, 35, 64, .12); }
.enr-receipt .notice { margin: 14px 0 0; font-size: 13px; }

/* invitación en el inicio */
.learn { padding-top: 54px; padding-bottom: 6px; }
.learn-card { position: relative; display: grid; gap: 8px; border-radius: 34px; padding: 30px 20px 30px; background: radial-gradient(rgba(91, 75, 145, .12) 1.1px, transparent 1.6px) 0 0 / 13px 13px, var(--lilac-soft); border: 1.5px solid rgba(43, 34, 48, .1); overflow: hidden; }
.learn-photos { position: relative; height: 200px; margin: 6px auto 4px; width: min(100%, 330px); }
.learn-photos .pola { width: 37%; padding: 5px 5px 18px; }
.learn-photos .p1 { left: 2%; top: 22px; transform: rotate(-9deg); }
.learn-photos .p2 { left: 31.5%; top: 4px; z-index: 2; transform: rotate(-1deg); }
.learn-photos .p2::before { background: rgba(255, 216, 110, .7); }
.learn-photos .p3 { right: 2%; top: 26px; transform: rotate(8deg); }
.learn-photos .p3::before { background: rgba(169, 221, 185, .75); }
.learn-copy { text-align: center; }
.learn-copy .label { color: var(--lilac-ink); }
.learn-card h2 { margin-top: 8px; font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 8vw, 46px); letter-spacing: -.025em; line-height: 1.05; }
.learn-copy > p { margin: 12px auto 0; max-width: 32em; color: var(--ink-2); font-size: 16px; }
.learn-facts { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.learn-facts li { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.learn-copy .btn { margin-top: 20px; }
@media (min-width: 900px) {
  .learn { padding-top: 80px; }
  .learn-card { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 44px 48px; }
  .learn-photos { height: 300px; width: 100%; max-width: 420px; margin: 0; }
  .learn-copy { text-align: left; }
  .learn-copy > p { margin-left: 0; }
  .learn-facts { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-night .hero-h1 .word { opacity: 1; transform: none; }
  .draw .ink, .draw .arc { stroke-dashoffset: 0; }
}
