:root {
  --black: #000000;
  --surface: #050505;
  --surface-raised: #09090b;
  --white: #f4f2ef;
  --muted: #aaa7aa;
  --dim: #77747a;
  --line: rgba(244, 242, 239, 0.18);
  --line-strong: rgba(244, 242, 239, 0.32);
  --yellow: #f2d300;
  --violet: #aa70ff;
  --green: #31d158;
  --sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --shell: min(1440px, calc(100vw - 7rem));
  --section-space: clamp(7rem, 10vw, 11rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img,
video,
svg {
  display: block;
}

img,
video {
  max-width: 100%;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

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

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

::selection {
  background: var(--violet);
  color: var(--black);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--black);
  transition: transform 180ms ease;
}

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

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 1.35rem;
  left: 50%;
  width: min(970px, calc(100vw - 2rem));
  transform: translateX(-50%);
  transition: transform 400ms var(--ease), opacity 300ms ease;
}

.floating-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 70px;
  padding: 0.55rem 0.65rem 0.55rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.58);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.site-header.is-scrolled .floating-nav {
  background: rgba(0, 0, 0, 0.82);
  border-color: rgba(244, 242, 239, 0.24);
}

.nav-brand {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
}

.nav-brand svg {
  width: 44px;
  height: 44px;
}

.nav-brand circle {
  fill: rgba(255, 255, 255, 0.02);
  stroke: var(--line-strong);
}

.nav-brand path {
  fill: var(--white);
  transform-origin: center;
  transition: transform 500ms var(--ease), fill 250ms ease;
}

.nav-brand:hover path {
  fill: var(--yellow);
  transform: rotate(45deg) scale(0.88);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.3vw, 2.45rem);
  padding-inline: 1.5rem;
}

.nav-links a {
  position: relative;
  padding-block: 0.65rem;
  color: #d7d4d4;
  font-size: 0.87rem;
  font-weight: 400;
  white-space: nowrap;
}

.nav-links a::after {
  position: absolute;
  bottom: 0.28rem;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--violet);
  transition: transform 350ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0 1.1rem;
  border: 1px solid rgba(242, 211, 0, 0.72);
  border-radius: 10px;
  color: var(--yellow);
  font-size: 0.88rem;
  font-weight: 400;
  white-space: nowrap;
  transition: background 250ms ease, color 250ms ease, transform 250ms var(--ease);
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--yellow);
  color: var(--black);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 7.5rem;
  padding-bottom: 5.2rem;
  pointer-events: none;
}

.hero-content > * {
  pointer-events: auto;
}

.eyebrow,
.section-label {
  margin: 0 0 1.7rem;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--white);
  text-shadow: 0 2px 18px var(--black);
}

.eyebrow span {
  margin-inline: 0.65rem;
  color: var(--yellow);
}

.hero h1 {
  margin: 0;
  max-width: 53vw;
  font-size: clamp(4.7rem, 7.25vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.86;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.84);
}

.dynamic-line {
  margin: 1.5rem 0 0;
  color: #e4e1e1;
  font-size: clamp(0.92rem, 1.18vw, 1.14rem);
  font-weight: 400;
  text-shadow: 0 2px 18px var(--black);
}

.dynamic-role {
  display: inline-block;
  min-width: 14rem;
  color: var(--violet);
  transition: opacity 240ms ease, transform 240ms var(--ease);
}

.dynamic-role.is-changing {
  opacity: 0;
  transform: translateY(7px);
}

.hero-rule {
  width: 48px;
  height: 2px;
  margin: 2.15rem 0 2.2rem;
  background: var(--yellow);
  box-shadow: 0 0 20px rgba(242, 211, 0, 0.18);
}

