:root {
  --ink: #1d1d1f;
  --paper: #ffffff;
  --lime: #f05a3f;
  --green: #d9472f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Monaco, Consolas, monospace;
  --apple-gray: #f5f5f7;
  --apple-dark: #000000;
  --apple-card: #ffffff;
  --apple-radius: 30px;
}

html {
  background: #fff;
  scroll-padding-top: 76px;
}

body {
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font-family: var(--font);
}

::selection {
  background: rgba(240, 90, 63, .2);
  color: #1d1d1f;
}

:focus-visible {
  outline: 3px solid rgba(240, 90, 63, .45);
  outline-offset: 3px;
}

.scroll-progress {
  height: 2px;
}

.scroll-progress span {
  background: var(--lime);
}

.site-header {
  height: 68px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .9);
  box-shadow: none;
}

.brand img {
  width: 205px;
}

.nav {
  gap: 24px;
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.nav > a:not(.button) {
  opacity: .74;
}

.nav > a:not(.button)::after {
  display: none;
}

.nav > a:not(.button):hover {
  color: #1d1d1f;
  opacity: 1;
}

.button {
  min-height: 44px;
  padding: 12px 22px;
  gap: 12px;
  border-radius: 999px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.015em;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.button::before {
  display: none;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(240, 90, 63, .22);
}

.button-primary,
.button-small {
  background: var(--lime);
  color: #fff;
}

.button-primary:hover,
.button-small:hover {
  background: #df4d34;
}

.button-small {
  min-height: 36px;
  padding: 8px 16px;
  font-size: 12px;
}

.text-link {
  padding-bottom: 2px;
  border: 0;
  color: #d9472f;
  font-size: 15px;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-pad {
  padding: 140px 8vw;
}

.eyebrow,
.eyebrow.green {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font: 600 12px var(--font);
  letter-spacing: .02em;
  backdrop-filter: none;
}

.eyebrow span {
  display: none;
}

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 650;
}

.hero-text-only {
  min-height: calc(100svh - 68px);
  padding: clamp(82px, 10vh, 120px) 7vw 84px;
  border: 0;
  background: #fff;
  color: #1d1d1f;
}

.hero::before,
.hero::after,
.hero .orb {
  display: none;
}

.hero-text-only .hero-copy {
  align-items: center;
  text-align: center;
}

.hero-text-only .eyebrow {
  margin-bottom: 34px;
}

.hero-text-only h1 {
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  font-size: clamp(58px, 6vw, 92px);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.045em;
  text-wrap: balance;
}

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

.hero-text-only h1 em {
  align-self: center;
  margin-top: .12em;
  padding: 0 .06em .06em 0;
  background: linear-gradient(90deg, #f05a3f 8%, #d9442d 52%, #ff7a5f 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-text-footer {
  display: flex;
  width: min(100%, 820px);
  flex-direction: column;
  align-items: center;
  gap: 34px;
  margin: 58px auto 0;
  padding: 0;
  border: 0;
}

.hero-text-only .hero-text {
  max-width: 800px;
  margin: 0;
  color: #6e6e73;
  font-size: clamp(20px, 1.48vw, 25px);
  font-weight: 450;
  line-height: 1.42;
  letter-spacing: -.025em;
}

.hero-text-footer .hero-actions {
  justify-content: center;
  margin: 0;
}

.hero-text-footer .hero-proof {
  display: none;
}

.ai-diagnosis {
  grid-template-columns: .88fr 1.12fr;
  gap: 7vw;
  background: var(--apple-gray);
  color: #1d1d1f;
}

.ai-diagnosis::before {
  display: none;
}

.ai-diagnosis-copy h2 {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.06em;
}

.ai-diagnosis-copy h2 em {
  color: var(--green);
}

.ai-diagnosis-copy > p:not(.eyebrow):not(.diagnosis-disclaimer) {
  max-width: 600px;
  color: #6e6e73;
  font-size: 18px;
  line-height: 1.55;
}

.diagnosis-benefits {
  gap: 10px;
  margin: 34px 0;
}

.diagnosis-benefits li {
  min-height: 86px;
  padding: 20px 24px;
  gap: 20px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.025em;
}

.diagnosis-benefits span {
  display: inline-flex;
  flex: 0 0 56px;
  align-items: center;
  color: var(--green);
  font: 700 32px/1 var(--font);
  letter-spacing: -.055em;
}

.diagnosis-disclaimer {
  color: #86868b;
  font-size: 11px;
}

.diagnosis-chat {
  min-height: 650px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 32px;
  background: #fbfbfd;
  color: #1d1d1f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .11);
}

.diagnosis-chat-header {
  min-height: 78px;
  padding: 18px 24px;
  border-color: rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.diagnosis-agent-mark,
.chat-avatar {
  border-radius: 12px;
  background: var(--lime);
  color: #fff;
  box-shadow: none;
}

.diagnosis-agent-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 17px;
}

.diagnosis-agent small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f5f5f7;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
}

.diagnosis-agent small i {
  width: 7px;
  height: 7px;
}

.diagnosis-progress {
  width: 145px;
  height: 4px;
  background: #e8e8ed;
}

.diagnosis-progress span {
  background: var(--lime);
}

.diagnosis-messages {
  gap: 18px;
  padding: 30px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .56), rgba(251, 251, 253, 0));
}

