/*
 * Neos Linx · identidad mineral, software y conexiones.
 * Índice: 1. Fuentes y tokens  2. Base  3. Navegación  4. Portada
 * 5. Servicios  6. Escenarios  7. Método  8. Leonardo  9. Preguntas
 * 10. Contacto y pie  11. Páginas interiores  12. Movimiento  13. Responsive.
 * El contenido es visible sin JavaScript. Las animaciones son una mejora.
 */

/* 1. Las fuentes se sirven con el sitio, sin consultas a otros proveedores. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-opsz.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
}
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-mono-normal.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --fondo: #f3eee6;        /* Marfil original: base de lectura. */
  --fondo-alt: #e7e0d6;    /* Piedra clara: planos de apoyo. */
  --superficie: #fbf8f3;   /* Marfil elevado: controles y tarjetas. */
  --tinta: #0b1526;        /* Azul noche original. */
  --tinta-suave: #50586a;  /* Texto secundario, contraste sobre marfil y piedra. */
  --linea: #c7c0b6;
  --acento: #3947ff;       /* Azul Linx original, reservado al acento. */
  --acento-texto: #2938db; /* Derivado para acciones y texto pequeño. */
  --acento-suave: #e7e9fb;
  --piedra: #d8d0c4;      /* Piedra original de la identidad. */
  --lavanda: #bdc6ff;     /* Alias conservado para texto azul claro sobre noche. */
  --coral: #d8d0c4;       /* Alias histórico: ahora piedra, sin acento naranja. */
  --tinta-inversa: #f3eee6;
  --texto-oscuro-suave: #c1c5cf;
  --fuente: Geist, "Segoe UI", system-ui, sans-serif;
  --display: "Bricolage Grotesque", Geist, "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --tecnica: "Geist Mono", ui-monospace, Consolas, monospace;
  --ancho: 1280px;
  --radio: 18px;
  --ease: cubic-bezier(.22, .68, .2, 1);
}