.hero-statement {
  max-width: 610px;
  margin: 0;
  font-size: clamp(2.65rem, 3.55vw, 4.35rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-shadow: 0 3px 30px var(--black);
}

em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-statement em {
  display: block;
  font-size: 1.15em;
  line-height: 0.88;
}

.hero-description {
  max-width: 575px;
  margin: 1.65rem 0 0;
  color: #d5d2d2;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.55;
  text-shadow: 0 3px 22px var(--black);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 58px;
  padding-inline: 1.5rem;
  border: 1px solid;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  transition: background 250ms ease, border-color 250ms ease, color 250ms ease, transform 250ms var(--ease);
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(0, 0, 0, 0.52);
}

.button-primary:hover {
  background: var(--yellow);
  color: var(--black);
}

.button-secondary {
  border-color: rgba(170, 112, 255, 0.8);
  color: #cdafff;
  background: rgba(0, 0, 0, 0.52);
}

.button-secondary:hover {
  background: var(--violet);
  color: var(--black);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 2.8rem;
  bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #d8d4d8;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-cue .icon {
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

.section {
  position: relative;
  padding-block: var(--section-space);
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.section-intro h2 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(3.2rem, 5.15vw, 6.2rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-intro h2 em {
  font-size: 1.04em;
}

.section-copy {
  max-width: 680px;
  margin: 1.55rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.6;
}

.benefits-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.benefits-visual {
  position: relative;
  margin: 0;
}

.benefits-visual::after {
  position: absolute;
  right: 2%;
  bottom: 8%;
  width: 36%;
  height: 1px;
  content: "";
  background: var(--violet);
  box-shadow: 0 0 18px rgba(170, 112, 255, 0.58);
}

.benefits-visual img {
  width: 100%;
  height: auto;
  filter: saturate(0.82) contrast(1.06);
}

.benefits-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefit-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 58px 1fr;
  align-items: center;
  min-height: 154px;
  gap: 1.2rem;
  padding: 1.8rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 350ms ease, border-color 350ms ease;
}

.benefit-row::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 2px;
  height: calc(100% + 2px);
  content: "";
  transform: scaleY(0);
  background: var(--violet);
  transition: transform 350ms var(--ease);
}

.benefit-row:hover {
  background: var(--surface-raised);
  border-color: rgba(170, 112, 255, 0.32);
}

.benefit-row:hover::before {
  transform: scaleY(1);
}

.item-number,
.service-number {
  color: var(--yellow);
  font-family: var(--serif);
  font-size: 2.55rem;
  line-height: 1;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.benefit-row h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.benefit-row p {
  margin: 0.48rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.benefit-row strong {
  color: var(--white);
  font-weight: 500;
}

.services {
  background: #020202;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.6fr);
  align-items: end;
  gap: 4rem;
}

.services-intro .section-label {
  grid-column: 1 / -1;
  margin-bottom: -2rem;
}

.services-intro .section-copy {
  margin: 0 0 0.4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(410px, auto) minmax(410px, auto);
  gap: 1rem;
  margin-top: clamp(4rem, 6.5vw, 6.5rem);
}

.service-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(1.6rem, 2.1vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 350ms ease, transform 450ms var(--ease), background 350ms ease;
}

.service-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--violet);
  transition: transform 450ms var(--ease);
}

.service-card:nth-child(odd)::after {
  background: var(--yellow);
}

.service-card:hover {
  z-index: 2;
  transform: translateY(-7px);
  border-color: rgba(170, 112, 255, 0.5);
  background: #080809;
}

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

.service-01 { grid-column: 1 / 5; grid-row: 1; }
.service-02 { grid-column: 1 / 5; grid-row: 2; }
.service-03 { grid-column: 5 / 9; grid-row: 1 / 3; }
.service-04 { grid-column: 9 / 13; grid-row: 1; }
.service-05 { grid-column: 9 / 13; grid-row: 2; }

.service-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.45rem;
}

.service-topline::after {
  position: absolute;
  top: 5.7rem;
  left: clamp(1.6rem, 2.1vw, 2.2rem);
  width: 34px;
  height: 2px;
  content: "";
  background: currentColor;
}

.service-icon {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.1;
}

.service-card:nth-child(odd) .service-icon,
.service-card:nth-child(odd) .service-topline {
  color: var(--yellow);
}

.service-card:nth-child(even) .service-icon,
.service-card:nth-child(even) .service-topline,
.service-03 .service-icon,
.service-03 .service-topline {
  color: var(--violet);
}

.service-card h3 {
  max-width: 12ch;
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.service-card > p:not(.service-metric) {
  margin: 0;
  color: #c0bdc0;
  font-size: 0.96rem;
  line-height: 1.55;
}

.service-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 1.15rem 0 1.5rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.38;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 1rem;
}

.service-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--violet);
}

.service-metric {
  margin: auto 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--yellow);
  font-size: 0.84rem;
  font-weight: 400;
}

.service-card:nth-child(even) .service-metric,
.service-03 .service-metric {
  color: var(--violet);
}

.service-visual {
  position: relative;
  min-height: 260px;
  margin: 1.2rem -0.5rem 0.6rem;
  overflow: hidden;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.82) contrast(1.06);
  transition: transform 700ms var(--ease);
}

.service-03:hover .service-visual img {
  transform: scale(1.035) translateY(-4px);
}

.cases-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.6fr);
  align-items: end;
  gap: 4rem;
}

.cases-intro .section-label {
  grid-column: 1 / -1;
  margin-bottom: -2rem;
}

.cases-intro .section-copy {
  margin: 0 0 0.45rem;
}

.case-list {
  margin-top: clamp(4rem, 6vw, 6rem);
  border-top: 1px solid var(--line-strong);
}

.case-row {
  display: grid;
  grid-template-columns: 116px minmax(180px, 1.1fr) minmax(0, 0fr) repeat(3, minmax(105px, 0.68fr)) 38px;
  align-items: stretch;
  min-height: 148px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #020202;
  transition: grid-template-columns 600ms var(--ease), min-height 600ms var(--ease), border-color 350ms ease, background 350ms ease;
}

.case-row.is-active {
  grid-template-columns: 190px minmax(190px, 1.1fr) minmax(270px, 1.75fr) repeat(3, minmax(105px, 0.68fr)) 42px;
  min-height: 220px;
  border-color: rgba(170, 112, 255, 0.72);
  background: #040405;
}

.case-row > img {
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
  transition: filter 400ms ease, transform 700ms var(--ease);
}

.case-row:hover > img,
.case-row.is-active > img {
  filter: saturate(0.95) contrast(1.05);
}

.case-row:hover > img {
  transform: scale(1.025);
}

.case-person,
.case-row blockquote,
.case-metric,
.case-toggle {
  border-left: 1px solid var(--line);
}

.case-person {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem;
}

.case-person h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.case-person p {
  margin: 0.55rem 0 0;
  color: #cecbcf;
  font-size: 0.83rem;
}

.case-person span {
  margin-top: 1rem;
  color: var(--dim);
  font-size: 0.75rem;
  line-height: 1.4;
}

.case-row blockquote {
  display: flex;
  overflow: hidden;
  align-items: center;
  margin: 0;
  padding: 1.6rem 1.9rem;
  color: #d8d4da;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.35;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 350ms ease 100ms, transform 450ms var(--ease) 100ms;
}

.case-row.is-active blockquote {
  opacity: 1;
  transform: translateX(0);
}