.chat-message.assistant .chat-bubble {
  border: 0;
  background: #f5f5f7;
}

.chat-message.user .chat-bubble {
  background: #1d1d1f;
}

.chat-bubble {
  border-radius: 18px;
  box-shadow: none;
}

.chat-bubble p {
  font-size: 14px;
  line-height: 1.55;
}


.diagnosis-quick-replies button {
  padding: 10px 14px;
  border: 0;
  background: rgba(240, 90, 63, .1);
  color: #c7402a;
  font: 600 12px var(--font);
}

.diagnosis-quick-replies button:hover {
  background: var(--lime);
  color: #fff;
}

.diagnosis-input {
  margin: 0 22px 9px;
  padding: 8px;
  border: 1px solid #d2d2d7;
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
}

.diagnosis-input:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(240, 90, 63, .11);
}

.diagnosis-input textarea {
  padding: 11px 10px;
  font-size: 15px;
}

.diagnosis-input button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: #fff;
}

.trust {
  padding: 25px 8vw;
  background: #000;
  color: #f5f5f7;
  box-shadow: none;
}

.trust p {
  font: 600 11px var(--font);
  letter-spacing: .02em;
}

.trust div {
  font-size: 12px;
  font-weight: 600;
}

.trust i {
  background: #86868b;
}

.clients {
  gap: 8vw;
  background: #fff;
}

.clients::after {
  display: none;
}

.clients-copy h2,
.section-intro h2,
.cases h2 {
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.06em;
}

.clients-copy h2 em,
.section-intro h2 em {
  color: var(--green);
}

.clients-copy > p:not(.eyebrow),
.cases-heading > p:last-child,
.wide > p:last-child {
  color: #6e6e73;
  font-size: 17px;
  line-height: 1.55;
}

.client-grid {
  gap: 14px;
}

.client-card {
  min-height: 122px;
  padding: 22px;
  border: 0;
  border-radius: 24px;
  background: var(--apple-gray);
  box-shadow: none;
  backdrop-filter: none;
}

.client-card > span {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 15px;
  background: rgba(240, 90, 63, .11);
  color: var(--green);
  font: 650 12px var(--font);
}

.client-card small {
  color: #86868b;
  font-family: var(--font);
}

.client-card strong {
  font-size: 15px;
  font-weight: 600;
}

.client-logo-card {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  overflow: hidden;
  padding: 42px;
  border: 1px solid #ececf0;
  border-radius: 28px;
  background: linear-gradient(145deg, #fbfbfd, #f2f2f5);
  transition: transform .45s var(--ease-out), box-shadow .45s ease;
}

.client-logo-card:only-child {
  grid-column: 1 / -1;
  min-height: 350px;
}

.client-logo-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.client-logo-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(240, 90, 63, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(240, 90, 63, .035);
}

.client-logo-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(46%, 235px);
  max-height: 245px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .45s var(--ease-out);
}

.client-logo-card .client-logo--mitie {
  width: min(53%, 172px);
}

.client-logo-card .client-logo--global,
.client-logo-card .client-logo--nueve-reinas {
  width: min(58%, 184px);
}

.client-logo-card .client-logo--chalito {
  width: min(65%, 205px);
  border-radius: 14px;
  mix-blend-mode: normal;
}

.client-logo-card .client-logo--ksb {
  width: min(76%, 275px);
}

.client-logo-label {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 26px;
  color: #86868b;
  font: 650 10px var(--font);
  letter-spacing: .11em;
}

.problems {
  background: #fff;
}

.problem-grid {
  gap: 16px;
}

.problem-grid article {
  min-height: 260px;
  padding: 28px;
  border: 0;
  border-radius: 26px;
  background: var(--apple-gray);
  box-shadow: none;
  backdrop-filter: none;
}

.problem-grid article > span {
  width: auto;
  height: auto;
  place-items: start;
  background: transparent;
  color: var(--green);
  font: 600 12px var(--font);
}

.problem-grid h3 {
  margin-top: 48px;
  font-size: 22px;
  font-weight: 620;
}

.problem-grid p,
.steps p,
details p {
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.55;
}

.employee-section {
  background: #000;
}

.employee-section::before {
  display: none;
}

.employee-section .section-intro h2 {
  color: #f5f5f7;
}

.employee-section .wide > p:last-child {
  color: #a1a1a6;
}

.employee-story {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  min-height: 520px;
  margin: 70px 0 20px;
  overflow: hidden;
  border-radius: 34px;
  background: #1d1d1f;
}

