:root {
  --paper: #f7f4ec;
  --paper-bright: #fffdf8;
  --paper-blue: #e8ecf5;
  --blue: #123fc4;
  --blue-deep: #0d319f;
  --blue-ink: #082a91;
  --ink: #103ba9;
  --white: #fffef9;
  --rule: rgba(18, 63, 196, 0.26);
  --rule-light: rgba(255, 254, 249, 0.34);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

section[id] {
  scroll-margin-top: 0;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 92px;
  padding: 24px clamp(24px, 4vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-family: var(--display);
  font-size: clamp(31px, 2.6vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.nav a {
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav a:not(.nav-cta) {
  padding-block: 11px;
  border-bottom: 1px solid transparent;
}

.nav a:not(.nav-cta):hover,
.nav a:not(.nav-cta):focus-visible {
  border-bottom-color: currentColor;
}

.nav-cta {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: var(--white);
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  min-height: min(850px, 100vh);
  padding-top: 92px;
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: var(--paper-bright);
}

.hero-copy {
  padding: clamp(76px, 9vh, 108px) clamp(34px, 5vw, 82px) 52px clamp(24px, 5vw, 76px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-right: 1px solid var(--rule);
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.052em;
}

h1 {
  max-width: 670px;
  font-size: clamp(62px, 5.2vw, 82px);
  line-height: 0.92;
}

.hero-lede {
  max-width: 540px;
  margin: 32px 0 0;
  font-family: var(--display);
  font-size: clamp(20px, 1.55vw, 27px);
  line-height: 1.34;
}

.hero-actions {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.button {
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, color 150ms ease;
}

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

.button:focus-visible,
.nav a:focus-visible,
.menu-toggle:focus-visible,
.text-link:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(18, 63, 196, 0.3);
  outline-offset: 4px;
}

.button-primary {
  min-width: 218px;
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue-deep);
}

.text-link {
  padding-block: 10px;
  font-size: 13px;
  font-weight: 760;
  text-underline-offset: 5px;
}

.hero-visual {
  min-width: 0;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper);
}

.hero-visual img {
  width: 96%;
  height: auto;
  max-height: calc(100vh - 140px);
  display: block;
  object-fit: contain;
  object-position: 50% 50%;
}

.hero-caption {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px clamp(24px, 4vw, 68px) 16px;
  border-top: 1px solid var(--rule);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-align: right;
  text-transform: uppercase;
}

.section-shell {
  padding-inline: clamp(24px, 5vw, 82px);
}

.calculator {
  padding-bottom: clamp(72px, 8vw, 116px);
  background: var(--paper);
}

.calculator-layout {
  padding: clamp(72px, 8vw, 116px) 0 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(620px, 1.28fr);
  align-items: start;
  gap: clamp(72px, 9vw, 150px);
}

.split-heading h2,
.agent-intro h2,
.automation-layout h2,
.impact-heading h2,
.pilot h2 {
  font-size: clamp(58px, 7vw, 110px);
  line-height: 0.92;
}

.split-heading > p,
.agent-intro > p:last-child,
.pilot-copy > p {
  max-width: 650px;
  margin: 30px 0 0;
  font-family: var(--display);
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1.42;
}

.calculator-heading {
  max-width: 530px;
}

.calculator-heading h2 {
  font-size: clamp(58px, 5.4vw, 84px);
  line-height: 0.94;
}

.calculator-heading > p:last-child {
  max-width: 420px;
  margin: 26px 0 0;
  font-family: var(--display);
  font-size: clamp(19px, 1.45vw, 24px);
  line-height: 1.4;
}

.calculator-workbench {
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
}

.calculator-inputs label,
.pilot-form label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.calculator-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
}

.calculator-inputs label {
  min-height: 126px;
  padding: 24px 24px 22px;
  border-right: 1px solid var(--rule);
}

.calculator-inputs label:first-child {
  padding-left: 0;
}

.calculator-inputs label:last-child {
  border-right: 0;
}

.calculator-inputs label > span:first-child,
.pilot-form label > span:first-child {
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calculator-inputs input,
.pilot-form input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--display);
}

.calculator-inputs input {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 600;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

input[type="number"] {
  appearance: textfield;
}

.input-with-unit {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.input-with-unit b {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}

.calculator-result {
  min-width: 0;
  min-height: 300px;
  padding: 36px 0 30px;
  display: flex;
  flex-direction: column;
}

.calculator-result > span {
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calculator-result > strong {
  max-width: 100%;
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(78px, 8vw, 126px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.calculator-summary {
  margin-top: auto;
  padding-top: 30px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  border-top: 1px solid var(--rule);
}

.calculator-summary p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.calculator-summary strong {
  font-weight: 820;
}

.pending {
  padding-bottom: clamp(86px, 10vw, 140px);
  background: var(--paper-blue);
}

.split-heading {
  padding: clamp(78px, 9vw, 126px) 0 70px;
  display: grid;
  grid-template-columns: minmax(520px, 1.3fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: clamp(60px, 10vw, 170px);
}

.split-heading h2 {
  max-width: 900px;
}

.split-heading > p {
  margin-bottom: 10px;
}

.journey-figure {
  margin: 0;
  border-top: 1px solid var(--blue);
}

.journey-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.58 / 1;
  display: block;
  object-fit: cover;
}

.journey-figure figcaption {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--rule);
}

.journey-figure figcaption span {
  min-height: 46px;
  padding: 15px 8px 0;
  border-right: 1px solid var(--rule);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.journey-figure figcaption span:last-child {
  border-right: 0;
}

.agent {
  padding-bottom: clamp(88px, 10vw, 150px);
  background: var(--paper-bright);
  color: var(--blue);
}

.agent-intro {
  padding: clamp(64px, 7vw, 100px) 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.agent-intro .eyebrow {
  margin-bottom: 24px;
}

.agent-intro h2 {
  max-width: 620px;
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 1;
}

.agent-copy > p:last-child {
  max-width: 500px;
  margin: 28px 0 0;
  font-family: var(--display);
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.45;
  color: var(--blue);
}

.communication-figure {
  margin: 0;
  min-width: 0;
}

.communication-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
}

.agent-stages {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
}

.agent-stages li {
  min-height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--rule);
}

.agent-stages li:last-child {
  border-right: 0;
}

.agent-stages span {
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.agent-stages strong {
  margin-top: auto;
  font-family: var(--display);
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.agent-stages p {
  max-width: 210px;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.automation {
  padding-bottom: clamp(90px, 11vw, 156px);
  background: var(--paper-bright);
}

.automation-layout {
  padding-top: clamp(82px, 10vw, 146px);
  display: grid;
  grid-template-columns: minmax(460px, 1fr) minmax(440px, 0.8fr);
  gap: clamp(70px, 10vw, 170px);
}

.automation-layout h2 {
  max-width: 860px;
}

.automation-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--blue);
}

.automation-list li {
  min-height: 108px;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.automation-list span {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.automation-list p {
  max-width: 440px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.22;
}

.impact {
  padding-bottom: clamp(88px, 10vw, 150px);
  background: var(--paper);
}

.impact-heading {
  max-width: 950px;
  padding: clamp(80px, 9vw, 132px) 0 76px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
}

.impact-grid article {
  min-height: 280px;
  padding: 25px 32px 32px 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--rule);
}

.impact-grid article + article {
  padding-left: 32px;
}

.impact-grid article:last-child {
  border-right: 0;
}

.impact-grid span {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.impact-grid h3 {
  max-width: 320px;
  margin-top: auto;
  font-size: clamp(42px, 4.4vw, 68px);
  line-height: 0.95;
}

.impact-grid p {
  max-width: 360px;
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.pilot {
  padding: 64px max(32px, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "copy form" "art form";
  gap: 24px clamp(40px, 6vw, 88px);
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.pilot-copy {
  grid-area: copy;
  min-width: 0;
}

.pilot h2 {
  max-width: 590px;
  font-size: clamp(44px, 4.2vw, 60px);
  line-height: 1;
}

.eyebrow-inverse {
  color: var(--white);
}

.pilot-copy > p {
  max-width: 510px;
  font-size: 20px;
  margin-top: 24px;
}

.pilot-copy > .eyebrow {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-size: 11px;
}

.pilot-form {
  grid-area: form;
  align-self: center;
  min-width: 0;
  max-width: 690px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}

.pilot-form label {
  min-height: 72px;
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--rule-light);
}

.pilot-form input {
  color: var(--white);
  font-size: 22px;
}

.pilot-form input:focus-visible {
  outline-color: rgba(255, 254, 249, 0.55);
}

.form-wide {
  grid-column: 1 / -1;
}

.button-inverse {
  width: 100%;
  margin-top: 12px;
  background: var(--white);
  color: var(--blue);
}

.button-inverse:hover {
  background: var(--paper);
}

.form-note {
  margin: -8px 0 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pilot-art {
  grid-area: art;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--blue);
}

.pilot-art img {
  width: 100%;
  max-height: 240px;
  height: auto;
  min-height: 0;
  display: block;
  object-fit: contain;
  object-position: center;
}

.footer {
  min-height: 112px;
  padding: 28px clamp(24px, 5vw, 82px);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 42px;
  background: var(--blue-deep);
  color: var(--white);
  border-top: 1px solid var(--rule-light);
}

.footer p {
  margin: 0;
  font-size: 11px;
  font-weight: 740;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .hero {
    min-height: 820px;
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  }

  .hero-copy {
    padding-inline: 38px;
  }

  h1 {
    font-size: clamp(58px, 6vw, 76px);
  }

  .calculator-layout,
  .split-heading,
  .automation-layout {
    grid-template-columns: 1fr;
  }

  .calculator-layout,
  .split-heading,
  .automation-layout {
    gap: 50px;
  }


}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    height: 78px;
    padding-block: 19px;
  }

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

  .nav {
    position: absolute;
    inset: 78px 0 auto;
    padding: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: var(--paper-bright);
    border-bottom: 1px solid var(--blue);
  }

  .nav[data-open="true"] {
    display: flex;
  }

  .nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .hero {
    padding-top: 78px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .hero-copy {
    padding: 72px 24px 44px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  h1 {
    font-size: clamp(62px, 16vw, 92px);
  }

  .hero-visual {
    min-height: 340px;
  }

  .hero-visual img {
    width: min(100%, 520px);
    height: auto;
    max-height: 520px;
  }

  .hero-caption {
    text-align: left;
  }

  .split-heading h2,
  .agent-intro h2,
  .automation-layout h2,
  .impact-heading h2,
  .pilot h2 {
    font-size: clamp(40px, 7vw, 56px);
  }

  .pilot {
    padding: 48px 24px;
    grid-template-areas: "copy" "form" "art";
    gap: 32px;
  }

  .calculator-heading h2 {
    font-size: clamp(50px, 11vw, 68px);
  }

  .calculator-layout,
  .agent-intro,
  .agent-stages,
  .impact-grid,
  .pilot,
  .footer {
    grid-template-columns: 1fr;
  }

  .calculator-layout {
    padding-top: 64px;
    gap: 46px;
  }

  .calculator-inputs {
    grid-template-columns: repeat(3, 1fr);
  }

  .calculator-inputs label {
    padding-inline: 18px;
  }

  .calculator-inputs label:first-child {
    padding-left: 0;
  }

  .calculator-result {
    min-height: 260px;
    padding-top: 30px;
  }

  .calculator-result > strong {
    font-size: clamp(72px, 14vw, 100px);
  }

  .calculator-summary {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 22px;
  }

  .split-heading {
    padding-bottom: 48px;
  }

  .journey-figure {
    margin-inline: -24px;
  }

  .journey-figure img {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .journey-figure figcaption {
    display: none;
  }


  .agent-stages li {
    min-height: 165px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .impact-grid article,
  .impact-grid article + article {
    min-height: 220px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .pilot-art img {
    min-height: 0;
  }

  .footer {
    gap: 18px;
  }
}

@media (max-width: 540px) {
  .hero-actions,
  .button-primary {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-visual {
    min-height: 300px;
  }

  .calculator-inputs,
  .pilot-form {
    grid-template-columns: 1fr;
  }

  .form-wide {
    grid-column: auto;
  }

  .calculator-inputs label {
    min-height: 84px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .calculator-inputs label:last-child {
    border-bottom: 0;
  }

  .calculator-summary {
    grid-template-columns: 1fr;
  }

  .calculator-result > strong {
    font-size: clamp(64px, 20vw, 88px);
  }

  .pilot-form {
    gap: 16px 20px;
  }
}

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

  .button {
    transition: none;
  }
}

/* Recorrido público de primera revisión. */
a,.text-link { text-decoration:none; }
.text-link { border:0; background:transparent; color:inherit; cursor:pointer; font-family:inherit; }
.funnel-note { max-width:620px; font-size:15px; line-height:1.65; margin-top:22px; }
.section-cta { margin-top:32px; }
.tool-groups { display:grid; gap:26px; }
.tool-groups h3 { margin:0 0 8px; font-family:var(--display); font-size:30px; font-weight:500; }
.tool-groups p { margin:0; font-size:18px; line-height:1.7; }
.tool-groups > div { padding-bottom:24px; border-bottom:1px solid var(--rule); }
.tool-groups .button { justify-self:start; }
.faq h2 { font-family:var(--display); font-size:clamp(36px,4vw,54px); font-weight:500; margin:0 0 32px; }
.faq details { border-top:1px solid var(--rule); padding:24px 0; }
.faq details:last-child { border-bottom:1px solid var(--rule); }
.faq summary { cursor:pointer; font-size:20px; line-height:1.4; }
.faq summary:focus-visible { outline:3px solid var(--blue); outline-offset:6px; }
.faq details p { max-width:820px; font-size:17px; line-height:1.7; margin:18px 0 0; }
.pilot { grid-template-areas:"copy art"; align-items:center; }
.pilot-copy .button { margin-top:24px; width:auto; }
.pilot-art img { max-height:420px; }
.footer { display:flex; flex-wrap:wrap; gap:22px 32px; }
.footer .wordmark { margin-right:auto; }
.footer a:not(.wordmark),.footer .text-link { font-size:13px; }
@media(max-width:820px) { .pilot { grid-template-areas:"copy" "art"; } .pilot-art img { max-height:240px; } }
@media(max-width:540px) { .hero-actions { gap:16px; } .funnel-note { font-size:14px; } .tool-groups h3 { font-size:26px; } .faq summary { font-size:18px; } }

.menu-toggle { border-bottom:0; }
