/* ==========================================================================
   Lysistek — hoja de estilos única
   Tipografía: Zilla Slab (display) · IBM Plex Sans (texto) · IBM Plex Mono (datos)
   Regla del sistema: todo lo que se MIDE va en monoespaciada.
   ========================================================================== */

:root {
  --ink: #14181f;
  --ink-2: #1e252f;
  --ink-3: #2a323e;
  --ember: #e2552c;
  --ember-dark: #c04520;
  --ember-soft: #fbebe4;
  --pine: #1f6f78;
  --pine-soft: #e4f0f1;
  --amber: #b8791d;
  --bone: #f4f6f9;
  --paper: #ffffff;
  --slate: #59636f;
  --line: #e2e7ee;
  --line-dark: #343d4b;
  --on-dark: #c3cbd6;

  --r-lg: 16px;
  --r-md: 11px;
  --r-sm: 7px;
  --maxw: 1140px;

  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --slab: "Zilla Slab", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ember); color: #fff; padding: 12px 18px; z-index: 200;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- utilidades ---------- */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 14px;
}
.band--dark .eyebrow { color: var(--ember); }

h1, h2, h3 { font-family: var(--slab); font-weight: 600; letter-spacing: -0.015em; margin: 0; }

h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.16rem; line-height: 1.3; letter-spacing: -0.005em; }

.lede { font-size: 1.06rem; color: var(--slate); max-width: 62ch; margin: 16px 0 0; }
.band--dark .lede { color: var(--on-dark); }

.band { padding: 92px 0; }
.band--bone { background: var(--bone); }
.band--dark { background: var(--ink); color: #fff; }
.band--tight { padding: 64px 0; }

.head { max-width: 720px; margin-bottom: 52px; }

/* ---------- botones ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 0.97rem; font-weight: 600;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ember); color: #fff; }
.btn--primary:hover { background: var(--ember-dark); }
.btn--ghost { border-color: var(--line-dark); color: #fff; }
.btn--ghost:hover { border-color: var(--ember); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- cabecera ---------- */

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 24, 31, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-head__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand__mark { width: 26px; height: 26px; flex: 0 0 26px; }
.brand__name { font-family: var(--slab); font-weight: 700; font-size: 1.24rem; letter-spacing: -0.02em; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--on-dark); text-decoration: none; font-size: 0.94rem; font-weight: 500;
  transition: color .15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line-dark); color: #fff;
  border-radius: var(--r-sm); padding: 7px 12px; font-size: 0.9rem; cursor: pointer;
  font-family: var(--sans);
}

/* ---------- hero ---------- */

.hero { background: var(--ink); color: #fff; padding: 84px 0 96px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--ember); }
.hero__sub { font-size: 1.14rem; color: var(--on-dark); max-width: 46ch; margin: 22px 0 0; }

.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; list-style: none; padding: 0; }
.creds li {
  font-family: var(--mono); font-size: 12.5px; color: var(--on-dark);
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 13px;
}

/* ---------- ticket (elemento firma) ---------- */