.employee-story img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.employee-story figcaption {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(36px, 5vw, 70px);
  background: linear-gradient(145deg, #1d1d1f, #2c2c2e);
}

.employee-story small {
  margin-bottom: 22px;
  color: #ff755b;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
}

.employee-story h3 {
  max-width: 520px;
  margin-bottom: 20px;
  color: #f5f5f7;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.employee-story p {
  max-width: 460px;
  margin: 0;
  color: #a1a1a6;
  font-size: 16px;
  line-height: 1.55;
}

.employee-grid {
  gap: 16px;
}

.employee-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  border: 0;
  border-radius: 28px;
  background: #1d1d1f;
  box-shadow: none;
  backdrop-filter: none;
  cursor: pointer;
  transition:
    transform .45s cubic-bezier(.16, 1, .3, 1),
    background-color .35s ease,
    box-shadow .35s ease;
}

/* La tarjeta entera es el enlace.
   El "Evaluar este perfil" de abajo era la única zona pulsable y en un cuadro
   de 360 px de alto no se encuentra: el enlace se estira sobre toda la tarjeta
   con un pseudoelemento, así que sigue habiendo un solo enlace por perfil y el
   recorrido de teclado no cambia. */
.employee-card > a.diagnosis-focus::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
}

.employee-card > a.diagnosis-focus:focus-visible::after {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.employee-identity {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.employee-avatar {
  display: block;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.employee-meta {
  min-width: 0;
}

.employee-meta p {
  margin: 0 0 8px;
  color: #86868b;
  font: 600 9px var(--font);
  letter-spacing: .025em;
}

.employee-card h3 {
  margin: 0;
}

.employee-name {
  display: block;
  color: #f5f5f7;
  font-size: clamp(29px, 2.2vw, 36px);
  font-weight: 650;
  line-height: .95;
  letter-spacing: -.055em;
}

.employee-role {
  display: block;
  margin-top: 8px;
  color: #a1a1a6;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.employee-card:focus-within {
  background: #f05a3f;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

.employee-card:focus-within .employee-avatar {
  border-color: rgba(255, 255, 255, .45);
}

.employee-card:focus-within .employee-meta p,
.employee-card:focus-within .employee-name,
.employee-card:focus-within .employee-role,
.employee-card:focus-within ul,
.employee-card:focus-within a,
.employee-card:focus-within a span,
.employee-card:focus-within li::before {
  color: #1d1d1f;
}

.employee-icon {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 13px;
  background: #2c2c2e;
  color: #ff755b;
}

.employee-card > p {
  color: #86868b;
  font: 600 10px var(--font);
}

.employee-card h3 {
  font-size: 27px;
  font-weight: 620;
}

.employee-card ul {
  color: #a1a1a6;
  font-size: 12px;
}

.employee-card a {
  color: #f5f5f7;
  font-size: 12px;
}

.employee-card a span {
  color: #ff755b;
}

.method {
  background: #fff;
}

.steps li {
  margin-bottom: 12px;
  padding: 24px;
  border: 0;
  border-radius: 20px;
  background: var(--apple-gray);
  box-shadow: none;
}

.steps b {
  color: var(--green);
  font-family: var(--font);
}

.steps h3 {
  font-size: 19px;
  font-weight: 620;
}

.cases {
  background: var(--apple-gray);
}

.cases-heading-wide {
  max-width: 920px;
}

.cases-heading-wide > p:last-child {
  max-width: 650px;
  margin-top: 24px;
  color: #6e6e73;
  font-size: 17px;
  line-height: 1.55;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 68px;
}

.transformation-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 610px;
  padding: 32px;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
  transition:
    transform .45s cubic-bezier(.16, 1, .3, 1),
    box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}

.transformation-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: #f05a3f;
}

.case-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.case-context span {
  color: #6e6e73;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: .025em;
}

.case-context b {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff0ec;
  color: #d9472f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .025em;
}

.transformation-card h3 {
  min-height: 84px;
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(29px, 2.35vw, 39px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.05em;
}

.before-after {
  margin-top: 30px;
}

.process-state {
  padding: 20px 0;
  border-top: 1px solid #d2d2d7;
}

.process-state small,
.impact-block small {
  display: block;
  margin-bottom: 8px;
  color: #86868b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .055em;
}

.state-after small,
.impact-block small {
  color: #d9472f;
}

.process-state p {
  margin: 0;
  color: #424245;
  font-size: 14px;
  line-height: 1.55;
}

.state-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  margin: -15px 0 -15px auto;
  position: relative;
  z-index: 1;
  place-items: center;
  border-radius: 50%;
  background: #f05a3f;
  color: #fff;
  font-size: 15px;
}

.impact-block {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #d2d2d7;
  font-variant-numeric: tabular-nums;
}

.impact-block strong {
  display: block;
  color: #1d1d1f;
  font-size: clamp(31px, 2.45vw, 42px);
  font-weight: 680;
  line-height: 1;
  letter-spacing: -.055em;
}

.impact-block span {
  display: block;
  margin-top: 10px;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.45;
}

.transformation-cta {
  align-self: flex-start;
  margin-top: 22px;
}

.cases-note {
  max-width: 760px;
  margin: 26px 0 0;
  color: #86868b;
  font-size: 12px;
  line-height: 1.55;
}

.cases-visual {
  position: relative;
  height: clamp(380px, 42vw, 610px);
  margin: 64px 0 18px;
  overflow: hidden;
  border-radius: 34px;
  background: #e8e8ed;
}

.cases-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.cases-visual::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, .5));
}

