:root {
  --ink: #363638;
  --paper: #f5f4f2;
  --lime: #f05a3f;
  --green: #d9472f;
  --muted: #7b7b7d;
  --line: #d8d6d3;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html {
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.site-header {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid #e8e5e1;
  position: sticky;
  top: 0;
  transition: box-shadow .35s ease, background-color .35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(35, 35, 36, .1);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 0;
}

.brand img {
  display: block;
  width: 226px;
  height: auto;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  filter: blur(4px);
  transition:
    opacity .8s var(--ease-out),
    transform .8s var(--ease-out),
    filter .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready .reveal.reveal-left {
  transform: translate3d(-42px, 0, 0);
}

.motion-ready .reveal.reveal-scale {
  transform: translate3d(0, 24px, 0) scale(.97);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.hero-copy,
.hero-visual,
.orb {
  will-change: transform;
}

.employee-card,
.problem-grid article,
.case {
  transition:
    transform .45s var(--ease-out),
    box-shadow .45s var(--ease-out),
    border-color .3s ease;
}

@media (hover: hover) {
  .employee-card:hover,
  .problem-grid article:hover,
  .case:hover {
    transform: translateY(-7px);
  }

  .employee-card:hover {
    box-shadow: 0 22px 50px rgba(25, 25, 25, .2);
    border-color: rgba(240, 90, 63, .72);
  }

  .case:hover {
    box-shadow: 0 20px 42px rgba(35, 35, 35, .13);
  }
}

.button-primary,
.button-small {
  color: var(--ink);
}

.digital-core {
  color: var(--ink);
  box-shadow: 0 0 0 20px rgba(240, 90, 63, .11), 0 0 0 55px rgba(240, 90, 63, .05);
}

.node {
  background: #454547;
  border-color: #676769;
}

.node small,
.hero-proof p,
.wide > p:last-child,
.employee-card ul,
.roi-copy > p:not(.eyebrow),
.contact-copy > p:not(.eyebrow) {
  color: #c7c7c8;
}

.hero-text,
.eyebrow,
.roi-result small,
.roi-result p {
  color: #c2c2c4;
}

.text-link {
  border-color: #858587;
}

.problem-grid p,
.steps p,
.cases-heading > p:last-child,
details p {
  color: #69696b;
}

.roi-note {
  color: #9c9c9e;
}

.contact-form input:not([type=checkbox]),
.contact-form select,
.contact-form textarea {
  border-color: #c7c5c2;
}

.signal {
  border-color: #777779;
}

.signal-b {
  border-color: #555557;
}

.orb-one {
  background: #a9412f;
}

.orb-two {
  background: #6a6664;
}

.trust {
  color: var(--ink);
}

.trust i {
  background: var(--ink);
}

.employee-grid {
  border-color: #5c5c5e;
}

.employee-card {
  border-color: #5c5c5e;
}

.employee-icon {
  background: #505052;
}

.featured .employee-icon {
  background: #fff;
  color: var(--green);
}

.employee-card.featured,
.employee-card.featured ul,
.employee-card.featured > p,
.employee-card.featured a span {
  color: var(--ink);
}

.cases {
  background: #ebe9e6;
}

.case-large {
  background: #ffd8ce;
}

.case-dark {
  background: #48484a;
}

.case-lime {
  color: var(--ink);
}

.metric b {
  color: var(--green);
}

.mini-flow span {
  border-color: #777779;
}

.calculator {
  background: #464648;
}

.calculator label {
  border-color: #68686a;
}

.training {
  background: #f3e7e3;
}

.training p:not(.eyebrow) {
  color: #645f5d;
}

.text-link.dark {
  border-color: #b68d85;
}

.training-mark {
  border-color: #c9a29a;
}

footer {
  background: #29292b;
  color: #c8c8c9;
}

.footer-brand {
  width: 210px;
  background: #fff;
  padding: 2px 10px;
  border-radius: 3px;
}

.footer-brand img {
  width: 100%;
}

footer small {
  border-color: #48484a;
  color: #929294;
}

/* Capa visual tecnológica */
::selection {
  background: var(--lime);
  color: var(--ink);
}

.site-header {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.nav > a:not(.button) {
  position: relative;
  transition: color .25s ease, opacity .25s ease;
}

.nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}

.nav > a:not(.button):hover {
  color: var(--green);
}

.nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(240, 90, 63, .18);
  transition: transform .3s var(--ease-out), box-shadow .3s ease, background-color .3s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .45) 50%, transparent 75%);
  transform: translateX(-125%);
  transition: transform .65s var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(240, 90, 63, .28);
}

