/*
 * MT Consultora — rediseño web 2026
 * Sitio estático, sin dependencias externas.
 */

:root {
  color-scheme: light;
  --ink: #181a1e;
  --ink-2: #24272d;
  --ink-3: #30343b;
  --text: #2f3339;
  --muted: #68707c;
  --muted-2: #8b929d;
  --surface: #ffffff;
  --surface-2: #f4f6f8;
  --surface-3: #e9edf1;
  --line: #dce1e6;
  --line-dark: rgba(255, 255, 255, 0.14);
  --brand: #a40e16;
  --brand-2: #cf2630;
  --brand-soft: #fff0f1;
  --cyan: #4bd2ff;
  --blue: #2b78ff;
  --success: #167a50;
  --warning: #9f6207;
  --danger: #b3202a;
  --shadow-xs: 0 1px 2px rgba(14, 16, 20, 0.06);
  --shadow-sm: 0 8px 24px rgba(14, 16, 20, 0.08);
  --shadow-md: 0 18px 55px rgba(14, 16, 20, 0.12);
  --shadow-lg: 0 34px 90px rgba(14, 16, 20, 0.18);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --container: 1220px;
  --header-height: 82px;
  --transition: 180ms ease;
  --font-sans: Inter, Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 6.8rem);
}

h2 {
  font-size: clamp(2.15rem, 4.5vw, 4.2rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

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

:focus-visible {
  outline: 3px solid rgba(75, 210, 255, 0.9);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--ink);
  padding: 10px 15px;
  font-weight: 700;
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(78px, 10vw, 142px) 0;
}

.section-compact {
  padding: clamp(55px, 7vw, 95px) 0;
}

.section-muted {
  background: var(--surface-2);
}

.section-dark {
  overflow: clip;
  background: var(--ink);
  color: #d7dce2;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark .section-intro,
.section-dark .muted {
  color: #aeb5bf;
}

.section-grid-bg::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--brand);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-dark .eyebrow {
  color: #ff7079;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 25px;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.72;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.section-head > div:first-child {
  max-width: 780px;
}

.section-head .section-heading {
  margin-bottom: 18px;
}

.kicker {
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), gap var(--transition);
}

.text-link::after {
  content: "→";
}

.text-link:hover {
  gap: 12px;
  border-color: currentColor;
  color: var(--brand);
}

.section-dark .text-link {
  color: #fff;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  padding: 11px 22px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(164, 14, 22, 0.24);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-2);
  box-shadow: 0 15px 34px rgba(164, 14, 22, 0.3);
}

.btn-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--ink-3);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #f1f3f5;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
}

.btn svg,
.text-link svg {
  width: 18px;
  height: 18px;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-2);
  padding: 6px 11px;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1;
}

.badge-red {
  background: var(--brand-soft);
  color: var(--brand);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled,
.site-header.on-light {
  border-color: rgba(24, 26, 30, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 30px rgba(19, 21, 25, 0.05);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.site-logo-symbol {
  display: block;
  width: clamp(52px, 5vw, 66px);
  flex: 0 0 auto;
}

.site-logo-symbol img {
  display: block;
  width: 100%;
  height: auto;
}

.site-logo-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1;
}

.site-logo-copy strong {
  color: currentColor;
  font-size: clamp(0.88rem, 1.15vw, 1.06rem);
  font-weight: 850;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.site-logo-copy small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.51rem, 0.68vw, 0.62rem);
  font-weight: 750;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.site-header.is-scrolled .site-logo,
.site-header.on-light .site-logo {
  color: var(--ink);
}

.site-header.is-scrolled .site-logo-copy small,
.site-header.on-light .site-logo-copy small {
  color: #777f89;
}

.site-header:not(.is-scrolled):not(.on-light) .logo-dark {
  display: none;
}

.site-header.is-scrolled .logo-light,
.site-header.on-light .logo-light {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-nav > a:not(.btn) {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition);
}

.site-nav > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.site-nav > a:not(.btn):hover,
.site-nav > a:not(.btn)[aria-current="page"] {
  color: #fff;
}

.site-nav > a:not(.btn):hover::after,
.site-nav > a:not(.btn)[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header.is-scrolled .site-nav > a:not(.btn),
.site-header.on-light .site-nav > a:not(.btn) {
  color: #4d535d;
}

.site-header.is-scrolled .site-nav > a:not(.btn):hover,
.site-header.is-scrolled .site-nav > a:not(.btn)[aria-current="page"],
.site-header.on-light .site-nav > a:not(.btn):hover,
.site-header.on-light .site-nav > a:not(.btn)[aria-current="page"] {
  color: var(--ink);
}

.menu-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 29px; }

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

.site-header.is-scrolled .menu-toggle,
.site-header.on-light .menu-toggle {
  border-color: var(--line);
  background: #fff;
}

.site-header.is-scrolled .menu-toggle span,
.site-header.on-light .menu-toggle span {
  background: var(--ink);
}

/* Home hero */
.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 35%, rgba(75, 210, 255, 0.11), transparent 32%),
    radial-gradient(circle at 12% 78%, rgba(164, 14, 22, 0.15), transparent 33%),
    var(--ink);
  color: #fff;
  padding: calc(var(--header-height) + clamp(70px, 10vw, 130px)) 0 clamp(80px, 9vw, 125px);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 65% 50%, #000 0, transparent 70%);
}

