/* ":scope" = :root en páginas sueltas; = .ft-scope cuando la landing se incrusta en el sitio
   (landing.php envuelve este archivo en @scope (.ft-scope) para aislarlo del CSS de Divi). */
:root, :scope {
  --navy: #1b2a56;
  --navy-deep: #121c3d;
  --blue: #3b8fce;
  --purple: #5b3b96;
  --purple-deep: #432b71;
  --ink: #1c2233;
  --muted: #5c6478;
  --line: #e3e6ef;
  --bg: #f6f7fb;
  --card: #ffffff;
  --radius: 14px;
  font-size: 16px;
}

* { box-sizing: border-box; }

body, :scope {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--navy-deep);
  padding: 16px 0;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar img { height: 46px; width: auto; }
.topbar-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 10px;
  color: #cdd6ee;
  font-size: 12.5px;
}
.topbar-trust span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-trust .sep { color: #5d6a96; }
@media (max-width: 720px) {
  .topbar img { height: 38px; }
  .topbar-trust { display: none; }
}

.ico { flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--purple-deep) 100%);
  color: #fff;
  padding: 72px 0 96px;
}
.hero .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #cfe0ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 18px;
  max-width: 18ch;
}
.hero p.lead {
  font-size: 1.15rem;
  color: #d6ddf3;
  max-width: 52ch;
  margin: 0 0 20px;
}
.hero .card-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 54ch;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 28px;
  color: #e4e9f8;
}
.hero .card-notice .ico { color: #9fc8f0; margin-top: 2px; }
.hero .card-notice p { margin: 0; font-size: .92rem; line-height: 1.5; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero .trust {
  margin-top: 28px;
  display: flex;
  gap: 12px 28px;
  flex-wrap: wrap;
  font-size: .92rem;
  color: #dfe5f7;
}
.hero .trust span { display: flex; align-items: center; gap: 8px; }
.hero .trust .ico {
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  padding: 5px;
  width: 28px; height: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
}
.hero-media img {
  width: 116%;
  max-width: none;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { width: 100%; max-width: 100%; }
  .hero h1, .hero p.lead { max-width: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: #ffffff;
  color: var(--navy-deep);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -8px rgba(0,0,0,.3); }
.btn-primary.on-light {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(91,59,150,.45);
}
.btn-primary.on-light:hover { box-shadow: 0 14px 28px -8px rgba(91,59,150,.55); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head .kicker {
  color: var(--purple);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: calc(.78rem + 4pt);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head p.sub-note { margin-top: 10px; font-size: .88rem; }

/* ---------- plan cards ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }

.plan-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(27,42,86,.35); }
.plan-card.featured {
  border-color: var(--purple);
  box-shadow: 0 20px 46px -20px rgba(91,59,150,.45);
}
.plan-card .tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--purple);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan-card .plan-head {
  text-align: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.plan-card h3 { margin: 0 0 6px; font-size: 1.75rem; color: var(--navy); }
.plan-card .fit { color: var(--muted); font-size: .92rem; margin: 10px 0 0; min-height: 4.5em; }
.plan-card .price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.plan-card .price .amount { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.plan-card .price .period { color: var(--muted); font-size: 1rem; }
.plan-card .meta {
  font-size: .86rem;
  color: var(--blue);
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}
.plan-card.featured .meta { color: var(--purple); }
.plan-card .price-note { font-size: .78rem; color: var(--muted); margin-bottom: 20px; text-align: center; }
.plan-card ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.plan-card li {
  display: flex;
  gap: 10px;
  font-size: .92rem;
  color: var(--ink);
}
.plan-card li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #e7f0fb;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.plan-card.featured li::before { background: #efe8f9; color: var(--purple); }
.plan-card .btn { width: 100%; justify-content: center; }
.plan-card .cta-micro { margin: 10px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }
.btn-secondary {
  background: var(--navy);
  color: #fff;
}
.plan-card.featured .btn-secondary,
.is-featured .btn-secondary { background: var(--purple); }

/* ---------- how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.step .num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h4 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

.how-it-works { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.why-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 760px;
  margin: 32px auto 0;
  background: #f6f1fc;
  border: 1px solid #e3d8f4;
  border-radius: var(--radius);
  padding: 20px 22px;
}
.why-card .why-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-card h4 { margin: 0 0 6px; color: var(--navy); }
.why-card p { margin: 0; color: var(--muted); font-size: .92rem; }

footer {
  background: var(--navy-deep);
  color: #b7c2e6;
  padding: 32px 0 26px;
  font-size: .9rem;
  text-align: center;
}
footer .footer-line { margin: 0 0 8px; color: #dfe5f7; font-weight: 600; letter-spacing: .02em; }
footer .footer-link { color: #9fc8f0; font-weight: 600; text-decoration: none; }
footer .footer-link:hover { text-decoration: underline; }

/* ---------- medical disclaimer (siempre al final de cada página) ---------- */
.disclaimer {
  background: #121a38;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #aab4d6;
  padding: 22px 0 26px;
  font-size: .74rem;
  line-height: 1.6;
}
.disclaimer strong { color: #e6c46a; font-weight: 600; font-size: .78rem; }
.disclaimer p { margin: 4px 0 0; }

/* ---------- shared: stepper ---------- */
.page-light { background: #f5f6fb; }

.stepper {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  max-width: 520px;
}
.stepper li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  font-size: .76rem;
  color: var(--muted);
  text-align: center;
}
.stepper li + li::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.stepper li.is-active + li::before { background: linear-gradient(90deg, var(--purple), var(--line)); }
.stepper li.is-done + li::before { background: var(--purple); }
.stepper .dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid #cfd4e3;
  background: #fff;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  position: relative;
  z-index: 1;
  transition: all .2s ease;
}
.stepper li.is-active .dot,
.stepper li.is-done .dot { background: var(--purple); border-color: var(--purple); color: #fff; }
.stepper li.is-active .dot { box-shadow: 0 0 0 5px rgba(91,59,150,.15); }
.stepper li.is-active .label { color: var(--navy); font-weight: 700; }
.stepper li.is-done .label { color: var(--purple); }

/* ---------- shared: secure note ---------- */
.secure-note {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.secure-note .secure-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.secure-note strong { display: block; font-size: .85rem; color: var(--navy); }
.secure-note span { display: block; font-size: .76rem; color: var(--muted); }
.secure-note.compact { margin-top: 14px; padding-top: 12px; }
.secure-note.compact .secure-icon { width: 28px; height: 28px; }
.secure-note.compact strong { font-size: .8rem; font-weight: 600; }

/* ---------- checkout ---------- */
.checkout-shell { padding: 26px 0 56px; }
.checkout-head { text-align: center; margin: 18px auto 24px; max-width: 640px; }
.checkout-head .kicker {
  color: var(--purple);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .74rem;
  margin-bottom: 6px;
}
.checkout-head h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 6px; color: var(--navy); }
.checkout-head p { margin: 0; color: var(--muted); }

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
  gap: 22px;
  align-items: start;
}
.col-side { position: sticky; top: 16px; }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(27,42,86,.04);
}
.panel + .panel { margin-top: 14px; }
.panel h2 { margin: 0 0 2px; font-size: 1.08rem; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.panel .hint { color: var(--muted); font-size: .82rem; margin: 0 0 14px; }
.panel h2 + .field, .panel h2 + .field-grid { margin-top: 12px; }
.panel-secondary { background: #fbfbfe; }
.panel-secondary h2 { font-size: 1rem; }
.panel .optional {
  font-size: .68rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-grid.cols-3 { grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 560px) { .field-grid, .field-grid.cols-3 { grid-template-columns: 1fr; } }

.field { margin-bottom: 12px; }
.field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.field .label-hint { font-weight: 400; color: var(--muted); margin-left: 4px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: .93rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.field input[readonly] { background: var(--bg); color: var(--muted); }
.field input::placeholder { color: #9aa1b5; }
.field input:focus, .field select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
.field small.err {
  display: none;
  color: #c23a3a;
  font-size: .78rem;
  margin-top: 4px;
}

.check-group { display: flex; flex-direction: column; gap: 10px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding-top: 4px; }
.check-row { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; }
.check-row input { margin-top: 3px; accent-color: var(--purple); }
.check-row a { color: var(--purple); font-weight: 600; }
.check-other { align-items: center; }
.check-other input[type="text"] {
  margin: 0;
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 8px;
  font: inherit;
}

.term-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.term-toggle label {
  text-align: center;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--navy);
  position: relative;
  transition: border-color .15s ease, background .15s ease;
}
.term-toggle label:hover { border-color: #c9bde3; }
.term-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.term-toggle label:has(input:checked) {
  border-color: var(--purple);
  background: #f4effb;
  box-shadow: 0 0 0 3px rgba(91,59,150,.12);
}
.term-toggle label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.term-toggle label span { display: block; }
.term-toggle label .sub { font-weight: 500; font-size: .8rem; color: var(--purple); margin-top: 2px; }

.switch-plans { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-switch {
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  background: #fff;
}
.btn-switch:hover { border-color: var(--purple); color: var(--purple); }

#card-element {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
}
#card-errors { color: #c23a3a; font-size: .8rem; margin-top: 6px; min-height: 1.1em; }

.summary-card {
  background: linear-gradient(180deg, #faf7fe 0%, #fff 60%);
  border-color: #ddd0f1;
}
.summary-card .summary-top { display: flex; justify-content: space-between; align-items: center; }
.summary-card .plan-name { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.summary-card .tag-sm {
  background: var(--purple);
  color: #fff;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 3px 9px;
  border-radius: 999px;
}
.summary-card .plan-title { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin: 2px 0 10px; }
.summary-card .row { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.summary-card .row:first-of-type { border-top: none; }
.summary-card .row span { color: var(--muted); }
.summary-card .row strong { color: var(--ink); }
.summary-card .total { margin-top: 4px; padding-top: 12px; border-top: 2px solid var(--navy); display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: var(--navy); }
.summary-card .total .amount { font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.summary-card .note { font-size: .78rem; color: var(--muted); margin: 8px 0 0; line-height: 1.45; }
.summary-card .note strong { color: var(--navy); }

/* Cupón de descuento (resumen del checkout) */
.summary-card .coupon { margin: 8px 0 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.summary-card .coupon label { font-size: .84rem; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input[type="text"] { flex: 1; min-width: 0; }
.coupon-row input[readonly] { color: var(--navy); font-weight: 600; }
.btn-apply {
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: .86rem;
  font-weight: 600;
  padding: 0 16px;
  cursor: pointer;
}
.btn-apply:hover:not(:disabled) { border-color: var(--purple); color: var(--purple); }
.btn-apply:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn-apply:disabled { opacity: .6; cursor: default; }
.coupon-msg { margin: 6px 0 0; font-size: .78rem; line-height: 1.4; min-height: 0; }
.coupon-msg.is-ok { color: #1a7f45; }
.coupon-msg.is-error { color: #c23a3a; }
.summary-card .coupon-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #eaf7ef;
  color: #1a7f45;
  font-size: .86rem;
  font-weight: 600;
}
.summary-card .coupon-total[hidden] { display: none; }
.summary-card .coupon-total strong { font-size: 1.1rem; color: #1a7f45; }

.next-card { background: #f1f5fc; border-color: #dbe5f5; padding: 14px 18px; }
.next-card h3 { margin: 0 0 8px; font-size: .88rem; color: var(--navy); }
.next-card ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.next-card li { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink); }
.next-card li em { color: var(--muted); font-style: normal; }
.next-card .n {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: .68rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.payment-card h2 { font-size: 1.05rem; }
.payment-card .field { margin-bottom: 8px; }
.legal-ok {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: .78rem;
  color: var(--muted);
  margin: 4px 0 14px;
  word-break: break-word;
}
.legal-ok .ico { color: #1f9d55; margin-top: 2px; }
.legal-ok strong { color: var(--navy); }
.cta-sub { text-align: center; font-size: .8rem; color: var(--navy); margin: 10px 0 0; font-weight: 500; }
.cta-sub.small { font-size: .74rem; color: var(--muted); margin-top: 2px; font-weight: 400; }

/* Mobile: una sola columna en el orden pedido —
   Progress, Title, Selected Plan, Plan and Term, Contact, Billing, About, Payment, CTA. */
@media (max-width: 920px) {
  .checkout-grid { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .col-main, .col-side { display: contents; }
  .panel + .panel { margin-top: 0; }
  .summary-card { order: 1; }
  .panel-term { order: 2; }
  .panel-contact { order: 3; }
  .panel-billing { order: 4; }
  .panel-practice { order: 5; }
  .next-card { order: 6; }
  .payment-card { order: 7; }
}
@media (max-width: 480px) {
  .term-toggle { gap: 6px; }
  .term-toggle label { font-size: .8rem; padding: 8px 4px; }
  .check-grid { grid-template-columns: 1fr; }
  .stepper li { font-size: .68rem; }
}

.alert {
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .88rem;
  margin-bottom: 20px;
}
.alert-error { background: #fdecec; color: #a12727; border: 1px solid #f4c3c3; }
.alert-info { background: #eaf2fb; color: var(--navy); border: 1px solid #c9dcf3; }

/* ---------- confirmation ---------- */
.confirm-shell {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  padding: 40px 0 56px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 30%, rgba(91,59,150,.07), transparent 40%),
    radial-gradient(circle at 15% 70%, rgba(59,143,206,.06), transparent 40%);
}
.confirm-shell .wrap { width: 100%; position: relative; z-index: 1; }
.orb-light { position: absolute; border-radius: 50%; border: 1px solid rgba(91,59,150,.12); }
.orb-light.o1 { width: 220px; height: 220px; left: 6%; top: 12%; }
.orb-light.o2 { width: 320px; height: 320px; right: 4%; bottom: -60px; }
.confirm-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 34px 26px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 24px 60px -32px rgba(27,42,86,.35);
}
.confirm-card .icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #e6f6ec;
  color: #1f9d55;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 8px rgba(31,157,85,.07);
}
.confirm-card h1 { font-size: 1.6rem; margin: 0 0 8px; color: var(--navy); line-height: 1.2; }
.confirm-card .lead-sm { color: var(--muted); margin: 0 auto; max-width: 36ch; font-size: .95rem; }
.confirm-card .trial-box {
  background: var(--bg);
  border-radius: 12px;
  padding: 8px 16px;
  margin: 20px 0 14px;
  text-align: left;
  font-size: .88rem;
}
.confirm-card .trial-box .row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; }
.confirm-card .trial-box .row + .row { border-top: 1px solid var(--line); }
.confirm-card .trial-box .row span:first-child { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.confirm-card .trial-box .row span:last-child { font-weight: 700; color: var(--navy); }
.confirm-card .trial-box .row span.is-ok { color: #1f9d55; }
.billing-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  font-size: .84rem;
  padding: 4px 4px 14px;
}
.billing-notice .bn-icon { color: var(--blue); margin-top: 1px; }
.billing-notice p { margin: 0; color: var(--ink); }
.billing-notice strong { color: var(--navy); }
.next-step {
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
  background: #f4effb;
  border: 1px solid #e3d8f4;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.next-step .ns-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.next-step .ns-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }
.next-step p { margin: 2px 0 0; font-size: .86rem; color: var(--ink); }
.next-step .ns-title { font-weight: 700; color: var(--navy); font-size: .92rem; margin-top: 4px; }
.next-step .ns-hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.next-step { align-items: flex-start; }
.manage-link { display: inline-block; margin-top: 12px; font-size: .82rem; font-weight: 600; color: var(--navy); }
@media (max-width: 560px) {
  .confirm-shell { padding: 20px 0 40px; align-items: flex-start; }
  .confirm-card { padding: 24px 18px 20px; }
  .confirm-card h1 { font-size: 1.35rem; }
  .orb-light { display: none; }
}

/* ---------- signup gate ---------- */
.signup-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 860px) { .signup-shell { grid-template-columns: 1fr; } }

.signup-visual {
  background:
    radial-gradient(circle at 30% 20%, rgba(91,59,150,.55), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(59,143,206,.5), transparent 55%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--purple-deep) 100%);
  color: #fff;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.signup-visual-inner { position: relative; z-index: 1; max-width: 460px; }
.signup-visual .orb {
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  position: absolute;
}
.signup-visual .orb.o1 { width: 340px; height: 340px; top: -60px; right: -80px; }
.signup-visual .orb.o2 { width: 180px; height: 180px; bottom: -50px; left: 10%; border-color: rgba(255,255,255,.15); }
.signup-visual .badge-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
}
.signup-visual h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.12; margin: 0 0 14px; }
.signup-visual-inner > p { color: #d6ddf3; font-size: 1.02rem; margin: 0 0 30px; max-width: 40ch; }
.benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; }
.benefits .benefit-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.benefits strong { display: block; font-size: .95rem; }
.benefits span { display: block; font-size: .84rem; color: #c3cdea; margin-top: 2px; }

.signup-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px 72px;
  background: #f7f8fc;
}
.signup-panel { width: 100%; max-width: 420px; }
.signup-panel .brand-logo { height: 52px; width: auto; margin: 0 auto 22px; display: block; }
.signup-panel .stepper { margin-bottom: 26px; max-width: 300px; }
.signup-panel .step-kicker {
  color: var(--purple);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .74rem;
  margin-bottom: 6px;
}
.signup-panel h1 { font-size: 1.65rem; line-height: 1.2; margin: 0 0 8px; color: var(--navy); }
.signup-panel .sub { color: var(--muted); font-size: .92rem; margin: 0 0 22px; }
.signup-panel .field input { padding: 11px 12px; }
@media (max-width: 860px) {
  .signup-visual { padding: 40px 24px; }
  .signup-form-side { padding: 32px 20px 48px; }
}

/* ---------- plan comparison table ---------- */
.compare-table-wrap {
  margin-top: 56px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: .92rem;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.compare-table .compare-feature-col {
  text-align: left;
  color: var(--ink);
  font-weight: 500;
  width: 40%;
}
.compare-table thead th {
  background: var(--bg);
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
}
.compare-table thead th.compare-feature-col {
  color: var(--muted);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.compare-table td.is-featured,
.compare-table th.is-featured {
  background: #f6f1fc;
  color: var(--purple);
  font-weight: 700;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tr.compare-group td {
  text-align: left;
  background: var(--bg);
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 10px 18px;
}
.compare-table tfoot td {
  border-bottom: none;
  border-top: 1px solid var(--line);
  padding: 20px 18px;
}
.compare-table tfoot .btn { font-size: .82rem; padding: 10px 16px; }

/* ---------- planes incrustados en otras páginas (shortcode [intrascan_plans] en Services) ---------- */
/* Dentro de @scope (.ft-scope) los selectores apuntan a descendientes; :scope.ft-embed es la raíz. */
:scope.ft-embed { background: transparent; max-width: 1120px; margin: 0 auto; }
:scope.ft-embed .plans-note { text-align: center; color: var(--muted); font-size: .88rem; margin: 0 0 40px; }
:scope.ft-embed .plan-card .btn { color: #fff; }