.button:hover::before {
  transform: translateX(125%);
}

.hero {
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 42%, rgba(240, 90, 63, .16), transparent 24%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .055), transparent 28%),
    linear-gradient(135deg, #2b2b2d 0%, #373739 55%, #29292b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hero::before,
.employee-section::before,
.roi::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .78), transparent 92%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .78), transparent 92%);
}

.employee-section,
.roi,
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(240, 90, 63, .1), transparent 24%),
    linear-gradient(145deg, #303032, #39393b 55%, #2c2c2e);
}

.employee-section > *,
.roi > *,
.contact > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 5vw, 72px);
  text-wrap: balance;
  text-shadow: 0 8px 35px rgba(0, 0, 0, .16);
}

.eyebrow {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(8px);
}

.eyebrow.green {
  border-color: rgba(240, 90, 63, .2);
  background: rgba(240, 90, 63, .07);
}

.hero-visual {
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .16));
}

.hero-text-only {
  min-height: calc(100svh - 78px);
  padding: clamp(62px, 7vh, 92px) 7vw 56px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.hero-text-only .hero-copy {
  display: flex;
  width: 100%;
  max-width: none;
  flex-direction: column;
}

.hero-text-only h1 {
  display: flex;
  max-width: none;
  flex-direction: column;
  margin: clamp(24px, 4vh, 46px) 0 50px;
  font-size: clamp(62px, 7.45vw, 126px);
  line-height: .87;
  letter-spacing: -.078em;
}

.hero-text-only h1 span,
.hero-text-only h1 em {
  display: block;
}

.hero-text-only h1 span:nth-child(2) {
  margin-left: 6vw;
}

.hero-text-only h1 em {
  align-self: flex-end;
  margin-top: .08em;
  padding-right: .05em;
}

.hero-text-footer {
  display: grid;
  grid-template-columns: minmax(320px, 680px) auto;
  gap: 60px;
  align-items: end;
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-text-footer .hero-text {
  margin-bottom: 0;
}

.hero-text-only .hero-text {
  max-width: 680px;
  color: #d1d1d3;
  font-size: clamp(17.5px, 1.55vw, 26.25px);
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: -.015em;
}

.hero-text-footer .hero-actions {
  align-items: center;
  justify-content: flex-end;
  margin: 0;
}

.hero-text-footer .hero-proof {
  margin-top: 24px;
}

.hero-image {
  isolation: isolate;
  height: 535px;
  max-width: 570px;
  margin: 0 0 0 auto;
  overflow: visible;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 13% 6% 8% 24%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(240, 90, 63, .16);
  filter: blur(55px);
}

.hero-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(.92) contrast(1.035);
  -webkit-mask-image: radial-gradient(ellipse 78% 76% at 57% 51%, #000 65%, rgba(0, 0, 0, .82) 78%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 76% at 57% 51%, #000 65%, rgba(0, 0, 0, .82) 78%, transparent 100%);
}

.hero-image .system-status {
  top: 17px;
  right: 18px;
}

.hero-image figcaption {
  position: absolute;
  right: 6px;
  bottom: 23px;
  z-index: 3;
  display: grid;
  grid-template-columns: 33px auto;
  column-gap: 10px;
  min-width: 205px;
  padding: 11px 14px 11px 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(45, 45, 47, .76);
  color: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .2);
  backdrop-filter: blur(16px);
}

.hero-image figcaption > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 9px;
  background: var(--lime);
  color: var(--ink);
}

