/* ==========================================================================
   Federico Oliva â€” Sistema visual 2026
   Concepto: registro. PrecisiÃ³n digital + precisiÃ³n de imprenta.
   ========================================================================== */

:root {
  --ink: #293f53;
  --ink-2: #334b60;
  --ink-3: #3c5870;
  --ink-deep: #182735;
  --paper: #f8f7f7;
  --paper-2: #eeeded;
  --white: #f8f7f7;
  --lime: #ff6b3d;
  --lime-deep: #e2552b;
  --lime-soft: #ff8f66;
  --on-accent: #10202d;
  --orange: #ff6b3d;
  --orange-ink: #b6431f;
  --cyan: #35c2d6;
  --magenta: #e04a80;
  --yellow: #f3c94e;
  --text: #293f53;
  --muted: #5a6b78;
  --muted-dark: #b6c4d0;
  --line: rgba(41, 63, 83, .16);
  --line-soft: rgba(41, 63, 83, .09);
  --line-light: rgba(248, 247, 247, .16);
  --font-display: 'Bricolage Grotesque', 'Arial Narrow', Arial, sans-serif;
  --font-sans: 'Instrument Sans', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Cascadia Mono', Consolas, monospace;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --max: 1280px;
  --gutter: clamp(18px, 4vw, 48px);
  --header-height: 78px;
  --radius: 6px;
  --radius-lg: 16px;
  --ease: cubic-bezier(.22, .75, .24, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.62 var(--font-sans);
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--on-accent); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 6.6vw, 6rem); margin: 0; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.9rem); margin: 0; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.15; margin: 0; }
p { margin-bottom: 1em; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 2px;
}