.case-metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.25rem;
}

.case-metric strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 2.6vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.case-metric span {
  margin-top: 0.55rem;
  color: var(--yellow);
  font-size: 0.72rem;
  line-height: 1.2;
}

.case-toggle {
  display: grid;
  cursor: pointer;
  place-items: center;
  background: transparent;
  color: #bdb9c0;
}

.case-toggle .icon {
  transition: transform 400ms var(--ease), color 250ms ease;
}

.case-row.is-active .case-toggle .icon {
  transform: rotate(180deg);
  color: var(--violet);
}

.methodology {
  background: #010101;
}

.methodology-intro h2 {
  max-width: 1250px;
}

.methodology-layout {
  display: grid;
  grid-template-columns: minmax(350px, 0.82fr) minmax(580px, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  margin-top: clamp(4rem, 6vw, 6rem);
}

.methodology-visual {
  position: relative;
  margin: 0;
}

.methodology-visual img {
  width: 100%;
  height: auto;
  filter: saturate(0.82) contrast(1.07);
}

.methodology-visual ol {
  position: absolute;
  inset: 8% auto 8% 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  color: var(--dim);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  list-style: none;
  text-transform: uppercase;
}

.methodology-visual li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.methodology-visual li::after {
  width: 42px;
  height: 1px;
  content: "";
  background: rgba(170, 112, 255, 0.52);
}

.methodology-visual li span {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.method-steps {
  border-top: 1px solid var(--line-strong);
}

.method-step {
  display: grid;
  width: 100%;
  grid-template-columns: 82px 1fr 110px 28px;
  align-items: center;
  gap: 1rem;
  min-height: 126px;
  padding: 1.25rem 1rem 1.25rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  background: transparent;
  transition: background 300ms ease, border-color 300ms ease, padding 400ms var(--ease);
}

.method-step:hover,
.method-step:focus-visible {
  padding-left: 1rem;
  border-color: rgba(170, 112, 255, 0.58);
  background: #080809;
}

.method-number {
  color: var(--white);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  transition: color 250ms ease;
}

.method-step:hover .method-number {
  color: var(--violet);
}

.method-copy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.method-copy strong {
  font-size: 1.14rem;
  font-weight: 400;
}

.method-copy small {
  max-width: 430px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.method-period {
  color: var(--dim);
  font-size: 0.76rem;
  white-space: nowrap;
}

.method-step > .icon {
  color: #c8c4ca;
  transition: color 250ms ease, transform 350ms var(--ease);
}

.method-step:hover > .icon {
  transform: rotate(90deg);
  color: var(--violet);
}

.method-dialog {
  width: min(480px, calc(100vw - 2rem));
  padding: 2.2rem;
  border: 1px solid rgba(170, 112, 255, 0.7);
  border-radius: 14px;
  background: #09090b;
  color: var(--white);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.72);
}

.method-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.method-dialog[open] {
  animation: dialog-in 350ms var(--ease) both;
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 42px;
  height: 42px;
  cursor: pointer;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  transition: border-color 250ms ease, color 250ms ease, transform 250ms var(--ease);
}

.dialog-close:hover {
  transform: rotate(90deg);
  border-color: var(--violet);
  color: var(--violet);
}

.dialog-number {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--violet);
  font-family: var(--serif);
  font-size: 3.6rem;
  line-height: 1;
}

.method-dialog h2 {
  max-width: 330px;
  margin: 0;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.dialog-period {
  margin: 0.7rem 0 0;
  color: var(--violet);
  font-size: 0.86rem;
}

.dialog-rule {
  height: 1px;
  margin: 1.6rem 0;
  background: var(--line);
}

.method-dialog > p:last-of-type {
  margin: 0 0 2rem;
  color: var(--muted);
  line-height: 1.6;
}

.method-dialog .button {
  width: 100%;
}

.conversion {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  align-items: center;
  background: var(--black);
}

.conversion-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(-1);
  object-fit: cover;
  object-position: 74% center;
}

.marquee {
  position: absolute;
  z-index: 3;
  top: 1.8rem;
  left: 0;
  width: 100%;
  overflow: hidden;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.4rem;
  color: #c5afff;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: marquee 25s linear infinite;
}

.marquee-track i {
  color: var(--yellow);
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.conversion-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 9rem 0 8rem 51%;
  text-shadow: 0 3px 28px var(--black);
}

.conversion-content > p {
  margin: 0 0 1.8rem;
  color: #e4e0e5;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.conversion-content h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.7rem, 6vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.conversion-content h2 em {
  display: block;
  font-size: 1.08em;
}

.conversion-cta {
  display: flex;
  width: min(100%, 660px);
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.7rem;
  padding-inline: 3.2rem;
  border: 2px solid var(--yellow);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background 300ms ease, color 300ms ease, transform 400ms var(--ease);
  text-shadow: none;
}

.conversion-cta .icon {
  width: 1.8rem;
  height: 1.8rem;
}

.conversion-cta:hover {
  transform: translateY(-5px);
  background: var(--yellow);
  color: var(--black);
}

.footer-strip {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 88px;
  border-top: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.4);
}

.footer-strip > * {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  color: #dedbdf;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.footer-strip > * + * {
  border-left: 1px solid var(--line);
}

.footer-strip a:hover {
  color: var(--yellow);
}

.availability {
  gap: 0.65rem;
}

.availability i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(49, 209, 88, 0.7);
  animation: status 1.7s ease-in-out infinite;
}

@keyframes status {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.72); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

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