.hero-image figcaption strong {
  align-self: end;
  font-size: 11px;
}

.hero-image figcaption small {
  align-self: start;
  color: #bfbfc1;
  font: 500 8px var(--mono);
}

.system-status {
  position: absolute;
  top: 4px;
  right: 6px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(48, 48, 50, .72);
  color: #ddd;
  font: 500 9px var(--mono);
  letter-spacing: .08em;
  backdrop-filter: blur(12px);
}

.system-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(240, 90, 63, .55);
  animation: tech-pulse 2s infinite;
}

.digital-core {
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow:
    0 0 0 20px rgba(240, 90, 63, .1),
    0 0 0 55px rgba(240, 90, 63, .045),
    0 22px 50px rgba(240, 90, 63, .2);
}

.node {
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(82, 82, 84, .96), rgba(60, 60, 62, .96));
  box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}

.trust {
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 30px rgba(240, 90, 63, .15);
}

.clients {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 8vw;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(240, 90, 63, .08), transparent 22%),
    var(--paper);
}

.clients::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(240, 90, 63, .12);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(240, 90, 63, .035),
    0 0 0 90px rgba(240, 90, 63, .02);
  pointer-events: none;
}

.clients-copy {
  position: relative;
  z-index: 1;
}

.clients-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(37px, 4.4vw, 61px);
  line-height: 1.02;
  letter-spacing: -.06em;
}

.clients-copy h2 em {
  color: var(--green);
  font-style: normal;
}

.clients-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin-bottom: 28px;
  color: #69696b;
  line-height: 1.7;
}

.client-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.client-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 108px;
  padding: 20px;
  border: 1px solid #dfdcd8;
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 12px 35px rgba(40, 40, 40, .045);
  backdrop-filter: blur(12px);
  transition:
    transform .4s var(--ease-out),
    border-color .3s ease,
    box-shadow .4s ease;
}

.client-card > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(240, 90, 63, .22);
  border-radius: 13px;
  background: rgba(240, 90, 63, .08);
  color: var(--green);
  font: 500 12px var(--mono);
}

.client-card div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.client-card small {
  color: #969294;
  font: 500 9px var(--mono);
  letter-spacing: .08em;
}

.client-card strong {
  font-size: 14px;
  letter-spacing: -.02em;
}

@media (hover: hover) {
  .client-card:hover {
    z-index: 2;
    transform: translateY(-5px);
    border-color: rgba(240, 90, 63, .38);
    box-shadow: 0 20px 45px rgba(50, 45, 43, .09);
  }
}

.problem-grid {
  gap: 18px;
}

.problem-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid #e2dfdb;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 35px rgba(40, 40, 40, .045);
  backdrop-filter: blur(10px);
}

.problem-grid article > span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(240, 90, 63, .1);
}

.employee-grid {
  gap: 14px;
  border: 0;
}

.employee-card {
  min-height: 335px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
}

.employee-card.featured {
  border-color: rgba(255, 255, 255, .35);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .25), transparent 30%),
    linear-gradient(145deg, #f36a50, #df462f);
  box-shadow: 0 20px 55px rgba(216, 71, 47, .2);
}

.employee-icon {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
}

.steps {
  border: 0;
}

.steps li {
  margin-bottom: 10px;
  padding: 22px;
  border: 1px solid #e2dfdb;
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 10px 28px rgba(40, 40, 40, .035);
}

.cases {
  background:
    radial-gradient(circle at 85% 15%, rgba(240, 90, 63, .08), transparent 26%),
    #ebe9e6;
}

.case {
  overflow: hidden;
  border: 1px solid rgba(54, 54, 56, .08);
  border-radius: 18px;
}

.case-large {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .65), transparent 25%),
    linear-gradient(145deg, #ffe2da, #ffcabd);
}

.case-dark {
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 90, 63, .16), transparent 35%),
    linear-gradient(145deg, #505052, #3d3d3f);
}