.ticket {
  background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: var(--r-lg); padding: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.ticket__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket__id { font-size: 13px; color: var(--on-dark); font-weight: 500; }
.ticket__subject {
  font-family: var(--slab); font-size: 1.3rem; font-weight: 600;
  margin: 16px 0 4px; color: #fff; line-height: 1.25;
}
.ticket__meta { font-family: var(--mono); font-size: 12.5px; color: #7d8794; margin: 0 0 22px; }

.chip {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.chip--critica { background: var(--ember); color: #fff; }
.chip--alta { background: var(--amber); color: #fff; }
.chip--media { background: var(--pine); color: #fff; }
.chip--baja { background: #5b6673; color: #fff; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.steps li {
  display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px;
  padding: 9px 0; opacity: .38; transition: opacity .45s ease;
}
.steps li.is-on { opacity: 1; }
.steps__dot {
  width: 11px; height: 11px; margin-left: 7px; border-radius: 50%;
  border: 2px solid #5b6673; background: transparent; transition: all .45s ease;
}
.is-on .steps__dot { border-color: var(--pine); background: var(--pine); }
.steps li:last-child.is-on .steps__dot { border-color: var(--ember); background: var(--ember); }
.steps__label { font-size: 0.95rem; color: #fff; }
.steps__time { font-family: var(--mono); font-size: 12px; color: #7d8794; }

.ticket__foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-dark);
  font-family: var(--mono); font-size: 12.5px; color: #7d8794;
}
.ticket__foot b { color: var(--pine-soft); font-weight: 600; font-size: 15px; }
.ticket__note { font-size: 12.5px; color: #7d8794; margin: 16px 0 0; text-align: center; }

/* ---------- rejillas y tarjetas ---------- */

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
}
.band--bone .card { background: var(--paper); }
.band--dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--slate); font-size: 0.97rem; }
.band--dark .card p { color: var(--on-dark); }

.card--link { text-decoration: none; display: block; transition: transform .16s ease, border-color .16s ease; }
.card--link:hover { transform: translateY(-3px); border-color: var(--ember); }
.card__more { display: inline-block; margin-top: 18px; color: var(--ember); font-weight: 600; font-size: 0.95rem; }

.icon {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  margin-bottom: 18px;
}
.icon--ember { background: var(--ember-soft); color: var(--ember-dark); }
.icon--pine { background: var(--pine-soft); color: var(--pine); }
.icon svg { width: 20px; height: 20px; }

/* nivel N1/N2/N3 */
.level__tag {
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em;
  padding: 6px 12px; border-radius: var(--r-sm); display: inline-block; margin-bottom: 16px;
}
.level__tag--1 { background: var(--ember); color: #fff; }
.level__tag--2 { background: var(--pine); color: #fff; }
.level__tag--3 { background: var(--ink); color: #fff; }

.list { list-style: none; margin: 16px 0 0; padding: 0; }
.list li {
  position: relative; padding-left: 22px; margin-bottom: 11px;
  font-size: 0.96rem; color: var(--slate);
}
.list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--ember);
}
.list--pine li::before { background: var(--pine); }
.band--dark .list li { color: var(--on-dark); }

/* ---------- tabla SLA ---------- */

.sla { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.sla caption { text-align: left; color: var(--slate); font-size: 0.95rem; padding-bottom: 14px; }
.sla th {
  text-align: left; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--slate); font-weight: 500; padding: 0 18px 6px;
}
.sla td { background: var(--paper); padding: 18px; vertical-align: middle; font-size: 0.96rem; }
.sla tbody tr td:first-child { border-radius: var(--r-md) 0 0 var(--r-md); }
.sla tbody tr td:last-child { border-radius: 0 var(--r-md) var(--r-md) 0; }
.sla .num { font-family: var(--mono); font-weight: 600; font-size: 1.02rem; white-space: nowrap; }
.sla .desc { color: var(--slate); }

/* ---------- gráfico del informe ---------- */

.chart { display: flex; align-items: flex-end; gap: 14px; height: 210px; margin-top: 8px; }
.chart__col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.chart__bar { background: var(--pine); border-radius: 5px 5px 0 0; width: 100%; }
.chart__val { font-family: var(--mono); font-size: 12.5px; color: var(--slate); text-align: center; margin-bottom: 7px; }
.chart__lbl { font-family: var(--mono); font-size: 11.5px; color: var(--slate); text-align: center; margin-top: 9px; }

/* ---------- planes ---------- */

.plan { display: flex; flex-direction: column; height: 100%; }
.plan--hi { background: var(--ink); border-color: var(--ink); color: #fff; }
.plan--hi h3, .plan--hi .plan__for { color: #fff; }
.plan--hi .list li { color: var(--on-dark); }
.plan--hi .list li::before { background: var(--ember); }
.plan__kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--pine); margin: 0 0 8px; }
.plan--hi .plan__kicker { color: var(--ember); }
.plan__for { font-size: 0.93rem; font-style: italic; color: var(--ink); margin: 0 0 4px; }

/* ---------- estadísticas ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.stats--2 { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
.stats li { border-left: 2px solid var(--ember); padding-left: 16px; }
.stats b { display: block; font-family: var(--mono); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.stats span { font-size: 0.88rem; color: var(--slate); }
.band--dark .stats span { color: var(--on-dark); }

/* ---------- FAQ ---------- */

.faq details {
  border-bottom: 1px solid var(--line); padding: 20px 0;
}
.faq summary {
  font-family: var(--slab); font-size: 1.1rem; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--ember); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); margin: 14px 0 0; max-width: 72ch; font-size: 0.98rem; }

/* ---------- formulario ---------- */

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper); color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ember); outline: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: 0.85rem; color: var(--slate); margin: 0; }
.hp { position: absolute; left: -9999px; }

