/* Landing comercial — colores del logo CMSGO sobre los tokens de cmsgo-brand.css.
   Tipografía de Google Fonts (brand_fonts()): Barlow Condensed, Barlow y Source Serif 4. */
body.saas {
  --go-blue: #075BFA;
  --go-azure: #087DFF;
  --go-cyan: #08C9E8;
  --go-navy: #0B192B;
  --go-gradient: linear-gradient(90deg, #075BFA 0%, #087DFF 55%, #08C9E8 100%);

  --am-green: #087DFF;
  --am-green-600: #075BFA;
  --am-green-700: #0650D9;
  --am-green-800: #0B3F9E;
  --am-green-50: #EAF3FF;
  --am-green-100: #CFE3FF;
  --bg: #F6F8FB;
  --surface-2: #F9FBFD;
  --peach: #E3F8FC;
  --peach-soft: #F0FBFD;
  --ink: #0B192B;
  --ink-2: #1B2A3F;
  --ink-3: #4A5A70;
  --ink-4: #7A879A;
  --line: #DDE3EC;
  --line-2: #EBEFF5;
  --focus: 0 0 0 3px rgba(8,125,255,.25);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-sans: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;

  background: var(--bg); font-size: 15px; font-family: var(--font-sans);
}
/* Títulos de cmsgo-brand.css / cms.css que también aparecen en registro y pago */
.saas .page-title, .saas .card-title, .saas .page-eyebrow, .saas .modal-head h3, .saas .cc-name { font-family: var(--font-display); }
.saas .cc-mono { font-family: var(--font-serif); }
.saas .btn-primary { background: var(--go-gradient); border-color: transparent; }
.saas .btn-primary:hover { background: linear-gradient(90deg, #064CD6 0%, #0769E0 55%, #07ADC9 100%); }
.saas .btn-ghost { color: var(--go-navy); border-color: var(--line); }
.saas .btn-ghost:hover { border-color: var(--go-azure); color: var(--go-blue); background: var(--am-green-50); }
.saas a { text-decoration: none; }
.s-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Barra superior */
.s-nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.s-nav .s-wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.s-nav .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.s-nav .brand img { height: 28px; width: auto; }
.s-nav .links { display: flex; gap: 22px; margin-left: 12px; font-weight: 600; font-size: 14px; }
.s-nav .links a { color: var(--ink-3); }
.s-nav .links a:hover { color: var(--ink); }
.s-nav .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (max-width: 820px) { .s-nav .links { display: none; } }
@media (max-width: 480px) {
  .s-nav .s-wrap { gap: 10px; padding: 0 16px; }
  .s-nav .brand .pb-sep, .s-nav .brand .pb-app { display: none; }
  .s-nav .right .btn { padding: 6px 10px; font-size: 12.5px; }
  .s-wrap { padding: 0 16px; }
  .cta-band { padding: 36px 22px; }
}

/* Hero */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle at 35% 40%, rgba(8,201,232,.18), rgba(8,125,255,.10) 55%, transparent 72%); z-index: -1; }
.hero .s-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--am-green-700); margin: 0 0 12px; }
.display { font-family: var(--font-display); font-weight: 900; font-size: clamp(42px, 6.2vw, 76px); line-height: .92; letter-spacing: -.03em; color: var(--ink); margin: 0 0 18px; }
.display em { font-style: normal; background: var(--go-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-family: var(--font-serif); font-size: 19px; line-height: 1.55; color: var(--ink-3); max-width: 520px; margin: 0 0 26px; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-lg { padding: 13px 22px; font-size: 15px; }
.hero .proof { margin-top: 22px; font-size: 13px; color: var(--ink-4); display: flex; gap: 16px; flex-wrap: wrap; }
.hero .proof b { color: var(--ink-2); }
@media (max-width: 900px) { .hero .s-wrap { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }

/* Maqueta del producto */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-pop); overflow: hidden; transform: rotate(-1deg); }
.mock .bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.mock .bar span { margin-left: 10px; font-size: 11px; color: var(--ink-4); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.mock .site-head { padding: 14px 18px 8px; font-family: var(--font-display); font-weight: 900; font-size: 26px; letter-spacing: -.02em; }
.mock .site-head span { color: var(--am-green); }
.mock .site-nav { display: flex; gap: 14px; padding: 0 18px 10px; border-bottom: 3px solid var(--am-green); font-family: var(--font-display); font-weight: 700; font-size: 12px; text-transform: uppercase; color: var(--ink-2); }
.mock .content { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; padding: 16px 18px 20px; }
.mock .ph { background: linear-gradient(135deg, var(--am-green-100), var(--peach)); border-radius: 10px; aspect-ratio: 16/10; }
.mock .k { font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: .1em; color: var(--am-green-700); text-transform: uppercase; margin-top: 10px; }
.mock .h { font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 1; margin-top: 4px; }
.mock .line { height: 8px; background: var(--line-2); border-radius: 4px; margin-top: 8px; }
.mock .side .item { border-bottom: 1px solid var(--line-2); padding-bottom: 10px; margin-bottom: 10px; }
.mock .side .item .h { font-size: 14px; }

/* Secciones */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 4vw, 46px); line-height: 1; letter-spacing: -.02em; margin: 0 0 12px; }
.section-head p { font-family: var(--font-serif); font-size: 17px; color: var(--ink-3); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; color: var(--ink-2); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.pillar h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 12px 0 6px; }
.pillar p { color: var(--ink-3); margin: 0; font-size: 14.5px; }
.pillar ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; display: grid; gap: 4px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 32px; }
.feature .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--am-green-50); color: var(--am-green-700); display: grid; place-items: center; margin-bottom: 12px; }
.feature .ico svg { width: 20px; height: 20px; }
.feature h4 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 4px; }
.feature p { color: var(--ink-3); margin: 0; font-size: 14.5px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Planes */
.cycle-toggle { display: inline-flex; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.cycle-toggle button { padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-3); }
.cycle-toggle button.on { background: var(--ink); color: #fff; }
.cycle-toggle .save { font-size: 11px; background: var(--am-green-50); color: var(--am-green-800); border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.cycle-toggle button.on .save { background: var(--am-green); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; }
.plan.hl { border: 2px solid var(--am-green); box-shadow: 0 16px 40px -18px rgba(7,91,250,.40); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--go-gradient); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.plan h3 { font-family: var(--font-display); font-weight: 900; font-size: 28px; margin: 0; letter-spacing: -.01em; }
.plan .desc { color: var(--ink-3); font-size: 14px; margin: 4px 0 18px; min-height: 40px; }
.plan .price { font-family: var(--font-display); font-weight: 900; font-size: 46px; line-height: 1; letter-spacing: -.02em; }
.plan .price small { font-family: var(--font-sans); font-weight: 500; font-size: 14px; color: var(--ink-4); letter-spacing: 0; }
.plan .sub { font-size: 12.5px; color: var(--ink-4); margin: 6px 0 18px; min-height: 18px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; font-size: 14px; color: var(--ink-2); }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--am-green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23075BFA' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan .trial { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--am-green-800); background: var(--am-green-50); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }

/* Templates */
.tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--am-green-700); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-3); margin: 10px 0 0; font-family: var(--font-serif); font-size: 16px; }