.case-lime {
  background: linear-gradient(145deg, #f36b51, #e34b33);
}

.calculator {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 90, 63, .15), transparent 36%),
    rgba(70, 70, 72, .86);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}

.roi-result {
  margin: 6px 0 20px;
  padding: 22px;
  border: 1px solid rgba(240, 90, 63, .25);
  border-radius: 14px;
  background: rgba(240, 90, 63, .07);
}

.training {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px),
    #f3e7e3;
  background-size: 40px 40px;
}

.training-mark {
  padding: 28px;
  border: 1px solid rgba(217, 71, 47, .25);
  border-radius: 18px;
  background: rgba(255, 255, 255, .46);
  box-shadow: 0 18px 45px rgba(80, 55, 50, .08);
  backdrop-filter: blur(12px);
}

.faq-list {
  border: 0;
}

details {
  margin-bottom: 10px;
  padding: 20px 22px;
  border: 1px solid #e1dfdc;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  transition: border-color .3s ease, box-shadow .3s ease;
}

details[open] {
  border-color: rgba(240, 90, 63, .35);
  box-shadow: 0 12px 32px rgba(45, 45, 45, .06);
}

summary span {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(240, 90, 63, .09);
}

.contact-form {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, .2);
}

.contact-form input:not([type=checkbox]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--lime);
}

footer {
  border-top: 3px solid var(--lime);
}

@keyframes tech-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 90, 63, .5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(240, 90, 63, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 90, 63, 0);
  }
}

.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;
}

.ai-diagnosis {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 7vw;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 35%, rgba(240, 90, 63, .15), transparent 28%),
    linear-gradient(145deg, #2e2e30, #3a3a3c 55%, #2a2a2c);
}

.ai-diagnosis::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .7), transparent 78%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .7), transparent 78%);
}

.ai-diagnosis-copy h2 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(38px, 4.4vw, 61px);
  line-height: 1.02;
  letter-spacing: -.06em;
}

.ai-diagnosis-copy > p:not(.eyebrow):not(.diagnosis-disclaimer) {
  max-width: 540px;
  color: #c7c7c8;
  line-height: 1.72;
}

.diagnosis-benefits {
  display: grid;
  gap: 10px;
  max-width: 540px;
  padding: 0;
  margin: 34px 0;
  list-style: none;
}

.diagnosis-benefits li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  color: #e5e5e5;
  font-size: 13px;
}

.diagnosis-benefits span {
  color: var(--lime);
  font: 500 10px var(--mono);
}

.diagnosis-disclaimer {
  max-width: 530px;
  color: #9e9ea0;
  font-size: 10px;
  line-height: 1.6;
}

.diagnosis-chat {
  display: flex;
  min-height: 650px;
  max-height: 750px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: rgba(250, 249, 247, .97);
  color: var(--ink);
  box-shadow: 0 35px 80px rgba(0, 0, 0, .26);
  backdrop-filter: blur(20px);
}

.diagnosis-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e2df;
  background: rgba(255, 255, 255, .84);
}

.diagnosis-agent {
  display: flex;
  align-items: center;
  gap: 11px;
}

.diagnosis-agent-mark,
.chat-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(240, 90, 63, .24);
}

.diagnosis-agent div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.diagnosis-agent strong {
  font-size: 12px;
}

.diagnosis-agent small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #868688;
  font: 500 9px var(--mono);
}

.diagnosis-agent small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #48a96a;
  box-shadow: 0 0 0 3px rgba(72, 169, 106, .12);
}

.diagnosis-progress {
  width: 110px;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6e3df;
}

.diagnosis-progress span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #df472f, #f47a61);
  transition: width .55s var(--ease-out);
}

.diagnosis-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding: 24px 20px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.chat-message {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 88%;
  animation: chat-in .45s var(--ease-out) both;
}

.chat-message.user {
  align-self: flex-end;
  justify-content: flex-end;
}

