/* Portada pública de RumboFijo. Identidad: ciruela, lavanda, durazno y marfil.
   Profundidad con capas y sombras; movimiento: entrada del hero, un fondo vivo en el hero,
   un momento que avanza con el scroll y pantallitas que se mueven solas en las tarjetas. */
.lp {
  --plum: #291c3c; --plum-2: #3a2a52; --plum-3: #51407a;
  --lav: #bfc3ff; --lav-2: #e4e5ff; --peach: #f7beb2; --peach-2: #fbe0d9; --ivory: #fcf8f1;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
.lp .button { transition: transform .18s var(--ease), background .15s ease, border-color .15s ease, box-shadow .18s ease; }
.lp .button:hover { transform: translateY(-1px); }
.lp .button:active { transform: translateY(1px) scale(.98); }
.lp-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ivory) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.lp-header .nav-link { position: relative; text-decoration: none; }
.lp-header .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.lp-header .nav-link:hover { text-decoration: none; color: var(--plum); }
.lp-header .nav-link:hover::after { transform: scaleX(1); }
.lp section { scroll-margin-top: 90px; }
.lp h2 { font-size: clamp(1.8rem, 3.6vw, 3.1rem); line-height: 1.02; letter-spacing: -.06em; max-width: 18ch; }

/* ── Hero ── */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  min-height: min(calc(100dvh - 120px), 760px); padding: clamp(36px, 6vw, 88px) clamp(24px, 5vw, 72px); border-radius: 32px; background: var(--plum); color: var(--ivory); }
.lp-hero-ground { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 30%, #bfc3ff26, transparent 70%), radial-gradient(50% 60% at 10% 100%, #f7beb21f, transparent 70%); }
.lp-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border-radius: 99px; background: #ffffff12; border: 1px solid #ffffff22; color: var(--lav-2); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.lp-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 4px #f7beb233; }
.lp-hero h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: .94; letter-spacing: -.075em; font-weight: 820; }
.lp-hero h1 em { display: block; font-style: normal; color: var(--peach); }
.lp-lead { margin-top: 22px; max-width: 40ch; color: #e8e2f2; font-size: clamp(1rem, 1.25vw, 1.17rem); }
.lp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.lp-hero .button-primary, .lp-close .button-primary { background: var(--peach); border-color: var(--peach); color: var(--plum); min-height: 50px; padding: 12px 22px; font-size: .95rem; box-shadow: 0 10px 30px -10px #f7beb2aa; }
.lp-hero .button-primary:hover, .lp-close .button-primary:hover { background: #fbcfc5; border-color: #fbcfc5; box-shadow: 0 14px 34px -10px #f7beb2cc; }
.lp-hero .button-outline { background: transparent; color: var(--ivory); border-color: #ffffff44; }
.lp-hero .button-outline:hover { background: #ffffff14; border-color: #ffffff88; }
.lp-hero .notice { color: var(--ivory); }
.lp-note { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--lav-2); font-weight: 650; }
.lp-note .shell-icon { width: 16px; height: 16px; flex-basis: 16px; }

.lp-hero-visual { position: relative; display: grid; place-items: center; padding: 30px 10px; }
.lp-frame { position: relative; width: min(100%, 470px); border-radius: 22px; background: var(--ivory); color: var(--plum);
  box-shadow: 0 1px 0 #ffffff inset, 0 40px 80px -30px #0d0716, 0 18px 40px -20px #0d0716cc; overflow: hidden; }
.lp-frame-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #ece4f2; font-size: .74rem; color: #7d7088; font-weight: 650; }
.lp-frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e4dcec; }
.lp-frame-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lp-frame-body { padding: 20px 20px 18px; display: grid; gap: 16px; }
.lp-salary span { display: block; font-size: .78rem; color: #7d7088; font-weight: 650; }
.lp-salary strong { display: block; font-size: clamp(2rem, 3.4vw, 2.6rem); letter-spacing: -.06em; font-weight: 820; font-variant-numeric: tabular-nums; }
.lp-split { display: flex; gap: 4px; height: 18px; }
.lp-split i { width: var(--w); border-radius: 6px; transform-origin: left; }
.lp-s1, .lp-d1 { background: var(--plum); }
.lp-s2, .lp-d2 { background: var(--lav); }
.lp-s3, .lp-d3 { background: var(--peach); }
.lp-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lp-legend li { display: grid; gap: 2px; font-size: .74rem; color: #7d7088; font-weight: 650; }
.lp-legend b { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-bottom: 2px; }
.lp-legend strong { color: var(--plum); font-size: .98rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-rows { display: grid; gap: 2px; border-top: 1px solid #ece4f2; padding-top: 10px; }
.lp-rows div { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 7px 8px; border-radius: 9px; font-size: .86rem; transition: background .2s ease; }
.lp-rows div:hover { background: #f1ecf7; }
.lp-rows em { font-style: normal; font-size: .74rem; font-weight: 750; color: var(--plum-3); background: var(--lav-2); padding: 2px 7px; border-radius: 99px; }
.lp-rows strong { font-variant-numeric: tabular-nums; }
.lp-chip { position: absolute; display: grid; gap: 4px; padding: 12px 14px; border-radius: 16px; background: #ffffffee; color: var(--plum); font-size: .74rem; font-weight: 650;
  box-shadow: 0 24px 40px -20px #0d0716; backdrop-filter: blur(6px); }
.lp-chip strong { font-size: 1rem; letter-spacing: -.03em; }
.lp-chip-a { left: -6%; bottom: -4%; width: 170px; animation: lp-float 6s ease-in-out infinite; }
.lp-chip-a i { display: block; height: 6px; border-radius: 9px; background: var(--lav-2); position: relative; overflow: hidden; }
.lp-chip-a i::after { content: ""; position: absolute; inset: 0; width: var(--p); background: var(--plum); border-radius: 9px; }
.lp-chip-b { right: -2%; top: 6%; animation: lp-float 7s ease-in-out -2s infinite; }
.lp-chip-b::before { content: "✓"; position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--peach); font-size: .72rem; }
@keyframes lp-float { 50% { transform: translateY(-8px); } }

/* Entrada del hero, una sola vez al cargar */
.lp-hero.lp-armed .lp-hero-copy > *, .lp-hero.lp-armed .lp-frame, .lp-hero.lp-armed .lp-chip { opacity: 0; transform: translateY(18px); }
.lp-hero.is-in .lp-hero-copy > * { animation: lp-in .8s var(--ease) forwards; }
.lp-hero.is-in .lp-hero-copy > :nth-child(2) { animation-delay: .08s; }
.lp-hero.is-in .lp-hero-copy > :nth-child(3) { animation-delay: .16s; }
.lp-hero.is-in .lp-hero-copy > :nth-child(4) { animation-delay: .24s; }
.lp-hero.is-in .lp-frame { animation: lp-in 1s var(--ease) .2s forwards; }
.lp-hero.is-in .lp-chip-a { animation: lp-in .8s var(--ease) .7s forwards, lp-float 6s ease-in-out 1.5s infinite; }
.lp-hero.is-in .lp-chip-b { animation: lp-in .8s var(--ease) .85s forwards, lp-float 7s ease-in-out 1.7s infinite; }
.lp-hero.is-in .lp-split i { animation: lp-grow 1.1s var(--ease) both; }
.lp-hero.is-in .lp-s1 { animation-delay: .55s; } .lp-hero.is-in .lp-s2 { animation-delay: .7s; } .lp-hero.is-in .lp-s3 { animation-delay: .85s; }
@keyframes lp-in { to { opacity: 1; transform: none; } }
@keyframes lp-grow { from { transform: scaleX(0); } }

/* ── Momento: el sueldo se divide mientras bajás ── */
.lp-moment { height: 240vh; margin-top: clamp(40px, 6vw, 80px); }
.lp-moment-stick { position: sticky; top: 90px; min-height: calc(100dvh - 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); }
.lp-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: paso; }
.lp-steps li { counter-increment: paso; display: grid; gap: 4px; padding: 16px 18px 16px 58px; border-radius: 18px; position: relative; color: #8c8096; transition: background .4s var(--ease), color .4s ease, transform .4s var(--ease); }
.lp-steps li::before { content: counter(paso); position: absolute; left: 18px; top: 16px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: #ece5f3; color: #8c8096; transition: background .4s, color .4s; }
.lp-steps strong { font-size: 1.12rem; letter-spacing: -.03em; color: inherit; }
.lp-steps span { font-size: .93rem; line-height: 1.45; }
.lp-steps li.is-on { background: #fff; color: var(--plum); box-shadow: 0 18px 40px -24px #291c3c66; transform: translateX(6px); }
.lp-steps li.is-on span { color: #5d5168; }
.lp-steps li[data-step="0"].is-on::before { background: var(--plum); color: var(--ivory); }
.lp-steps li[data-step="1"].is-on::before { background: var(--lav); color: var(--plum); }
.lp-steps li[data-step="2"].is-on::before { background: var(--peach); color: var(--plum); }
.lp-moment-visual { display: grid; place-items: center; }
.lp-ring { position: relative; width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff, #f3eef8); box-shadow: 0 50px 90px -50px #291c3c88, inset 0 0 0 1px #ece4f2; display: grid; place-items: center; }
.lp-ring svg { position: absolute; inset: 7%; width: 86%; height: 86%; transform: rotate(-90deg); }
.lp-ring circle { fill: none; stroke-width: 22; stroke-linecap: round; }
.lp-ring-bg { stroke: #ede6f4; }
.lp-ring-a, .lp-ring-b, .lp-ring-c { stroke-dasharray: 0 100; transition: stroke-dasharray .12s linear; }
.lp-ring-a { stroke: var(--plum); } .lp-ring-b { stroke: var(--lav); } .lp-ring-c { stroke: var(--peach); }
.lp-ring-center { text-align: center; display: grid; gap: 2px; }
.lp-ring-center span { font-size: .85rem; color: #7d7088; font-weight: 700; }
.lp-ring-center strong { font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -.07em; font-weight: 820; font-variant-numeric: tabular-nums; }
.lp-ring-center small { font-size: .8rem; color: #7d7088; }

/* ── Funciones ── */
.lp-features { padding-top: clamp(60px, 8vw, 110px); }
.lp-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-card { padding: 18px 18px 24px; border-radius: 24px; background: #fff; border: 1px solid #ece4f2; transition: transform .25s var(--ease), box-shadow .25s ease; }
.lp-card:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -30px #291c3c55; }
.lp-card h3 { margin-top: 20px; font-size: 1.2rem; letter-spacing: -.04em; }
.lp-card p { margin-top: 6px; color: var(--muted); font-size: .93rem; }
.lp-mini { position: relative; height: 170px; border-radius: 16px; background: var(--plum); overflow: hidden; display: grid; place-items: center; }
.lp-doc { width: 112px; padding: 14px 12px; border-radius: 10px; background: var(--ivory); display: grid; gap: 8px; }
.lp-doc i { height: 6px; border-radius: 4px; background: #e2d9ea; }
.lp-doc i:nth-child(2n) { width: 70%; }
.lp-scan { position: absolute; left: 50%; width: 136px; margin-left: -68px; height: 3px; background: var(--peach); box-shadow: 0 0 16px 3px #f7beb299; top: 22%; animation: lp-scan 3.2s ease-in-out infinite; }
@keyframes lp-scan { 50% { top: 76%; } }
.lp-found { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; border-radius: 99px; background: var(--lav); color: var(--plum); font-size: .76rem; font-weight: 700; animation: lp-pop 3.2s ease-in-out infinite; }
@keyframes lp-pop { 0%, 55% { opacity: 0; transform: translateY(6px); } 70%, 100% { opacity: 1; transform: none; } }
.lp-goal { width: 78%; display: grid; gap: 6px; color: var(--lav-2); font-size: .74rem; font-weight: 650; }
.lp-goal i { display: block; height: 10px; border-radius: 9px; background: #ffffff1c; overflow: hidden; margin-bottom: 8px; }
.lp-goal b { display: block; height: 100%; border-radius: 9px; background: var(--peach); width: 68%; animation: lp-fill 3.6s var(--ease) infinite; }
.lp-goal i + span + i b { background: var(--lav); width: 41%; animation-delay: .4s; }
@keyframes lp-fill { 0% { transform: scaleX(.1); transform-origin: left; } 60%, 100% { transform: scaleX(1); transform-origin: left; } }
.lp-mini-proj { place-items: end stretch; padding: 22px 16px 14px; }
.lp-mini-proj svg { width: 100%; height: 100px; }
.lp-proj-area { fill: #bfc3ff22; }
.lp-proj-line { fill: none; stroke: var(--peach); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; animation: lp-draw 3.4s var(--ease) infinite; }
@keyframes lp-draw { 0% { stroke-dashoffset: 100; } 60%, 100% { stroke-dashoffset: 0; } }
.lp-months { display: flex; justify-content: space-between; color: #bfb4cf; font-size: .68rem; font-weight: 650; margin-top: 6px; }
.lp-card:hover .lp-scan, .lp-card:hover .lp-found, .lp-card:hover .lp-goal b, .lp-card:hover .lp-proj-line { animation-play-state: running; }

/* ── En pareja ── */
.lp-couple { margin-top: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 5vw, 70px); border-radius: 32px; background: var(--lav-2); }
.lp-couple-copy > p { margin-top: 18px; max-width: 46ch; color: #4d4259; font-size: 1.02rem; }
.lp-checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.lp-checks li { display: flex; gap: 10px; align-items: center; font-weight: 650; }
.lp-checks li::before { content: "✓"; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: var(--peach); font-size: .74rem; }
.lp-couple-visual { padding: 22px; border-radius: 24px; background: #fff; display: grid; gap: 14px; box-shadow: 0 40px 70px -40px #291c3c77; }
.lp-person { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.lp-person strong { display: block; } .lp-person small { color: var(--muted); }
.lp-person em { font-style: normal; font-weight: 800; font-size: 1.3rem; letter-spacing: -.04em; }
.lp-avatar { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; background: var(--plum); color: var(--peach); }
.lp-avatar-b { background: var(--peach); color: var(--plum); }
.lp-share { position: relative; height: 40px; border-radius: 12px; background: var(--peach); overflow: hidden; display: grid; place-items: center; }
.lp-share i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--plum); transform-origin: left; transition: transform 1.2s var(--ease); }
.lp-share span { position: relative; font-size: .78rem; font-weight: 750; color: var(--plum); background: #fff; padding: 4px 10px; border-radius: 99px; box-shadow: 0 4px 12px -4px #291c3c55; }
.lp-couple:not(.is-seen) .lp-share i { transform: scaleX(.5); }
.lp-result { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid #ece4f2; padding-top: 14px; font-size: .84rem; color: var(--muted); }
.lp-result strong { display: block; color: var(--plum); font-size: 1.08rem; letter-spacing: -.03em; }

/* ── Planes y cierre ── */
.lp-plans { padding-top: clamp(60px, 8vw, 110px); }
.lp-sub { margin: 10px 0 26px; color: var(--muted); }
.lp .plan-card { transition: transform .25s var(--ease), box-shadow .25s ease; }
.lp .plan-card:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -30px #291c3c55; }
.lp .plan-featured { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.lp .plan-featured .plan-copy, .lp .plan-featured small { color: #d8d0e4; }
.lp .plan-featured .button-primary { background: var(--peach); color: var(--plum); border-color: var(--peach); }
.lp-close { margin-top: clamp(60px, 8vw, 110px); padding: clamp(40px, 7vw, 100px) clamp(24px, 5vw, 72px); border-radius: 32px; background: var(--plum); color: var(--ivory); text-align: center; display: grid; justify-items: center; position: relative; overflow: hidden; isolation: isolate; }
.lp-close::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, #f7beb233, transparent 70%); }
.lp-close h2 { max-width: none; font-size: clamp(2.2rem, 6vw, 5rem); }
.lp-close h2 em { font-style: normal; color: var(--peach); }
.lp-close .lp-actions { justify-content: center; }

/* ── Tablet y celular ── */
@media (max-width: 980px) {
  .lp-hero, .lp-moment-stick, .lp-couple { grid-template-columns: 1fr; }
  .lp-hero { min-height: 0; }
  .lp-moment { height: auto; }
  .lp-moment-stick { position: static; min-height: 0; }
  .lp-ring { width: min(100%, 340px); }
  .lp-grid { grid-template-columns: 1fr; }
  .lp-chip-a { left: 0; } .lp-chip-b { right: 0; }
}
@media (max-width: 560px) {
  .lp-hero { border-radius: 24px; padding: 30px 20px 26px; }
  .lp-actions .button { width: 100%; }
  .lp-legend { grid-template-columns: 1fr 1fr 1fr; }
  .lp-legend li { font-size: .68rem; }
  .lp-legend strong { font-size: .8rem; }
  .lp-chip-a { bottom: -2%; width: 150px; } .lp-chip-b { display: none; }
  .lp-couple, .lp-close { border-radius: 24px; }
  .lp-result { grid-template-columns: 1fr; }
}

/* Menos movimiento: todo quieto y visible */
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .lp-hero.lp-armed .lp-hero-copy > *, .lp-hero.lp-armed .lp-frame, .lp-hero.lp-armed .lp-chip { opacity: 1; transform: none; }
  .lp-couple:not(.is-seen) .lp-share i { transform: none; }
}