.hero::after {
  position: absolute;
  right: -150px;
  bottom: -240px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.025), 0 0 0 160px rgba(255, 255, 255, 0.016);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 590px;
  align-items: center;
  gap: clamp(45px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
}

.hero-copy {
  max-width: 780px;
}

.hero .eyebrow {
  color: #ff777f;
}

.hero-title {
  max-width: 830px;
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(3.2rem, 7.5vw, 7rem);
}

.hero-title .accent {
  color: #ff5d67;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 35px;
  color: #c8ced6;
  font-size: clamp(1.08rem, 1.75vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 47px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  color: #aeb5bf;
  font-size: 0.91rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-proof span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(75, 210, 255, 0.75);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background: #0b0f14;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  isolation: isolate;
}

.hero-visual {
  width: 100%;
  max-height: 690px;
  align-self: center;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  content: "";
}

.hero-video-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #0b0f14;
}

.hero-video-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 50%;
  animation: hero-video-pan 16s ease-in-out infinite alternate;
}

@keyframes hero-video-pan {
  0% { object-position: 16% 50%; }
  100% { object-position: 84% 50%; }
}

.hero-video-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.18), rgba(7, 10, 14, 0.06) 44%, rgba(7, 10, 14, 0.74)),
    linear-gradient(90deg, rgba(7, 10, 14, 0.22), transparent 54%);
}


.hero-video-overlay {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 26px;
  left: 26px;
  color: #fff;
}

.hero-video-overlay strong {
  display: block;
  font-size: clamp(1rem, 1.65vw, 1.3rem);
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}


.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8e97a3;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue::before {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, #8e97a3);
  content: "";
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-inner {
  display: grid;
  min-height: 105px;
  align-items: center;
  gap: 18px 35px;
  grid-template-columns: auto 1fr;
}

.trust-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px 30px;
}

.trust-items span {
  color: var(--ink-2);
  font-size: clamp(0.82rem, 1.2vw, 0.96rem);
  font-weight: 750;
}

/* Bento overview */
.bento-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.bento-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
  padding: clamp(25px, 3vw, 38px);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.bento-card:hover {
  border-color: #c4cbd3;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.bento-card h3 {
  max-width: 410px;
  margin-bottom: 14px;
}

.bento-card p {
  max-width: 460px;
  color: var(--muted);
}