.container {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.container--narrow { width: min(880px, calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.container--wide { width: min(1480px, calc(100% - (var(--gutter) * 2))); margin-inline: auto; }

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

.skip-link {
  position: fixed; left: 14px; top: -80px; z-index: 999;
  background: var(--lime); color: var(--on-accent); padding: 12px 18px;
  font: 600 13px var(--font-sans); transition: top .2s;
}
.skip-link:focus { top: 14px; }

/* ---------- TipografÃ­a auxiliar ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font: 500 11.5px/1 var(--font-mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; flex: none;
  background: var(--orange);
}
.section--dark .eyebrow,
.section--ink .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.site-footer .eyebrow { color: var(--muted-dark); }
.eyebrow--lime::before { background: var(--lime); }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.section--dark .muted, .section--ink .muted { color: var(--muted-dark); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px var(--font-sans); letter-spacing: .01em;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: color .2s, gap .2s;
}
.text-link span { color: var(--orange-ink); font-size: 16px; line-height: 1; transition: transform .25s var(--ease); }
.text-link:hover { color: var(--orange-ink); }
.text-link:hover span { transform: translate(3px, -3px); }
.section--dark .text-link span, .section--ink .text-link span { color: var(--lime-soft); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 52px; padding: 7px 7px 7px 24px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 13.5px/1 var(--font-sans); letter-spacing: .005em;
  background: var(--lime); color: var(--on-accent);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn__icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border-radius: 50%; background: rgba(41, 63, 83, .13);
  font-size: 15px; line-height: 1;
  transition: transform .3s var(--ease), background .25s;
}
.btn:hover { background: var(--white); }
.btn:hover .btn__icon { transform: translate(2px, -2px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark .btn__icon { background: rgba(248, 247, 247, .12); }
.btn--dark:hover { background: var(--ink-3); }
.btn--outline {
  background: transparent; color: var(--white);
  border-color: rgba(248, 247, 247, .34);
}
.btn--outline .btn__icon { background: rgba(248, 247, 247, .08); }
.btn--outline:hover { background: var(--lime); border-color: var(--lime); color: var(--on-accent); }
.btn--outline-dark {
  background: transparent; color: var(--ink); border-color: rgba(41, 63, 83, .3);
}
.btn--outline-dark .btn__icon { background: rgba(41, 63, 83, .07); }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); }
.btn--sm { min-height: 44px; padding: 5px 5px 5px 18px; font-size: 12.5px; }
.btn--sm .btn__icon { width: 32px; height: 32px; font-size: 13px; }
.btn--block { width: 100%; justify-content: space-between; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s var(--ease), border-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(248, 247, 247, .94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 34px rgba(41, 63, 83, .08);
}
.header-inner {
  position: relative; z-index: 2;
  height: var(--header-height);
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: auto; height: 50px; }
.brand:hover img { opacity: .88; }

.main-nav {
  display: flex; align-items: center; gap: clamp(14px, 2.1vw, 30px);
  font: 500 12.8px/1 var(--font-sans);
}
.main-nav a:not(.nav-cta) {
  position: relative; padding: 9px 0;
  color: rgba(41, 63, 83, .8);
  transition: color .2s;
}
.main-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.main-nav a:not(.nav-cta):hover,
.main-nav a:not(.nav-cta).is-active { color: var(--ink); }
.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta).is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 0 17px; margin-left: 6px;
  border-radius: 999px; background: var(--lime); color: var(--on-accent);
  font-weight: 600; white-space: nowrap;
  transition: background .2s, transform .2s, color .2s;
}
.nav-cta span { font-size: 13px; }
.nav-cta:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }

.menu-toggle {
  display: none; position: relative; z-index: 102;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--paper); color: var(--ink);
}
.menu-toggle i {
  position: absolute; left: 13px; right: 13px; height: 1.5px;
  background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.menu-toggle i:nth-child(2) { top: 18px; }
.menu-toggle i:nth-child(3) { top: 25px; }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Secciones ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--paper { background: var(--paper); color: var(--text); }
.section--paper2 { background: var(--paper-2); color: var(--text); }
.section--dark { background: var(--ink-2); color: var(--white); }
.section--ink { background: var(--ink); color: var(--white); }
.section--lime { background: var(--lime); color: var(--on-accent); }
.section--tight { padding: clamp(42px, 6vw, 76px) 0; }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: clamp(24px, 5vw, 70px); align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head__intro { color: var(--muted); font-size: 15px; max-width: 420px; margin: 0 0 4px; justify-self: end; }
.section--dark .section-head__intro, .section--ink .section-head__intro { color: var(--muted-dark); }

/* ---------- Portada ---------- */

.home-hero {
  position: relative; isolation: isolate;
  display: grid; align-items: center;
  min-height: clamp(640px, 94svh, 940px);
  padding: calc(var(--header-height) + clamp(38px, 5.5vw, 68px)) 0 clamp(46px, 6vw, 72px);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.home-hero__art {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.home-hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(58% 66% at 50% 42%, rgba(41, 63, 83, .18) 0%, rgba(41, 63, 83, .6) 58%, rgba(41, 63, 83, .9) 100%),
    linear-gradient(180deg, rgba(41, 63, 83, .66) 0%, rgba(41, 63, 83, .28) 34%, rgba(41, 63, 83, .88) 100%);
}
.home-hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.home-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 clamp(20px, 2.6vw, 32px);
  font: 500 13px/1.15 var(--font-mono);
  letter-spacing: .13em; text-transform: uppercase;
  color: rgba(248, 247, 247, .72);
}
.home-hero__eyebrow .dot,
.home-hero__meta .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 4px rgba(255, 107, 61, .13);
  animation: pulse 2.6s ease-in-out infinite;
}
.home-hero__title {
  max-width: 19ch; margin: 0;
  font-size: clamp(2.9rem, 7.6vw, 7.6rem);
  line-height: .88; letter-spacing: -.06em;
  text-wrap: balance;
}
.home-hero__title em {
  display: block; margin-top: .08em;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: .64em; line-height: .98; letter-spacing: -.02em;
  color: var(--lime-soft);
}
.home-hero__lead {
  max-width: 650px; margin: clamp(22px, 2.8vw, 34px) 0 0;
  color: rgba(248, 247, 247, .7);
  font-size: clamp(15px, 1.3vw, 17.5px); line-height: 1.6;
}
.home-hero__lead strong { color: var(--white); font-weight: 600; }
.home-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: clamp(26px, 3vw, 38px); }
.btn--ghost {
  background: transparent; color: var(--white);
  border-color: rgba(248, 247, 247, .34);
}
.btn--ghost .btn__icon { background: rgba(248, 247, 247, .08); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.home-hero__meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px;
  width: min(900px, 100%);
  margin-top: clamp(36px, 4.6vw, 58px); padding-top: 18px;
  border-top: 1px solid rgba(248, 247, 247, .14);
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(248, 247, 247, .62);
}
.home-hero__meta span { display: inline-flex; align-items: center; gap: 9px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* Accesos rÃ¡pidos */
.service-dock {
  padding: clamp(26px, 3.6vw, 42px) 0 clamp(30px, 4vw, 46px);
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.service-dock__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  margin-bottom: clamp(14px, 2vw, 22px);
}
.service-dock__hint {
  margin: 0;
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.service-dock__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.dock-card {
  display: flex; align-items: center; gap: 13px;
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background .25s var(--ease), padding .25s var(--ease);
}
.dock-card:not(:first-child) { padding-left: 18px; }
.dock-card:last-child { border-right: 0; }
.dock-card:hover, .dock-card:focus-visible { background: var(--paper-2); }
.dock-card__index { font: 500 10.5px var(--font-mono); letter-spacing: .1em; color: var(--orange-ink); }
.dock-card__body { display: grid; gap: 4px; flex: 1; min-width: 0; }
.dock-card__body strong { font: 600 1.05rem/1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.dock-card__body small { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.dock-card__arrow { flex: none; color: var(--ink); font-size: 16px; transition: transform .25s var(--ease); }
.dock-card:hover .dock-card__arrow { transform: translate(2px, -2px); }

/* ---------- Manifiesto ---------- */

.statement { padding-top: clamp(56px, 7vw, 88px); }
.statement__text {
  max-width: 1080px;
  font-size: clamp(1.75rem, 3.9vw, 3.3rem);
  line-height: 1.06; letter-spacing: -.045em;
  margin: 0;
}
.statement__text em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--orange-ink); }
.statement__foot {
  display: flex; justify-content: space-between; gap: 30px;
  margin-top: clamp(34px, 4vw, 54px); padding-top: 20px;
  border-top: 1px solid var(--line);
  font: 500 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}

.principles {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: clamp(36px, 5vw, 60px);
  background: var(--line); border: 1px solid var(--line);
}
.principle { background: var(--paper); padding: 26px 24px 30px; }
.principle span { display: block; margin-bottom: 22px; font: 500 11px var(--font-mono); color: var(--orange-ink); letter-spacing: .1em; }
.principle h3 { font-size: 1.25rem; margin-bottom: 8px; }
.principle p { margin: 0; font-size: 13.5px; color: var(--muted); max-width: 280px; }

/* ---------- Dominios ---------- */

.domains { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.domain-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(360px, 34vw, 470px); padding: clamp(26px, 3.2vw, 42px);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease);
}
.domain-card:hover { transform: translateY(-4px); }
.domain-card--dark { background: var(--ink); color: var(--white); }
.domain-card--lime { background: var(--lime); color: var(--on-accent); }
.domain-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
}
.domain-card--dark::before {
  background:
    radial-gradient(circle at 84% 16%, rgba(53, 194, 214, .16), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(248, 247, 247, .045) 46px 47px);
}
.domain-card--lime::before {
  background:
    radial-gradient(circle at 88% 20%, rgba(41, 63, 83, .1), transparent 44%),
    radial-gradient(rgba(41, 63, 83, .22) .8px, transparent .9px);
  background-size: auto, 9px 9px;
  -webkit-mask-image: linear-gradient(240deg, #000, transparent 70%);
  mask-image: linear-gradient(240deg, #000, transparent 70%);
  opacity: .35;
}
.domain-card__top { position: relative; display: flex; justify-content: space-between; gap: 18px; }
.domain-card__index { font: 500 11px var(--font-mono); letter-spacing: .12em; opacity: .6; }
.domain-card__label { font: 500 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.domain-card__body { position: relative; margin-top: 55px; }
.domain-card h3 {
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  line-height: .98; max-width: 420px; margin-bottom: 16px;
}
.domain-card p { max-width: 380px; font-size: 14px; margin: 0 0 22px; opacity: .72; }
.domain-card__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; }
.domain-card__list li {
  font: 500 10.5px var(--font-mono); letter-spacing: .07em; text-transform: uppercase;
  border: 1px solid currentColor; opacity: .55; padding: 6px 10px; border-radius: 999px;
}
.domain-card__arrow {
  position: absolute; right: clamp(22px, 3vw, 38px); bottom: clamp(22px, 3vw, 34px);
  display: grid; place-items: center; width: 54px; height: 54px;
  border: 1px solid currentColor; border-radius: 50%;
  font-size: 21px; transition: background .25s, color .25s, transform .3s var(--ease);
}
.domain-card--dark .domain-card__arrow { background: var(--lime); border-color: var(--lime); color: var(--on-accent); }
.domain-card--lime .domain-card__arrow { background: var(--ink); border-color: var(--ink); color: var(--lime-soft); }
.domain-card:hover .domain-card__arrow { transform: rotate(45deg); }

/* ---------- Lista de servicios ---------- */

.services-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 58px minmax(180px, .85fr) minmax(240px, 1.15fr) 44px;
  gap: clamp(14px, 2.5vw, 34px); align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease), color .25s var(--ease), padding .25s var(--ease);
}
.service-row:hover, .service-row:focus-within {
  background: var(--ink); color: var(--white);
  padding-left: 20px; padding-right: 20px;
}
.service-row__index { font: 500 11px var(--font-mono); letter-spacing: .08em; color: var(--orange-ink); align-self: start; padding-top: 5px; }
.service-row h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -.03em; }
.service-row p { margin: 0; color: var(--muted); font-size: 13.5px; max-width: 520px; transition: color .25s; }
.service-row:hover p { color: rgba(248, 247, 247, .64); }
.service-row__arrow {
  justify-self: end; display: grid; place-items: center;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  font-size: 15px; transition: background .25s, border-color .25s, color .25s, transform .3s var(--ease);
}
.service-row:hover .service-row__arrow { background: var(--lime); border-color: var(--lime); color: var(--on-accent); transform: rotate(45deg); }
.section--dark .services-list, .section--ink .services-list { border-color: var(--line-light); }
.section--dark .service-row, .section--ink .service-row { border-color: var(--line-light); }
.section--dark .service-row p, .section--ink .service-row p { color: var(--muted-dark); }
.section--dark .service-row:hover, .section--ink .service-row:hover { background: rgba(248, 247, 247, .05); }

