/* Zeronine / GALGO — 2026 visual direction
   Creative north star: Quiet Command.
   Confident, evidence-led and deliberately simple. */

:root {
  --zn-ink: oklch(17% 0.035 255);
  --zn-ink-soft: oklch(23% 0.045 252);
  --zn-copy: oklch(31% 0.03 250);
  --zn-muted: oklch(49% 0.025 248);
  --zn-blue: oklch(55% 0.19 255);
  --zn-cyan: oklch(76% 0.14 190);
  --zn-cyan-soft: oklch(92% 0.055 190);
  --zn-paper: oklch(98.6% 0.006 250);
  --zn-white: oklch(99.4% 0.003 250);
  --zn-mist: oklch(95.8% 0.014 245);
  --zn-blue-mist: oklch(93% 0.035 252);
  --zn-line: oklch(31% 0.03 250 / 0.14);
  --zn-line-inverse: oklch(96% 0.01 250 / 0.18);
  --zn-focus: oklch(64% 0.19 250 / 0.55);
  --zn-shadow-low: 0 16px 44px oklch(15% 0.03 255 / 0.1);
  --zn-shadow-high: 0 34px 90px oklch(12% 0.04 255 / 0.18);
  --zn-radius-sm: 12px;
  --zn-radius-md: 22px;
  --zn-radius-lg: 38px;
  --zn-max: 1320px;
  --zn-reading: 68ch;
  --zn-ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Existing components inherit the new vocabulary. */
  --ink: var(--zn-ink);
  --ink-2: var(--zn-ink-soft);
  --ink-3: oklch(28% 0.06 250);
  --text: var(--zn-ink);
  --muted: var(--zn-muted);
  --muted-2: oklch(61% 0.024 248);
  --surface: var(--zn-white);
  --surface-2: var(--zn-mist);
  --surface-3: var(--zn-blue-mist);
  --accent: var(--zn-cyan);
  --accent-2: var(--zn-blue);
  --line: var(--zn-line);
  --line-light: var(--zn-line-inverse);
  --shadow-sm: var(--zn-shadow-low);
  --shadow: var(--zn-shadow-low);
  --shadow-lg: var(--zn-shadow-high);
  --radius-lg: var(--zn-radius-lg);
  --radius-md: var(--zn-radius-md);
  --radius-sm: var(--zn-radius-sm);
  --max-width: var(--zn-max);
  --header-height: 78px;
  --focus: var(--zn-focus);
  --content-max: var(--zn-reading);
  --ease-out: var(--zn-ease);
}

/* --------------------------------------------------------------------------
   Solutions: road and airport specialization
   -------------------------------------------------------------------------- */

.page-soluciones .hero-cta .text-link {
  color: var(--zn-white);
  margin-left: 0.35rem;
}

.page-soluciones .hero-cta .text-link::after,
.page-soluciones .solution-focus-item--primary .text-link::after,
.page-soluciones .solution-compliance-link::after {
  color: var(--zn-cyan);
}

.page-soluciones .solution-focus {
  background: var(--zn-paper);
}

.page-soluciones .solution-focus-grid {
  border-bottom: 1px solid var(--zn-line);
  border-top: 1px solid var(--zn-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-soluciones .solution-focus-item {
  min-height: 500px;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 5rem);
  position: relative;
}

.page-soluciones .solution-focus-item::before {
  color: oklch(55% 0.19 255 / 0.1);
  content: attr(data-index);
  font-size: clamp(7rem, 14vw, 12rem);
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 0.8;
  pointer-events: none;
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  top: clamp(2rem, 4vw, 3.5rem);
}

.page-soluciones .solution-focus-item > * {
  position: relative;
  z-index: 1;
}

.page-soluciones .solution-focus-item + .solution-focus-item {
  border-left: 1px solid var(--zn-line);
}

.page-soluciones .solution-focus-item--primary {
  background: var(--zn-ink);
  color: var(--zn-white);
}

.page-soluciones .solution-focus-item--primary::before {
  color: oklch(99% 0.004 250 / 0.08);
}

.page-soluciones .solution-focus-item--secondary {
  background: var(--zn-blue-mist);
}

.page-soluciones .solution-focus-item .eyebrow {
  margin-bottom: clamp(3.5rem, 8vw, 7rem);
}

.page-soluciones .solution-focus-item--primary .eyebrow {
  color: var(--zn-cyan);
}

.page-soluciones .solution-focus-item h3 {
  font-size: clamp(2rem, 4vw, 4.25rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin-bottom: 1.35rem;
  max-width: 10ch;
}

.page-soluciones .solution-focus-item--primary h3 {
  color: var(--zn-white);
}

.page-soluciones .solution-focus-item > p:not(.eyebrow) {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  max-width: 49ch;
}

.page-soluciones .solution-focus-item--primary > p:not(.eyebrow),
.page-soluciones .solution-focus-item--primary .solution-focus-list {
  color: oklch(91% 0.012 245 / 0.82);
}

.page-soluciones .solution-focus-list {
  list-style: none;
  margin: 2rem 0;
  max-width: 52ch;
  padding: 0;
}

.page-soluciones .solution-focus-list li {
  border-top: 1px solid var(--zn-line);
  padding: 0.85rem 0;
}

.page-soluciones .solution-focus-item--primary .solution-focus-list li {
  border-color: var(--zn-line-inverse);
}

.page-soluciones .solution-focus-item--primary .text-link,
.page-soluciones .solution-compliance-link {
  color: var(--zn-white);
}

.page-soluciones .solution-proof-quote {
  border-top: 1px solid var(--zn-line);
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding-top: 1.5rem;
}

.page-interior.page-soluciones .solution-proof-quote p {
  color: var(--zn-ink);
  font-size: clamp(1.08rem, 1.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.45;
}

.page-soluciones .solution-proof-quote cite {
  color: var(--zn-muted);
  display: block;
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.45;
  margin-top: 0.9rem;
}

.page-soluciones .solution-compliance-link {
  margin-top: 1.5rem;
}

.page-interior.page-soluciones .solution-secondary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-interior.page-soluciones .solution-secondary-grid .card,
.page-interior.page-soluciones .solution-secondary-grid .card:nth-child(odd) {
  border-right: 1px solid var(--zn-line);
}

.page-interior.page-soluciones .solution-secondary-grid .card:last-child {
  border-right: 0;
}

@media (max-width: 900px) {
  .page-soluciones .solution-focus-grid,
  .page-interior.page-soluciones .solution-secondary-grid {
    grid-template-columns: 1fr;
  }

  .page-soluciones .solution-focus-item {
    min-height: 0;
  }

  .page-soluciones .solution-focus-item + .solution-focus-item {
    border-left: 0;
    border-top: 1px solid var(--zn-line);
  }

  .page-interior.page-soluciones .solution-secondary-grid .card,
  .page-interior.page-soluciones .solution-secondary-grid .card:nth-child(odd) {
    border-right: 0;
  }

  .page-interior.page-soluciones .solution-secondary-grid .card + .card {
    border-top: 1px solid var(--zn-line);
  }
}

@media (max-width: 640px) {
  .page-soluciones .hero-cta .text-link {
    margin-left: 0;
    margin-top: 0.35rem;
    width: 100%;
  }

  .page-soluciones .solution-focus-item {
    padding: 2.4rem 1.25rem;
  }

  .page-soluciones .solution-focus-item .eyebrow {
    margin-bottom: 4.5rem;
  }

  .page-soluciones .solution-focus-list li,
  .page-interior.page-soluciones .solution-secondary-grid .card p,
  .page-soluciones .checklist li,
  .page-soluciones .cta-card li {
    font-size: 1rem;
  }
}

html {
  background: var(--zn-paper);
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  background: var(--zn-paper);
  color: var(--zn-ink);
  font-family: "Onest", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: -0.006em;
}

body::before,
body::after {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--zn-ink);
  font-family: "Onest", "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.45rem, 7vw, 7.4rem);
}

h2 {
  font-size: clamp(2.75rem, 5.1vw, 5.75rem);
  margin-bottom: 1.35rem;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

p {
  color: var(--zn-muted);
  line-height: 1.68;
  max-width: var(--zn-reading);
}

a {
  transition-duration: 180ms;
  transition-property: color, background-color, border-color, opacity, transform;
  transition-timing-function: var(--zn-ease);
}

::selection {
  background: var(--zn-cyan-soft);
  color: var(--zn-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--zn-focus);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - clamp(2rem, 7vw, 7rem)), var(--zn-max));
}

.site-header {
  height: var(--header-height);
  background: oklch(98.6% 0.006 250 / 0.96);
  border-bottom: 1px solid var(--zn-line);
  box-shadow: none;
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.site-header.is-scrolled {
  background: oklch(98.6% 0.006 250 / 0.985);
  border-bottom-color: oklch(31% 0.03 250 / 0.2);
  box-shadow: 0 10px 34px oklch(15% 0.03 255 / 0.06);
}

.header-grid {
  gap: clamp(1rem, 2vw, 2rem);
}

.brand {
  flex: 0 0 auto;
  gap: 0.78rem;
}

.brand img {
  height: 30px;
}

.site-header .brand img:last-child {
  opacity: 0.82;
}

.site-nav {
  align-items: center;
  gap: clamp(0.75rem, 1.35vw, 1.35rem);
  font-size: 0.84rem;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.site-nav a {
  opacity: 0.72;
  padding: 0.7rem 0;
}

.site-nav a::after {
  display: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--zn-ink);
  opacity: 1;
}

.site-nav .nav-cta {
  background: var(--zn-ink);
  border-radius: 999px;
  color: var(--zn-white);
  margin-left: 0.25rem;
  opacity: 1;
  padding: 0.65rem 1.05rem;
}

.site-nav .nav-cta:hover {
  background: var(--zn-blue);
  color: var(--zn-white);
  transform: translateY(-1px);
}

.lang-switch {
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 620;
  gap: 0.12rem;
  letter-spacing: 0.08em;
  padding: 0;
}

.lang-switch .lang-option {
  border-radius: 999px;
  padding: 0.35rem 0.5rem;
}

.lang-switch .lang-option.is-active,
html[lang="es"] .lang-switch [data-lang="es"],
html[lang="en"] .lang-switch [data-lang="en"] {
  background: var(--zn-mist);
  box-shadow: none;
}

.btn {
  min-height: 48px;
  background: var(--zn-ink);
  border: 1px solid var(--zn-ink);
  border-radius: 999px;
  box-shadow: none;
  color: var(--zn-white);
  font-size: 0.9rem;
  font-weight: 610;
  letter-spacing: -0.01em;
  padding: 0.82rem 1.45rem;
}

.btn:hover {
  background: var(--zn-blue);
  border-color: var(--zn-blue);
  box-shadow: none;
  transform: translateY(-2px);
}

.btn.ghost,
.hero .btn.ghost,
.page-hero .btn.ghost,
.section-dark .btn.ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
  opacity: 0.76;
}

.btn.ghost:hover,
.hero .btn.ghost:hover,
.page-hero .btn.ghost:hover,
.section-dark .btn.ghost:hover {
  background: transparent;
  color: var(--zn-blue);
  opacity: 1;
}

.eyebrow {
  color: var(--zn-blue);
  font-size: 0.7rem;
  font-weight: 650;
  gap: 0.65rem;
  letter-spacing: 0.17em;
  margin-bottom: 1.15rem;
}

.eyebrow::before {
  background: var(--zn-cyan);
  height: 1px;
  width: 32px;
}

.section {
  padding: clamp(6.5rem, 11vw, 10.5rem) 0;
}

.section-alt {
  background: var(--zn-mist);
}

.section-head {
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
  max-width: 960px;
}

.section-head h2 {
  max-width: 15ch;
}

.section-head p {
  font-size: clamp(1.02rem, 1.45vw, 1.25rem);
  max-width: 62ch;
}

/* Existing internal pages inherit a calmer, image-led hero. */
.hero:not(.hero--home),
.page-hero {
  background: var(--zn-ink);
  color: var(--zn-white);
  min-height: min(720px, calc(100svh - var(--header-height)));
  padding: clamp(6.5rem, 11vw, 10rem) 0;
}

.hero:not(.hero--home) h1,
.hero:not(.hero--home) h2,
.hero:not(.hero--home) h3,
.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: var(--zn-white);
  max-width: 14ch;
}

