/* ==========================================================================
   Softmor — página principal
   Marca: #005FF9 (primario), #000 (títulos y líneas), #373737 (texto), #EAF0FF (tinte)
   Tipografía: Cera Pro (licencia pendiente, ver README) → respaldo Figtree
   ========================================================================== */

/* Cera Pro: descomenta y coloca los archivos con licencia web en assets/fonts/.
@font-face { font-family: "Cera Pro"; src: url("assets/fonts/CeraPro-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Cera Pro"; src: url("assets/fonts/CeraPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cera Pro"; src: url("assets/fonts/CeraPro-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cera Pro"; src: url("assets/fonts/CeraPro-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
*/

:root {
  --blue: #005ff9;
  --blue-deep: #0047c2;
  --tint: #eaf0ff;
  --ink: #000;
  --text: #373737;
  --muted: #69727d;
  --paper: #fff;
  --rule: #000;
  --rule-soft: rgba(0, 0, 0, .14);

  --font: "Cera Pro", "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --gap: clamp(16px, 2vw, 28px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
fieldset { border: 0; min-width: 0; }

::selection { background: var(--blue); color: #fff; }

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink); color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: top .15s;
}
.skip:focus { top: 12px; }

/* ---------- Botones y enlaces (lenguaje de la marca: píldora + línea fina) ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 44px;
  padding: .7em 1.35em;
  border-radius: 50px;
  border: 1px solid var(--ink);
  font-weight: 500;
  font-size: .95rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pill .arr { transition: transform .2s var(--ease); }
.pill:hover .arr, .pill:focus-visible .arr { transform: translateX(3px); }

.pill--line {
  min-height: 38px;
  padding: .5em 1.1em;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
}
.pill--line:hover { background: var(--ink); color: #fff; }

.pill--solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill--solid:hover { background: var(--ink); border-color: var(--ink); }

.pill--white { background: #fff; border-color: #fff; color: var(--ink); }
.pill--white:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.pill--outline-white { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.pill--outline-white:hover { background: #fff; color: var(--ink); border-color: #fff; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: color .2s var(--ease), background-size .25s var(--ease);
}
.text-link:hover { color: var(--blue); }
.text-link .arr { transition: transform .2s var(--ease); }
.text-link:hover .arr { transform: translateX(3px); }

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; padding: 6px 0; margin-right: auto; }
.brand img { height: 22px; width: auto; }

.nav ul { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-size: .95rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 6px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover, .nav a[aria-current="location"] { color: var(--blue); }
.nav a:hover::after, .nav a[aria-current="location"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.menu-btn__icon { position: relative; width: 22px; height: 10px; }
.menu-btn__icon::before, .menu-btn__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .2s var(--ease), top .2s var(--ease);
}
.menu-btn__icon::before { top: 0; }
.menu-btn__icon::after { top: 8.5px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { top: 4.25px; transform: rotate(-45deg); }

/* ---------- Tipografía de sección ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.kicker__n {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: .7rem;
  letter-spacing: 0;
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--ink);
  text-wrap: balance;
}

.pill--lg { min-height: 52px; padding: .85em 1.6em; font-size: 1.0625rem; }

/* ==========================================================================
   1 · Apertura
   ========================================================================== */