/* 2. Base: el ritmo y la jerarquía sustituyen los índices decorativos. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--fuente);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
::selection { background: var(--acento); color: var(--fondo); }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
svg { display: inline-block; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button { color: inherit; }
a, button, summary { touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 6px; }
.section-approach :focus-visible { outline-color: var(--lavanda); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 550; letter-spacing: -.055em; }
h1 { font-size: clamp(60px, 6.6vw, 100px); line-height: 1.01; }
h2 { font-size: clamp(44px, 4.5vw, 66px); line-height: 1.08; }
h3 { font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
em { font-family: var(--display); font-weight: 480; }
h1 em, h2 em { color: var(--acento); }
p { color: var(--tinta-suave); }
p + p { margin-top: 20px; }
.container { width: min(calc(100% - 80px), var(--ancho)); margin-inline: auto; }
.section { padding-block: 112px; }
.eyebrow { display: block; margin-bottom: 24px; color: var(--tinta-suave); font-size: 14px; font-weight: 600; letter-spacing: .025em; }
.section-heading { max-width: 800px; margin-bottom: 48px; }
.section-heading > p { max-width: 590px; margin-top: 24px; font-size: 18px; line-height: 1.7; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  min-height: 56px; padding: 15px 24px; border: 1px solid transparent;
  border-radius: 7px; font-size: 15px; font-weight: 600; line-height: 1.3;
  transition: background .2s, color .2s, box-shadow .2s, transform .25s var(--ease);
}
.button svg { width: 20px; height: 20px; flex: 0 0 auto; }
.button.primary { color: var(--fondo); background: var(--tinta); }
.button.primary:hover { background: #2c3344; transform: translateY(-3px); box-shadow: 0 8px 18px -12px #0f141f50; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; font-weight: 600; font-size: 15px; }
.text-link:hover { color: var(--acento-texto); }
.skip-link { position: fixed; top: 10px; left: 16px; padding: 12px 20px; z-index: 100; background: var(--tinta); color: var(--fondo); transform: translateY(-150%); border-radius: 4px; }
.skip-link:focus { transform: none; }

/* 3. Navegación. La versión sin JS conserva enlaces accesibles. */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(246, 242, 234, .96); border-bottom: 1px solid var(--linea); }
@supports (backdrop-filter: blur(15px)) { .site-header { background: rgba(246, 242, 234, .89); backdrop-filter: blur(15px); } }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-name { font-size: 24px; font-weight: 700; letter-spacing: -.055em; line-height: 1; }
.brand-name > span:first-child { color: var(--acento); }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 28px; margin-left: auto; }
.site-nav > a { position: relative; padding-block: 12px; font-size: 14px; font-weight: 500; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--acento-texto); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 11px 18px; border: 1px solid var(--tinta); border-radius: 5px; font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.nav-cta svg { width: 17px; height: 17px; }
.nav-cta:hover { background: var(--tinta); color: var(--fondo); }
.menu-toggle { display: none; border: 1px solid var(--linea); width: 46px; height: 46px; border-radius: 5px; padding: 12px; background: transparent; }
.menu-line { display: block; width: 20px; height: 2px; background: var(--tinta); transition: transform .2s; }
.menu-line + .menu-line { margin-top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-line:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-line:last-child { transform: translateY(-4px) rotate(-45deg); }

/* 4. Portada: titular editorial y un sistema conectado como motivo propio. */
.hero { position: relative; padding-top: 84px; padding-bottom: 92px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 60px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { max-width: 720px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 12px; }
.hero-description { max-width: 510px; margin-top: 30px; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 25px; margin-top: 32px; }
.hero-footnote { margin-top: 29px; font-size: 13px; color: var(--tinta-suave); }
.system-visual { position: relative; width: 100%; min-height: 470px; padding: 28px 31px 37px; background: var(--acento-suave); border: 1px solid #b5b5ee; border-radius: 22px 4px 22px 4px; box-shadow: 11px 11px 0 0 var(--fondo-alt); }
.visual-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--tinta-suave); font-size: 12px; font-weight: 500; }
.visual-mark { display: block; width: 17px; height: 17px; border: 2px solid var(--acento); transform: rotate(-12deg); }
.motion-toggle { min-height: 44px; padding: 9px 11px; border: 1px solid #b5b5ee; border-radius: 4px; background: transparent; color: var(--tinta); font-size: 12px; font-weight: 500; line-height: 1.3; }
.motion-toggle:hover { background: var(--fondo); }
.system-heading { max-width: 320px; margin: 26px 0 24px; color: var(--tinta); font-family: var(--display); font-size: 30px; font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.workflow { display: grid; grid-template-columns: 1fr; align-items: center; justify-items: stretch; gap: 0; }
.workflow-source, .workflow-core, .workflow-output { position: relative; display: grid; grid-template-columns: 35px 1fr; column-gap: 13px; align-items: center; min-height: 73px; padding: 14px 18px; border: 1px solid #b5b5ee; background: var(--fondo); border-radius: 7px; }
.workflow-source svg, .workflow-core svg, .workflow-output svg, .workflow-source .line-icon { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--acento); }
.workflow strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.workflow span:not(.line-icon):not(.flow-track):not(.flow-packet) { display: block; font-size: 12px; line-height: 1.5; color: var(--tinta-suave); }
.workflow-core { background: var(--tinta); border-color: var(--tinta); color: var(--fondo); }
.workflow-core svg { color: var(--coral); }
.workflow-core span:not(.line-icon):not(.flow-track):not(.flow-packet) { color: var(--texto-oscuro-suave); }
.workflow-output { border-color: var(--coral); }
.workflow-output svg { color: var(--tinta); }
.flow-connector { position: relative; width: 100%; height: 26px; }
.flow-track { position: absolute; top: 0; bottom: 0; left: 32px; width: 1px; background: #9696cc; }
.flow-packet { position: absolute; top: 0; left: 29px; width: 7px; height: 7px; background: var(--acento); animation: connection 2.6s ease-in-out infinite; }
.flow-connector:nth-of-type(4) .flow-packet { animation-delay: 1.3s; background: var(--coral); }
.visual-bottom { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 22px; gap: 15px; }
.system-caption { max-width: 230px; font-size: 12px; line-height: 1.5; color: var(--tinta-suave); }
.signal-bars { display: flex; align-items: flex-end; gap: 4px; height: 20px; }
.signal-bars i { display: block; width: 5px; height: 11px; background: var(--acento); animation: signal 3s ease-in-out infinite; transform-origin: bottom; }
.signal-bars i:nth-child(2) { height: 18px; animation-delay: .3s; }
.signal-bars i:nth-child(3) { height: 14px; animation-delay: .7s; }
.floating-note { position: absolute; right: -20px; bottom: -25px; display: flex; align-items: center; gap: 13px; width: 265px; padding: 17px 20px; border: 1px solid var(--tinta); border-radius: 6px; background: var(--coral); transform: rotate(-3deg); box-shadow: 5px 5px 0 var(--tinta); }
.floating-note .note-icon { width: 24px; height: 24px; flex: 0 0 auto; }
.floating-note strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; }
.floating-note p { margin: 4px 0 0; color: var(--tinta); font-size: 12px; line-height: 1.5; }
.visual-corner { position: absolute; left: 4px; bottom: -49px; color: var(--tinta-suave); font-size: 12px; letter-spacing: .025em; }
.capabilities-strip { border-block: 1px solid var(--linea); }
.capabilities-strip > .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 23px; }
.capabilities-strip span { color: var(--tinta-suave); font-size: 13px; font-weight: 500; }
.capabilities-strip span + span { padding-left: 24px; border-left: 1px solid var(--linea); }

/* 5. Dos prioridades claras y tres servicios que las acompañan. */
.section-services .section-heading { max-width: 840px; }
.service-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 24px; }
.service-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 445px; padding: 42px; border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 24px -20px var(--tinta); }
.service-card.featured { background: var(--acento-suave); border-color: #b5b5ee; border-radius: 18px 18px 4px 18px; }
.service-card.automation { background: var(--fondo-alt); border-radius: 18px 4px 18px 18px; }
.service-label { margin-bottom: 29px; color: var(--tinta-suave); font-size: 13px; font-weight: 500; }
.service-icon { position: absolute; top: 37px; right: 38px; width: 32px; height: 32px; color: var(--acento); }
.service-icon svg { width: 32px; height: 32px; }
.automation .service-icon { color: var(--tinta); }
.service-card h3 { max-width: 400px; font-family: var(--display); font-size: clamp(36px, 3.2vw, 47px); font-weight: 500; letter-spacing: -.05em; }
.service-card > p { max-width: 430px; margin-top: 20px; font-size: 16px; line-height: 1.75; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px 15px; margin-top: 25px; margin-bottom: 28px; }
.service-tags span { color: var(--tinta-suave); font-size: 12px; font-weight: 500; }
.service-tags span + span { border-left: 1px solid #a8a4b4; padding-left: 15px; }
.card-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; margin-top: auto; padding-top: 21px; border-top: 1px solid #b5b5ee; font-size: 14px; font-weight: 600; }
.automation .card-link { border-color: #c5bdb1; }
.support-services { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--linea); }
.support-service { display: grid; grid-template-columns: 30px 1fr 20px; align-items: start; gap: 18px; padding: 31px 25px 15px 0; transition: color .2s; }
.support-service + .support-service { padding-left: 26px; border-left: 1px solid var(--linea); }
.support-service > svg { width: 26px; height: 26px; margin-top: 3px; }
.support-service h3 { font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }
.support-service p { margin-top: 11px; font-size: 13px; line-height: 1.7; }
.support-service:hover h3 { color: var(--acento-texto); }

/* 6. Explorador de necesidades: controles simples y estados distinguibles. */
.section-lab { background: var(--fondo-alt); border-block: 1px solid var(--linea); }
.lab-grid { display: grid; grid-template-columns: .85fr 1.15fr; column-gap: 85px; align-items: start; }
.lab-intro { grid-column: 1; grid-row: 1; }
.lab-intro h2 { font-size: clamp(43px, 4.2vw, 60px); }
.lab-intro > p { margin-top: 24px; max-width: 450px; }
.scenario-controls { display: flex; flex-direction: column; align-items: stretch; gap: 8px; max-width: 390px; margin-top: 30px; }
.scenario-tab { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 46px; padding: 11px 16px; border: 1px solid #b9b2a8; border-radius: 5px; background: transparent; text-align: left; font-size: 13px; font-weight: 500; transition: color .2s, background .2s, border .2s; }
.scenario-tab:hover { background: var(--fondo); }
.scenario-tab[aria-selected="true"] { background: var(--tinta); color: var(--fondo); border-color: var(--tinta); }
.scenario-stage { grid-column: 2; grid-row: 1 / 4; min-width: 0; }
.scenario-panel { min-height: 390px; padding: 37px; background: var(--fondo); border: 1px solid #c9c2b7; border-radius: 5px 20px 5px 20px; }
.scenario-panel + .scenario-panel { margin-top: 20px; }
.scenario-panel[hidden] + .scenario-panel { margin-top: 0; }
.scenario-eyebrow { display: block; font-size: 12px; color: var(--tinta-suave); margin-bottom: 22px; }
.scenario-panel h3 { max-width: 420px; font-family: var(--display); font-weight: 500; font-size: 32px; line-height: 1.15; letter-spacing: -.04em; }
.scenario-panel > p { margin-top: 18px; font-size: 14px; }
.scenario-flow { display: flex; align-items: stretch; justify-content: space-between; gap: 10px; margin-top: 29px; }
.scenario-flow span { display: flex; align-items: center; justify-content: center; flex: 1; padding: 10px 9px; border: 1px solid var(--linea); border-radius: 4px; text-align: center; font-size: 12px; font-weight: 500; line-height: 1.5; }
.scenario-flow span:nth-of-type(2) { background: var(--acento-suave); border-color: #b5b5ee; }
.scenario-result { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--linea); }
.scenario-result strong { font-weight: 600; font-size: 14px; }
.scenario-result p { margin-top: 6px; font-size: 13px; }
.scenario-disclaimer { max-width: 490px; margin-top: 20px; color: var(--tinta-suave); font-size: 12px; line-height: 1.7; }
.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; }

/* 7. Método: un bloque oscuro da ritmo sin introducir colores ajenos. */
.section-approach { background: var(--tinta); color: var(--fondo); }
.section-approach p, .section-approach .eyebrow { color: var(--texto-oscuro-suave); }
.section-approach h2 em { color: var(--lavanda); }
.section-approach .section-heading { max-width: 800px; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 60px; }
.approach-grid > article { padding-top: 12px; }
.approach-icon { display: block; width: 30px; height: 30px; margin-bottom: 30px; color: var(--lavanda); }
.approach-icon svg { width: 30px; height: 30px; }
.approach-grid h3 { font-size: 24px; line-height: 1.3; }
.approach-grid p { margin-top: 18px; font-size: 14px; line-height: 1.85; }
.approach-note { max-width: 850px; margin-top: 56px; padding-top: 25px; border-top: 1px solid #484c59; font-size: 13px; }

/* 8. La fotografía es un recurso propio, con espacio reservado. */
.founder-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 112px; }
.founder-portrait { position: relative; width: 100%; max-width: 420px; margin: 0; }
.founder-portrait::before { content: ""; position: absolute; top: 24px; right: -18px; bottom: 39px; width: 100%; border: 1px solid var(--acento); border-radius: 5px 5px 90px 5px; z-index: -1; }
.founder-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; border-radius: 5px 5px 90px 5px; background: var(--fondo-alt); }
.portrait-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 15px; margin-top: 19px; padding-top: 15px; border-top: 1px solid var(--linea); color: var(--tinta-suave); font-size: 12px; }
.founder-copy h2 { max-width: 640px; }
.founder-copy > p { max-width: 570px; margin-top: 25px; font-size: 17px; }
.signature { display: block; margin-top: 29px; font-family: var(--display); color: var(--tinta); font-style: italic; font-size: 32px; letter-spacing: -.03em; }
.founder-copy .text-link { margin-top: 15px; }

/* 9. El acordeón utiliza details/summary: funciona sin scripts. */
.section-faq { border-top: 1px solid var(--linea); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.faq-grid .section-heading { margin: 0; }
.faq-grid h2 { font-size: clamp(42px, 4vw, 58px); }
.faq-list { border-top: 1px solid var(--linea); }
.faq-list details { border-bottom: 1px solid var(--linea); }
.faq-list summary { position: relative; list-style: none; padding: 26px 45px 26px 0; cursor: pointer; font-size: 17px; font-weight: 600; line-height: 1.55; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span[aria-hidden="true"] { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 22px; right: 2px; font-size: 26px; font-weight: 400; color: var(--acento); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 35px 28px 0; }
.faq-list details p { font-size: 14px; line-height: 1.8; }

/* 10. La misma acción principal aparece al inicio y al cierre. */
.section-contact { padding-top: 0; }
.contact-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; padding: 61px 65px; align-items: center; border-radius: 18px 4px 18px 4px; background: var(--acento-suave); border: 1px solid #b5b5ee; }
.contact-copy .eyebrow { margin-bottom: 19px; }
.contact-copy h2 { max-width: 660px; font-size: clamp(44px, 4.5vw, 62px); }
.contact-copy > p { max-width: 520px; margin-top: 22px; font-size: 15px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; min-width: 0; }
.contact-actions .button { width: 100%; background: var(--acento-texto); color: var(--fondo); border-color: var(--acento-texto); }
.contact-actions .button:hover { background: #3b389a; }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; color: var(--acento-texto); font-size: 14px; overflow-wrap: anywhere; }
.contact-phone { font-size: 14px; }
.contact-actions > p { font-size: 12px; line-height: 1.7; }
.site-footer { border-top: 1px solid var(--linea); padding-top: 45px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 41px; }
.footer-top > p { max-width: 350px; font-size: 13px; line-height: 1.7; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-socials a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
.footer-socials a:hover { color: var(--acento-texto); }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; border-top: 1px solid var(--linea); padding-block: 22px; color: var(--tinta-suave); font-size: 12px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a { padding-block: 6px; }
.footer-bottom a:hover { color: var(--acento-texto); }

/* 11. Las páginas interiores comparten identidad, navegación y contacto. */
.page-hero { padding-block: 80px 74px; border-bottom: 1px solid var(--linea); }
.page-hero h1 { max-width: 1040px; font-size: clamp(52px, 6vw, 86px); }
.page-hero > .container > p { max-width: 700px; margin-top: 28px; font-size: 18px; line-height: 1.75; }
.detail-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; align-items: start; }
.detail-sidebar { position: sticky; top: 125px; padding: 27px 28px; background: var(--fondo-alt); border-radius: 5px 15px 5px 15px; }
.detail-sidebar .service-icon { position: static; display: block; width: 32px; height: 32px; margin-bottom: 22px; }
.detail-sidebar > span { display: block; margin-top: 12px; color: var(--tinta-suave); font-size: 14px; line-height: 1.7; }
.detail-sidebar h2, .detail-sidebar h3 { font-family: var(--fuente); font-size: 19px; font-weight: 600; letter-spacing: -.03em; line-height: 1.35; }
.detail-sidebar p { margin-top: 17px; font-size: 14px; }
.detail-sidebar a { display: flex; align-items: center; min-height: 46px; padding-block: 10px; border-bottom: 1px solid var(--linea); font-size: 14px; }
.detail-sidebar a:last-child { border-bottom: 0; }
.detail-sidebar a:hover, .detail-sidebar a[aria-current="page"] { color: var(--acento-texto); }
.detail-content h2 { max-width: 750px; font-size: 42px; line-height: 1.15; }
.detail-content h2:not(:first-child) { margin-top: 49px; }
.detail-content h3 { margin-top: 29px; font-size: 22px; }
.detail-content p { margin-top: 21px; }
.feature-list { list-style: none; margin: 25px 0 0; padding: 0; }
.feature-list li { padding: 16px 0; border-top: 1px solid var(--linea); color: var(--tinta-suave); font-size: 15px; }
.deliverable { margin-top: 27px; padding: 25px 28px; background: var(--acento-suave); border-left: 3px solid var(--acento); border-radius: 0 7px 7px 0; }
.deliverable h3 { margin-top: 0; font-size: 19px; }
.deliverable p { margin-top: 10px; font-size: 14px; }
.detail-banner { margin-top: 50px; padding: 32px; background: var(--tinta); border-radius: 6px; color: var(--fondo); }
.detail-banner h2, .detail-banner h3 { color: var(--fondo); }
.detail-banner p { color: var(--texto-oscuro-suave); }
.detail-banner .text-link { color: var(--fondo); margin-top: 18px; }
.legal-content { max-width: 850px; }
.legal-content h2 { margin-top: 38px; font-family: var(--fuente); font-size: 23px; font-weight: 600; letter-spacing: -.03em; }
.legal-content p { margin-top: 16px; line-height: 1.85; }
.legal-content a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal-notice { margin-bottom: 35px; padding: 22px 26px; border: 1px solid #b9b2c8; border-radius: 4px; background: var(--fondo-alt); font-size: 14px; }
.not-found { text-align: center; padding-block: 110px 130px; }
.not-found h1 { font-size: clamp(65px, 9vw, 130px); }
.not-found p { margin-top: 25px; }
.not-found .button { margin-top: 30px; }

/* 12. Movimiento discreto. Ningún texto depende de una animación. */
.hero-copy { animation: entrada-portada .62s var(--ease) 1 both; }
.system-visual { animation: entrada-portada .68s var(--ease) 1 both; }
@keyframes entrada-portada { from { opacity: .78; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 1; transform: none; }
.reveal.reveal-armed { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.reveal-armed.is-visible { opacity: 1; transform: none; }
@keyframes connection { 0%, 10% { opacity: 0; transform: translateY(0); } 25% { opacity: 1; } 75% { opacity: 1; } 90%, 100% { opacity: 0; transform: translateY(21px); } }
@keyframes signal { 0%, 100% { transform: scaleY(.5); } 45%, 55% { transform: scaleY(1); } }
html.motion-paused *, html.motion-paused *::before, html.motion-paused *::after { animation-play-state: paused !important; }
html.motion-paused .reveal { opacity: 1; transform: none; transition: none; }

/* 13. Respuestas a la anchura real, no a un dispositivo concreto. */
@media (min-width: 1600px) {
  .hero { padding-block: 107px 116px; }
  .hero-grid { gap: 80px; }
}
@media (max-width: 1150px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .site-nav { gap: 18px; }
  .nav-cta { padding-inline: 13px; }
  .hero-grid { grid-template-columns: 1.08fr 1fr; gap: 35px; }
  .hero-copy h1 { font-size: 78px; }
  .hero-description { font-size: 16px; }
  .hero-actions { column-gap: 18px; }
  .hero-actions .button { padding-inline: 18px; }
  .hero-actions .text-link { font-size: 13px; }
  .system-visual { padding-inline: 24px; }
  .floating-note { right: -6px; }
  .service-card { padding: 34px; }
  .service-icon { right: 30px; top: 30px; }
  .lab-grid { column-gap: 48px; }
  .scenario-panel { padding: 29px; }
  .founder-grid { gap: 75px; }
  .faq-grid { gap: 60px; }
  .contact-panel { padding: 45px; gap: 40px; }
  .contact-email { font-size: 12px; }
}
@media (max-width: 950px) {
  h1 { font-size: 76px; }
  .section { padding-block: 88px; }
  .header-inner { min-height: 81px; gap: 20px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 21px; }
  .site-nav { gap: 17px; }
  .site-nav > a { font-size: 12px; }
  .header-inner > .nav-cta { display: none; }
  .hero { padding-block: 66px 87px; }
  .hero-grid { gap: 34px; }
  .hero-copy h1 { font-size: 63px; }
  .hero-description { font-size: 15px; margin-top: 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 27px; }
  .hero-footnote { font-size: 12px; margin-top: 16px; }
  .hero-copy .eyebrow { font-size: 12px; }
  .system-visual { min-height: 450px; padding: 22px 22px 30px; }
  .visual-topline { font-size: 12px; }
  .motion-toggle { font-size: 12px; }
  .system-heading { font-size: 26px; }
  .workflow-source, .workflow-core, .workflow-output { padding-right: 12px; }
  .workflow strong { font-size: 12px; }
  .workflow span:not(.line-icon):not(.flow-track):not(.flow-packet) { font-size: 12px; }
  .floating-note { width: 238px; padding: 14px 17px; }
  .capabilities-strip > .container { gap: 17px; padding-block: 20px; }
  .capabilities-strip span { font-size: 12px; }
  .capabilities-strip span + span { padding-left: 17px; }
  .service-card { min-height: 440px; padding: 30px; }
  .service-card h3 { font-size: 36px; }
  .service-card > p { font-size: 14px; }
  .support-services { margin-top: 30px; }
  .support-service { grid-template-columns: 25px 1fr; gap: 13px; padding-right: 18px; }
  .support-service + .support-service { padding-left: 18px; }
  .support-service h3 { font-size: 17px; }
  .support-service p { font-size: 12px; }
  .lab-grid { column-gap: 36px; }
  .lab-intro h2 { font-size: 46px; }
  .scenario-panel { padding: 27px; min-height: 426px; }
  .scenario-panel h3 { font-size: 29px; }
  .scenario-flow { flex-wrap: wrap; gap: 7px; }
  .scenario-flow span { min-width: 100%; padding: 6px 10px; }
  .scenario-controls { gap: 6px; }
  .scenario-tab { padding-inline: 10px; font-size: 12px; }
  .scenario-disclaimer { font-size: 12px; }
  .approach-grid { gap: 28px; }
  .approach-grid h3 { font-size: 22px; }
  .founder-grid { gap: 55px; grid-template-columns: .9fr 1.1fr; }
  .founder-copy h2 { font-size: 49px; }
  .founder-copy > p { font-size: 15px; }
  .faq-grid { gap: 45px; }
  .faq-grid h2 { font-size: 44px; }
  .faq-list summary { font-size: 15px; }
  .contact-panel { gap: 32px; padding: 38px; }
  .contact-copy h2 { font-size: 45px; }
  .contact-actions .button { padding-inline: 13px; font-size: 13px; gap: 14px; }
  .section-contact { padding-top: 0; }
  .footer-top { gap: 22px; }
  .footer-top > p { max-width: 280px; font-size: 12px; }
  .footer-socials { gap: 12px; }
  .footer-socials a { font-size: 12px; }
  .detail-grid { gap: 50px; }
}
/* El umbral coincide con matchMedia del menú en script.js. */
@media (max-width: 899px) {
  .header-inner { position: relative; flex-wrap: wrap; justify-content: space-between; gap: 0; min-height: 75px; padding-block: 14px; }
  .site-nav { flex: 0 0 100%; flex-wrap: wrap; margin: 12px 0 0; justify-content: flex-start; gap: 4px 25px; }
  .site-nav > a { min-height: 42px; font-size: 13px; }
  .menu-ready .menu-toggle { display: block; }
  .menu-ready .site-nav { display: none; }
  .menu-ready .site-nav.is-open { display: flex; position: absolute; top: calc(100% - 1px); left: -32px; right: -32px; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 17px 32px 25px; background: var(--fondo); border-bottom: 1px solid var(--linea); box-shadow: 0 20px 25px -20px #0f141f30; }
  .menu-ready .site-nav.is-open > a { min-height: 54px; padding: 16px 5px; font-size: 17px; border-bottom: 1px solid var(--linea); }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 68px; }
  h1 { font-size: clamp(48px, 10.8vw, 69px); }
  h2 { font-size: clamp(39px, 8.8vw, 51px); }
  .eyebrow { margin-bottom: 20px; font-size: 12px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading > p { margin-top: 21px; font-size: 15px; }
  .header-inner { position: relative; flex-wrap: wrap; justify-content: space-between; gap: 0; min-height: 75px; padding-block: 14px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 22px; }
  .site-nav { flex: 0 0 100%; flex-wrap: wrap; margin: 12px 0 0; justify-content: flex-start; gap: 4px 25px; }
  .site-nav > a { min-height: 42px; font-size: 13px; }
  .menu-ready .menu-toggle { display: block; }
  .menu-ready .site-nav { display: none; }
  .menu-ready .site-nav.is-open { display: flex; position: absolute; top: calc(100% - 1px); left: -20px; right: -20px; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 17px 25px 25px; background: var(--fondo); border-bottom: 1px solid var(--linea); box-shadow: 0 20px 25px -20px #0f141f30; }
  .menu-ready .site-nav.is-open > a { min-height: 54px; padding: 16px 5px; font-size: 17px; border-bottom: 1px solid var(--linea); }
  .hero { padding-block: 48px 76px; }
  .hero-grid { grid-template-columns: 1fr; gap: 47px; }
  .hero-copy h1 { font-size: clamp(49px, 11.2vw, 72px); max-width: 620px; line-height: 1.02; }
  .hero-copy .eyebrow { font-size: 12px; gap: 10px; margin-bottom: 22px; }
  .hero-description { max-width: 540px; margin-top: 25px; font-size: 16px; line-height: 1.7; }
  .hero-actions { flex-direction: row; gap: 12px 23px; margin-top: 26px; }
  .hero-actions .button { min-height: 54px; font-size: 14px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero-footnote { margin-top: 20px; font-size: 12px; }
  .system-visual { max-width: 520px; margin-inline: auto; min-height: 0; padding: 23px 25px 29px; box-shadow: 7px 7px 0 var(--fondo-alt); border-radius: 17px 4px 17px 4px; }
  .visual-topline { font-size: 12px; }
  .motion-toggle { font-size: 12px; }
  .system-heading { margin-block: 22px; font-size: 29px; }
  .workflow { gap: 0; }
  .workflow-source, .workflow-core, .workflow-output { min-height: 68px; padding-block: 12px; }
  .workflow strong { font-size: 13px; }
  .workflow span:not(.line-icon):not(.flow-track):not(.flow-packet) { font-size: 12px; }
  .visual-bottom { margin-top: 20px; }
  .system-caption { font-size: 12px; max-width: 205px; }
  .floating-note { width: 235px; bottom: -24px; right: 6px; padding: 13px 16px; gap: 10px; box-shadow: 4px 4px 0 var(--tinta); }
  .floating-note strong { font-size: 12px; }
  .floating-note p { font-size: 12px; }
  .visual-corner { display: none; }
  .capabilities-strip > .container { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding-block: 21px; }
  .capabilities-strip span { font-size: 12px; }
  .capabilities-strip span + span { padding-left: 0; border: 0; }
  .capabilities-strip span:nth-child(even) { padding-left: 15px; border-left: 1px solid var(--linea); }
  .service-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { min-height: 0; padding: 28px; }
  .service-label { margin-bottom: 25px; font-size: 12px; }
  .service-icon { top: 26px; right: 26px; width: 27px; height: 27px; }
  .service-icon svg { width: 27px; height: 27px; }
  .service-card h3 { max-width: 450px; padding-right: 5px; font-size: 38px; }
  .service-card > p { font-size: 14px; margin-top: 18px; }
  .service-tags { margin-top: 21px; margin-bottom: 25px; gap: 6px 13px; }
  .service-tags span { font-size: 12px; }
  .service-tags span + span { padding-left: 13px; }
  .card-link { padding-top: 18px; font-size: 13px; }
  .support-services { grid-template-columns: 1fr; margin-top: 26px; }
  .support-service { grid-template-columns: 26px 1fr 20px; gap: 17px; padding: 25px 0; border-bottom: 1px solid var(--linea); }
  .support-service + .support-service { border-left: 0; padding-left: 0; }
  .support-service h3 { font-size: 18px; }
  .support-service p { font-size: 13px; margin-top: 8px; max-width: 450px; }
  .lab-grid { display: flex; flex-direction: column; gap: 0; }
  .lab-intro h2 { max-width: 500px; font-size: 43px; }
  .lab-intro > p { margin-top: 21px; font-size: 15px; }
  .scenario-controls { margin-top: 26px; gap: 8px; }
  .scenario-tab { min-height: 46px; padding: 10px 15px; font-size: 12px; }
  .scenario-stage { width: 100%; margin-top: 23px; }
  .scenario-panel { min-height: 0; padding: 27px; }
  .scenario-panel h3 { font-size: 30px; }
  .scenario-eyebrow { margin-bottom: 18px; font-size: 12px; }
  .scenario-panel > p { font-size: 13px; }
  .scenario-flow { flex-direction: column; gap: 7px; margin-top: 25px; }
  .scenario-flow span { min-width: 0; width: 100%; padding: 10px 12px; font-size: 12px; }
  .scenario-result { margin-top: 24px; padding-top: 20px; }
  .scenario-result strong { font-size: 13px; }
  .scenario-result p { font-size: 12px; }
  .scenario-disclaimer { max-width: 520px; margin-top: 18px; }
  .approach-grid { grid-template-columns: 1fr; gap: 29px; margin-top: 37px; }
  .approach-grid > article { display: grid; grid-template-columns: 35px 1fr; column-gap: 18px; padding-top: 25px; }
  .approach-icon { grid-row: 1 / 3; margin: 0; width: 27px; height: 27px; }
  .approach-icon svg { width: 27px; height: 27px; }
  .approach-grid h3 { font-size: 22px; }
  .approach-grid p { margin-top: 13px; max-width: 500px; font-size: 14px; line-height: 1.8; }
  .approach-note { margin-top: 34px; padding-top: 21px; font-size: 12px; }
  .founder-grid { grid-template-columns: 1fr; gap: 46px; }
  .founder-portrait { width: calc(100% - 17px); max-width: 400px; margin-inline: auto; }
  .founder-portrait img { max-height: 490px; aspect-ratio: 4 / 5; object-position: center 26%; border-bottom-right-radius: 70px; }
  .founder-portrait::before { right: -13px; top: 16px; bottom: 37px; border-bottom-right-radius: 70px; }
  .portrait-caption { margin-top: 17px; font-size: 12px; }
  .founder-copy h2 { max-width: 570px; font-size: 45px; }
  .founder-copy > p { max-width: 550px; font-size: 15px; margin-top: 22px; }
  .signature { margin-top: 24px; font-size: 30px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-grid h2 { max-width: 520px; font-size: 44px; }
  .faq-list summary { padding-block: 23px; font-size: 15px; }
  .faq-list details > div { padding-right: 15px; padding-bottom: 24px; }
  .faq-list details p { font-size: 13px; }
  .section-contact { padding-top: 0; }
  .contact-panel { grid-template-columns: 1fr; padding: 32px 27px; gap: 29px; }
  .contact-copy .eyebrow { margin-bottom: 18px; }
  .contact-copy h2 { font-size: 43px; }
  .contact-copy > p { margin-top: 20px; font-size: 14px; }
  .contact-actions { gap: 15px; }
  .contact-actions .button { width: auto; min-width: 235px; padding-inline: 19px; font-size: 14px; }
  .contact-email { font-size: 13px; }
  .contact-phone { font-size: 13px; }
  .site-footer { padding-top: 34px; }
  .footer-top { flex-wrap: wrap; align-items: flex-start; gap: 21px; padding-bottom: 27px; }
  .footer-top .brand { flex: 0 0 100%; }
  .footer-top > p { flex: 0 0 100%; max-width: 390px; font-size: 12px; }
  .footer-socials { gap: 25px; }
  .footer-bottom { flex-direction: column; gap: 12px; padding-block: 20px; font-size: 12px; }
  .footer-bottom nav { gap: 20px; }
  .page-hero { padding-block: 51px 51px; }
  .page-hero h1 { font-size: clamp(45px, 10.4vw, 65px); }
  .page-hero > .container > p { font-size: 16px; margin-top: 24px; }
  .detail-grid { grid-template-columns: 1fr; gap: 38px; }
  .detail-sidebar { position: static; padding: 25px; }
  .detail-sidebar h2, .detail-sidebar h3 { font-size: 18px; }
  .detail-sidebar p { font-size: 13px; }
  .detail-content h2 { font-size: 35px; }
  .detail-content h3 { font-size: 21px; }
  .detail-content p { font-size: 14px; margin-top: 18px; }
  .feature-list li { font-size: 14px; }
  .deliverable { padding: 23px; }
  .detail-banner { padding: 25px; }
  .legal-content h2 { font-size: 21px; }
  .legal-content p { font-size: 14px; }
  .legal-notice { padding: 20px; font-size: 13px; }
  .not-found { padding-block: 75px 90px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 36px); }
  .hero-copy h1 { font-size: 48px; }
  .hero-copy .eyebrow { font-size: 12px; }
  .hero-actions { column-gap: 17px; }
  .hero-actions .button { padding-inline: 16px; font-size: 13px; gap: 14px; }
  .hero-actions .text-link { font-size: 12px; gap: 9px; }
  .system-visual { padding-inline: 20px; }
  .system-heading { font-size: 27px; }
  .service-card { padding: 25px; }
  .service-card h3 { font-size: 35px; }
  .service-icon { right: 24px; top: 24px; }
  .service-tags { column-gap: 10px; }
  .service-tags span { font-size: 12px; }
  .service-tags span + span { padding-left: 10px; }
  .scenario-panel { padding: 24px; }
  .scenario-tab { padding-inline: 12px; }
  .scenario-flow { gap: 4px; }
  .scenario-flow span { font-size: 12px; }
  .contact-panel { padding: 28px 24px; }
  .contact-copy h2 { font-size: 39px; }
  .contact-email { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.reveal-armed { opacity: 1; transform: none; }
  .button:hover, .service-card:hover { transform: none; }
}

/* 14. Evolución visual: una voz editorial y otra técnica, con la misma marca. */
.site-header.is-scrolled { box-shadow: 0 8px 22px -21px var(--tinta); }
.service-card h3,
.scenario-panel h3,
.usecase-card h3,
.delivery-items h3,
.support-service h3,
.detail-content h2 {
  font-family: var(--tecnica);
  font-weight: 600;
  letter-spacing: -.045em;
}
.service-card h3 { font-size: clamp(34px, 3.1vw, 45px); line-height: 1.12; }
.service-card.featured { border-color: #b7b5df; }
.service-card.automation { background: var(--tinta); border-color: var(--tinta); color: var(--fondo); }
.automation .service-label,
.automation .service-tags span,
.automation > p { color: var(--texto-oscuro-suave); }
.automation .service-icon { color: var(--lavanda); }
.automation .service-tags span + span { border-color: #656976; }
.automation .card-link { border-color: #4d5361; }
.automation .card-link:focus-visible { outline-color: var(--lavanda); }
.card-link { justify-content: flex-start; }
.card-link:hover { color: var(--acento-texto); }
.automation .card-link:hover { color: var(--lavanda); }
.support-service { grid-template-columns: 30px 1fr; }
.support-service .arrow,
.brand-period { display: none; }
.scenario-panel h3 { font-size: 31px; line-height: 1.18; }
.scenario-flow span { font-size: 12px; }
.section-services { padding-bottom: 84px; }
.section-usecases { padding-top: 84px; border-top: 1px solid var(--linea); }
.section-usecases .section-heading { max-width: 860px; }
.usecase-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.usecase-card {
  position: relative;
  min-width: 0;
  padding: 38px;
  border: 1px solid var(--linea);
  border-radius: 4px 20px 4px 20px;
  background: var(--superficie);
  overflow: hidden;
  transition: border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.usecase-card:nth-child(2) { background: var(--fondo-alt); border-radius: 20px 4px 20px 4px; }
.usecase-card:nth-child(3) { background: var(--acento-suave); border-color: #b5b5ee; }
.usecase-card:nth-child(4) { background: #e1e1ec; border-color: #b8b8ce; border-radius: 20px 4px 20px 4px; }
.usecase-card.wide { grid-column: 1 / -1; }
.usecase-card.wide { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; align-items: start; }
.usecase-card.wide > h3 { grid-column: 1; grid-row: 1; }
.usecase-card.wide > p { grid-column: 1; grid-row: 2; }
.usecase-card.wide .usecase-capabilities { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 0; padding-top: 0; border-top: 0; }
.usecase-card.wide .usecase-example { grid-column: 2; grid-row: 2; margin-top: 18px; }
.usecase-card:hover { transform: translateY(-4px); border-color: var(--acento-texto); box-shadow: 0 16px 25px -24px var(--tinta); }
.usecase-card h3 { max-width: 550px; font-size: 31px; line-height: 1.18; }
.usecase-card > p { max-width: 580px; margin-top: 18px; font-size: 15px; line-height: 1.75; }
.usecase-card:nth-child(4) p,
.usecase-card:nth-child(4) .usecase-capabilities,
.usecase-card:nth-child(4) .usecase-example { color: var(--tinta); }
.usecase-capabilities { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #cac3b7; color: var(--tinta-suave); font-size: 13px; font-weight: 500; line-height: 1.5; }
.usecase-capabilities > div,
.usecase-capabilities > span { max-width: 100%; }
.usecase-card:nth-child(3) .usecase-capabilities { border-color: #b5b5ee; }
.usecase-card:nth-child(4) .usecase-capabilities { border-color: #b8b8ce; }
.usecase-example { display: block; max-width: 610px; margin-top: 22px; color: var(--tinta-suave); font-size: 13px; line-height: 1.7; }
.usecase-example strong { color: var(--tinta); font-weight: 600; }
.usecase-disclaimer { max-width: 780px; margin-top: 28px; font-size: 13px; line-height: 1.7; }
.section-delivery { background: var(--fondo-alt); border-block: 1px solid var(--linea); }
.delivery-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 85px; align-items: start; }
.delivery-intro h2 { max-width: 500px; font-size: clamp(43px, 4.1vw, 59px); }
.delivery-intro > p { max-width: 440px; margin-top: 24px; font-size: 16px; line-height: 1.75; }
.delivery-items { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.delivery-items > article { min-width: 0; padding-top: 12px; }
.delivery-items h3 { font-size: 23px; line-height: 1.22; }
.delivery-items p { margin-top: 15px; font-size: 14px; line-height: 1.8; }
.profile-links { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 28px; }
.profile-link { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 3px 12px; min-height: 56px; padding: 12px 16px; border: 1px solid #b9b2a8; border-radius: 5px; background: transparent; transition: background .2s, border-color .2s, transform .25s var(--ease); }
.profile-link > svg { grid-row: 1 / 3; width: 23px; height: 23px; }
.profile-link strong { font-size: 13px; font-weight: 600; line-height: 1.4; }
.profile-link span { color: var(--tinta-suave); font-size: 12px; line-height: 1.4; }
.profile-link:hover { background: var(--superficie); border-color: var(--acento-texto); transform: translateY(-2px); }
.contact-actions .profile-links { margin-top: 3px; }
.contact-actions .profile-link { padding: 9px 12px; gap: 2px 9px; }
.contact-actions .profile-link strong { font-size: 12px; }
.contact-actions .profile-link > svg { width: 20px; height: 20px; }

/* Contacto persistente sin burbujas ni movimientos que persigan al cursor. */
.whatsapp-float {
  position: fixed;
  z-index: 55;
  right: max(24px, env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 19px;
  border: 1px solid var(--tinta);
  border-radius: 7px;
  background: var(--acento-texto);
  color: var(--fondo);
  box-shadow: 4px 4px 0 var(--tinta);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
  animation: entrada-contacto .6s var(--ease) 1 both;
}
.whatsapp-float svg { width: 24px; height: 24px; flex: 0 0 auto; }
.whatsapp-float:hover { transform: translateY(-3px); background: #3b389a; box-shadow: 4px 7px 0 var(--tinta); }
.whatsapp-float:focus-visible { outline-color: var(--tinta); outline-offset: 7px; }
@keyframes entrada-contacto { from { transform: translateY(10px); opacity: .8; } to { transform: none; opacity: 1; } }
.site-footer { padding-bottom: 88px; }
.footer-bottom button { min-height: 44px; padding: 7px 11px; border: 1px solid var(--linea); border-radius: 4px; background: transparent; color: inherit; font-size: inherit; }
.footer-bottom button:hover { color: var(--acento-texto); border-color: var(--acento-texto); }
.footer-bottom nav { align-items: center; }

/* Aviso informativo: el cierre es accesible y no implica aceptar publicidad. */
.cookie-notice {
  position: relative;
  z-index: 54;
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto 100px;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 32px;
  border: 1px solid var(--tinta);
  border-radius: 10px 3px 10px 3px;
  background: var(--superficie);
  color: var(--tinta);
  box-shadow: 5px 5px 0 var(--tinta);
}
.cookie-notice.cookie-ready {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: max(24px, env(safe-area-inset-left));
  width: min(440px, calc(100% - 48px));
  max-height: min(430px, calc(100dvh - 120px));
  margin: 0;
  padding: 24px 25px;
}
.cookie-notice h2 { max-width: 340px; margin: 0; font-family: var(--tecnica); font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.035em; }
.cookie-notice p { margin-top: 12px; font-size: 13px; line-height: 1.7; }
.cookie-notice a { color: var(--acento-texto); text-decoration: underline; text-underline-offset: 4px; }
.cookie-notice > a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font-size: 13px; font-weight: 500; }
.cookie-notice button[data-cookie-close] { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 14px; padding: 10px 17px; border: 1px solid var(--tinta); border-radius: 4px; background: var(--tinta); color: var(--fondo); font-size: 13px; font-weight: 600; }
.cookie-notice button[data-cookie-close]:hover { background: #2c3344; }
.cookie-notice .cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 14px; }
.cookie-notice .cookie-actions button[data-cookie-close] { margin-top: 0; }
.cookie-notice .cookie-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.cookies-open { min-height: 44px; }
.legal-summary { padding-block: 48px; border-top: 1px solid var(--linea); }
.legal-summary > .container { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.legal-summary h2 { font-family: var(--tecnica); font-size: 22px; font-weight: 600; letter-spacing: -.04em; line-height: 1.25; }
.legal-summary p { max-width: 650px; margin-top: 13px; font-size: 13px; line-height: 1.75; }
.legal-summary nav { display: flex; flex-direction: column; gap: 10px; min-width: 170px; }
.legal-summary nav a { display: inline-flex; align-items: center; min-height: 38px; font-size: 13px; color: var(--acento-texto); }
.legal-summary nav a:hover { color: var(--tinta); }
.legal-source-links { display: grid; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--linea); }
.legal-source-links a { font-size: 14px; line-height: 1.6; }
.legal-content table { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 14px; }
.legal-content th, .legal-content td { padding: 13px 14px; border: 1px solid var(--linea); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.legal-content th { color: var(--tinta); background: var(--fondo-alt); font-weight: 600; }

/* Microinteracciones finitas: cambian el estado, no la posición del contenido. */
html.motion-paused .whatsapp-float,
html.motion-paused .profile-link,
html.motion-paused .usecase-card { animation: none; transition: none; }
html.motion-paused .whatsapp-float:hover,
html.motion-paused .profile-link:hover,
html.motion-paused .usecase-card:hover { transform: none; }

@media (max-width: 1150px) {
  .delivery-grid { gap: 48px; }
  .delivery-items { gap: 30px 25px; }
  .usecase-card { padding: 32px; }
  .usecase-card h3 { font-size: 29px; }
  .service-card h3 { font-size: 38px; }
}
@media (max-width: 950px) {
  .service-card h3 { font-size: 34px; }
  .service-card { padding-top: 37px; }
  .service-label { max-width: calc(100% - 35px); font-size: 12px; }
  .system-visual { padding-inline: 20px; }
  .visual-topline { flex-wrap: wrap; gap: 10px 14px; font-size: 12px; }
  .motion-toggle { font-size: 12px; }
  .workflow span:not(.line-icon):not(.flow-track):not(.flow-packet) { font-size: 12px; }
  .workflow-source, .workflow-core, .workflow-output { grid-template-columns: 25px 1fr; gap: 8px; padding-inline: 12px; }
  .workflow-source svg, .workflow-core svg, .workflow-output svg { width: 24px; height: 24px; }
  .delivery-grid { grid-template-columns: 1fr; gap: 44px; }
  .delivery-intro { max-width: 760px; }
  .delivery-intro h2 { max-width: 700px; }
  .delivery-intro > p { max-width: 640px; }
  .usecase-grid { grid-template-columns: 1fr 1fr; }
  .usecase-card { padding: 28px; }
  .usecase-card h3 { font-size: 27px; }
  .contact-actions .profile-links { flex-direction: column; }
  .profile-link { min-width: 0; }
}
@media (max-width: 700px) {
  html { scroll-padding-bottom: 95px; }
  .service-card h3 { font-size: 35px; line-height: 1.13; }
  .service-card { padding-top: 32px; }
  .service-tags span { font-size: 12px; }
  .support-service { grid-template-columns: 26px 1fr; }
  .visual-topline { flex-wrap: nowrap; }
  .system-caption, .floating-note p, .hero-footnote, .hero-copy .eyebrow, .capabilities-strip span, .portrait-caption { font-size: 12px; }
  .floating-note { width: 250px; }
  .scenario-panel h3 { font-size: 28px; }
  .scenario-flow { gap: 10px; }
  .scenario-flow span { text-align: left; justify-content: flex-start; padding: 12px 14px; }
  .section-services { padding-bottom: 54px; }
  .section-usecases { padding-top: 54px; }
  .usecase-grid { grid-template-columns: 1fr; gap: 18px; }
  .usecase-card.wide { display: block; grid-column: auto; }
  .usecase-card.wide .usecase-capabilities { flex-direction: row; margin-top: 23px; padding-top: 20px; border-top: 1px solid #cac3b7; }
  .usecase-card.wide:nth-child(4) .usecase-capabilities { border-top-color: #b8b8ce; }
  .usecase-card.wide .usecase-example { margin-top: 22px; }
  .usecase-card { padding: 29px 26px; }
  .usecase-card h3 { font-size: 29px; }
  .usecase-card > p { font-size: 14px; margin-top: 16px; }
  .usecase-capabilities { gap: 10px 18px; margin-top: 23px; font-size: 12px; }
  .usecase-example { font-size: 12px; }
  .usecase-disclaimer { font-size: 12px; }
  .delivery-grid { gap: 34px; }
  .delivery-intro h2 { font-size: 43px; }
  .delivery-intro > p { margin-top: 22px; font-size: 15px; }
  .delivery-items { grid-template-columns: 1fr; gap: 27px; }
  .delivery-items > article { padding-top: 21px; }
  .delivery-items h3 { font-size: 23px; }
  .delivery-items p { max-width: 540px; margin-top: 12px; font-size: 14px; }
  .profile-links { gap: 10px; margin-top: 24px; }
  .profile-link { flex: 1; padding-inline: 12px; }
  .contact-actions .profile-links { flex-direction: row; width: 100%; }
  .contact-actions .profile-link { flex: 1; }
  .contact-actions .profile-link span { font-size: 12px; }
  .whatsapp-float { right: max(16px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); min-height: 50px; padding: 11px 16px; font-size: 13px; box-shadow: 3px 3px 0 var(--tinta); }
  .whatsapp-float svg { width: 23px; height: 23px; }
  .cookie-notice { width: calc(100% - 40px); padding: 22px; box-shadow: 3px 3px 0 var(--tinta); }
  .cookie-notice.cookie-ready { left: max(16px, env(safe-area-inset-left)); bottom: calc(86px + env(safe-area-inset-bottom)); width: calc(100% - 32px); max-height: min(390px, 45dvh); padding: 20px; }
  .cookie-notice h2 { font-size: 19px; }
  .cookie-notice p { font-size: 12px; line-height: 1.75; }
  .cookie-notice button[data-cookie-close] { min-height: 44px; }
  .legal-summary { padding-block: 36px; }
  .legal-summary > .container { flex-direction: column; gap: 22px; }
  .legal-summary nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 25px; }
  .legal-summary h2 { font-size: 21px; }
  .legal-summary p { font-size: 13px; }
  .legal-content table { display: block; overflow-x: auto; font-size: 13px; }
  .footer-bottom { font-size: 12px; }
  .footer-bottom nav { gap: 7px 22px; }
  .footer-bottom a, .footer-bottom button { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 380px) {
  .service-card h3 { font-size: 32px; }
  .visual-topline { flex-wrap: wrap; }
  .system-heading { margin-top: 20px; }
  .profile-links { flex-direction: column; }
  .profile-link { flex: auto; width: 100%; }
  .contact-actions .profile-links { flex-direction: column; }
  .usecase-card { padding-inline: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float, .profile-link, .usecase-card { animation: none !important; transition: none !important; }
  .whatsapp-float:hover, .profile-link:hover, .usecase-card:hover { transform: none; }
}

/* Servicios reales en portada: cada elemento lleva a una página del sitio. */
.services-overview {
  min-height: 0;
  padding: 27px 30px 29px;
  background: var(--acento-suave);
  border-color: #b9b7d9;
  box-shadow: 8px 8px 0 var(--fondo-alt);
}
.services-overview .visual-topline { gap: 14px; }
.services-overview .visual-topline > span { color: var(--tinta-suave); font-size: 13px; }
.overview-heading {
  margin-top: 21px;
  max-width: 440px;
  font-family: var(--tecnica);
  font-size: clamp(30px, 2.7vw, 39px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.045em;
}
.overview-heading em { color: var(--acento-texto); }
.overview-intro { max-width: 420px; margin-top: 16px; font-size: 14px; line-height: 1.7; }
.overview-links { display: grid; gap: 12px; margin-top: 23px; }
.overview-service {
  display: grid;
  gap: 7px;
  padding: 18px 20px;
  border: 1px solid #b9b7d9;
  border-radius: 6px;
  background: var(--superficie);
  transition: border-color .2s, background .2s, transform .25s var(--ease);
}
.overview-service strong { font-family: var(--tecnica); font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.overview-service span { color: var(--tinta-suave); font-size: 13px; line-height: 1.6; }
.overview-service:first-child { border-color: var(--tinta); background: var(--tinta); color: var(--fondo); }
.overview-service:first-child span { color: #d7d6ed; }
.overview-service:hover { border-color: var(--acento-texto); transform: translateY(-2px); background: #f6f5fc; }
.overview-service:first-child:hover { background: #24243a; }
.overview-service:first-child:focus-visible { outline-color: var(--acento-texto); }
.overview-support { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; row-gap: 0; margin-top: 15px; }
.overview-support a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinta); font-size: 13px; font-weight: 500; line-height: 1.4; }
.overview-support a:hover { color: var(--acento-texto); }
.overview-contact { margin-top: 8px; }
.overview-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--acento-texto); font-size: 14px; font-weight: 600; }
.overview-contact a:hover { color: var(--tinta); }
html.motion-paused .overview-service { transition: none; }
html.motion-paused .overview-service:hover { transform: none; }

@media (max-width: 1150px) {
  .services-overview { padding-inline: 23px; }
  .overview-heading { font-size: 33px; }
  .overview-service { padding-inline: 17px; }
  .overview-support { column-gap: 16px; }
}
@media (min-width: 701px) and (max-width: 950px) {
  .services-overview .visual-topline { flex-wrap: wrap; }
  .overview-heading { font-size: 30px; }
  .overview-intro { font-size: 13px; }
  .overview-service strong { font-size: 16px; }
  .overview-service span { font-size: 12px; }
}
@media (max-width: 700px) {
  .services-overview { padding: 23px 25px 25px; }
  .overview-heading { margin-top: 21px; max-width: 460px; font-size: 34px; }
  .overview-intro { font-size: 14px; }
  .overview-links { margin-top: 22px; }
  .overview-service strong { font-size: 18px; }
  .overview-service span { font-size: 13px; }
}
@media (max-width: 380px) {
  .services-overview { padding-inline: 20px; }
  .services-overview .visual-topline { flex-wrap: wrap; }
  .overview-heading { font-size: 31px; }
  .overview-service { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .overview-service { transition: none; }
  .overview-service:hover { transform: none; }
}

/* 15. Identidad original aplicada a la web: mineral, editorial y tecnológica.
 * No hay indicadores de datos, numeración decorativa ni contenido simulado.
 * El arte de portada es una imagen propia, visible sin JavaScript.
 */
.site-header { background: rgba(243, 238, 230, .97); border-color: var(--linea); }
@supports (backdrop-filter: blur(15px)) {
  .site-header { background: rgba(243, 238, 230, .91); }
}
.header-inner { min-height: 96px; gap: 28px; }
.brand { gap: 10px; max-width: 255px; }
.brand-logo { width: 49px; height: 49px; mix-blend-mode: darken; }
.brand-wordmark { display: grid; gap: 3px; }
.brand-name { display: block; color: var(--tinta); font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.brand-name > span:first-child { color: inherit; }
.brand-tagline { display: block; color: var(--tinta-suave); font-family: var(--fuente); font-size: 12px; font-weight: 400; letter-spacing: .015em; line-height: 1.4; }
.site-nav { gap: 28px; }
.site-nav > a { font-size: 14px; }
.nav-cta { padding-inline: 20px; border-radius: 4px; }
.site-nav > .nav-cta:hover { color: var(--fondo); background: var(--tinta); }
.menu-toggle { border-color: #8a8d96; }

.hero { padding-block: 60px 78px; }
.hero-grid { grid-template-columns: 1.08fr .92fr; gap: 66px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-intro { max-width: 500px; margin-bottom: 27px; color: var(--tinta-suave); font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: .005em; }
.hero-copy h1 { max-width: 680px; font-size: clamp(67px, 6.2vw, 88px); font-weight: 530; line-height: 1.025; letter-spacing: -.057em; }
.hero-copy h1 em { color: var(--acento-texto); font-weight: 460; }
.hero-description { max-width: 530px; margin-top: 29px; font-size: 17px; line-height: 1.8; }
.hero-actions { gap: 13px 28px; margin-top: 31px; }
.hero-actions .button { min-height: 55px; }
.button.primary { background: var(--tinta); border-color: var(--tinta); color: var(--fondo); border-radius: 4px; }
.button.primary:hover { background: #1c2b44; box-shadow: 0 10px 20px -16px #0b152680; }
.hero-motion { display: inline-flex; margin-top: 23px; }
.motion-toggle { min-height: 44px; padding: 10px 14px; border-color: #8a8d96; border-radius: 4px; background: transparent; color: var(--tinta-suave); font-size: 12px; }
.motion-toggle:hover { background: var(--superficie); color: var(--tinta); }
.hero-artwork { position: relative; width: 100%; max-width: 460px; margin: 0 0 0 auto; overflow: hidden; background: var(--piedra); border-radius: 4px 52px 4px 4px; isolation: isolate; animation: entrada-arte .8s var(--ease) 1 both; }
.hero-artwork picture, .hero-art-frame { display: block; overflow: hidden; }
.hero-art-image { display: block; width: 100%; height: auto; max-height: 575px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
.hero-art-caption { display: grid; gap: 5px; padding: 17px 25px 19px; background: var(--tinta); color: var(--fondo); }
.hero-art-caption strong { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
.hero-art-caption span { color: #d9d5ce; font-size: 12px; line-height: 1.55; }
@keyframes entrada-arte { from { opacity: .9; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.capabilities-strip { background: var(--fondo); border-color: var(--linea); }
.capabilities-strip > .container { padding-block: 22px; }
.capabilities-strip span { color: #51535a; font-size: 12px; }
.capabilities-strip span + span { border-left: 0; padding-left: 0; }

.section-services { padding-block: 94px 84px; }
.section-heading h2 { font-size: clamp(44px, 4.5vw, 64px); }
.section-heading > p { font-size: 17px; }
.service-grid { grid-template-columns: 1.04fr 1fr; gap: 26px; }
.service-card { min-height: 422px; padding: 39px 40px; box-shadow: none; }
.service-card.featured { background: #e5ddd1; border-color: #cbc1b3; border-radius: 4px 36px 4px 4px; }
.service-card.automation { background: var(--tinta); border-radius: 4px 4px 36px 4px; }
.service-label { max-width: calc(100% - 42px); margin-bottom: 27px; font-size: 13px; }
.service-icon { top: 34px; right: 35px; width: 32px; height: 32px; color: var(--acento-texto); }
.service-card h3 { font-family: var(--fuente); font-size: clamp(33px, 3vw, 41px); font-weight: 600; letter-spacing: -.05em; line-height: 1.16; }
.service-card > p { margin-top: 20px; font-size: 15px; line-height: 1.8; }
.service-tags { gap: 7px 18px; margin-top: 22px; margin-bottom: 29px; }
.service-tags span { font-size: 12px; }
.service-tags span + span { padding-left: 0; border: 0; }
.card-link { min-height: 44px; padding: 0; border: 0; color: var(--acento-texto); font-size: 14px; }
.automation .card-link { color: var(--fondo); border: 0; }
.automation .service-icon { color: var(--lavanda); }
.automation .card-link:hover { color: var(--lavanda); }
.support-services { margin-top: 30px; border-top: 0; }
.support-service { padding-top: 24px; padding-bottom: 24px; }
.support-service + .support-service { border-color: var(--linea); }
.support-service > svg { color: var(--tinta-suave); }
.support-service h3 { font-family: var(--fuente); font-size: 19px; font-weight: 600; letter-spacing: -.035em; }

.section-delivery { padding-block: 90px; background: var(--piedra); border: 0; }
.delivery-grid { grid-template-columns: .88fr 1.12fr; gap: 80px; }
.delivery-intro h2 { max-width: 510px; font-size: clamp(44px, 4.15vw, 59px); }
.delivery-intro h2 em { color: var(--tinta); }
.delivery-intro .eyebrow { color: #454c5a; }
.delivery-intro > p { color: #454c5a; font-size: 15px; }
.delivery-items { column-gap: 35px; row-gap: 34px; }
.delivery-items > article { padding-top: 5px; }
.delivery-items h3 { font-family: var(--fuente); font-size: 21px; font-weight: 600; letter-spacing: -.035em; line-height: 1.3; }
.delivery-items p { color: #454c5a; margin-top: 13px; font-size: 14px; line-height: 1.8; }
.section-approach { padding-block: 94px; background: var(--tinta); }
.section-approach h2 em { color: var(--piedra); }
.approach-icon { color: var(--lavanda); }
.approach-grid { margin-top: 47px; gap: 44px; }
.approach-grid h3 { font-family: var(--fuente); font-size: 23px; letter-spacing: -.035em; }
.approach-grid p { font-size: 14px; }
.approach-note { margin-top: 42px; padding-top: 0; border: 0; }
.section-founder { padding-block: 98px; }
.founder-grid { gap: 100px; }
.founder-portrait::before { display: none; }
.founder-portrait img { border-radius: 4px 4px 56px 4px; }
.portrait-caption { margin-top: 16px; padding-top: 0; border: 0; }
.founder-copy h2 { font-size: clamp(43px, 4.2vw, 61px); }
.founder-copy > p { font-size: 16px; line-height: 1.8; }
.signature { max-width: 580px; font-size: 29px; line-height: 1.3; }
.profile-link { grid-template-columns: 1fr; border-color: #98958f; border-radius: 4px; gap: 4px; }
.profile-link strong { font-size: 13px; }
.profile-link:hover { background: var(--superficie); }
.section-faq { padding-block: 80px 96px; }
.faq-list summary { font-size: 16px; }
.contact-panel { gap: 58px; padding: 53px 57px; border-color: var(--tinta); border-radius: 4px 36px 4px 4px; background: var(--tinta); color: var(--fondo); }
.contact-copy .eyebrow { color: var(--piedra); }
.contact-copy h2 { color: var(--fondo); font-size: clamp(43px, 4.2vw, 59px); }
.contact-copy h2 em { color: var(--piedra); }
.contact-copy > p, .contact-actions > p { color: #d2d0cc; }
.contact-actions .button { background: var(--acento); color: var(--fondo); border-color: var(--acento); }
.contact-actions .button:hover { background: #2938db; }
.contact-actions .contact-email { color: var(--lavanda); }
.contact-actions .contact-email:hover { color: var(--fondo); }
.contact-actions .profile-link { color: var(--fondo); border-color: #677082; }
.contact-actions .profile-link span { color: #c1c5cf; }
.contact-actions .profile-link:hover { background: #17243b; border-color: var(--lavanda); }
.contact-panel :focus-visible { outline-color: #bdc6ff; }
.whatsapp-float { background: var(--acento); color: var(--fondo); border-color: #2938db; border-radius: 5px; box-shadow: 0 7px 22px -12px #0b152680; }
.whatsapp-float:hover { background: #2938db; box-shadow: 0 10px 25px -12px #0b152680; }
.cookie-notice { border-color: #99948c; border-radius: 5px 18px 5px 5px; background: var(--superficie); box-shadow: 0 13px 36px -20px #0b152680; }
.cookie-notice h2 { font-family: var(--fuente); font-size: 19px; }
.cookie-notice a { color: var(--acento-texto); }
.legal-summary { background: var(--fondo); }
.legal-summary h2 { font-family: var(--fuente); }
.site-footer { background: var(--fondo); }
.site-footer .brand-logo { width: 44px; height: 44px; }
.site-footer .brand-name { font-size: 28px; }
.site-footer .brand-tagline { font-size: 12px; }
.footer-top > p { max-width: 300px; }
.page-hero { background: var(--fondo); }
.detail-sidebar { background: var(--piedra); border-radius: 4px 24px 4px 4px; }
.deliverable { background: #e5ddd1; border: 0; border-radius: 4px 24px 4px 4px; }

@media (min-width: 1600px) {
  .hero { padding-block: 78px 90px; }
  .hero-grid { gap: 75px; }
}
@media (max-width: 1150px) {
  .header-inner { gap: 20px; }
  .brand-name { font-size: 28px; }
  .brand-logo { width: 45px; height: 45px; }
  .site-nav { gap: 19px; }
  .site-nav > a { font-size: 13px; }
  .hero-grid { gap: 37px; grid-template-columns: 1.06fr .94fr; }
  .hero-copy h1 { font-size: 72px; }
  .hero-description { font-size: 16px; }
  .hero-art-caption { padding: 19px 22px; }
  .hero-art-caption strong { font-size: 22px; }
  .service-card { padding: 34px; }
  .service-card h3 { font-size: 35px; }
  .service-icon { top: 31px; right: 31px; }
  .delivery-grid { gap: 48px; }
  .founder-grid { gap: 65px; }
  .contact-panel { padding: 44px; gap: 40px; }
}
@media (max-width: 950px) {
  .header-inner { min-height: 84px; }
  .brand-logo { width: 41px; height: 41px; }
  .brand-name { font-size: 26px; }
  .brand-tagline { font-size: 12px; }
  .site-nav { gap: 16px; }
  .site-nav > a { font-size: 12px; }
  .hero { padding-block: 54px 65px; }
  .hero-grid { gap: 32px; }
  .hero-copy h1 { font-size: 61px; }
  .hero-intro { font-size: 13px; margin-bottom: 22px; }
  .hero-actions { gap: 7px 18px; }
  .hero-art-caption strong { font-size: 20px; }
  .hero-art-caption span { font-size: 12px; }
  .hero-art-caption { padding: 17px 19px; }
  .service-card { padding: 30px; }
  .service-card h3 { font-size: 32px; }
  .service-card > p { font-size: 14px; }
  .service-label { font-size: 12px; }
  .service-icon { width: 27px; height: 27px; top: 28px; right: 28px; }
  .delivery-grid { grid-template-columns: 1fr; gap: 35px; }
  .delivery-intro { max-width: 730px; }
  .delivery-intro h2 { max-width: 700px; }
  .delivery-intro > p { max-width: 650px; margin-top: 20px; }
  .delivery-items { grid-template-columns: 1fr 1fr; gap: 31px; }
  .founder-grid { gap: 48px; }
  .founder-copy h2 { font-size: 45px; }
  .contact-panel { gap: 28px; padding: 35px; }
  .contact-copy h2 { font-size: 44px; }
  .footer-top { gap: 25px; }
  .footer-top > p { max-width: 225px; }
}
@media (max-width: 899px) {
  .header-inner { min-height: 80px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name { font-size: 27px; }
  .menu-ready .site-nav.is-open { background: var(--fondo); }
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy h1 { max-width: 700px; font-size: clamp(54px, 8.5vw, 68px); }
  .hero-description { max-width: 620px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 13px 25px; }
  .hero-artwork { max-width: 430px; margin-inline: auto; }
  .hero-art-image { max-height: 538px; }
  .hero-motion { margin-top: 16px; }
  .hero-intro { font-size: 14px; }
}
@media (max-width: 700px) {
  .header-inner { min-height: 79px; }
  .brand { gap: 8px; }
  .brand-logo { width: 39px; height: 39px; }
  .brand-name { font-size: 26px; }
  .brand-tagline { font-size: 12px; letter-spacing: 0; }
  .hero { padding-block: 42px 58px; }
  .hero-grid { gap: 32px; }
  .hero-copy h1 { max-width: 620px; font-size: clamp(48px, 11.4vw, 65px); line-height: 1.04; letter-spacing: -.052em; }
  .hero-intro { font-size: 13px; max-width: 350px; margin-bottom: 21px; }
  .hero-description { margin-top: 24px; font-size: 15px; line-height: 1.8; }
  .hero-actions { margin-top: 26px; column-gap: 20px; }
  .hero-actions .button { min-height: 52px; padding-inline: 18px; font-size: 13px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero-motion { margin-top: 14px; }
  .motion-toggle { min-height: 44px; font-size: 12px; }
  .hero-artwork { max-width: 400px; margin-inline: auto; border-top-right-radius: 38px; }
  .hero-art-image { height: 400px; max-height: none; aspect-ratio: auto; object-fit: cover; }
  .hero-art-caption { padding: 18px 21px; }
  .hero-art-caption strong { font-size: 23px; }
  .hero-art-caption span { max-width: 295px; font-size: 12px; }
  .capabilities-strip > .container { gap: 13px 15px; padding-block: 21px; }
  .capabilities-strip span { font-size: 12px; }
  .section-services { padding-block: 64px 58px; }
  .section-heading h2 { font-size: 43px; line-height: 1.1; }
  .section-heading > p { font-size: 15px; line-height: 1.8; }
  .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { min-height: 0; padding: 29px 28px; }
  .service-card h3 { max-width: 480px; font-size: 34px; line-height: 1.17; }
  .service-card > p { font-size: 14px; line-height: 1.8; }
  .service-icon { width: 27px; height: 27px; top: 27px; right: 27px; }
  .service-label { font-size: 12px; margin-bottom: 25px; }
  .service-tags { margin-bottom: 23px; column-gap: 16px; }
  .service-tags span { font-size: 12px; }
  .card-link { font-size: 13px; }
  .support-services { margin-top: 20px; }
  .support-service { padding-block: 23px; }
  .support-service h3 { font-size: 18px; }
  .section-delivery { padding-block: 62px; }
  .delivery-grid { gap: 31px; }
  .delivery-intro h2 { font-size: 43px; }
  .delivery-intro > p { font-size: 14px; }
  .delivery-items { grid-template-columns: 1fr; gap: 26px; }
  .delivery-items > article { padding-top: 0; }
  .delivery-items h3 { font-size: 21px; }
  .delivery-items p { margin-top: 11px; font-size: 14px; line-height: 1.8; }
  .section-approach { padding-block: 64px; }
  .approach-grid { margin-top: 33px; gap: 27px; }
  .approach-grid h3 { font-size: 21px; }
  .approach-grid p { font-size: 14px; }
  .approach-note { margin-top: 30px; font-size: 12px; }
  .section-founder { padding-block: 64px; }
  .founder-grid { gap: 37px; }
  .founder-portrait { max-width: 365px; }
  .founder-portrait img { max-height: 460px; border-bottom-right-radius: 48px; }
  .founder-copy h2 { font-size: 44px; }
  .founder-copy > p { font-size: 15px; }
  .signature { font-size: 27px; }
  .profile-link { flex: 1; min-width: 0; }
  .section-faq { padding-block: 62px 68px; }
  .faq-list summary { font-size: 15px; }
  .contact-panel { padding: 33px 27px; gap: 28px; border-top-right-radius: 28px; }
  .contact-copy h2 { font-size: 42px; }
  .contact-copy > p { font-size: 14px; }
  .contact-actions .button { width: auto; min-width: 225px; font-size: 13px; }
  .contact-actions .profile-link { padding-inline: 12px; }
  .cookie-notice.cookie-ready { padding: 20px; }
  .cookie-notice p { font-size: 12px; }
  .footer-top > p { max-width: 380px; }
  .site-footer .brand-name { font-size: 27px; }
}
@media (max-width: 380px) {
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 25px; }
  .brand-tagline { font-size: 12px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-intro { font-size: 12px; }
  .hero-actions { gap: 9px 17px; }
  .hero-actions .button { padding-inline: 16px; }
  .hero-art-caption strong { font-size: 21px; }
  .hero-art-caption span { font-size: 12px; }
  .service-card { padding-inline: 25px; }
  .service-card h3 { font-size: 32px; }
  .service-tags { column-gap: 14px; }
  .contact-panel { padding-inline: 25px; }
  .contact-copy h2 { font-size: 39px; }
}
html.motion-paused .hero-artwork { animation: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-artwork { animation: none !important; transform: none; }
}

/* 16. Tipografía v5: una voz propia en cuatro papeles.
 * Bricolage Grotesque titula (su tamaño óptico gana carácter en grande),
 * Instrument Serif acentúa la frase clave, Geist sostiene la lectura y
 * Geist Mono rotula lo técnico. Solo cambia familia, peso y espaciado:
 * los tamaños responsive de las secciones anteriores se conservan. */
body {
  font-family: var(--fuente);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3,
.brand-name,
.overview-heading,
.overview-service strong,
.faq-list summary,
.cookie-notice h2,
.legal-summary h2,
.legal-content h2,
.detail-sidebar h2,
.detail-sidebar h3,
.service-card h3,
.support-service h3,
.delivery-items h3,
.approach-grid h3,
.detail-content h2 {
  font-family: var(--display);
  font-optical-sizing: auto;
}
h1, h2 { font-weight: 650; letter-spacing: -.042em; }
h1 { line-height: .98; }
h2 { line-height: 1.03; }
h3,
.service-card h3,
.support-service h3,
.delivery-items h3,
.approach-grid h3,
.detail-content h2 { font-weight: 620; letter-spacing: -.03em; }
.faq-list summary { font-weight: 560; letter-spacing: -.012em; }
.brand-name { font-weight: 720; letter-spacing: -.045em; }

/* La frase clave cambia de voz: cursiva serif, un poco mayor para igualar el ojo medio. */
em,
h1 em,
h2 em,
h3 em,
.hero-copy h1 em,
.overview-heading em,
.signature,
.hero-art-caption strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.012em;
}
h1 em, h2 em, h3 em, .overview-heading em { font-size: 1.1em; line-height: .9; }
.signature { font-size: 34px; }
.hero-art-caption strong { font-size: 27px; }

/* Rótulos técnicos: monoespaciada en versalitas simuladas, nunca en párrafos largos. */
.eyebrow,
.hero-intro,
.service-label,
.service-tags span,
.capabilities-strip span,
.portrait-caption,
.brand-tagline,
.hero-art-caption span,
.motion-toggle,
.footer-bottom > span,
.services-overview .visual-topline > span {
  font-family: var(--tecnica);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .07em;
  line-height: 1.5;
  text-transform: uppercase;
}
.brand-tagline { font-size: 9.5px; letter-spacing: .09em; }
.contact-phone,
.contact-email { font-family: var(--tecnica); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.button,
.nav-cta,
.text-link,
.card-link,
.site-nav > a { letter-spacing: -.005em; }
.hero-description,
.section-heading > p,
.page-hero > .container > p { letter-spacing: -.008em; }
.brand-logo { mix-blend-mode: normal; } /* El isotipo v5 ya es transparente. */

/* 17. Nexki: la mascota asistente guía las dudas y presta su menta a la marca.
 * Menta y grafito salen del propio personaje; la menta decora y señala,
 * nunca se usa como color de texto sobre marfil. */
:root {
  --menta: #8fd3b6;
  --menta-suave: #e2f2ea;
  --menta-texto: #1f6b52;
  --grafito: #2f3333;
}
::selection { background: var(--menta); color: var(--tinta); }

.nexki-hero > .container { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.nexki-hero-copy > p { max-width: 640px; margin-top: 28px; font-size: 18px; line-height: 1.75; letter-spacing: -.008em; }
.nexki-figure { position: relative; display: flex; justify-content: center; margin: 0; isolation: isolate; }
.nexki-figure::before { content: ""; position: absolute; inset: 12% 8% 4%; z-index: -1; background: var(--menta-suave); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.nexki-retrato img { display: block; width: min(100%, 300px); height: auto; filter: drop-shadow(0 22px 22px #0b152624); animation: nexki-flota 5.5s ease-in-out infinite; }
@keyframes nexki-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.nexki-section { padding-block: 64px 40px; }
.nexki-chat { max-width: 880px; margin: 0 auto 72px; overflow: hidden; background: var(--superficie); border: 1px solid var(--linea); border-radius: 4px 28px 4px 4px; box-shadow: 0 18px 40px -30px #0b152680; }
.nexki-chat-head { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: var(--tinta); color: var(--fondo); overflow: hidden; }
.nexki-chat-head::after { content: ""; position: absolute; top: -10px; bottom: -10px; right: 34px; width: 7px; background: var(--menta); transform: skewX(-26deg); }
.nexki-avatar img { display: block; width: 44px; height: 44px; padding: 3px; background: var(--fondo); border-radius: 50%; }
.nexki-chat-head strong { display: block; font-family: var(--display); font-size: 19px; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.nexki-chat-head span { display: block; margin-top: 3px; color: var(--texto-oscuro-suave); font-family: var(--tecnica); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.nexki-herramientas { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 22px; background: var(--fondo); border-bottom: 1px solid var(--linea); }
.nexki-herramienta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 13px; color: var(--tinta); background: var(--superficie); border: 1px solid var(--linea); border-radius: 4px; font-family: var(--tecnica); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; transition: background .2s, border-color .2s; }
.nexki-herramienta::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; background: var(--menta); border-radius: 50%; }
.nexki-herramienta[data-nexki-accion="reiniciar"] { margin-left: auto; }
.nexki-herramienta[data-nexki-accion="reiniciar"]::before { background: transparent; border: 1.5px solid var(--tinta-suave); }
.nexki-herramienta:hover { background: var(--menta-suave); border-color: var(--menta-texto); }
.nexki-log { display: flex; flex-direction: column; gap: 14px; min-height: 230px; max-height: 500px; padding: 24px 22px; overflow-y: auto; overscroll-behavior: contain; }
.nexki-msg { max-width: 84%; padding: 13px 16px; font-size: 15px; line-height: 1.65; border-radius: 4px 16px 16px 16px; overflow-wrap: anywhere; }
.nexki-msg p + p, .nexki-msg p + a, .nexki-msg .nexki-titulo + p, .nexki-msg ul + p, .nexki-msg div + p { margin-top: 6px; }
.nexki-msg a { color: var(--acento-texto); text-decoration: underline; text-underline-offset: 3px; }
.nexki-msg > a { display: inline-block; margin-top: 8px; font-weight: 600; }
.de-nexki { align-self: flex-start; background: var(--fondo); border: 1px solid var(--linea); border-left: 3px solid var(--menta); }
.de-usuario { align-self: flex-end; background: var(--tinta); color: var(--fondo); border-radius: 16px 4px 16px 16px; }
.nexki-titulo { display: block; font-family: var(--display); font-size: 16px; font-weight: 620; letter-spacing: -.02em; }
.nexki-paso { display: block; margin-top: 2px; margin-bottom: 4px; color: var(--menta-texto); font-family: var(--tecnica); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.nexki-msg p + .nexki-paso { margin-top: 12px; }
.nexki-resumen, .nexki-consejos { margin: 10px 0 0; padding: 0; list-style: none; }
.nexki-resumen li { display: grid; gap: 1px; padding-block: 7px; border-top: 1px solid var(--linea); color: var(--tinta); font-weight: 560; }
.nexki-resumen li span { color: var(--tinta-suave); font-family: var(--tecnica); font-size: 11px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }
.nexki-consejos li { position: relative; padding: 6px 0 6px 18px; color: var(--tinta-suave); }
.nexki-consejos li::before { content: ""; position: absolute; top: 15px; left: 2px; width: 7px; height: 7px; background: var(--menta-texto); border-radius: 50%; }
.nexki-medidor { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; max-width: 260px; margin: 10px 0 8px; }
.nexki-medidor span { height: 8px; background: var(--linea); border-radius: 2px; }
.nexki-medidor span.si { background: var(--menta-texto); }
.nexki-aviso { margin-top: 10px; color: var(--tinta-suave); font-size: 13px; line-height: 1.55; }
.nexki-acciones { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.nexki-acciones a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; }
.nexki-escribiendo { display: flex; gap: 5px; padding-block: 16px; }
.nexki-escribiendo span { width: 7px; height: 7px; background: var(--menta-texto); border-radius: 50%; opacity: .35; animation: nexki-punto 1s ease-in-out infinite; }
.nexki-escribiendo span:nth-child(2) { animation-delay: .15s; }
.nexki-escribiendo span:nth-child(3) { animation-delay: .3s; }
@keyframes nexki-punto { 50% { opacity: 1; transform: translateY(-3px); } }
.nexki-sugerencias { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 18px; }
.nexki-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; color: var(--tinta); background: transparent; border: 1px solid #7d766d; border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 1.3; text-align: left; transition: background .2s, border-color .2s; }
.nexki-chip:hover { background: var(--menta-suave); border-color: var(--menta-texto); }
button.nexki-chip { min-width: 64px; justify-content: center; background: var(--superficie); border-color: var(--tinta); }
button.nexki-chip.es-accion { border-color: var(--menta-texto); }
.nexki-entrada { display: flex; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--linea); }
.nexki-entrada input { flex: 1; min-width: 0; min-height: 50px; padding: 0 15px; color: var(--tinta); background: #fff; border: 1px solid #8a8d96; border-radius: 4px; font: 16px/1.4 var(--fuente); }
.nexki-entrada input:focus-visible { outline-offset: 2px; }
.nexki-entrada .button { min-height: 50px; padding-inline: 22px; }
.nexki-nota { padding: 0 22px 18px; color: var(--tinta-suave); font-size: 12px; line-height: 1.6; }

.nexki-faq { display: grid; gap: 54px; max-width: 880px; margin: 0 auto; }
.faq-grupo h2 { margin-bottom: 8px; font-size: clamp(26px, 2.6vw, 34px); }
.faq-grupo .faq-list details:target { background: var(--menta-suave); }
.nexki-banner { max-width: 880px; margin-inline: auto; }
.detail-banner .nexki-enlaces { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 18px; }
.detail-banner .nexki-enlaces .text-link { margin-top: 0; }
.deliverable > .text-link { margin-top: 14px; }

.nexki-glosario { max-width: 880px; margin-inline: auto; }
.nexki-glosario h2 { font-size: clamp(30px, 3.2vw, 44px); }
.nexki-glosario > p:not(.eyebrow) { max-width: 600px; margin-top: 18px; }
.nexki-glosario dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 34px 0 0; }
.nexki-glosario dl > div { padding: 20px 0 22px; border-top: 1px solid var(--linea); scroll-margin-top: 110px; }
.nexki-glosario dl > div:target { margin-inline: -14px; padding-inline: 14px; background: var(--menta-suave); }
.nexki-glosario dt { font-family: var(--display); font-size: 19px; font-weight: 620; letter-spacing: -.025em; line-height: 1.25; }
.nexki-glosario dd { margin: 6px 0 0; color: var(--tinta-suave); font-size: 15px; line-height: 1.65; }

.nexki-teaser { display: flex; align-items: center; gap: 14px; max-width: 390px; margin-top: 34px; padding: 10px 18px 10px 8px; background: var(--superficie); border: 1px solid var(--linea); border-radius: 4px 22px 4px 4px; transition: border-color .2s, transform .2s; }
.nexki-teaser img { display: block; width: 88px; height: 88px; }
.nexki-teaser strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 620; letter-spacing: -.025em; line-height: 1.2; }
.nexki-teaser span span { display: block; margin-top: 4px; color: var(--tinta-suave); font-size: 13px; line-height: 1.5; }
.nexki-teaser:hover { border-color: var(--menta-texto); transform: translateY(-2px); }
.nexki-teaser:hover img, .footer-nexki:hover img { animation: nexki-saludo .6s var(--ease) 1; }
@keyframes nexki-saludo { 40% { transform: translateY(-5px) rotate(-6deg); } 70% { transform: translateY(0) rotate(3deg); } }

.footer-nexki { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.3; }
.footer-nexki img { display: block; width: 48px; height: 48px; }
.footer-nexki span { display: grid; color: var(--tinta-suave); }
.footer-nexki strong { color: var(--tinta); font-weight: 600; }
.footer-nexki:hover strong { color: var(--menta-texto); }
.nexki-teaser picture, .footer-nexki picture { flex: 0 0 auto; }

@media (max-width: 950px) {
  .nexki-hero > .container { gap: 28px; }
}
@media (max-width: 700px) {
  .nexki-hero > .container { grid-template-columns: 1fr; }
  .nexki-figure { order: -1; justify-content: flex-start; }
  .nexki-retrato img { width: 118px; }
  .nexki-figure::before { inset: 8% auto 0 -6px; width: 132px; }
  /* El botón flotante taparía el campo de pregunta; la página ya ofrece WhatsApp en sus respuestas. */
  body:has(.nexki-chat) .whatsapp-float { display: none; }
  .nexki-hero-copy > p { font-size: 16px; margin-top: 22px; }
  .nexki-section { padding-block: 36px 24px; }
  .nexki-chat { margin-bottom: 52px; border-radius: 4px 20px 4px 4px; }
  .nexki-chat-head, .nexki-log, .nexki-entrada, .nexki-herramientas { padding-inline: 14px; }
  .nexki-herramienta { padding-inline: 10px; font-size: 10.5px; letter-spacing: .04em; }
  .nexki-herramienta[data-nexki-accion="reiniciar"] { margin-left: 0; }
  .nexki-sugerencias, .nexki-nota { padding-inline: 14px; }
  .nexki-log { min-height: 200px; max-height: 60vh; }
  .nexki-msg { max-width: 92%; font-size: 14px; }
  .nexki-entrada .button { padding-inline: 16px; }
  .nexki-faq { gap: 40px; }
  .nexki-glosario dl { grid-template-columns: 1fr; }
  .nexki-teaser img { width: 72px; height: 72px; }
}
.motion-paused .nexki-retrato img,
.motion-paused .nexki-escribiendo span { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .nexki-retrato img, .nexki-escribiendo span, .nexki-teaser:hover img, .footer-nexki:hover img { animation: none !important; }
  .nexki-teaser, .nexki-teaser:hover { transition: none; transform: none; }
}

/* 18. Páginas de error: escena propia en azul noche con el enlace roto del isotipo.
 * Sin menú ni pie completos: solo la salida más corta de vuelta al sitio. */
.error-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--tinta); color: var(--fondo); }
.error-page :focus-visible { outline-color: var(--lavanda); }
.error-page ::selection { background: var(--lavanda); color: var(--tinta); }
.error-page .skip-link { background: var(--fondo); color: var(--tinta); }
.error-barra { border-bottom: 1px solid #ffffff1f; }
.error-barra .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; }
.error-barra .brand-logo { padding: 4px; background: var(--fondo); border-radius: 10px; }
.error-barra .brand-name { color: var(--fondo); }
.error-barra .brand-tagline { color: var(--texto-oscuro-suave); }
.error-barra .text-link { color: var(--fondo); min-height: 44px; }
.error-barra .text-link:hover, .error-rutas a:hover strong, .error-pie a:hover { color: var(--lavanda); }

.error-escenario { flex: 1; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 64px 64px; background-position: center top; }
.error-escenario:focus { outline: none; }
.error-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-block: 64px 48px; }
.error-codigo { display: inline-flex; align-items: center; gap: 10px; color: var(--lavanda); font-family: var(--tecnica); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.error-codigo::before { content: ""; width: 8px; height: 8px; background: var(--menta); border-radius: 50%; box-shadow: 0 0 0 4px #8fd3b633; animation: error-pulso 2.2s ease-in-out infinite; }
@keyframes error-pulso { 50% { box-shadow: 0 0 0 8px #8fd3b600; } }
.error-numero { display: flex; align-items: center; margin-top: 18px; color: var(--fondo); font-family: var(--display); font-size: clamp(112px, 15vw, 210px); font-weight: 700; letter-spacing: -.06em; line-height: .86; }
.error-cero { position: relative; flex: 0 0 auto; width: .66em; height: .66em; margin: 0 .05em 0 .02em; background: var(--lavanda); border-radius: 50%; }
.error-cero::after { content: ""; position: absolute; inset: 25%; border: .045em solid var(--fondo); border-radius: 50%; }
.error-page h1 { margin-top: 26px; color: var(--fondo); font-size: clamp(38px, 4.4vw, 62px); }
.error-page h1 em { color: var(--lavanda); }
.error-copia > p:not([class]), .error-sugerencia { max-width: 520px; margin-top: 22px; font-size: 17px; line-height: 1.7; }
.error-copia > p:not([class]) { color: var(--texto-oscuro-suave); }
.error-sugerencia { padding: 12px 16px; background: #ffffff0d; border-left: 3px solid var(--menta); border-radius: 2px; }
.error-copia > .error-sugerencia { color: var(--fondo); }
.error-sugerencia a { color: var(--fondo); font-weight: 650; text-decoration: underline; text-decoration-color: var(--menta); text-underline-offset: 4px; }
.error-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.button.claro { color: var(--tinta); background: var(--fondo); }
.button.claro:hover { background: var(--lavanda); transform: translateY(-3px); }
.error-acciones .text-link { color: var(--fondo); }
.error-acciones .text-link:hover { color: var(--lavanda); }

.error-escena { position: relative; width: min(100%, 440px); margin: 0 auto; }
.error-escena svg { display: block; width: 100%; height: auto; }
.error-linea { stroke: var(--acento); stroke-width: 14; stroke-linecap: round; }
.error-hueco { fill: none; stroke: var(--lavanda); stroke-width: 3; stroke-dasharray: 3 11; stroke-linecap: round; animation: error-buscar 1.6s linear infinite; }
@keyframes error-buscar { to { stroke-dashoffset: -28; } }
.error-nodo { fill: var(--acento); }
.error-nodo-centro { fill: var(--fondo); }
.error-perdido { fill: none; stroke: var(--lavanda); stroke-width: 3; stroke-dasharray: 9 9; transform-box: fill-box; transform-origin: center; animation: error-girar 14s linear infinite; }
@keyframes error-girar { to { transform: rotate(360deg); } }
.error-chispa { stroke: var(--menta); stroke-width: 3; stroke-linecap: round; animation: error-chispa 1.8s ease-in-out infinite; }
.error-chispa:nth-of-type(2) { animation-delay: .5s; }
.error-chispa:nth-of-type(3) { animation-delay: 1s; }
@keyframes error-chispa { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.error-nexki { position: absolute; right: -2%; bottom: -4%; width: 44%; }
.error-nexki img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 18px #00000059); animation: nexki-flota 5.5s ease-in-out infinite; }

.error-rutas { padding-block: 8px 72px; }
.error-rutas h2 { color: var(--fondo); font-size: clamp(24px, 2.4vw, 32px); }
.error-rutas ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; margin: 26px 0 0; padding: 0; list-style: none; background: #ffffff1f; border: 1px solid #ffffff1f; }
.error-rutas a { display: grid; gap: 6px; height: 100%; padding: 20px 22px 22px; background: var(--tinta); transition: background .2s; }
.error-rutas a:hover { background: #121f36; }
.error-rutas a span:first-child { color: var(--lavanda); font-family: var(--tecnica); font-size: 11px; letter-spacing: .1em; }
.error-rutas strong { font-family: var(--display); font-size: 19px; font-weight: 620; letter-spacing: -.025em; line-height: 1.2; }
.error-rutas a span:last-child { color: var(--texto-oscuro-suave); font-size: 13.5px; line-height: 1.5; }
.error-pie { border-top: 1px solid #ffffff1f; }
.error-pie .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 22px; }
.error-pie span { color: var(--texto-oscuro-suave); font-family: var(--tecnica); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.error-pie nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.error-pie a { display: inline-flex; align-items: center; min-height: 40px; color: var(--fondo); font-size: 13.5px; }

@media (max-width: 900px) {
  .error-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 44px 32px; }
  .error-escena { width: min(100%, 320px); order: -1; margin: 0; }
}
@media (max-width: 700px) {
  .error-barra .brand-tagline { display: none; }
  .error-numero { font-size: clamp(96px, 30vw, 140px); }
  .error-copia > p:not([class]), .error-sugerencia { font-size: 16px; }
  .error-escena { width: 220px; }
  .error-acciones .button { width: 100%; }
  .error-rutas { padding-bottom: 48px; }
}
.motion-paused .error-hueco, .motion-paused .error-perdido, .motion-paused .error-chispa,
.motion-paused .error-codigo::before, .motion-paused .error-nexki img { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .error-hueco, .error-perdido, .error-chispa, .error-codigo::before, .error-nexki img { animation: none !important; }
}

/* 19. Ficha "Neos Linx en breve" (/about): los datos esenciales de la marca, legibles para personas, buscadores e IA. */
.ficha-marca { border-bottom: 1px solid var(--linea); }
.ficha-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.ficha-intro h2 { font-size: clamp(34px, 3.6vw, 52px); }
.ficha-intro > p:not(.eyebrow) { max-width: 520px; margin-top: 22px; color: var(--tinta-suave); line-height: 1.75; }
.ficha-datos { margin: 0; border-top: 1px solid var(--linea); }
.ficha-datos > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 18px 0 19px; border-bottom: 1px solid var(--linea); }
.ficha-datos dt { padding-top: 4px; color: var(--tinta-suave); font-family: var(--tecnica); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.ficha-datos dd { margin: 0; font-size: 16px; line-height: 1.6; }
.ficha-datos a { color: var(--acento-texto); text-decoration: underline; text-decoration-color: var(--lavanda); text-underline-offset: 4px; }
.ficha-datos a:hover { text-decoration-color: currentColor; }
@media (max-width: 900px) {
  .ficha-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 560px) {
  .ficha-datos > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ficha-datos dd { font-size: 15px; }
}
