/* ============ Basado — Tinta · Azul · Lila · Durazno (vidrio iridiscente) ============ */
:root {
  --charcoal: #07080B;
  --blue: #5B7CFA;
  --lilac: #A9B6FF;
  --peach: #F3B4A2;
  --lgray: #E8ECF4;
  --text: #07080B;
  --muted: #5E6372;
  --line: #E3E3E5;
  --soft: #F3F4F8;
  --grad: linear-gradient(90deg, var(--blue), var(--lilac) 42%, var(--lgray) 64%, var(--peach));
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: "Figtree", system-ui, sans-serif; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--lilac); color: var(--charcoal); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ botones ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 500 16px/1 "Figtree", sans-serif; cursor: pointer; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn--sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn--grad { background: var(--grad); color: var(--charcoal); background-size: 160% 100%; background-position: 0 0; }
.btn--grad:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(91, 124, 250, .7); }
.btn--line { border: 1px solid var(--line); background: #fff; color: var(--charcoal); }
.btn--line:hover { border-color: var(--charcoal); }

/* ============ nav ============ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 68px; padding: 0 var(--gutter); color: #fff;
  transition: background .4s, color .4s, box-shadow .4s, translate .5s var(--ease);
}
.nav.is-light { background: rgba(255, 255, 255, .86); color: var(--charcoal); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-dark { background: rgba(10, 11, 12, .7); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav.is-hidden { translate: 0 -100%; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.brand__mark { width: 24px; height: 24px; fill: url(#brandGrad); }
.nav__links { display: flex; gap: 32px; font-size: 15px; margin-left: auto; margin-right: 8px; }
.nav__links a { opacity: .8; transition: opacity .3s; }
.nav__links a:hover { opacity: 1; }

/* ============ hero (sin cambios) ============ */
.hero {
  position: relative; height: 100svh; min-height: 600px; overflow: hidden;
  display: grid; place-items: end center; text-align: center; background: var(--charcoal); color: #fff;
  padding-bottom: clamp(56px, 11vh, 120px);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__content { position: relative; z-index: 1; padding: 0 var(--gutter); }
.hero__title {
  margin: 0 0 32px; font-size: clamp(38px, 5.4vw, 72px); font-weight: 400;
  line-height: 1.08; letter-spacing: -.035em; text-shadow: 0 2px 30px rgba(10, 11, 12, .6);
}

/* ============ intro: se enciende con el scroll ============ */
.intro { max-width: 1060px; margin: 0 auto; padding: clamp(110px, 14vw, 200px) var(--gutter) clamp(40px, 6vw, 90px); text-align: center; }
.intro__text { margin: 0; font-size: clamp(26px, 3.4vw, 46px); font-weight: 500; line-height: 1.22; letter-spacing: -.03em; }
.intro__text em { font-style: normal; }
.js .intro__text .w { color: #D3D4D6; transition: color .35s; }
.js .intro__text .w.on { color: var(--charcoal); }
.js .intro__text em .w.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* tarjeta de medios: luz que sigue al cursor + inclinación */
.media {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3.3; border-radius: 32px; color: #fff;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(169, 182, 255, .14), transparent 60%),
    var(--charcoal);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  box-shadow: 0 30px 60px -30px rgba(10, 11, 12, .35);
}
.media:hover { box-shadow: 0 40px 80px -30px rgba(10, 11, 12, .5), 0 0 0 1px rgba(169, 182, 255, .15); }
.media::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(169, 182, 255, .2) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
}
.media::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 74%; translate: -50% 0;
  width: 150%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  box-shadow: 0 -2px 0 rgba(169, 182, 255, .55), 0 -30px 80px -10px rgba(91, 124, 250, .3), 0 -60px 120px -20px rgba(243, 180, 162, .2);
}
.hint {
  position: absolute; z-index: 5; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 500;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none;
  transition: opacity .5s;
}
.hint i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(91, 124, 250, .7); } 70%, 100% { box-shadow: 0 0 0 8px rgba(91, 124, 250, 0); } }
.panel.touched .hint { opacity: 0; }

.scene { position: absolute; inset: 0; display: grid; place-items: center; }
.scene__tag {
  position: absolute; bottom: 24px; left: 50%; translate: -50% 0; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; background: var(--blue); color: var(--charcoal); font-size: 13px; font-weight: 600;
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}