@media (max-width: 1240px) {
  :root {
    --shell: min(1160px, calc(100vw - 3.5rem));
  }

  .hero h1 {
    max-width: 60vw;
  }

  .benefits-intro {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
    gap: 3rem;
  }

  .benefit-row {
    grid-template-columns: 52px 46px 1fr;
    padding: 1.5rem;
  }

  .benefit-icon {
    width: 42px;
    height: 42px;
  }

  .service-card h3 {
    font-size: 1.7rem;
  }

  .case-row,
  .case-row.is-active {
    grid-template-columns: 110px minmax(175px, 1fr) minmax(0, 0fr) repeat(3, minmax(92px, 0.65fr)) 36px;
  }

  .case-row.is-active {
    grid-template-columns: 160px minmax(175px, 1fr) minmax(230px, 1.45fr) repeat(3, minmax(92px, 0.65fr)) 36px;
  }

  .case-row blockquote {
    padding: 1.3rem;
    font-size: 1rem;
  }

  .case-metric {
    padding-inline: 0.8rem;
  }

  .methodology-layout {
    grid-template-columns: minmax(300px, 0.7fr) minmax(520px, 1.3fr);
    gap: 3rem;
  }
}

@media (max-width: 1020px) {
  :root {
    --shell: min(920px, calc(100vw - 3rem));
    --section-space: 7rem;
  }

  .site-header {
    width: calc(100vw - 1.5rem);
  }

  .floating-nav {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    gap: 1rem;
    padding-inline: 0.8rem;
  }

  .nav-links a {
    font-size: 0.74rem;
  }

  .hero-video {
    object-position: 56% center;
  }

  .hero h1 {
    max-width: 70vw;
  }

  .hero-statement,
  .hero-description {
    max-width: 525px;
  }

  .benefits-intro,
  .services-intro,
  .cases-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
  }

  .services-intro .section-label,
  .cases-intro .section-label {
    margin-bottom: -1rem;
  }

  .services-intro .section-copy,
  .cases-intro .section-copy {
    margin-top: 0;
  }

  .benefits-visual {
    width: min(70%, 540px);
    margin: 0 auto;
  }

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

  .service-01,
  .service-02,
  .service-03,
  .service-04,
  .service-05 {
    grid-column: auto;
    grid-row: auto;
  }

  .service-03 {
    grid-row: span 2;
  }

  .case-row,
  .case-row.is-active {
    grid-template-columns: 110px minmax(175px, 1.25fr) repeat(3, minmax(90px, 0.7fr)) 36px;
  }

  .case-row blockquote {
    display: none;
    grid-column: 2 / -1;
    grid-row: 2;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .case-row.is-active {
    min-height: 190px;
  }

  .case-row.is-active blockquote {
    display: flex;
  }

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

  .methodology-visual {
    width: min(660px, 88%);
    margin-inline: auto;
  }

  .conversion-content {
    padding-left: 44%;
  }

  .footer-strip > * {
    padding-inline: 1rem;
    font-size: 0.62rem;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100vw - 2rem);
    --section-space: 6.5rem;
  }

  .site-header {
    top: 0.75rem;
  }

  .floating-nav {
    position: relative;
    grid-template-columns: auto 1fr auto;
    min-height: 60px;
    padding: 0.4rem 0.45rem 0.4rem 0.65rem;
    border-radius: 14px;
  }

  .nav-brand,
  .nav-brand svg {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
    cursor: pointer;
    background: transparent;
  }

  .menu-toggle span:not(.sr-only) {
    width: 19px;
    height: 1px;
    background: var(--white);
    transition: transform 250ms ease, opacity 250ms ease;
  }

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

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

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

  .nav-links {
    position: absolute;
    z-index: 5;
    top: calc(100% + 0.55rem);
    right: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem;
    transform: translateY(-8px) scale(0.98);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    opacity: 0;
    background: rgba(0, 0, 0, 0.94);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(18px);
    transition: opacity 220ms ease, transform 300ms var(--ease), visibility 220ms;
  }

  .nav-links.is-open {
    visibility: visible;
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .nav-links a {
    padding: 0.95rem 0.8rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    grid-column: 3;
    grid-row: 1;
    min-height: 42px;
    padding-inline: 0.8rem;
    font-size: 0.72rem;
  }

  .nav-cta .icon {
    display: none;
  }

  .hero {
    min-height: 940px;
  }

  .hero-video {
    height: 100%;
    object-position: 64% center;
  }

  .hero-content {
    min-height: 940px;
    justify-content: flex-end;
    padding-top: 8rem;
    padding-bottom: 5.4rem;
  }

  .eyebrow {
    margin-bottom: 1.15rem;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.7rem, 17vw, 5.3rem);
  }

  .dynamic-line {
    max-width: 100%;
    margin-top: 1.15rem;
    font-size: 0.78rem;
  }

  .dynamic-role {
    min-width: 0;
  }

  .hero-rule {
    margin: 1.5rem 0;
  }

  .hero-statement {
    max-width: 95%;
    font-size: clamp(2.25rem, 10.5vw, 3.25rem);
  }

  .hero-description {
    max-width: 94%;
    margin-top: 1.2rem;
    font-size: 0.9rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.35rem;
  }

  .button {
    width: 100%;
    min-height: 54px;
  }

  .scroll-cue {
    display: none;
  }

  .section-intro h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .section-copy {
    font-size: 0.98rem;
  }

  .benefits-visual {
    width: 100%;
  }

  .benefits-index {
    grid-template-columns: 1fr;
  }

  .benefit-row {
    grid-template-columns: 48px 42px 1fr;
    min-height: 132px;
    gap: 0.8rem;
    padding: 1.25rem 1rem;
  }

  .item-number {
    font-size: 2rem;
  }

  .benefit-icon {
    width: 36px;
    height: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .service-03 {
    grid-row: auto;
  }

  .service-card {
    min-height: 0;
    padding: 1.5rem;
  }

  .service-card h3 {
    max-width: 16ch;
    font-size: 1.85rem;
  }

  .service-visual {
    min-height: 220px;
  }

  .case-list {
    border-top: 0;
  }

  .case-row,
  .case-row.is-active {
    display: grid;
    grid-template-columns: 88px 1fr 42px;
    min-height: 0;
    margin-bottom: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .case-row.is-active {
    border-color: rgba(170, 112, 255, 0.72);
  }

  .case-row > img {
    grid-column: 1;
    grid-row: 1;
    min-height: 112px;
  }

  .case-person {
    grid-column: 2;
    grid-row: 1;
    padding: 1rem;
  }

  .case-person h3 {
    font-size: 1.22rem;
  }

  .case-person p {
    font-size: 0.75rem;
  }

  .case-person span {
    margin-top: 0.6rem;
    font-size: 0.66rem;
  }

  .case-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .case-row blockquote,
  .case-row.is-active blockquote {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: 1.1rem;
  }

  .case-metric {
    display: none;
    grid-row: 3;
    padding: 1rem 0.65rem;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .case-row.is-active .case-metric {
    display: flex;
  }

  .case-row.is-active .case-metric:nth-of-type(1) { grid-column: 1; }
  .case-row.is-active .case-metric:nth-of-type(2) { grid-column: 2; }
  .case-row.is-active .case-metric:nth-of-type(3) { grid-column: 3; }

  .case-metric strong {
    font-size: 1.65rem;
  }

  .case-metric span {
    font-size: 0.58rem;
  }

  .methodology-visual {
    width: 100%;
  }

  .methodology-visual ol {
    display: none;
  }

  .method-step {
    grid-template-columns: 58px 1fr 26px;
    min-height: 112px;
    gap: 0.8rem;
    padding-right: 0;
  }

  .method-number {
    font-size: 2.35rem;
  }

  .method-period {
    grid-column: 2;
    margin-top: -0.35rem;
    color: var(--violet);
  }

  .method-step > .icon {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .conversion {
    min-height: 960px;
    align-items: flex-end;
  }

  .conversion-video {
    object-position: 68% center;
  }

  .marquee {
    top: 0.8rem;
  }

  .conversion-content {
    width: var(--shell);
    align-items: stretch;
    padding: 8rem 0 12rem;
  }

  .conversion-content > p {
    font-size: 0.86rem;
  }

  .conversion-content h2 {
    max-width: 100%;
    font-size: clamp(3.4rem, 15vw, 5rem);
  }

  .conversion-cta {
    min-height: 76px;
    padding-inline: 1.6rem;
    font-size: 0.78rem;
  }

  .footer-strip {
    grid-template-columns: 1fr;
    min-height: 0;
    background: rgba(0, 0, 0, 0.62);
  }

  .footer-strip > * {
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 0.58rem;
  }

  .footer-strip > * + * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 430px) {
  .nav-cta {
    padding-inline: 0.62rem;
    font-size: 0.66rem;
  }

  .hero h1 {
    font-size: 3.65rem;
  }

  .dynamic-line {
    display: grid;
    gap: 0.2rem;
  }

  .benefit-row {
    grid-template-columns: 42px 1fr;
  }

  .benefit-icon {
    display: none;
  }

  .service-card h3 {
    font-size: 1.68rem;
  }

  .case-row,
  .case-row.is-active {
    grid-template-columns: 76px 1fr 38px;
  }

  .case-row > img {
    min-height: 106px;
  }

  .case-person {
    padding: 0.85rem;
  }

  .case-person span {
    font-size: 0.6rem;
  }

  .case-metric strong {
    font-size: 1.38rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

/* Ajustes de composición v.2 */
.nav-cta,
.button,
.conversion-cta {
  border-radius: 26px;
}

.service-card {
  --service-art: none;
  isolation: isolate;
}

.service-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(4, 4, 5, 0.7), rgba(4, 4, 5, 0.88)),
    var(--service-art);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, 86% auto;
  opacity: 0.38;
  filter: saturate(0.75) contrast(1.08);
  transition: opacity 450ms ease, transform 700ms var(--ease);
}

.service-card:hover::before {
  opacity: 0.52;
  transform: scale(1.035);
}

.service-card::after {
  z-index: 3;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-01 { --service-art: url("../assets/details/pilar-estrategia.webp"); }
.service-02 { --service-art: url("../assets/details/pilar-automatizacion.webp"); }
.service-03 { --service-art: url("../assets/details/pilar-crecimiento.webp"); }
.service-04 { --service-art: url("../assets/details/pilar-atencion.webp"); }
.service-05 { --service-art: url("../assets/details/pilar-inteligencia.webp"); }

.service-03::before {
  opacity: 0.2;
}

.case-chevron {
  display: none;
}

.case-toggle .case-plus {
  transition: color 250ms ease, transform 300ms var(--ease);
}

.case-row.is-active .case-toggle .case-plus {
  transform: none;
  color: var(--violet);
}

.method-dialog {
  width: min(600px, calc(100vw - 2rem));
}

.marquee {
  position: relative;
  z-index: 4;
  width: 100%;
  overflow: hidden;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #050506;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  color: #c5afff;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: marquee 22s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  min-width: 100vw;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: 1.4rem;
  padding-inline: 2rem;
}

.marquee-track i {
  flex: 0 0 auto;
  color: var(--yellow);
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.conversion {
  display: block;
  min-height: 100svh;
  overflow: hidden;
  background: var(--black);
}

.conversion-main {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  min-height: calc(100svh - 88px);
}

.conversion-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid var(--line-strong);
}

.conversion-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  object-fit: cover;
  object-position: 64% center;
}

.conversion-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 760px;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  padding: clamp(4rem, 7vw, 7rem);
  text-shadow: none;
}

.conversion-content h2 {
  font-size: clamp(3.5rem, 5.5vw, 6.5rem);
}

.conversion-cta {
  width: min(100%, 590px);
  min-height: 82px;
  padding-inline: 2.5rem;
}

.footer-strip {
  position: static;
  min-height: 88px;
  background: #030304;
}

@media (min-width: 1021px) {
  .hero-content {
    isolation: isolate;
  }

  .hero-content > *:not(.hero-video) {
    position: relative;
    z-index: 2;
  }

  .hero-video {
    position: absolute;
    z-index: 0;
    top: 0;
    right: calc((100vw - var(--shell)) / -2);
    width: 59vw;
    height: 100%;
    pointer-events: none;
    object-fit: cover;
    object-position: 66% center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 23%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 23%, #000 100%);
  }

  .hero-content::after {
    position: absolute;
    z-index: 1;
    top: 0;
    right: calc((100vw - var(--shell)) / -2);
    width: 61vw;
    height: 100%;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, var(--black) 0, rgba(0, 0, 0, 0.5) 20%, transparent 48%);
  }

  .hero h1 {
    max-width: 54%;
    font-size: clamp(4.7rem, 6.9vw, 7.6rem);
    white-space: nowrap;
  }

  .hero-statement {
    max-width: 48%;
    font-size: clamp(2.5rem, 3.25vw, 3.9rem);
  }

  .hero-description {
    max-width: 46%;
  }

  .section {
    min-height: 100svh;
    padding-top: clamp(3.7rem, 5.2vh, 4.8rem);
    padding-bottom: clamp(4.5rem, 6.2vh, 5.8rem);
  }

  .section-intro h2 {
    font-size: clamp(3rem, 4.65vw, 5.4rem);
  }

  .benefits-intro {
    grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.72fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .benefits-visual {
    width: min(100%, 440px);
    justify-self: end;
  }

  .benefits-index {
    margin-top: clamp(2rem, 3.5vh, 2.8rem);
  }

  .benefit-row {
    min-height: 116px;
    padding: 1.25rem 1.5rem;
  }

  .services-intro,
  .cases-intro {
    gap: 3rem;
  }

  .services-intro .section-label,
  .cases-intro .section-label {
    margin-bottom: -1.25rem;
  }

  .services-grid {
    grid-template-rows: repeat(2, minmax(290px, auto));
    gap: 0.8rem;
    margin-top: clamp(2rem, 3.8vh, 2.8rem);
  }

  .service-card {
    padding: clamp(1.3rem, 1.55vw, 1.7rem);
  }

  .service-topline {
    margin-bottom: 1rem;
  }

  .service-topline::after {
    top: 4.55rem;
    left: clamp(1.3rem, 1.55vw, 1.7rem);
  }

  .service-icon {
    width: 43px;
    height: 43px;
  }

  .service-card h3 {
    margin-bottom: 0.7rem;
    font-size: clamp(1.4rem, 1.75vw, 1.88rem);
  }

  .service-card > p:not(.service-metric) {
    font-size: 0.86rem;
    line-height: 1.43;
  }

  .service-card ul {
    gap: 0.32rem;
    margin: 0.8rem 0 1rem;
    font-size: 0.74rem;
  }

  .service-metric {
    padding-top: 0.75rem;
    font-size: 0.76rem;
  }

  .service-visual {
    min-height: 160px;
    margin: 0.75rem -0.35rem 0.35rem;
  }

  .case-list {
    margin-top: clamp(2rem, 3.8vh, 2.8rem);
  }

  .case-row {
    min-height: 104px;
  }

  .case-row.is-active {
    min-height: 174px;
  }

  .case-row > img {
    min-height: 104px;
  }

  .case-person {
    padding: 1rem 1.2rem;
  }

  .case-person span {
    margin-top: 0.65rem;
  }

  .case-row blockquote {
    padding: 1.2rem 1.45rem;
    font-size: 1.02rem;
  }

  .case-metric {
    padding: 0.8rem 1rem;
  }

  .case-metric strong {
    font-size: clamp(1.75rem, 2.2vw, 2.55rem);
  }

  .methodology-layout {
    grid-template-columns: minmax(500px, 1.08fr) minmax(520px, 0.92fr);
    gap: clamp(2.5rem, 4.5vw, 5rem);
    margin-top: clamp(2rem, 3.8vh, 2.8rem);
  }

  .methodology-visual {
    width: 108%;
    margin-left: -8%;
  }

  .methodology-visual ol {
    inset: 5% auto 5% 0;
    font-size: 0.76rem;
  }

  .methodology-visual li span {
    font-size: 1.55rem;
  }

  .method-step {
    grid-template-columns: 68px 1fr 95px 26px;
    min-height: 94px;
    padding-block: 0.85rem;
  }

  .method-number {
    font-size: 2.55rem;
  }

  .method-copy strong {
    font-size: 1.02rem;
  }

  .method-copy small {
    font-size: 0.76rem;
  }
}

@media (max-width: 760px) {
  .case-plus {
    display: none;
  }

  .case-chevron {
    display: block;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    min-height: 0;
    justify-content: flex-start;
    padding-top: 7.2rem;
    padding-bottom: 4.8rem;
  }

  .hero-video {
    position: relative;
    inset: auto;
    width: 100vw;
    height: clamp(235px, 64vw, 360px);
    margin: 1.4rem calc(50% - 50vw) 1.2rem;
    object-fit: cover;
    object-position: 67% center;
  }

  .dynamic-line {
    margin-top: 0;
  }

  .conversion {
    min-height: 0;
  }

  .conversion-main {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .conversion-content {
    order: 1;
    width: var(--shell);
    max-width: none;
    align-items: stretch;
    margin-inline: auto;
    padding: 5.5rem 0 4.25rem;
  }

  .conversion-media {
    order: 2;
    width: 100%;
    min-height: 64svh;
    border-top: 1px solid var(--line-strong);
    border-right: 0;
  }

  .conversion-video {
    position: absolute;
    object-position: 66% center;
  }

  .marquee {
    padding-block: 0.85rem;
  }

  .marquee-group {
    min-width: 165vw;
    gap: 1rem;
    padding-inline: 1rem;
  }

  .footer-strip {
    position: static;
  }
}
/* Correcciones posteriores a la comprobación visual */
@media (min-width: 1021px) {
  .hero-video {
    right: calc((100vw - var(--shell)) / -2);
    bottom: auto;
    left: auto;
  }
}

@media (max-width: 760px) {
  .floating-nav {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .nav-cta {
    grid-column: 4;
    grid-row: 1;
    max-width: 112px;
    min-width: 0;
    justify-content: center;
    padding-inline: 0.6rem;
    overflow: hidden;
    font-size: 0.62rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.15rem, 13.8vw, 3.45rem);
    letter-spacing: -0.075em;
  }
}
/* Compactación final de secciones de escritorio */
@media (min-width: 1021px) {
  .services,
  .cases,
  .methodology {
    padding-top: 3rem;
    padding-bottom: 3.25rem;
  }

  .services-grid {
    grid-template-rows: repeat(2, minmax(260px, auto));
    margin-top: 1.8rem;
  }

  .service-card {
    padding: 1rem;
  }

  .service-topline {
    margin-bottom: 0.55rem;
  }

  .service-topline::after {
    top: 3.75rem;
    left: 1rem;
  }

  .service-icon {
    width: 36px;
    height: 36px;
  }

  .service-card h3 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.3rem, 1.55vw, 1.65rem);
  }

  .service-card > p:not(.service-metric) {
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .service-card ul {
    gap: 0.22rem;
    margin: 0.55rem 0 0.65rem;
    font-size: 0.68rem;
    line-height: 1.32;
  }

  .service-metric {
    padding-top: 0.55rem;
    font-size: 0.7rem;
  }

  .service-visual {
    min-height: 125px;
    margin: 0.55rem -0.2rem 0.2rem;
  }

  .case-list {
    margin-top: 1.75rem;
  }

  .case-row:not(.is-active) blockquote {
    display: none;
  }

  .methodology-layout {
    margin-top: 1.5rem;
  }

  .method-step {
    min-height: 86px;
    padding-block: 0.7rem;
  }
}
@media (max-width: 760px) {
  .floating-nav {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    grid-column: 3;
  }

  .nav-cta {
    display: none;
  }
}
/* Correcciones solicitadas: casos, beneficios y servicios */
.service-card::before {
  background-image:
    linear-gradient(180deg, rgba(4, 4, 5, 0.28), rgba(4, 4, 5, 0.64)),
    var(--service-art);
  background-size: cover, 92% auto;
  opacity: 0.82;
}

.service-card:hover::before {
  opacity: 1;
}

.service-03::before {
  opacity: 0.48;
}

.service-topline::after {
  display: none;
}

.service-card > .service-integration {
  margin-bottom: 0.5rem;
  color: #c6adf1;
  font-size: 0.68rem;
  line-height: 1.35;
}

.service-integration strong {
  color: var(--white);
  font-weight: 500;
}

.service-detail {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.65rem;
  padding-inline: 0.9rem;
  border: 1px solid rgba(170, 112, 255, 0.6);
  border-radius: 26px;
  color: #d4bfff;
  background: rgba(0, 0, 0, 0.54);
  cursor: pointer;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms var(--ease);
}

.service-detail .icon {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
}

.service-detail:hover,
.service-detail:focus-visible {
  transform: translateY(-2px);
  border-color: var(--violet);
  background: var(--violet);
  color: var(--black);
}

.case-toggle .icon {
  display: none !important;
}

.case-toggle::before {
  content: "+";
  color: #d5d0d7;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
}

.case-row.is-active .case-toggle::before {
  content: "−";
  color: var(--violet);
}

.service-dialog {
  width: min(680px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 2.4rem;
  border: 1px solid rgba(170, 112, 255, 0.7);
  border-radius: 20px;
  background: #09090b;
  color: var(--white);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.72);
}

.service-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.service-dialog[open] {
  animation: dialog-in 350ms var(--ease) both;
}

.service-dialog-kicker {
  margin: 0 0 0.8rem;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.service-dialog h2 {
  max-width: 560px;
  margin: 0;
  padding-right: 3rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.service-dialog-integration {
  max-width: 580px;
  margin: 1rem 0 0;
  color: #c6adf1;
  font-size: 0.92rem;
  line-height: 1.5;
}

.service-dialog-description {
  margin: 0;
  color: #d4d0d6;
  line-height: 1.65;
}

.service-dialog-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.35rem 0 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.5;
  list-style: none;
}

.service-dialog-list li {
  position: relative;
  padding-left: 1.15rem;
}

.service-dialog-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--violet);
}

.service-dialog-metric {
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--yellow);
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-dialog .button {
  width: 100%;
}

@media (min-width: 1021px) {
  .benefits-intro {
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
    gap: clamp(2.5rem, 4vw, 4rem);
  }

  .benefits-visual {
    width: min(100%, 540px);
  }

  .benefit-row {
    min-height: 105px;
    padding-block: 1rem;
  }

  .case-row > img {
    grid-column: 1;
  }

  .case-person {
    grid-column: 2;
  }

  .case-row blockquote {
    grid-column: 3;
  }

  .case-row .case-metric:nth-of-type(2) {
    grid-column: 4;
  }

  .case-row .case-metric:nth-of-type(3) {
    grid-column: 5;
  }

  .case-row .case-metric:nth-of-type(4) {
    grid-column: 6;
  }

  .case-toggle {
    grid-column: 7;
  }

  .case-metric span {
    max-width: 12ch;
    font-size: 0.64rem;
  }

  .service-card h3 {
    max-width: 15ch;
    font-size: clamp(1.2rem, 1.42vw, 1.52rem);
  }

  .service-card > p:not(.service-metric) {
    font-size: 0.74rem;
    line-height: 1.34;
  }

  .service-metric {
    font-size: 0.66rem;
    line-height: 1.35;
  }

  .service-visual {
    min-height: 105px;
  }
}

@media (max-width: 760px) {
  .service-dialog {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .service-dialog h2 {
    padding-right: 2.5rem;
  }

  .service-dialog .button {
    min-height: 58px;
    gap: 1rem;
    text-align: left;
  }

  .service-card > .service-integration {
    font-size: 0.74rem;
  }

  .service-detail {
    min-height: 46px;
    font-size: 0.7rem;
  }
}
@media (max-width: 760px) {
  .hero h1,
  .hero-statement {
    text-shadow: 0 0 4px #000, 0 3px 24px #000, 0 0 54px #000;
  }

  .dynamic-line,
  .hero-description {
    text-shadow: 0 0 4px #000, 0 2px 16px #000, 0 0 40px #000;
  }

  .hero-description {
    color: var(--white);
  }

  .cases-intro h2 {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .case-row.is-active .case-metric {
    grid-column: 1 / -1 !important;
    width: 33.333%;
  }

  .case-row.is-active .case-metric:nth-of-type(2) {
    justify-self: start;
  }

  .case-row.is-active .case-metric:nth-of-type(3) {
    justify-self: center;
  }

  .case-row.is-active .case-metric:nth-of-type(4) {
    justify-self: end;
  }
}


/* El CTA final conserva su silueta de pildora en todos los tamanos. */
.conversion-cta {
  border-radius: 999px;
}

/* Tablet: el contenido principal adopta la composición móvil antes de superponerse al video. */
@media (min-width: 761px) and (max-width: 1020px) {
  .hero {
    min-height: 0;
  }

  .hero-content {
    min-height: 0;
    justify-content: flex-start;
    padding-top: 7.2rem;
    padding-bottom: 5.2rem;
  }

  .hero-video {
    position: relative;
    inset: auto;
    width: 100vw;
    height: clamp(280px, 52vw, 460px);
    margin: 1.4rem calc(50% - 50vw) 1.2rem;
    object-fit: cover;
    object-position: 67% center;
  }

  .hero h1 {
    max-width: 100%;
    white-space: normal;
  }

  .dynamic-line {
    margin-top: 0;
  }

  .hero h1,
  .hero-statement {
    text-shadow: 0 0 4px #000, 0 3px 24px #000, 0 0 54px #000;
  }

  .dynamic-line,
  .hero-description {
    text-shadow: 0 0 4px #000, 0 2px 16px #000, 0 0 40px #000;
  }

  .hero-description {
    color: var(--white);
  }
}

/* Celular: secuencia numérica correcta e indicadores de avance visibles. */
@media (max-width: 760px) {
  .benefits-index .benefit-row:nth-child(1) { order: 1; }
  .benefits-index .benefit-row:nth-child(2) { order: 4; }
  .benefits-index .benefit-row:nth-child(3) { order: 2; }
  .benefits-index .benefit-row:nth-child(4) { order: 5; }
  .benefits-index .benefit-row:nth-child(5) { order: 3; }
  .benefits-index .benefit-row:nth-child(6) { order: 6; }

  .scroll-cue {
    display: flex;
    right: 1rem;
    bottom: 1.1rem;
  }
}
.benefits-visual picture,
.methodology-visual picture {
  display: block;
}

@media (max-width: 1020px) {
  .service-01 { --service-art: url("../assets/details/pilar-estrategia-mobile.webp"); }
  .service-02 { --service-art: url("../assets/details/pilar-automatizacion-mobile.webp"); }
  .service-03 { --service-art: url("../assets/details/pilar-crecimiento-mobile.webp"); }
  .service-04 { --service-art: url("../assets/details/pilar-atencion-mobile.webp"); }
  .service-05 { --service-art: url("../assets/details/pilar-inteligencia-mobile.webp"); }

  .service-card::before {
    background-image: linear-gradient(180deg, rgba(4, 4, 5, 0.28), rgba(4, 4, 5, 0.64));
  }

  .services.media-ready .service-card::before {
    background-image:
      linear-gradient(180deg, rgba(4, 4, 5, 0.28), rgba(4, 4, 5, 0.64)),
      var(--service-art);
  }
}