/* CitaLoop · plan pages (site/planes/*.html, generated by tools/generar-planes.mjs)
   Loaded after styles.css, which already carries the nav, the footer, the
   popup form and the shared plan pieces (.pl-*). */

/* overflow-x: hidden on html/body turns body into a scroll container and
   breaks position: sticky (comparison header, FAQ title). clip does not. */
@supports (overflow: clip) {
  html, body.plan-page { overflow-x: clip; }
}
body.plan-page { background: var(--white); }
.plan-page main { display: block; }

.pp-head { max-width: 760px; margin-bottom: 36px; }
.pp-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.pp-head.is-center .lead { margin-left: auto; margin-right: auto; }
.pp-head h2 { text-wrap: balance; }
.pp-head .lead { margin-bottom: 0; text-wrap: pretty; }

/* ===== Hero ===== */
.pp-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 64px) 0 84px;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0) 62%),
    radial-gradient(45% 45% at 0% 100%, rgba(20, 184, 166, 0.12), rgba(20, 184, 166, 0) 62%),
    linear-gradient(180deg, #F3F8FF 0%, #FFFFFF 100%);
}
.pp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: start; }
.pp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 22px; color: var(--muted); font-size: 13.5px; }
.pp-crumbs a { color: var(--body); }
.pp-crumbs a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.pp-crumbs .sep { width: 12px; height: 12px; transform: scaleX(-1); color: var(--muted); }
.pp-crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.pp-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(16, 28, 48, 0.05);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pp-lvl { padding: 4px 10px; border-radius: 999px; background: var(--blue); color: var(--white); letter-spacing: 0.04em; }
.pp-hero h1 { margin: 20px 0 10px; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; }
.pp-name { color: var(--blue); }
.pp-promise {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.pp-hero .lead { margin: 0; }
.pp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.pp-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}
.pp-facts svg { width: 18px; height: 18px; flex: none; color: var(--blue-dark); }
.pp-hero .actions { margin-top: 30px; }

/* Price card */
.pp-buy {
  position: relative;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(16, 28, 48, 0.12);
}
.pp-buy::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.pp-buy-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pp-buy-name { margin: 0; font-size: 22px; font-weight: 750; letter-spacing: -0.02em; }
.pp-buy .pl-motto { margin-bottom: 0; }
.pp-buy .pl-steps { margin: 10px 0 0; }
.pp-price .pl-amt { font-size: 56px; }
.pp-buy .pl-note { min-height: 0; }
.pp-buy-list { margin: 20px 0 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pp-buy-btn { width: 100%; min-height: 54px; }
.pp-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }
.pp-secure svg { width: 14px; height: 14px; flex: none; }