.cases-visual figcaption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
}

.cases-visual figcaption small {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
}

.cases-visual figcaption strong {
  max-width: 620px;
  text-align: right;
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1.03;
  letter-spacing: -.04em;
}

.case-grid {
  gap: 18px;
}

.case {
  padding: 38px;
  border: 0;
  border-radius: var(--apple-radius);
  box-shadow: none;
}

.case-large {
  background: #fff;
}

.case-dark {
  background: #000;
}

.case-lime {
  background: var(--lime);
  color: #fff;
}

.case > p:first-child {
  font-family: var(--font);
  font-weight: 600;
}

.case h3 {
  font-size: 32px;
  font-weight: 620;
}

.case-text {
  font-size: 13px;
}

.case-flow {
  flex-wrap: wrap;
  color: #d9472f;
}

.case-flow span {
  border-color: #d1d1d6;
  border-radius: 999px;
  background: #f5f5f7;
  color: #1d1d1f;
}

.case-flow i {
  color: #d9472f;
  font-style: normal;
}

.case-cta {
  align-self: flex-start;
  margin-top: 24px;
}

.case-lime .case-text {
  color: rgba(255, 255, 255, .82);
}

.roi {
  background: #000;
}

.roi::before {
  display: none;
}

.roi h2 {
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 650;
}

.roi-copy > p:not(.eyebrow) {
  color: #a1a1a6;
  font-size: 17px;
}

.calculator {
  padding: 34px;
  border: 0;
  border-radius: var(--apple-radius);
  background: #1d1d1f;
  box-shadow: none;
  backdrop-filter: none;
}

.calculator label {
  border-color: #3a3a3c;
  font-size: 13px;
}

.calculator output,
.roi-result strong {
  color: #ff755b;
  font-family: var(--font);
}

.roi-result {
  border: 0;
  background: #2c2c2e;
}

.training {
  padding: 130px 8vw;
  background: var(--apple-gray);
  background-image: none;
}

.training h2 {
  font-size: clamp(44px, 4.6vw, 70px);
  font-weight: 650;
}

.training p:not(.eyebrow) {
  color: #6e6e73;
  font-size: 17px;
}

.training-visual {
  position: relative;
  height: clamp(440px, 45vw, 620px);
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  background: #e8e8ed;
}

.training-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.training-visual figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  color: #1d1d1f;
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
}

.training-visual figcaption strong {
  font-size: 13px;
  font-weight: 650;
}

.training-visual figcaption span {
  color: #6e6e73;
  font-size: 12px;
}

.training-mark {
  padding: 34px;
  border: 0;
  border-radius: 26px;
  background: #fff;
  box-shadow: none;
  font-size: 24px;
}

.faq {
  background: #fff;
}

.faq-list {
  border: 0;
}

details {
  margin-bottom: 12px;
  padding: 22px 24px;
  border: 0;
  border-radius: 18px;
  background: var(--apple-gray);
}

details[open] {
  border: 0;
  box-shadow: none;
}

summary {
  font-size: 16px;
  font-weight: 600;
}

summary span {
  background: #fff;
  color: var(--green);
}

.contact {
  background: #000;
}

.contact::before {
  display: none;
}

.contact h2 {
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 650;
}

.contact-copy > p:not(.eyebrow) {
  color: #a1a1a6;
  font-size: 17px;
}

.contact-form {
  padding: 34px;
  border: 0;
  border-radius: var(--apple-radius);
  box-shadow: none;
}

.contact-form label {
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 600;
}

.contact-form input:not([type=checkbox]),
.contact-form select,
.contact-form textarea {
  padding: 12px 0;
  border-color: #d2d2d7;
  font-size: 14px;
}

footer {
  padding: 46px 8vw 28px;
  border-top: 0;
  background: var(--apple-gray);
  color: #6e6e73;
}

.footer-brand {
  width: 190px;
  padding: 0;
  background: transparent;
}

footer small {
  border-color: #d2d2d7;
  color: #86868b;
  font-family: var(--font);
}

.redes-footer {
  display: flex;
  justify-content: center;
  padding: 28px 7vw;
  background: #000;
}

.redes-footer img {
  display: block;
  width: min(100%, 960px);
  height: auto;
}

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

  .client-card:hover,
  .client-logo-card:hover,
  .problem-grid article:hover,
  .case:hover {
    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
  }

  .client-logo-card:hover img {
    transform: scale(1.035);
  }

  .employee-card:hover {
    border-color: transparent;
    background: #f05a3f;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
  }

  .employee-card:hover .employee-avatar {
    border-color: rgba(255, 255, 255, .45);
  }

  .employee-card:hover .employee-meta p,
  .employee-card:hover .employee-name,
  .employee-card:hover .employee-role,
  .employee-card:hover ul,
  .employee-card:hover a,
  .employee-card:hover a span,
  .employee-card:hover li::before {
    color: #1d1d1f;
  }

  .employee-story:hover img,
  .cases-visual:hover img,
  .training-visual:hover img {
    transform: scale(1.025);
  }

  .transformation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
  }
}