.chat-message.assistant {
  align-self: flex-start;
}

.chat-message.user .chat-bubble {
  border-bottom-right-radius: 5px;
  background: var(--ink);
  color: #fff;
}

.chat-message.assistant .chat-bubble {
  border: 1px solid #e2dfdc;
  border-bottom-left-radius: 5px;
  background: #fff;
}

.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 12px;
}

.chat-bubble {
  padding: 12px 14px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(40, 40, 40, .055);
}

.chat-bubble p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 6px 2px;
}

.chat-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #999;
  animation: typing-dot 1.1s infinite ease-in-out;
}

.chat-typing i:nth-child(2) {
  animation-delay: .13s;
}

.chat-typing i:nth-child(3) {
  animation-delay: .26s;
}

.diagnosis-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 20px 13px;
}

.diagnosis-quick-replies:empty {
  display: none;
}

.diagnosis-quick-replies button {
  padding: 8px 11px;
  border: 1px solid rgba(240, 90, 63, .28);
  border-radius: 999px;
  background: rgba(240, 90, 63, .06);
  color: #b43b28;
  cursor: pointer;
  font: 600 10px var(--font);
  transition: background .25s ease, color .25s ease, transform .25s var(--ease-out);
}

.diagnosis-quick-replies button:hover {
  transform: translateY(-2px);
  background: var(--lime);
  color: var(--ink);
}

.diagnosis-input {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 9px;
  margin: 0 20px 7px;
  padding: 7px;
  border: 1px solid #dcd9d5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(40, 40, 40, .055);
}

.diagnosis-input:focus-within {
  border-color: rgba(240, 90, 63, .55);
  box-shadow: 0 0 0 3px rgba(240, 90, 63, .08);
}

.diagnosis-input textarea {
  width: 100%;
  max-height: 110px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 12px/1.5 var(--font);
  padding: 10px 8px;
}

.diagnosis-input button {
  align-self: end;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  transition: transform .25s var(--ease-out), opacity .25s ease;
}

.diagnosis-input button:hover {
  transform: translateY(-2px);
}

.diagnosis-input button:disabled,
.diagnosis-input textarea:disabled {
  cursor: wait;
  opacity: .55;
}

.diagnosis-status {
  min-height: 18px;
  margin: 0;
  padding: 2px 27px 12px;
  color: #999;
  font-size: 9px;
}

.diagnosis-report {
  padding: 17px;
  border: 1px solid rgba(240, 90, 63, .28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 90, 63, .12), transparent 30%),
    #fff;
  box-shadow: 0 16px 40px rgba(50, 45, 43, .08);
}

.diagnosis-report-badge {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(240, 90, 63, .1);
  color: #b43b28;
  font: 500 8px var(--mono);
  letter-spacing: .06em;
}

.diagnosis-report h3 {
  margin-bottom: 7px;
  font-size: 18px;
  letter-spacing: -.04em;
}

.diagnosis-report > p {
  color: #666;
  font-size: 11px;
  line-height: 1.6;
}

.diagnosis-report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.diagnosis-report-grid div {
  padding-top: 10px;
  border-top: 1px solid #e5e2df;
}

.diagnosis-report-grid strong {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
}

.diagnosis-report-grid ul {
  padding-left: 15px;
  margin: 0;
  color: #666;
  font-size: 9px;
  line-height: 1.6;
}

.nav-diagnosis {
  color: var(--green) !important;
}

.hero-diagnosis {
  min-height: calc(100svh - 78px);
  padding: 58px 6.5vw 68px;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(40px, 5vw, 84px);
  background:
    radial-gradient(circle at 79% 38%, rgba(240, 90, 63, .24), transparent 25%),
    radial-gradient(circle at 6% 95%, rgba(255, 255, 255, .06), transparent 30%),
    linear-gradient(135deg, #29292b 0%, #373739 56%, #29292b 100%);
}

.hero-diagnosis::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .75), transparent 82%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .75), transparent 82%);
}