.section-foot { display: flex; justify-content: flex-end; margin-top: 32px; }
.section-foot--between { justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }

/* ---------- Capacidades ---------- */

.capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 0 42px; border-top: 1px solid var(--line-light); }
.capability { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.capability__num { font: 500 10.5px var(--font-mono); color: var(--lime-soft); padding-top: 4px; }
.capability h3 { font-size: 1.06rem; margin-bottom: 4px; letter-spacing: -.025em; }
.capability p { margin: 0; font-size: 12.5px; color: var(--muted-dark); line-height: 1.5; }

/* ---------- Preprensa ---------- */

.prepress-grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 86px); align-items: center;
}
.prepress-copy h2 { max-width: 560px; }
.prepress-copy > p { color: var(--muted-dark); max-width: 500px; margin: 22px 0 26px; font-size: 15px; }
.prepress-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 30px; }
.tag {
  display: inline-flex; align-items: center;
  padding: 7px 11px; border: 1px solid rgba(248, 247, 247, .26);
  border-radius: 999px;
  font: 500 10.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: rgba(248, 247, 247, .74);
}
.section--paper .tag, .section--paper2 .tag, .page-content .tag { border-color: var(--line); color: var(--muted); }

.spec-sheet {
  position: relative; padding: 20px;
  border: 1px solid var(--line-light);
  background: linear-gradient(150deg, #33495d, #223546);
  overflow: hidden;
}
.spec-sheet::before {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background:
    linear-gradient(rgba(248, 247, 247, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 247, 247, .045) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(130deg, #000, transparent 78%);
  mask-image: linear-gradient(130deg, #000, transparent 78%);
}
.spec-sheet__head {
  position: relative; display: flex; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
  font: 500 10px var(--font-mono); letter-spacing: .13em; text-transform: uppercase;
  color: rgba(248, 247, 247, .54);
}
.spec-step {
  position: relative; max-width: 300px; padding: 12px 14px;
  border: 1px solid rgba(248, 247, 247, .14);
  background: rgba(41, 63, 83, .5);
}
.spec-step--offset { margin-left: 40px; }
.spec-step--active { border-color: var(--lime); background: rgba(255, 107, 61, .06); }
.spec-step__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.spec-step b { font: 500 12px var(--font-mono); letter-spacing: .09em; text-transform: uppercase; }
.spec-step span { font: 500 10px var(--font-mono); color: var(--lime-soft); }
.spec-step small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted-dark); }
.spec-connector { position: relative; width: 1px; height: 22px; margin-left: 40px; background: rgba(248, 247, 247, .22); }
.spec-connector::after {
  content: ""; position: absolute; left: -3px; bottom: -1px;
  border-left: 3.5px solid transparent; border-right: 3.5px solid transparent;
  border-top: 5px solid rgba(248, 247, 247, .4);
}
.spec-sheet__foot {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 22px; padding-top: 14px;
  border-top: 1px solid var(--line-light);
  font: 500 10px var(--font-mono); letter-spacing: .11em; text-transform: uppercase;
  color: rgba(248, 247, 247, .45);
}

.ink-strip { display: flex; gap: 4px; }
.ink-strip i { width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); }
.ink-strip i:nth-child(2) { background: var(--magenta); }
.ink-strip i:nth-child(3) { background: var(--yellow); }
.ink-strip i:nth-child(4) { background: #1f3140; border: 1px solid rgba(248, 247, 247, .3); }

/* ---------- Producto ---------- */

.product {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.product-copy { container-type: inline-size; }
.product-copy h2 { max-width: 520px; }
.product-title { font-size: clamp(1.7rem, 10.5cqw, 3.6rem); }
.product-copy > p { color: var(--muted-dark); max-width: 500px; margin: 20px 0 0; font-size: 14.5px; }
.product-copy .product-kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 26px;
  font: 500 11px var(--font-mono); letter-spacing: .15em; text-transform: uppercase;
  color: var(--lime-soft);
}
.product-kicker::after { content: ""; height: 1px; width: 54px; background: rgba(255, 107, 61, .45); }

.product-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; margin: 28px 0 30px; }
.product-feature { padding: 13px 0; border-top: 1px solid var(--line-light); }
.product-feature b { display: block; font: 500 11px var(--font-mono); color: var(--lime-soft); letter-spacing: .08em; margin-bottom: 5px; }
.product-feature span { font-size: 12.5px; color: rgba(248, 247, 247, .72); line-height: 1.45; display: block; }

.product-media { position: relative; }
.product-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid rgba(255, 107, 61, .36); border-radius: var(--radius-lg);
  pointer-events: none;
}
.browser-frame {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  background: #1e3040;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .28);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 13px; border-bottom: 1px solid var(--line-light);
  background: rgba(248, 247, 247, .04);
}
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(248, 247, 247, .25); }
.browser-bar span {
  margin-left: 10px; font: 500 10px var(--font-mono); letter-spacing: .1em;
  color: rgba(248, 247, 247, .45);
}
.browser-frame img { width: 100%; height: auto; }