.hero:not(.hero--home) p,
.page-hero p {
  color: oklch(88% 0.018 245);
}

.hero--bg-half::before {
  background-image:
    linear-gradient(90deg, var(--zn-ink) 0%, oklch(17% 0.035 255 / 0.98) 42%, oklch(17% 0.035 255 / 0.3) 72%, transparent 100%),
    var(--hero-image);
  background-position: center, 72% center;
  background-size: cover, 60% auto;
  opacity: 1;
}

.hero--bg-half .hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

/* Repeated card grids become structured capability lists. */
.card-grid,
.info-grid,
.integration-wall {
  gap: 0;
  border-top: 1px solid var(--zn-line);
}

.card-grid .card,
.info-grid .info-card,
.integration-wall .integration-panel {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--zn-line);
  border-radius: 0;
  box-shadow: none;
  min-height: auto;
  padding: clamp(2rem, 3.8vw, 3.5rem) clamp(0rem, 2.2vw, 2rem);
}

.card-grid .card:hover,
.info-grid .info-card:hover,
.integration-wall .integration-panel:hover {
  background: var(--zn-white);
  box-shadow: none;
  transform: none;
}

.card-grid .card h3,
.info-grid .info-card h3,
.integration-wall .integration-panel h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  max-width: 18ch;
}

.bento-grid {
  border-top: 1px solid var(--zn-line);
  gap: 0;
}

.bento-item,
.bento-item.large {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--zn-line);
  border-radius: 0;
  box-shadow: none;
  padding: clamp(2.25rem, 4vw, 4rem);
}

.split-media,
.media-card {
  background: var(--zn-mist);
  border: 0;
  border-radius: var(--zn-radius-md);
  box-shadow: none;
  overflow: hidden;
}

.split-media img,
.media-card img {
  width: 100%;
}

.table {
  background: var(--zn-white);
  border: 1px solid var(--zn-line);
  border-radius: var(--zn-radius-md);
  box-shadow: none;
  overflow: hidden;
}

.table th {
  background: var(--zn-ink);
  color: var(--zn-white);
}

.table td,
.table th {
  border-color: var(--zn-line);
  padding: 1rem 1.2rem;
}

.cta {
  background: var(--zn-blue);
  color: var(--zn-white);
  padding: clamp(6.5rem, 11vw, 10rem) 0;
}

.cta h2,
.cta h3,
.cta .eyebrow {
  color: var(--zn-white);
}

.cta p {
  color: var(--zn-white);
}

.cta .btn {
  background: var(--zn-white);
  border-color: var(--zn-white);
  color: var(--zn-ink);
}

.cta .btn:hover {
  background: var(--zn-cyan);
  border-color: var(--zn-cyan);
}

.cta-card {
  background: oklch(30% 0.12 255);
  border: 1px solid oklch(96% 0.01 250 / 0.24);
  border-radius: var(--zn-radius-md);
  box-shadow: none;
}

.cta .cta-card li {
  color: oklch(91% 0.012 245);
}

.cta .cta-card li::before {
  background: var(--zn-cyan);
}

.site-footer {
  background: var(--zn-ink);
  color: var(--zn-white);
  padding-top: clamp(5rem, 9vw, 8rem);
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: oklch(83% 0.018 245);
}

.site-footer h2,
.site-footer h3,
.site-footer strong,
.footer-cta {
  color: var(--zn-white);
}

.site-footer .btn:not(.ghost) {
  background: var(--zn-white);
  border-color: var(--zn-white);
  color: var(--zn-ink);
}

.site-footer .btn:not(.ghost):hover {
  background: var(--zn-blue);
  border-color: var(--zn-blue);
  color: var(--zn-white);
}

.footer-links {
  gap: 0.85rem 1.5rem;
}

.footer-bottom {
  border-top-color: var(--zn-line-inverse);
}

.cta-dock {
  bottom: 1.25rem;
  display: none;
  right: 1.25rem;
}

.cta-dock a {
  background: var(--zn-ink);
  border: 1px solid var(--zn-ink);
  box-shadow: 0 12px 30px oklch(12% 0.04 255 / 0.18);
  font-size: 0.86rem;
  min-width: 122px;
  text-align: center;
}