@media (max-width: 1100px) {
  .nav {
    gap: 16px;
  }

  .nav > a:not(.button):nth-of-type(2),
  .nav > a:not(.button):nth-of-type(3) {
    display: none;
  }

  .hero-text-only h1 {
    font-size: clamp(56px, 6.6vw, 78px);
  }

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

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

  .transformation-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 850px) {
  .site-header {
    height: 68px;
    background: rgba(255, 255, 255, .9);
  }

  .nav {
    top: 68px;
    gap: 22px;
    padding: 28px 6vw;
    border-color: rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .98);
    color: #1d1d1f;
  }

  .nav > a:not(.button):nth-of-type(2),
  .nav > a:not(.button):nth-of-type(3) {
    display: block;
  }

  .nav-toggle span {
    background: #1d1d1f;
  }

  .section-pad {
    padding: 96px 7vw;
  }

  .cases-visual {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .transformation-card,
  .transformation-card:last-child {
    min-height: 0;
    grid-column: auto;
  }

  .impact-block {
    margin-top: 44px;
  }

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

  .hero-text-only h1 {
    font-size: clamp(52px, 10.8vw, 84px);
  }

  .hero-text-only .hero-text {
    font-size: 19px;
  }

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

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

  .employee-story {
    grid-template-columns: 1fr;
  }

  .employee-story img {
    min-height: 420px;
  }

  .employee-story figcaption {
    min-height: 340px;
  }

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

  .clients,
  .method,
  .roi,
  .faq,
  .contact,
  .training {
    gap: 54px;
  }
}