.channels { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.channels a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; }
.channels .mono { font-size: 0.97rem; }

/* ---------- pie ---------- */

.site-foot { background: var(--ink); color: var(--on-dark); padding: 56px 0 34px; font-size: 0.92rem; }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #7d8794; margin: 0 0 14px; font-weight: 500; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-foot__base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.85rem; color: #7d8794; }

/* ---------- avisos ---------- */

.callout {
  border-radius: var(--r-lg); padding: 26px 30px; margin-top: 36px;
  background: var(--ember-soft); border: 1px solid #f2d5c8;
}
.callout p { margin: 0; font-size: 0.98rem; }
.callout--pine { background: var(--pine-soft); border-color: #c9e0e2; }
.band--dark .callout { background: var(--ink-2); border-color: var(--line-dark); color: var(--on-dark); }

.note { font-size: 0.85rem; color: var(--slate); margin-top: 18px; }

/* ---------- animación de entrada ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card--link:hover { transform: none; }
  .steps li { opacity: 1; }
}

/* ---------- responsivo ---------- */

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 46px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .band { padding: 62px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--ink); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 10px 24px 22px; border-bottom: 1px solid var(--line-dark);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line-dark); }
  .nav .btn { margin-top: 14px; border-bottom: none; }

  /* la tabla de SLA se convierte en fichas */
  .sla thead { display: none; }
  .sla, .sla tbody, .sla tr, .sla td { display: block; width: 100%; }
  .sla caption { display: block; width: 100%; }
  .sla tr { background: var(--paper); border-radius: var(--r-md); margin-bottom: 14px; padding: 6px 0; }
  .sla td { padding: 8px 18px; }
  .sla tbody tr td:first-child, .sla tbody tr td:last-child { border-radius: 0; }
  .sla td[data-l]::before {
    content: attr(data-l); display: block; font-family: var(--mono); font-size: 10.5px;
    letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: 3px;
  }
  .chart { height: 160px; gap: 8px; }
}

/* ---------- ficha de especificaciones (portada de la plataforma) ---------- */

.spec { margin: 20px 0 0; display: grid; gap: 0; }
.spec__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0; border-bottom: 1px dashed var(--line-dark);
}
.spec__row:last-child { border-bottom: none; }
.spec__k { font-size: 0.94rem; color: var(--on-dark); }
.spec__v { font-family: var(--mono); font-size: 0.94rem; color: #fff; font-weight: 500; text-align: right; }
.spec__v em { font-style: normal; color: var(--pine-soft); }

/* ---------- explorador de módulos ---------- */

.explorer { margin-top: 8px; }

.explorer__tabs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px;
  border-bottom: 1px solid var(--line); margin-bottom: 32px;
  scrollbar-width: thin;
}
.tab {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--slate);
  background: none; border: none; border-bottom: 3px solid transparent;
  padding: 12px 14px; cursor: pointer; white-space: nowrap;
  transition: color .15s ease, border-color .15s ease;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ember); }