.bento-card .card-number {
  display: block;
  margin-bottom: 50px;
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.bento-wide {
  grid-column: span 7;
}

.bento-medium {
  grid-column: span 5;
}

.bento-half {
  grid-column: span 6;
}

.bento-card-dark {
  border-color: transparent;
  background: var(--ink);
  color: #cbd1d9;
}

.bento-card-dark h3 {
  color: #fff;
}

.bento-card-dark p {
  color: #a9b0ba;
}

.bento-card-red {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

.bento-card-red h3,
.bento-card-red p,
.bento-card-red .card-number {
  color: #fff;
}

.bento-visual {
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: min(52%, 320px);
  opacity: 0.88;
}

.bento-card .card-number,
.bento-card h3,
.bento-card p,
.bento-card > a {
  position: relative;
  z-index: 2;
}

.bento-rings {
  --ring-color: rgba(21, 25, 30, 0.055);
  position: absolute;
  z-index: 0;
  width: 290px;
  height: 290px;
  pointer-events: none;
  border: 1px solid var(--ring-color);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px color-mix(in srgb, var(--ring-color) 72%, transparent),
    0 0 0 96px color-mix(in srgb, var(--ring-color) 45%, transparent),
    0 0 0 144px color-mix(in srgb, var(--ring-color) 24%, transparent);
}

.bento-card-dark .bento-rings,
.bento-card-red .bento-rings {
  --ring-color: rgba(255, 255, 255, 0.075);
}

.bento-rings-data {
  right: -62px;
  bottom: -80px;
  width: 270px;
  height: 270px;
}

.bento-rings-knowledge {
  right: -92px;
  bottom: -126px;
  width: 330px;
  height: 330px;
}

.bento-rings-action {
  top: -124px;
  right: -44px;
  width: 305px;
  height: 305px;
}

.bento-rings-support {
  right: 28px;
  bottom: -180px;
  width: 350px;
  height: 350px;
}

/* Solution cards */
.solution-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.solution-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  padding: 28px;
  transition: background-color var(--transition), transform 260ms ease, border-color var(--transition);
}

.solution-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-6px);
}

.solution-card .solution-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 46px;
  color: #858e9a;
  font-family: var(--font-mono);
  font-size: 0.73rem;
}

.solution-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.solution-card p {
  margin-bottom: 28px;
  color: #aeb5bf;
}

.solution-icon {
  position: absolute;
  right: 25px;
  bottom: 25px;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--cyan);
}

.solution-icon svg {
  width: 30px;
  height: 30px;
}

/* Comparison */
.comparison-grid {
  display: grid;
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  grid-template-columns: minmax(0, 0.83fr) minmax(500px, 1.17fr);
}

