/* GiftMi · landing
   Idea: el lazo del logo. La portada desata una Gift Card envuelta y el cierre
   ata un moño alrededor del botón de contacto. Cada sección es una "hoja" con
   esquinas redondeadas que se apoya sobre la anterior.
   Paleta (assets/images/paleta.jpeg): uva y base mandan, noche estructura,
   lila y celeste acompañan, naranja solo como toque (nudo, sello, palabra clave). */

:root {
  --uva: #5b4b9b;
  --uva-deep: #43357f;
  --base: #f5f3fa;
  --noche: #261c4f;
  --night: #1b1338;
  --lila: #cfc4f0;
  --lila-soft: #ebe5fa;
  --celeste: #7cc4e8;
  --naranja: #cf4410;
  --text: #261c4f;
  --muted: #5f5980;
  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --sheet: clamp(28px, 4vw, 52px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--noche); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--naranja); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--celeste); outline-offset: 3px; border-radius: 6px; }

/* ---------- Hojas ---------- */
.sheet { position: relative; background: var(--base); border-radius: var(--sheet) var(--sheet) 0 0; margin-top: calc(var(--sheet) * -1); box-shadow: 0 -30px 60px -40px rgba(27,19,56,.35); }
.sheet:first-child { margin-top: 0; border-radius: 0; box-shadow: none; }
.sheet--dark { background: var(--noche); color: var(--base); }
.sheet--white { background: #fff; }
.sheet--lila { background: var(--lila-soft); }
.sheet--uva { background: var(--uva); color: #fff; }

/* ---------- Compartido ---------- */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 9px; border-radius: 999px; background: #fff; color: var(--uva); font-weight: 600; font-size: 14px; box-shadow: 0 8px 20px -14px rgba(38,28,79,.5); margin-bottom: 26px; }
.tag svg { width: 24px; height: 24px; color: var(--uva); }
.tag--center { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.tag--light { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.tag--light svg { color: var(--lila); }
.title { font-family: var(--display); font-weight: 800; font-size: clamp(42px, 6vw, 88px); line-height: .98; letter-spacing: -.045em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 520px; margin-top: 22px; }
.sheet--dark .lead, .sheet--uva .lead { color: rgba(245,243,250,.78); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1.5px solid transparent; transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--uva { background: var(--uva); color: #fff; }
.btn--uva:hover { background: var(--noche); }
.btn--line { border-color: rgba(38,28,79,.25); color: var(--noche); }
.btn--line:hover { border-color: var(--noche); }
.btn--light { background: var(--base); color: var(--noche); }
.btn--light:hover { background: #fff; }
.btn--lg { padding: 20px 40px; font-size: 19px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 60; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(920px, calc(100% - 24px)); display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 10px 30px -18px rgba(38,28,79,.45), inset 0 0 0 1px rgba(255,255,255,.6);
  transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--noche); }
.nav__links a { opacity: .75; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta { margin-left: 8px; background: var(--noche); color: #fff; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; transition: background .25s; }
.nav__cta:hover { background: var(--uva); }
@media (max-width: 760px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } .nav__logo img { height: 34px; } }
/* El desenfoque de fondo (blur) sobre un canvas 3D es muy pesado en celulares: ahí va un fondo sólido. */
@media (max-width: 760px), (pointer: coarse) {
  .nav { background: rgba(255,255,255,.94); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sheet { box-shadow: none; }
}

/* ---------- 1 · Portada ---------- */
/* Portada: imagen fija de la tarjeta envuelta que flota (solo transform, liviano para celulares). */
.hero { background: radial-gradient(80% 60% at 50% 70%, #fff 0%, var(--base) 60%); }
.hero__inner { min-height: 100svh; display: flex; flex-direction: column; }
.hero__copy { text-align: center; padding: clamp(96px, 15vh, 150px) var(--gutter) 0; flex: none; }
.hero__stage { flex: 1; min-height: 260px; display: flex; align-items: center; justify-content: center; padding: 10px var(--gutter) 60px; }
.hero__card { display: block; width: auto; height: auto; max-width: min(720px, 100%); max-height: max(260px, calc(100svh - 470px)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
.hero__copy .tag { margin-bottom: 22px; }
.hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6.8vw, 112px); line-height: .92; letter-spacing: -.05em; color: var(--noche); }
.hero__title span { display: inline-block; }
.hero__lead { margin: 22px auto 0; max-width: 640px; font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); }
.hero__lead strong { display: block; color: var(--noche); font-weight: 600; margin-bottom: 6px; }
.hero__ctas { margin-top: 26px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .hero__copy { padding-top: 92px; }
  .hero__lead { font-size: 15.5px; }
  .hero__ctas .btn { padding: 13px 22px; font-size: 15px; }
}

/* ---------- 2 · Recorrido ---------- */
.journey { height: 620vh; }
.journey__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto 1fr auto; align-items: center; column-gap: clamp(24px, 4vw, 70px); row-gap: 14px; padding: 84px var(--gutter) 16px; }
.journey__word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0;
  font-family: var(--display); font-weight: 800; font-size: clamp(110px, 22vw, 360px); letter-spacing: -.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(207,196,240,.32); white-space: nowrap; pointer-events: none;
  transition: opacity .4s;
}
.journey__dots { list-style: none; position: relative; z-index: 1; justify-self: start; display: grid; gap: 34px; padding-left: 4px; }
.journey__dots::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: rgba(207,196,240,.2); }
.journey__dots li { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--noche); border: 2px solid rgba(207,196,240,.45); transition: background .4s, border-color .4s, transform .4s var(--ease); margin-left: 4px; }
.journey__dots li.is-done { background: var(--lila); border-color: var(--lila); }
.journey__dots li.is-on { background: var(--naranja); border-color: var(--naranja); transform: scale(1.35); }

.phone { position: relative; z-index: 1; width: 300px; height: 612px; transform: scale(var(--ps, 1)); margin: calc((var(--ps, 1) - 1) * 306px) calc((var(--ps, 1) - 1) * 150px); border-radius: 48px; background: #0f0a22; padding: 12px; box-shadow: 0 0 0 1.5px rgba(207,196,240,.25), 0 60px 100px -40px rgba(0,0,0,.7); }
.phone__notch { position: absolute; z-index: 3; top: 22px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; border-radius: 999px; background: #0f0a22; }
.phone__screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #fff; color: var(--noche); }
.scr { position: absolute; inset: 0; padding: 62px 18px 20px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.scr.is-on { opacity: 1; transform: none; }
.scr__bar { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.scr__bar b { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.03em; color: var(--noche); }
.store__img { border-radius: 16px; aspect-ratio: 1.15; padding: 16px; display: flex; justify-content: space-between; align-items: flex-start; color: #fff; font-family: var(--display); font-weight: 800; font-size: 18px; }
.store__name { font-weight: 600; font-size: 17px; margin-top: 4px; }
.store__price { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.03em; margin-top: -10px; }
.store__btn { margin-top: auto; position: relative; height: 48px; border-radius: 14px; background: var(--noche); color: #fff; font-weight: 600; display: grid; place-items: center; overflow: hidden; transition: background .4s; }
.store__btn > span { grid-area: 1 / 1; display: flex; align-items: center; gap: 6px; transition: opacity .3s, transform .4s var(--ease); }
.store__btn svg { width: 18px; height: 18px; }
.store__paid { opacity: 0; transform: translateY(14px); }
.scr.is-done .store__btn { background: #1f8a55; }
.scr.is-done .store__buy { opacity: 0; transform: translateY(-14px); }
.scr.is-done .store__paid { opacity: 1; transform: none; }
.mail { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; font-size: 13px; line-height: 1.3; }
.mail i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--lila-soft); display: grid; place-items: center; font-style: normal; font-weight: 700; color: var(--uva); }
.mail b { display: block; font-size: 14px; }
.mail span { color: var(--muted); }
.mail--new { background: var(--lila-soft); }
.mail--new i { background: var(--uva); color: #fff; }
.mail__open { margin-top: auto; border-radius: 18px; padding: 16px; background: var(--base); display: grid; gap: 6px; font-size: 13.5px; transform: translateY(30px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.mail__open span { color: var(--muted); }
.mail__open em { justify-self: start; margin-top: 6px; background: var(--uva); color: #fff; font-weight: 600; padding: 9px 16px; border-radius: 999px; }
.scr.is-done .mail__open { transform: none; opacity: 1; }
.mini { border-radius: 16px; padding: 16px; color: #fff; display: grid; gap: 2px; min-height: 140px; align-content: end; }
.mini small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.mini strong { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.04em; line-height: 1; min-height: 30px; }
.mini span { font-size: 12.5px; opacity: .85; min-height: 18px; }
.mini--big { min-height: 250px; align-content: end; }
.mini--big strong { font-size: 42px; }
.mini code { justify-self: start; margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; background: rgba(255,255,255,.92); color: var(--noche); padding: 5px 8px; border-radius: 7px; }
.edit__field { border-radius: 12px; background: var(--base); padding: 10px 12px; display: grid; gap: 2px; font-weight: 600; }
.edit__field small { font-size: 11px; color: var(--muted); font-weight: 500; }
#typeField::after, #typeName::after { content: ""; display: inline-block; width: 2px; height: 1em; background: currentColor; margin-left: 2px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
#typeName::after { background: var(--lila); }
@keyframes caret { 50% { opacity: 0; } }
.edit__dots { display: flex; gap: 8px; }
.edit__dots i { width: 30px; height: 30px; border-radius: 50%; }
.edit__dots i:first-child { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--uva); }
.edit__btn, .pos__btn { margin-top: auto; height: 48px; border-radius: 14px; background: var(--uva); color: #fff; font-weight: 600; display: grid; place-items: center; }
.final__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.final__btns span { text-align: center; padding: 12px; border-radius: 14px; background: var(--base); font-weight: 600; font-size: 14px; }
.final__btns span:last-child { background: var(--noche); color: #fff; }
.final__note { margin-top: auto; text-align: center; font-size: 12.5px; color: var(--muted); }
.pos__code { margin-top: 10px; font-family: var(--mono); font-weight: 600; font-size: 19px; letter-spacing: .1em; text-align: center; padding: 16px 10px; border-radius: 14px; border: 2px solid var(--uva); }
.pos__state { display: grid; height: 48px; }
.pos__state > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; font-weight: 600; font-size: 14px; transition: opacity .4s, transform .5s var(--ease); }
.pos__ok { background: #e4f5ec; color: #1f7a4a; }
.pos__done { background: #fde8df; color: var(--naranja); opacity: 0; transform: scale(.9); }
.pos__done svg { width: 18px; height: 18px; }
.scr.is-done .pos__ok { opacity: 0; }
.scr.is-done .pos__done { opacity: 1; transform: none; }
.scr.is-done .pos__btn { background: var(--muted); }

.journey__captions { position: relative; z-index: 1; justify-self: end; width: min(360px, 100%); height: 240px; }
.journey__title { position: relative; z-index: 1; grid-column: 1 / -1; text-align: center; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.02em; color: var(--lila); padding: 0 var(--gutter); }
.journey__note { position: relative; z-index: 1; grid-column: 1 / -1; margin: 0 auto; max-width: 720px; text-align: center; font-size: 12.5px; color: rgba(245,243,250,.5); }
.store__amounts { display: flex; gap: 6px; }
.store__amounts i { flex: 1; text-align: center; font-style: normal; font-size: 13px; font-weight: 600; padding: 8px 0; border-radius: 10px; background: var(--base); color: var(--muted); }
.store__amounts i.on { background: var(--noche); color: #fff; }
.mini--mail { min-height: 110px; margin: 4px 0; }
.mini--mail strong { font-size: 26px; }
.pos__note { text-align: center; font-size: 13px; color: var(--muted); }
.panel__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 4px; }
.panel__stats div { border-radius: 12px; background: var(--base); padding: 10px 8px; display: grid; gap: 2px; text-align: center; }
.panel__stats b { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.panel__stats span { font-size: 10.5px; color: var(--muted); }
.panel__stats div:first-child { background: var(--uva); color: #fff; }
.panel__stats div:first-child span { color: rgba(255,255,255,.75); }
.panel__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 10px; border-radius: 12px; background: var(--base); }
.panel__row code { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; }
.panel__row .st { font-size: 10.5px; padding: 3px 8px; }
.cap { position: absolute; inset: 0; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.cap.is-on { opacity: 1; transform: none; }
.cap span { font-weight: 700; color: var(--naranja); font-size: 15px; }
.cap h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.2vw, 46px); line-height: 1; letter-spacing: -.04em; margin: 8px 0 14px; }
.cap p { color: rgba(245,243,250,.75); }
@media (max-width: 900px) {
  .journey__sticky { grid-template-columns: 1fr; grid-template-rows: 1fr auto; justify-items: center; padding: 76px var(--gutter) 24px; gap: 8px; }
  .journey__dots { display: none; }
  .phone { transform: scale(.74); transform-origin: 50% 40%; margin: -70px 0 -90px; }
  .journey__captions { justify-self: stretch; width: auto; height: 170px; }
  .journey__sticky { grid-template-rows: 1fr auto auto; }
  .journey__title { display: none; }
  .journey__note { position: static; font-size: 11.5px; padding: 0; }
  .cap h2 { font-size: 30px; margin: 4px 0 8px; }
  .cap p { font-size: 15px; }
}
@media (max-width: 900px) and (max-height: 760px) { .phone { transform: scale(.64); margin: -110px 0 -130px; } }

/* Diseños */
.d-uva { background: radial-gradient(120% 140% at 85% 10%, #8a79d0 0%, #5b4b9b 45%, #33286b 100%); }
.d-cielo { background: radial-gradient(120% 140% at 85% 10%, #c4e8f8 0%, #7cc4e8 45%, #4c98c4 100%); color: var(--noche); }
.d-noche { background: radial-gradient(120% 140% at 85% 10%, #4b3d88 0%, #261c4f 55%, #140e2c 100%); }
.d-papel { background: linear-gradient(160deg, #fffdf8 0%, #f1ebde 100%); color: var(--noche); }
.d-papel code, .d-cielo code { background: var(--noche) !important; color: var(--base) !important; }
.d-bruma { background: radial-gradient(120% 140% at 85% 10%, #b07d62 0%, #6b4636 50%, #3b261e 100%); }
.d-lote { background: radial-gradient(120% 140% at 85% 10%, #3b3b3b 0%, #1a1a1a 60%, #0c0c0c 100%); }
.d-verbena { background: radial-gradient(120% 140% at 85% 10%, #b9cf9f 0%, #6f8f5a 50%, #3f5a35 100%); }
.d-aurora { background: radial-gradient(120% 140% at 85% 10%, #ffd9cf 0%, #e89a8c 50%, #b5606a 100%); }

/* ---------- 4 · Mazo de marcas ---------- */
.deck { height: 240vh; }
.deck__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; padding: clamp(100px, 14vh, 140px) var(--gutter) 0; text-align: center; }
.deck__copy .lead { margin-left: auto; margin-right: auto; }
.deck__cards { position: relative; }
.dc {
  position: absolute; left: 50%; top: 16%; width: clamp(200px, 20vw, 280px); aspect-ratio: 1.586; margin-left: calc(clamp(200px, 20vw, 280px) / -2);
  border-radius: 18px; padding: 16px 18px; color: #fff; text-align: left; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 30px 50px -26px rgba(27,19,56,.55); transform-origin: 50% 160%; will-change: transform;
}
.dc b { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.04em; }
.dc b.serif { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.dc b.mono { font-family: var(--mono); font-weight: 600; letter-spacing: .3em; font-size: 18px; }
.dc span { font-size: 12px; opacity: .85; }
.dc--you { background: #fff; color: var(--uva); box-shadow: 0 0 0 2px var(--uva) inset, 0 30px 50px -26px rgba(27,19,56,.55); }
.dc--you b { color: var(--noche); }
@media (max-width: 760px) { .dc { top: 14%; } }

/* ---------- 6 · Equipo ---------- */
.team { padding: clamp(110px, 16vh, 170px) var(--gutter) clamp(120px, 16vh, 180px); }
.team__head { max-width: 1240px; margin: 0 auto 56px; }
.bento { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { border-radius: 28px; padding: 30px; background: #fff; overflow: hidden; display: flex; flex-direction: column; min-height: 260px; }
.tile h3 { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.02; letter-spacing: -.035em; }
.tile > p { margin-top: 8px; color: var(--muted); font-size: 16px; max-width: 360px; }
.tile--list { grid-column: span 2; }
.tile--chart { background: var(--lila); }
.tile--chart > p { color: var(--noche); opacity: .75; }
.tile--wa { background: var(--uva); color: #fff; }
.tile--wa > p { color: rgba(255,255,255,.78); }
.tile--log { background: var(--noche); color: #fff; }
.tile--log > p { color: rgba(255,255,255,.7); }
.ui-list { margin-top: 22px; display: grid; gap: 8px; }
.ui-chips { display: flex; gap: 8px; margin-bottom: 4px; }
.ui-chips i { font-style: normal; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--base); color: var(--muted); }
.ui-chips i.on { background: var(--noche); color: #fff; }
.ui-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--base); font-size: 14px; }
.ui-row code { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.ui-row span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e4f5ec; color: #1f7a4a; }
.st--ok { background: #fde8df; color: var(--naranja); }
.st--wait { background: var(--lila-soft); color: var(--uva); }
.ui-bars { margin-top: auto; padding-top: 24px; height: 160px; display: flex; align-items: flex-end; gap: 8px; }
.ui-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: rgba(255,255,255,.28); transform-origin: bottom; }
.ui-bars i:last-child { background: var(--lila); }
.ui-stack { margin-top: auto; padding-top: 30px; position: relative; height: 130px; }
.ui-stack i { position: absolute; left: 50%; bottom: 0; width: 170px; aspect-ratio: 1.586; margin-left: -85px; border-radius: 12px; background: radial-gradient(120% 140% at 85% 10%, #8a79d0 0%, #5b4b9b 45%, #33286b 100%); box-shadow: 0 12px 24px -14px rgba(27,19,56,.6); }
.ui-stack i:nth-child(1) { transform: translate(-36px, 10px) rotate(-10deg); opacity: .55; }
.ui-stack i:nth-child(2) { transform: translate(-12px, 4px) rotate(-4deg); opacity: .75; }
.ui-stack i:nth-child(3) { transform: translate(12px, 0) rotate(3deg); opacity: .9; }
.ui-stack i:nth-child(4) { transform: translate(34px, -4px) rotate(9deg); }
.ui-log { margin-top: auto; padding-top: 24px; display: grid; gap: 8px; font-size: 13.5px; }
.ui-log span { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.ui-log b { color: var(--lila); margin-right: 6px; font-family: var(--mono); font-weight: 600; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .tile--list { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile--list { grid-column: auto; } .ui-row { grid-template-columns: 1fr auto; } .ui-row span { display: none; } }

/* ---------- 02 · Concepto ---------- */
.concept { padding: clamp(110px, 16vh, 170px) var(--gutter) clamp(120px, 16vh, 180px); }
.concept__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 100px); align-items: end; }
.concept__text p { color: rgba(245,243,250,.75); font-size: clamp(17px, 1.5vw, 20px); }
.concept__text p + p { margin-top: 18px; }
.concept__quote { max-width: 1240px; margin: clamp(80px, 12vh, 140px) auto 0; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 76px); line-height: 1.06; letter-spacing: -.04em; }
.concept__quote strong { font-weight: 800; color: var(--lila); }
.concept__quote .w { opacity: .16; transition: opacity .35s var(--ease); }
.concept__quote .w.on { opacity: 1; }
.concept__end { max-width: 1240px; margin: 48px auto 0; display: flex; gap: 16px; align-items: flex-start; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: #fff; }
.concept__end svg { flex: none; width: 48px; height: 48px; color: var(--lila); margin-top: -6px; }
@media (max-width: 860px) { .concept__grid { grid-template-columns: 1fr; } }

/* ---------- 03 · Propuesta de valor ---------- */
.value { padding: clamp(110px, 16vh, 170px) var(--gutter) clamp(120px, 16vh, 180px); }
.value__head { max-width: 1240px; margin: 0 auto; }
.value .title span, .team .title span { color: var(--uva); }
.value__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.value__intro .lead { max-width: none; margin-top: 0; }
.value__kicker { max-width: 1240px; margin: 64px auto 18px; font-weight: 700; color: var(--uva); font-size: 15px; }
.benefits { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { border-radius: 28px; padding: 30px; display: flex; flex-direction: column; min-height: 300px; background: #fff; transition: transform .4s var(--ease); }
.benefit:hover { transform: translateY(-6px); }
.benefit__n { font-family: var(--display); font-weight: 800; font-size: 56px; letter-spacing: -.05em; line-height: 1; color: var(--lila); margin-bottom: auto; }
.benefit h3 { margin-top: 40px; font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1.05; letter-spacing: -.035em; }
.benefit p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.benefit:nth-child(1) { background: var(--uva); color: #fff; }
.benefit:nth-child(1) .benefit__n { color: rgba(255,255,255,.35); }
.benefit:nth-child(1) p { color: rgba(255,255,255,.8); }
.benefit:nth-child(3) { background: var(--lila); }
.benefit:nth-child(3) .benefit__n { color: rgba(38,28,79,.25); }
.benefit:nth-child(3) p { color: var(--noche); opacity: .75; }
.benefit:nth-child(4) { background: var(--noche); color: #fff; }
.benefit:nth-child(4) .benefit__n { color: rgba(207,196,240,.4); }
.benefit:nth-child(4) p { color: rgba(255,255,255,.72); }
@media (max-width: 1000px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .value__intro { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } .benefit { min-height: 0; } }

/* ---------- 06 · Gestión (extras) ---------- */
.team__head .lead { margin-top: 22px; }
.tile--admin { background: #fff; }
.ui-redeem { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.ui-redeem code { font-family: var(--mono); font-size: 16px; letter-spacing: .1em; text-align: center; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.14); }
.ui-redeem span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 12px; background: #fff; color: #1f7a4a; font-weight: 700; font-size: 14px; }
.ui-redeem svg { width: 18px; height: 18px; }
.ui-actions { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.ui-actions i { font-style: normal; padding: 9px 14px; border-radius: 999px; background: var(--base); font-weight: 600; font-size: 14px; }
.ui-actions i:nth-child(3) { background: #fde8df; color: var(--naranja); }
.team__foot { max-width: 1240px; margin: 48px auto 0; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 42px); letter-spacing: -.035em; line-height: 1.08; }
.team__foot span { color: var(--uva); }

/* ---------- 07 · Valor comercial ---------- */
.biz { padding: clamp(110px, 16vh, 170px) var(--gutter) clamp(120px, 16vh, 180px); }
.biz__head { max-width: 1240px; margin: 0 auto 56px; }
.biz .title { max-width: 1050px; }
.biz__list { list-style: none; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.biz__list li { border-top: 1px solid rgba(255,255,255,.22); padding: 28px 0 34px; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; }
.biz__list span { grid-row: span 2; font-weight: 700; color: var(--lila); font-size: 15px; padding-top: 6px; }
.biz__list h3 { font-family: var(--display); font-weight: 800; font-size: clamp(23px, 2.3vw, 31px); line-height: 1.08; letter-spacing: -.03em; }
.biz__list p { margin-top: 10px; color: rgba(255,255,255,.78); }
.biz__foot { max-width: 820px; margin: 56px auto 0; text-align: center; font-size: clamp(18px, 1.8vw, 22px); color: #fff; }
@media (max-width: 860px) { .biz__list { grid-template-columns: 1fr; } }

/* ---------- 08 · Para quién es ---------- */
.who { padding: clamp(110px, 16vh, 170px) var(--gutter) clamp(120px, 16vh, 180px); text-align: center; }
.who .title { max-width: 1050px; margin: 0 auto; }
.who .lead { margin-left: auto; margin-right: auto; }
.who__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; margin: 44px auto 0; }
.who__list li { padding: 14px 26px; border-radius: 999px; background: var(--base); font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 26px); letter-spacing: -.02em; transition: background .3s, color .3s, transform .3s var(--ease); }
.who__list li:hover { background: var(--uva); color: #fff; transform: translateY(-3px); }
.who__list li:last-child { background: transparent; border: 1.5px dashed rgba(38,28,79,.25); font-family: var(--body); font-weight: 500; font-size: 16px; color: var(--muted); display: flex; align-items: center; }
.who__list li:last-child:hover { color: var(--muted); transform: none; }
.who__pitch { max-width: 720px; margin: 44px auto 28px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; }

/* ---------- 7 · Preguntas ---------- */
.faq { padding: clamp(110px, 16vh, 170px) var(--gutter) clamp(120px, 16vh, 180px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; }
.faq__head { align-self: start; position: sticky; top: 110px; }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: 22px; background: var(--base); transition: background .3s; }
.faq details[open] { background: var(--lila-soft); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 70px 22px 26px; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -.02em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--body); font-weight: 500; font-size: 22px; color: var(--uva); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--uva); color: #fff; }
.faq details p { padding: 0 70px 24px 26px; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 36px; } .faq__head { position: static; } .faq details p { padding-right: 26px; } }

/* ---------- 8 · Cierre ---------- */
.close { position: relative; overflow: hidden; padding: clamp(130px, 20vh, 200px) var(--gutter) clamp(130px, 18vh, 190px); text-align: center; }
.close__ribbon { position: absolute; left: 0; top: 50%; width: 100%; height: 520px; transform: translateY(-50%); pointer-events: none; }
.close__ribbon path { fill: none; stroke: var(--uva); stroke-width: 26; stroke-linecap: round; opacity: .55; }
.close__in { position: relative; z-index: 1; }
.close .lead { margin-left: auto; margin-right: auto; }
.close .title { font-size: clamp(34px, 4.8vw, 70px); max-width: 1100px; margin: 0 auto; }
.close__claim { margin-top: 26px; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.9vw, 25px); letter-spacing: -.02em; color: var(--lila); }
.close__ctas { margin-top: 72px; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.close__btn { position: relative; display: inline-block; }
.btn--ghost-light { border-color: rgba(245,243,250,.4); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }
.close__bow { position: absolute; left: 50%; top: -62px; width: 110px; height: 110px; margin-left: -55px; color: var(--lila); transform: scale(0) rotate(-20deg); transform-origin: 50% 46%; }
.close__mail { margin-top: 22px; font-size: 14px; color: rgba(245,243,250,.55); }

/* ---------- Pie ---------- */
.foot { background: var(--noche); color: rgba(245,243,250,.7); padding: 34px var(--gutter) 40px; display: flex; align-items: center; gap: 22px 28px; flex-wrap: wrap; font-size: 14px; border-top: 1px solid rgba(245,243,250,.1); }
.foot__brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot__brand img { height: 46px; width: auto; }
.foot__brand p { color: rgba(245,243,250,.8); }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
.foot nav a:hover { color: #fff; }
.foot__legal { width: 100%; font-size: 13px; opacity: .7; }

/* ---------- Aparición ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.faq details.rv:nth-child(2), .tile.rv:nth-child(2) { transition-delay: .06s; }
.faq details.rv:nth-child(3), .tile.rv:nth-child(3) { transition-delay: .12s; }
.faq details.rv:nth-child(4), .tile.rv:nth-child(4) { transition-delay: .18s; }
.faq details.rv:nth-child(5), .tile.rv:nth-child(5) { transition-delay: .24s; }
.faq details.rv:nth-child(6) { transition-delay: .3s; }
.tile--chart .ui-bars i { transform: scaleY(.08); transition: transform 1s var(--ease) .3s; }
.tile--chart.is-in .ui-bars i { transform: none; }
.tile--chart .ui-bars i:nth-child(2) { transition-delay: .36s; } .tile--chart .ui-bars i:nth-child(3) { transition-delay: .42s; }
.tile--chart .ui-bars i:nth-child(4) { transition-delay: .48s; } .tile--chart .ui-bars i:nth-child(5) { transition-delay: .54s; }
.tile--chart .ui-bars i:nth-child(6) { transition-delay: .6s; } .tile--chart .ui-bars i:nth-child(7) { transition-delay: .66s; }
.close__bow { transition: transform .8s cubic-bezier(.34, 1.56, .64, 1); }
.close.is-tied .close__bow { transform: scale(1) rotate(0deg); }

/* ---------- Sin animaciones ---------- */
@media (prefers-reduced-motion: reduce) {
  #typeField::after, #typeName::after, .hero__card { animation: none; }
}