@media (max-width: 520px) {
  .employee-grid {
    grid-template-columns: 1fr;
  }

  .transformation-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .case-context {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }

  .transformation-card h3 {
    min-height: 0;
    font-size: 30px;
  }

  .impact-block strong {
    font-size: 34px;
  }

  .brand img {
    width: 168px;
  }

  .hero-text-only {
    padding: 64px 6vw 62px;
  }

  .hero-text-only .eyebrow {
    margin-bottom: 26px;
    font-size: 11px;
  }

  .hero-text-only h1 {
    font-size: clamp(45px, 13.8vw, 61px);
    line-height: .96;
    letter-spacing: -.04em;
  }

  .hero-text-only .hero-text {
    font-size: 17px;
  }

  .diagnosis-benefits li {
    min-height: 76px;
    padding: 17px 19px;
    gap: 15px;
    font-size: 16px;
  }

  .diagnosis-benefits span {
    flex-basis: 46px;
    font-size: 27px;
  }

  .hero-text-footer {
    gap: 28px;
    margin-top: 36px;
  }

  .hero-text-footer .hero-actions {
    align-items: center;
    gap: 18px;
  }

  .section-pad {
    padding: 78px 6vw;
  }

  .ai-diagnosis-copy h2,
  .clients-copy h2,
  .section-intro h2,
  .cases h2,
  .roi h2,
  .contact h2 {
    font-size: 44px;
  }

  .diagnosis-chat {
    min-height: 570px;
    border-radius: 24px;
  }

  .diagnosis-chat-header {
    min-height: 70px;
    padding: 14px 16px;
    gap: 12px;
  }

  .diagnosis-agent-mark {
    width: 38px;
    height: 38px;
  }

  .diagnosis-agent small {
    padding: 7px 9px;
    font-size: 10px;
  }

  .diagnosis-progress {
    width: 68px;
  }

  .diagnosis-messages {
    padding: 22px 16px;
  }


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

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

  .client-card,
  .client-logo-card,
  .problem-grid article,
  .employee-card,
  .case,
  .calculator,
  .contact-form {
    border-radius: 22px;
  }

  .client-logo-card:only-child {
    min-height: 280px;
    padding: 34px;
  }

  .client-logo-card img {
    width: min(54%, 190px);
    max-height: 200px;
  }

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

  .training {
    padding: 78px 6vw;
  }

  .employee-story {
    margin-top: 48px;
    border-radius: 24px;
  }

  .employee-story img {
    min-height: 320px;
  }

  .employee-story figcaption {
    min-height: 300px;
    padding: 30px 24px;
  }

  .employee-story p {
    font-size: 15px;
  }

  .cases-visual,
  .training-visual {
    border-radius: 24px;
  }

  .cases-visual {
    height: auto;
    margin-top: 44px;
  }

  .cases-visual figcaption {
    right: 20px;
    bottom: 20px;
    left: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cases-visual figcaption strong {
    text-align: left;
  }

  .training-visual {
    height: 460px;
  }
}

/* Versión de despliegue: portada sin fotografía y CTA a contacto. */
.hero-text-only {
  min-height: calc(100svh - 68px);
  padding: clamp(96px, 11vh, 146px) 7vw;
  grid-template-columns: 1fr;
  justify-items: center;
}

.hero-text-only .hero-copy { align-items: center; max-width: 1080px; text-align: center; }
.hero-text-only h1 { max-width: 1040px; align-items: center; font-size: clamp(58px, 6vw, 92px); }
.hero-text-only h1 em { align-self: center; }
.hero-text-footer { align-items: center; margin: 54px auto 0; }
.hero-text-footer .hero-actions { justify-content: center; }
.hero-actions .button-secondary, .calculator .contact-cta { border: 0; background: #fff; color: #1d1d1f; }
.hero-actions .button-secondary:hover { background: #f5f5f7; }
.calculator .contact-cta { margin-top: 12px; }
.section-contact-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 44px; }
.section-contact-cta p { max-width: 430px; margin: 0; color: #6e6e73; font-size: 17px; line-height: 1.5; }
.employee-section .section-contact-cta p { color: #a1a1a6; }
.employee-section .section-contact-cta .button-secondary { border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #f5f5f7; }
.employee-section .section-contact-cta .button-secondary span { color: var(--lime); }
.employee-section .section-contact-cta .button-secondary:hover { border-color: transparent; background: #f5f5f7; color: #1d1d1f; }
.cases .section-contact-cta { margin-top: 32px; }
.method .section-contact-cta { grid-column: 1 / -1; }

@media (max-width: 850px) {
  .hero-text-only { min-height: 0; padding: 82px 7vw; }
  .hero-text-only h1 { font-size: clamp(52px, 10.8vw, 84px); }
  .section-contact-cta { align-items: flex-start; flex-direction: column; gap: 18px; }
}

@media (max-width: 520px) {
  .hero-text-only { padding: 64px 6vw 72px; }
  .hero-actions, .hero-actions .button, .section-contact-cta .button { width: 100%; }
}

/* Commercial hierarchy: make the two decision-making sections feel as clear
   and actionable as the conversational diagnosis. */
.problem-grid article {
  min-height: 300px;
  padding: 30px;
  background: #f5f5f7;
}

.problem-grid article > span {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: #fff;
  color: var(--green);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .07);
  font: 700 clamp(29px, 2.6vw, 38px)/1 var(--font);
  letter-spacing: -.06em;
}

.problem-grid h3 {
  margin-top: 26px;
}

.method {
  background: var(--apple-gray);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  border: 0;
}

.steps li {
  min-height: 190px;
  margin: 0;
  padding: 24px;
  display: block;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .07);
}

.steps b {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: #f5f5f7;
  color: var(--green);
  font: 700 30px/1 var(--font);
  letter-spacing: -.06em;
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.steps p {
  max-width: 34em;
}

@media (max-width: 850px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .problem-grid article {
    min-height: 250px;
    padding: 24px;
  }

  .problem-grid article > span,
  .steps b {
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .steps li {
    min-height: 0;
    padding: 22px;
  }
}

/* Apple-style photographic storytelling and scroll motion. */
.hero-text-only {
  min-height: auto;
  padding-bottom: 0;
}

.scroll-photo {
  --parallax-y: 0px;
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 36px;
  background: #e8e8ed;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .12);
  isolation: isolate;
}

.scroll-photo img {
  position: absolute;
  inset: -9% -3%;
  display: block;
  width: 106%;
  height: 118%;
  max-width: none;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.015);
  will-change: transform;
}

.hero-photo {
  width: min(100%, 1480px);
  height: clamp(430px, 53vw, 760px);
  margin: 86px auto 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .14);
}

.hero-photo img {
  object-position: center 55%;
}

.problems-photo {
  height: clamp(390px, 49vw, 680px);
  margin-top: 72px;
}

.problems-photo img {
  object-position: center 48%;
}

.problems-photo::after,
.method-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 48% 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, .58));
}

.scroll-photo figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 54px);
  bottom: clamp(24px, 4vw, 48px);
  left: clamp(24px, 4vw, 54px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
}

.scroll-photo figcaption small {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .05em;
}