.comparison-copy .section-heading {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.feature-list {
  display: grid;
  gap: 17px;
  margin: 30px 0 36px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 31px;
}

.feature-list li::before {
  position: absolute;
  top: 0.54em;
  left: 0;
  width: 12px;
  height: 12px;
  border: 3px solid var(--brand);
  border-radius: 50%;
  content: "";
}

.compare-wrap {
  min-width: 0;
}

.compare-shell {
  --compare-position: 50%;
  position: relative;
  aspect-ratio: 1000 / 620;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #12161c;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.compare-code-copy {
  position: absolute;
  z-index: 4;
  top: 30px;
  display: flex;
  max-width: 42%;
  flex-direction: column;
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.compare-code-copy strong {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.compare-code-copy span {
  margin-top: 7px;
  color: #aab3c0;
  font-size: 0.78rem;
}

.compare-code-left {
  left: 30px;
}

.compare-code-right {
  right: 30px;
  align-items: flex-end;
  text-align: right;
}

.compare-scale {
  position: absolute;
  z-index: 4;
  right: 30px;
  bottom: 34px;
  display: grid;
  grid-template-columns: auto 12px;
  grid-template-rows: repeat(3, auto);
  gap: 4px 9px;
  align-items: center;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0,0,0,.65);
}

.compare-scale i {
  grid-column: 2;
  grid-row: 1 / 4;
  width: 12px;
  height: 112px;
  border-radius: 99px;
  background: linear-gradient(to bottom, #ef2640, #ff8a28 28%, #d8ee3d 48%, #37cc86 66%, #35d5ff 82%, #2f76ff);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18);
}

.compare-scale span:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.compare-scale span:nth-of-type(2) { grid-column: 1; grid-row: 2; }
.compare-scale span:nth-of-type(3) { grid-column: 1; grid-row: 3; }

.compare-layer {
  position: absolute;
  inset: 0;
}

.compare-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-after {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
}

.compare-divider {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transform: translateX(-1px);
}

.compare-divider::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: var(--shadow-md);
  color: #fff;
  content: "↔";
  font-size: 20px;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.compare-range {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  opacity: 0;
}

.compare-labels {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Metrics and process */
.stat-grid {
  display: grid;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-item {
  min-height: 200px;
  padding: 42px 34px;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--line-dark);
}

.stat-value {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat-item p {
  color: #aeb5bf;
  font-size: 0.94rem;
}

.process-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-step {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 28px 25px 5px 0;
}

.process-step::before {
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.process-number {
  display: block;
  margin-bottom: 54px;
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.94rem;
}

.industries-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-card {
  display: flex;
  min-height: 160px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 25px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.industry-card:hover {
  border-color: #bcc3cc;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.industry-card h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.industry-card span {
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
}

/* About preview */
.about-feature {
  display: grid;
  align-items: center;
  gap: clamp(45px, 8vw, 110px);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
}

.about-visual {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 60% 38%, rgba(75, 210, 255, 0.18), transparent 28%),
    linear-gradient(145deg, #252a32, #0f1216);
}

.about-visual::before,
.about-visual::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.about-visual::before {
  top: 50%;
  left: 50%;
  width: 390px;
  height: 390px;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.03), 0 0 0 140px rgba(255, 255, 255, 0.018);
  transform: translate(-50%, -50%);
}

.about-visual::after {
  right: -140px;
  bottom: -140px;
  width: 370px;
  height: 370px;
  background: rgba(164, 14, 22, 0.12);
}

.visual-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  transform: translate(-50%, -50%);
}

.visual-mark-full {
  width: min(78%, 470px);
  height: auto;
  object-fit: contain;
}

.visual-tag {
  position: absolute;
  top: 35px;
  left: 35px;
  color: #b7bec8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-year {
  position: absolute;
  right: 35px;
  bottom: 28px;
  color: #fff;
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.about-copy .section-heading {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.about-points {
  display: grid;
  gap: 18px;
  margin: 34px 0 38px;
}

.about-point {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  grid-template-columns: 38px 1fr;
}

.about-point span {
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.about-point strong {
  color: var(--ink);
}

/* FAQ */
.faq-layout {
  display: grid;
  align-items: start;
  gap: clamp(45px, 8vw, 100px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.faq-sticky {
  position: sticky;
  top: calc(var(--header-height) + 35px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 20px 0;
  text-align: left;
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  font-weight: 760;
}

.faq-question::after {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform var(--transition), border-color var(--transition), color var(--transition);
}

.faq-question[aria-expanded="true"]::after {
  border-color: var(--brand);
  color: var(--brand);
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 720px;
  margin-bottom: 0;
  padding: 0 55px 28px 0;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

/* CTA */
.cta-section {
  padding: 40px 0 0;
  background: var(--surface-2);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--brand);
  color: #fff;
  padding: clamp(48px, 8vw, 100px);
}

.cta-panel::before {
  position: absolute;
  top: 50%;
  right: -120px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.06), 0 0 0 140px rgba(255, 255, 255, 0.035);
  content: "";
  transform: translateY(-50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
}

.cta-panel h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 5rem);
}

.cta-panel p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #b4bbc5;
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 50px;
  padding-bottom: 58px;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(140px, 0.55fr));
}

.footer-logo-lockup {
  display: flex;
  max-width: 390px;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-logo-lockup > img {
  width: 72px;
  height: auto;
  flex: 0 0 auto;
}

.footer-logo-lockup > span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-logo-lockup strong {
  color: #fff;
  font-size: 1.03rem;
  letter-spacing: 0.07em;
}

.footer-logo-lockup small {
  margin-top: 7px;
  color: #9ea6b0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footer-brand p {
  max-width: 440px;
  color: #9099a5;
}

.footer-col h2 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #aab2bd;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line-dark);
  padding-top: 25px;
  color: #737d89;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: #9ba4af;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: var(--shadow-md);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background-color var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand);
}

/* Inner page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 28%, rgba(75, 210, 255, 0.12), transparent 28%),
    radial-gradient(circle at 12% 90%, rgba(164, 14, 22, 0.15), transparent 32%),
    var(--ink);
  color: #fff;
  padding: calc(var(--header-height) + clamp(80px, 10vw, 135px)) 0 clamp(75px, 9vw, 125px);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  gap: 45px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
}

.page-hero h1 {
  max-width: 950px;
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.page-hero .lead {
  max-width: 780px;
  margin-bottom: 0;
  color: #c0c7d0;
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
}

.page-hero-aside {
  border-left: 1px solid rgba(255, 255, 255, 0.17);
  padding-left: 30px;
}

.page-hero-aside strong {
  display: block;
  margin-bottom: 13px;
  color: #fff;
  font-size: 1.05rem;
}

.page-hero-aside p {
  color: #9ea7b3;
  font-size: 0.92rem;
}

.breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 35px;
  color: #8993a0;
  font-size: 0.8rem;
}

.breadcrumbs a {
  color: #b2bac4;
  text-decoration: none;
}

.breadcrumbs span:not(:last-child)::after,
.breadcrumbs a::after {
  margin-left: 8px;
  color: #5f6874;
  content: "/";
}

/* Generic page layouts */
.intro-grid {
  display: grid;
  align-items: start;
  gap: clamp(45px, 8vw, 100px);
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.intro-grid .display-copy {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.intro-grid .body-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.pillar-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-card {
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 30px;
}

.pillar-card .number {
  display: block;
  margin-bottom: 72px;
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.pillar-card h3 {
  margin-bottom: 14px;
}

.pillar-card p {
  color: var(--muted);
}

.solution-family-card {
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.family-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.family-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(10,13,17,.36), transparent);
  content: "";
  pointer-events: none;
}

.family-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.solution-family-card:hover .family-media img {
  transform: scale(1.025);
}

.family-content {
  padding: 26px 28px 30px;
}

.solution-family-card .number {
  margin-bottom: 28px;
}

.solution-family-card h3 {
  white-space: nowrap;
  font-size: 1.28rem;
}


.visual-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow-md);
}

.visual-card img {
  width: 100%;
}

/* Solutions page */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 42px;
}

.filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #555d68;
  cursor: pointer;
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 720;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  display: flex;
  min-width: 0;
  min-height: 510px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.product-card:hover {
  border-color: #bdc5ce;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.technology-link-card {
  color: inherit;
  text-decoration: none;
}

.technology-link-card:focus-visible {
  outline: 3px solid rgba(164, 14, 22, 0.26);
  outline-offset: 4px;
}

.technology-link-card .text-link::after {
  content: " ↗";
}

.catalog-loading,
.catalog-error {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

.catalog-error {
  border-color: rgba(164,14,22,.28);
  color: #7b252a;
}

.product-card[hidden] {
  display: none;
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 800 / 520;
  background: var(--ink);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.product-category {
  position: absolute;
  top: 17px;
  left: 17px;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 27px;
}

.product-body h3 {
  margin-bottom: 11px;
  font-size: 1.38rem;
}

.product-body p {
  margin-bottom: 23px;
  color: var(--muted);
}

.product-body .text-link {
  margin-top: auto;
}

.selection-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.selection-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.selection-table th,
.selection-table td {
  border-bottom: 1px solid var(--line);
  padding: 19px 22px;
  text-align: left;
  vertical-align: top;
}

.selection-table th {
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selection-table td {
  color: #555d67;
}

.selection-table tr:last-child td {
  border-bottom: 0;
}

.selection-table td:first-child {
  color: var(--ink);
  font-weight: 760;
}

/* Services */
.service-nav {
  position: sticky;
  z-index: 50;
  top: var(--header-height);
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.service-nav-inner {
  display: flex;
  min-width: max-content;
  gap: 28px;
}

.service-nav a {
  position: relative;
  display: flex;
  height: 64px;
  align-items: center;
  color: #5e6671;
  font-size: 0.83rem;
  font-weight: 750;
  text-decoration: none;
}

.service-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brand);
  content: "";
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-nav a:hover {
  color: var(--ink);
}

.service-nav a:hover::after {
  transform: scaleX(1);
}

.service-block {
  display: grid;
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.service-block + .service-block {
  margin-top: clamp(85px, 12vw, 160px);
}

.service-block:nth-child(even) .service-media {
  order: 2;
}

.service-copy h2 {
  margin-bottom: 23px;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.service-copy > p {
  color: var(--muted);
  font-size: 1.07rem;
}

.service-meta {
  display: grid;
  gap: 13px;
  margin: 30px 0 35px;
  padding: 0;
  list-style: none;
}

.service-meta li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: #4f5660;
}

.service-meta li::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 0.58em;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.service-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #e9edf1;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
}

.service-media img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-block:hover .service-media img {
  transform: scale(1.018);
}

.deliverables-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deliverable-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 26px;
}

.deliverable-card span {
  display: block;
  margin-bottom: 42px;
  color: #ff737c;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.deliverable-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.deliverable-card p {
  color: #aeb5bf;
  font-size: 0.92rem;
}

/* About page */
.timeline {
  position: relative;
  margin-top: 65px;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 115px;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  display: grid;
  min-height: 175px;
  gap: 50px;
  padding: 0 0 55px;
  grid-template-columns: 80px minmax(0, 1fr);
}

.timeline-year {
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.83rem;
  font-weight: 800;
}

.timeline-content {
  position: relative;
  padding-left: 55px;
}

.timeline-content::before {
  position: absolute;
  top: 5px;
  left: -5px;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
  content: "";
}

.timeline-content h3 {
  margin-bottom: 12px;
}

.timeline-content p {
  max-width: 740px;
  color: var(--muted);
}

.value-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card {
  min-height: 290px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  padding: 30px;
}

.value-card span {
  display: block;
  margin-bottom: 75px;
  color: #ff7079;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.value-card p {
  color: #aeb5bf;
}

.partner-panel {
  display: grid;
  align-items: center;
  gap: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: clamp(35px, 6vw, 75px);
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.partner-mark {
  display: grid;
  min-height: 260px;
  place-items: center;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.partner-mark strong {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.3rem);
  letter-spacing: -0.04em;
}

.partner-mark small {
  color: #a9b1bc;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.partner-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.partner-links-home {
  margin: 4px 0 26px;
}

.partner-logo-link {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 10px 16px;
  transition: transform 220ms ease, opacity 220ms ease;
}

.partner-logo-link:hover {
  opacity: 0.82;
  transform: translateY(-2px);
}

.partner-logo-link img {
  width: auto;
  max-width: 150px;
  height: 34px;
  object-fit: contain;
}

.partner-logo-link.partner-logo-zeiss img {
  width: 46px;
  height: 46px;
}

.partner-mark-logos {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 34px;
}

.partner-links-dark {
  justify-content: center;
}

.partner-links-dark .partner-logo-link {
  min-width: 170px;
  border: 0;
  background: transparent;
}

.partner-links-dark .partner-logo-link:hover {
  background: transparent;
  box-shadow: none;
}

.partner-links-dark .partner-logo-link img {
  max-width: 160px;
  height: 38px;
}

.partner-links-dark .partner-logo-link.partner-logo-zeiss img {
  width: 64px;
  height: 64px;
}

/* Contact */
.contact-grid {
  display: grid;
  align-items: start;
  gap: clamp(45px, 8vw, 95px);
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
}

.contact-aside {
  position: sticky;
  top: calc(var(--header-height) + 35px);
}

.contact-aside h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.contact-aside > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-steps {
  display: grid;
  gap: 15px;
  margin-top: 40px;
}

.contact-step {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  grid-template-columns: 36px 1fr;
}

.contact-step span {
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.contact-step strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.contact-step small {
  color: var(--muted);
}

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 5vw, 55px);
}

.form-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.form-intro {
  margin-bottom: 34px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  min-width: 0;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 760;
}

.required {
  color: var(--brand);
}

.form-control {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cfd5dc;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

textarea.form-control {
  min-height: 165px;
  resize: vertical;
}

.form-control:hover {
  border-color: #aeb6c0;
}

.form-control:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(75, 210, 255, 0.18);
  outline: none;
}

.form-control[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(179, 32, 42, 0.1);
}

.field-hint,
.field-error {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

.field-error {
  color: var(--danger);
  font-weight: 650;
}

.char-count {
  float: right;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.form-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 4px;
  accent-color: var(--brand);
}

.form-check label {
  color: #555d67;
  font-size: 0.86rem;
}

.form-check a {
  color: var(--ink);
  font-weight: 700;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.form-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.form-status {
  display: none;
  margin-top: 22px;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  border: 1px solid #9ed7bd;
  background: #edf9f3;
  color: #116341;
}

.form-status.error {
  border: 1px solid #edb5b9;
  background: #fff1f2;
  color: #8f1720;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.preview-notice {
  margin-bottom: 25px;
  border: 1px solid #f0d6a2;
  border-radius: 12px;
  background: #fff9ec;
  color: #77510d;
  padding: 13px 15px;
  font-size: 0.84rem;
}

/* Privacy and utility pages */
.prose {
  color: #4f5660;
}

.prose h2 {
  margin: 60px 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.prose h3 {
  margin: 35px 0 15px;
  font-size: 1.3rem;
}

.prose p,
.prose li {
  max-width: 780px;
}

.prose a {
  color: var(--brand);
  font-weight: 650;
}

.note-box {
  margin: 25px 0;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: var(--brand-soft);
  padding: 18px 20px;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: var(--ink);
  color: #fff;
  padding: 40px;
  text-align: center;
}

.not-found .code {
  color: var(--brand-2);
  font-size: clamp(7rem, 20vw, 15rem);
  font-weight: 850;
  letter-spacing: -0.1em;
  line-height: 0.8;
}

.not-found h1 {
  margin: 25px 0 18px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
}

.not-found p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: #aeb6c0;
}

/* Reveals */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .7, .2, 1);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}

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

.reveal-delay-1 { transition-delay: 90ms; }
.reveal-delay-2 { transition-delay: 180ms; }
.reveal-delay-3 { transition-delay: 270ms; }

/* Responsive */
@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  }

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

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

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

  .footer-grid {
    grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(130px, 0.6fr));
  }
}

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

  .container,
  .container-narrow {
    width: min(calc(100% - 32px), var(--container));
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    padding: calc(var(--header-height) + 55px) 28px 45px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.btn) {
    display: flex;
    width: 100%;
    min-height: 64px;
    align-items: center;
    border-bottom: 1px solid var(--line-dark);
    color: #fff !important;
    font-size: clamp(1.35rem, 5vw, 2rem);
  }

  .site-nav > a:not(.btn)::after {
    display: none;
  }

  .site-nav .btn {
    width: 100%;
    margin-top: 28px;
  }

  .site-header.is-scrolled .menu-toggle[aria-expanded="true"],
  .site-header.on-light .menu-toggle[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.05);
  }

  .site-header.is-scrolled .menu-toggle[aria-expanded="true"] span,
  .site-header.on-light .menu-toggle[aria-expanded="true"] span {
    background: #fff;
  }

  .hero {
    padding-bottom: 95px;
  }

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

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

  .hero-visual {
    height: auto;
    max-width: 620px;
    margin-inline: auto;
    aspect-ratio: 4 / 5;
  }

  .scroll-cue {
    display: none;
  }

  .section-head,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .bento-wide,
  .bento-medium,
  .bento-half {
    grid-column: span 6;
  }

  .comparison-grid,
  .about-feature,
  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    gap: 45px;
  }

  .about-visual {
    min-height: 500px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-sticky,
  .contact-aside {
    position: static;
  }

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

  .stat-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--line-dark);
  }

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

  .industries-grid,
  .pillar-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-hero-aside {
    max-width: 650px;
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) .service-media {
    order: 0;
  }

  .partner-panel {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15.5px;
  }

  .section {
    padding: 74px 0;
  }

  .site-logo {
    gap: 9px;
  }

  .site-logo-symbol {
    width: 48px;
  }

  .site-logo-copy strong {
    font-size: 0.78rem;
  }

  .site-logo-copy small {
    margin-top: 5px;
    font-size: 0.45rem;
    letter-spacing: 0.08em;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 65px);
  }

  .hero-title {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-actions,
  .cta-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .hero-proof {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    height: auto;
    min-height: 0;
    border-radius: 26px;
    aspect-ratio: 4 / 5;
  }

  .hero-video-overlay {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .trust-inner {
    padding: 25px 0;
    grid-template-columns: 1fr;
  }

  .trust-items {
    align-items: flex-start;
    flex-direction: column;
  }

  .bento-wide,
  .bento-medium,
  .bento-half {
    grid-column: 1 / -1;
  }

  .bento-card {
    min-height: 280px;
  }

  .solution-grid,
  .product-grid,
  .process-grid,
  .industries-grid,
  .pillar-grid,
  .value-grid,
  .deliverables-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }

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

  .compare-shell {
    border-radius: 19px;
  }

  .compare-divider::after {
    width: 44px;
    height: 44px;
  }

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

  .stat-item + .stat-item,
  .stat-item:nth-child(3) {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .about-visual {
    min-height: 410px;
    border-radius: 26px;
  }

  .visual-mark {
    width: 175px;
  }

  .visual-year {
    right: 24px;
    bottom: 22px;
    font-size: 3.3rem;
  }

  .faq-answer p {
    padding-right: 0;
  }

  .cta-section {
    padding-top: 0;
  }

  .cta-panel {
    border-radius: 0;
    padding-inline: 24px;
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 65px);
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 14vw, 5rem);
  }

  .page-hero-aside {
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    border-left: 0;
    padding-top: 25px;
    padding-left: 0;
  }

  .timeline::before {
    left: 17px;
  }

  .timeline-item {
    gap: 0;
    grid-template-columns: 1fr;
  }

  .timeline-year {
    margin-bottom: 15px;
    padding-left: 48px;
  }

  .timeline-content {
    padding-left: 48px;
  }

  .timeline-content::before {
    left: 12px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .back-to-top,
  .cta-section,
  .service-nav {
    display: none !important;
  }

  .page-hero,
  .hero,
  .section-dark,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }

  .page-hero h1,
  .hero h1,
  .section-dark h2,
  .section-dark h3,
  .site-footer h2 {
    color: #000 !important;
  }

  a {
    text-decoration: underline;
  }
}

