/* Landings de servicio (/club, /albaranes…): mobile first, on top of styles.css. Animations only with transform and
   opacity, started by landing.js; with prefers-reduced-motion everything is shown at once. */
.lp { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.lp section { padding: 64px 0; }
.lp h1 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 8vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.lp h2 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 5vw, 44px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 18px; }
.lp p, .lp li { font-size: 17px; line-height: 1.6; color: #2A313B; }
.lp .lead { font-size: 19px; color: #3B434E; max-width: 560px; margin: 18px 0 26px; }
.lp .small { font-size: 14px; color: var(--muted); }
.lp .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.lp .btn { padding: 14px 22px; font-size: 15px; }
.btn-wa { background: #25D366; color: #0b2e13; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-line { box-shadow: inset 0 0 0 1px #D9D2C7; color: var(--ink); }

/* Hero: text + stamp card */
.lp-hero { display: grid; gap: 40px; padding-top: 110px !important; align-items: center; }
@media (min-width: 900px) { .lp-hero { grid-template-columns: 1.15fr .85fr; } }
.stampcard { justify-self: center; width: min(340px, 100%); padding: 22px; border-radius: 26px; background: #1E1A17; color: #F5EFE6; box-shadow: 0 40px 80px -30px rgba(20, 27, 36, .55); rotate: -2deg; }
.stampcard header { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.stampcard header em { color: var(--orange-2); font-style: italic; }
.lp .stampcard p { color: inherit; }
.stampcard .who { font-family: var(--display); font-size: 26px; margin: 14px 0 4px; }
.lp .stampcard .goal { font-size: 14px; color: #C9C0B3; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0 14px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #6E655B; transition: background .25s, border-color .25s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.stamp.on { background: var(--orange); border: 2px solid var(--orange); transform: scale(1.06); }
.stamp.on::after { content: ""; display: block; width: 40%; height: 40%; margin: 30%; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.stampcard .prize { height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .08); font-weight: 600; opacity: .35; transition: opacity .4s, background .4s, transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.stampcard.done .prize { opacity: 1; background: var(--amber); color: var(--ink); transform: scale(1.04); }

/* Problem / result lists */
.ticks { list-style: none; padding: 0; display: grid; gap: 12px; }
.ticks li { padding: 14px 16px 14px 44px; border-radius: 14px; background: #fff; position: relative; }
.ticks li::before { content: "✕"; position: absolute; left: 16px; top: 14px; color: #C0261A; font-weight: 700; }
.ticks.good li::before { content: "✓"; color: #1F9D5B; }

/* Steps that appear on scroll */
.steps4 { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 760px) { .steps4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps4 { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 20px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px #E4DED5; }
.step b { display: block; font-family: var(--display); font-size: 19px; margin-bottom: 6px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; margin-bottom: 12px; }

/* Value stack */
.stack { border-radius: 24px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px #E4DED5; }
.stack-row { display: grid; gap: 4px; padding: 16px 18px; border-bottom: 1px solid #EEE8DF; }
@media (min-width: 760px) { .stack-row { grid-template-columns: 1fr 1fr; gap: 20px; } }
.stack-row strong { font-size: 16px; }
.stack-row span { color: #4B5260; font-size: 15px; }
.stack-price { padding: 22px 18px; background: var(--ink); color: #fff; display: grid; gap: 14px; }
.lp .stack-price .big { color: #fff; font-family: var(--display); font-size: clamp(34px, 7vw, 48px); letter-spacing: -0.03em; }
.stack-price .big small { font-size: 16px; color: #A3AAB5; letter-spacing: 0; }
.compare { margin-top: 14px; font-size: 15px !important; color: var(--muted) !important; }

/* Savings block (the same on every landing) */
.ahorro { padding: 26px 20px; border-radius: 26px; background: linear-gradient(160deg, #1B2430, #0F141B); color: #fff; }
.ahorro h2 { color: #fff; }
.ahorro p { color: rgba(255, 255, 255, .82); }
.ahorro .bars { display: grid; gap: 14px; margin: 24px 0; }
.ahorro .bar { display: grid; gap: 6px; }
.ahorro .bar-label { display: flex; justify-content: space-between; font-size: 14px; color: #C9D0DA; }
.ahorro .bar-track { height: 18px; border-radius: 9px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ahorro .bar-fill { height: 100%; width: 100%; border-radius: 9px; transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.ahorro .bar-sep .bar-fill { background: #8A929E; }
.ahorro .bar-pilot .bar-fill { width: var(--pilot-w, 58%); background: var(--orange); transition-delay: .25s; }
.ahorro.in .bar-fill { transform: scaleX(1); }
.ahorro .saving { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .4s 1.2s, transform .4s 1.2s; }
.ahorro.in .saving { opacity: 1; transform: none; }
.ahorro.is-draft .draft-note { display: block; }
.ahorro .draft-note { display: none; font-size: 12px; color: #FFC98A; margin-top: 10px; }

/* Objections, guarantee, FAQ, final call */
.objs { display: grid; gap: 12px; }
@media (min-width: 760px) { .objs { grid-template-columns: repeat(2, 1fr); } }
.obj { padding: 18px; border-radius: 18px; background: #fff; }
.obj b { display: block; margin-bottom: 6px; }
.guarantee-lp { padding: 22px; border-radius: 22px; background: #EAF7EF; box-shadow: inset 0 0 0 1px #A8DDBE; }
.lp-faq details { border-bottom: 1px solid #E4DED5; padding: 14px 0; }
.lp-faq summary { cursor: pointer; font-weight: 600; }
.lp-faq details p { margin-top: 8px; }
.lp-final { text-align: center; padding: 40px 20px !important; margin: 40px 0 60px; border-radius: 28px; background: linear-gradient(160deg, #B8331C 0%, #E8462A 45%, #F26B2E 75%, #FBAA3A 100%); color: #fff; }
.lp-final h2, .lp-final p { color: #fff; }
.lp-final .btns { justify-content: center; margin-top: 18px; }
.lp-final a.link { color: #fff; text-decoration: underline; display: inline-block; margin-top: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.steps4 .reveal:nth-child(2), .stack .reveal:nth-child(2) { transition-delay: .12s; }
.steps4 .reveal:nth-child(3), .stack .reveal:nth-child(3) { transition-delay: .24s; }
.steps4 .reveal:nth-child(4), .stack .reveal:nth-child(4) { transition-delay: .36s; }
.stack .reveal:nth-child(5) { transition-delay: .48s; } .stack .reveal:nth-child(6) { transition-delay: .6s; } .stack .reveal:nth-child(7) { transition-delay: .72s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .ahorro .bar-fill, .ahorro .saving, .stamp, .stampcard .prize { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .ahorro .bar-fill { transform: none; } .ahorro .saving { opacity: 1; transform: none; }
}
.ahorro [data-only-servicio] { margin-top: 12px; }

/* ═════ Other hero visuals (albarán, PIN, phone): .seq items light up one by one (landing.js) ═════ */
.hv { justify-self: center; width: min(340px, 100%); padding: 20px; border-radius: 26px; background: #1E1A17; color: #F5EFE6; box-shadow: 0 40px 80px -30px rgba(20, 27, 36, .55); rotate: -2deg; }
.lp .hv p { color: inherit; }
.hv .hv-top { display: flex; justify-content: space-between; font-size: 13px; color: #C9C0B3; margin-bottom: 12px; }
.hv .hv-top b { color: #F5EFE6; font-weight: 600; }
.seq { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
.seq.on { opacity: 1; transform: none; }
/* albarán */
.hv-line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.hv-line small { color: #A99F92; }
.hv-line .eq { color: #A99F92; font-size: 12px; }
.hv-line .up { color: #FF6B5A; font-weight: 700; font-size: 13px; }
.hv-alert { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 107, 90, .15); color: #FFB4A8; font-size: 13px; font-weight: 600; }
/* PIN */
.pin-dots { display: flex; justify-content: center; gap: 14px; margin: 6px 0 16px; }
.pin-dots .seq { width: 16px; height: 16px; border-radius: 50%; background: var(--orange); opacity: .15; transform: none; }
.pin-dots .seq.on { opacity: 1; }
.pin-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.pin-keys span { height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: 17px; }
.hv-ok { padding: 10px 12px; border-radius: 12px; background: rgba(31, 157, 91, .18); color: #8DEBB5; font-weight: 600; font-size: 14px; margin-top: 8px; }
/* phone messages */
.msg { padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: rgba(255, 255, 255, .08); font-size: 14px; margin-top: 10px; max-width: 92%; }
.msg.me { margin-left: auto; border-radius: 14px 14px 4px 14px; background: var(--orange); color: #fff; }
.msg.ok { background: rgba(31, 157, 91, .2); color: #8DEBB5; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .seq { opacity: 1; transform: none; transition: none; } .pin-dots .seq { opacity: 1; } }
.lp .hv-alert, .lp .hv-ok, .lp .msg { font-size: 14px; line-height: 1.4; }

/* Etiqueta del plan, bloque «Con este plan también tienes» y escalera de planes (módulos) */
.plan-tag { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 16px; }
.lp .plan-tag { color: #fff; font-size: 15px; line-height: 1.3; }
.plan-tag b { color: var(--amber); font-weight: 700; }
.plan-section { padding: 48px 0; }
.plan-also { display: grid; gap: 10px; margin-bottom: 20px; }
@media (min-width: 640px) { .plan-also { grid-template-columns: repeat(2, 1fr); } }
.plan-item { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; box-shadow: inset 0 0 0 1px #E4DED5; }
.plan-item svg { flex: none; color: var(--orange); }
.plan-item:hover { box-shadow: inset 0 0 0 2px var(--orange); }
.plan-item-more { background: transparent; box-shadow: none; border: 1px dashed #C9C0B3; color: #3B434E; font-weight: 500; }
.lp .plan-empieza { font-size: 18px; margin-bottom: 14px; }
.plan-ladder { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 760px) { .plan-ladder { grid-template-columns: repeat(4, 1fr); } }
.plan-ladder li { padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #E4DED5; display: grid; gap: 2px; }
.plan-ladder li b { font-family: var(--display); font-size: 16px; }
.plan-ladder li span { font-size: 14px; color: var(--muted); }
.plan-ladder li.on { background: var(--ink); box-shadow: none; }
.plan-ladder li.on b { color: #fff; }
.plan-ladder li.on span { color: var(--amber); font-weight: 700; }
.lp .plan-extras { margin-top: 16px; font-size: 15px; }

/* Bloque del plan: lista completa, módulo marcado y llamada grande */
.plan-item.on { background: var(--ink); color: #fff; box-shadow: none; }
.plan-item.on svg { color: var(--amber); }
.plan-item em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--amber); color: var(--ink); white-space: nowrap; }
.plan-cta { margin: 6px 0 26px; padding: 26px 22px; border-radius: 22px; background: var(--ink); color: #fff; display: grid; gap: 16px; }
.lp .plan-cta-h { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 5vw, 36px); line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.plan-cta-h b { color: var(--amber); font-weight: 700; }
.plan-cta .btn-white { background: #fff; color: var(--ink); }

.lp .plan-cta-sub { color: #C9D0DA; font-size: 17px; margin-top: -6px; }
.plan-cta-sub a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