.product-logo {
  display: inline-flex; align-items: center; vertical-align: middle;
  padding: 6px 12px; margin-right: 8px;
  background: var(--white); border-radius: 8px;
  border: 1px solid rgba(255, 107, 61, .3);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}
.product-logo img { display: block; height: 38px; width: auto; }

/* ---------- Trabajos ---------- */

.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.work-card {
  grid-column: span 4; display: flex; flex-direction: column;
  min-width: 0;
}
.work-card--wide { grid-column: span 6; }
.work-card__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--paper-2); aspect-ratio: 4 / 3;
  border: 1px solid var(--line-soft);
}
.work-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .4s;
}
.work-card:hover .work-card__media img { transform: scale(1.035); }
.work-card__tag {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(41, 63, 83, .76); color: var(--white);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 500 9.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
}
.work-card__arrow {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--lime); color: var(--on-accent);
  font-size: 14px; opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s var(--ease);
}
.work-card:hover .work-card__arrow { opacity: 1; transform: none; }
.work-card__body { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 14px 2px 0; }
.work-card__body h3 { grid-column: 1 / -1; font-size: 1.16rem; letter-spacing: -.03em; margin: 0; }
.work-card__body p { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
.work-card__meta { font: 500 10px var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.work-card__meta--accent { color: var(--orange-ink); }

.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 30px; }
.chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px;
  border: 1px solid var(--line); border-radius: 999px;
  font: 500 11.5px var(--font-mono); letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted); background: transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Sobre mÃ­ ---------- */