/* ===== What this plan adds ===== */
.pp-adds-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pp-adds-grid.is-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-add {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .pp-add:hover { transform: translateY(-3px); border-color: rgba(59, 130, 246, 0.35); box-shadow: 0 18px 44px rgba(16, 28, 48, 0.08); }
}
.pp-add-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--blue-soft), #D6E6FF);
  color: var(--blue-dark);
}
.pp-add-ic svg { width: 22px; height: 22px; }
.pp-add h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.pp-add p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.55; }
.pp-inherit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.pp-inherit svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.pp-inherit:hover { background: #D8E7FD; }
.pp-inherit:hover svg { transform: translateX(3px); }

/* ===== How much of the loop the plan covers ===== */
.pp-track { --gap: 12px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 28px var(--gap); margin: 0; padding: 0; list-style: none; }
.pp-stop { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
/* Connector to the next stop: blue while both ends are covered by this plan */
.pp-stop:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  left: calc(50% + 28px);
  width: calc(100% + var(--gap) - 56px);
  height: 3px;
  border-radius: 3px;
  background: #D9DEE5;
}
.pp-stop.nx-on::after { background: linear-gradient(90deg, var(--blue), var(--teal-mid)); }
.pp-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 2px solid #D9DEE5;
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
}
.pp-stop.is-on .pp-dot { border-color: var(--blue); background: var(--blue); color: var(--white); box-shadow: 0 10px 24px rgba(59, 130, 246, 0.3); }
.pp-dot svg { width: 18px; height: 18px; }
.pp-stop-tx { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; margin-top: 14px; }
.pp-stop-tx b { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.pp-stop:not(.is-on) .pp-stop-tx b { color: var(--body); }
.pp-stop-tx small { color: var(--body); font-size: 12.5px; line-height: 1.4; }
.pp-st { margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pp-stop.is-on .pp-st { background: var(--teal-soft); color: var(--teal-dark); }
@media (min-width: 761px) {
  /* Status badges line up along the bottom of the row */
  .pp-stop-tx { flex: 1; }
  .pp-st { margin-top: auto; }
}
a.pp-st { border: 1px solid var(--line); background: var(--white); color: var(--blue-dark); transition: background-color 0.2s ease, border-color 0.2s ease; }
a.pp-st:hover { border-color: var(--blue); background: var(--blue-soft); }

/* ===== Everything included, by category ===== */
.pp-legend { margin: 16px 0 0; }
.tag-new {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
  white-space: nowrap;
}
.pp-legend .tag-new { margin-left: 0; padding: 5px 12px; font-size: 11.5px; }
.pp-cats { columns: 3 300px; column-gap: 16px; }
.pp-cat {
  display: block;
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.pp-cat summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; }
.pp-cat summary::-webkit-details-marker { display: none; }
.pp-cat summary:hover .pp-cat-t b { color: var(--blue-dark); }
.pp-cat-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); }
.pp-cat-ic svg { width: 19px; height: 19px; }
.pp-cat-t { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.pp-cat-t b { font-size: 15.5px; font-weight: 700; line-height: 1.3; transition: color 0.15s ease; }
.pp-cat-t small { color: var(--muted); font-size: 12.5px; }
.pp-cat summary .chev { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform 0.25s ease; }
.pp-cat[open] summary .chev { transform: rotate(180deg); }
.pp-cat ul { display: grid; gap: 12px; margin: 0; padding: 14px 18px 18px; border-top: 1px solid var(--line); list-style: none; }
.pp-cat li { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 10px; }
.pp-cat li > svg { width: 18px; height: 18px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); }
.pp-cat li.is-new > svg { background: var(--teal-soft); color: var(--teal-dark); }
.pp-it { display: block; }
.pp-it b { color: var(--ink); font-size: 14px; font-weight: 600; }
.pp-val {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--smoke);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}
.pp-cat li small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.pp-cat.is-locked { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-style: dashed; background: var(--smoke); }
.pp-cat.is-locked .pp-cat-ic { background: var(--white); color: var(--muted); }
.pp-cat.is-locked .pp-cat-t b { color: var(--body); }
.pp-cat-go { display: inline-flex; align-items: center; gap: 6px; flex: none; color: var(--blue-dark); font-size: 13.5px; font-weight: 600; }
.pp-cat-go svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.pp-cat-go:hover svg { transform: translateX(3px); }