/* ---- 1 · idea ---- */
.note {
  --sx: 0px; --sy: 0px; --sr: 0deg;
  position: absolute; left: 50%; top: 50%; width: 58%; margin-left: -29%; margin-top: -22px;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: #161718; border: 1px solid #2a2b2d; font-size: 15px;
  transform: translate(var(--sx), var(--sy)) rotate(var(--sr));
  transition: transform .9s var(--ease), border-color .6s; transition-delay: calc(var(--i) * .07s);
}
.note b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--blue); color: var(--lilac); font-size: 12px; font-weight: 500; opacity: 0; transition: opacity .4s; }
.note:nth-child(1) { --sx: -70px; --sy: -120px; --sr: -11deg; }
.note:nth-child(2) { --sx: 80px;  --sy: -50px;  --sr: 8deg; }
.note:nth-child(3) { --sx: -90px; --sy: 15px;   --sr: 5deg; }
.note:nth-child(4) { --sx: 70px;  --sy: 80px;   --sr: -7deg; }
.note:nth-child(5) { --sx: -40px; --sy: 135px;  --sr: 12deg; }
.scene--idea.is-ordered .note { transform: translate(0, calc((var(--i) - 2) * 56px - 18px)) rotate(0deg); border-color: #333; transition-delay: calc(var(--i) * .1s + .15s); }
.scene--idea.is-ordered .note b { opacity: 1; transition-delay: calc(var(--i) * .1s + .6s); }
.scene--idea.is-ordered .note:nth-child(5) { border-color: rgba(243, 180, 162, .5); }
.scene--idea.is-ordered .scene__tag { opacity: 1; transform: none; transition-delay: 1.2s; }

/* ---- 2 · diseño: prototipo usable ---- */
.phone {
  position: relative; height: 84%; width: auto; aspect-ratio: 9 / 18.5; border-radius: 30px; border: 1.5px solid #3a3a3a;
  background: #0c0d0e; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.phone::before { content: ""; position: absolute; z-index: 3; top: 8px; left: 50%; translate: -50% 0; width: 30%; height: 5px; border-radius: 4px; background: #2a2a2a; }
.proto {
  position: absolute; inset: 0; padding: 30px 14px 16px; display: flex; flex-direction: column;
  transition: transform .6s var(--ease), opacity .5s var(--ease);
}
.proto--done { transform: translateX(100%); opacity: 0; align-items: center; justify-content: center; text-align: center; }
.phone.is-done .proto--home { transform: translateX(-30%); opacity: 0; pointer-events: none; }
.phone.is-done .proto--done { transform: none; opacity: 1; }
.proto__hi { margin: 0; font-size: 11px; color: #8a8a8a; }
.proto__title { margin: 2px 0 14px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.proto__label { margin: 6px 0 6px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8a8a8a; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 6px; }
.chips button {
  height: 34px; padding: 0; border-radius: 10px; border: 1px solid #2f3133; background: #151617; font-size: 11px; cursor: pointer;
  transition: background .3s, border-color .3s, color .3s, transform .2s;
}
.chips button:hover { border-color: #4a4d50; }
.chips button:active { transform: scale(.95); }
.chips button.is-sel { background: var(--blue); border-color: var(--blue); color: var(--charcoal); font-weight: 600; }
.proto__cta {
  margin-top: auto; height: 40px; border: 0; border-radius: 12px; background: #2a2b2d; color: #6c6e70; font-size: 13px; font-weight: 600; cursor: not-allowed;
  transition: background .4s, color .4s, transform .2s;
}
.proto__cta:not(:disabled) { background: var(--peach); color: var(--charcoal); cursor: pointer; }
.proto__cta:not(:disabled):active { transform: scale(.96); }
.done__check { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: var(--grad); transform: scale(0); transition: transform .6s .2s cubic-bezier(.34, 1.56, .64, 1); }
.phone.is-done .done__check { transform: scale(1); }
.done__check svg { width: 30px; height: 30px; fill: none; stroke: var(--charcoal); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.done__check path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s .6s var(--ease); }
.phone.is-done .done__check path { stroke-dashoffset: 0; }
.proto__sub { margin: -6px 0 22px; font-size: 13px; color: var(--lilac); }
.proto__ghost { height: 34px; padding: 0 18px; border-radius: 999px; border: 1px solid #3a3a3a; background: none; font-size: 12px; cursor: pointer; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -10px; width: 6px; height: 10px; border-radius: 2px; animation: fall 1.6s var(--ease) forwards; }
@keyframes fall { to { transform: translate(var(--dx), 420px) rotate(var(--rot)); opacity: 0; } }
.finger {
  position: absolute; z-index: 4; left: 50%; top: 110%; width: 26px; height: 26px; margin: -13px; border-radius: 50%;
  background: rgba(255, 255, 255, .85); pointer-events: none; opacity: 0;
  transition: left .7s var(--ease), top .7s var(--ease), opacity .3s, transform .15s, box-shadow .5s;
}
.finger.is-on { opacity: 1; }
.finger.is-tap { transform: scale(.7); box-shadow: 0 0 0 14px rgba(169, 182, 255, 0); }

/* ---- 3 · construir: web ↔ celular ---- */
.seg {
  position: absolute; z-index: 5; top: 16px; right: 16px; display: grid; grid-template-columns: 1fr 1fr;
  padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
}
.seg button { position: relative; z-index: 1; height: 30px; padding: 0 16px; border: 0; background: none; font-size: 13px; font-weight: 500; cursor: pointer; color: rgba(255, 255, 255, .7); transition: color .3s; }
.seg button.is-on { color: var(--charcoal); }
.seg__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--lilac); transition: transform .5s var(--ease); }
.panel.is-mobile .seg__pill { transform: translateX(100%); }
.device {
  position: relative; width: 80%; height: 62%; border-radius: 14px; border: 1px solid #2f2f2f; background: #0c0d0e; overflow: hidden;
  display: flex; flex-direction: column; margin-top: -4%;
  transition: width .8s var(--ease), height .8s var(--ease), border-radius .8s var(--ease);
}
.panel.is-mobile .device { width: 30%; height: 80%; border-radius: 26px; }
.device__bar { flex: none; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid #222; overflow: hidden; transition: height .6s var(--ease), opacity .4s; }
.device__bar i { width: 8px; height: 8px; border-radius: 50%; background: #333; flex: none; }
.device__bar span { margin-left: 8px; font-size: 11px; color: #8a8a8a; white-space: nowrap; }
.panel.is-mobile .device__bar { height: 22px; opacity: .3; }
.device__body { position: relative; flex: 1; }
.code, .site { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.code { transition: opacity .4s; }
.code i { display: block; height: 7px; border-radius: 4px; background: #3a3a3a; width: 0; }
.code i:nth-child(odd) { margin-left: 16px; }
.code i:nth-child(3n) { background: rgba(91, 124, 250, .6); }
.code i:nth-child(3n+2) { background: rgba(243, 180, 162, .5); }
.scene--build.is-built .code { opacity: 0; }
.scene--build.is-typing .code i { animation: type .45s steps(10) forwards; }
.scene--build.is-typing .code i:nth-child(2) { animation-delay: .2s; } .scene--build.is-typing .code i:nth-child(3) { animation-delay: .4s; }
.scene--build.is-typing .code i:nth-child(4) { animation-delay: .6s; } .scene--build.is-typing .code i:nth-child(5) { animation-delay: .8s; }
.scene--build.is-typing .code i:nth-child(6) { animation-delay: 1s; }
@keyframes type { to { width: var(--w); } }
.site { opacity: 0; transform: scale(.97); transition: opacity .7s var(--ease), transform .7s var(--ease); gap: 10px; padding: 12px; }
.scene--build.is-built .site { opacity: 1; transform: none; }
.site__nav { display: flex; align-items: center; gap: 8px; }
.site__nav b { width: 16px; height: 16px; border-radius: 5px; background: var(--grad); margin-right: auto; }
.site__nav span { width: 28px; height: 6px; border-radius: 3px; background: #333; transition: width .6s var(--ease), opacity .4s; }
.panel.is-mobile .site__nav span { width: 0; opacity: 0; }
.panel.is-mobile .site__nav span:last-child { width: 14px; opacity: 1; height: 10px; }
.site__hero { flex: 1.4; border-radius: 10px; background: var(--grad); display: flex; align-items: flex-end; padding: 12px; }
.site__hero div { display: grid; gap: 6px; width: 100%; }
.site__hero i { display: block; height: 8px; width: 60%; border-radius: 4px; background: rgba(10, 11, 12, .75); }
.site__hero i + i { width: 40%; height: 6px; background: rgba(10, 11, 12, .45); }
.site__hero u { display: block; width: 70px; max-width: 60%; height: 20px; margin-top: 4px; border-radius: 999px; background: var(--charcoal); }
.site__cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.site__cards span { border-radius: 8px; background: #1b1d1e; border: 1px solid #2a2c2e; }
.panel.is-mobile .site__cards { grid-template-columns: 1fr; flex: 1.6; }
.scene__tag--build { display: grid; }
.scene__tag--build > span { grid-area: 1 / 1; text-align: center; transition: opacity .3s; }
.scene__tag--build .t2 { opacity: 0; }
.scene--build.is-typing .scene__tag--build, .scene--build.is-built .scene__tag--build { opacity: 1; transform: none; }
.scene--build.is-built .scene__tag--build .t1 { opacity: 0; }
.scene--build.is-built .scene__tag--build .t2 { opacity: 1; }

/* ---- 4 · lanzar ---- */
.launch { position: relative; z-index: 2; display: grid; justify-items: center; gap: 12px; padding: 26px 36px; border-radius: 22px; background: rgba(17, 18, 19, .9); border: 1px solid #2f2f2f; }
.launch__v { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.switch {
  position: relative; width: 76px; height: 42px; padding: 0; border: 0; border-radius: 999px; background: #2a2a2a; cursor: pointer;
  transition: background .4s, box-shadow .4s;
}
.switch i { position: absolute; top: 5px; left: 5px; width: 32px; height: 32px; border-radius: 50%; background: #8a8a8a; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), background .4s; }
.switch:hover { box-shadow: 0 0 0 6px rgba(169, 182, 255, .12); }
.scene--launch.is-on .switch { background: var(--blue); box-shadow: 0 0 30px rgba(91, 124, 250, .5); }
.scene--launch.is-on .switch i { transform: translateX(34px); background: var(--charcoal); }
.launch__s { margin: 0; display: grid; font-size: 14px; color: #8a8a8a; }
.launch__s > span { grid-area: 1 / 1; text-align: center; transition: opacity .3s; }
.launch__s .on { opacity: 0; color: var(--lilac); font-weight: 600; }
.scene--launch.is-on .launch__s .off { opacity: 0; }
.scene--launch.is-on .launch__s .on { opacity: 1; }
.launch__count { margin: 4px 0 0; font-size: 13px; color: #8a8a8a; }
.launch__count b { display: inline-block; min-width: 2ch; font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; vertical-align: -2px; }
.launch__count small { margin-left: 4px; font-size: 10px; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.people { position: absolute; inset: 0; pointer-events: none; }
.people i { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--lilac); animation: come 2.2s var(--ease) forwards; }
.people i::after { content: ""; position: absolute; left: 50%; top: 120%; translate: -50% 0; width: 20px; height: 10px; border-radius: 10px 10px 0 0; background: inherit; }
.people i.c { background: var(--peach); } .people i.t { background: var(--blue); }
.people i.out { animation: leave .5s var(--ease) forwards; }
@keyframes come {
  0% { opacity: 0; transform: translate(var(--fx), var(--fy)); }
  20% { opacity: 1; }
  100% { opacity: 1; transform: translate(var(--tx), var(--ty)); }
}
@keyframes leave { from { opacity: 1; transform: translate(var(--tx), var(--ty)); } to { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(.2); } }
.ripple { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; border: 2px solid var(--lilac); opacity: 0; pointer-events: none; }
.scene--launch.is-boom .ripple { animation: boom 1.2s var(--ease); }
@keyframes boom { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(60); } }

/* ---- 5 · crecer ---- */
.scene--grow { grid-template-rows: auto 1fr auto; padding: 66px 9% 30px; gap: 12px; place-items: stretch; }
.grow__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.grow__head span { font-size: 15px; color: #8a8a8a; white-space: nowrap; }
.grow__head b { font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; text-align: right; }
.chart { position: relative; }
.bars { position: absolute; inset: 0 0 22px; display: flex; align-items: flex-end; gap: 6%; border-bottom: 1px solid #333; }
.bars span { position: relative; flex: 1; height: var(--h); border-radius: 8px 8px 0 0; background: #1d2224; transform: scaleY(.06); transform-origin: bottom; transition: transform .7s var(--ease), background .5s, box-shadow .5s; }
.bars span.is-on { transform: scaleY(1); background: rgba(91, 124, 250, .4); }
.bars span.is-now { background: linear-gradient(180deg, var(--peach), var(--blue)); box-shadow: 0 0 30px rgba(91, 124, 250, .35); }
.months { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 6%; font-size: 11px; color: #8a8a8a; }
.months span { flex: 1; text-align: center; white-space: nowrap; }
.trend { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: calc(100% - 22px); overflow: visible; }
.trend path { fill: none; stroke: var(--lilac); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--off, 1); transition: stroke-dashoffset .7s var(--ease); vector-effect: non-scaling-stroke; }
.range { display: block; padding: 8px 0 0; }
.range input {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 6px; margin: 0; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, var(--blue), var(--lilac) var(--p, 0%), #2a2b2d var(--p, 0%));
}
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 0 0 6px rgba(91, 124, 250, .2); }
.range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }

/* ============ cómo empezar ============ */
.plans { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 11vw, 150px) var(--gutter); }
.plans__title { margin: 0 0 clamp(40px, 5vw, 64px); text-align: center; font-size: clamp(36px, 4.4vw, 56px); font-weight: 500; letter-spacing: -.035em; }
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 28px;
  border: 1px solid var(--line); background: #fff; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity 1s var(--ease), translate 1s var(--ease);
}
.plan::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--blue), var(--peach) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10, 11, 12, .3); }
.plan:hover::after { opacity: 1; }
.plan--featured { border-color: transparent; background: var(--soft); }
.plan--featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--ang), var(--blue), var(--lilac), var(--peach), var(--blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 5s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }
.plan__badge { position: absolute; top: -13px; left: 32px; padding: 5px 12px; border-radius: 999px; background: var(--charcoal); color: #fff; font-size: 12px; font-weight: 500; }
.plan__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 14px; background: var(--charcoal); }
.plan__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--lilac); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan h3 { margin: 0 0 12px; font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.plan__lead { margin: 0 0 24px; color: var(--muted); font-size: 17px; }
.plan__lead strong { color: var(--charcoal); font-weight: 600; }
.plan ul { list-style: none; margin: 0 0 32px; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--grad); -webkit-mask: radial-gradient(circle, transparent 3.5px, #000 4px); mask: radial-gradient(circle, transparent 3.5px, #000 4px); }
.plan .btn { margin-top: auto; width: 100%; }

/* ============ contacto (oscuro) ============ */
.contact {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(110px, 14vw, 200px) var(--gutter); background: var(--charcoal); color: #fff;
}
.contact__orb {
  position: absolute; z-index: -1; left: 50%; top: 58%; width: min(900px, 120vw); aspect-ratio: 1.6; translate: -50% -50%;
  background: conic-gradient(from var(--ang), var(--blue), var(--lilac), var(--peach), var(--blue));
  border-radius: 50%; filter: blur(110px); opacity: .32; animation: spin 14s linear infinite;
}
.contact__mark { width: 64px; height: 64px; margin-bottom: 24px; filter: drop-shadow(0 0 24px rgba(91, 124, 250, .5)); }
.contact__title { margin: 0 0 40px; font-size: clamp(40px, 6vw, 80px); font-weight: 500; line-height: 1.04; letter-spacing: -.04em; }
.ask {
  display: flex; gap: 8px; max-width: 560px; margin: 0 auto; padding: 7px;
  border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, box-shadow .3s, opacity 1s var(--ease), translate 1s var(--ease);
}
.ask:focus-within { border-color: rgba(169, 182, 255, .6); box-shadow: 0 0 0 5px rgba(169, 182, 255, .1); }
.ask input { flex: 1; min-width: 0; padding: 0 18px; border: 0; outline: 0; background: none; color: #fff; font: 400 16px "Figtree", sans-serif; }
.ask input::placeholder { color: rgba(255, 255, 255, .5); }
.contact__alt { margin: 22px 0 0; font-size: 15px; color: rgba(255, 255, 255, .55); }
.contact__alt a { color: var(--lilac); }

/* ============ footer ============ */
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px var(--gutter); font-size: 14px; color: rgba(255, 255, 255, .55); background: var(--charcoal); border-top: 1px solid rgba(255, 255, 255, .08); }
.footer .brand { color: #fff; font-size: 18px; }
.footer p { margin: 0; }
.footer a:hover { color: #fff; }

/* reveal (usa translate para no pisar la inclinación de las tarjetas) */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity 1s var(--ease), translate 1s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* responsive */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .plans__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan--featured { order: -1; }
}
@media (max-width: 600px) {
  .media { aspect-ratio: 1 / 1.12; border-radius: 24px; }
  .hint { top: 14px; left: 14px; }
  .note { width: 80%; margin-left: -40%; font-size: 14px; padding: 9px 12px; margin-top: -20px; }
  .note:nth-child(n) { --sx: 0px; }
  .scene--idea.is-ordered .note { transform: translate(0, calc((var(--i) - 2) * 48px - 14px)) rotate(0deg); }
  .phone { height: 80%; margin-top: 34px; }
  .seg { top: 54px; right: 50%; translate: 50% 0; }
  .device { width: 88%; height: 50%; margin-top: 20%; }
  .panel.is-mobile .device { width: 46%; height: 66%; }
  .launch { padding: 20px 26px; }
  .launch__v { font-size: 24px; }
  .scene--grow { padding: 60px 7% 24px; }
  .ask { flex-direction: column; border-radius: 22px; }
  .ask input { height: 46px; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ============ servicios: scroll con pantalla fija ============ */
.story { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 10vw, 140px); }
.story__head { text-align: center; margin-bottom: clamp(40px, 6vw, 80px); }
.story__head h2 { margin: 0 0 12px; font-size: clamp(36px, 4.6vw, 60px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.story__head p { margin: 0; color: var(--muted); font-size: 18px; }
.story__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.story__steps { grid-column: 1; grid-row: 1; }
.story__sticky {
  grid-column: 2; grid-row: 1; align-self: start;
  position: sticky; top: calc(50vh - min(36vh, 300px) - 24px);
  display: grid; gap: 18px;
}
.stage { height: min(72vh, 600px); aspect-ratio: auto; width: 100%; }
.stage__count { position: absolute; z-index: 6; top: 20px; right: 22px; font-size: 13px; color: #8a8a8a; font-variant-numeric: tabular-nums; }
.stage__count b { color: #fff; font-weight: 600; }
.panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(.94); filter: blur(6px); transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease), visibility .6s; }
.panel.is-active { opacity: 1; visibility: visible; transform: none; filter: none; }
.panel .seg { top: 54px; }

.dots { display: flex; justify-content: center; gap: 8px; }
.dots button { position: relative; width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.dots i { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--line); overflow: hidden; transition: background .3s; }
.dots i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.dots button.is-done i::after, .dots button.is-on i::after { transform: scaleX(1); }
.dots button:hover i { background: #cfd0d2; }

.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .6s var(--ease); }
.step:first-child { min-height: 64vh; justify-content: flex-start; padding-top: 12vh; }
.step:last-child { min-height: 70vh; }
.step.is-on { opacity: 1; }
.step__n { display: inline-block; margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: .08em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.step h3 { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.step p { margin: 0 0 24px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 38ch; }
.gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 16px; }
.gets li { display: flex; gap: 10px; align-items: flex-start; }
.gets li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--grad); -webkit-mask: radial-gradient(circle, transparent 3.5px, #000 4px); mask: radial-gradient(circle, transparent 3.5px, #000 4px); }
.step .gets li { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.step.is-on .gets li { opacity: 1; transform: none; }
.step.is-on .gets li:nth-child(2) { transition-delay: .08s; } .step.is-on .gets li:nth-child(3) { transition-delay: .16s; }
.step__cta { margin-top: 32px; width: fit-content; }

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story__sticky { grid-column: 1; grid-row: 1; top: 72px; z-index: 5; gap: 10px; padding-bottom: 10px; background: linear-gradient(#fff 85%, rgba(255, 255, 255, 0)); }
  .story__steps { grid-row: 2; }
  .stage { height: 46svh; border-radius: 24px; }
  .step, .step:first-child, .step:last-child { min-height: 62svh; justify-content: flex-start; padding: 28px 0 0; }
  .step:last-child { min-height: 50svh; }
  .scene--idea.panel .note, .panel .note { width: 78%; margin-left: -39%; padding: 8px 12px; font-size: 13px; margin-top: -18px; }
  .panel .note:nth-child(n) { --sx: 0px; }
  .panel .scene--idea.is-ordered .note { transform: translate(0, calc((var(--i) - 2) * 40px - 10px)) rotate(0deg); }
  .panel .scene__tag { bottom: 14px; }
  .panel .phone { height: 82%; margin-top: 26px; }
  .panel .launch { padding: 16px 22px; gap: 8px; }
  .panel .launch__v { font-size: 22px; }
  .panel .scene--grow { padding: 54px 6% 18px; }
  .panel .device { margin-top: 14%; height: 52%; }
  .panel.is-mobile .device { height: 66%; }
  .stage__count { top: 16px; right: 16px; }
}

/* degradé más profundo para texto sobre fondo blanco (el plateado no se lee en blanco) */
:root { --grad-ink: linear-gradient(90deg, #3D5BE0, #7C6CF0 50%, #E0907C); }
.story .grad-text, .step__n, .js .intro__text em .w.on { background-image: var(--grad-ink); }
.dots i::after, .gets li::before, .plan li::before { background: var(--grad-ink); }

/* ============ proyectos: tarjetas que se apilan ============ */
.projects { position: relative; background: var(--charcoal); color: #fff; padding: clamp(100px, 12vw, 160px) var(--gutter) clamp(80px, 10vw, 140px); overflow: clip; }
.projects::before {
  content: ""; position: absolute; left: 50%; top: 0; width: min(1100px, 140vw); aspect-ratio: 2; translate: -50% -55%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(91, 124, 250, .28), rgba(169, 182, 255, .08) 60%, transparent);
  filter: blur(20px); pointer-events: none;
}
.projects__head { position: relative; max-width: 760px; margin: 0 auto clamp(48px, 7vw, 90px); text-align: center; }
.projects__kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); }
.projects__head h2 { margin: 0 0 16px; font-size: clamp(38px, 5vw, 68px); font-weight: 500; line-height: 1.04; letter-spacing: -.04em; }
.projects__sub { margin: 0; font-size: 18px; color: rgba(255, 255, 255, .6); }
.projects__list { max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; }

.proj {
  position: sticky; top: calc(96px + var(--i) * 26px);
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  min-height: min(76vh, 620px); padding: clamp(24px, 3.4vw, 48px); border-radius: 32px;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(var(--acc), .22), transparent 60%),
    linear-gradient(180deg, #111318, #0B0C10);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .8);
  transform-origin: 50% 0; will-change: transform;
}
.proj::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: var(--dim, 0); pointer-events: none; transition: opacity .2s; }
.proj__n { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: rgb(var(--acc)); }
.proj h3 { margin: 0 0 6px; font-size: clamp(34px, 4vw, 54px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.proj__type { margin: 0 0 20px; font-size: 15px; color: rgba(255, 255, 255, .55); }
.proj__desc { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 42ch; }
.proj__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; }
.proj__tags li { padding: 6px 12px; border-radius: 999px; font-size: 12px; border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .04); }
.proj__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.proj__link { display: inline-flex; gap: 6px; font-weight: 500; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 2px; transition: border-color .3s; }
.proj__link:hover { border-color: #fff; }
.proj__link span { transition: transform .3s var(--ease); }
.proj__link:hover span { transform: translate(2px, -2px); }

.proj__shot {
  --rx: 0deg; --ry: 0deg;
  position: relative; border-radius: 16px; overflow: hidden; background: #000;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(var(--acc), .45);
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.browser { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #15171c; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 12px; color: rgba(255, 255, 255, .5); }
.browser i { width: 9px; height: 9px; border-radius: 50%; background: #3a3d44; }
.browser span { margin: 0 auto; padding: 3px 14px; border-radius: 6px; background: rgba(255, 255, 255, .05); }
.browser__live { position: absolute; right: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: #7CE3A0; opacity: 0; transition: opacity .3s; }
.browser__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.proj.is-live .browser__live { opacity: 1; }
.proj__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.proj__view img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), opacity .4s; }
.proj__shot:hover .proj__view img { transform: scale(1.04); }
.proj__view iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; background: #000; opacity: 0; transition: opacity .5s; }
.proj__view iframe.is-ready { opacity: 1; }
.proj.is-live .proj__view img { opacity: 0; }
.proj__view .loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .55); }

@media (max-width: 900px) {
  .proj { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; padding: 22px; border-radius: 26px; transform: none !important; }
  .proj::after { display: none; }
  .proj__shot { order: -1; }
  .proj__desc { font-size: 16px; }
  .proj__tags { margin-bottom: 22px; }
}

/* ============ Saba: el agente de Basado ============ */
.contact__saba {
  width: clamp(170px, 20vw, 250px); margin: 0 auto 8px;
  filter: drop-shadow(0 24px 40px rgba(91, 124, 250, .35));
  animation: sabaFloat 5s ease-in-out infinite;
}
/* parpadeo: un párpado color felpa baja sobre cada ojo (posiciones medidas sobre la imagen) */
.saba { position: relative; }
.saba img { width: 100%; height: auto; }
.saba__eye { position: absolute; overflow: hidden; border-radius: 50%; pointer-events: none; }
.saba__eye--l { left: 37.1%; top: 34.5%; width: 8.7%; height: 15.8%; rotate: -4deg; }
.saba__eye--r { left: 57.0%; top: 30.8%; width: 8.8%; height: 16.4%; rotate: -4deg; }
.saba__eye b {
  position: absolute; inset: 0; translate: 0 -102%;
  background: radial-gradient(110% 80% at 50% 35%, #E6D6CA, #D6C3B6 65%, #BFA899);
  box-shadow: inset 0 6px 8px -4px rgba(90, 60, 50, .35);
  border-bottom: 2px solid rgba(40, 30, 70, .55); border-radius: 0 0 50% 50% / 0 0 18% 18%;
}
.saba.is-blinking .saba__eye b { animation: blink .16s ease-in-out 2 alternate; }
@keyframes blink { to { translate: 0 0; } }
@keyframes sabaFloat { 50% { transform: translateY(-10px) rotate(-1.5deg); } }

.agent {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  opacity: 0; translate: 0 24px; pointer-events: none;
  transition: opacity .45s var(--ease), translate .45s var(--ease);
}
.agent.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.agent__btn {
  position: relative; display: flex; align-items: center; height: 52px; padding: 0 22px 0 92px;
  border: 1px solid rgba(169, 182, 255, .28); border-radius: 999px; cursor: pointer;
  background: rgba(7, 8, 11, .92); color: #fff; font-size: 15px; font-weight: 500;
  box-shadow: 0 14px 40px -12px rgba(7, 8, 11, .55), 0 0 0 6px rgba(91, 124, 250, .08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.agent__btn img {
  position: absolute; left: 6px; bottom: 18px; width: 84px; height: auto;
  transform-origin: 50% 100%; transition: transform .35s var(--ease);
}
.agent__btn:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(91, 124, 250, .55), 0 0 0 6px rgba(91, 124, 250, .14); }
.agent__btn:hover img, .agent__btn[aria-expanded="true"] img { transform: translateY(-6px) rotate(-4deg); }
.agent__btn:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }
.agent:not(.was-opened) .agent__btn img { animation: sabaPeek 4s var(--ease) 1s infinite; }
@keyframes sabaPeek { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-8px) rotate(-5deg); } 90% { transform: translateY(-2px) rotate(3deg); } }

.agent__bubble {
  position: relative; width: min(320px, calc(100vw - 40px)); padding: 22px 22px 20px;
  border-radius: 22px; background: #fff; color: var(--charcoal);
  box-shadow: 0 30px 70px -20px rgba(7, 8, 11, .45), 0 0 0 1px rgba(7, 8, 11, .06);
  transform-origin: 90% 100%; animation: bubbleIn .4s var(--ease);
}
.agent__bubble[hidden] { display: none; }
.agent__bubble img { width: 74px; height: auto; margin: -58px 0 6px; filter: drop-shadow(0 10px 18px rgba(91, 124, 250, .3)); }
.agent__bubble p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.agent__bubble p b { color: var(--charcoal); font-weight: 600; }
.agent__close {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: var(--soft); color: var(--muted); cursor: pointer; font-size: 13px;
}
.agent__close:hover { color: var(--charcoal); }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.94); } }

@media (max-width: 600px) {
  .agent { right: 14px; bottom: 14px; }
  .agent__btn { height: 48px; padding: 0 18px 0 80px; font-size: 14px; }
  .agent__btn img { width: 72px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact__saba, .agent .agent__btn img, .agent__bubble { animation: none !important; }
}

/* ============ contacto en dos pasos ============ */
.ask.is-filled { opacity: .55; transform: scale(.98); transition: opacity .4s, transform .4s var(--ease); }
.ask-more { max-width: 560px; margin: 16px auto 0; display: grid; gap: 12px; animation: askIn .5s var(--ease); }
.ask[hidden], .ask-more[hidden], .ask-done[hidden] { display: none; }
.ask-more__lead { margin: 6px 0 2px; font-size: 17px; color: rgba(255, 255, 255, .8); }
.ask-more__row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; }
.ask-more input { height: 52px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font: 400 16px "Figtree", sans-serif; outline: 0; transition: border-color .3s, box-shadow .3s; }
.ask-more input::placeholder { color: rgba(255, 255, 255, .45); }
.ask-more input:focus { border-color: rgba(169, 182, 255, .6); box-shadow: 0 0 0 5px rgba(169, 182, 255, .1); }
.ask-more .ask-more__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ask-more .btn { justify-self: center; }
.ask-more .btn:disabled { opacity: .6; cursor: wait; }
.ask-more__msg { min-height: 1.4em; margin: 0; font-size: 14px; color: var(--peach); }
.ask-done { max-width: 520px; margin: 0 auto; padding: 26px 28px; border: 1px solid rgba(110, 231, 183, .3); border-radius: 24px; background: rgba(110, 231, 183, .06); animation: askIn .5s var(--ease); }
.ask-done p { margin: 0; color: rgba(255, 255, 255, .7); }
.ask-done .ask-done__title { margin-bottom: 6px; font-size: 22px; font-weight: 500; color: #fff; }
@keyframes askIn { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 600px) { .ask-more__row { grid-template-columns: 1fr; } }

/* ============ título del hero: sin palabras huérfanas ============ */
.hero__title { text-wrap: balance; }
.nw { white-space: nowrap; }

/* ============ contacto: un solo formulario, un solo botón ============ */
.ask-one { display: grid; gap: 10px; max-width: 560px; margin: 0 auto; text-align: left; }
.ask-one[hidden] { display: none; }
.ask-one input { width: 100%; height: 58px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font: 400 16px "Figtree", sans-serif; outline: 0; transition: border-color .3s, box-shadow .3s; }
.ask-one input::placeholder { color: rgba(255, 255, 255, .5); }
.ask-one input:focus { border-color: rgba(169, 182, 255, .6); box-shadow: 0 0 0 5px rgba(169, 182, 255, .1); }
.ask-one__more { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.ask-one.is-open .ask-one__more { max-height: 140px; opacity: 1; }
.ask-one .ask-one__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ask-one__btn { justify-self: center; height: 52px; padding: 0 34px; margin-top: 6px; }
.ask-one__btn:disabled { opacity: .6; cursor: wait; }
.ask-one__msg { min-height: 1.4em; margin: 0; text-align: center; font-size: 14px; color: var(--peach); }
.ask-done { margin-top: 0; }

/* ============ menú de celular ============ */
.nav__burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: inherit; cursor: pointer; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav.is-menu .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-menu .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
.nav.is-menu { background: transparent !important; color: #fff !important; box-shadow: none !important; translate: 0 0 !important; }
.mmenu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; padding: 96px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: radial-gradient(circle at 80% 10%, #1C2148, var(--charcoal) 60%); color: #fff; opacity: 0; transition: opacity .3s; }
.mmenu[hidden] { display: none; }
.mmenu.is-on { opacity: 1; }
.mmenu__links { display: grid; gap: 4px; }
.mmenu__links a { padding: 10px 0; font-size: clamp(32px, 9vw, 44px); font-weight: 500; letter-spacing: -.03em; opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s; transition-delay: calc(var(--i) * 50ms + 60ms); }
.mmenu.is-on .mmenu__links a { opacity: 1; transform: none; }
.mmenu__links a[aria-current="page"] { color: var(--lilac); }
.mmenu__foot { display: grid; gap: 16px; justify-items: start; }
.mmenu__foot .btn { width: 100%; height: 54px; }
.mmenu__mail { color: rgba(255, 255, 255, .6); }
.menu-open, .menu-open body { overflow: hidden; }
.menu-open .agent { opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 900px) {
  .nav__burger { display: block; }
  .nav > .btn { display: none; }
}
@media (max-width: 600px) {
  .ask-one__more { grid-template-columns: 1fr; }
  .ask-one.is-open .ask-one__more { max-height: 140px; }
  .ask-one input { height: 56px; }
  .ask-one__btn { width: 100%; }
}

/* autocompletado del navegador: que no pinte el campo de celeste ni cambie la letra */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
  -webkit-text-fill-color: #fff; caret-color: #fff;
  transition: background-color 600000s 0s, color 600000s 0s;
}
.nl-form--light input:-webkit-autofill, .prop__form input:-webkit-autofill,
.nl-form--light input:-webkit-autofill:focus, .prop__form input:-webkit-autofill:focus { -webkit-text-fill-color: var(--charcoal); caret-color: var(--charcoal); }
input:autofill { background: transparent; }
