/* Eleva — página de planes y precios (/pricing). Se apoya en styles.css (tokens, nav, botones, footer). */
html.js-rv .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
html.js-rv .rv.is-in { opacity: 1; transform: none; }

/* ---------- Encabezado ---------- */
.phero { position: relative; padding: 170px 0 70px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #11204A 0%, var(--night) 50%, var(--ink) 100%); }
.phero__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.phero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 7.4vw, 108px); line-height: 1; letter-spacing: -.02em; margin: 26px 0 0; max-width: 16ch; text-wrap: balance; }
.phero .hero__lead strong { color: #fff; font-weight: 700; }
.phero__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 34px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); }
.phero__points li { display: inline-flex; align-items: center; gap: 9px; }
.phero__points svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(89,227,181,.16); fill: none; stroke: var(--mint); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Planes ---------- */
.plans { position: relative; padding: 20px 0 clamp(80px, 10vw, 130px); background: linear-gradient(180deg, var(--ink) 0%, #050918 100%); }
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border-radius: 32px;
  background: linear-gradient(180deg, rgba(16,24,56,.92), rgba(11,18,44,.92)); border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.8);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.plan--featured { border-color: rgba(89,227,181,.45); background: linear-gradient(180deg, rgba(14,34,58,.95), rgba(10,22,48,.95)); box-shadow: 0 30px 90px -36px rgba(89,227,181,.35), 0 0 0 1px rgba(89,227,181,.12) inset; }
@media (min-width: 1001px) { .plan--featured { transform: translateY(-14px); } .plan--featured:hover { transform: translateY(-20px); } }
.plan--featured:hover { border-color: rgba(89,227,181,.8); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 7px 18px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 8px 30px -6px rgba(89,227,181,.7); }
.plan__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.plan--featured .plan__icon { background: rgba(89,227,181,.12); border-color: rgba(89,227,181,.3); }
.plan__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--mint); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.plan__tag { align-self: flex-start; margin-top: 22px; padding: 6px 14px; border-radius: 999px; background: rgba(89,227,181,.12); color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.plan__name { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.2vw, 44px); line-height: 1.05; margin-top: 16px; }
.plan__desc { margin-top: 12px; color: rgba(255,255,255,.66); font-size: 16px; min-height: 5.2em; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.plan__amount { font-family: var(--serif); font-size: clamp(50px, 4.8vw, 68px); line-height: 1; letter-spacing: -.02em; }
.plan__per { color: rgba(255,255,255,.5); font-size: 16px; }
.plan__setup { margin-top: 12px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.5); }
.plan__setup strong { color: rgba(255,255,255,.88); font-weight: 700; }
.plan__list { display: grid; gap: 14px; margin: 24px 0 32px; flex: 1; }
.plan__list li { position: relative; padding-left: 36px; font-size: 15.5px; line-height: 1.45; color: rgba(255,255,255,.8); }
.plan__list li::before { content: ""; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; background: rgba(89,227,181,.14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2359E3B5' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'><path d='M6.5 12.5l3.6 3.6 7.4-7.6'/></svg>") center / 14px no-repeat; }
.plans__note { margin-top: 38px; text-align: center; font-size: 14.5px; color: rgba(255,255,255,.55); }
.plans__note a { color: var(--mint); border-bottom: 1px solid rgba(89,227,181,.4); }
.plans__note a:hover { border-color: var(--mint); }

/* ---------- Cómo empezar (sección clara) ---------- */
.steps { background: var(--paper); color: var(--night); padding: clamp(80px, 10vw, 140px) 0; }
.steps .eyebrow { color: var(--navy); }
.steps .h2 { color: var(--night); max-width: 18ch; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.steps__grid li { padding: 30px; border-radius: 28px; background: #fff; border: 1px solid rgba(34,58,95,.08); box-shadow: 0 24px 60px -34px rgba(34,58,95,.35); }
.steps__n { font-family: var(--serif); font-size: 46px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps__grid h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-top: 18px; color: var(--night); }
.steps__grid p { margin-top: 10px; color: var(--slate); font-size: 16px; }

/* ---------- Preguntas ---------- */
.faq { background: var(--night); padding: clamp(80px, 10vw, 140px) 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.faq .h2 { font-size: clamp(36px, 4.6vw, 64px); }
.faq__list details { border-bottom: 1px solid rgba(255,255,255,.12); }
.faq__list details:first-child { border-top: 1px solid rgba(255,255,255,.12); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); font-family: var(--sans); font-size: 20px; color: var(--mint); transition: transform .5s var(--ease), background .3s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: rgba(89,227,181,.12); }
.faq__list summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; border-radius: 8px; }
.faq__list details p { padding: 0 52px 26px 0; color: rgba(255,255,255,.68); max-width: 60ch; }

/* ---------- Cierre ---------- */
.pcta { position: relative; overflow: hidden; background: var(--ink); padding: clamp(90px, 12vw, 160px) 0; text-align: center; }
.pcta .cta__bg { opacity: .7; }
.pcta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.pcta .h2 { max-width: 17ch; text-wrap: balance; }
.pcta .lead { margin-inline: auto; }
.pcta .hero__cta { margin-top: 38px; }

@media (max-width: 1000px) {
  .plans__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; row-gap: 34px; }
  .plan__desc { min-height: 0; }
  .steps__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .phero { padding-top: 120px; }
  .faq__list details p { padding-right: 0; }
}