.cta-dock a.secondary {
  background: var(--zn-white);
  border-color: var(--zn-line);
  color: var(--zn-ink);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 640ms var(--zn-ease), transform 640ms var(--zn-ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Home: Quiet Command
   -------------------------------------------------------------------------- */

.page-home main {
  overflow: clip;
}

.home-hero {
  background: var(--zn-paper);
  padding: clamp(4.75rem, 7.5vw, 7.5rem) 0 clamp(4rem, 7vw, 7rem);
  position: relative;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  top: 7%;
  width: min(46vw, 680px);
  aspect-ratio: 1;
  border: 1px solid oklch(55% 0.19 255 / 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 11vw oklch(55% 0.19 255 / 0.025),
    0 0 0 22vw oklch(76% 0.14 190 / 0.018);
  pointer-events: none;
}

.home-hero-intro {
  display: grid;
  gap: clamp(2rem, 6vw, 7rem);
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  position: relative;
  z-index: 1;
}

.home-hero-category {
  align-items: flex-start;
  color: var(--zn-muted);
  display: flex;
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  font-weight: 520;
  gap: 0.6rem;
  line-height: 1.35;
  margin: 0 0 clamp(1rem, 1.6vw, 1.4rem);
  max-width: 48rem;
}

.home-hero-category::before {
  background: var(--zn-cyan);
  content: "";
  flex: 0 0 32px;
  height: 1px;
  margin-top: 0.68em;
}

.home-hero-category-copy {
  min-width: 0;
}

.home-hero-category strong {
  color: var(--zn-ink);
  font-weight: 650;
}

.home-hero-category abbr {
  text-decoration: none;
}

.home-hero-title {
  font-size: clamp(4.1rem, 9.7vw, 9rem);
  letter-spacing: -0.068em;
  line-height: 0.84;
  max-width: 8.8ch;
  text-wrap: balance;
}

.home-hero-title .accent-word {
  color: var(--zn-blue);
}

.home-hero-aside {
  align-self: end;
  padding-bottom: clamp(0.25rem, 1vw, 1rem);
}

.home-hero-aside .lead {
  color: var(--zn-copy);
  font-size: clamp(1.05rem, 1.65vw, 1.34rem);
  letter-spacing: -0.02em;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.home-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
}

.text-link {
  align-items: center;
  color: var(--zn-ink);
  display: inline-flex;
  font-size: 0.96rem;
  font-weight: 610;
  gap: 0.55rem;
  padding: 0.75rem 0;
}

.text-link::after {
  content: "→";
  color: var(--zn-blue);
  font-size: 1.1em;
  transition: transform 180ms var(--zn-ease);
}

.text-link:hover {
  color: var(--zn-blue);
}

.text-link:hover::after {
  transform: translateX(4px);
}

.home-hero-proof {
  align-items: flex-start;
  border-top: 1px solid var(--zn-line);
  display: flex;
  gap: 0.8rem;
  margin-top: 2.1rem;
  padding-top: 1rem;
}

.home-hero-proof span:first-child {
  background: var(--zn-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--zn-cyan-soft);
  flex: 0 0 auto;
  height: 7px;
  margin-top: 0.42rem;
  width: 7px;
}

.home-hero-proof span:last-child {
  color: var(--zn-copy);
  font-size: clamp(0.88rem, 1.05vw, 0.96rem);
  font-weight: 610;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.home-product-stage {
  background: var(--zn-ink);
  border-radius: var(--zn-radius-lg);
  box-shadow: var(--zn-shadow-high);
  margin-top: clamp(4.5rem, 9vw, 8rem);
  overflow: hidden;
  padding: clamp(0.5rem, 1vw, 0.85rem);
  position: relative;
}

.home-product-stage picture,
.home-product-stage img {
  display: block;
  width: 100%;
}

.home-stage-viewport {
  aspect-ratio: 1.92 / 1;
  border-radius: calc(var(--zn-radius-lg) - 10px);
  overflow: hidden;
  position: relative;
}

.home-stage-frame {
  height: 100%;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 720ms var(--zn-ease);
  will-change: opacity;
}

.home-stage-frame.is-active {
  opacity: 1;
  z-index: 1;
}

.home-stage-frame img {
  height: 100%;
  object-fit: cover;
  object-position: var(--stage-position, center);
}

.home-stage-controls {
  align-items: center;
  background: var(--zn-ink);
  border: 1px solid var(--zn-line-inverse);
  border-radius: var(--zn-radius-sm);
  display: flex;
  height: 44px;
  overflow: hidden;
  position: absolute;
  right: clamp(1.2rem, 3vw, 2.5rem);
  top: clamp(1.2rem, 3vw, 2.5rem);
  z-index: 4;
}

.home-stage-controls[hidden],
.home-stage-dots[hidden],
.home-stage-countdown[hidden],
.home-stage-toggle[hidden] {
  display: none;
}

.home-stage-dots {
  align-items: center;
  display: flex;
  height: 100%;
  padding: 0 0.2rem;
}

.home-stage-dot {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.home-stage-dot:focus-visible,
.home-stage-toggle:focus-visible {
  outline-offset: -4px;
}

.home-stage-dot::before {
  background: oklch(99.4% 0.003 250 / 0.34);
  border-radius: 50%;
  content: "";
  height: 5px;
  transition: background-color 180ms var(--zn-ease), transform 180ms var(--zn-ease);
  width: 5px;
}

.home-stage-dot:hover::before,
.home-stage-dot:focus-visible::before {
  background: var(--zn-white);
  transform: scale(1.25);
}

.home-stage-dot.is-active::before {
  background: var(--zn-cyan);
  transform: scale(1.4);
}

.home-stage-countdown {
  align-items: center;
  display: inline-flex;
  flex: 0 0 40px;
  height: 44px;
  justify-content: center;
  pointer-events: none;
  width: 40px;
}

.home-stage-countdown svg {
  height: 24px;
  overflow: visible;
  transform: rotate(-90deg);
  width: 24px;
}

.home-stage-countdown circle {
  fill: none;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.home-stage-countdown-track {
  stroke: var(--zn-line-inverse);
}

.home-stage-countdown-fill {
  stroke: var(--zn-cyan);
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  transition-property: stroke-dashoffset;
  transition-timing-function: linear;
  will-change: stroke-dashoffset;
}

.home-stage-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--zn-line-inverse);
  border-radius: 0;
  color: var(--zn-white);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  height: 44px;
  justify-content: center;
  transition: background-color 180ms var(--zn-ease), color 180ms var(--zn-ease);
  width: 44px;
}

.home-stage-toggle:hover {
  background: var(--zn-ink-soft);
}

.home-product-stage.is-paused .home-stage-toggle {
  background: var(--zn-white);
  color: var(--zn-ink);
}

.product-stage-label {
  background: var(--zn-ink);
  bottom: clamp(1.2rem, 3vw, 2.5rem);
  color: var(--zn-white);
  left: clamp(1.2rem, 3vw, 2.5rem);
  max-width: 340px;
  overflow: hidden;
  padding: 1.15rem 1.35rem;
  position: absolute;
  z-index: 3;
}

.product-stage-label span {
  color: var(--zn-cyan);
  display: block;
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.product-stage-label strong {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 540;
  line-height: 1.25;
}

.client-atlas,
.page-interior .section.client-atlas {
  background: var(--zn-mist);
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
}

.client-atlas-head {
  align-items: end;
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.client-atlas-head h2 {
  font-size: clamp(2.8rem, 5.2vw, 5.9rem);
  margin: 0;
  max-width: 13ch;
}

.page-interior .client-atlas-head h2 {
  font-size: clamp(2.6rem, calc(1.65rem + 3.5vw), 4.8rem);
  max-width: 15ch;
}

.client-atlas-statement {
  border-top: 1px solid var(--zn-line);
  color: var(--zn-copy);
  margin: 0;
  max-width: 34rem;
  padding-top: 1.5rem;
}

.client-atlas-statement strong {
  color: var(--zn-ink);
  display: block;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  font-weight: 580;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.client-atlas-statement span {
  display: block;
  margin-top: 0.8rem;
}

.client-atlas-figure {
  background: var(--zn-ink);
  border-radius: var(--zn-radius-lg);
  box-shadow: var(--zn-shadow-high);
  margin: 0;
  padding: 0.7rem;
}

.client-atlas-scroll {
  background: var(--zn-white);
  border-radius: 29px;
  overflow: hidden;
  overscroll-behavior-inline: contain;
}

.client-atlas-scroll:focus-visible {
  outline: 3px solid var(--zn-cyan);
  outline-offset: 4px;
}

.client-atlas-scroll picture,
.client-atlas-scroll img {
  display: block;
  width: 100%;
}

.client-atlas-scroll img {
  height: auto;
}

.client-atlas-figure figcaption {
  align-items: center;
  color: var(--zn-white);
  display: flex;
  font-size: 0.72rem;
  font-weight: 560;
  gap: 1.5rem;
  justify-content: space-between;
  letter-spacing: 0.04em;
  padding: 1rem 1.15rem 0.45rem;
}

.client-atlas-figure figcaption a {
  color: var(--zn-white);
  font-weight: 650;
  text-decoration: none;
}

.client-atlas-figure figcaption a:hover {
  color: var(--zn-cyan);
}

.client-atlas-hint {
  display: none;
}

.home-reality {
  background: var(--zn-ink);
  color: var(--zn-white);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.home-reality-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  min-height: min(780px, 82svh);
}

.home-reality-image {
  min-height: 580px;
  overflow: hidden;
  position: relative;
}

.home-reality-image picture,
.home-reality-image img {
  height: 100%;
  width: 100%;
}

.home-reality-image img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.home-reality-image::after {
  background: linear-gradient(90deg, transparent 58%, var(--zn-ink) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.home-reality-copy {
  align-self: center;
  padding: clamp(3rem, 6vw, 6rem);
}

.home-reality-copy .eyebrow,
.home-reality-copy h2 {
  color: var(--zn-white);
}

.home-reality-copy h2 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  max-width: 9ch;
}

.home-reality-copy blockquote {
  border-top: 1px solid var(--zn-line-inverse);
  color: oklch(93% 0.015 245);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 450;
  line-height: 1.45;
  margin-top: 2.25rem;
  padding-top: 1.7rem;
}

.home-reality-copy cite {
  color: oklch(72% 0.03 245);
  display: block;
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.04em;
  margin-top: 1.25rem;
}

.production-stats {
  background: var(--zn-ink);
  border-top: 1px solid var(--zn-line-inverse);
  color: var(--zn-white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1px;
  padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem);
}

.production-stat {
  border-right: 1px solid var(--zn-line-inverse);
  padding: clamp(1.75rem, 3vw, 3rem);
}

.production-stat:last-child {
  border-right: 0;
}

.production-stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 510;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.production-stat span {
  color: oklch(72% 0.03 245);
  display: block;
  font-size: 0.73rem;
  margin-top: 0.75rem;
}

.home-flow {
  background: var(--zn-paper);
  padding: clamp(8rem, 14vw, 13rem) 0;
}

.home-flow-intro {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.home-flow-intro h2 {
  margin: 0;
  max-width: 12ch;
}

.home-flow-intro p {
  align-self: end;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  margin: 0;
}

.operating-flow {
  border-top: 1px solid var(--zn-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.flow-step {
  border-right: 1px solid var(--zn-line);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2.6vw, 2.5rem) 0;
  position: relative;
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step-number {
  color: var(--zn-blue);
  display: block;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.flow-step h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  margin-bottom: 1rem;
}

.flow-step p {
  font-size: 0.93rem;
  margin: 0;
}

.platform-chapters {
  background: var(--zn-mist);
  padding: clamp(8rem, 13vw, 12rem) 0;
}

.platform-chapters > .container > .section-head h2 {
  max-width: 13ch;
}

.platform-story {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.platform-story + .platform-story {
  border-top: 1px solid var(--zn-line);
}

.platform-story:nth-child(even) {
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
}

.platform-story:nth-child(even) .platform-story-media {
  order: 2;
}

.platform-story:nth-child(even) .platform-story-copy {
  order: 1;
}

.platform-story-copy {
  max-width: 530px;
}

.platform-story-copy .story-index {
  color: var(--zn-blue);
  display: block;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.platform-story-copy h3 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  margin-bottom: 1.5rem;
  max-width: 10ch;
}

.platform-story-copy > p {
  color: var(--zn-copy);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.story-points {
  border-top: 1px solid var(--zn-line);
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
}

.story-points li {
  border-bottom: 1px solid var(--zn-line);
  color: var(--zn-muted);
  font-size: 0.88rem;
  padding: 0.9rem 0;
}

.story-points strong {
  color: var(--zn-ink);
  font-weight: 620;
}

.platform-story-media {
  overflow: hidden;
  position: relative;
}

.platform-story-media > picture,
.platform-story-media > picture > img,
.platform-story-media > img {
  width: 100%;
}

.platform-story-media > picture > img,
.platform-story-media > img {
  background: var(--zn-white);
  border: 1px solid var(--zn-line);
  border-radius: var(--zn-radius-md);
  box-shadow: var(--zn-shadow-low);
}

.platform-story-media.media-portrait {
  align-items: end;
  background: var(--zn-ink);
  border-radius: var(--zn-radius-lg);
  display: grid;
  min-height: 660px;
  padding: clamp(1rem, 3vw, 2rem);
}

.platform-story-media.media-portrait .field-photo {
  border: 0;
  border-radius: calc(var(--zn-radius-lg) - 12px);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.platform-story-media.media-portrait::after {
  background: linear-gradient(180deg, transparent 42%, oklch(17% 0.035 255 / 0.82) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.platform-story-media .phone-cutout {
  align-self: end;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-left: auto;
  max-height: 590px;
  object-fit: contain;
  position: relative;
  width: min(72%, 540px);
  z-index: 1;
}

.platform-story-media .media-note {
  bottom: 1.5rem;
  color: var(--zn-white);
  font-size: 0.72rem;
  left: 1.5rem;
  letter-spacing: 0.03em;
  max-width: 22ch;
  position: absolute;
  z-index: 2;
}

.capability-index {
  background: var(--zn-paper);
  padding: clamp(8rem, 13vw, 12rem) 0;
}

.capability-index-grid {
  border-top: 1px solid var(--zn-line);
}

.capability-row {
  border-bottom: 1px solid var(--zn-line);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(160px, 0.65fr) minmax(0, 1.35fr) minmax(0, 2fr);
  padding: clamp(2.4rem, 4vw, 4rem) 0;
}

.capability-row > span {
  color: var(--zn-blue);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  padding-top: 0.35rem;
}

.capability-row h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 0;
}

.capability-row ul {
  display: grid;
  gap: 0.75rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.capability-row li {
  color: var(--zn-muted);
  font-size: 0.9rem;
  padding-left: 1rem;
  position: relative;
}

.capability-row li::before {
  background: var(--zn-cyan);
  border-radius: 50%;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 0.68em;
  width: 5px;
}

.decision-section {
  background: var(--zn-ink);
  color: var(--zn-white);
  padding: clamp(8rem, 13vw, 12rem) 0;
}

.decision-layout {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
}

.decision-copy .eyebrow,
.decision-copy h2,
.decision-copy h3 {
  color: var(--zn-white);
}

.decision-copy h2 {
  font-size: clamp(3rem, 5.7vw, 5.8rem);
  max-width: 9ch;
}

.decision-copy > p {
  color: oklch(80% 0.025 245);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.decision-list {
  border-top: 1px solid var(--zn-line-inverse);
  list-style: none;
  margin-top: 2.4rem;
  padding: 0;
}

.decision-list li {
  align-items: baseline;
  border-bottom: 1px solid var(--zn-line-inverse);
  color: oklch(76% 0.025 245);
  display: grid;
  font-size: 0.86rem;
  gap: 1rem;
  grid-template-columns: 1.7rem 1fr;
  padding: 0.9rem 0;
}

.decision-list span {
  color: var(--zn-cyan);
  font-size: 0.68rem;
  font-weight: 650;
}

.decision-media {
  background: var(--zn-white);
  border-radius: var(--zn-radius-md);
  box-shadow: 0 40px 100px oklch(7% 0.035 255 / 0.42);
  overflow: hidden;
  padding: 0.55rem;
  transform: rotate(0.6deg);
}

.decision-media picture,
.decision-media img {
  display: block;
  width: 100%;
}

.decision-media img {
  border-radius: calc(var(--zn-radius-md) - 7px);
}

.implementation {
  background: var(--zn-mist);
  padding: clamp(8rem, 13vw, 12rem) 0;
}

.implementation-head {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.implementation-head h2 {
  max-width: 12ch;
}

.implementation-head p {
  align-self: end;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
}

.implementation-steps {
  border-top: 1px solid var(--zn-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.implementation-step {
  border-right: 1px solid var(--zn-line);
  padding: clamp(2rem, 3.5vw, 3.25rem);
}

.implementation-step:last-child {
  border-right: 0;
}

.implementation-step > span {
  color: var(--zn-blue);
  display: block;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.implementation-step h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
}

.implementation-step p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.implementation-step time {
  color: var(--zn-ink);
  display: block;
  font-size: 0.73rem;
  font-weight: 620;
  margin-top: 1.3rem;
}

.implementation-foot {
  align-items: center;
  border-bottom: 1px solid var(--zn-line);
  border-top: 1px solid var(--zn-line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 1.5rem 0;
}

.implementation-foot p {
  margin: 0;
}

.voices {
  background: var(--zn-paper);
  padding: clamp(8rem, 13vw, 12rem) 0;
}

.voices-head {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.voices-head h2 {
  max-width: 12ch;
}

.voices-head p {
  margin: 0;
}

.voices-grid {
  border-top: 1px solid var(--zn-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.voice {
  border-bottom: 1px solid var(--zn-line);
  min-height: 410px;
  padding: clamp(2.5rem, 5vw, 5rem);
}

.voice:nth-child(odd) {
  border-right: 1px solid var(--zn-line);
}

.voice-logo {
  filter: grayscale(1) contrast(0.78);
  height: 38px;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.64;
}

.voice blockquote {
  color: var(--zn-ink);
  font-size: clamp(1.32rem, 2.3vw, 2.2rem);
  font-weight: 440;
  letter-spacing: -0.032em;
  line-height: 1.35;
  margin-bottom: 2.25rem;
  max-width: 28ch;
}

.voice figcaption {
  color: var(--zn-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.voice figcaption strong {
  color: var(--zn-ink);
  display: block;
  font-weight: 620;
}

.home-final-cta {
  background: var(--zn-blue);
  color: var(--zn-white);
  padding: clamp(8rem, 14vw, 13rem) 0;
  position: relative;
  overflow: hidden;
}

.home-final-cta::after {
  border: 1px solid oklch(96% 0.02 245 / 0.18);
  border-radius: 50%;
  content: "";
  height: min(70vw, 900px);
  position: absolute;
  right: -24vw;
  top: -36%;
  width: min(70vw, 900px);
}

.home-final-cta .container {
  position: relative;
  z-index: 1;
}

.home-final-cta .eyebrow,
.home-final-cta h2 {
  color: var(--zn-white);
}

.home-final-cta h2 {
  font-size: clamp(4rem, 8.8vw, 8.5rem);
  letter-spacing: -0.066em;
  line-height: 0.88;
  max-width: 10ch;
}

.home-final-cta p {
  color: oklch(92% 0.03 245);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-top: 2rem;
  max-width: 52ch;
}

.home-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin-top: 2.5rem;
}

.home-final-cta .btn {
  background: var(--zn-white);
  border-color: var(--zn-white);
  color: var(--zn-ink);
}

.home-final-cta .btn:hover {
  background: var(--zn-cyan);
  border-color: var(--zn-cyan);
}

.home-final-cta .text-link {
  color: var(--zn-white);
}

.home-final-cta .text-link::after {
  color: var(--zn-cyan);
}

/* Mobile menu and form refinement shared by every page. */
.mobile-menu {
  background: var(--zn-paper);
  bottom: 0;
  overflow-y: auto;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

.mobile-nav-links a {
  border-bottom: 1px solid var(--zn-line);
  color: var(--zn-ink);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 540;
  letter-spacing: -0.04em;
  padding: 0.85rem 0;
}

.mobile-menu-toggle {
  background: var(--zn-ink);
  border-radius: 12px;
}

.form-card,
.form-grid input,
.form-grid select,
.form-grid textarea,
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--zn-white);
  border-color: var(--zn-line);
  border-radius: var(--zn-radius-sm);
  box-shadow: none;
}

@media (max-width: 1180px) {
  .site-nav {
    display: none;
  }

  .header-grid {
    gap: 0.75rem;
    justify-content: flex-start;
  }

  .brand {
    flex: 1 1 auto;
  }

  .header-utils {
    margin-left: auto;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .cta-dock {
    display: none;
  }

  .home-reality-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  }

  .platform-story,
  .platform-story:nth-child(even) {
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .home-hero-intro,
  .home-flow-intro,
  .implementation-head,
  .voices-head,
  .decision-layout {
    grid-template-columns: 1fr;
  }

  .home-hero-title {
    max-width: 9.5ch;
  }

  .home-hero-aside {
    max-width: 600px;
  }

  .client-atlas-head {
    gap: 2.25rem;
    grid-template-columns: 1fr;
  }

  .client-atlas-statement {
    max-width: 42rem;
  }

  .home-reality-grid {
    grid-template-columns: 1fr;
  }

  .home-reality-image::after {
    background: linear-gradient(180deg, transparent 60%, var(--zn-ink) 100%);
  }

  .home-reality-copy {
    padding: 3.5rem 1.5rem 4.5rem;
  }

  .production-stats,
  .operating-flow,
  .implementation-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .production-stat:nth-child(2),
  .flow-step:nth-child(2),
  .implementation-step:nth-child(2) {
    border-right: 0;
  }

  .production-stat:nth-child(-n + 2),
  .flow-step:nth-child(-n + 2),
  .implementation-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--zn-line-inverse);
  }

  .flow-step:nth-child(-n + 2),
  .implementation-step:nth-child(-n + 2) {
    border-bottom-color: var(--zn-line);
  }

  .platform-story,
  .platform-story:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .platform-story:nth-child(even) .platform-story-media,
  .platform-story:nth-child(even) .platform-story-copy {
    order: initial;
  }

  .platform-story-media {
    max-width: 760px;
  }

  .platform-story-media.media-portrait {
    min-height: 620px;
  }

  .capability-row {
    grid-template-columns: 0.35fr 1.65fr;
  }

  .capability-row ul {
    grid-column: 2;
  }

  .decision-media {
    transform: none;
  }

  .voices-grid {
    grid-template-columns: 1fr;
  }

  .voice:nth-child(odd) {
    border-right: 0;
  }

  .hero--bg-half .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 2rem), var(--zn-max));
  }

  .site-header {
    height: var(--header-height);
  }

  .brand img {
    height: 25px;
  }

  .brand img:last-child {
    height: 22px;
  }

  .brand-divider {
    display: block;
    height: 18px;
  }

  .lang-switch {
    font-size: 0.68rem;
  }

  .mobile-menu-toggle {
    height: 42px;
    width: 42px;
  }

  .home-hero {
    padding-top: 4.5rem;
  }

  .home-hero::after {
    display: none;
  }

  .home-hero-title {
    font-size: clamp(3.75rem, 18vw, 5.5rem);
    line-height: 0.88;
  }

  .home-hero-aside .lead {
    font-size: 1.04rem;
  }

  .home-hero-actions .btn {
    width: 100%;
  }

  .home-product-stage {
    border-radius: 22px;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding: 0.35rem;
  }

  .home-stage-viewport {
    aspect-ratio: 0.88 / 1;
    border-radius: 17px;
  }

  .home-stage-frame img {
    object-position: var(--stage-position-mobile, var(--stage-position, center));
  }

  .product-stage-label {
    padding: 0.9rem 1rem;
  }

  .client-atlas,
  .page-interior .section.client-atlas {
    padding: 4.75rem 0;
  }

  .client-atlas-head {
    margin-bottom: 2.75rem;
  }

  .client-atlas-head h2,
  .page-interior .client-atlas-head h2 {
    font-size: 2.6rem;
    max-width: 11ch;
  }

  .client-atlas-figure {
    border-radius: var(--zn-radius-md);
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding: 0.35rem;
  }

  .client-atlas-scroll {
    border-radius: 17px;
    overflow-x: auto;
    scrollbar-color: var(--zn-cyan) var(--zn-ink-soft);
    scrollbar-width: thin;
  }

  .client-atlas-scroll::-webkit-scrollbar {
    height: 6px;
  }

  .client-atlas-scroll::-webkit-scrollbar-track {
    background: var(--zn-ink-soft);
  }

  .client-atlas-scroll::-webkit-scrollbar-thumb {
    background: var(--zn-cyan);
    border-radius: 999px;
  }

  .client-atlas-scroll picture,
  .client-atlas-scroll img {
    max-width: none;
    width: 920px;
  }

  .client-atlas-figure figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 0.8rem 0.75rem;
  }

  .client-atlas-hint {
    color: var(--zn-cyan);
    display: block;
  }

  .home-reality {
    padding: 0;
  }

  .home-reality-image {
    min-height: 58svh;
  }

  .production-stats {
    padding: 0;
  }

  .production-stat {
    min-height: 145px;
    padding: 1.5rem 1rem;
  }

  .home-flow-intro,
  .implementation-head,
  .voices-head {
    margin-bottom: 3.5rem;
  }

  .operating-flow,
  .implementation-steps {
    grid-template-columns: 1fr;
  }

  .flow-step,
  .flow-step:nth-child(2),
  .implementation-step,
  .implementation-step:nth-child(2) {
    border-bottom: 1px solid var(--zn-line);
    border-right: 0;
    padding: 2rem 0;
  }

  .flow-step-number,
  .implementation-step > span {
    margin-bottom: 2.2rem;
  }

  .platform-story {
    padding: 4.5rem 0;
  }

  .platform-story-copy h3 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .platform-story-media.media-portrait {
    min-height: 530px;
  }

  .platform-story-media .phone-cutout {
    width: 92%;
  }

  .platform-story-media .media-note {
    display: none;
  }

  .capability-row {
    gap: 1rem;
    grid-template-columns: 1fr;
    padding: 2.6rem 0;
  }

  .capability-row ul {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .decision-section,
  .implementation,
  .voices,
  .home-final-cta,
  .platform-chapters,
  .capability-index,
  .home-flow {
    padding-bottom: 7rem;
    padding-top: 7rem;
  }

  .implementation-foot {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .voice {
    min-height: auto;
    padding: 3rem 0;
  }

  .voice-logo {
    margin-bottom: 3rem;
  }

  .home-final-cta h2 {
    font-size: clamp(3.7rem, 17vw, 5.5rem);
  }

  .home-final-actions .btn {
    width: 100%;
  }

  .cta-dock {
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    display: grid;
    gap: 0.45rem;
    grid-template-columns: 0.8fr 1.2fr;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 1.3rem);
  }

  .cta-dock {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 18px);
    transition: opacity 240ms var(--zn-ease), transform 240ms var(--zn-ease);
  }

  body.has-scrolled-action .cta-dock {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .cta-dock a {
    min-width: 0;
    padding: 0.72rem 0.8rem;
  }

  .hero:not(.hero--home),
  .page-hero {
    min-height: auto;
    padding: 6.5rem 0 5rem;
  }

  .hero:not(.hero--home) h1,
  .page-hero h1 {
    font-size: clamp(2.9rem, 12.5vw, 4.2rem);
    line-height: 0.95;
  }

  .hero--bg-half::before {
    background-image:
      linear-gradient(180deg, var(--zn-ink) 0%, oklch(17% 0.035 255 / 0.9) 60%, oklch(17% 0.035 255 / 0.62) 100%),
      var(--hero-image);
    background-position: center;
    background-size: cover;
    opacity: 1;
  }

  .card-grid,
  .info-grid,
  .integration-wall {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-product-stage {
    display: flex;
    flex-direction: column;
  }

  .home-stage-viewport {
    order: 0;
  }

  .product-stage-label {
    bottom: auto;
    left: auto;
    max-width: none;
    order: 1;
    position: static;
    width: 100%;
  }

  .home-stage-controls {
    align-items: stretch;
    border: 0;
    border-radius: 0;
    border-top: 1px solid var(--zn-line-inverse);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px 44px;
    grid-template-rows: auto 44px;
    height: auto;
    order: 2;
    overflow: visible;
    position: static;
    right: auto;
    top: auto;
    width: 100%;
  }

  .home-stage-dots {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1;
    grid-template-columns: repeat(var(--stage-scene-count, 1), minmax(44px, 1fr));
    height: auto;
    padding: 0;
  }

  .home-stage-dot {
    min-width: 44px;
    width: auto;
  }

  .home-stage-countdown {
    grid-column: 2;
    grid-row: 2;
  }

  .home-stage-toggle {
    grid-column: 3;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .home-stage-dots {
    grid-template-columns: repeat(6, minmax(44px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-product-stage,
  .decision-media,
  .platform-story-media .phone-cutout {
    transform: none !important;
  }

  .home-stage-frame {
    transition: none !important;
  }

  .home-stage-countdown {
    display: none !important;
  }

  .home-stage-dot::before {
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .home-stage-countdown {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Interior pages: Evidence-led editorial system
   -------------------------------------------------------------------------- */

/* The home keeps its expressive scale; its display is only slightly calmer. */
.home-hero-title {
  font-size: clamp(3.8rem, 8.4vw, 7.9rem);
}

.page-interior {
  background: var(--zn-paper);
}

.page-interior main > .hero,
.page-interior main > .page-hero {
  min-height: 0;
  padding: clamp(5rem, 7vw, 7.5rem) 0;
}

.page-interior .hero-grid {
  gap: clamp(2.5rem, 5vw, 5.5rem);
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
}

.page-interior .hero--single .hero-grid {
  grid-template-columns: 1fr;
}

.page-interior .hero--single .hero-copy {
  max-width: 850px;
}

.page-interior .hero-copy {
  max-width: 790px;
}

.page-interior .hero h1,
.page-interior .page-hero h1 {
  font-size: clamp(2.6rem, calc(1.65rem + 3.5vw), 4.8rem);
  letter-spacing: -0.048em;
  line-height: 0.98;
  max-width: min(18ch, 100%);
  text-wrap: balance;
}

.page-interior main h2 {
  font-size: clamp(2rem, calc(1.55rem + 1.75vw), 3.25rem);
  letter-spacing: -0.038em;
  line-height: 1.04;
  text-wrap: balance;
}

.page-interior .hero-copy .lead,
.page-interior .page-hero .lead {
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.66;
  margin-bottom: 1.5rem;
  max-width: 61ch;
}

.page-interior .hero::after,
.page-interior .hero--security::before,
.page-interior .section-break::before,
.page-interior .section-break::after,
.page-interior .card::before,
.page-interior .info-card::before,
.page-interior .integration-panel::before,
.page-interior .timeline-step::before,
.page-interior .testimonial-card::before,
.page-interior .form-card::before {
  display: none;
}

.page-interior .hero--bg-half::before {
  background-image:
    linear-gradient(90deg, var(--zn-ink) 0%, var(--zn-ink) 43%, oklch(17% 0.035 255 / 0.92) 52%, oklch(17% 0.035 255 / 0.18) 78%, oklch(17% 0.035 255 / 0.06) 100%),
    var(--hero-image);
  background-position: center, center;
  background-size: cover, cover;
  opacity: 1;
}

.page-interior .hero--bg-half .hero-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
}

.page-interior .hero-list {
  counter-reset: hero-proof;
  gap: 0;
  margin: 1.7rem 0 1.6rem;
}

.page-interior .hero--bg-half .hero-list,
.page-interior .hero--single .hero-list {
  border-top: 1px solid var(--zn-line-inverse);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-interior .hero-list li {
  align-items: start;
  color: oklch(86% 0.018 245);
  display: grid;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  gap: 0.6rem;
  line-height: 1.45;
  padding: 1rem clamp(0.7rem, 1.5vw, 1.25rem) 0 0;
}

.page-interior .hero--bg-half .hero-list li + li,
.page-interior .hero--single .hero-list li + li {
  border-left: 1px solid var(--zn-line-inverse);
  padding-left: clamp(0.7rem, 1.5vw, 1.25rem);
}

.page-interior .hero-list li::before {
  background: none;
  border-radius: 0;
  box-shadow: none;
  color: var(--zn-cyan);
  content: "0" counter(hero-proof);
  counter-increment: hero-proof;
  font-size: 0.7rem;
  font-weight: 650;
  height: auto;
  letter-spacing: 0.12em;
  margin: 0;
  min-height: 0;
  min-width: 0;
  width: auto;
}

.page-interior .hero-cta {
  gap: 0.65rem;
  margin: 1.5rem 0 0;
}

.page-interior .hero-cta .btn {
  min-height: 44px;
  padding: 0.7rem 1.2rem;
}

.page-interior .hero-cta .btn:not(.ghost) {
  background: var(--zn-white);
  border-color: var(--zn-white);
  color: var(--zn-ink);
}

.page-interior .hero-cta .btn:not(.ghost):hover {
  background: var(--zn-cyan);
  border-color: var(--zn-cyan);
  color: var(--zn-ink);
}

/* Security and AI use a typographic signal, not generic cyber decoration. */
.page-seguridad .hero,
.page-ia .hero,
.page-demo .hero,
.page-contacto .hero {
  isolation: isolate;
}

.page-seguridad .hero::before,
.page-ia .hero::before {
  background: none;
  bottom: auto;
  color: oklch(99% 0.003 250 / 0.045);
  display: block;
  font-size: clamp(12rem, 34vw, 34rem);
  font-weight: 600;
  letter-spacing: -0.1em;
  left: auto;
  line-height: 0.7;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  right: -0.06em;
  top: 50%;
  transform: translateY(-46%);
  z-index: 0;
}

.page-seguridad .hero::before {
  content: "24/7";
}

.page-ia .hero::before {
  content: "AI";
}

/* Long-page context navigation. */
.interior-nav {
  background: oklch(98.6% 0.006 250 / 0.965);
  border-bottom: 1px solid var(--zn-line);
  position: sticky;
  top: var(--header-height);
  z-index: 70;
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}

.interior-nav-inner {
  align-items: center;
  display: flex;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: 62px;
}

.interior-nav-label {
  color: var(--zn-muted);
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.interior-nav-links {
  align-items: center;
  display: flex;
  gap: clamp(1.1rem, 2.4vw, 2.35rem);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.interior-nav-links::-webkit-scrollbar {
  display: none;
}

.interior-nav-links a {
  color: var(--zn-muted);
  flex: 0 0 auto;
  font-size: 0.86rem;
  font-weight: 570;
  padding: 1.25rem 0 1.1rem;
  position: relative;
  white-space: nowrap;
}

.interior-nav-links a::after {
  background: var(--zn-blue);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--zn-ease);
  width: 100%;
}

.interior-nav-links a:hover,
.interior-nav-links a.is-active {
  color: var(--zn-ink);
}

.interior-nav-links a.is-active::after {
  transform: scaleX(1);
}

.page-interior main > section[id] {
  scroll-margin-top: calc(var(--header-height) + 76px);
}

/* Sections become editorial chapters rather than repeated SaaS panels. */
.page-interior .section {
  padding: clamp(6rem, 9vw, 9rem) 0;
}

.page-interior .section-head {
  border-top: 1px solid var(--zn-line);
  display: grid;
  gap: 0.75rem clamp(2rem, 6vw, 6.5rem);
  grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1.66fr);
  margin-bottom: clamp(3rem, 6vw, 5.25rem);
  max-width: none;
  padding-top: 1.55rem;
}

.page-interior .section-head .eyebrow {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
}

.page-interior .section-head h2,
.page-interior .section-head > p:not(.eyebrow) {
  grid-column: 2;
  margin-left: 0;
  margin-right: 0;
  max-width: min(18ch, 100%);
}

.page-interior .section-head h2 {
  margin-bottom: 0.45rem;
}

.page-interior .section-head > p:not(.eyebrow) {
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  max-width: 62ch;
}

.page-interior .split {
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.page-interior .split-copy h2 {
  max-width: 15ch;
}

.page-interior .split-copy > p:not(.eyebrow) {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.page-interior .split-media,
.page-interior .media-card {
  border: 1px solid var(--zn-line);
  border-radius: var(--zn-radius-md);
  box-shadow: none;
}

.page-interior .split-media picture,
.page-interior .split-media img,
.page-interior .media-card picture,
.page-interior .media-card img {
  display: block;
  height: auto;
  width: 100%;
}

.page-interior .evidence-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-interior .checklist {
  border-top: 1px solid var(--zn-line);
  gap: 0;
  margin-top: 1.75rem;
}

.page-interior .checklist li {
  border-bottom: 1px solid var(--zn-line);
  color: var(--zn-copy);
  gap: 0.8rem;
  padding: 0.75rem 0;
}

.page-interior .checklist li::before {
  background: none;
  border-radius: 0;
  box-shadow: none;
  color: var(--zn-blue);
  content: "✓";
  font-size: 0.74rem;
  height: auto;
  margin-top: 0.18rem;
  min-height: 0;
  min-width: 14px;
  width: 14px;
}

/* Capability ledgers */
.page-interior .card-grid,
.page-interior .bento-grid,
.page-interior .info-grid,
.page-interior .integration-wall {
  counter-reset: capability;
}

.page-interior .card-grid {
  border-bottom: 1px solid var(--zn-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-interior .card-grid .card,
.page-interior .bento-grid .bento-item,
.page-interior .info-grid .info-card,
.page-interior .integration-wall .integration-panel {
  counter-increment: capability;
  overflow: visible;
  position: relative;
}

.page-interior .card-grid .card::after,
.page-interior .bento-grid .bento-item::after,
.page-interior .info-grid .info-card::after,
.page-interior .integration-wall .integration-panel::after {
  color: var(--zn-blue);
  content: "0" counter(capability);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  position: absolute;
  right: clamp(0rem, 2vw, 1.5rem);
  top: 2.05rem;
}

.page-interior .card-grid .card:nth-child(odd),
.page-interior .bento-grid .bento-item:not(:nth-child(3n)),
.page-interior .info-grid .info-card:not(:last-child),
.page-interior .integration-wall .integration-panel:not(:last-child) {
  border-right: 1px solid var(--zn-line);
}

.page-interior .card-grid .card,
.page-interior .info-grid .info-card,
.page-interior .integration-wall .integration-panel,
.page-interior .bento-grid .bento-item,
.page-interior .bento-grid .bento-item.large {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(2.25rem, 4vw, 3.75rem) clamp(1.2rem, 3vw, 2.75rem);
}

.page-interior .card-grid .card:hover,
.page-interior .info-grid .info-card:hover,
.page-interior .integration-wall .integration-panel:hover,
.page-interior .bento-grid .bento-item:hover {
  background: oklch(99.4% 0.003 250 / 0.72);
  box-shadow: none;
  transform: none;
}

.page-interior .card-grid .card h3,
.page-interior .bento-grid .bento-item h3,
.page-interior .info-grid .info-card h3,
.page-interior .integration-wall .integration-panel h3 {
  max-width: calc(100% - 3rem);
}

.page-interior .bento-grid {
  border-bottom: 1px solid var(--zn-line);
}

.page-interior .info-grid,
.page-interior .integration-wall {
  border-bottom: 1px solid var(--zn-line);
}

/* Product integrations use a balanced 3 + 2 ledger, never a squeezed auto-fit row. */
.page-producto .integration-wall {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.page-interior.page-producto .integration-wall .integration-panel {
  border-right: 0;
  grid-column: span 2;
  min-width: 0;
}

.page-producto .integration-wall .integration-panel:nth-child(n + 4) {
  grid-column: span 3;
}

.page-interior.page-producto .integration-wall .integration-panel:nth-child(1),
.page-interior.page-producto .integration-wall .integration-panel:nth-child(2),
.page-interior.page-producto .integration-wall .integration-panel:nth-child(4) {
  border-right: 1px solid var(--zn-line);
}

.page-producto .integration-wall .integration-panel h3 {
  max-width: calc(100% - 2rem);
}

.page-producto .integration-wall .integration-panel span {
  color: var(--zn-muted);
  font-size: 0.9rem;
}

.page-interior .timeline {
  border-top: 1px solid var(--zn-line);
  gap: 0;
}

.page-interior .timeline-step {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--zn-line);
  border-radius: 0;
  box-shadow: none;
  padding: 1.5rem 0;
}

/* Proof bands */
.page-interior .section-break,
.page-interior .section-break--light {
  background: var(--zn-blue-mist);
}

.page-interior .section-break--dark {
  background: var(--zn-ink);
}

.page-interior .section-break .statement-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0 0 clamp(3rem, 6vw, 5.5rem);
  max-width: 940px;
  padding: 0;
}

.page-interior .section-break .statement-card h2 {
  max-width: 15ch;
}

.page-interior .section-break .proof-strip {
  border-bottom: 1px solid var(--zn-line);
  border-top: 1px solid var(--zn-line);
  gap: 0;
}

.page-interior .section-break .proof-pill {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 1.6rem clamp(1rem, 3vw, 2.5rem);
}

.page-interior .section-break .proof-pill p {
  font-size: 1rem;
  line-height: 1.55;
}

.page-interior .section-break .proof-pill + .proof-pill {
  border-left: 1px solid var(--zn-line);
}

.page-interior .section-break--dark .proof-strip {
  border-color: var(--zn-line-inverse);
}

.page-interior .section-break--dark .proof-pill + .proof-pill {
  border-left-color: var(--zn-line-inverse);
}

/* Metrics and trust */
.page-interior .stats-grid {
  border-bottom: 1px solid var(--zn-line);
  border-top: 1px solid var(--zn-line);
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.page-interior .stat-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.page-interior .stat-card + .stat-card {
  border-left: 1px solid var(--zn-line);
}

.page-interior .stat-card strong {
  color: var(--zn-ink);
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 510;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.page-interior .stat-card span {
  display: block;
  font-size: 0.88rem;
  margin-top: 0.7rem;
}

.client-ledger {
  border-bottom: 1px solid var(--zn-line);
  border-top: 1px solid var(--zn-line);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.client-ledger > div {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 140px;
  padding: 1.5rem;
}

.client-ledger > div + div {
  border-left: 1px solid var(--zn-line);
}

.client-ledger img {
  filter: grayscale(1);
  height: auto;
  max-height: 42px;
  max-width: 130px;
  opacity: 0.7;
  transition: filter 180ms var(--zn-ease), opacity 180ms var(--zn-ease);
  width: auto;
}

.client-ledger img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Case studies read as an evidence ledger, not dark testimonial cards. */
.page-casos #casos-reales .card-grid .card:last-child {
  grid-column: 1 / -1;
}

.page-casos .testimonial-grid {
  border-bottom: 1px solid var(--zn-line);
  border-top: 1px solid var(--zn-line);
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.page-casos .testimonial-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--zn-line);
  border-radius: 0;
  box-shadow: none;
  color: var(--zn-ink);
  min-height: 390px;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.page-casos .testimonial-card:nth-child(odd) {
  border-right: 1px solid var(--zn-line);
}

.page-casos .testimonial-card:hover {
  background: var(--zn-white);
  box-shadow: none;
  transform: none;
}

.page-casos .testimonial-logo {
  filter: grayscale(1);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  opacity: 0.65;
}

.page-casos .testimonial-card p {
  color: var(--zn-copy);
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.58;
}

.page-casos .testimonial-card strong {
  color: var(--zn-ink);
  display: block;
  margin-top: 2rem;
}

.page-casos .testimonial-card span {
  color: var(--zn-muted);
  display: block;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 0.4rem;
}

/* Conversion pages stay compact on laptop sizes. */
.page-demo .hero-grid,
.page-contacto .hero-grid {
  align-items: start;
  grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
}

.page-demo main > .hero,
.page-contacto main > .hero {
  padding-bottom: clamp(4rem, 6vw, 6.5rem);
  padding-top: clamp(4.5rem, 6vw, 6.5rem);
}

.page-demo .form-card,
.page-contacto .form-card {
  border: 1px solid var(--zn-line-inverse);
  border-radius: var(--zn-radius-md);
  box-shadow: 0 28px 70px oklch(8% 0.03 255 / 0.24);
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
}

.page-demo .form-card form,
.page-contacto .form-card form {
  gap: 0.9rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-demo .form-card form > div:has(textarea),
.page-contacto .form-card form > div:has(textarea),
.page-demo .form-card form > button,
.page-contacto .form-card form > button,
.page-demo .form-card .form-status,
.page-contacto .form-card .form-status,
.page-contacto .form-card form > input[type="hidden"],
.page-contacto .form-card form > .form-honeypot {
  grid-column: 1 / -1;
}

.page-demo .form-card textarea,
.page-contacto .form-card textarea {
  min-height: 92px;
}

.page-demo .info-grid,
.page-contacto .info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Company methodology: sober, legible and procurement-ready. */
.page-interior .gantt {
  background: var(--zn-white);
  border: 1px solid var(--zn-line);
  border-radius: var(--zn-radius-md);
  box-shadow: none;
  color: var(--zn-ink);
}

.page-interior .gantt::before {
  display: none;
}

.page-interior .gantt-scale {
  color: var(--zn-muted);
  font-size: 0.72rem;
}

.page-interior .gantt-row + .gantt-row {
  border-top-color: var(--zn-line);
}

.page-interior .gantt-info h4 {
  color: var(--zn-ink);
  font-size: 1.06rem;
}

.page-interior .gantt-info p {
  color: var(--zn-muted);
  font-size: 0.96rem;
}

.page-interior .gantt-duration {
  background: var(--zn-blue-mist);
  border-radius: 999px;
  color: var(--zn-blue);
  font-size: 0.74rem;
}

.page-interior .gantt-track {
  background: var(--zn-mist);
  border-color: var(--zn-line);
}

.page-interior .gantt-track::before {
  background-image: linear-gradient(90deg, var(--zn-line) 1px, transparent 1px);
  opacity: 1;
}

.page-interior .gantt-bar {
  --bar-start: var(--zn-blue);
  --bar-end: var(--zn-cyan);
  box-shadow: none;
}

.page-interior .gantt-bar::after {
  display: none;
}

/* Legal documents are reading surfaces, not product landing pages. */
.page-legal .page-hero {
  background: var(--zn-paper);
  border-bottom: 1px solid var(--zn-line);
  color: var(--zn-ink);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.page-legal .page-hero h1 {
  color: var(--zn-ink);
}

.page-legal .page-hero p {
  color: var(--zn-muted);
}

.page-legal .section .card {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--zn-line);
  box-shadow: none;
  padding: 2.5rem 0 0;
}

.page-legal .section .card:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.page-legal .section .card h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin-bottom: 0.8rem;
  margin-top: 2.5rem;
}

.page-legal .section .card h3:first-child {
  margin-top: 0;
}

.page-interior .table {
  box-shadow: none;
}

.page-interior .cta h2 {
  max-width: 13ch;
}

.page-interior.footer-in-view .cta-dock,
.page-interior.footer-in-view .cta-dock:hover {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
}

@media (max-width: 1100px) and (min-width: 901px) {
  .page-demo .hero-grid,
  .page-contacto .hero-grid {
    grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.28fr);
  }
}

@media (max-width: 900px) {
  .page-interior .hero-grid,
  .page-interior .hero--bg-half .hero-grid,
  .page-demo .hero-grid,
  .page-contacto .hero-grid,
  .page-interior .split {
    grid-template-columns: 1fr;
  }

  .page-producto .integration-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-interior.page-producto .integration-wall .integration-panel,
  .page-interior.page-producto .integration-wall .integration-panel:nth-child(n + 4),
  .page-interior.page-producto .integration-wall .integration-panel:nth-child(1),
  .page-interior.page-producto .integration-wall .integration-panel:nth-child(2),
  .page-interior.page-producto .integration-wall .integration-panel:nth-child(4) {
    border-right: 0;
    grid-column: auto;
  }

  .page-interior.page-producto .integration-wall .integration-panel:nth-child(odd):not(:last-child) {
    border-right: 1px solid var(--zn-line);
  }

  .page-interior .hero--bg-half::before {
    background-image:
      linear-gradient(180deg, var(--zn-ink) 0%, oklch(17% 0.035 255 / 0.97) 58%, oklch(17% 0.035 255 / 0.72) 100%),
      var(--hero-image);
    background-position: center;
    background-size: cover;
  }

  .page-interior .section-head {
    gap: 0.8rem;
    grid-template-columns: 1fr;
  }

  .page-interior .section-head .eyebrow,
  .page-interior .section-head h2,
  .page-interior .section-head > p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .page-interior .section-head .eyebrow {
    margin-bottom: 1.15rem;
  }

  .page-interior .card-grid,
  .page-casos .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .page-casos #casos-reales .card-grid .card:last-child {
    grid-column: auto;
  }

  .page-interior .card-grid .card:nth-child(odd),
  .page-interior .bento-grid .bento-item:not(:nth-child(3n)),
  .page-casos .testimonial-card:nth-child(odd) {
    border-right: 0;
  }

  .page-interior .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-interior .stat-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--zn-line);
  }

  .page-interior .stat-card:nth-child(4) {
    border-top: 1px solid var(--zn-line);
  }

  .client-ledger {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-ledger > div:nth-child(4) {
    border-left: 0;
  }

  .client-ledger > div:nth-child(n + 4) {
    border-top: 1px solid var(--zn-line);
  }

  .page-demo .form-card form,
  .page-contacto .form-card form {
    grid-template-columns: 1fr;
  }

  .page-demo .info-grid,
  .page-contacto .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-hero-title {
    font-size: clamp(3.55rem, 16vw, 4.9rem);
  }

  .page-interior main > .hero,
  .page-interior main > .page-hero {
    padding: 4.25rem 0 3.5rem;
  }

  .page-producto .integration-wall {
    grid-template-columns: 1fr;
  }

  .page-interior.page-producto .integration-wall .integration-panel:nth-child(odd):not(:last-child) {
    border-right: 0;
  }

  .page-interior .hero-copy {
    display: flex;
    flex-direction: column;
  }

  .page-interior .hero-copy .eyebrow {
    order: 0;
  }

  .page-interior .hero-copy h1 {
    order: 1;
  }

  .page-interior .hero-copy .lead {
    order: 2;
  }

  .page-interior .hero-copy .hero-cta {
    order: 3;
  }

  .page-interior .hero-copy .hero-list {
    order: 4;
  }

  .page-interior .hero h1,
  .page-interior .page-hero h1 {
    font-size: 2.6rem;
    line-height: 0.98;
  }

  .page-interior main h2 {
    font-size: 2rem;
  }

  .page-interior .hero--bg-half .hero-list,
  .page-interior .hero--single .hero-list {
    grid-template-columns: 1fr;
  }

  .page-interior .hero--bg-half .hero-list li + li,
  .page-interior .hero--single .hero-list li + li {
    border-left: 0;
    border-top: 1px solid var(--zn-line-inverse);
    padding-left: 0;
  }

  .page-interior .hero-list li {
    gap: 0.35rem;
    padding: 0.7rem 0;
  }

  .interior-nav-inner {
    min-height: 54px;
  }

  .interior-nav-label {
    display: none;
  }

  .interior-nav-links {
    gap: 1.35rem;
  }

  .interior-nav-links a {
    font-size: 0.82rem;
    padding: 1.05rem 0 0.9rem;
  }

  .page-interior .gantt-scale {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }

  .page-interior .section {
    padding: 5.25rem 0;
  }

  .page-interior .section-head {
    margin-bottom: 2.75rem;
    padding-top: 1.2rem;
  }

  .page-interior .card-grid .card,
  .page-interior .info-grid .info-card,
  .page-interior .integration-wall .integration-panel,
  .page-interior .bento-grid .bento-item,
  .page-interior .bento-grid .bento-item.large {
    padding: 2rem 0;
  }

  .page-interior .card-grid .card::after,
  .page-interior .bento-grid .bento-item::after,
  .page-interior .info-grid .info-card::after,
  .page-interior .integration-wall .integration-panel::after {
    right: 0;
    top: 1.9rem;
  }

  .page-interior .section-break .proof-strip {
    grid-template-columns: 1fr;
  }

  .page-interior .section-break .proof-pill {
    padding-left: 0;
    padding-right: 0;
  }

  .page-interior .section-break .proof-pill + .proof-pill,
  .page-interior .section-break--dark .proof-pill + .proof-pill {
    border-left: 0;
    border-top: 1px solid var(--zn-line);
  }

  .page-interior .section-break--dark .proof-pill + .proof-pill {
    border-top-color: var(--zn-line-inverse);
  }

  .page-interior .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-interior .stat-card {
    min-height: 132px;
    padding: 1.35rem 1rem;
  }

  .client-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-ledger > div:nth-child(odd) {
    border-left: 0;
  }

  .client-ledger > div:nth-child(even) {
    border-left: 1px solid var(--zn-line);
  }

  .client-ledger > div:nth-child(n + 3) {
    border-top: 1px solid var(--zn-line);
  }

  .page-casos .testimonial-card {
    min-height: 0;
    padding: 2.5rem 0;
  }

  .page-demo .info-grid,
  .page-contacto .info-grid {
    grid-template-columns: 1fr;
  }

  .page-interior .gantt {
    padding: 1.4rem;
  }

  .page-interior .site-footer {
    padding-bottom: calc(7rem + env(safe-area-inset-bottom));
  }
}
