/* Planes. Usa tokens y componentes de styles.css.
   Cada plan lleva un acento de los colores del logotipo, como en el sitio actual. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.plan--azul { --pc: #0068E8; --pc-soft: #EAF3FF; }
.plan--verde { --pc: #1E9E4A; --pc-soft: #E8F7EE; }
.plan--amarillo { --pc: #E09A00; --pc-soft: #FFF5DC; }
.plan--rojo { --pc: #D8131B; --pc-soft: #FDECEC; }

/* encabezado */
.pl-hero { position: relative; isolation: isolate; padding: clamp(48px, 7vw, 88px) 0 clamp(120px, 12vw, 150px); }
.pl-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(55% 80% at 85% 10%, rgba(0,104,232,.14), transparent 70%),
  linear-gradient(180deg, #fff 0%, var(--sky) 100%); }
.pl-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; max-width: 900px; margin-bottom: 18px; }
.pl-hero .lead { max-width: 680px; margin-bottom: 26px; }
.pl-diff { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pl-diff li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 650; color: var(--navy); font-size: .93rem; }
.pl-diff svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* tarjetas */
.pl-grid-sec { margin-top: clamp(-110px, -9vw, -80px); position: relative; z-index: 2; padding-bottom: 24px; }
.plans { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1120px; margin: 0 auto; }
.plan article { position: relative; height: 100%; display: flex; flex-direction: column; padding: 26px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 1px 2px rgba(7,27,72,.05), 0 24px 48px -32px rgba(7,27,72,.45); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.plan article::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--pc); }
.plan article:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--pc) 35%, var(--line)); box-shadow: 0 1px 2px rgba(7,27,72,.05), 0 34px 60px -34px rgba(7,27,72,.5); }
.plan__head h3 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.plan__head h3 i { width: 12px; height: 12px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 0 4px var(--pc-soft); }
.plan__ideal { margin: 0 0 20px; font-size: .95rem; color: var(--ink-2); min-height: 3em; }
.plan__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 10px; }
.plan__nums div { padding: 12px; border-radius: 14px; background: var(--pc-soft); }
.plan__nums dt { font-size: .74rem; font-weight: 700; color: var(--ink-2); margin-bottom: 2px; }
.plan__nums dd { margin: 0; display: grid; }
.plan__nums b { font-size: 2.1rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.plan__nums span { font-size: .8rem; color: var(--ink-2); line-height: 1.25; margin-top: 4px; }
.plan__emp { margin: 0 0 18px; font-size: .9rem; font-weight: 650; color: var(--navy); }
.plan__label { margin: 0 0 8px; font-size: .78rem; font-weight: 700; color: var(--ink-3); }
.plan__states { list-style: none; display: grid; gap: 6px; margin-bottom: 18px; }
.plan__states li { display: flex; align-items: center; gap: 10px; font-size: .93rem; color: var(--navy); }
.plan__states li.off { color: #8A99B0; }
.ok { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.no { display: inline-grid; place-items: center; width: 20px; flex: none; color: #B4C1D3; font-weight: 700; }
.plan__note { margin: -6px 0 16px; padding: 8px 10px; border-radius: 10px; background: #F5F8FC; font-size: .84rem; color: var(--ink-2); }
.plan__cta { margin-top: auto; }
.pl-price { margin: 22px auto 0; max-width: 760px; text-align: center; font-size: .95rem; color: var(--ink-2); }

/* precio */
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 4px; color: var(--navy); }
.plan__cur { font-weight: 700; font-size: 1.05rem; align-self: flex-start; margin-top: 8px; }
.plan__price b { font-size: clamp(2.8rem, 4vw, 3.4rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.plan__per { font-size: .98rem; color: var(--ink-2); font-weight: 600; }
.plan__trial { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; min-height: 28px; margin: 6px 0 18px; padding: 4px 12px; border-radius: 999px; background: #E5F6EC; color: var(--green-ink); font-weight: 700; font-size: .85rem; }
.plan__trial::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.plan__trial--empty { visibility: hidden; }

/* Enterprise a medida */
.ent { padding-top: clamp(48px, 6vw, 80px); }
.ent__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1120px; margin: 0 auto; }
.ent__copy h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); letter-spacing: -.03em; line-height: 1.08; margin-bottom: 16px; }
.ent__copy > p { font-size: 1.1rem; }
.ent__card { border-radius: 22px; }
.ent__card .formcard__title { margin-bottom: 4px; }
.ent__sub { margin: 0 0 20px; color: var(--ink-2); }
.ent__card .grid-2c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.ent__card textarea { min-height: 110px; }
.btn--dark { --bg: var(--navy); --fg: #fff; }
.btn--dark:hover { --bg: #0D2A66; --fg: #fff; }
@media (max-width: 600px) { .ent__card .grid-2c { grid-template-columns: 1fr; } }

/* incluido en todos */
.incl { padding-top: clamp(56px, 7vw, 96px); }
.incl__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.incl__list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.incl__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky); }
.incl__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.incl__list h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.incl__list p { margin: 0; font-size: .95rem; }

/* tabla comparativa */
.cmp-sec { background: #FBFDFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cmp-wrap { position: relative; border-radius: 20px; }
.cmp-wrap:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.cmp-wrap:focus:not(:focus-visible) { outline: none; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.cmp thead th, .cmp thead td { position: sticky; top: 106px; z-index: 3; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cmp thead tr > :first-child { border-top-left-radius: 20px; }
.cmp thead tr > :last-child { border-top-right-radius: 20px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: center; font-size: .95rem; color: var(--navy); }
.cmp thead th { padding: 18px 12px 14px; vertical-align: bottom; }
.cmp__name { display: inline-flex; align-items: center; gap: 8px; font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; }
.cmp__name i { width: 10px; height: 10px; border-radius: 50%; }
.cmp__name--azul i { background: #0068E8; } .cmp__name--verde i { background: #1E9E4A; } .cmp__name--amarillo i { background: #E09A00; } .cmp__name--rojo i { background: #D8131B; }
.cmp__cta { display: block; margin: 8px auto 0; width: max-content; padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 650; text-decoration: none; color: var(--blue-700); background: var(--sky); }
.cmp__cta:hover { background: var(--blue); color: #fff; }
.cmp tbody th { text-align: left; font-weight: 600; width: 32%; }
.cmp__hint { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-3); }
.cmp tbody tr:not(.cmp__group) th, .cmp tbody tr:not(.cmp__group) td { border-bottom: 1px solid #EEF3F9; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:not(.cmp__group):hover > * { background: #F7FAFE; }
.cmp__group th { padding: 22px 16px 8px; text-align: left; font-size: .78rem; font-weight: 700; color: var(--ink-3); background: #fff; }
.cmp td .ok { display: inline-block; vertical-align: middle; }

/* estados */

/* responsive */
@media (max-width: 1180px) {
  .incl__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .ent__grid { grid-template-columns: 1fr; }
  .cmp-wrap { overflow-x: auto; }
  .cmp { min-width: 720px; }
  .cmp thead th, .cmp thead td { position: static; }
  .cmp tbody tr:not(.cmp__group) th, .cmp thead td { position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 1px 0 0 var(--line); }
}
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .incl__list { grid-template-columns: 1fr; }
  .plan__ideal { min-height: 0; }
  .pl-diff li { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .plan article { transition: none; }
  .plan article:hover { transform: none; }
}

/* comparación desplegable: se ven precio y capacidad; el resto se abre */
.cmp-wrap.is-collapsed .cmp__more { display: none; }
.cmp-wrap.is-collapsed tbody tr:not(.cmp__more):last-of-type th, .cmp-wrap.is-collapsed tbody tr:not(.cmp__more):last-of-type td { border-bottom: 0; }
.cmp-wrap.is-open .cmp__more { animation: cmp-in .35s var(--ease) both; }
@keyframes cmp-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cmp-more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: -1px; padding-top: 18px; }
.cmp-more[hidden] { display: none; }
.cmp-more__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; box-shadow: 0 12px 26px -20px rgba(7,27,72,.6); transition: border-color .2s, color .2s, background-color .2s; }
.cmp-more__btn:hover { border-color: var(--blue); color: var(--blue-700); }
.cmp-more__btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cmp-more__btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.cmp-more__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.cmp-more__hint { margin: 0; font-size: .88rem; color: var(--ink-3); text-align: center; }
@media (prefers-reduced-motion: reduce) { .cmp-wrap.is-open .cmp__more { animation: none; } .cmp-more__btn svg { transition: none; } }
/* nota de pago por empresa (Corporativo) */
.plan__emp-note, .cmp__note { font-weight: 400; color: var(--ink-2); }
.plan__emp-note { display: block; font-size: .85rem; margin-top: 2px; }
.cmp__note { display: block; font-size: .8rem; margin-top: 2px; }

/* ---------- comparativo: estructura por grupos, filas alternadas y columnas separadas ---------- */
.cmp { box-shadow: 0 24px 48px -36px rgba(7,27,72,.35); }
/* esquinas redondeadas sin overflow:hidden (que rompería el encabezado fijo) */
.cmp tbody tr:last-child > :first-child { border-bottom-left-radius: 20px; }
.cmp tbody tr:last-child > :last-child { border-bottom-right-radius: 20px; }
.cmp-wrap.is-collapsed .cmp__end > :first-child { border-bottom-left-radius: 20px; }
.cmp-wrap.is-collapsed .cmp__end > :last-child { border-bottom-right-radius: 20px; }
.cmp-wrap.is-collapsed .cmp__end > * { border-bottom: 0 !important; }
.cmp__group th { border-radius: 0; }
.cmp thead th, .cmp thead td { border-bottom: 2px solid var(--blue); }
.cmp thead th + th { box-shadow: inset 1px 0 0 #E3ECF7; }
.cmp tbody td { box-shadow: inset 1px 0 0 #E3ECF7; }
.cmp tbody tr:not(.cmp__group) th, .cmp tbody tr:not(.cmp__group) td { border-bottom: 1px solid #E8F0FA; background: #fff; }
.cmp tbody tr.cmp__alt > th, .cmp tbody tr.cmp__alt > td { background: #F3F8FF; }
.cmp tbody tr:not(.cmp__group):hover > * { background: #E6F1FF; }
.cmp__group th { padding: 12px 16px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: #DDEBFC; border-top: 1px solid #C9DDF7; border-bottom: 1px solid #C9DDF7; box-shadow: inset 4px 0 0 var(--blue); }
.cmp tbody tr:first-child.cmp__group th { border-top: 0; }
.cmp tbody th { font-weight: 650; }
.cmp td .ok { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: #E3F5EA; }
.cmp td .no { color: #A9B6C8; }
.cmp tbody tr:first-of-type + tr td { font-weight: 800; font-size: 1.02rem; }
@media (max-width: 1080px) {
  .cmp tbody tr:not(.cmp__group) th { box-shadow: 1px 0 0 #D6E2F2; }
  .cmp tbody tr.cmp__alt > th { background: #F3F8FF; }
}
.cmp thead th, .cmp thead td { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Early access: los precios publicados ya llevan el 50% de descuento ---------- */
.ea-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: 860px; margin: 0 auto 28px; padding: 14px 20px; border-radius: 16px; background: linear-gradient(90deg, #071B48, #0B3A8F); color: #fff; box-shadow: 0 18px 40px -28px rgba(7,27,72,.8); }
.ea-banner p { flex: 1; min-width: 240px; margin: 0; color: #DCE8FA; font-size: 1.02rem; }
.ea-banner strong { color: #fff; }
.ea-banner__pill { flex: none; padding: 5px 12px; border-radius: 999px; background: #fff; color: #071B48; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.ea-tag { align-self: flex-start; margin: 0 0 8px; padding: 4px 10px; border-radius: 999px; background: #FFF3D6; color: var(--amber-ink); font-size: .78rem; font-weight: 800; letter-spacing: .03em; }
.ea-was { margin: 4px 0 6px; font-size: 1.08rem; color: var(--ink-3); }
.ea-was s { font-weight: 600; }
.ea-was s, .ea-cell-was s { color: var(--ink-2); }
.ea-cell { display: block; font-weight: 800; }
.ea-cell-was { display: block; font-size: .9rem; font-weight: 500; color: var(--ink-3); }
/* franja Early access: una sola línea, centrada */
.ea-banner { justify-content: center; text-align: left; }
.ea-banner p { flex: 0 1 auto; min-width: 0; }
@media (min-width: 900px) { .ea-banner p { white-space: nowrap; } }
/* respuestas con lista en las preguntas frecuentes */
details > div ul { list-style: disc; margin: 8px 0 12px; padding-left: 22px; }
details > div li { margin-bottom: 8px; padding-left: 2px; }
details > div li::marker { color: var(--blue); }
details > div p + ul, details > div ul + p { margin-top: 8px; }


/* ===== estados de publicación: tres tarjetas con los planes que incluyen cada uno ===== */
.sts { --c-ppc: #1A8E2E; --s-ppc: #E5F6EC; --c-pg: #B98300; --b-pg: #E2A000; --s-pg: #FFF3D6; --c-bt: #0068E8; --s-bt: #EAF6FF;
  background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); }
.sts--ppc, .pst--ppc { --c: var(--c-ppc, #1A8E2E); --b: var(--c-ppc, #1A8E2E); --s: var(--s-ppc, #E5F6EC); }
.sts--pg, .pst--pg { --c: var(--c-pg, #B98300); --b: var(--b-pg, #E2A000); --s: var(--s-pg, #FFF3D6); }
.sts--bt, .pst--bt { --c: var(--c-bt, #0068E8); --b: var(--c-bt, #0068E8); --s: var(--s-bt, #EAF6FF); }
.sts__head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 4vw, 52px); }
.sts__head h2 { margin: 0 0 12px; }
.sts__head p { font-size: 1.1rem; margin: 0; }
.sts__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sts__card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 26px; box-shadow: 0 26px 48px -34px rgba(7,27,72,.55); overflow: hidden; transition: transform .3s var(--ease); }
.sts__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--b); }
.sts__card:hover { transform: translateY(-6px); }
.sts__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--s); color: var(--b); margin-bottom: 18px; }
.sts__ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sts__card h3 { font-size: 1.5rem; margin: 0 0 10px; }
.sts__card p { margin: 0 0 20px; font-size: 1rem; flex: 1; }
.sts__plans { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; border-top: 1px dashed var(--line); }
.sts__plans li { font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #F1F5FB; color: #5F6B80; }
.sts__plans li.is-on { background: var(--s); color: var(--navy); }
.sts__plans li.is-on::before { content: "✓ "; color: var(--c); }
/* en cada plan: los estados como píldoras de color; el no incluido, en gris y tachado */
.plan__pst { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pst { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 12px; font-weight: 700; font-size: .9rem; background: var(--s); color: var(--navy); border: 1px solid color-mix(in srgb, var(--b) 35%, #fff); }
.pst i { width: 9px; height: 9px; border-radius: 50%; background: var(--b); }
.pst.is-off { background: #F4F6FA; color: #5F6B80; border-color: #E6EAF1; text-decoration: line-through; }
.pst.is-off i { background: #C9D1DD; }
@media (max-width: 900px) { .sts__list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sts__card { transition: none; } .sts__card:hover { transform: none; } }