.about-strip {
  display: grid; grid-template-columns: .55fr 1fr .55fr;
  gap: clamp(28px, 5vw, 70px); align-items: center;
}
.about-stat { border-right: 1px solid var(--line); padding-right: 28px; }
.about-stat strong {
  display: block; font: 500 clamp(4rem, 8vw, 7rem)/.8 var(--font-display);
  letter-spacing: -.07em; color: var(--ink);
}
.about-stat span {
  display: block; margin-top: 12px;
  font: 500 10.5px var(--font-mono); letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted);
}
.about-copy h2 { max-width: 640px; }
.about-copy p { color: var(--muted); font-size: 14.5px; max-width: 590px; margin: 20px 0 24px; }
.about-side { border-left: 1px solid var(--line); padding-left: 26px; }
.about-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.about-side li { font-size: 12.5px; color: var(--muted); line-height: 1.45; padding-left: 14px; position: relative; }
.about-side li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; background: var(--orange); }
.about-side b { display: block; font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 3px; }

/* ---------- CTA ---------- */

.cta-section { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: clamp(58px, 8vw, 104px) 0; }
.cta-section::before {
  content: ""; position: absolute; right: -120px; top: -160px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 247, 247, .1), transparent 66%);
}
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .86; letter-spacing: -.06em; max-width: 900px; }
.cta-inner h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--lime); }
.cta-actions { display: grid; gap: 10px; min-width: 260px; }
.cta-actions .btn { justify-content: space-between; }
.cta-section .btn--dark { background: var(--lime); color: var(--on-accent); }
.cta-section .btn--dark .btn__icon { background: rgba(16, 32, 45, .13); }
.cta-section .btn--dark:hover { background: var(--white); color: var(--ink); }
.cta-section .btn--outline-dark { color: var(--white); border-color: rgba(248, 247, 247, .38); }
.cta-section .btn--outline-dark .btn__icon { background: rgba(248, 247, 247, .1); }
.cta-section .btn--outline-dark:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.cta-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 500 11px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.cta-kicker::before { content: ""; width: 7px; height: 7px; background: var(--lime); }

/* ---------- Footer ---------- */

.site-footer { position: relative; overflow: hidden; background: var(--ink-deep); color: var(--white); padding: clamp(48px, 6vw, 76px) 0 78px; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr .65fr .65fr .9fr;
  gap: clamp(26px, 4vw, 54px);
  padding-bottom: clamp(40px, 5vw, 60px);
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p {
  color: var(--muted-dark); font-size: 11.5px; line-height: 1.65;
  letter-spacing: .07em; text-transform: uppercase;
  max-width: 285px; margin: 0;
}
.footer-col { display: grid; align-content: start; gap: 9px; font-size: 12.5px; }
.footer-col .eyebrow { margin: 0 0 6px; font-size: 10px; }
.footer-col a { color: rgba(248, 247, 247, .7); transition: color .2s; width: fit-content; }
.footer-col a:hover { color: var(--lime-soft); }
.footer-col span { color: var(--muted-dark); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--line-light);
  font: 500 10.5px var(--font-mono); letter-spacing: .06em; color: rgba(248, 247, 247, .58);
}
.footer-bottom a:hover { color: var(--white); }

.to-top {
  position: fixed; z-index: 90; right: 18px; bottom: 74px;
  display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line-light); border-radius: 50%;
  background: rgba(41, 63, 83, .92); color: var(--white);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background .2s, color .2s, border-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--lime); color: var(--on-accent); border-color: var(--lime); }
.to-top svg { width: 17px; height: 17px; }

.whatsapp-float {
  position: fixed; z-index: 90; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 46px; padding: 0 17px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  border: 1px solid var(--line-light);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .26);
  font: 600 12px var(--font-sans); letter-spacing: .02em;
  transition: background .2s, transform .2s;
}
.whatsapp-float::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.whatsapp-float:hover { background: var(--ink-3); transform: translateY(-2px); }
.whatsapp-float span { color: var(--lime-soft); font-size: 12px; }
.whatsapp-float .whatsapp-float__label { color: inherit; font-size: inherit; }
.whatsapp-float__icon { display: none; width: 18px; height: 18px; fill: currentColor; }

/* ---------- PÃ¡ginas internas ---------- */

.page-hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding: calc(var(--header-height) + clamp(46px, 6vw, 74px)) 0 clamp(46px, 6vw, 72px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(248, 247, 247, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 247, 247, .04) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 82%);
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}
.page-hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; bottom: -380px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 107, 61, .13), transparent 62%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 26px;
  padding-bottom: 22px; margin-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line-light);
  font: 500 12px/1.5 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: rgba(248, 247, 247, .6);
}
.page-hero__meta b { color: var(--lime-soft); font-weight: 500; }
.page-hero__meta > span:last-child { color: var(--lime-soft); }
.page-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: clamp(24px, 5vw, 66px); align-items: end;
}
.page-hero h1 { max-width: 900px; font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: .92; }
.page-hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--lime); }
.page-hero__intro { color: rgba(248, 247, 247, .68); font-size: 15.5px; max-width: 380px; margin: 0 0 6px; }
.page-hero__index {
  font: 500 clamp(3rem, 8vw, 7rem)/.8 var(--font-display); letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 1px rgba(248, 247, 247, .2);
  justify-self: end;
}