.tab__n {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  background: var(--bone); color: var(--slate); border-radius: 999px; padding: 3px 8px;
}
.tab[aria-selected="true"] .tab__n { background: var(--ember); color: #fff; }

.panel[hidden] { display: none; }
.panel__intro { font-size: 1.02rem; color: var(--slate); max-width: 74ch; margin: 0 0 26px; }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.screen {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 22px;
}
.screen h4 {
  font-family: var(--slab); font-size: 1.03rem; font-weight: 600; margin: 0 0 7px;
  letter-spacing: -0.005em;
}
.screen p { margin: 0; font-size: 0.9rem; color: var(--slate); line-height: 1.55; }
.screen--flag { border-color: #f2d5c8; background: var(--ember-soft); }

/* ---------- flujo numerado ---------- */

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: paso; }
.flow > li { list-style: none; position: relative; padding-top: 42px; }
.flow > li::before {
  counter-increment: paso; content: counter(paso);
  position: absolute; top: 0; left: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  background: var(--pine); color: #fff;
}
.flow h4 { font-family: var(--slab); font-size: 1.02rem; margin: 0 0 7px; font-weight: 600; }
.flow p { margin: 0; font-size: 0.9rem; color: var(--slate); line-height: 1.55; }
.band--dark .flow p { color: var(--on-dark); }
.band--dark .flow h4 { color: #fff; }

/* ---------- nube de roles ---------- */

.roles { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }
.roles li {
  font-size: 0.92rem; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; background: var(--paper);
}
.roles li.is-key { border-color: var(--pine); color: var(--pine); font-weight: 600; }

@media (max-width: 940px) {
  .screens { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}
@media (max-width: 720px) {
  .screens { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .explorer__tabs { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
}

/* ---------- barra superior: soporte / ventas ---------- */

.topbar { background: var(--ink-2); color: var(--on-dark); font-size: 0.84rem; border-bottom: 1px solid var(--line-dark); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; flex-wrap: wrap; }
.topbar__set { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar__lbl {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #7d8794;
}
.topbar__num { font-family: var(--mono); font-weight: 500; }
.topbar__desk {
  border: 1px solid var(--pine); color: var(--pine-soft); border-radius: 999px;
  padding: 4px 13px; font-weight: 600; font-size: 0.82rem;
}
.topbar__desk:hover { background: var(--pine); color: #fff; }

/* ---------- franja de cifras ---------- */

.figures { background: var(--ink-2); }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 42px 0; }
.figures__i { text-align: center; }
.figures__n {
  display: block; font-family: var(--mono); font-size: 2.15rem; font-weight: 600;
  color: var(--ember); line-height: 1.1; margin-bottom: 8px;
}
.figures__i:nth-child(even) .figures__n { color: var(--pine-soft); }
.figures__l { font-size: 0.87rem; color: var(--on-dark); line-height: 1.45; }

/* ---------- tarjetas de servicio ---------- */

.svc {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; text-decoration: none; color: inherit;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.svc:hover { transform: translateY(-3px); border-color: var(--ember); box-shadow: 0 14px 34px rgba(20,24,31,.09); }
.svc h3 { margin-bottom: 10px; }
.svc p { margin: 0; color: var(--slate); font-size: 0.96rem; flex: 1; }
.svc__go { display: inline-block; margin-top: 20px; color: var(--ember); font-weight: 600; font-size: 0.93rem; }

/* ---------- lista con visto bueno ---------- */

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.checks li { position: relative; padding-left: 32px; font-size: 0.97rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--pine-soft);
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4px;
  border-left: 2px solid var(--pine); border-bottom: 2px solid var(--pine);
  transform: rotate(-45deg);
}
.band--dark .checks li::before { background: rgba(31,111,120,.35); }
.band--dark .checks li::after { border-color: var(--pine-soft); }

/* ---------- diferenciadores ---------- */

.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.why__i { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.why__i h3 { margin-bottom: 8px; }
.why__i p { margin: 0; color: var(--slate); font-size: 0.96rem; }
.band--dark .why__i p { color: var(--on-dark); }

/* ---------- franja de tecnologías ---------- */

.techstrip { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.techstrip li {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 8px 14px; color: var(--slate); background: var(--paper);
}
.band--dark .techstrip li { border-color: var(--line-dark); color: var(--on-dark); background: transparent; }

/* ---------- banda de llamada a la acción ---------- */

.ctaband { background: var(--ember); color: #fff; }
.ctaband__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 52px 0; flex-wrap: wrap; }
.ctaband__t { flex: 1 1 480px; }
.ctaband h2 { color: #fff; max-width: 26ch; }
.ctaband p { margin: 12px 0 0; color: #ffe4d9; max-width: 46ch; }
.ctaband .btn--primary { background: #fff; color: var(--ember-dark); }
.ctaband .btn--primary:hover { background: #14181f; color: #fff; }
.ctaband .btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.ctaband .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }

/* ---------- WhatsApp flotante ---------- */

.wa { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: grid; gap: 10px; justify-items: end; }
.wa a {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: #fff; text-decoration: none;
  border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 11px 18px; font-size: 0.88rem; font-weight: 600;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: transform .15s ease, background .15s ease;
}
.wa a:hover { transform: translateY(-2px); }
.wa a.is-support { background: var(--pine); border-color: var(--pine); }
.wa a.is-sales { background: var(--ember); border-color: var(--ember); }
.wa svg { width: 17px; height: 17px; }

/* ---------- página legal ---------- */

.legal h2 { font-size: 1.5rem; margin-top: 40px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--slate); font-size: 0.99rem; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 9px; }

@media (max-width: 940px) {
  .figures__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .why { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .topbar__in { justify-content: center; gap: 12px; padding: 9px 0; }
  .topbar__set { gap: 14px; justify-content: center; }
  .figures__grid { padding: 34px 0; }
  .ctaband__in { padding: 44px 0; }
  .wa { right: 12px; bottom: 12px; gap: 8px; }
  .wa a { padding: 10px 15px; font-size: 0.84rem; }
}

/* ---------- planes comerciales y recomendador ---------- */
.plan__price { font-family: var(--mono); font-size: .9rem; color: var(--slate); margin: -4px 0 14px; }
.plan__cta { margin-top: auto; align-self: flex-start; }
.plan__details + .plan__cta { margin-top: 22px; }
.badge { display:inline-block; margin-left:6px; padding:3px 8px; border-radius:999px; background:var(--ember); color:#fff; font-size:10px; letter-spacing:.04em; vertical-align:middle; }
.plan-picker { display:grid; grid-template-columns: .8fr 1.5fr; gap:26px; align-items:end; margin-bottom:24px; }
.picker-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.picker-grid .field { display:grid; gap:6px; }
.picker-grid .field span { font-family:var(--mono); font-size:10px; text-transform:uppercase; letter-spacing:.07em; color:var(--slate); }
.recommendation { grid-column:1/-1; padding:14px 16px; border-radius:var(--r-md); background:var(--pine-soft); color:var(--ink); font-size:.95rem; }
.client-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.client-card { min-height:112px; border:1px solid var(--line); border-radius:var(--r-lg); padding:22px; display:flex; flex-direction:column; justify-content:center; text-decoration:none; background:var(--paper); transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease; }
.client-card:hover { transform:translateY(-3px); border-color:var(--ember); box-shadow:0 12px 28px rgba(20,24,31,.08); }
.client-card strong { font-family:var(--slab); font-size:1.35rem; }
.client-card span { font-family:var(--mono); font-size:11px; color:var(--slate); margin-top:4px; }
.client-card--add { border-style:dashed; background:var(--bone); }
.visitor-badge { position:fixed; left:18px; bottom:18px; z-index:80; display:flex; align-items:center; gap:8px; padding:9px 13px; background:rgba(20,24,31,.94); color:#fff; border:1px solid var(--line-dark); border-radius:999px; box-shadow:0 8px 24px rgba(0,0,0,.18); font-family:var(--mono); font-size:10.5px; }
.visitor-badge strong { color:var(--pine-soft); font-size:12px; }
.visitor-badge__dot { width:7px; height:7px; border-radius:50%; background:var(--pine-soft); }
@media (max-width:940px){ .plan-picker{grid-template-columns:1fr;} .picker-grid{grid-template-columns:repeat(2,1fr);} .client-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:720px){ .picker-grid,.client-grid{grid-template-columns:1fr;} .visitor-badge{left:10px;bottom:10px;} }

/* CTA del recomendador: acceso directo a ventas */
.recommendation__cta {
  display: inline-block;
  margin-left: 8px;
  font-weight: 600;
  color: var(--ember);
  text-decoration: none;
}
.recommendation__cta:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .recommendation__cta { display: block; margin: 10px 0 0; }
}


/* ---------- refinamiento Lysistek 2026 ---------- */
.services-eyebrow { font-size: 1rem; letter-spacing: .20em; font-weight: 700; color: var(--ember); }
.team-links { display:grid; gap:10px; margin-top:18px; }
.team-links a { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 16px; border:1px solid var(--line-dark); border-radius:var(--r-md); color:#fff; text-decoration:none; background:rgba(255,255,255,.03); transition:transform .16s ease,border-color .16s ease,background .16s ease; }
.team-links a:hover { transform:translateY(-2px); border-color:var(--ember); background:rgba(226,85,44,.08); }
.team-links strong { font-family:var(--slab); font-size:1.05rem; }
.team-links span { font-family:var(--mono); font-size:10px; color:#b9c1cb; white-space:nowrap; }
.team-links .team-role { display:block; font-style:normal; font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ember); margin:4px 0 6px; }
.counter { min-width:5ch; display:inline-block; }
.plan__details { margin-top:16px; border-top:1px solid var(--line); padding-top:12px; }
.plan__details summary { cursor:pointer; font-weight:600; color:var(--ember); list-style:none; }
.plan__details summary::-webkit-details-marker { display:none; }
.plan__details summary::after { content:'+'; float:right; font-family:var(--mono); }
.plan__details[open] summary::after { content:'–'; }
.plan__details ul { margin-top:12px; }
@media (max-width:720px){ .team-links a { align-items:flex-start; flex-direction:column; gap:5px; } }

/* ---------- refinamiento visual corporativo 2026 ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 84% 24%, rgba(31,111,120,.12), transparent 30%),
    linear-gradient(180deg, #12171e 0%, #14181f 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to right, black, transparent 78%);
}
.hero__grid { position: relative; }
.hero h1 { max-width: 15ch; font-size: clamp(2.55rem, 5vw, 4.15rem); letter-spacing: -.035em; }
.hero__accent-line { color: #f5f7fa; }
.hero__sub { max-width: 54ch; line-height: 1.7; }
.hero .creds li { background: rgba(255,255,255,.025); }
.ticket { backdrop-filter: blur(8px); border-color: rgba(255,255,255,.11); box-shadow: 0 30px 80px rgba(0,0,0,.34); }
.ticket__subject { font-size: 1.45rem; }
.steps li { min-height: 45px; border-radius: 9px; padding-left: 4px; padding-right: 4px; }
.steps li.is-active { background: rgba(226,85,44,.08); transform: translateX(4px); }
.steps li.is-active .steps__label { font-weight: 600; }
.steps li.is-active .steps__dot { box-shadow: 0 0 0 5px rgba(31,111,120,.10); }
.figures { position: relative; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: #11161d; }
.figures__n { line-height: 1; }
.figures__i { padding: 8px 0; }
.figures__i + .figures__i { border-left: 1px solid var(--line-dark); padding-left: 28px; }
.services-eyebrow { font-size: clamp(1.2rem, 2vw, 1.65rem); letter-spacing: .16em; }
.svc { position: relative; min-height: 260px; border-radius: 18px; padding: 30px 30px 88px; background: #fff; border: 1px solid var(--line); text-decoration: none; box-shadow: 0 8px 26px rgba(20,24,31,.045); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc:hover { transform: translateY(-5px); border-color: rgba(226,85,44,.55); box-shadow: 0 18px 40px rgba(20,24,31,.10); }
.svc h3 { font-size: 1.28rem; }
.svc p { color: var(--slate); }
.svc__go { position: absolute; left: 30px; bottom: 24px; color: var(--ember-dark); font-weight: 600; }
.team-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-links a { min-height: 78px; flex-direction: column; align-items: flex-start; justify-content: center; }
.team-links strong { font-size: 1.05rem; }
.team-links span { font-size: 11px; }
.team-links a { gap:2px; }
.team-links__sales { border-color: rgba(226,85,44,.42) !important; background: rgba(226,85,44,.09) !important; }
.plan { position: relative; overflow: hidden; }
.plan--featured { border: 2px solid var(--ember); box-shadow: 0 18px 44px rgba(226,85,44,.12); transform: translateY(-8px); }
.plan--featured::before { content: "MÁS ELEGIDO"; position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; font-weight: 700; background: var(--ember); color: #fff; padding: 6px 9px; border-radius: 999px; }
.callout { border-radius: 16px; }
.faq details { border-radius: 12px; }
.ctaband { position: relative; overflow: hidden; }
.ctaband::after { content:""; position:absolute; width:320px; height:320px; border:1px solid rgba(255,255,255,.18); border-radius:50%; right:-120px; top:-160px; }
.wa a { backdrop-filter: blur(8px); }
@media (max-width: 940px) {
  .hero__grid { gap: 42px; }
  .figures__i + .figures__i { border-left: 0; padding-left: 0; }
  .team-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero { padding: 64px 0 72px; }
  .hero h1 { max-width: 13ch; font-size: clamp(2.35rem, 11vw, 3.2rem); }
  .svc { min-height: 0; padding-bottom: 68px; }
  .team-links { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
}

/* ===== Ajustes finales de presentación y movimiento ===== */
.site-head__in { gap: 34px; }
.brand { flex: 0 0 auto; margin-right: 28px; }
.nav { flex: 1 1 auto; justify-content: flex-end; gap: 22px; }
.nav a { white-space: nowrap; }
.nav-toggle { margin-left: auto; }

.svc__go {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bone); color: var(--ink); font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .02em; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.svc:hover .svc__go { background: var(--ember); border-color: var(--ember); color: #fff; transform: translateX(2px); }
.svc__go b { font-size: 14px; line-height: 1; }

.services-eyebrow { font-size: clamp(1.35rem, 2.4vw, 1.85rem); letter-spacing: .18em; }

.response-flow { margin: 0 0 30px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg,#fff 0%,#f7f9fb 100%); box-shadow: 0 12px 30px rgba(20,24,31,.05); overflow: hidden; }
.response-flow__intro { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:18px; }
.response-flow__intro span { color:var(--ember); font-size:10px; letter-spacing:.12em; }
.response-flow__intro strong { font-family:var(--slab); font-size:1.12rem; font-weight:600; }
.response-flow__track { display:grid; grid-template-columns:1fr auto 1fr auto 1fr; align-items:stretch; gap:10px; }
.response-step { position:relative; min-height:138px; padding:18px; border:1px solid var(--line); border-radius:15px; background:#fff; display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:start; transition:transform .45s ease, box-shadow .45s ease, border-color .45s ease, opacity .45s ease; }
.response-step__tag { display:grid; place-items:center; width:38px; height:38px; border-radius:10px; font-family:var(--mono); font-size:12px; font-weight:700; color:#fff; background:var(--ink); }
.response-step strong { display:block; font-family:var(--slab); font-size:1.02rem; }
.response-step p { margin:5px 0 0; color:var(--slate); font-size:.88rem; line-height:1.45; }
.response-step > b { grid-column:1 / -1; align-self:end; font-family:var(--mono); font-size:10.5px; color:var(--slate); }
.response-step--n1 .response-step__tag { background:var(--ember); }
.response-step--n2 .response-step__tag { background:var(--pine); }
.response-step--n3 .response-step__tag { background:var(--ink); }
.response-step.is-active { transform:translateY(-5px); box-shadow:0 18px 34px rgba(20,24,31,.12); border-color:var(--ember); }
.response-flow__arrow { display:grid; place-items:center; color:var(--ember); font-family:var(--mono); font-size:1.4rem; animation:flowPulse 2.8s ease-in-out infinite; }
@keyframes flowPulse { 0%,100%{opacity:.35;transform:translateX(0)} 50%{opacity:1;transform:translateX(3px)} }
.sla tbody tr { transition:transform .3s ease, box-shadow .3s ease; }
.sla tbody tr.is-highlight td { box-shadow:0 8px 22px rgba(20,24,31,.08); transform:translateY(-2px); }
.sla td { transition:background .3s ease; }

/* ---------- Logos de clientes: solo el logotipo, sin cuadros ni nombres ---------- */
.client-logos { list-style:none; margin:8px 0 0; padding:36px 0 8px; display:grid; grid-template-columns:repeat(3,1fr); gap:44px 32px; align-items:center; justify-items:center; border-top:1px solid var(--line); }
.client-logo { display:flex; align-items:center; justify-content:center; width:100%; height:112px; }
.client-logo img { display:block; width:auto; height:auto; max-width:min(100%,250px); max-height:96px; object-fit:contain; opacity:.92; transition:transform .3s ease, opacity .3s ease; }
.client-logo--square img { max-height:108px; }
.client-logo--wide img { max-width:min(100%,270px); }
.client-logo:hover img { opacity:1; transform:translateY(-3px) scale(1.04); }

@media (max-width: 1040px) {
  .site-head__in { gap:18px; }
  .brand { margin-right:8px; }
  .nav { gap:14px; }
  .nav a { font-size:.88rem; }
}
@media (max-width: 940px) {
  .response-flow__track { grid-template-columns:1fr; }
  .response-flow__arrow { transform:rotate(90deg); height:16px; }
  .response-flow__intro { align-items:flex-start; flex-direction:column; gap:6px; }
  .client-logos { grid-template-columns:repeat(2,1fr); gap:32px 24px; }
}
@media (max-width: 720px) {
  .site-head__in { height:68px; }
  .brand { margin-right:0; }
  .nav { justify-content:flex-start; }
  .client-logos { grid-template-columns:repeat(2,1fr); gap:22px 18px; padding-top:26px; }
  .client-logo { height:84px; }
  .client-logo img { max-height:68px; max-width:min(100%,150px); }
  .client-logo--square img { max-height:78px; }
  .response-flow { padding:18px; }
  .response-step { min-height:120px; }
}
@media (prefers-reduced-motion: reduce) {
  .response-flow__arrow { animation:none; }
  .response-step, .sla tbody tr, .svc__go, .client-logo img { transition:none; }
}


/* ===== Secretaria virtual Lysi ===== */
.lysi-launcher{position:fixed;right:18px;bottom:138px;z-index:1001;display:flex;align-items:center;gap:10px;padding:10px 15px 10px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;box-shadow:0 14px 34px rgba(20,24,31,.16);color:var(--ink);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.lysi-launcher:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(20,24,31,.2)}.lysi-launcher strong,.lysi-launcher small{display:block;text-align:left}.lysi-launcher strong{font-family:var(--slab);font-size:1rem}.lysi-launcher small{font-family:var(--mono);font-size:9px;color:var(--slate);letter-spacing:.03em}.lysi-avatar,.lysi__head-avatar{display:grid;place-items:center;background:var(--ink);color:#fff;border-radius:50%;font-weight:700}.lysi-avatar{width:38px;height:38px}.lysi{position:fixed;right:18px;bottom:208px;z-index:1002;width:min(390px,calc(100vw - 28px));height:min(600px,calc(100vh - 232px));min-height:420px;display:grid;grid-template-rows:auto 1fr auto auto;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(20,24,31,.22);overflow:hidden}.lysi[hidden]{display:none}.lysi__head{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;padding:15px 16px;background:var(--ink);color:#fff}.lysi__head-avatar{width:38px;height:38px;background:var(--ember)}.lysi__head strong,.lysi__head span{display:block}.lysi__head strong{font-family:var(--slab);font-size:1rem}.lysi__head span{font-size:.72rem;opacity:.76;margin-top:2px}.lysi__close{border:0;background:transparent;color:#fff;font-size:26px;line-height:1;cursor:pointer}.lysi__messages{padding:16px;overflow:auto;background:linear-gradient(#f8fafb,#fff)}.lysi-msg{max-width:88%;padding:10px 12px;margin:0 0 10px;border-radius:13px;font-size:.88rem;line-height:1.45;white-space:pre-wrap}.lysi-msg--bot{background:#fff;border:1px solid var(--line);border-top-left-radius:4px}.lysi-msg--user{margin-left:auto;background:var(--ink);color:#fff;border-top-right-radius:4px}.lysi-msg small{display:block;margin-top:5px;font-family:var(--mono);font-size:9px;opacity:.65}.lysi__quick{display:flex;gap:7px;overflow:auto;padding:8px 12px;border-top:1px solid var(--line);background:#fff}.lysi__quick button{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:#fff;padding:7px 9px;font-family:var(--mono);font-size:9px;cursor:pointer}.lysi__quick button:hover{border-color:var(--ember);color:var(--ember)}.lysi__form{display:grid;grid-template-columns:1fr 42px;gap:8px;padding:10px 12px;border-top:1px solid var(--line);background:#fff}.lysi__form input{width:100%;border:1px solid var(--line);border-radius:11px;padding:11px 12px;font:inherit;outline:0}.lysi__form input:focus{border-color:var(--pine);box-shadow:0 0 0 3px rgba(31,111,120,.08)}.lysi__form button{border:0;border-radius:11px;background:var(--ember);color:#fff;font-size:20px;cursor:pointer}.lysi__privacy{margin:0;padding:0 13px 10px;font-family:var(--mono);font-size:8px;color:var(--slate);text-align:center}.lysi__typing{display:inline-flex;gap:3px;padding:11px 13px}.lysi__typing i{width:5px;height:5px;background:var(--slate);border-radius:50%;animation:lysiDot 1s infinite}.lysi__typing i:nth-child(2){animation-delay:.15s}.lysi__typing i:nth-child(3){animation-delay:.3s}@keyframes lysiDot{0%,60%,100%{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}
@media(max-width:720px){.lysi-launcher{right:12px;bottom:116px;padding-right:12px}.lysi-launcher small{display:none}.lysi{right:12px;left:12px;bottom:12px;width:auto;height:min(640px,calc(100vh - 24px));min-height:380px;z-index:1003}}
@media(prefers-reduced-motion:reduce){.lysi-launcher{transition:none}.lysi__typing i{animation:none}}