/* ===== Comparison table ===== */
.pp-compare .pl-cycle.is-compact { justify-content: center; margin: -10px 0 26px; }
.cmp { border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 18px 50px rgba(16, 28, 48, 0.06); }
.cmp table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 14px; }
.cmp thead th {
  position: sticky;
  top: var(--nav-h);
  z-index: 2;
  padding: 16px 8px 14px;
  background: var(--white);
  /* Line + soft shadow: rows scrolling under the stuck header stay clearly apart */
  box-shadow: inset 0 -1px 0 var(--line), 0 10px 14px -12px rgba(16, 28, 48, 0.28);
  text-align: center;
  vertical-align: bottom;
}
.cmp thead th:first-child { width: 40%; padding-left: 22px; border-top-left-radius: 24px; text-align: left; }
.cmp thead th:last-child { border-top-right-radius: 24px; }
.cmp-corner span { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cmp-name { display: block; color: var(--ink); font-size: 15px; font-weight: 750; letter-spacing: -0.01em; }
a.cmp-name:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.cmp-price { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cmp-this {
  display: inline-block;
  margin: 4px 0 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cmp td.is-cur { background: rgba(59, 130, 246, 0.05); }
.cmp thead th.is-cur { background: #EEF4FE; box-shadow: inset 0 3px 0 var(--blue), inset 0 -1px 0 var(--line), 0 10px 14px -12px rgba(16, 28, 48, 0.28); }
.cmp tbody th { padding: 11px 12px 11px 22px; border-bottom: 1px solid #F0F2F5; color: var(--ink); font-weight: 500; text-align: left; }
.cmp td { padding: 11px 6px; border-bottom: 1px solid #F0F2F5; text-align: center; }
.cmp .cmp-cat th {
  padding: 20px 22px 8px;
  border-bottom: 0;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cmp-cat svg { width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; }
.cmp-ok { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); vertical-align: middle; }
.cmp td.is-cur .cmp-ok { background: var(--blue); color: var(--white); }
.cmp-no { color: #C4C9D1; font-weight: 600; }
.cmp-v { color: var(--ink); font-size: 13px; font-weight: 700; }
.cmp-inf { display: none; }
.cmp tfoot th, .cmp tfoot td { padding: 16px 8px; border-top: 1px solid var(--line); background: var(--smoke); font-weight: 700; font-variant-numeric: tabular-nums; }
.cmp tfoot th { padding-left: 22px; border-bottom-left-radius: 24px; text-align: left; }
.cmp tfoot td { text-align: center; }
.cmp tfoot td:last-child { border-bottom-right-radius: 24px; }
.cmp tfoot td.is-cur { background: #E7F0FD; color: var(--blue-dark); }
.cmp.is-collapsed .cmp-more { display: none; }
.cmp-more-wrap { display: flex; justify-content: center; margin-top: 22px; }
.cmp-toggle[hidden] { display: none; }
.cmp-toggle .chev { transform: none !important; transition: transform 0.25s ease; }
.cmp-toggle[aria-expanded="true"] .chev { transform: rotate(180deg) !important; }
.cmp-toggle[aria-expanded="true"] .cmp-l-more,
.cmp-toggle[aria-expanded="false"] .cmp-l-less { display: none; }

/* ===== How it starts ===== */
.pp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pp-steps li { position: relative; padding: 24px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.pp-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -12px;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-top: 2px solid #C4C9D1;
  border-right: 2px solid #C4C9D1;
  transform: rotate(45deg);
}
.pp-n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; background: var(--ink); color: var(--white); font-weight: 800; }
.pp-steps b { display: block; margin-bottom: 6px; font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.pp-steps p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.55; }

/* ===== Get the plan ===== */
.pp-checkout { padding: 24px 0 96px; }
.pp-co {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px 48px;
  align-items: center;
  padding: 48px;
  overflow: hidden;
  border-radius: 32px;
  color: var(--white);
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(59, 130, 246, 0.45), rgba(59, 130, 246, 0) 60%),
    radial-gradient(70% 60% at 100% 100%, rgba(20, 184, 166, 0.35), rgba(20, 184, 166, 0) 60%),
    linear-gradient(160deg, #10233f 0%, #0b1628 100%);
  box-shadow: 0 40px 100px rgba(10, 20, 38, 0.25);
}
.pp-kicker.is-dark { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.08); box-shadow: none; color: var(--teal-mid); }
.pp-co h2 { margin: 18px 0 12px; color: var(--white); text-wrap: balance; }
.pp-co-lead { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 17px; line-height: 1.6; }
.pp-co-trust { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.pp-co-trust li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.9); font-size: 14.5px; }
.pp-co-trust svg { width: 18px; height: 18px; flex: none; color: var(--teal-mid); }
.pp-co-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pp-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}
.pp-opt.is-best { border-color: var(--white); background: var(--white); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); color: var(--ink); }
.pp-opt-flag {
  position: absolute;
  top: -12px;
  left: 22px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.35);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pp-opt-k { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.pp-opt.is-best .pp-opt-k { color: var(--blue-dark); opacity: 1; }
.pp-opt-price { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.pp-opt-price b { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-opt-price span { font-size: 14px; font-weight: 600; opacity: 0.7; }
.pp-opt-note { margin: 8px 0 20px; font-size: 12.5px; opacity: 0.78; }
.pp-opt .btn { width: 100%; min-height: 52px; margin-top: auto; }
.pp-co-fine { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.62); font-size: 12.5px; line-height: 1.55; }

/* ===== FAQ ===== */
.pp-faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.pp-faq .pp-head { position: sticky; top: calc(var(--nav-h) + 16px); margin: 0; }
.pp-faq-more { margin: 8px 0 0; color: var(--body); }
.pp-faq-more a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-dark); font-weight: 600; }
.pp-faq-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pp-faq-more svg { width: 15px; height: 15px; }
.pp-faq-list { display: grid; gap: 10px; }
.pp-q { border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.pp-q[open] { border-color: rgba(59, 130, 246, 0.35); box-shadow: 0 14px 36px rgba(16, 28, 48, 0.07); }
.pp-q summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.pp-q summary::-webkit-details-marker { display: none; }
.pp-q summary:hover { color: var(--blue-dark); }
.pp-q-ic { width: 24px; height: 24px; flex: none; padding: 5px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease; }
.pp-q[open] .pp-q-ic { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.pp-a { padding: 0 20px 20px; }
.pp-a p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.65; }

/* ===== Other plans ===== */
.pp-others-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pp-other {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pp-other.is-featured { border-color: rgba(59, 130, 246, 0.55); }
@media (hover: hover) and (pointer: fine) {
  .pp-other:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 20px 50px rgba(16, 28, 48, 0.09); }
}
.pp-other .pl-steps { margin-bottom: 10px; }
.pp-other-name { font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
.pp-other .pl-motto { margin: 0; }
.pp-other-price { margin-top: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.pp-other-price b { margin-right: 3px; color: var(--ink); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.pp-other-for { color: var(--body); font-size: 14px; line-height: 1.5; }
.pp-other-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; color: var(--blue-dark); font-size: 14.5px; font-weight: 600; }
.pp-other-cta svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.pp-other:hover .pp-other-cta svg { transform: translateX(3px); }

/* ===== Closing band ===== */
.pp-band { padding: 80px 0 96px; }
.pp-band-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 40px 44px;
  border-radius: 28px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(20, 184, 166, 0.55), rgba(20, 184, 166, 0) 60%),
    linear-gradient(120deg, #2563EB 0%, var(--blue) 100%);
  box-shadow: 0 30px 80px rgba(30, 95, 196, 0.25);
  color: var(--white);
}
.pp-band h2 { margin: 0 0 8px; color: var(--white); font-size: clamp(24px, 2.6vw, 34px); text-wrap: balance; }
.pp-band p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 16.5px; }
.pp-band .btn { flex: none; }

/* ===== Sticky buy bar (phones and tablets) ===== */
.pp-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 18px 50px rgba(16, 28, 48, 0.18);
  visibility: hidden;
  transform: translateY(calc(100% + 28px));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.35s;
}
.pp-bar.is-on { visibility: visible; transform: none; transition-delay: 0s; }
.pp-bar-tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pp-bar-tx b { font-size: 15px; font-weight: 750; }
.pp-bar-price { color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pp-bar .btn { min-height: 46px; padding: 0 20px; }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .pp-adds-grid, .pp-adds-grid.is-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-co { grid-template-columns: minmax(0, 1fr); padding: 40px; }
  .pp-track { --gap: 8px; }
  .pp-stop-tx small { font-size: 12px; }
}
@media (max-width: 1024px) {
  .pp-bar { display: flex; }
  .plan-page footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .pp-hero { padding: calc(var(--nav-h) + 36px) 0 64px; }
  .pp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pp-buy { width: 100%; max-width: 560px; }
  .pp-track { --gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pp-stop:nth-child(4n)::after { display: none; }
  .pp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-steps li:nth-child(2n)::after { display: none; }
  .pp-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pp-faq .pp-head { position: static; }
  .pp-cats { columns: 2 280px; }
}
@media (max-width: 760px) {
  .pp-hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .pp-hero .actions { display: none; }
  .pp-kicker { font-size: 11px; }
  .pp-facts li { font-size: 13px; }
  .pp-buy { padding: 24px 18px 20px; border-radius: 24px; }
  .pp-price .pl-amt { font-size: 48px; }
  .pp-adds-grid, .pp-adds-grid.is-6 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pp-add { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .pp-add-ic { grid-row: span 2; margin: 0; }
  .pp-add h3 { margin-bottom: 4px; }
  .pp-track { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .pp-stop { flex-direction: row; align-items: flex-start; gap: 16px; padding-bottom: 22px; text-align: left; }
  .pp-stop-tx { align-items: flex-start; margin-top: 2px; }
  .pp-stop:not(:last-child)::after,
  .pp-stop:nth-child(4n):not(:last-child)::after { display: block; top: 48px; bottom: 0; left: 20.5px; width: 3px; height: auto; }
  .pp-stop.nx-on::after { background: linear-gradient(180deg, var(--blue), var(--teal-mid)); }
  .pp-cats { columns: 1; }
  .pp-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pp-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .pp-steps li::after { display: none; }
  .pp-n { grid-row: span 2; margin: 0; }
  .pp-checkout { padding: 8px 0 64px; }
  .pp-co { padding: 30px 20px 24px; border-radius: 26px; }
  .pp-co-opts { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pp-others-grid { grid-template-columns: minmax(0, 1fr); }
  .pp-band { padding: 56px 0 64px; }
  .pp-band-in { flex-direction: column; align-items: stretch; padding: 30px 22px; }
  .pp-band .btn { width: 100%; }
  .pp-q summary { padding: 16px; font-size: 15.5px; }
  .pp-a { padding: 0 16px 18px; }
  /* Four narrow plan columns still fit a phone: shorter labels, ∞ for unlimited */
  .cmp { border-radius: 18px; }
  .cmp table { font-size: 13px; }
  .cmp thead th:first-child { width: 34%; padding-left: 12px; border-top-left-radius: 18px; }
  .cmp thead th:last-child { border-top-right-radius: 18px; }
  .cmp thead th { padding: 12px 2px 10px; }
  .cmp tbody th { padding: 10px 6px 10px 12px; font-size: 12.5px; line-height: 1.35; }
  .cmp td { padding: 10px 2px; }
  .cmp .cmp-cat th { padding: 16px 12px 6px; font-size: 11px; }
  .cmp-cat svg { display: none; }
  .cmp-name { font-size: 12.5px; }
  .cmp-price { font-size: 11px; }
  .cmp-this { display: none; }
  .cmp-v { font-size: 11.5px; }
  .cmp-inf { display: inline; font-size: 17px; line-height: 1; }
  .cmp-inf-t {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .cmp-ok { width: 20px; height: 20px; }
  .cmp tfoot th { padding-left: 12px; border-bottom-left-radius: 18px; font-size: 12.5px; }
  .cmp tfoot td:last-child { border-bottom-right-radius: 18px; }
  .cmp-toggle { width: 100%; white-space: normal; }
}
@media (max-width: 380px) {
  .pp-bar { padding-left: 14px; }
  .pp-bar .btn { padding: 0 16px; }
  .pp-opt-price b { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-bar, .pp-add, .pp-other, .pp-q, .pp-q-ic, .pp-cat summary .chev { transition: none; }
}

/* ── Planes que aún no se venden y aceptación de documentos (2026-09-29) ── */
.pp-soon {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid #FDE68A;
  border-radius: 14px;
  background: #FFFBEB;
  color: #78350F;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: left;
}
.pp-soon > svg { width: 18px; height: 18px; margin-top: 1px; flex: none; color: #B45309; }
.pp-soon a { color: #92400E; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.pp-co .pp-soon { max-width: 46ch; margin: 0 0 18px; }
.pp-docs { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; text-align: center; }
.pp-docs a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.pp-docs.is-dark { grid-column: 1 / -1; margin: 0; text-align: left; color: rgba(255, 255, 255, 0.62); }
.pp-docs.is-dark a { color: var(--white); }
.pp-other-soon {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ── Páginas legales (site/legal) ─────────────────────────────────────── */
body.legal-page { background: var(--white); }
.lg-hero {
  padding: calc(var(--nav-h) + 40px) 0 36px;
  background:
    radial-gradient(50% 70% at 95% 0%, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0) 65%),
    linear-gradient(180deg, var(--smoke) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}
.lg-hero h1 { max-width: 20ch; margin: 10px 0 12px; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.lg-ver { margin: 0; color: var(--blue-dark); font-size: 14px; font-weight: 700; }
.lg-lang { display: inline-block; margin: 12px 0 0; padding: 6px 12px; border-radius: 999px; background: #FEF3C7; color: #78350F; font-size: 13px; font-weight: 700; }
.lg-body { padding: 48px 0 88px; }
.lg-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.lg-side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 22px; max-height: calc(100vh - var(--nav-h) - 40px); overflow: auto; }
.lg-cap { margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.lg-toc ol, .lg-more ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lg-toc a, .lg-more li a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--body); font-size: 14px; line-height: 1.35; }
.lg-toc a:hover, .lg-more li a:hover { background: var(--blue-soft); color: var(--blue-dark); }
.lg-more .lg-cap + ul + .lg-cap { margin-top: 16px; }
.lg-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-dark); font-size: 14.5px; font-weight: 700; overflow-wrap: anywhere; }
.lg-mail svg { width: 16px; height: 16px; flex: none; }
.lg-doc { max-width: 74ch; color: var(--body); font-size: 16px; line-height: 1.7; }
.lg-doc > * + * { margin-top: 14px; }
.lg-doc h2 { margin-top: 44px; padding-top: 6px; color: var(--ink); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -0.02em; scroll-margin-top: calc(var(--nav-h) + 16px); }
.lg-doc h2:first-child { margin-top: 0; }
.lg-doc h3 { margin-top: 26px; color: var(--blue-dark); font-size: 17px; font-weight: 800; }
.lg-doc ul, .lg-doc ol { display: grid; gap: 8px; padding-left: 1.3em; }
.lg-doc li::marker { color: var(--blue); }
.lg-doc strong { color: var(--ink); font-weight: 700; }
.lg-doc a { color: var(--blue-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.lg-doc table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.lg-doc th { padding: 10px 12px; background: var(--smoke); color: var(--ink); font-weight: 800; text-align: left; }
.lg-doc td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.lg-tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.lg-tbl table { min-width: 560px; }
.legal-page footer { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
@media (max-width: 980px) {
  .lg-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lg-side { position: static; max-height: none; overflow: visible; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--smoke); }
  .lg-toc ol { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 640px) {
  .lg-hero { padding: calc(var(--nav-h) + 24px) 0 28px; }
  .lg-body { padding: 28px 0 64px; }
  .lg-toc ol { grid-template-columns: minmax(0, 1fr); }
  .lg-doc { font-size: 15.5px; }
}

/* ── Antes de pagar: aceptar los documentos (lo abre js/planes.js) ─────── */
.ck-dlg {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 28px;
  background: var(--white);
  color: var(--body);
  box-shadow: 0 40px 100px rgba(16, 28, 48, 0.35);
}
.ck-dlg::backdrop { background: rgba(16, 24, 40, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ck-dlg[open] { animation: ckIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes ckIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.ck-card { position: relative; display: grid; gap: 14px; padding: 30px 28px 26px; }
.ck-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.ck-x {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--smoke);
  color: var(--ink);
  cursor: pointer;
}
.ck-x svg { width: 20px; height: 20px; transform: rotate(45deg); }
.ck-x:hover { background: var(--blue-soft); color: var(--blue-dark); }
.ck-k { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--blue-dark); font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.ck-k .pl-steps { margin: 0; width: 64px; }
.ck-card h2 { margin: 0; padding-right: 40px; color: var(--ink); font-size: clamp(26px, 4vw, 32px); line-height: 1.1; letter-spacing: -0.02em; }
.ck-lead { margin: -4px 0 0; }
.ck-facts { display: grid; gap: 10px; margin: 4px 0 0; padding: 14px 16px; border-radius: 18px; background: var(--smoke); list-style: none; font-size: 14.5px; line-height: 1.45; }
.ck-facts li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.ck-facts li[hidden] { display: none; }
.ck-facts svg { width: 18px; height: 18px; margin-top: 1px; color: var(--blue); }
.ck-check {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.ck-check:hover { border-color: rgba(59, 130, 246, 0.45); }
.ck-check:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.ck-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.ck-docs { margin: -4px 0 0; color: var(--muted); font-size: 13.5px; }
.ck-docs a { color: var(--blue-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ck-need { margin: 0; color: #B42318; font-size: 14px; font-weight: 700; }
.ck-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.ck-actions .btn { min-height: 52px; }
#ckGo[aria-disabled="true"] { opacity: 0.45; filter: saturate(0.6); }
@media (max-width: 520px) {
  .ck-card { padding: 26px 18px 18px; }
  .ck-card::before { left: 18px; right: 18px; }
  .ck-actions { flex-direction: column-reverse; }
  .ck-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-dlg[open] { animation: none; }
}
