/* ==========================================================================
   Golk Systems · estilos de la web (rediseño del 14 nov 2026)
   Móvil primero. Colores y tipografía de marca en las variables de :root.
   Sin dependencias. Las ilustraciones son HTML y CSS (no hay imágenes).
   ========================================================================== */

/* ---------- Fuentes (alojadas en /fonts, sin servicios de terceros) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables de marca ---------- */
:root {
  --ink: #0E1116;          /* texto y fondos oscuros */
  --ink-2: #151921;        /* superficie sobre oscuro */
  --ink-3: #1D222B;        /* superficie elevada sobre oscuro */
  --paper: #F4F5F2;        /* fondo claro */
  --paper-2: #EAECE6;      /* fondo claro alterno */
  --white: #FFFFFF;
  --muted: #3A3F48;        /* texto secundario sobre claro */
  --muted-2: #5B616B;      /* etiquetas pequeñas sobre claro (AA) */
  --muted-dark: #B9BDC4;   /* texto secundario sobre oscuro */
  --accent: #C6F432;       /* verde lima: NUNCA como texto sobre fondo claro */
  --accent-hi: #D6FA62;
  --line: #D5D8D0;         /* bordes sobre claro */
  --line-dark: #2A2F37;    /* bordes sobre oscuro */
  --error-light: #B42318;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 6rem);
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 7.2vw, 4.5rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.dark :focus-visible, .site-header :focus-visible { outline-color: var(--accent); }

.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--accent); color: var(--ink); padding: 0.75rem 1rem;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.sprite { display: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- Superficies ---------- */
.dark { background: var(--ink); color: var(--paper); }
.dark p { color: var(--muted-dark); }
.dark h1, .dark h2, .dark h3, .dark strong { color: var(--paper); }

.section { padding-block: var(--section-y); }
.section-alt { background: var(--paper-2); }

.section-head { max-width: 720px; margin-bottom: clamp(2.25rem, 5vw, 3.25rem); }
.section-head > p:last-child { margin-bottom: 0; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.dark .section-head p { color: var(--muted-dark); }

.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.kicker::before, .eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--accent);
  flex: none;
}
.dark .kicker, .dark .eyebrow { color: var(--muted-dark); }
.dark .kicker::before, .dark .eyebrow::before { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(198, 244, 50, 0.16); }

/* Subrayado lima para la frase clave (el texto sigue en tinta) */
.mark { box-shadow: inset 0 -0.34em 0 var(--accent); }
.dark .hl { color: var(--accent); }

/* Etiqueta «Ejemplo» */
.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.dark .tag { color: var(--muted-dark); border-color: var(--line-dark); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.9375rem; }
.btn-lg { min-height: 56px; padding: 0.9rem 1.75rem; font-size: 1.0625rem; }
.btn-arrow::after { content: "→"; transition: transform 0.15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* Sobre fondo oscuro: lima con texto tinta */
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-hi); box-shadow: 0 10px 30px -12px rgba(198, 244, 50, 0.55); }
/* Sobre fondo claro: tinta con texto claro */
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #262B33; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.btn-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 17, 22, 0.9);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}
.brand { display: block; padding: 6px 0; }
.brand img { width: 92px; height: auto; }
/* Botón de contacto siempre a la vista en el móvil (en escritorio va dentro del menú) */
.header-cta { margin-left: auto; margin-right: 0.25rem; min-height: 40px; padding: 0.45rem 0.9rem; font-size: 0.875rem; white-space: nowrap; }
@media (max-width: 359px) { .header-cta { display: none; } }
/* Arriba del todo ya está el botón grande de la página: el de la cabecera aparece al bajar (lo marca main.js) */
.header-cta { transition: opacity 0.2s ease, visibility 0.2s; }
html:not(.no-js) .site-header:not(.is-scrolled) .header-cta { opacity: 0; visibility: hidden; }
@media (max-width: 1019px) { .site-nav > .btn, .no-js .site-nav > .btn { display: none; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -10px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  padding: 0.5rem var(--gutter) 1.5rem;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin-bottom: 1rem; }
.site-nav li a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}
.site-nav li a:hover { color: var(--accent); }