.service-nav a.is-active {
  color: var(--ink);
}
.service-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav > a.btn[aria-current="page"] {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22), 0 12px 28px rgba(164, 14, 22, 0.24);
}

/* Ajustes de robustez y accesibilidad */
.menu-toggle span {
  left: 13px;
  transform-origin: center;
}

@media (max-width: 960px) {
  .site-nav {
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.faq-item h3 {
  margin: 0;
}

.form-check {
  flex-wrap: wrap;
}

.form-check .field-error {
  flex: 0 0 100%;
  margin-top: 0;
  margin-left: 29px;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}


/* v1.3.0 responsive refinements */
@media (max-width: 960px) {
  .process-grid-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-family-card h3 { white-space: normal; }
  .partner-mark-logos { min-height: 260px; }
}

@media (max-width: 680px) {
  .process-grid-five { grid-template-columns: 1fr; }
  .compare-code-copy { top: 18px; max-width: 46%; }
  .compare-code-left { left: 18px; }
  .compare-code-right { right: 18px; }
  .compare-code-copy strong { font-size: 0.62rem; letter-spacing: 0.08em; }
  .compare-code-copy span { display: none; }
  .compare-scale { right: 18px; bottom: 20px; font-size: 0.58rem; }
  .compare-scale i { height: 86px; width: 10px; }
  .partner-links { gap: 12px; }
  .partner-logo-link { min-height: 56px; padding: 9px 13px; }
  .partner-logo-link img { max-width: 125px; height: 29px; }
  .partner-logo-link.partner-logo-zeiss img { width: 40px; height: 40px; }
  .partner-links-dark .partner-logo-link { min-width: 140px; }
  .visual-mark-full { width: min(82%, 390px); }
}