.hero-diagnosis > :not(.orb) {
  position: relative;
  z-index: 1;
}

.hero-diagnosis .hero-copy {
  max-width: 720px;
}

.hero-diagnosis h1 {
  max-width: 720px;
  font-size: clamp(48px, 5vw, 76px);
}

.hero-diagnosis .hero-text {
  max-width: 610px;
}

.hero-manifesto {
  max-width: 560px;
  margin: 28px 0 0;
  padding-left: 15px;
  border-left: 2px solid var(--lime);
  color: #bdbdbf;
  font-size: 12px;
  line-height: 1.55;
}

.hero-manifesto strong {
  color: #fff;
}

.hero-diagnosis .hero-proof {
  margin-top: 29px;
}

.hero-proof-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(240, 90, 63, .35);
  border-radius: 50%;
  background: rgba(240, 90, 63, .09);
  color: var(--lime);
  font-size: 12px;
}

.diagnosis-chat-hero {
  position: relative;
  min-height: min(650px, calc(100svh - 150px));
  max-height: 720px;
  border-color: rgba(240, 90, 63, .48);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06),
    0 35px 85px rgba(0, 0, 0, .32),
    0 0 75px rgba(240, 90, 63, .12);
}

.diagnosis-chat-hero::before {
  content: "DIAGNÓSTICO EN DIRECTO";
  position: absolute;
  top: -12px;
  right: 21px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font: 500 8px var(--mono);
  letter-spacing: .08em;
  box-shadow: 0 8px 24px rgba(240, 90, 63, .3);
}

.diagnosis-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 1px 27px 13px;
  color: #8f8f91;
  font-size: 9px;
}

.diagnosis-privacy span {
  color: var(--green);
  font-size: 13px;
}

.diagnosis-promise {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 7vw;
  align-items: center;
  background:
    radial-gradient(circle at 92% 12%, rgba(240, 90, 63, .1), transparent 24%),
    var(--paper);
}

.diagnosis-promise-heading h2 {
  max-width: 760px;
  margin-bottom: 25px;
  font-size: clamp(40px, 4.7vw, 66px);
  line-height: 1.01;
  letter-spacing: -.065em;
}

.diagnosis-promise-heading h2 em {
  color: var(--green);
}

.diagnosis-promise-heading > p:last-child {
  max-width: 630px;
  color: #69696b;
  line-height: 1.72;
}

.diagnosis-promise-grid {
  display: grid;
  gap: 10px;
}

.diagnosis-promise-grid article {
  display: grid;
  grid-template-columns: 43px 1fr;
  column-gap: 15px;
  padding: 20px;
  border: 1px solid #dfdcd8;
  border-radius: 15px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 12px 35px rgba(40, 40, 40, .045);
}

.diagnosis-promise-grid article > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: rgba(240, 90, 63, .1);
  color: var(--green);
  font: 500 10px var(--mono);
}

.diagnosis-promise-grid strong {
  margin: 2px 0 5px;
  font-size: 15px;
}

.diagnosis-promise-grid p {
  margin: 0;
  color: #727274;
  font-size: 12px;
  line-height: 1.55;
}

.diagnosis-promise > .button {
  grid-column: 2;
  justify-self: start;
  margin-top: -3vw;
}

.floating-diagnosis {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  grid-template-columns: 38px auto;
  column-gap: 10px;
  min-width: 190px;
  padding: 11px 16px 11px 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  background: rgba(48, 48, 50, .94);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s var(--ease-out);
}

.floating-diagnosis.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-diagnosis > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--lime);
  color: var(--ink);
}

.floating-diagnosis strong {
  align-self: end;
  font-size: 11px;
}

.floating-diagnosis small {
  align-self: start;
  color: #bcbcbf;
  font: 500 8px var(--mono);
}

@keyframes chat-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }
}