/* Sin JS el menú queda siempre visible */
.no-js .nav-toggle { display: none; }
.no-js .site-nav { display: block; position: static; padding: 0 0 1rem; }

@media (min-width: 1020px) {
  .brand img { width: 104px; }
  .nav-toggle, .header-cta { display: none; }
  .site-nav, .no-js .site-nav {
    display: flex !important;
    position: static;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: none;
    border: 0;
  }
  .site-nav ul { display: flex; gap: 1.75rem; margin: 0; }
  .site-nav li a { padding: 0.5rem 0; border: 0; font-size: 0.9375rem; color: var(--muted-dark); transition: color 0.15s ease; }
  .site-nav li a:hover { color: var(--paper); }
}

/* ---------- Fondo de nodos (hero y cabeceras de página) ---------- */
.nodes-bg { position: relative; isolation: isolate; overflow: hidden; }
.nodes-bg::before, .nodes-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nodes-bg::before {
  background-image: radial-gradient(rgba(244, 245, 242, 0.13) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 80% at 78% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(70% 80% at 78% 30%, #000 10%, transparent 75%);
}
.nodes-bg::after {
  background: radial-gradient(48% 55% at 85% 22%, rgba(198, 244, 50, 0.11), transparent 70%);
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.75rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6rem); }
.hero-grid { display: grid; gap: clamp(2.75rem, 6vw, 4rem); align-items: center; }
.hero .eyebrow { margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.35rem, 6.6vw, 4rem); max-width: 17ch; margin-bottom: 1.25rem; }
.hero h1 .dim { color: #8C929C; }
.lead { font-size: clamp(1.125rem, 2.3vw, 1.3125rem); line-height: 1.5; }
.hero .lead { max-width: 35rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; }
.hero-actions .btn-link { color: var(--paper); }
.hero-actions .btn-link:hover { color: var(--accent); }
.hero-trust {
  list-style: none; margin: 1.75rem 0 0; padding: 1.5rem 0 0;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.5rem;
  font-size: 0.9375rem; color: var(--muted-dark);
}
.hero-trust li { display: flex; align-items: center; gap: 0.55rem; white-space: nowrap; }
.hero-trust li::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%230E1116' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }

/* ---------- Conversaciones de ejemplo (pestañas por sector, solo CSS) ---------- */
.demo { position: relative; margin: 0; width: 100%; max-width: 440px; justify-self: center; }
@media (min-width: 1000px) { .demo { justify-self: end; } }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.demo-top p { margin: 0; font-size: 0.875rem; color: var(--muted-dark); }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.9rem; }
.demo-tabs label {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line-dark); border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.875rem;
  color: var(--muted-dark);
  cursor: pointer; user-select: none;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.demo-tabs label:hover { color: var(--paper); border-color: #4A515D; }
.demo-panel { display: none; }
#demo-1:checked ~ .demo-tabs label[for="demo-1"],
#demo-2:checked ~ .demo-tabs label[for="demo-2"],
#demo-3:checked ~ .demo-tabs label[for="demo-3"],
#demo-4:checked ~ .demo-tabs label[for="demo-4"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
#demo-1:focus-visible ~ .demo-tabs label[for="demo-1"],
#demo-2:focus-visible ~ .demo-tabs label[for="demo-2"],
#demo-3:focus-visible ~ .demo-tabs label[for="demo-3"],
#demo-4:focus-visible ~ .demo-tabs label[for="demo-4"] { outline: 3px solid var(--accent); outline-offset: 3px; }
#demo-1:checked ~ .demo-panels .demo-panel:nth-child(1),
#demo-2:checked ~ .demo-panels .demo-panel:nth-child(2),
#demo-3:checked ~ .demo-panels .demo-panel:nth-child(3),
#demo-4:checked ~ .demo-panels .demo-panel:nth-child(4) { display: block; }

.chat-window {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 70px -34px rgba(198, 244, 50, 0.4);
}
.chat-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line-dark); background: var(--ink-3); }
.chat-avatar {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0 26%, var(--ink) 27% 50%, var(--accent) 51%);
}
.chat-who { flex: 1; display: grid; margin: 0; line-height: 1.25; min-width: 0; }
.chat-who strong { font-family: var(--font-display); font-weight: 700; color: var(--paper); }
.chat-who span { font-size: 0.8125rem; color: var(--muted-dark); }
.chat-time { font-size: 0.8125rem; color: var(--muted-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chat-body { list-style: none; display: grid; align-content: start; gap: 0.55rem; padding: 1.1rem 1.1rem 1.25rem; }
.demo .chat-body { min-height: 22.5rem; }
.msg { max-width: 88%; padding: 0.55rem 0.85rem; border-radius: 16px; font-size: 0.9rem; line-height: 1.38; }
.msg.in { justify-self: start; background: #252B36; color: var(--paper); border-bottom-left-radius: 5px; }
.msg.out { justify-self: end; background: var(--accent); color: var(--ink); font-weight: 500; border-bottom-right-radius: 5px; }
.msg.sys { justify-self: center; max-width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; padding: 0.35rem 0 0; }
.msg.sys span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8125rem; color: var(--muted-dark);
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 0.25rem 0.7rem;
}
.msg.sys span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
/* Los mensajes van apareciendo; al cambiar de pestaña, la conversación empieza de nuevo */
.chat-anim .msg { animation: msg-in 0.45s var(--ease) both; }
.chat-anim .msg:nth-child(1) { animation-delay: 0.35s; }
.chat-anim .msg:nth-child(2) { animation-delay: 1.4s; }
.chat-anim .msg:nth-child(3) { animation-delay: 2.6s; }
.chat-anim .msg:nth-child(4) { animation-delay: 3.5s; }
.chat-anim .msg:nth-child(5) { animation-delay: 4.6s; }
.chat-anim .msg:nth-child(6) { animation-delay: 5.5s; }
.chat-anim .msg:nth-child(7) { animation-delay: 6.4s; }
.chat-wait .msg { animation: none; opacity: 0; }
@keyframes msg-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ---------- Rejillas ---------- */
.grid { display: grid; gap: 1.25rem; list-style: none; }
@media (min-width: 700px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1040px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.icon {
  width: 28px; height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-badge {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--accent);
}
.icon-badge .icon { width: 26px; height: 26px; stroke-width: 1.5; }

/* ---------- Problema ---------- */
.problem { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.problem .icon { margin-bottom: 0.9rem; }
.problem p, .reason p { color: var(--muted); margin: 0; }
.problem .fix {
  position: relative; margin-top: 1rem; padding: 0.7rem 0.9rem 0.7rem 2.5rem;
  background: var(--ink); color: var(--muted-dark); border-radius: var(--radius-sm);
  font-size: 0.9375rem; line-height: 1.4;
}
.problem .fix strong { color: var(--paper); }
.problem .fix::before {
  content: ""; position: absolute; left: 0.85rem; top: 0.8rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%230E1116' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.problems { align-items: stretch; }
.problems .problem { display: flex; flex-direction: column; }
.problems .problem .fix { margin-top: auto; }
.problems .problem > p:not(.fix) { margin-bottom: 1rem; }
.bridge {
  margin: clamp(2.25rem, 5vw, 3.25rem) 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.bridge strong { font-weight: 700; }

/* ---------- Tarjetas ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2rem);
}
.card > p { color: var(--muted); }
.card > p:last-child { margin-bottom: 0; }
.card .tag { margin-bottom: 0.9rem; }

.checks { list-style: none; display: grid; gap: 0.65rem; color: var(--muted); }
.checks li { position: relative; padding-left: 1.7rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%230E1116' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.dark .checks { color: var(--muted-dark); }
.dark .checks strong { color: var(--paper); }

/* Lista de límites: lo que no hace */
.nots { list-style: none; display: grid; gap: 0.65rem; color: var(--muted); }
.nots li { position: relative; padding-left: 1.7rem; }
.nots li::before {
  content: ""; position: absolute; left: 0; top: 0.3em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.3 5.3l5.4 5.4M10.7 5.3l-5.4 5.4' fill='none' stroke='%23F4F5F2' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.reason {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.reason h3 { font-size: 1.125rem; }

/* ---------- Servicios ---------- */
.services { align-items: stretch; }
.svc {
  position: relative; display: flex; flex-direction: column;
  padding: 0; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.25s var(--ease), border-color 0.2s ease, box-shadow 0.25s ease;
}
.svc:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 24px 48px -30px rgba(14, 17, 22, 0.55); }
.svc-art {
  position: relative; display: grid; align-content: center; gap: 0.5rem;
  min-height: 11.5rem; padding: 1.4rem 1.5rem;
  background: var(--ink); color: var(--paper);
  background-image: radial-gradient(rgba(244, 245, 242, 0.09) 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.4rem; }
.svc-body p { color: var(--muted); }
.svc-num { font-family: var(--font-display); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--muted-2); margin-bottom: 0.6rem; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0; margin: 0.25rem 0 1rem; }
.pills li {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper);
  font-size: 0.875rem; line-height: 1.35;
}
.more-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 44px; margin-top: auto;
  font-weight: 600; color: var(--ink);
}
.more-link::after { content: "→"; transition: transform 0.15s ease; }
a:hover > .more-link::after, .more-link:hover::after, .svc:hover .more-link::after { transform: translateX(4px); }
/* Toda la tarjeta es un enlace */
.svc .more-link::before { content: ""; position: absolute; inset: 0; }

/* Ilustración: mini chat */
.art-bubble { max-width: 82%; padding: 0.5rem 0.8rem; border-radius: 14px; font-size: 0.875rem; line-height: 1.35; }
.art-bubble.in { justify-self: start; background: #252B36; border-bottom-left-radius: 4px; }
.art-bubble.out { justify-self: end; background: var(--accent); color: var(--ink); font-weight: 500; border-bottom-right-radius: 4px; }
.art-chip {
  justify-self: center; display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; color: var(--muted-dark);
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 0.2rem 0.65rem; background: var(--ink);
}
.art-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* Ilustración: llamada */
.art-call { display: flex; align-items: center; gap: 0.75rem; }
.art-call-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.art-call-ico .icon { width: 22px; height: 22px; }
.art-call p { margin: 0; font-size: 0.875rem; line-height: 1.3; color: var(--muted-dark); }
.art-call strong { display: block; font-family: var(--font-display); color: var(--paper); }
.wave { display: flex; align-items: center; gap: 4px; height: 44px; margin: 0.25rem 0; }
.wave i { flex: 1; max-width: 6px; border-radius: 3px; background: var(--accent); height: calc(var(--h) * 1%); opacity: 0.9; transform-origin: center; animation: wave 1.4s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -0.1s); }
@keyframes wave { from { transform: scaleY(0.45); } to { transform: scaleY(1); } }
/* Ilustración: flujo de nodos */
.art-flow { list-style: none; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 0.4rem; }
.art-flow li { text-align: center; font-size: 0.8125rem; line-height: 1.25; color: var(--muted-dark); }
.art-flow .node {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 0.45rem;
  border-radius: 50%; border: 1.5px solid var(--line-dark); background: var(--ink-2); color: var(--paper);
}
.art-flow .node .icon { width: 22px; height: 22px; }
.art-flow .node.on { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 5px rgba(198, 244, 50, 0.12); }
.art-flow .link { height: 0; width: 100%; min-width: 18px; border-top: 1.5px dashed #4A515D; margin-bottom: 1.5rem; }

/* También hacemos */
.also-title {
  margin: clamp(2.25rem, 5vw, 3rem) 0 1rem;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
}
.also { list-style: none; display: grid; gap: 0.75rem; }
@media (min-width: 900px) { .also { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.also a {
  display: flex; align-items: flex-start; gap: 0.9rem; height: 100%;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.25s var(--ease);
}
.also a:hover { border-color: var(--ink); transform: translateY(-2px); }
.also .icon { flex: none; width: 24px; height: 24px; margin-top: 0.15rem; }
.also span { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.also strong { display: block; margin-bottom: 0.15rem; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.also strong::after { content: " →"; }

/* ---------- Control: la bandeja de ejemplo ---------- */
.control-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .control-grid { grid-template-columns: 1fr 1fr; } }
.control-list { list-style: none; display: grid; gap: 1.25rem; }
.control-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; align-items: start; }
.control-list .icon-badge { grid-row: span 2; width: 44px; height: 44px; background: var(--ink-3); border: 1px solid var(--line-dark); }
.control-list .icon-badge .icon { width: 22px; height: 22px; }
.control-list h3 { margin: 0.1rem 0 0; font-size: 1.125rem; }
.control-list p { margin: 0; font-size: 1rem; }
.control-cta { margin-top: 2rem; }

.inbox { margin: 0; position: relative; }
.inbox-cap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.inbox-cap p { margin: 0; font-size: 0.875rem; }
.inbox-window { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px -45px rgba(0, 0, 0, 0.9); }
.inbox-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.1rem; background: var(--ink-3); border-bottom: 1px solid var(--line-dark); }
.inbox-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A414C; }
.inbox-bar strong { margin-left: 0.5rem; font-family: var(--font-display); font-size: 0.9375rem; }
.inbox-rows { list-style: none; }
.inbox-rows li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.2rem 0.85rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line-dark); }
.inbox-rows li:last-child { border-bottom: 0; }
.inbox-av { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #252B36; font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--paper); }
.inbox-name { font-weight: 600; color: var(--paper); font-size: 0.9375rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-text { grid-column: 2 / -1; font-size: 0.875rem; color: var(--muted-dark); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.state { font-size: 0.75rem; font-weight: 600; border-radius: 999px; padding: 0.15rem 0.6rem; white-space: nowrap; border: 1px solid var(--line-dark); color: var(--muted-dark); }
.state.bot { border-color: var(--accent); color: var(--accent); }
.state.team { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.inbox-rows li.is-active { background: rgba(198, 244, 50, 0.06); box-shadow: inset 3px 0 0 var(--accent); }
.inbox-note { margin: 0; padding: 0.9rem 1.1rem; background: var(--ink-3); border-top: 1px solid var(--line-dark); font-size: 0.875rem; }
.inbox-note strong { color: var(--accent); }

/* ---------- Sectores ---------- */
.sectors { list-style: none; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .sectors { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1040px) { .sectors { grid-template-columns: repeat(5, 1fr); } }
.sectors a {
  display: flex; align-items: center; gap: 0.9rem; height: 100%;
  padding: 1.1rem 1.25rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.25s var(--ease), background-color 0.2s ease, color 0.2s ease;
}
.sectors a:hover { transform: translateY(-3px); background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sectors a:hover span { color: var(--muted-dark); }
.sectors a:hover .icon { color: var(--accent); }
.sectors .icon { flex: none; }
.sectors strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.sectors span { display: block; font-size: 0.875rem; line-height: 1.4; color: var(--muted); }
@media (min-width: 1040px) {
  .sectors a { flex-direction: column; align-items: flex-start; padding: 1.4rem 1.25rem; }
  .sectors .icon { margin-bottom: 0.35rem; }
}
.sectors-note { margin: 1.25rem 0 0; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Pasos ---------- */
.steps { list-style: none; display: grid; gap: 2rem; position: relative; margin-bottom: clamp(2.25rem, 5vw, 3rem); }
.step { position: relative; padding-left: 4rem; }
.step-num {
  position: absolute; left: 0; top: -0.2rem;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--accent); color: var(--ink);
  font-family: var(--font-display); font-weight: 700;
}
.step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 3rem; bottom: -2rem; border-left: 1.5px dashed #9BA0A8; }
.step p { margin: 0; color: var(--muted); }
.dark .step-num { border-color: var(--accent); background: var(--ink); color: var(--accent); }
.dark .step p { color: var(--muted-dark); }
.dark .step:not(:last-child)::after { border-color: #3A414C; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .step { padding-left: 0; padding-top: 4.25rem; }
  .step-num { top: 0; }
  .step:not(:last-child)::after { left: 56px; right: -1.5rem; top: 22px; bottom: auto; border-left: 0; border-top: 1.5px dashed #9BA0A8; }
  .dark .step:not(:last-child)::after { border-color: #3A414C; }
}

/* ---------- Historia de ejemplo (línea de tiempo) ---------- */
.story { list-style: none; display: grid; gap: 0; max-width: 46rem; }
.story li { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.25rem; padding-bottom: 1.75rem; }
.story li:last-child { padding-bottom: 0; }
.story time { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; line-height: 1.3; padding-top: 0.1rem; color: var(--paper); }
.story div { position: relative; padding-left: 1.75rem; }
.story div::before { content: ""; position: absolute; left: 0; top: 0.35rem; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--accent); background: var(--ink); }
.story li:not(:last-child) div::after { content: ""; position: absolute; left: 5px; top: 1.4rem; bottom: -1.75rem; border-left: 1.5px dashed #3A414C; }
.story li:last-child div::before { background: var(--accent); }
.story h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.story p { margin: 0; font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1.3rem 3rem 1.3rem 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
  letter-spacing: -0.01em; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.25rem; top: 50%;
  width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  border: 2px solid var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 10px no-repeat;
  transition: transform 0.25s var(--ease), background-color 0.2s ease;
}
.faq details[open] summary::after {
  background: linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat, var(--accent);
  transform: rotate(180deg);
}
.faq details p { color: var(--muted); padding-right: 2rem; margin-bottom: 1.5rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.contact-copy p { font-size: 1.125rem; }
.contact-next { list-style: none; counter-reset: paso; display: grid; gap: 0.85rem; margin: 2rem 0; }
.contact-next li { counter-increment: paso; display: flex; align-items: center; gap: 0.85rem; color: var(--paper); }
.contact-next li::before {
  content: counter(paso); display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: 0.875rem;
}
.contact-mail a { color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; word-break: break-word; }
.contact-mail a:hover { color: var(--accent); }

.form-wrap { background: var(--paper); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 5vw, 2.5rem); }
.form-wrap p { color: var(--muted); }
.contact-form { display: grid; gap: 1.15rem 1.25rem; }
@media (min-width: 640px) {
  .contact-form { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white);
  border: 1.5px solid #8A8F98; border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--accent), 0 0 0 5px var(--ink);
}
.field [aria-invalid="true"] { border-color: var(--error-light); }
.field-error { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--error-light) !important; }
.field-help { margin: 0; font-size: 0.875rem; }
.checkbox { display: flex; gap: 0.75rem; align-items: flex-start; }
.checkbox input { width: 22px; height: 22px; min-height: 0; margin: 0.15rem 0 0; flex: none; accent-color: var(--ink); }
.checkbox label { font-weight: 400; font-size: 0.9375rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-box:empty { display: none; }
.turnstile-box { min-height: 65px; }
.form-actions { display: grid; gap: 0.75rem; justify-items: start; }
.form-wrap .btn-accent { background: var(--ink); color: var(--paper); }
.form-wrap .btn-accent:hover { background: #262B33; box-shadow: none; }
.form-status { margin: 0; font-weight: 600; }
.form-status.is-error { color: var(--error-light) !important; }
.form-status a { color: var(--ink); }
.legal-note { font-size: 0.8125rem; line-height: 1.5; margin: 0.25rem 0 0; }
.form-success { text-align: left; padding: 1rem 0; }
.form-success:focus { outline: none; }
.form-success h3 { font-size: 1.6rem; color: var(--ink); }
.success-mark { display: block; width: 56px; height: 56px; margin-bottom: 1.25rem; border-radius: 50%; border: 10px solid var(--ink); background: var(--accent); }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line-dark); padding-top: clamp(3rem, 7vw, 4.5rem); }
.footer-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr 1fr; padding-bottom: 2.5rem; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 760px) { .footer-grid { gap: 2.5rem; } }
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}
.footer-brand img { margin-bottom: 1.25rem; }
.footer-brand p { margin-bottom: 0.5rem; }
.footer-brand a { color: var(--paper); }
.footer-title { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.15rem; }
.site-footer nav a { display: inline-block; padding: 0.35rem 0; color: var(--paper); text-decoration: none; }
.site-footer nav a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.5rem; font-size: 0.875rem; }
.footer-bottom p { margin: 0; }

/* ---------- Cabecera de las páginas interiores ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.page-head h1 { font-size: clamp(2.25rem, 5.6vw, 3.6rem); max-width: 20ch; margin-bottom: 1.1rem; }
.page-head p { margin: 0; }
.page-head .lead { max-width: 38rem; }
.page-head .btn { margin-top: 2rem; }
.page-head-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .page-head-grid { grid-template-columns: 1.1fr 1fr; } }
.page-art { width: 100%; max-width: 420px; justify-self: center; margin: 0; }
@media (min-width: 1000px) { .page-art { justify-self: end; } }
.page-art .demo-top { margin-bottom: 0.75rem; }
.page-art.panel { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 22px; padding: 1.5rem; display: grid; gap: 0.6rem; box-shadow: 0 40px 90px -45px rgba(0, 0, 0, 0.9), 0 0 70px -40px rgba(198, 244, 50, 0.35); }
.page-art.panel .wave { height: 64px; }
.page-art.panel .wave i { max-width: none; }
.page-art.panel .art-flow { margin-block: 0.5rem; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.5rem; padding: 0; font-size: 0.875rem; color: var(--muted-dark); }
.breadcrumb li + li::before { content: "›"; margin-right: 0.4rem; }
.breadcrumb a { color: var(--muted-dark); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--paper); }

/* Ilustraciones de las páginas de servicio */
.mock-rows { list-style: none; display: grid; gap: 0.5rem; }
.mock-rows li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.65rem 0.85rem; border: 1px solid var(--line-dark); border-radius: 12px; background: var(--ink); font-size: 0.875rem; color: var(--paper); }
.mock-rows span { color: var(--muted-dark); font-size: 0.8125rem; white-space: nowrap; }
.mock-title { margin: 0 0 0.35rem; font-family: var(--font-display); font-weight: 700; color: var(--paper); font-size: 0.9375rem; }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; padding: 0.75rem 0.85rem; border: 1px solid var(--line-dark); border-radius: 12px; background: var(--ink); }
.mock-bars i { flex: 1; border-radius: 4px 4px 0 0; background: #3A414C; height: calc(var(--h) * 1%); }
.mock-bars i.on { background: var(--accent); }
.mock-browser { border: 1px solid var(--line-dark); border-radius: 12px; overflow: hidden; background: var(--ink); }
.mock-browser-bar { display: flex; gap: 5px; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line-dark); }
.mock-browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3A414C; }
.mock-browser-body { display: grid; gap: 0.5rem; padding: 1rem; }
.mock-line { height: 10px; border-radius: 5px; background: #2A2F37; }
.mock-line.h { height: 18px; width: 70%; background: var(--paper); }
.mock-line.s { width: 45%; }
.mock-btn { width: 96px; height: 26px; border-radius: 999px; background: var(--accent); margin-top: 0.35rem; }

/* ---------- Texto largo (legales) y 404 ---------- */
.prose { padding-block: clamp(2.5rem, 6vw, 4rem) var(--section-y); }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin-top: 2.75rem; }
.prose h3 { font-size: 1.125rem; margin-top: 1.75rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--ink); font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.75rem; border: 1px solid var(--line); }
.prose th { background: var(--paper-2); color: var(--ink); font-weight: 600; }
.prose td { color: var(--muted); }
.table-wrap { overflow-x: auto; }
.data-list { list-style: none; padding: 0 !important; }
.data-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.data-list strong { color: var(--ink); }
.updated { font-size: 0.9375rem; }
.notfound { min-height: 60vh; display: grid; align-content: center; padding-block: var(--section-y); }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 1rem; }

/* ---------- Piezas de las páginas de servicio y sector ---------- */
.note { border-left: 3px solid var(--ink); padding: 0.25rem 0 0.25rem 1.25rem; color: var(--muted); max-width: 46rem; }
.note strong { color: var(--ink); }
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split h2 { margin-bottom: 1rem; }
.split > div > p { color: var(--muted); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 0; margin: 0; }
.chips a {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.5rem 1.1rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-weight: 500; text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.chips a::after { content: "→"; }
.chips a:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.cta-band { position: relative; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 36rem; margin: 0 auto 2rem; font-size: 1.125rem; }

/* ---------- Aparición suave al bajar (la clase la pone main.js solo a lo que queda fuera de pantalla) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Móvil: la portada, compacta ---------- */
@media (max-width: 699px) {
  .svc-art { min-height: 9.25rem; padding: 1.1rem 1.25rem; }
  .svc .pills { display: none; }
  .svc-body { padding: 1.25rem 1.25rem 1rem; }
  .svc-body p { margin-bottom: 0.5rem; }
  .control-list { gap: 1rem; }
}
@media (max-width: 420px) {
  .story li { grid-template-columns: 4.6rem 1fr; gap: 0.75rem; }
  .demo-tabs { gap: 0.3rem; }
  .demo-tabs label { padding-inline: 0.6rem; font-size: 0.8125rem; }
}


/* ---------- WhatsApp (18 nov 2026) ---------- */
.btn-wa { background: #25D366; color: #0E1116; }
.btn-wa:hover { background: #3BE07A; box-shadow: 0 10px 30px -12px rgba(37, 211, 102, 0.6); }
.btn-wa .icon, .wa-float .icon { width: 24px; height: 24px; stroke-width: 1.8; }
.contact-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.75rem; }
.contact-quick p { margin: 0; color: var(--paper); font-size: 1rem; }
.contact-quick p a { color: var(--paper); font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.contact-quick p a:hover { color: var(--accent); }
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.1rem 0.8rem 0.9rem; border-radius: 999px;
  background: #25D366; color: #0E1116; font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(14, 17, 22, 0.45), 0 0 0 1px rgba(14, 17, 22, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(14, 17, 22, 0.5); }
.wa-float:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 640px) { .wa-float { padding: 0.85rem; } .wa-float span { display: none; } }
@media print { .wa-float { display: none; } }

/* ---------- Contacto con iconos (18 nov 2026) ---------- */
.btn-call { background: transparent; color: var(--paper); border: 1.5px solid rgba(244, 245, 242, 0.45); }
.btn-call:hover { border-color: var(--accent); color: var(--accent); }
.btn-call .icon { width: 22px; height: 22px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.footer-social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(244, 245, 242, 0.3); color: var(--paper); transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.footer-social a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.footer-social .icon { width: 22px; height: 22px; stroke-width: 1.8; }