/* CTA final y pie */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 52px 40px; display: flex; gap: 26px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: var(--go-gradient); opacity: .35; }
.cta-band h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4vw, 44px); line-height: 1; margin: 0 0 8px; }
.cta-band p { color: #B7C4D6; margin: 0; }
.s-foot { padding: 40px 0; color: var(--ink-4); font-size: 13px; }
.s-foot .s-wrap { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.s-foot img { height: 22px; }
.s-foot a { color: var(--ink-3); }

/* Registro (wizard) */
.wizard { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding: 36px 0 70px; align-items: start; }
@media (max-width: 900px) { .wizard { grid-template-columns: 1fr; } }
.steps { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 4px; }
.steps .step { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-md); color: var(--ink-3); font-weight: 600; font-size: 14px; cursor: pointer; }
.steps .step .n { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--surface); flex-shrink: 0; }
.steps .step.on { background: var(--am-green-50); color: var(--am-green-800); }
.steps .step.on .n { border-color: var(--am-green); background: var(--am-green); color: #fff; }
.steps .step.done .n { border-color: var(--am-green); color: var(--am-green-700); }
@media (max-width: 900px) { .steps { position: static; flex-direction: row; overflow-x: auto; } .steps .step span:last-child { display: none; } }
.pane { display: none; }
.pane.on { display: block; }
.pane h2 { font-family: var(--font-display); font-weight: 900; font-size: 32px; letter-spacing: -.02em; margin: 0 0 4px; }
.pane > p.lead { color: var(--ink-3); margin: 0 0 22px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 18px; transition: border-color .12s, box-shadow .12s; }
.choice:hover { border-color: var(--am-green-100); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--am-green); box-shadow: 0 0 0 3px var(--am-green-50); }
.choice .t { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.choice .p { font-family: var(--font-display); font-weight: 900; font-size: 28px; margin-top: 6px; }
.choice .p small { font: 500 12px var(--font-sans); color: var(--ink-4); }
.choice .d { color: var(--ink-3); font-size: 13px; margin-top: 4px; }
.pane-foot { display: flex; gap: 10px; justify-content: space-between; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.url-preview { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.url-preview b { color: var(--ink); }
.url-preview .ok { color: var(--am-green-700); font-weight: 700; }
.url-preview .bad { color: #A4231C; font-weight: 700; }
.summary { display: grid; grid-template-columns: 170px 1fr; gap: 10px 16px; font-size: 14px; }
.summary dt { color: var(--ink-4); }
.summary dd { margin: 0; font-weight: 600; }
.total { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.total .v { font-family: var(--font-display); font-weight: 900; font-size: 34px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Pago y éxito */
.narrow { max-width: 720px; margin: 0 auto; padding: 44px 20px 80px; }
.success-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--go-gradient); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.success-mark svg { width: 36px; height: 36px; }
.legal { font-family: var(--font-serif); font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal h2 { font-family: var(--font-display); font-size: 22px; margin: 28px 0 8px; }