@keyframes typing-dot {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: .35;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (max-width: 850px) {
  .site-header {
    background: #fff;
  }

  .nav-toggle span {
    background: var(--ink);
  }

  .nav {
    background: #fff;
    border-bottom: 1px solid #e8e5e1;
  }

  .brand img {
    width: 190px;
  }

  .system-status {
    right: 2px;
  }

  .hero-image {
    width: 100%;
    height: min(540px, 78vw);
    max-width: 590px;
    margin: 18px auto -22px;
    transform: none;
  }

  .hero-image .system-status {
    right: 7%;
  }

  .hero-text-only {
    min-height: 0;
    padding: 72px 7vw 66px;
  }

  .hero-text-only h1 {
    margin: 28px 0 44px;
    font-size: clamp(55px, 10.4vw, 88px);
    line-height: .9;
  }

  .hero-text-only h1 span:nth-child(2) {
    margin-left: 0;
  }

  .hero-text-only h1 em {
    align-self: flex-start;
  }

  .hero-text-footer {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-text-footer .hero-actions {
    justify-content: flex-start;
  }

  .hero-text-only .hero-text {
    max-width: 640px;
    font-size: 18px;
  }

  .problem-grid article {
    min-height: 210px;
  }

  .clients {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-diagnosis {
    min-height: 0;
    padding: 64px 7vw 76px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

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

  .diagnosis-chat-hero {
    width: 100%;
    min-height: 620px;
    max-height: 720px;
  }

  .diagnosis-promise {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .diagnosis-promise > .button {
    grid-column: 1;
    margin-top: -22px;
  }

  .ai-diagnosis {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .diagnosis-chat {
    min-height: 620px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 165px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text-only {
    padding-top: 54px;
  }

  .hero-text-only h1 {
    margin-bottom: 38px;
    font-size: clamp(47px, 14vw, 64px);
    line-height: .91;
  }

  .hero-text-footer .hero-actions {
    align-items: flex-start;
  }

  .hero-text-only .hero-text {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-image {
    width: calc(100% + 36px);
    height: 410px;
    margin: -4px -18px -42px;
    transform: none;
  }

  .hero-image figcaption {
    right: 12px;
    bottom: 28px;
  }

  .hero-image .system-status {
    top: 25px;
    right: 12px;
  }

  .hero-diagnosis {
    padding-top: 52px;
  }

  .hero-diagnosis h1 {
    font-size: 45px;
  }

  .hero-manifesto {
    font-size: 11px;
  }

  .diagnosis-chat-hero {
    min-height: 570px;
  }

  .diagnosis-promise-grid article {
    grid-template-columns: 38px 1fr;
    padding: 17px;
  }

  .diagnosis-promise-grid article > span {
    width: 38px;
    height: 38px;
  }

  .floating-diagnosis {
    right: 12px;
    bottom: 12px;
    min-width: 0;
    padding: 8px;
    border-radius: 14px;
  }

  .floating-diagnosis > span {
    grid-row: auto;
  }

  .floating-diagnosis strong,
  .floating-diagnosis small {
    display: none;
  }

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

  .diagnosis-chat {
    min-height: 590px;
    border-radius: 17px;
  }

  .diagnosis-chat-header,
  .diagnosis-messages {
    padding-right: 14px;
    padding-left: 14px;
  }

  .diagnosis-quick-replies {
    padding-right: 14px;
    padding-left: 14px;
  }

  .diagnosis-input {
    margin-right: 14px;
    margin-left: 14px;
  }

  .diagnosis-progress {
    width: 72px;
  }

  .diagnosis-report-grid {
    grid-template-columns: 1fr;
  }
}

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

  .scroll-progress {
    display: none;
  }

  .motion-ready .reveal,
  .motion-ready .reveal.reveal-left,
  .motion-ready .reveal.reveal-scale {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero-copy,
  .hero-visual,
  .diagnosis-chat-hero,
  .floating-diagnosis,
  .orb,
  .employee-card,
  .problem-grid article,
  .case {
    transform: none !important;
    transition: none;
  }

  .system-status i {
    animation: none;
  }

  .chat-message,
  .chat-typing i {
    animation: none;
  }
}