.scroll-photo figcaption strong {
  max-width: 650px;
  text-align: right;
  font-size: clamp(27px, 3.15vw, 48px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.problems-photo + .problem-grid {
  margin-top: 38px;
}

.method-photo {
  grid-column: 1 / -1;
  height: clamp(390px, 47vw, 660px);
  margin-top: 58px;
}

.method-photo img {
  object-position: center 52%;
}

@media (max-width: 850px) {
  .hero-text-only {
    padding-bottom: 0;
  }

  .hero-photo,
  .problems-photo,
  .method-photo {
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 26px;
  }

  .hero-photo {
    margin-top: 58px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .problems-photo {
    margin-top: 48px;
  }

  .method-photo {
    margin-top: 42px;
  }

  .scroll-photo img {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    will-change: auto;
  }

  .scroll-photo figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .scroll-photo figcaption strong {
    max-width: 520px;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hero-photo,
  .problems-photo,
  .method-photo {
    aspect-ratio: 4 / 5;
    border-radius: 22px;
  }

  .hero-photo {
    margin-top: 44px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .hero-photo img {
    object-position: 45% center;
  }

  .problems-photo img {
    object-position: 47% center;
  }

  .method-photo img {
    object-position: 48% center;
  }

  .scroll-photo figcaption strong {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-photo img {
    transform: none !important;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* Contained photo-card version, aligned with “Personas + Tecnología”. */
.hero-text-only {
  min-height: calc(100svh - 68px);
  padding: clamp(88px, 9vw, 132px) 7vw;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
}

.hero-text-only .hero-copy {
  align-items: flex-start;
  text-align: left;
}

.hero-text-only h1 {
  max-width: 760px;
  margin: 0;
  align-items: flex-start;
  font-size: clamp(54px, 5vw, 78px);
}

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

.hero-text-footer {
  width: min(100%, 650px);
  align-items: flex-start;
  margin: 42px 0 0;
}

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

.hero-photo {
  width: 100%;
  height: clamp(350px, 29vw, 430px);
  margin: 0;
  border-radius: 34px;
  box-shadow: none;
}

.problems {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr);
  gap: clamp(46px, 7vw, 104px);
  align-items: center;
}

.problems > .section-intro {
  grid-column: 1;
}

.problems-photo {
  grid-column: 2;
  height: clamp(360px, 31vw, 450px);
  margin: 0;
  border-radius: 34px;
  box-shadow: none;
}

.problems-photo img {
  object-position: 38% center;
}

.problems-photo + .problem-grid {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.method {
  grid-template-columns: minmax(0, .9fr) minmax(400px, 1.1fr);
  gap: clamp(46px, 7vw, 104px);
  align-items: center;
}

.method > .section-intro {
  grid-column: 1;
  grid-row: 1;
}

.method-photo {
  grid-column: 2;
  grid-row: 1;
  height: clamp(360px, 31vw, 450px);
  margin: 0;
  border-radius: 34px;
  box-shadow: none;
}

.method-photo img {
  object-position: center;
}

.method .steps {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 4px;
}

.problems-photo::after,
.method-photo::after {
  display: none;
}

.scroll-photo figcaption {
  right: 22px;
  bottom: 22px;
  left: 22px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 20px;
  background: rgba(255, 255, 255, .84);
  color: #1d1d1f;
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
}

.scroll-photo figcaption small {
  color: var(--green);
  font-size: 10px;
}

.scroll-photo figcaption strong {
  max-width: none;
  text-align: left;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

@media (max-width: 1000px) {
  .hero-text-only,
  .problems,
  .method {
    grid-template-columns: 1fr;
  }

  .hero-text-only {
    min-height: 0;
    gap: 54px;
  }

  .hero-photo,
  .problems-photo,
  .method-photo {
    width: min(100%, 760px);
    height: auto;
    aspect-ratio: 16 / 10;
    justify-self: center;
  }

  .problems > .section-intro,
  .problems-photo,
  .problems-photo + .problem-grid,
  .method > .section-intro,
  .method-photo,
  .method .steps {
    grid-column: 1;
  }

  .problems > .section-intro,
  .method > .section-intro {
    grid-row: 1;
  }

  .problems-photo,
  .method-photo {
    grid-row: 2;
  }

  .problems-photo + .problem-grid,
  .method .steps {
    grid-row: 3;
  }
}

@media (max-width: 850px) {
  .hero-text-only .hero-copy {
    align-items: center;
    text-align: center;
  }

  .hero-text-only h1 {
    align-items: center;
  }

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

  .hero-text-footer {
    align-items: center;
    margin-right: auto;
    margin-left: auto;
  }

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

@media (max-width: 520px) {
  .hero-text-only {
    padding: 64px 6vw 78px;
  }

  .hero-photo,
  .problems-photo,
  .method-photo {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .scroll-photo figcaption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .scroll-photo figcaption strong {
    font-size: 14px;
  }
}

/* Portada original, anterior a la incorporación de fotografías. */
.hero.hero-text-only {
  min-height: calc(100svh - 68px);
  padding: clamp(62px, 7vh, 92px) 7vw 56px;
  grid-template-columns: 1fr;
  align-items: stretch;
  justify-items: stretch;
}

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

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

.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-only .hero-text-footer {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(320px, 680px) minmax(420px, auto);
  gap: 60px;
  align-items: end;
  margin: auto 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-text-only .hero-text-footer .hero-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 0;
}

@media (max-width: 1000px) {
  .hero.hero-text-only {
    min-height: 0;
    padding: 76px 7vw 68px;
  }

  .hero-text-only h1 {
    font-size: clamp(56px, 9.5vw, 90px);
  }

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

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

@media (max-width: 520px) {
  .hero.hero-text-only {
    padding: 62px 6vw 66px;
  }

  .hero-text-only h1 {
    margin: 26px 0 38px;
    font-size: clamp(46px, 13.8vw, 62px);
    line-height: .94;
    letter-spacing: -.055em;
  }

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

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

/* Corrección de legibilidad y centrado de la portada. */
.hero.hero-text-only {
  min-height: calc(100svh - 68px);
  padding: clamp(72px, 9vh, 112px) 5vw clamp(58px, 7vh, 84px);
  place-items: stretch;
}

.hero-text-only .hero-copy {
  width: min(100%, 1440px);
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.hero-text-only .eyebrow {
  justify-content: center;
}

.hero-text-only h1 {
  width: 100%;
  max-width: 1400px;
  align-items: center;
  margin: clamp(28px, 4vh, 48px) auto clamp(24px, 3vh, 36px);
  padding: .04em 0 .09em;
  font-size: clamp(58px, 6.3vw, 110px);
  line-height: .98;
  letter-spacing: -.052em;
  text-align: center;
  text-wrap: balance;
  overflow: visible;
}

.hero-text-only h1 span,
.hero-text-only h1 span:nth-child(2),
.hero-text-only h1 em {
  align-self: center;
  margin: 0;
  padding-right: .04em;
  white-space: normal;
}

.hero-text-only h1 em {
  margin-top: .12em;
  padding-bottom: .08em;
}

.hero-text-only .hero-text-footer {
  width: min(100%, 1180px);
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 30px;
  margin: 0 auto;
  text-align: center;
}

.hero-text-only .hero-text-footer > div:first-child,
.hero-text-only .hero-text {
  max-width: 780px;
}

.hero-text-only .hero-text-footer .hero-proof,
.hero-text-only .hero-text-footer .hero-actions {
  justify-content: center;
}

.hero-text-only .hero-text-footer .hero-actions {
  gap: 16px 22px;
}

@media (max-width: 1000px) {
  .hero.hero-text-only {
    padding: 72px 6vw 66px;
  }

  .hero-text-only h1 {
    font-size: clamp(53px, 9vw, 84px);
    line-height: .99;
    letter-spacing: -.046em;
  }
}

@media (max-width: 520px) {
  .hero.hero-text-only {
    padding: 58px 6vw 62px;
  }

  .hero-text-only h1 {
    margin: 24px auto 38px;
    padding-bottom: .12em;
    font-size: clamp(43px, 12.4vw, 58px);
    line-height: 1.01;
    letter-spacing: -.038em;
  }

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

  .hero-text-only .hero-text-footer {
    gap: 26px;
  }
}

/* ---------------------------------------------------------------------------
   Cuestionario de diagnóstico
   --------------------------------------------------------------------------- */

/* El atributo hidden se apoya en la regla [hidden]{display:none} del navegador,
   y cualquier regla de autor con display propio la pisa: .diagnosis-input tiene
   display:grid, así que el campo de texto seguía visible durante las preguntas
   de opciones y el visitante veía las dos cosas a la vez. */
.diagnosis-input[hidden] {
  display: none;
}

/* Sin esto el contenedor vacío deja su hueco entre pregunta y pregunta. */
.diagnosis-quick-replies:empty {
  display: none;
}

/* Muro del email, que se pinta desde JavaScript. */
.diagnosis-lead {
  display: grid;
  gap: 12px;
  margin: 0 22px 16px;
  padding: 18px;
  border: 1px solid #d2d2d7;
  border-radius: 22px;
  background: #fff;
}

.diagnosis-lead label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #6e6e73;
}

.diagnosis-lead input[type="text"],
.diagnosis-lead input[type="email"] {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
  font-size: 15px;
}

.diagnosis-lead input:focus {
  border-color: var(--lime);
  outline: none;
}

.diagnosis-lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.45;
}

.diagnosis-lead-consent input {
  margin-top: 2px;
  flex: 0 0 auto;
}

/* Nota de método y microcopy bajo las cifras. */
.diagnosis-report-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6e6e73;
}

/* Cualquier elemento del módulo marcado con hidden queda oculto, pase lo que pase
   con las reglas de display de arriba. Sin esta red, .diagnosis-lead label
   {display:grid} volvía a mostrar la trampa para bots, que estaba oculta solo
   por el atributo. Un campo trampa visible es peor que no tenerlo: si una
   persona lo rellena, el endpoint responde ok y descarta su lead en silencio. */
.diagnosis-chat [hidden] {
  display: none;
}

/* Preguntas de varias respuestas. Con botones que solo cambiaban de color no se
   distinguían de una respuesta única: la gente marcaba una cosa y se quedaba
   esperando a que avanzase. */
.diagnosis-choices {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px;
  margin-bottom: 4px;
}

.diagnosis-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  line-height: 1.3;
  color: #1d1d1f;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.diagnosis-choice:hover {
  border-color: var(--lime);
}

.diagnosis-choice input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--lime);
  cursor: pointer;
}

/* Refuerzo del estado marcado; si el navegador no soporta :has, la casilla ya
   comunica el estado por sí sola. */
.diagnosis-choice:has(input:checked) {
  border-color: var(--lime);
  background: rgba(240, 90, 63, .07);
}

.diagnosis-choices-go {
  flex: 1 1 100%;
  padding: 11px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--lime);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.diagnosis-choices-go:disabled {
  background: #e8e8ed;
  color: #86868b;
  cursor: default;
}