.page-content { padding: clamp(52px, 7vw, 96px) 0; }
.page-content--paper { background: var(--paper); }
.page-content--paper2 { background: var(--paper-2); }

.prose { max-width: 720px; }
.prose > p, .prose > ul, .prose > ol { color: #4a5f71; font-size: 16px; line-height: 1.7; }
.prose h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: 44px 0 14px; }
.prose h3 { margin: 30px 0 10px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { border-bottom: 1px solid var(--orange); }
.prose strong { color: var(--ink); }
.prose blockquote {
  position: relative;
  margin: 34px 0; padding: 24px 28px 24px 58px;
  border: 1px solid rgba(47, 125, 87, .28);
  border-left: 3px solid #2f7d57;
  border-radius: 4px;
  background: #e8f3ec;
  color: var(--ink);
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.42;
}
.prose blockquote::before {
  content: "â€œ";
  position: absolute; left: 18px; top: 8px;
  font-family: var(--font-serif); font-style: normal; font-weight: 400;
  font-size: 46px; line-height: 1; color: #2f7d57; opacity: .6;
}
@media (max-width: 640px) {
  .prose blockquote { padding: 20px 20px 20px 44px; }
  .prose blockquote::before { left: 13px; top: 6px; font-size: 38px; }
}

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: clamp(30px, 6vw, 80px); align-items: start; }

.detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(230px, 300px);
  justify-content: space-between;
  align-items: start;
  gap: clamp(30px, 4vw, 64px);
  margin-bottom: clamp(44px, 6vw, 82px);
}
.detail-intro--single { grid-template-columns: minmax(0, 300px); justify-content: start; }

.detail-hero-image {
  margin: 0; max-width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(41, 63, 83, .09);
}
.detail-hero-image__bar {
  display: flex; align-items: center; gap: 12px;
  min-height: 38px; padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2);
}
.detail-hero-image__dots { display: inline-flex; gap: 5px; flex: none; }
.detail-hero-image__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(41, 63, 83, .2); }
.detail-hero-image__url {
  font: 500 10.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.detail-hero-image__tag {
  margin-left: auto; flex: none;
  font: 500 9.5px var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: #a83d1b;
}
.detail-hero-image__frame { padding: 10px; background: var(--paper-2); }
.detail-hero-image img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line-soft); border-radius: 4px;
  background: var(--white);
}

.detail-aside { border-top: 1px solid var(--line); padding-top: 18px; }
.detail-prose { max-width: 760px; }
.detail-aside dl { margin: 0; }
.detail-aside dt { font: 500 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-top: 20px; }
.detail-aside dt:first-child { margin-top: 0; }
.detail-aside dd { margin: 5px 0 0; font-size: 13.5px; }
.detail-aside .btn { margin-top: 26px; }
.video-embed { position: relative; aspect-ratio: 16/9; margin: 28px 0; background: var(--ink); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.meta-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.meta-list li {
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
  font: 500 10.5px var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}

.callout {
  margin: 34px 0; padding: clamp(24px, 3.4vw, 40px);
  background: var(--ink); color: var(--white); border-radius: var(--radius);
}
.callout h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.callout p { color: var(--muted-dark); margin-bottom: 20px; }

/* Contacto */
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 76px); align-items: start; }
.contact-aside h2 { max-width: 420px; }
.contact-aside > p { color: var(--muted); font-size: 14.5px; max-width: 390px; margin: 18px 0 28px; }
.contact-cards { display: grid; gap: 10px; }
.contact-card {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 17px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(248, 247, 247, .5);
  transition: border-color .2s, background .2s;
}
.contact-card:hover { border-color: var(--ink); background: var(--white); }
.contact-card small { display: block; font: 500 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-card strong { font: 500 14px var(--font-display); letter-spacing: -.01em; }
.contact-card .arrow { color: var(--orange-ink); font-size: 17px; }
.contact-availability {
  display: flex; align-items: center; gap: 9px; margin-top: 22px;
  font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.contact-availability i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-deep); box-shadow: 0 0 0 4px rgba(226, 85, 43, .18); }