[hidden] { display: none !important; }
.hero { background: var(--blue); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#ffffff25 .75px, transparent .75px); background-size: 26px 26px; mask-image: linear-gradient(to right,transparent 35%,black); pointer-events: none; }
.hero :focus-visible { outline-color: #fff; }
.hero ::selection { background: #fff; color: var(--blue); }
.hero__topline { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; font-size: .6875rem; color: #d9e7ff; }
.hero__topline > span:first-child { display: flex; align-items: center; gap: 10px; }
.hero__topline i { width: 6px; height: 6px; background: white; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 4px #ffffff15; }
.hero__stage { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: center; gap: 36px; padding-block: 54px 60px; min-height: clamp(580px,calc(100svh - 204px),740px); }
.hero__copy { position: relative; z-index: 2; }
.hero__title { font-size: clamp(4.5rem,7.5vw,7rem); line-height: .93; font-weight: 500; letter-spacing: -.065em; color: white; }
.hero__title > span { display: inline-block; position: relative; color: #b7d3ff; }
.hero__title > span::after { content: ''; display: block; position: absolute; height: 3px; background: #b7d3ff; bottom: -.09em; left: 3px; right: 6px; transform: rotate(-3deg); transform-origin: left; }
.hero__lede { max-width: 39ch; margin-top: 34px; font-size: clamp(1rem,1.35vw,1.1875rem); line-height: 1.55; color: #e0ebff; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.hero__actions .pill { font-size: .9375rem; min-height: 52px; gap: 24px; }
.hero__explore { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; text-decoration: none; font-size: .875rem; color: white; }
.hero__explore:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero__universe { position: relative; width: 100%; aspect-ratio: 1; max-width: 560px; justify-self: center; }
.hero__orbit { position: absolute; border: 1px solid #ffffff35; border-radius: 50%; pointer-events: none; }
.hero__orbit--outer { inset: 3%; transform: rotate(-25deg); }
.hero__orbit--inner { inset: 15%; border-style: dashed; border-color: #ffffff40; transform: rotate(20deg); }
.hero__orbit--outer::before, .hero__orbit--inner::before { content: ''; position: absolute; width: 8px; height: 8px; background: #fff; border-radius: 50%; left: 14%; top: 14%; box-shadow: 0 0 0 6px #ffffff12; }
.hero__orbit--inner::before { left: auto; top: auto; bottom: 14%; right: 14%; width: 5px; height: 5px; }
.hero__axis { position: absolute; inset: 50% -3% auto; height: 1px; background: #ffffff1f; transform: rotate(-38deg); }
.hero__axis::after { content: ''; position: absolute; inset: 0; background: inherit; transform: rotate(90deg); }
.hero__brand-sculpture { position: absolute; inset: 12%; transform: translate(var(--hero-x,0px),var(--hero-y,0px)) rotate(-12deg); transition: transform .35s ease-out; pointer-events: none; }
.hero__brand-sculpture img { position: absolute; max-width: none; width: 160%; height: auto; top: 50%; left: 50%; transform: translate(-50%,-50%); filter: brightness(0) invert(1) drop-shadow(1px 1px 0 #b8d2ff) drop-shadow(2px 2px 0 #87b0f3) drop-shadow(3px 3px 0 #004dcc) drop-shadow(14px 20px 14px #003cac70); }
.hero__satellite { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid #ffffff3d; background: #ffffff; color: #101d35; border-radius: 10px; text-decoration: none; box-shadow: 0 12px 26px #003da02e; transition: transform .2s, box-shadow .2s; }
.hero__satellite:hover { transform: translateY(-5px); box-shadow: 0 18px 30px #00256445; }
.hero__satellite:focus-visible { outline-offset: 5px; }
.hero__satellite > span:nth-child(2) { display: grid; gap: 4px; font-size: 1.25rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.hero__satellite small { font-size: .5rem; letter-spacing: .07em; color: #63728a; font-weight: 500; }
.hero__satellite-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--blue); font-size: 1.2rem; }
.hero__satellite-arrow { font-size: .875rem; margin-left: 10px; color: var(--blue); }
.hero__satellite--software { top: 3%; left: 0; transform: rotate(-5deg); }
.hero__satellite--web { top: 34%; right: -1%; transform: rotate(6deg); }
.hero__satellite--shop { top: 61%; left: 0; transform: rotate(-7deg); }
.hero__satellite--solutions { bottom: 0; right: 3%; transform: rotate(3deg); background: #09234f; color: white; border-color: #ffffff25; }
.hero__satellite--solutions small { color: #b2c8eb; }
.hero__satellite--solutions .hero__satellite-icon { background: #23406b; color: white; }
.hero__satellite--solutions .hero__satellite-arrow { color: #b2c8eb; }
.hero__satellite-icon svg { display: block; width: 24px; height: 24px; }
.hero__coordinate { position: absolute; right: -5%; bottom: 14%; font-size: .45rem; letter-spacing: .12em; color: #bdd5ff; transform: rotate(-90deg) translateX(50%); transform-origin: right center; }
.hero__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #ffffff40; padding-block: 20px 24px; font-size: .75rem; color: #c7dcff; }
.hero__bottom p { line-height: 1.5; }
.hero__bottom strong { font-weight: 400; color: white; }
.hero__bottom a { color: white; display: flex; align-items: center; gap: 24px; text-decoration: none; min-height: 44px; }
.hero__bottom a > span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #ffffff70; border-radius: 50%; font-size: 1rem; transition: background .2s,color .2s; }
.hero__bottom a:hover > span { background: white; color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy { animation: hero-arrive .7s both; }
  .hero__universe { animation: hero-arrive 1s .15s both; }
  .hero__orbit--outer { animation: hero-orbit 3s .2s both; }
  .hero__title > span::after { animation: hero-underline .7s .65s both; }
  @keyframes hero-arrive { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
  @keyframes hero-orbit { from { transform: rotate(-80deg); } to { transform: rotate(-25deg); } }
  @keyframes hero-underline { from { scale: 0 1; } to { scale: 1 1; } }
}
@media (max-width: 1100px) and (min-width: 821px) {
  .hero__stage { gap: 12px; }
  .hero__title { font-size: clamp(3.6rem,7.5vw,5.5rem); }
  .hero__satellite { padding: 12px; gap: 8px; }
  .hero__satellite > span:nth-child(2) { font-size: 1.1rem; }
  .hero__satellite-arrow { margin-left: 2px; }
  .hero__coordinate { display: none; }
}
@media (max-width: 820px) {
  .hero__topline { padding-top: 22px; font-size: .625rem; }
  .hero__topline > span:last-child { display: none; }
  .hero__stage { grid-template-columns: 1fr; min-height: 0; padding-block: 36px 28px; gap: 40px; }
  .hero__title { font-size: clamp(3.6rem,12vw,6rem); }
  .hero__lede { font-size: 1rem; margin-top: 28px; }
  .hero__actions { gap: 12px 22px; margin-top: 24px; }
  .hero__actions .pill { font-size: .875rem; gap: 16px; }
  .hero__explore { font-size: .8125rem; }
  .hero__universe { width: min(100%,420px); }
  .hero__satellite { padding: 12px; gap: 8px; }
  .hero__satellite > span:nth-child(2) { font-size: 1.1rem; }
  .hero__satellite-arrow { margin-left: 4px; }
  .hero__satellite--software { top: 1%; }
  .hero__coordinate { display: none; }
  .hero__bottom { font-size: .6875rem; gap: 18px; }
  .hero__bottom a { font-size: 0; gap: 0; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 3.25rem; }
  .hero__topline { font-size: .5625rem; }
  .hero__satellite { padding: 10px; }
  .hero__satellite small { font-size: .4375rem; }
  .hero__satellite-icon { width: 26px; height: 26px; }
  .hero__satellite > span:nth-child(2) { font-size: 1rem; }
}
.work { padding-top: clamp(56px,6vw,88px); }
.work__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 26px; }
.work__head .section-title { font-size: clamp(1.5rem,2.4vw,2.25rem); }
.case { display: grid; grid-template-columns: minmax(0,8fr) minmax(0,3fr); gap: clamp(28px,4vw,64px); align-items: center; }
.case__visual { min-width: 0; padding: 22px 22px 16px; background: #edf0f5; }
.case__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.case__eyebrow { font-size: .8125rem; color: var(--ink); font-weight: 500; }
.case__by { color: var(--muted); font-weight: 400; }
.case__tabs { display: flex; border-bottom: 1px solid #b9c1cf; gap: 16px; }
.case__tabs button { border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; padding: 8px 0; min-height: 44px; font-size: .75rem; cursor: pointer; }
.case__tabs button[aria-pressed="true"] { border-color: var(--blue); color: var(--blue); font-weight: 500; }
.case__screen { display: block; position: relative; padding: 0; width: 100%; border: 1px solid #d4d9e2; background: white; cursor: zoom-in; overflow: hidden; }
.case__screen img { display: block; width: 100%; height: auto; aspect-ratio: 1881 / 1000; object-fit: contain; object-position: center; }
.case__zoom { position: absolute; bottom: 12px; right: 12px; padding: 7px 12px; background: var(--ink); color: #fff; border-radius: 40px; font-size: .7rem; }
.case__screen:hover .case__zoom { background: var(--blue); }
.case__caption { margin-top: 16px; color: #535d6b; font-size: .6875rem; letter-spacing: .025em; }
.case__label { font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.case__story h2 { margin-top: 16px; font-size: clamp(2.75rem,4.2vw,4.5rem); font-weight: 500; line-height: .95; letter-spacing: -.045em; color: var(--ink); }
.blue-dot { color: var(--blue); }
.case__story > p { max-width: 26ch; margin-top: 22px; font-size: 1rem; line-height: 1.5; }
.case__outcomes { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 24px 0; font-size: .6875rem; color: var(--muted); }
.case__outcomes li + li::before { content: '/'; padding-right: 12px; }
.case__story .text-link { font-size: .875rem; }
/* Clientes: logos sobre blanco, con el tratamiento de la landing de referencia. */
.clients { padding-top: clamp(40px,4.5vw,64px); }
.clients__inner { padding-bottom: clamp(36px,4vw,56px); border-bottom: 1px solid var(--rule-soft); }
.clients h2 { text-align: center; font-size: .6875rem; font-weight: 500; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.clients__logos { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); align-items: center; gap: 24px; margin-top: 30px; }
.clients__logos li { display: flex; align-items: center; justify-content: center; min-width: 0; height: 72px; padding-inline: 8px; }
.clients__logos img { width: auto; max-width: 100%; max-height: 52px; object-fit: contain; filter: brightness(0); transition: filter .3s ease; }
.clients__logos .client-logo--opaque img { filter: grayscale(1) contrast(1.6); mix-blend-mode: multiply; }
.clients__logos .client-logo--transparent img { filter: grayscale(1); }
.clients__logos li:hover img { filter: none; }
@media (max-width: 1100px) {
  .clients__logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 24px; }
  .clients__logos li { flex: 0 1 calc((100% - 72px) / 4); }
}
@media (max-width: 600px) {
  .clients h2 { max-width: 32ch; margin-inline: auto; font-size: .625rem; }
  .clients__logos { gap: 16px 24px; margin-top: 24px; }
  .clients__logos li { flex-basis: calc((100% - 24px) / 2); height: 64px; }
  .clients__logos img { max-width: min(100%,150px); max-height: 48px; }
}
@media (hover: none) {
  .clients__logos img, .clients__logos .client-logo--opaque img, .clients__logos .client-logo--transparent img { filter: none; }
}
.services { padding-top: clamp(64px,8vw,112px); }
.section-head { display: grid; align-content: start; gap: 24px; }
.services__intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; margin-bottom: 42px; }
.services .section-title { font-size: clamp(2.1rem,4vw,3.7rem); }
.services .section-title > span { color: var(--blue); }
.services__lead { display: grid; gap: 18px; padding-bottom: 4px; }
.services__lead > p { font-size: clamp(1rem,1.6vw,1.375rem); line-height: 1.45; }
.services__lead > span { font-size: .8125rem; color: var(--muted); }
.services__lead > span > span { display: inline-block; margin-left: 8px; color: var(--blue); }
.services__tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.service-tab { display: grid; gap: 7px; position: relative; padding: 18px 12px 22px 0; border-top: 1px solid var(--rule-soft); border-bottom: 3px solid transparent; text-decoration: none; transition: color .2s, border-color .2s; }
.service-tab__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.service-tab__top svg { width: 26px; height: 26px; }
.service-tab__top > span { font-size: .6875rem; color: var(--muted); }
.service-tab__name { font-size: clamp(1rem,1.65vw,1.5rem); font-weight: 500; letter-spacing: -.025em; color: var(--ink); }
.service-tab__need { font-size: .8125rem; color: var(--muted); padding-right: 18px; }
.service-tab__arrow { position: absolute; right: 8px; bottom: 18px; font-size: 1.1rem; }
.service-tab:hover, .service-tab[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.service-tab[aria-selected="true"] .service-tab__name { color: var(--blue); }
.services__panels { margin-top: 22px; }
.service-panel { display: grid; grid-template-columns: 1fr 1fr; background: #f4f7fc; scroll-margin-top: calc(var(--header-h) + 24px); }
.service-panel[hidden] { display: none; }
.service-panel + .service-panel:not([hidden]) { margin-top: 20px; }
.services__panels.is-interactive .service-panel { margin-top: 0; }
.service-panel__copy { padding: clamp(24px,3.5vw,48px); align-self: center; }
.service-panel__eyebrow { color: var(--blue); font-size: .6875rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 18px; }
.service-panel h3 { font-size: clamp(1.8rem,2.7vw,2.6rem); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; color: var(--ink); }
.service-panel__description { max-width: 45ch; margin-top: 20px; font-size: .9375rem; line-height: 1.6; }
.service-panel__features { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 22px 0 28px; font-size: .75rem; }
.service-panel__features li::before { content: '✓'; color: var(--blue); margin-right: 6px; font-weight: 500; }
.service-panel .text-link { font-size: .875rem; }
.service-panel__visual { min-width: 0; display: grid; align-content: center; gap: 25px; padding: 32px; background: #eaf0ff; overflow: hidden; }
.service-panel__example { text-align: center; color: #52627d; font-size: .6875rem; }
.service-demo { position: relative; width: 100%; max-width: 440px; margin-inline: auto; padding: 16px 10px 22px; font-size: .75rem; font-weight: 400; }
.demo-window { position: relative; background: white; border: 1px solid #dae2f1; border-radius: 10px; box-shadow: 0 16px 32px #264e9c12; overflow: hidden; transform: rotate(-2deg); }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; font-size: .625rem; border-bottom: 1px solid #edf0f6; color: #657089; }
.demo-dots { font-size: .45rem; letter-spacing: 2px; color: #b3c6ea; white-space: nowrap; }
.demo-dashboard { display: grid; grid-template-columns: 40px 1fr; min-height: 230px; }
.demo-sidebar { background: #f4f7fc; padding: 14px 10px; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.demo-logo { color: var(--blue); font-size: 1.2rem; font-weight: 700; line-height: 1; }
.demo-sidebar i { width: 13px; height: 10px; border: 1px solid #b5c5e0; border-radius: 2px; }
.demo-sidebar i:first-of-type { background: var(--blue); border-color: var(--blue); }
.demo-content { padding: 20px 16px; }
.demo-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); font-weight: 500; font-size: .8rem; }
.demo-status { font-size: .55rem; color: #267663; background: #e8f6ee; border-radius: 20px; padding: 5px 8px; white-space: nowrap; }
.demo-modules { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin: 18px 0; }
.demo-modules > span { display: grid; gap: 9px; padding: 10px; border: 1px solid #e8edf5; border-radius: 5px; color: var(--blue); }
.demo-modules b { color: #52627d; font-size: .58rem; font-weight: 400; }
.demo-chart { border: 1px solid #e8edf5; border-radius: 5px; padding: 12px; font-size: .55rem; color: #52627d; }
.demo-bars { display: flex; align-items: end; gap: 8px; height: 60px; border-bottom: 1px solid #d5e2f8; margin-top: 10px; }
.demo-bars i { flex: 1; height: 35%; background: #a8caff; border-radius: 3px 3px 0 0; }
.demo-bars i:nth-child(2n) { height: 65%; background: #6aa5ff; }
.demo-bars i:nth-child(3n) { height: 50%; }
.demo-bars i:nth-last-child(-n+2) { height: 90%; background: var(--blue); }
.demo-note { display: block; position: relative; margin: -4px 0 0 auto; width: max-content; max-width: 100%; padding: 12px 15px; color: #fff; background: var(--blue); border-radius: 6px; font-size: .625rem; box-shadow: 0 6px 20px #005ff920; transform: rotate(1deg); }
.demo-site { padding: 20px; }
.demo-site-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #0e2459; }
.demo-site-nav > span { font-size: .5rem; }
.demo-site-hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 12px; padding: 28px 0; }
.demo-eyebrow { display: block; font-size: .45rem; letter-spacing: .1em; color: var(--blue); }
.demo-site-hero strong { display: block; margin: 12px 0 16px; font-size: 1.45rem; font-weight: 500; line-height: 1.1; letter-spacing: -.04em; color: #0e2459; }
.demo-cta { display: inline-block; padding: 8px 12px; background: var(--blue); color: white; border-radius: 20px; font-size: .6rem; }
.demo-orbit { height: 130px; position: relative; background: #edf3ff; border-radius: 70px 70px 8px 8px; overflow: hidden; }
.demo-orbit i { position: absolute; width: 95px; height: 95px; border-radius: 50%; background: var(--blue); right: -8px; top: 12px; }
.demo-orbit i:nth-child(2) { background: #76aaff; right: 38px; top: 65px; }
.demo-orbit i:nth-child(3) { background: #cee0ff; width: 48px; height: 48px; right: 20px; top: 87px; }
.demo-site-foot { display: flex; gap: 16px; border-top: 1px solid #e8edf5; padding-top: 15px; color: #52627d; font-size: .55rem; }
.service-demo--web { padding-right: 36px; }
.demo-phone { position: absolute; right: 0; bottom: 4px; width: 96px; padding: 10px 8px; border: 4px solid #182a4a; border-radius: 16px; background: white; box-shadow: 0 10px 20px #264e9c18; transform: rotate(6deg); }
.demo-phone > span { display: block; height: 3px; background: #182a4a; width: 24px; margin: -4px auto 10px; border-radius: 4px; }
.demo-phone b { font-size: .6rem; }
.demo-phone-art { height: 45px; margin: 10px 0; border-radius: 30px 30px 3px 3px; background: linear-gradient(135deg,#d8e7ff 30%,#76aaff 30% 60%,#005ff9 60%); }
.demo-phone strong { display: block; font-size: .75rem; line-height: 1.1; font-weight: 500; }
.demo-phone i { display: block; margin-top: 10px; background: var(--blue); color: white; padding: 5px; font-size: .45rem; font-style: normal; }
.demo-store { padding: 20px; }
.demo-products { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.demo-products b, .demo-products > div > span { display: block; margin-top: 6px; font-size: .625rem; font-weight: 400; }
.demo-products > div > span { font-size: .5rem; color: #52627d; }
.demo-product { display: grid; place-items: center; height: 100px; background: #eaf0ff; border-radius: 4px; }
.demo-product i { display: block; width: 48px; height: 52px; background: #528eff; border-radius: 5px 5px 16px 16px; box-shadow: inset -10px 0 #276bec; position: relative; }
.demo-product i::after { content: ''; position: absolute; right: -13px; top: 8px; width: 18px; height: 26px; border: 5px solid #276bec; border-radius: 0 10px 10px 0; }
.demo-product--two { background: #f1ede5; }
.demo-product--two i { background: #af9874; box-shadow: inset -10px 0 #907954; transform: rotate(-12deg); }
.demo-product--two i::after { border-color: #907954; }
.demo-checkout { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid #e8edf5; color: var(--blue); font-size: .6rem; }
.demo-checkout i { font-style: normal; color: #a4b8dd; }
.demo-workflow { padding: 0 20px; }
.demo-flow-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; font-size: .6rem; color: #52627d; }
.demo-flow-node { display: flex; align-items: center; gap: 14px; padding: 18px; background: white; border: 1px solid #dce5f6; border-radius: 8px; box-shadow: 0 8px 20px #264e9c08; }
.demo-flow-symbol { display: grid; place-items: center; background: var(--tint); color: var(--blue); width: 32px; height: 32px; border-radius: 8px; font-size: 1.1rem; flex-shrink: 0; }
.demo-flow-node small { display: block; margin-bottom: 5px; font-size: .5rem; letter-spacing: .06em; color: #69778f; }
.demo-flow-node b { display: block; font-size: .75rem; font-weight: 500; color: #182a4a; }
.demo-flow-node > span:last-child { margin-left: auto; color: #267663; }
.demo-flow-line { width: 2px; height: 25px; margin-left: 34px; background: #a4c5ff; position: relative; }
.demo-flow-line::after { content: ''; position: absolute; bottom: 0; left: -3px; width: 8px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); }
.services__help { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; font-size: .875rem; }
.services__help strong { font-weight: 500; color: var(--ink); }
.services__help-mark { color: var(--blue); margin-right: 10px; }
.services__help .text-link { font-size: .8125rem; flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
  .services__panels.is-interactive .service-panel:not([hidden]) .service-panel__copy { animation: service-enter .3s both; }
  .services__panels.is-interactive .service-panel:not([hidden]) .service-demo { animation: service-enter .45s both; }
  @keyframes service-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 820px) {
  .services__intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 28px; }
  .services__lead { gap: 12px; }
  .services__tabs { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .service-tab { padding-block: 14px 16px; gap: 5px; }
  .service-tab__top { margin-bottom: 4px; }
  .service-tab__name { font-size: 1rem; }
  .service-tab__need { font-size: .75rem; }
  .service-panel { grid-template-columns: 1fr; }
  .service-panel__copy { padding: 28px 24px; }
  .service-panel__visual { padding: 24px; gap: 12px; }
  .service-panel__features { gap: 8px 12px; margin: 20px 0 24px; }
  .services__help { align-items: start; flex-direction: column; gap: 14px; }
  .services__help p { max-width: 34ch; }
}
@media (max-width: 380px) {
  .service-tab__need { padding-right: 0; }
  .service-tab__arrow { display: none; }
  .service-panel__visual { padding: 20px 12px; }
  .service-panel__copy { padding: 24px 20px; }
  .demo-heading { font-size: .7rem; }
  .demo-content { padding: 16px 10px; }
  .demo-modules > span { padding: 8px 6px; }
  .demo-workflow { padding-inline: 0; }
  .demo-site { padding: 16px 12px; }
  .demo-site-hero strong { font-size: 1.1rem; }
}
/* El proceso continúa el lenguaje editorial de los servicios. */
.process { padding-top: clamp(72px,8vw,112px); }
.process__inner { border-top: 1px solid var(--rule-soft); padding-top: clamp(32px,4vw,56px); }
.process__intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
.process .section-title, .faq .section-title { font-size: clamp(2.1rem,4vw,3.7rem); }
.process .section-title > span, .faq .section-title > span { color: var(--blue); }
.process__intro > p { max-width: 34ch; font-size: clamp(1rem,1.5vw,1.25rem); line-height: 1.5; padding-bottom: 4px; }
.process__route { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; margin-top: clamp(36px,4.5vw,64px); list-style: none; }
.process-step { min-width: 0; display: grid; grid-template-rows: auto auto 1fr auto; }
.process-step__marker { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; color: var(--blue); }
.process-step__marker > span { font-size: clamp(2.5rem,4vw,3.7rem); font-weight: 400; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.process-step__marker > i { display: flex; align-items: center; flex: 1; gap: 6px; font-size: 1.25rem; font-style: normal; line-height: 1; }
.process-step__marker > i::before { content: ''; flex: 1; height: 1px; background: #b8cff5; }
.process-step:last-child .process-step__marker > i::before { background: var(--blue); }
.process-step h3 { font-size: clamp(1.25rem,1.8vw,1.6rem); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; color: var(--ink); }
.process-step > p { font-size: .9375rem; line-height: 1.6; margin-top: 14px; }
.process-step__outcome { display: block; margin-top: 22px; color: var(--blue); font-size: .75rem; font-weight: 400; }
.process__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule-soft); font-size: .875rem; }
.process__foot p > span { margin-right: 10px; color: var(--blue); }
.process__foot .text-link { font-size: .8125rem; flex-shrink: 0; }

/* Preguntas: mismos acentos, líneas y ritmo tipográfico del resto del home. */
.faq { padding-bottom: clamp(72px,8vw,112px); }
.faq__layout { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: clamp(32px,5vw,80px); align-items: start; }
.faq .section-title { font-size: clamp(2rem,3.4vw,3.25rem); }
.faq__intro > p:not(.kicker) { font-size: 1rem; line-height: 1.5; }
.faq__intro .text-link { justify-self: start; margin-top: 6px; font-size: .875rem; }
.faq__list { min-width: 0; border-bottom: 1px solid var(--rule-soft); }
.faq-item { border-top: 1px solid var(--rule-soft); }
.faq-item summary { display: grid; grid-template-columns: 22px minmax(0,1fr) 28px; gap: 14px; align-items: center; padding-block: 23px; list-style: none; font-size: 1.0625rem; font-weight: 400; line-height: 1.4; color: var(--ink); cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__number { color: var(--blue); font-size: .625rem; font-variant-numeric: tabular-nums; }
.faq-item__icon { position: relative; width: 28px; height: 28px; border: 1px solid var(--rule-soft); border-radius: 50%; transition: background .2s, border-color .2s, transform .2s; }
.faq-item__icon::before, .faq-item__icon::after { content: ''; position: absolute; width: 10px; height: 1px; left: 8px; top: 12px; background: currentColor; }
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item summary:hover { color: var(--blue); }
.faq-item[open] { border-top-color: var(--blue); }
.faq-item[open] summary { color: var(--blue); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: white; }
.faq-item__answer { padding: 0 42px 24px 36px; max-width: 68ch; font-size: .9375rem; line-height: 1.65; }
.faq-item__answer .text-link { margin-top: 16px; font-size: .8125rem; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-item__answer { animation: faq-answer .2s ease-out; }
  @keyframes faq-answer { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 1100px) and (min-width: 821px) {
  .process__route { gap: 22px; }
  .process-step h3 { min-height: 2.4em; }
}
@media (max-width: 820px) {
  .process__intro { grid-template-columns: 1fr; gap: 24px; }
  .process__intro > p { max-width: 40ch; }
  .process__route { grid-template-columns: 1fr; gap: 0; }
  .process-step { position: relative; display: block; padding: 0 0 34px 76px; }
  .process-step::before { content: ''; position: absolute; top: 48px; bottom: 12px; left: 21px; width: 1px; background: #b8cff5; }
  .process-step:last-child { padding-bottom: 0; }
  .process-step:last-child::before { display: none; }
  .process-step__marker { position: absolute; left: 0; top: 0; margin: 0; }
  .process-step__marker > span { font-size: 2.5rem; }
  .process-step__marker > i { display: none; }
  .process-step h3 { font-size: 1.4rem; padding-top: 4px; }
  .process-step > p { max-width: 48ch; margin-top: 10px; }
  .process-step__outcome { margin-top: 12px; }
  .process__foot { flex-direction: column; align-items: start; gap: 14px; margin-top: 30px; }
  .faq__layout { grid-template-columns: 1fr; gap: 32px; }
  .faq .section-title { font-size: 2.5rem; }
  .faq-item summary { grid-template-columns: 18px minmax(0,1fr) 28px; gap: 10px; padding-block: 20px; font-size: 1rem; }
  .faq-item__answer { padding-left: 28px; padding-right: 18px; }
}
@media (max-width: 380px) {
  .process-step { padding-left: 62px; }
  .process-step h3 { font-size: 1.25rem; }
  .faq .section-title { font-size: 2.1rem; }
}

.about { padding-block: clamp(72px,9vw,128px); }
.about__grid { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: clamp(32px,6vw,88px); align-items: center; }
.about__photo { margin: 0; }
.about__photo img { width: 100%; height: auto; }
.about__photo figcaption { margin-top: 12px; font-size: .6875rem; color: var(--muted); }
.about__text { display: grid; justify-items: start; gap: 24px; }
.about__title { font-size: clamp(2rem,3.7vw,3.5rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.about__text > p:not(.kicker) { max-width: 32ch; font-size: 1rem; line-height: 1.5; }
.about__text .text-link { font-size: .9375rem; }
.team-gallery { min-width: 0; }
.team-gallery__main { position: relative; display: block; background: var(--tint); }
.team-gallery__main > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.team-gallery__zoom { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 18px; padding: 8px 14px; background: white; color: var(--ink); border-radius: 24px; font-size: .75rem; font-weight: 500; }
.team-gallery__main:hover .team-gallery__zoom { background: var(--blue); color: white; }
.team-gallery .about__photo figcaption { min-height: 2.5em; font-size: .75rem; }
.team-gallery__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 8px 0 12px; }
.team-gallery__toolbar[hidden] { display: none; }
.team-gallery__count { font-size: .75rem; font-weight: 500; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--muted); }
.team-gallery__arrows { display: flex; gap: 8px; }
.team-gallery__arrows button { width: 44px; height: 44px; border: 1px solid var(--rule-soft); border-radius: 50%; background: white; color: var(--ink); cursor: pointer; }
.team-gallery__arrows button:hover { background: var(--blue); border-color: var(--blue); color: white; }
.team-gallery__thumbnails { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 10px; scrollbar-width: thin; scrollbar-color: var(--rule-soft) transparent; }
.team-gallery__thumbnail { flex: 0 0 72px; padding: 3px; border: 2px solid transparent; opacity: .65; }
.team-gallery__thumbnail:hover, .team-gallery__thumbnail:focus-visible, .team-gallery__thumbnail[aria-current="true"] { opacity: 1; }
.team-gallery__thumbnail[aria-current="true"] { border-color: var(--blue); }
.team-gallery__thumbnail img { width: 100%; height: 50px; object-fit: cover; }
.image-dialog { border: 0; padding: 20px; width: min(1400px,96vw); max-height: 94dvh; margin: auto; background: white; color: var(--ink); }
.image-dialog::backdrop { background: rgba(10,18,32,.8); }
.image-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.image-dialog h2 { font-size: 1rem; font-weight: 500; }
.image-dialog__bar button { border: 1px solid var(--rule-soft); background: white; border-radius: 30px; min-height: 44px; padding: 8px 18px; cursor: pointer; white-space: nowrap; }
.image-dialog > img { width: 100%; max-height: 78dvh; object-fit: contain; }
body:has(.image-dialog[open]) { overflow: hidden; }

.talk {
  background: var(--blue);
  color: #fff;
  padding-block: clamp(72px, 10vw, 140px);
}
.talk ::selection { background: #fff; color: var(--blue); }
.talk :focus-visible { outline-color: #fff; }

.talk__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(28px, 4vw, 48px);
}
.talk__title {
  grid-column: 1 / -1;
  font-size: clamp(3.6rem, 13vw, 12rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
}
.talk__sub {
  grid-column: 1 / span 5;
  max-width: 24ch;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.contact { grid-column: 7 / -1; display: grid; gap: 24px; align-content: start; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 12px; font-size: .9375rem; font-weight: 400; }
.chips legend em { font-style: normal; opacity: .75; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 400;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chips label:hover span { border-color: #fff; }
.chips input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }

.contact__send { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__note { font-size: .8125rem; opacity: .85; }

.channels {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(24px, 5vw, 64px);
  border-top: 1px solid #fff;
}
.channels li { display: grid; gap: 4px; padding: 18px 16px 0 0; }
.channels li + li { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.35); }
.channels span { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.channels a {
  justify-self: start;
  font-size: 1.0625rem;
  font-weight: 400;
  text-decoration: none;
  background: linear-gradient(#fff, #fff) 0 100% / 0 1px no-repeat;
  transition: background-size .25s var(--ease);
  overflow-wrap: anywhere;
}
.channels a:hover { background-size: 100% 1px; }


/* ==========================================================================
   Pie
   ========================================================================== */

.site-footer { padding-block: 56px 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 40px;
  align-items: start;
}
.footer__mark { grid-column: 1 / span 2; width: 72px; }
.footer__nav { grid-column: 4 / span 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.footer__nav ul { display: grid; gap: 4px; }
.footer__nav a {
  display: inline-block;
  padding: 4px 0;
  font-size: .9375rem;
  color: var(--text);
  text-decoration: none;
  transition: color .2s;
}
.footer__nav a:hover { color: var(--blue); }
.footer__legal {
  grid-column: 10 / -1;
  display: grid;
  gap: 10px;
  justify-items: end;
  text-align: right;
  font-size: .8125rem;
  color: var(--muted);
}
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--blue); text-decoration: underline; }
.footer__word { width: 128px; margin-bottom: 6px; }



/* Segundo producto: misma retícula, acento tomado de NubeVenta. */
.case + .case { margin-top: clamp(40px,6vw,80px); padding-top: clamp(40px,6vw,80px); border-top: 1px solid var(--rule-soft); }
.case--nubeventa .case__visual { background: #edf4f3; }
.case--nubeventa .case__tabs button[aria-pressed="true"] { color: #087c80; border-color: #087c80; }
.case--nubeventa .blue-dot { color: #087c80; }
.case--nubeventa .case__story h2 { font-size: clamp(2rem,3.1vw,3.35rem); }
.case__tabs button { font-size: .875rem; }
.case__caption { font-size: .75rem; }
.case__label { font-size: .75rem; }
.case__outcomes { font-size: .75rem; }
@media (min-width: 821px) {
  .case.case--nubeventa { grid-template-columns: minmax(0,3fr) minmax(0,8fr); }
  .case--nubeventa .case__visual { grid-column: 2; grid-row: 1; }
  .case--nubeventa .case__story { grid-column: 1; grid-row: 1; }
}
@media (max-width: 1100px) {
  .case { grid-template-columns: minmax(0,7fr) minmax(0,3fr); gap: 24px; }
  .case__by { display: none; }
  .contact { grid-column: 6 / -1; }
}
@media (max-width: 820px) {
  :root { --header-h: 60px; }
  .menu-btn { display: inline-flex; }
  .brand img { height: 19px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--rule); padding: 8px var(--pad) 20px; }
  .js .nav:not(.is-open) { display: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li + li { border-top: 1px solid var(--rule-soft); }
  .nav a { display: block; padding: 16px 0; font-size: 1.375rem; font-weight: 400; color: var(--ink); }
  .nav a::after { display: none; }
  .work__head { display: grid; gap: 16px; padding-bottom: 22px; }
  .case { grid-template-columns: 1fr; gap: 24px; }
  .case__visual { padding: 14px 14px 12px; }
  .case__toolbar { margin-bottom: 14px; }
  .case__screen img { aspect-ratio: 16/10; }
  .case__zoom { bottom: 6px; right: 6px; font-size: .625rem; padding: 6px 9px; }
  .case__story { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
  .case__label { grid-column: 1 / -1; }
  .case__story h2 { grid-row: 2 / 4; margin: 0; font-size: 2.8rem; }
  .case__story > p { grid-column: 2; margin: 0; font-size: .9375rem; }
  .case__outcomes { display: none; }
  .case__story .text-link { grid-column: 2; justify-self: start; font-size: .8125rem; }
  .section-head { gap: 18px; }
  .about__grid { grid-template-columns: 1fr; gap: 30px; }
  .about__text { gap: 20px; }
  .about__title { font-size: 2.5rem; }
  .talk__title { font-size: clamp(3.6rem,14vw,7rem); }
  .talk__sub, .contact { grid-column: 1 / -1; }
  .contact__send .pill { flex: 1 1 100%; justify-content: space-between; }
  .channels { grid-template-columns: 1fr 1fr; }
  .channels li:nth-child(3) { padding-left: 0; border-left: 0; }
  .channels li { padding-bottom: 18px; }
  .channels li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.35); }
  .footer__mark { grid-column: 1 / span 4; width: 56px; }
  .footer__nav { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .footer__legal { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .image-dialog { padding: 12px; }
  .image-dialog h2 { font-size: .875rem; }
}
@media (max-width: 420px) {
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menu-btn { padding-inline: 10px 2px; }
  .case__eyebrow { font-size: .6875rem; }
  .case__tabs { gap: 12px; }
  .case__story { column-gap: 12px; }
  .case__story h2 { font-size: 2.5rem; }
  .channels { grid-template-columns: 1fr; }
  .channels li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes entrance { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}


@media (max-width: 420px) { .case--nubeventa .case__story { grid-template-columns: 1fr; } .case--nubeventa .case__story h2 { grid-row: auto; } .case--nubeventa .case__story > p, .case--nubeventa .case__story .text-link { grid-column: 1; } }

/* Gestional Food: el marco acompaña el modo oscuro de su interfaz. */
.case--food .case__visual { background: #25283d; }
.case--food .case__eyebrow { color: #fff; }
.case--food .case__by, .case--food .case__caption { color: #c8ccdc; }
.case--food .case__tabs { border-color: #5e6172; }
.case--food .case__tabs button { color: #e0e3ee; }
.case--food .case__tabs button[aria-pressed="true"] { color: #ffba35; border-color: #ffba35; }
.case--food .case__screen { border-color: #45495d; background: #25283d; }
.case--food .blue-dot { color: #bd7300; }
.case--food .case__tabs button:focus-visible { outline-color: #ffba35; }
@media (max-width: 820px) {
  .case--food .case__toolbar { flex-wrap: wrap; }
  .case--food .case__tabs { flex: 1 1 100%; justify-content: flex-start; gap: 24px; }
}

/* Entrada al catálogo: el inicio solo ofrece una llamada a la acción. */
.apps-invite { padding-bottom: clamp(64px,8vw,112px); }
.apps-invite__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; padding: clamp(28px,4vw,56px); background: #111; color: #fff; align-items: end; }
.apps-invite .kicker { grid-column: 1 / -1; color: #fff; font-size: .75rem; }
.apps-invite .kicker__n { border-color: #777; }
.apps-invite h2 { font-size: clamp(2.6rem,5.2vw,5rem); font-weight: 500; letter-spacing: -.045em; line-height: .95; }
.apps-invite h2 span { color: #528fff; }
.apps-invite__action { display: grid; justify-items: start; gap: 24px; }
.apps-invite__action p { font-size: 1.0625rem; color: #d1d1d1; line-height: 1.45; }
.apps-invite__action .pill { font-size: 1rem; }
.apps-hero { padding-top: clamp(40px,5vw,72px); }
.apps-hero .wrap { display: grid; gap: 24px; }
.apps-hero h1 { font-size: clamp(3rem,7vw,6.5rem); line-height: 1; letter-spacing: -.05em; font-weight: 500; color: var(--ink); }
.apps-hero h1 span { color: var(--blue); }
.apps-hero > .wrap > p:last-child { font-size: 1.125rem; line-height: 1.5; }
.apps-catalogue { padding-bottom: clamp(64px,8vw,112px); }
.apps-catalogue + * { margin-top: 0; }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 820px) {
  .apps-invite__inner { grid-template-columns: 1fr; gap: 28px; }
  .apps-invite__action { gap: 20px; }
  .apps-invite .kicker { font-size: .75rem; letter-spacing: .06em; gap: 10px; }
  .apps-invite__action .pill { white-space: normal; }
  .apps-hero h1 { max-width: 9ch; }
}

/* Nosotros: la misma identidad, con espacio para la historia y las personas. */
.company-hero { padding-top: clamp(24px,3vw,40px); }
.company-breadcrumb { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .75rem; }
.company-breadcrumb a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.company-breadcrumb a:hover { color: var(--blue); }
.company-hero__grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: clamp(32px,5vw,72px); margin-top: 36px; }
.company-hero__copy { display: grid; justify-items: start; gap: 28px; }
.company-hero h1 { color: var(--ink); font-size: clamp(3.25rem,5.6vw,5.5rem); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.company-hero h1 > span { color: var(--blue); }
.company-hero__copy > p:not(.kicker) { max-width: 37ch; font-size: 1.0625rem; line-height: 1.6; }
.company-hero__copy .text-link { font-size: .875rem; }
.company-hero__photo, .company-team__photo, .company-moments figure { margin: 0; min-width: 0; }
.company-photo { position: relative; display: block; background: var(--tint); cursor: zoom-in; }
.company-photo img { width: 100%; height: auto; }
.company-photo:hover .team-gallery__zoom, .company-photo:focus-visible .team-gallery__zoom { background: var(--blue); color: white; }
.company-hero__photo figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; font-size: .625rem; color: var(--muted); margin-top: 14px; }
.company-hero__photo figcaption > span:last-child > span { color: var(--blue); margin-left: 8px; }
.company-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: clamp(40px,5vw,72px); border-block: 1px solid var(--rule-soft); }
.company-index a { display: flex; align-items: center; gap: 18px; padding: 22px 24px; text-decoration: none; font-size: .875rem; color: var(--ink); }
.company-index a + a { border-left: 1px solid var(--rule-soft); }
.company-index a > span:first-child { color: var(--blue); font-size: .625rem; }
.company-index a > span:last-child { margin-left: auto; color: var(--blue); }
.company-index a:hover { color: var(--blue); background: #f4f7fc; }
.company-story, .company-team, .company-moments { padding-block: clamp(72px,8vw,112px); }
.company-story__grid { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,6fr); align-items: center; gap: clamp(40px,7vw,100px); }
.company-story__year { display: block; font-size: clamp(5rem,12vw,11rem); color: var(--ink); font-weight: 500; line-height: 1; letter-spacing: -.075em; font-variant-numeric: lining-nums; }
.company-story__year > span { color: var(--blue); }
.company-story__origin > p { margin-top: 22px; padding-left: 7px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.company-story__copy { display: grid; justify-items: start; gap: 22px; }
.company-story .section-title { font-size: clamp(2rem,3.4vw,3.25rem); }
.company-story .section-title > span, .company-section-head .section-title > span { color: var(--blue); }
.company-story__copy > p:not(.kicker) { max-width: 54ch; font-size: 1rem; line-height: 1.65; }
.company-story__copy .text-link { margin-top: 4px; font-size: .875rem; }
.company-team { background: #f4f7fc; }
.company-section-head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; margin-bottom: clamp(32px,4vw,56px); }
.company-section-head .section-title { font-size: clamp(2.1rem,4vw,3.7rem); }
.company-section-head > p { font-size: clamp(1rem,1.5vw,1.2rem); line-height: 1.5; max-width: 35ch; }
.company-team__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; gap: clamp(32px,6vw,88px); }
.company-team__people { border-bottom: 1px solid var(--rule-soft); }
.company-team__people li { display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: 20px; padding-block: 24px; border-top: 1px solid var(--rule-soft); }
.company-team__number { color: var(--blue); font-size: .625rem; padding-top: 7px; }
.company-team__people h3 { font-size: clamp(1.4rem,2.1vw,2rem); font-weight: 500; line-height: 1.2; color: var(--ink); letter-spacing: -.025em; }
.company-team__people p { margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.company-team__photo figcaption { margin-top: 12px; font-size: .6875rem; color: var(--muted); }
.company-moments__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.company-moments__grid img { aspect-ratio: 3 / 2; object-fit: cover; }
.company-moments__grid figcaption { display: flex; gap: 14px; margin-top: 16px; font-size: .8125rem; }
.company-moments__grid figcaption > span { color: var(--blue); font-size: .625rem; align-self: center; }
.company-moments .team-gallery__zoom { font-size: .625rem; padding: 7px 12px; right: 10px; bottom: 10px; }
.company-contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.company-contact .kicker { color: #fff; margin-bottom: 24px; }
.company-contact h2 { font-size: clamp(2.7rem,4.6vw,4.5rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; }
.company-contact__action { display: grid; justify-items: start; gap: 28px; padding-bottom: 4px; }
.company-contact__action p { color: #e0ebff; font-size: 1.125rem; line-height: 1.5; }
.company-contact__action .pill { font-size: 1rem; }
@media (max-width: 1100px) and (min-width: 821px) {
  .company-hero__copy { gap: 22px; }
  .company-hero__copy > p:not(.kicker) { font-size: .9375rem; }
}
@media (max-width: 820px) {
  .company-hero__grid { grid-template-columns: 1fr; gap: 32px; margin-top: 24px; }
  .company-hero__copy { gap: 22px; }
  .company-hero h1 { font-size: clamp(3.25rem,10vw,5.5rem); }
  .company-hero__copy > p:not(.kicker) { font-size: 1rem; max-width: 42ch; }
  .company-hero__photo { max-width: 620px; width: 100%; justify-self: center; }
  .company-index a { padding: 18px 12px; gap: 10px; font-size: .8125rem; }
  .company-index a > span:last-child { display: none; }
  .company-story__grid { grid-template-columns: 1fr; gap: 36px; }
  .company-story__origin { display: flex; align-items: center; gap: 32px; }
  .company-story__year { font-size: clamp(5rem,16vw,8rem); }
  .company-story__origin > p { margin: 0; padding: 0; font-size: .8125rem; }
  .company-section-head { grid-template-columns: 1fr; gap: 24px; }
  .company-team__grid { grid-template-columns: 1fr; gap: 28px; }
  .company-team__people li { padding-block: 20px; }
  .company-team__people h3 { font-size: 1.65rem; }
  .company-moments__grid { grid-template-columns: 1fr; gap: 28px; }
  .company-moments__grid figcaption { margin-top: 12px; }
  .company-contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .company-contact__action p { font-size: 1rem; }
  .company-contact__action .pill { font-size: .9375rem; white-space: normal; }
}
@media (max-width: 380px) {
  .company-hero h1 { font-size: 2.8rem; }
  .company-hero__copy .kicker { font-size: .625rem; }
  .company-index a { font-size: .75rem; gap: 6px; padding-inline: 8px; }
  .company-story__origin { flex-wrap: wrap; gap: 20px; }
  .company-contact h2 { font-size: 2.4rem; }
}

/* Páginas de servicios: tipografía editorial y ejemplos compartidos con el inicio. */
.detail-hero { padding-top: 28px; }
.detail-hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(32px,5vw,72px); align-items: center; padding-top: 48px; }
.detail-hero__copy { display: grid; justify-items: start; gap: 28px; }
.detail-hero h1, .inquiry h1 { color: var(--ink); font-size: clamp(3rem,5.7vw,5.5rem); line-height: 1; font-weight: 500; letter-spacing: -.055em; }
.detail-hero h1 span, .detail-section .section-title span, .inquiry h1 span { color: var(--blue); }
.detail-hero__copy > p:not(.kicker) { max-width: 41ch; font-size: 1.0625rem; }
.detail-hero__copy .pill { font-size: .9375rem; }
.detail-hero__art { min-width: 0; }
.detail-hero__art .service-panel__visual { padding: 48px 32px; min-height: 380px; }
.detail-hero__art > p { font-size: .75rem; margin-top: 16px; color: var(--muted); }
.detail-section { padding-block: clamp(64px,7vw,104px); }
.detail-split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); gap: clamp(32px,7vw,96px); }
.detail-split .section-title { font-size: clamp(2.1rem,3.5vw,3.3rem); margin-top: 24px; }
.detail-aside { margin-top: 24px; max-width: 32ch; font-size: .9375rem; }
.detail-list { border-top: 1px solid var(--rule-soft); }
.detail-list li { display: grid; grid-template-columns: 24px 1fr 20px; gap: 18px; border-bottom: 1px solid var(--rule-soft); padding: 26px 0; }
.detail-number { font-size: .6875rem; color: var(--blue); padding-top: 6px; }
.detail-plus { color: var(--blue); }
.detail-list h3 { color: var(--ink); font-size: clamp(1.25rem,1.9vw,1.75rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.detail-list p { margin-top: 10px; font-size: .9375rem; max-width: 47ch; }
.detail-technology { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; border-top: 1px solid var(--rule-soft); margin-top: 56px; padding-top: 28px; }
.detail-technology > p { color: var(--blue); font-weight: 500; font-size: clamp(1rem,1.5vw,1.25rem); }
.detail-technology > span { font-size: .875rem; max-width: 48ch; }
.detail-process { background: #f4f7fc; padding-block: clamp(64px,7vw,96px); }
.detail-process ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--rule-soft); margin-bottom: 36px; }
.detail-process li { padding: 28px 24px 4px 0; }
.detail-process li + li { padding-left: 28px; border-left: 1px solid var(--rule-soft); }
.detail-process li span { display: block; color: var(--blue); font-size: .75rem; margin-bottom: 26px; }
.detail-process h3 { color: var(--ink); font-weight: 500; font-size: clamp(1.25rem,2vw,1.875rem); max-width: 17ch; line-height: 1.2; letter-spacing: -.025em; }
.detail-process .text-link { font-size: .875rem; }
.detail-faq { border-top: 1px solid var(--rule-soft); }
.detail-faq details { border-bottom: 1px solid var(--rule-soft); }
.detail-faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 1.0625rem; color: var(--ink); font-weight: 400; }
.detail-faq summary::-webkit-details-marker { display: none; }
.detail-faq summary > span { color: var(--blue); font-size: 1.3rem; line-height: 1; }
.detail-faq details[open] summary > span { transform: rotate(45deg); }
.detail-faq details p { padding: 0 32px 24px 0; font-size: .9375rem; }
.detail-related { padding-block: 36px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px 40px; border-bottom: 1px solid var(--rule-soft); }
.detail-related > p { margin-right: auto; font-size: .875rem; color: var(--muted); }
.detail-related > a { display: inline-flex; gap: 24px; text-decoration: none; color: var(--ink); font-size: .9375rem; }
.detail-related > a span { color: var(--blue); }
.detail-related > a:hover { color: var(--blue); }

/* Contacto: formulario integrado a la misma retícula, sin paneles flotantes. */
.inquiry { padding-top: 28px; }
.inquiry-heading { padding: 42px 0 48px; border-bottom: 1px solid var(--rule-soft); display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 40px; align-items: end; }
.inquiry-heading .kicker { grid-column: 1 / -1; }
.inquiry h1 { font-size: clamp(3rem,6.5vw,6.25rem); }
.inquiry-heading > p:last-child { font-size: 1.0625rem; max-width: 36ch; padding-bottom: 5px; }
.inquiry-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.25fr); gap: clamp(40px,8vw,112px); padding-block: 56px 72px; }
.inquiry-aside h2 { margin-top: 26px; color: var(--ink); font-weight: 500; font-size: clamp(1.8rem,2.8vw,2.6rem); letter-spacing: -.04em; line-height: 1.1; }
.inquiry-aside > p:not(.kicker) { margin-top: 22px; font-size: .9375rem; max-width: 34ch; }
.inquiry-channels { margin-top: 32px; border-top: 1px solid var(--rule-soft); }
.inquiry-channels li { padding: 18px 0; border-bottom: 1px solid var(--rule-soft); }
.inquiry-channels li > span { display: block; font-size: .6875rem; color: var(--muted); margin-bottom: 6px; }
.inquiry-channels a { display: flex; justify-content: space-between; gap: 16px; color: var(--ink); text-decoration: none; font-size: 1.125rem; }
.inquiry-channels a span, .inquiry-channels a:hover { color: var(--blue); }
.inquiry-aside > .text-link { font-size: .875rem; margin-top: 24px; }
.inquiry-required { font-size: .75rem; color: var(--muted); margin: 14px 0 28px; }
.inquiry-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
.inquiry-fields label { display: block; font-size: .8125rem; font-weight: 500; color: var(--ink); }
.inquiry .optional { font-size: .6875rem; font-weight: 400; color: var(--muted); }
.inquiry input:not([type="checkbox"]), .inquiry textarea, .inquiry select { display: block; width: 100%; min-width: 0; border: 0; border-bottom: 1px solid #9ba5b5; background: #f6f8fc; padding: 14px 12px; margin-top: 10px; border-radius: 0; font: inherit; font-size: .9375rem; font-weight: 400; color: var(--ink); min-height: 48px; }
.inquiry input::placeholder, .inquiry textarea::placeholder { color: #657080; font-weight: 300; }
.inquiry textarea { resize: vertical; }
.inquiry-fields small { display: block; margin-top: 6px; font-size: .6875rem; color: var(--muted); font-weight: 400; }
.inquiry-wide { grid-column: 1 / -1; }
.inquiry-consent { display: flex; align-items: flex-start; gap: 12px; font-size: .75rem; margin-block: 24px; }
.inquiry-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.inquiry-consent a { text-underline-offset: 3px; }
.inquiry-form button { font-size: .9375rem; cursor: pointer; }
.inquiry-form button:disabled { opacity: .65; cursor: progress; }
.inquiry-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.inquiry-status:empty { display: none; }
.inquiry-status, .inquiry-notice { margin-top: 20px; padding: 16px; border-left: 2px solid var(--blue); background: var(--tint); font-size: .875rem; }
.inquiry-status[data-state="error"] { border-color: #aa2626; background: #fff4f2; color: #7d2020; }
.inquiry-alternatives { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 16px; font-size: .8125rem; }
.inquiry-alternatives[hidden] { display: none; }
.inquiry-next { display: flex; align-items: center; gap: 32px; padding-block: 32px 40px; border-top: 1px solid var(--rule-soft); }
.inquiry-next p { font-size: 1.125rem; }
.inquiry-next strong { font-weight: 500; color: var(--ink); }
.inquiry-next > span:last-child { margin-left: auto; font-size: 3rem; color: var(--blue); }
@media (max-width: 820px) {
  .detail-hero__grid { grid-template-columns: 1fr; padding-top: 28px; gap: 36px; }
  .detail-hero h1 { font-size: clamp(3rem,8.5vw,4.6rem); }
  .detail-hero__copy { gap: 22px; }
  .detail-hero__art { width: 100%; max-width: 620px; justify-self: center; }
  .detail-hero__art .service-panel__visual { min-height: 0; padding: 36px 24px; }
  .detail-split { grid-template-columns: 1fr; gap: 32px; }
  .detail-aside { max-width: 44ch; }
  .detail-technology { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .detail-related { gap: 20px 32px; }
  .detail-related > p { width: 100%; }
  .inquiry-heading { grid-template-columns: 1fr; padding-top: 28px; gap: 24px; }
  .inquiry h1 { font-size: clamp(2.9rem,8.5vw,5rem); }
  .inquiry-grid { grid-template-columns: 1fr; gap: 44px; padding-block: 40px 48px; }
  .inquiry-aside { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; align-items: start; }
  .inquiry-aside > .kicker { grid-column: 1 / -1; }
  .inquiry-aside h2 { grid-column: 1; }
  .inquiry-aside > p:not(.kicker) { grid-column: 1; }
  .inquiry-aside .inquiry-channels { grid-column: 2; grid-row: 2 / 5; margin-top: 26px; }
  .inquiry-next { flex-wrap: wrap; gap: 16px; }
  .inquiry-next .kicker { width: 100%; }
  .inquiry-next > span:last-child { display: none; }
}
@media (max-width: 540px) {
  .detail-hero .company-breadcrumb { flex-wrap: wrap; gap: 4px 10px; }
  .detail-hero__copy .pill { font-size: .8125rem; padding-inline: 20px; }
  .detail-hero__art .service-panel__visual { padding: 28px 14px; }
  .detail-process ol { grid-template-columns: 1fr; }
  .detail-process li, .detail-process li + li { display: flex; gap: 24px; padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--rule-soft); }
  .detail-process li span { margin: 4px 0 0; }
  .detail-process h3 { max-width: none; }
  .detail-list li { gap: 12px; grid-template-columns: 20px 1fr; }
  .detail-plus { display: none; }
  .inquiry-heading .kicker { font-size: .625rem; }
  .inquiry-aside { display: block; }
  .inquiry-fields { grid-template-columns: 1fr; gap: 22px; }
  .inquiry-form-wrap > .kicker { font-size: .6875rem; }
  .inquiry-next p { font-size: 1rem; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Archivo editorial y documentos: misma identidad, una lectura más pausada. */
.reading-header, .journal { padding-top: 28px; }
.reading-header__title { padding-block: 48px 56px; border-bottom: 1px solid var(--rule-soft); }
.reading-header__title h1, .journal-heading h1 { margin-top: 26px; color: var(--ink); font-size: clamp(3.5rem,7vw,6.5rem); font-weight: 500; letter-spacing: -.06em; line-height: .98; }
.reading-header__title h1 span, .journal-heading h1 span { color: var(--blue); }
.reading-header__title > p:last-of-type { margin-top: 28px; max-width: 45ch; font-size: 1.125rem; }
.reading-header__title .text-link { margin-top: 24px; }
.reading-layout { display: grid; grid-template-columns: minmax(0,.6fr) minmax(0,1.35fr); gap: clamp(40px,8vw,112px); padding-block: 56px 88px; align-items: start; }
.reading-index { position: sticky; top: calc(var(--header-h) + 32px); }
.reading-index ol { margin-top: 22px; border-top: 1px solid var(--rule-soft); }
.reading-index li { border-bottom: 1px solid var(--rule-soft); }
.reading-index li a { display: block; padding-block: 12px; text-decoration: none; font-size: .8125rem; line-height: 1.5; }
.reading-index li a:hover { color: var(--blue); }
.reading-index > .text-link { font-size: .8125rem; margin-top: 26px; }
.reading-index__note { font-size: .9375rem; margin-top: 20px; max-width: 24ch; }
.reading-prose { min-width: 0; max-width: 760px; font-size: 1.0625rem; line-height: 1.8; overflow-wrap: anywhere; }
.reading-prose > :first-child { margin-top: 0; }
.reading-prose p { margin-top: 20px; }
.reading-prose strong { font-weight: 500; color: var(--ink); }
.reading-prose h2 { margin-top: 44px; color: var(--ink); font-size: clamp(1.5rem,2.2vw,2rem); line-height: 1.22; letter-spacing: -.03em; font-weight: 500; scroll-margin-top: calc(var(--header-h) + 24px); }
.reading-prose h3 { margin-top: 28px; color: var(--ink); font-size: 1.25rem; line-height: 1.35; font-weight: 500; }
.reading-prose ul, .reading-prose ol { padding-left: 24px; margin-block: 22px; }
.reading-prose ul { list-style: disc; }
.reading-prose ol { list-style: decimal; }
.reading-prose li { padding-left: 6px; margin-top: 10px; }
.reading-prose li::marker { color: var(--blue); }
.reading-prose li p { margin-top: 0; }
.reading-prose a { color: var(--blue); text-underline-offset: 4px; }
.reading-prose blockquote { border-left: 3px solid var(--blue); margin: 28px 0; padding: 4px 0 4px 24px; font-size: 1.2rem; }
.reading-prose blockquote p:first-child { margin-top: 0; }
.reading-prose figure { margin: 28px 0; }
.reading-prose figcaption { font-size: .75rem; color: var(--muted); }
.reading-table { overflow-x: auto; margin-block: 28px; border: 1px solid var(--rule-soft); }
.reading-table table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .875rem; }
.reading-table th, .reading-table td { padding: 14px 16px; text-align: left; border: 1px solid var(--rule-soft); }
.reading-table th { background: var(--tint); font-weight: 500; color: var(--ink); }
.reading-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-block: 30px; border-block: 1px solid var(--rule-soft); font-size: .9375rem; }
.article-header .article-meta { margin-top: 40px; }
.article-header h1 { font-size: clamp(2.35rem,4.8vw,4.6rem); color: var(--ink); line-height: 1.05; letter-spacing: -.045em; font-weight: 500; max-width: 24ch; margin-block: 22px 48px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: .75rem; color: var(--muted); }
.article-meta > span:first-child { color: var(--blue); }
.article-cover { max-width: 1120px; margin: 0 auto; padding-inline: var(--pad); }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; }
.article-cover figcaption { margin-top: 12px; font-size: .75rem; color: var(--muted); }
.article-signoff { display: flex; align-items: center; gap: 20px; padding-top: 28px; margin-top: 48px; border-top: 1px solid var(--rule-soft); }
.article-signoff img { width: 38px; height: auto; }
.article-signoff p { margin: 0; font-weight: 500; color: var(--ink); }
.article-signoff span { font-size: .8125rem; }
.article-signoff > a { margin-left: auto; text-decoration: none; display: grid; place-items: center; width: 44px; height: 44px; }
.article-related { padding-block: 56px; border-block: 1px solid var(--rule-soft); }
.article-related h2 { margin-top: 24px; font-size: clamp(2rem,3vw,3rem); font-weight: 500; line-height: 1.06; letter-spacing: -.04em; color: var(--ink); }
.article-related h2 span { color: var(--blue); }
.article-related > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; margin-top: 36px; }
.article-related > div > a { display: grid; grid-template-columns: 1fr 28px; gap: 16px; text-decoration: none; border-top: 1px solid var(--rule-soft); padding-block: 24px 0; }
.article-related > div > a > span:first-child { grid-column: 1 / -1; font-size: .6875rem; color: var(--blue); }
.article-related h3 { color: var(--ink); font-weight: 400; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.02em; }
.article-related a:hover h3 { color: var(--blue); }
.article-related > div > a > span:last-child { color: var(--blue); }
.journal { padding-bottom: 80px; }
.journal-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 24px 56px; padding-block: 48px 56px; }
.journal-heading .kicker { grid-column: 1 / -1; }
.journal-heading h1 { margin: 0; }
.journal-heading > p:last-child { font-size: 1.125rem; max-width: 36ch; padding-bottom: 5px; }
.journal-tools { border-block: 1px solid var(--rule-soft); padding-block: 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.journal-tools > p { font-size: .8125rem; color: var(--muted); }
.journal-search { display: flex; align-items: center; gap: 12px; max-width: 450px; width: 100%; }
.journal-search[hidden] { display: none; }
.journal-search input { width: 100%; min-width: 0; padding: 10px 0; border: 0; border-bottom: 1px solid var(--rule-soft); border-radius: 0; background: transparent; font-size: .9375rem; }
.journal-search input::placeholder { color: var(--muted); }
.journal-search button { background: none; border: 0; color: var(--blue); padding: 12px 4px; font-size: .75rem; cursor: pointer; }
.journal-entry[hidden] { display: none; }
.journal-feature { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: center; gap: clamp(28px,5vw,72px); text-decoration: none; padding-block: 48px; border-bottom: 1px solid var(--rule-soft); }
.journal-feature__image { overflow: hidden; }
.journal-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s var(--ease); }
.journal-feature:hover img { transform: scale(1.025); }
.journal-feature__copy { display: grid; gap: 20px; justify-items: start; }
.journal-feature h2 { color: var(--ink); font-weight: 500; font-size: clamp(1.9rem,3.3vw,3rem); letter-spacing: -.04em; line-height: 1.08; }
.journal-feature:hover h2 { color: var(--blue); }
.journal-feature__copy > p:not(.kicker) { max-width: 42ch; font-size: .9375rem; }
.journal-feature .text-link { font-size: .875rem; margin-top: 4px; }
.journal-row { display: grid; grid-template-columns: minmax(140px,.35fr) minmax(0,1fr) 48px; gap: 32px; text-decoration: none; padding-block: 34px; border-bottom: 1px solid var(--rule-soft); }
.journal-row__meta { display: grid; gap: 10px; align-content: start; padding-top: 5px; font-size: .75rem; }
.journal-row__meta > span { color: var(--blue); }
.journal-row__meta time { color: var(--muted); }
.journal-row h2 { color: var(--ink); font-weight: 400; font-size: clamp(1.4rem,2.25vw,2.1rem); line-height: 1.2; letter-spacing: -.025em; }
.journal-row:hover h2 { color: var(--blue); }
.journal-row p { margin-top: 14px; max-width: 68ch; font-size: .9375rem; }
.journal-row__arrow { color: var(--blue); justify-self: end; font-size: 1.75rem; transition: transform .2s var(--ease); }
.journal-row:hover .journal-row__arrow { transform: translate(3px,-3px); }
.journal-empty { padding-block: 60px; color: var(--muted); }
@media (max-width: 820px) {
  .reading-layout { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 56px; }
  .reading-index { position: static; }
  .reading-index ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .reading-index > .text-link { margin-top: 20px; }
  .reading-header__title { padding-block: 32px 40px; }
  .reading-header__title h1 { font-size: clamp(3rem,10vw,5.5rem); }
  .reading-prose { max-width: none; font-size: 1rem; }
  .article-header h1 { font-size: clamp(2.3rem,6vw,3.5rem); margin-bottom: 32px; }
  .article-header .article-meta { margin-top: 28px; }
  .article-related > div { gap: 28px; }
  .journal-heading { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 40px; }
  .journal-heading h1 { font-size: clamp(3.5rem,10vw,5.5rem); }
  .journal-heading > p:last-child { font-size: 1rem; }
  .journal-feature { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
  .journal-feature img { max-height: 440px; }
  .journal-feature h2 { font-size: clamp(1.9rem,5vw,2.6rem); }
  .journal-feature__copy { gap: 16px; }
  .journal-row { grid-template-columns: minmax(0,1fr) 24px; gap: 16px; padding-block: 28px; }
  .journal-row__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; }
}
@media (max-width: 540px) {
  .reading-index ol { grid-template-columns: 1fr; }
  .reading-header__title h1 { font-size: clamp(2.8rem,12vw,3.75rem); }
  .reading-header__title > p:last-of-type { font-size: 1rem; }
  .reading-bottom { font-size: .8125rem; }
  .article-related > div { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 2.25rem; }
  .article-meta { gap: 6px 16px; }
  .journal-tools { flex-wrap: wrap; gap: 8px; }
  .journal-search { max-width: none; }
  .journal-row p { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .journal-feature img, .journal-row__arrow { transition: none; }
  .journal-feature:hover img, .journal-row:hover .journal-row__arrow { transform: none; }
}

.journal-photo-caption { display: block; margin-top: 12px; color: var(--muted); font-size: .6875rem; }