.form-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: clamp(22px, 3.4vw, 38px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(41, 63, 83, .06);
}
.form-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 6px; }
.form-head h2 { font-size: 1.5rem; }
.form-head span { font: 500 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 12px var(--font-sans); letter-spacing: .01em; color: var(--text); }
.field label span { color: var(--orange-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px;
  border: 1px solid rgba(41, 63, 83, .2); border-radius: 4px;
  background: var(--paper); color: var(--text);
  font-size: 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 107, 61, .4);
}
.field small { font-size: 12px; color: var(--muted); line-height: 1.45; }
.form-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-actions .btn { min-width: 230px; }
.form-notices {
  grid-column: 1 / -1;
  display: grid; gap: 10px;
  margin-top: 8px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.form-notice {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-left: 3px solid var(--lime);
  border-radius: 4px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px; line-height: 1.5;
}
.form-notice--error {
  border-left-color: var(--orange);
}
.form-notice__icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--lime); color: var(--on-accent);
  font-size: 13px; font-weight: 700;
}
.form-notice--error .form-notice__icon { background: var(--orange); color: #ffffff; }
.form-notice p { margin: 0; }
.form-notice strong { font-weight: 700; color: #ffffff; }
.form-notices:focus { outline: none; }
.form-notices:focus-visible { box-shadow: 0 0 0 3px rgba(255, 107, 61, .28); border-radius: 6px; }

/* Flash */
.flash-stack {
  position: fixed; z-index: 130; right: 18px; top: calc(var(--header-height) + 16px);
  width: min(410px, calc(100vw - 36px));
  display: grid; gap: 8px;
}
.flash {
  padding: 14px 16px; border-radius: 6px;
  background: var(--ink); color: var(--white);
  border-left: 3px solid var(--lime);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  font-size: 13px; line-height: 1.45;
}
.flash-error { border-left-color: var(--orange); }
.flash-info { border-left-color: var(--cyan); }

/* 404 */
.not-found { min-height: 76vh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--white); padding: 140px 0 80px; }
.not-found__code { font: 500 clamp(6rem, 20vw, 15rem)/.8 var(--font-display); letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 1px rgba(255, 107, 61, .6); margin-bottom: 18px; }
.not-found h1 { font-size: clamp(2rem, 4vw, 3rem); }
.not-found p { color: var(--muted-dark); margin: 14px 0 26px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .product { gap: 40px; }
  .about-strip { grid-template-columns: .5fr 1fr; }
  .about-side { display: none; }
  .footer-main { grid-template-columns: 1.3fr .7fr .7fr; }
  .footer-col--contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
  .footer-col--contact .eyebrow { width: 100%; margin-bottom: 2px; }
}

@media (max-width: 920px) {
  :root { --header-height: 68px; }
  .brand img { height: 36px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 101;
    display: flex; flex-direction: column; align-items: stretch; justify-content: center;
    gap: 0; padding: 90px var(--gutter) 44px;
    background: var(--paper);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .main-nav::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(41, 63, 83, .05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(41, 63, 83, .05) 1px, transparent 1px);
    background-size: 64px 64px;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  /* El backdrop-filter del header crea un bloque contenedor y rompe el overlay fixed. */
  body.is-locked .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .main-nav a:not(.nav-cta) {
    position: relative; z-index: 1;
    padding: 15px 0; border-bottom: 1px solid var(--line-soft);
    font: 500 clamp(1.6rem, 6vw, 2.4rem)/1 var(--font-display);
    letter-spacing: -.04em; color: var(--ink);
  }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--orange-ink); }
  .nav-cta { position: relative; z-index: 1; justify-content: center; min-height: 52px; margin-top: 24px; font-size: 14px; }

  .header-inner { position: relative; z-index: 102; }
  .brand { position: relative; z-index: 102; }
  .site-header.is-scrolled .header-inner, .site-header .header-inner { position: relative; }

  .home-hero { min-height: clamp(600px, 92svh, 820px); }
  .home-hero__title { font-size: clamp(2.7rem, 9vw, 5.2rem); }
  .service-dock__grid { grid-template-columns: 1fr 1fr; }
  .dock-card:nth-child(2n) { border-right: 0; }

  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head__intro { justify-self: start; }

  .domains { grid-template-columns: 1fr; }
  .domain-card { min-height: 340px; }

  .service-row { grid-template-columns: 34px 1fr 38px; gap: 14px; }
  .service-row p { grid-column: 2 / 3; margin-top: 4px; }
  .service-row__index { grid-row: span 2; }
  .service-row__arrow { grid-column: 3; grid-row: 1 / span 2; }

  .prepress-grid, .product, .contact-layout, .two-col { grid-template-columns: 1fr; }
  .prepress-grid { gap: 40px; }
  .spec-sheet { max-width: 560px; }
  .detail-intro { grid-template-columns: 1fr; gap: 34px; }
  .detail-intro--single { grid-template-columns: minmax(0, 300px); justify-content: start; }

  .work-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .work-card, .work-card--wide { grid-column: span 1; }

  .about-strip { grid-template-columns: 1fr; gap: 26px; }
  .about-stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
  .about-side { display: block; border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }

  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__index { display: none; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }

  .cta-inner { align-items: start; }
  .cta-actions { width: 100%; max-width: 340px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .home-hero {
    min-height: clamp(560px, 100svh, 780px);
    padding-top: calc(var(--header-height) + 40px);
  }
  .home-hero__title { font-size: clamp(2.55rem, 12vw, 4rem); }
  .home-hero__title em { font-size: .58em; }
  .home-hero__eyebrow { font-size: 11.5px; letter-spacing: .12em; }
  .home-hero__lead { font-size: 14.5px; }
  .home-hero__actions { width: 100%; }
  .home-hero__actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .home-hero__meta { font-size: 10px; letter-spacing: .07em; gap: 6px 16px; }
  .service-dock__head { display: block; }
  .service-dock__hint { margin-top: 10px; }
  .service-dock__grid { grid-template-columns: 1fr; }
  .dock-card, .dock-card:not(:first-child) { padding-left: 0; border-right: 0; }
  .dock-card:last-child { border-bottom: 0; }
  .principles { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; }
  .capabilities .capability:last-child { border-bottom: 1px solid var(--line-light); }
  .product-features { grid-template-columns: 1fr; }
  .product-logo img { height: 28px; }
  .about-stat strong { font-size: 4.4rem; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card__arrow { opacity: 1; transform: none; }
  .form-card { grid-template-columns: 1fr; }
  .form-head { display: block; }
  .form-head span { display: block; margin-top: 6px; }
  .form-actions { display: grid; }
  .form-actions .btn { width: 100%; }
  .cta-actions { max-width: none; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .footer-col--contact { display: grid; }
  .site-footer { padding-bottom: 26px; }
  .whatsapp-float {
    right: 12px; bottom: 12px;
    width: 48px; min-height: 48px; padding: 0; justify-content: center; gap: 0;
    font-size: 0;
  }
  .to-top { right: 12px; bottom: 70px; width: 44px; height: 44px; }
  .whatsapp-float::before { display: none; }
  .whatsapp-float > span { display: none; }
  .whatsapp-float__icon { display: block; }
  .flash-stack { right: 12px; top: calc(var(--header-height) + 10px); width: calc(100vw - 24px); }
  .page-hero h1 { font-size: clamp(2.4rem, 10.5vw, 3.8rem); }
  .btn { min-height: 48px; padding-left: 20px; }
  .btn__icon { width: 34px; height: 34px; }
}

@media (max-width: 420px) {
  .soft-title { font-size: clamp(1.3rem, 7vw, 2rem); }
}

@media (max-width: 360px) {
  .product-logo { padding: 4px 8px; }
  .product-logo img { height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Ajustes de p ginas internas ---------- */

.service-row__detail { margin-top: 4px !important; font-size: 12px !important; color: var(--muted); opacity: .9; }
.service-row:hover .service-row__detail { color: rgba(248, 247, 247, .5); }

.prepress-copy--light > p { color: var(--muted); }
.prepress-copy--light .prepress-tags { margin-bottom: 30px; }

.principles--dark {
  grid-template-columns: repeat(4, 1fr);
  background: var(--line-light);
  border-color: var(--line-light);
}
.principles--dark .principle { background: var(--ink-2); color: var(--white); }
.principles--dark .principle span { color: var(--lime-soft); }
.principles--dark .principle p { color: var(--muted-dark); }

.capabilities--light { border-top-color: var(--line); }
.capabilities--light .capability { border-bottom-color: var(--line); }
.capabilities--light .capability__num { color: var(--orange-ink); }
.capabilities--light .capability h3 { color: var(--text); }
.capabilities--light .capability p { color: var(--muted); }

.soft-showcase {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(30px, 5vw, 66px); align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.soft-media__meta {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 12px;
  font: 500 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: rgba(248, 247, 247, .42);
}
.soft-copy > p { color: var(--muted-dark); font-size: 15px; max-width: 470px; }
.soft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; margin-top: 28px; }
.soft-features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border: 1px solid var(--line-light); background: var(--line-light);
}
.soft-feature-group { background: var(--ink); padding: 26px 22px 30px; }
.soft-feature-group h3 { font-size: 1rem; color: var(--lime-soft); margin-bottom: 16px; letter-spacing: -.02em; }
.soft-feature-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.soft-feature-group li { position: relative; padding-left: 13px; font-size: 12px; line-height: 1.45; color: var(--muted-dark); }
.soft-feature-group li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; background: rgba(255, 107, 61, .8); }
.soft-note { max-width: 800px; margin: 24px 0 0; font-size: 12.5px; line-height: 1.6; color: rgba(248, 247, 247, .45); }

.video-card {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin: 30px 0; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper-2);
}
.video-card__icon {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--lime-soft); font-size: 14px;
}
.video-card > div { flex: 1 1 220px; }
.video-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.video-card p { margin: 0; font-size: 12px; color: var(--muted); }
.detail-external { margin-top: 26px; }

.profile-card {
  background: var(--ink); color: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  position: sticky; top: calc(var(--header-height) + 24px);
}
.profile-card__brand {
  padding: 24px 26px;
  border-bottom: 1px solid var(--line-light);
}
.profile-card__logo { display: block; width: auto; height: 32px; }
.profile-card__body { padding: 26px 26px 28px; }
.profile-card__body > .mono { color: var(--lime-soft); font-size: 10.5px; }
.profile-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 12px 0 22px; }
.profile-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 20px; font-size: 12px; }
.profile-card dt { font: 500 9.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(248, 247, 247, .62); padding-top: 2px; }
.profile-card dd { margin: 0; color: rgba(248, 247, 247, .78); line-height: 1.4; }
.profile-card .contact-availability { color: rgba(248, 247, 247, .72); margin: 0 0 22px; font-size: 10px; }

@media (max-width: 1080px) {
  .principles--dark { grid-template-columns: repeat(2, 1fr); }
  .soft-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .soft-showcase { grid-template-columns: 1fr; }
  .profile-card { position: static; }
}

@media (max-width: 640px) {
  .principles--dark { grid-template-columns: 1fr; }
  .soft-features { grid-template-columns: 1fr; }
  .soft-feature-group { padding: 22px 20px; }
  .soft-media__meta { font-size: 9px; }
}
