@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('ArialMT'), local('Arimo'), local('Liberation Sans');
  font-weight: 100 549;
  size-adjust: 106.5%;
  ascent-override: 91%;
  descent-override: 22.7%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Arimo Bold'), local('Liberation Sans Bold');
  font-weight: 550 900;
  size-adjust: 103%;
  ascent-override: 94%;
  descent-override: 23.4%;
  line-gap-override: 0%;
}
/* Respaldo con métricas ajustadas (medidas contra Arial/Arimo): evita saltos de diseño al cargar la fuente. */
@font-face {
  font-family: 'Bricolage Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Arimo Bold'), local('Liberation Sans Bold');
  font-weight: 600 800;
  size-adjust: 103.5%;
  ascent-override: 89.9%;
  descent-override: 26.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Bricolage Fallback';
  src: local('Arial'), local('ArialMT'), local('Arimo'), local('Liberation Sans');
  font-weight: 200 599;
  size-adjust: 102%;
  ascent-override: 91.2%;
  descent-override: 26.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: Inter;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #04345f;
  --green: #009444;
  --green-dark: #007a38;
  --ink: #222;
  --gray: #d6d6d6;
  --white: #fff;
  --muted: #5d6b76;
  --soft: #f5f7f8;
  --green-soft: #eef7f1;
  --border: #dce3e7;
  --heading: 'Bricolage Grotesque', 'Bricolage Fallback', Arial, sans-serif;
  --body: Inter, 'Inter Fallback', Arial, sans-serif;
  --radius: 12px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font: 400 1rem/1.7 var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
::selection {
  color: var(--white);
  background: var(--navy);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 5px;
}
.contact-section :focus-visible,
.process-section :focus-visible {
  outline-color: #a6e8c0;
}
.form-panel :focus-visible {
  outline-color: var(--green-dark);
}
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.035em;
  line-height: 1.25;
}
h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
}
h3 {
  font-size: 1.03rem;
  letter-spacing: -0.02em;
}
svg {
  display: block;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-150%);
  border: 2px solid var(--navy);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.navigation {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
}
.brand-logo {
  display: block;
  width: clamp(140px, 16vw, 184px);
  height: auto;
}
.nav-links {
  display: flex;
  gap: 12px 24px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.81rem;
  font-weight: 600;
}
.nav-links > a:not(.button):hover {
  color: var(--green-dark);
}
.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 6px;
  color: var(--navy);
  display: grid;
  place-items: center;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 50px;
  padding: 13px 22px;
  background: var(--green-dark);
  border: 1px solid var(--green-dark);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.45;
  transition:
    background 0.18s,
    transform 0.18s,
    border-color 0.18s;
  text-align: center;
}
.button:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
}
.button span {
  font-size: 1.2rem;
  line-height: 1;
}
.button-small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 0.78rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  background: none;
  border: 0;
  line-height: 1.5;
}
.text-link:hover {
  color: var(--green-dark);
}
.text-link span {
  font-size: 1.2rem;
}
.eyebrow {
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}
.eyebrow-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
}
.hero {
  padding-top: 48px;
}
.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  max-width: 620px;
}
.hero h1 > span {
  color: var(--green-dark);
}
.hero-description {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 565px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-block: 28px 20px;
}
.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.72rem;
  color: var(--muted);
}
.hero-note .icon {
  color: var(--green-dark);
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.hero-microcopy {
  max-width: 500px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.7;
}
.flow-preview {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 48px #04345f0a;
  overflow: hidden;
}
.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--soft);
}
.preview-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--navy);
  font-weight: 600;
}
.status-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.flow-preview .status-dot {
  background: var(--muted);
}
.pill {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 4px 7px;
  color: var(--muted);
  white-space: nowrap;
}
.preview-body {
  padding: 22px;
}
.incoming-message {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--green-soft);
  border: 1px solid #d5e9dc;
  border-radius: 8px;
}
.message-icon {
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 8px;
  width: 37px;
  height: 37px;
  flex: none;
  color: var(--green-dark);
}
.small-label {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}
.incoming-message p {
  font-size: 0.76rem;
  color: var(--navy);
  line-height: 1.65;
  margin-top: 4px;
}
.message-time {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 0.53rem;
  color: var(--muted);
}
.mini-flow {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.mini-flow li {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
}
.mini-flow li:not(:last-child)::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 22px;
  top: 40px;
  left: 19px;
  background: var(--border);
}
.flow-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 9px;
  flex: none;
  color: var(--navy);
}
.flow-icon .icon {
  width: 19px;
  height: 19px;
}
.mini-flow strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}
.mini-flow div > span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
}
.flow-check {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green-dark);
  border: 1px solid #d5e9dc;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  margin-left: auto;
  flex: none;
}
.flow-preview .flow-check {
  color: var(--muted);
  border-color: var(--border);
}
.preview-result {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}
.result-icon {
  font-size: 1.5rem;
}
.preview-result strong {
  display: block;
  font-size: 0.77rem;
}
.preview-result div > span {
  display: block;
  font-size: 0.65rem;
  color: #c9d8e4;
}
.preview-caption {
  font-size: 0.68rem;
  line-height: 1.6;
  text-align: center;
  padding: 0 12px 16px;
  color: var(--muted);
}
.principles {
  display: grid;
  gap: 14px;
  padding-block: 30px;
  margin-top: 38px;
  border-top: 1px solid var(--border);
  font-size: 0.74rem;
  color: var(--navy);
  font-weight: 500;
}
.principles > span {
  display: flex;
  gap: 10px;
  align-items: center;
}
.principles .icon {
  color: var(--green-dark);
  width: 19px;
  height: 19px;
}
.section {
  padding-block: 64px;
}
.section-soft {
  background: var(--soft);
}
.section-heading {
  margin-bottom: 32px;
}
.section-heading h2 {
  margin-bottom: 18px;
}
.section-heading > p,
.heading-split > p {
  color: var(--muted);
  font-size: 0.93rem;
  max-width: 535px;
}
.heading-split {
  display: grid;
  gap: 8px;
}
.section-heading .eyebrow {
  color: var(--green-dark);
  font-size: 0.65rem;
}
.problem-grid {
  display: grid;
  gap: 14px;
}
.problem-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.18s;
}
.problem-card:hover {
  border-color: #92b3a0;
}
.problem-card > .icon {
  color: var(--green-dark);
  width: 25px;
  height: 25px;
  margin-bottom: 25px;
}
.card-index {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.problem-card h3 {
  margin-bottom: 10px;
  font-size: 0.97rem;
}
.problem-card p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 310px;
}
.section-closing {
  margin-top: 27px;
  font-size: 0.85rem;
  color: var(--muted);
}
.section-closing strong {
  color: var(--navy);
  font-weight: 600;
}
.solution-grid {
  display: grid;
  gap: 38px;
}
.solution-copy > p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 465px;
  color: var(--muted);
  font-size: 0.94rem;
}
.solution-copy > .text-link {
  margin-top: 20px;
}
.scope-note {
  display: flex;
  gap: 11px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  max-width: 470px;
  color: var(--muted);
  font-size: 0.75rem;
}
.scope-note .icon {
  width: 18px;
  height: 18px;
  color: var(--navy);
  margin-top: 3px;
}
.benefit-list {
  display: grid;
  gap: 0;
}
.benefit {
  display: flex;
  gap: 19px;
  padding-block: 24px;
  border-bottom: 1px solid var(--border);
}
.benefit:first-child {
  padding-top: 0;
}
.benefit:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.benefit-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 47px;
  height: 47px;
  background: var(--green-soft);
  border-radius: 10px;
  color: var(--green-dark);
}
.benefit h3 {
  font-size: 1rem;
  margin: 1px 0 8px;
}
.benefit p {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 390px;
}
.process-section {
  background: var(--navy);
  color: var(--white);
}
.process-section .eyebrow {
  color: #a6e8c0;
}
.process-section h2,
.process-section h3 {
  color: var(--white);
}
.process-section .section-heading > p {
  color: #c7d5e0;
}
.process-grid {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 38px 0 0;
  gap: 26px;
}
.process-grid li {
  position: relative;
  border-top: 1px solid #ffffff40;
  padding-top: 24px;
}
.process-number {
  display: block;
  color: #a6e8c0;
  font: 700 1.45rem/1.3 var(--heading);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.process-grid h3 {
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 230px;
  margin-bottom: 13px;
  letter-spacing: -0.02em;
}
.process-grid p {
  font-size: 0.81rem;
  line-height: 1.85;
  color: #c7d5e0;
  max-width: 245px;
}
.demo-workspace {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.workspace-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}
.workspace-top > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  color: var(--navy);
  font-weight: 600;
}
.workspace-top .icon {
  width: 18px;
  height: 18px;
}
.demo-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 18px;
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.demo-steps button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-align: left;
}
.demo-steps button > span {
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  background: var(--soft);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: none;
}
.demo-steps button[aria-pressed='true'] {
  background: var(--green-soft);
  border-color: #9fcab0;
  color: var(--green-dark);
}
.demo-steps button[aria-pressed='true'] > span {
  background: var(--green-dark);
  color: var(--white);
}
.demo-steps button:hover {
  border-color: var(--green-dark);
}
.workspace-body {
  display: grid;
  gap: 24px;
  padding: 20px;
}
.sample-chat {
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
  align-self: start;
}
.chat-top {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.avatar {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 700;
}
.chat-top strong,
.chat-top div > span {
  display: block;
}
.chat-top strong {
  font-size: 0.77rem;
  color: var(--navy);
}
.chat-top div > span {
  font-size: 0.62rem;
  color: var(--muted);
}
.chat-top > .icon {
  margin-left: auto;
  color: var(--green-dark);
  width: 18px;
  height: 18px;
}
.chat-messages {
  padding: 20px 16px;
  background: var(--soft);
  display: grid;
  gap: 15px;
}
.chat-bubble {
  width: 90%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0 9px 9px;
  font-size: 0.77rem;
  line-height: 1.8;
}
.chat-bubble > span {
  display: block;
  font-size: 0.56rem;
  color: var(--muted);
  text-align: right;
  margin-top: 9px;
}
.chat-reply {
  justify-self: end;
  background: var(--green-soft);
  border-color: #d5e9dc;
  border-radius: 9px 0 9px 9px;
}
.chat-context {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.61rem;
  margin-top: 8px;
}
.chat-context .icon {
  width: 16px;
  height: 16px;
}
.demo-detail {
  align-self: center;
}
.detail-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.detail-kicker > span:last-child {
  font-size: 0.62rem;
  color: var(--muted);
}
.detail-status {
  display: inline-block;
  padding: 3px 9px;
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid #d5e9dc;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.demo-detail h3 {
  font-size: 1.17rem;
  margin-bottom: 12px;
  line-height: 1.45;
}
.demo-detail > p {
  font-size: 0.82rem;
  color: var(--muted);
  min-height: 70px;
}
.record-fields {
  padding: 0;
  margin: 20px 0;
}
.record-fields > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 0.72rem;
}
.record-fields dt {
  color: var(--muted);
}
.record-fields dd {
  margin: 0;
  text-align: right;
  color: var(--navy);
  font-weight: 600;
  max-width: 65%;
}
.demo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.demo-controls .text-link {
  font-size: 0.7rem;
}
.workspace-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  color: var(--muted);
  font-size: 0.65rem;
  background: var(--soft);
}
.workspace-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}
.product-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 17px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}
.product-note .pill {
  margin-top: 2px;
}
.product-note strong {
  color: var(--navy);
  font-weight: 600;
}
.faq-grid {
  display: grid;
  gap: 26px;
}
.faq-intro > p:not(.eyebrow) {
  max-width: 290px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 18px;
}
.faq-intro .text-link {
  margin-top: 18px;
}
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.87rem;
  line-height: 1.7;
  min-height: 24px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--green-dark);
  font-weight: 400;
  flex: none;
}
.faq-list details[open] summary::after {
  content: '−';
}
.faq-list details > p {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 14px 32px 4px 0;
  line-height: 1.9;
}
.contact-section {
  background: var(--navy);
  color: var(--white);
}
.contact-grid {
  display: grid;
  gap: 35px;
  align-items: start;
}
.contact-copy .eyebrow {
  color: #a6e8c0;
}
.contact-copy h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.contact-copy > p:not(.eyebrow) {
  max-width: 400px;
  margin-top: 22px;
  color: #c7d5e0;
  font-size: 0.92rem;
  line-height: 1.9;
}
.contact-benefits {
  list-style: none;
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 30px 0;
  font-size: 0.79rem;
  color: #e4edf3;
}
.contact-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.contact-benefits .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: #a6e8c0;
}
.direct-contact {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #ffffff33;
  max-width: 380px;
}
.direct-contact p {
  font-size: 0.74rem;
  color: #c7d5e0;
  margin-bottom: 7px;
}
.direct-contact a {
  display: block;
  font-size: 0.83rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.direct-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.whatsapp-contact {
  margin-top: 15px;
}
.contact-card {
  padding: 25px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
}
.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.contact-card > p {
  margin: 14px 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.8;
}
.contact-submit {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}
.contact-card .contact-email-label {
  margin: 22px 0 3px;
  font-size: 0.72rem;
}
.contact-email {
  color: var(--navy);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 0.18em;
}
.contact-card .contact-privacy {
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
}
.contact-privacy a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.form-intro {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  gap: 0;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--navy);
}
.field input,
.field select,
.field textarea,
.email-backup textarea {
  min-height: 46px;
  width: 100%;
  min-width: 0;
  background: var(--white);
  border: 1px solid #bac6ce;
  border-radius: 5px;
  padding: 11px 12px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink);
}
.field textarea {
  resize: vertical;
  min-height: 95px;
}
.field select {
  padding-right: 8px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #67747e;
  opacity: 1;
}
.field small {
  font-size: 0.62rem;
  color: var(--muted);
}
.field-error {
  font-size: 0.68rem;
  color: #a82121;
  line-height: 1.6;
}
.field-error:empty {
  display: none;
}
.field [aria-invalid='true'] {
  border-color: #b83131;
}
.consent-field {
  margin-block: 3px 18px;
}
.consent-field label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.67rem;
  color: var(--muted);
  line-height: 1.8;
  cursor: pointer;
}
.consent-field input {
  accent-color: var(--green-dark);
  width: 17px;
  height: 17px;
  flex: none;
  margin: 2px 0 0;
}
.consent-field .field-error {
  display: block;
  margin-top: 5px;
}
.privacy-notice {
  font-size: 0.63rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 20px;
}
.privacy-notice a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-submit {
  width: 100%;
}
.form-status {
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.form-status:not(:empty) {
  margin-top: 15px;
  padding: 12px;
  border-radius: 5px;
  background: var(--soft);
}
.form-status[data-state='error'] {
  color: #a82121;
  background: #fff1f1;
}
.form-status[data-state='success'] {
  color: var(--green-dark);
  background: var(--green-soft);
}
.email-backup {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
}
.email-backup p {
  font-size: 0.7rem;
  color: var(--muted);
}
.email-backup textarea {
  font-size: 0.72rem;
  resize: vertical;
}
.email-backup > a {
  font-size: 0.72rem;
  color: var(--navy);
  text-decoration: underline;
}
.form-loading {
  font-size: 0.8rem;
  color: var(--muted);
}
noscript {
  font-size: 0.8rem;
}
noscript a {
  text-decoration: underline;
}
.site-footer {
  padding-top: 40px;
}
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-bottom: 32px;
}
.footer-main p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 10px;
}
.footer-main .lab-credit {
  font-size: 0.65rem;
  margin-top: 5px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 500;
}
.footer-navigation a:hover,
.legal-links a:hover {
  color: var(--green-dark);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 20px;
  color: var(--muted);
  font-size: 0.62rem;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.desktop-only {
  display: none;
}
@media (max-width: 759px) {
  .js .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 6px 0 10px;
    gap: 3px;
  }
  .navigation > .brand .brand-logo {
    width: clamp(136px, 38vw, 152px);
  }
  .js .nav-links.is-open {
    display: flex;
  }
  .js .nav-links > a:not(.button) {
    padding: 10px 0;
  }
  .hero-actions > .button {
    width: 100%;
  }
  .hero-actions > .text-link {
    padding-block: 4px;
  }
  .preview-header {
    padding: 16px;
  }
  .workspace-top {
    flex-wrap: wrap;
  }
  .product-note {
    flex-direction: column;
    gap: 9px;
  }
}
@media (min-width: 600px) {
  .container {
    width: min(1200px, calc(100% - 64px));
  }
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .principles > span {
    font-size: 0.68rem;
    align-items: flex-start;
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-card {
    padding: 32px;
  }
  .demo-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .demo-steps button {
    font-size: 0.68rem;
  }
  .flow-preview {
    max-width: 530px;
  }
  .hero-actions {
    gap: 22px;
  }
}
@media (min-width: 760px) {
  .menu-toggle {
    display: none;
  }
  .section {
    padding-block: 88px;
  }
  .hero {
    padding-top: 60px;
  }
  .hero-grid {
    gap: 44px;
  }
  .flow-preview {
    width: 100%;
    justify-self: center;
  }
  .principles {
    margin-top: 50px;
    padding-block: 26px;
  }
  .principles > span {
    font-size: 0.75rem;
    align-items: center;
    justify-content: center;
  }
  .principles > span + span {
    border-left: 1px solid var(--border);
  }
  .heading-split {
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: end;
  }
  .heading-split > p {
    margin-bottom: 20px;
  }
  .workspace-body {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    padding: 30px;
  }
  .demo-detail > p {
    min-height: 88px;
  }
  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 45px;
  }
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
  }
  .contact-copy {
    padding-top: 15px;
  }
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-navigation {
    max-width: 450px;
    justify-content: flex-end;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .desktop-only {
    display: initial;
  }
}
@media (min-width: 1000px) {
  .navigation {
    min-height: 84px;
  }
  .nav-links {
    gap: 28px;
    font-size: 0.82rem;
  }
  .navigation > .brand .brand-logo {
    width: 184px;
  }
  .footer-main .brand-logo {
    width: 210px;
  }
  .hero {
    padding-top: 76px;
  }
  .hero-grid {
    grid-template-columns: 1.12fr 1fr;
    gap: 64px;
  }
  .hero-actions {
    gap: 22px;
  }
  .hero-description {
    font-size: 1.02rem;
  }
  .hero-note {
    font-size: 0.71rem;
  }
  .principles {
    margin-top: 72px;
  }
  .preview-body {
    padding: 24px;
  }
  .preview-header {
    padding: 18px 24px;
  }
  .section {
    padding-block: 100px;
  }
  .section-heading {
    margin-bottom: 40px;
  }
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .problem-card {
    padding: 29px 30px;
  }
  .problem-card h3 {
    font-size: 1.03rem;
  }
  .solution-grid {
    grid-template-columns: 1fr 1fr;
    gap: 95px;
    align-items: center;
  }
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin-top: 48px;
  }
  .process-number {
    margin-bottom: 29px;
  }
  .workspace-body {
    gap: 65px;
    padding: 36px 48px;
  }
  .demo-steps {
    padding: 22px 48px;
    gap: 18px;
  }
  .demo-steps button {
    font-size: 0.76rem;
    padding: 12px;
  }
  .demo-detail > p {
    min-height: 70px;
  }
  .workspace-top {
    padding: 18px 26px;
  }
  .workspace-note {
    padding: 16px 26px;
  }
  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 95px;
  }
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
  }
  .contact-copy {
    padding-top: 25px;
  }
  .contact-card {
    padding: 34px;
  }
  .footer-navigation {
    max-width: none;
  }
  .footer-main {
    padding-bottom: 38px;
  }
  .site-footer {
    padding-top: 46px;
  }
}
/* Tamaños de lectura cómodos; 16px en controles móviles evita el zoom de iOS. */
.problem-card p,
.benefit p,
.process-grid p,
.faq-list details > p {
  font-size: 0.88rem;
}
.field label {
  font-size: 0.8125rem;
}
.field input,
.field select,
.field textarea {
  font-size: 1rem;
}
.field small,
.form-intro,
.privacy-notice,
.consent-field label {
  font-size: 0.75rem;
}
.preview-caption,
.workspace-note,
.product-note .pill,
.pill {
  font-size: 0.6875rem;
}
.mini-flow strong,
.incoming-message p {
  font-size: 0.8125rem;
}
.mini-flow div > span {
  font-size: 0.75rem;
}
.hero-note {
  font-size: 0.78rem;
}
@media (min-width: 760px) {
  .field input,
  .field select,
  .field textarea {
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
.form-trap {
  position: fixed !important;
  inset: 0 auto auto 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.form-trap input {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Presentación del aviso de privacidad. */
.privacy-document {
  max-width: 860px;
  padding-top: 36px;
  padding-bottom: 72px;
  color: #222;
  line-height: 1.75;
}
.privacy-document h1,
.privacy-document h2 {
  color: #04345f;
  line-height: 1.25;
}
.privacy-document h1 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 5vw, 3.25rem);
}
.privacy-document h2 {
  margin: 36px 0 12px;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
}
.privacy-document p,
.privacy-document ul {
  max-width: 75ch;
}
.privacy-document li + li {
  margin-top: 6px;
}
.privacy-document a {
  color: #006b35;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}
.privacy-draft-notice,
.privacy-pending {
  border: 1px solid #8a5b00;
  border-radius: 10px;
  background: #fff6dc;
  color: #493300;
}
.privacy-draft-notice {
  margin: 18px 0 28px;
  padding: 16px 18px;
}
.privacy-draft-notice strong {
  display: block;
  margin-bottom: 4px;
}
.privacy-pending {
  padding: 12px 14px;
}
@media (max-width: 600px) {
  .privacy-document {
    padding-top: 24px;
    padding-bottom: 48px;
  }
  .privacy-draft-notice {
    padding: 14px;
  }
}
.system-grid,
.offer-grid,
.service-grid,
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 34px;
}
.system-card,
.offer-card,
.service-grid article,
.team-grid article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgb(4 52 95 / 5%);
}
.system-card > span,
.offer-card > .eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-dark);
}
.system-card h3,
.service-grid h3,
.team-grid h3,
.offer-card h3 {
  margin-block: 12px;
}
.system-card p,
.service-grid p,
.team-grid p,
.offer-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.9rem;
}
.offer-card ul {
  padding-left: 1.2rem;
  margin-block: 20px;
  color: var(--ink);
}
.offer-phase-heading {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgb(148 180 207 / 17%);
  color: #68e4a2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.offer-phase-heading + ul {
  margin-top: 12px;
}
.offer-card li {
  padding-left: 4px;
  margin-block: 8px;
}
.offer-featured {
  border-color: var(--green);
  background: var(--green-soft);
}
.offer-featured h3 {
  color: var(--navy);
}
.offer-card .scope-note,
.cost-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 20px;
}
.service-grid article {
  border-top: 3px solid var(--green);
}
.team-grid article {
  background: var(--soft);
}
.language-link {
  font-size: 0.8rem;
  font-weight: 700;
}
@media (min-width: 760px) {
  .system-grid,
  .service-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .offer-card {
    padding: 32px;
  }
}
@media (min-width: 1000px) {
  .system-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Dirección visual premium B2B: marino profundo, esmeralda y superficies en capas. */
body {
  color: #e7f0f8;
  background: radial-gradient(ellipse at 84% 8%, rgb(0 137 114 / 13%), transparent 31rem), #031426;
}
h1,
h2,
h3 {
  color: #f5f8fc;
}
.site-header {
  background: rgb(3 20 38 / 96%);
  border-color: rgb(153 183 208 / 13%);
  backdrop-filter: blur(14px);
}
.nav-links,
.footer-navigation {
  color: #d3dfeb;
}
.nav-links > a:not(.button):hover,
.footer-navigation a:hover,
.legal-links a:hover {
  color: #4be08c;
}
.menu-toggle {
  color: #e7f0f8;
  background: #0b2136;
  border-color: #29445c;
}
.button {
  background: linear-gradient(110deg, #23c977, #078c53);
  border-color: #19b96b;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgb(8 169 91 / 17%);
}
.button:hover {
  background: linear-gradient(110deg, #32db86, #0c9e60);
  border-color: #32db86;
}
.text-link {
  color: #dce8f2;
}
.text-link:hover {
  color: #4be08c;
}
.eyebrow,
.section-heading .eyebrow {
  color: #45d98b;
}
.eyebrow-line {
  background: #22c875;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 20px;
  background:
    radial-gradient(ellipse at 88% 36%, rgb(0 142 111 / 15%), transparent 31rem),
    radial-gradient(ellipse at 4% 68%, rgb(13 78 145 / 18%), transparent 35rem);
}
.hero h1 > span {
  color: #35d784;
}
.hero-description,
.hero-note,
.hero-microcopy,
.section-heading > p,
.heading-split > p,
.solution-copy > p:not(.eyebrow),
.scope-note,
.problem-card p,
.system-card p,
.service-grid p,
.team-grid p,
.offer-card > p:not(.eyebrow),
.process-grid p,
.benefit p,
.faq-intro > p:not(.eyebrow),
.faq-list details > p {
  color: #a9bbcd;
}
.hero-note .icon,
.hero-note strong,
.hero-note a {
  color: #55dfa0;
}
.flow-preview,
.demo-workspace,
.problem-card,
.system-card,
.offer-card,
.service-grid article,
.team-grid article,
.contact-card {
  color: #e7f0f8;
  background: linear-gradient(145deg, #0d263d, #091d32 78%);
  border-color: rgb(148 180 207 / 13%);
  box-shadow: 0 14px 36px rgb(0 8 19 / 16%);
}
.flow-preview {
  background: linear-gradient(145deg, #0b263a, #071a2d 78%);
}
.problem-card:hover,
.service-grid article:hover {
  border-color: rgb(60 211 133 / 48%);
}
.problem-card > .icon,
.system-card > span,
.service-grid article > .eyebrow,
.offer-card > .eyebrow,
.team-grid .eyebrow {
  color: #42d88a;
}
.section-soft {
  background: radial-gradient(ellipse at 50% 0%, rgb(12 63 108 / 18%), transparent 42rem), #061a2f;
}
.principles {
  color: #d4e0eb;
  border-color: rgb(148 180 207 / 16%);
}
.principles .icon,
.benefit-icon {
  color: #4be08c;
}
.section-closing strong,
.scope-note .icon,
.record-fields dd {
  color: #edf4fa;
}
.benefit {
  border-color: rgb(148 180 207 / 17%);
}
.benefit-icon,
.message-icon,
.flow-icon {
  background: #0b3a3a;
  border-color: rgb(48 210 132 / 20%);
}
.process-section,
.contact-section {
  background: radial-gradient(ellipse at 72% 10%, rgb(0 142 111 / 16%), transparent 34rem), #061d35;
}
.process-section .eyebrow,
.contact-copy .eyebrow {
  color: #65e5a3;
}
.process-section .section-heading > p,
.process-grid p,
.contact-copy > p:not(.eyebrow),
.contact-benefits,
.direct-contact p {
  color: #b7c8d7;
}
.process-grid li {
  border-color: rgb(160 191 215 / 25%);
}
.process-number {
  color: #58df9b;
}
.preview-header,
.workspace-top,
.chat-top {
  background: #102b42;
  border-color: rgb(148 180 207 / 14%);
}
.preview-label,
.workspace-top > span:first-child,
.chat-top strong,
.mini-flow strong,
.incoming-message p {
  color: #e9f1f8;
}
.preview-header .pill,
.pill {
  color: #c0cfdd;
  background: #0b2136;
  border-color: #29445c;
}
.incoming-message,
.chat-reply {
  background: #0b3438;
  border-color: rgb(54 205 129 / 22%);
}
.message-icon {
  color: #56df9b;
}
.mini-flow li:not(:last-child)::after {
  background: #29445c;
}
.small-label,
.message-time,
.mini-flow div > span,
.detail-kicker > span:last-child,
.preview-caption,
.chat-top div > span,
.chat-bubble > span,
.chat-context,
.record-fields dt,
.workspace-note {
  color: #a9bbcd;
}
.flow-icon {
  color: #64dfa0;
}
.mini-flow .flow-check {
  color: #55dfa0;
  border-color: rgb(63 213 139 / 40%);
}
.preview-result {
  background: linear-gradient(110deg, #0b4e58, #0a3e50);
}
.preview-result div > span {
  color: #d3e4ec;
}
.demo-steps,
.workspace-note {
  border-color: rgb(148 180 207 / 14%);
}
.demo-steps button,
.chat-messages,
.chat-top,
.chat-bubble {
  color: #dbe6ef;
  background: #0a2035;
  border-color: #29445c;
}
.demo-steps button > span,
.avatar {
  color: #c9d8e5;
  background: #14314a;
}
.demo-steps button[aria-pressed='true'] {
  color: #83efb2;
  background: #0c383a;
  border-color: #25ae71;
}
.demo-steps button[aria-pressed='true'] > span {
  color: #031426;
  background: #4be08c;
}
.demo-steps button:hover {
  border-color: #42d88a;
}
.chat-reply {
  background: #0b3438;
}
.detail-status {
  color: #8cebb5;
  background: #0b3438;
  border-color: #1e7052;
}
.record-fields > div,
.product-note,
.workspace-note {
  border-color: rgb(148 180 207 / 17%);
}
.product-note {
  color: #c1d0dd;
}
.product-note strong {
  color: #eff5fa;
}
.offer-featured {
  border-color: #16895e;
  background: linear-gradient(145deg, #0a3039, #0a2036 78%);
  box-shadow: 0 16px 42px rgb(0 143 88 / 13%);
}
.offer-featured h3 {
  color: #f5f8fc;
}
.offer-card ul {
  color: #dce7f0;
}
.offer-card .scope-note,
.cost-note {
  color: #a9bbcd;
  border-color: rgb(148 180 207 / 17%);
}
.service-grid article {
  border-top-color: #24c977;
}
.team-grid article {
  background: #0a2035;
}
.faq-list,
.faq-list details {
  border-color: rgb(148 180 207 / 18%);
}
.faq-list summary {
  color: #e5eef6;
}
.faq-list summary::after {
  color: #4be08c;
}
.contact-card {
  background: linear-gradient(145deg, #102a42, #0a2035);
  border-color: rgb(155 187 212 / 18%);
}
.contact-card h3,
.contact-email,
.contact-privacy a {
  color: #f2f7fb;
}
.contact-card > p,
.contact-card .contact-privacy {
  color: #b4c5d4;
}
.contact-card .contact-privacy {
  border-color: rgb(155 187 212 / 18%);
}
.direct-contact {
  border-color: rgb(220 237 248 / 24%);
}
.site-footer {
  background: #020e1c;
  border-top: 1px solid rgb(148 180 207 / 13%);
}
.footer-main p,
.footer-bottom {
  color: #9fb2c4;
}
.footer-navigation {
  color: #d5e0e9;
}
.footer-bottom {
  border-color: rgb(148 180 207 / 15%);
}
:focus-visible {
  outline-color: #77efad;
}
.privacy-document {
  color: #d9e5ef;
  background: linear-gradient(145deg, #0d263d, #091d32 78%);
  border: 1px solid rgb(148 180 207 / 16%);
  border-radius: 16px;
  padding: clamp(24px, 5vw, 56px);
  margin-block: 38px 72px;
}
.privacy-document h1,
.privacy-document h2 {
  color: #f2f7fb;
}
.privacy-document a {
  color: #5be29b;
}
.privacy-draft-notice,
.privacy-pending {
  background: #322910;
  border-color: #94772b;
  color: #f6e9b9;
}

/* Applied AI: a compact capability section within the existing premium system. */
.ai-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 88% 18%, rgb(0 142 111 / 12%), transparent 30rem),
    linear-gradient(180deg, #061a2c, #031426 78%);
}
.ai-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 12% 80%, rgb(13 78 145 / 12%), transparent 32rem);
  content: '';
  pointer-events: none;
}
.ai-heading {
  max-width: 800px;
}
.ai-heading h2 {
  max-width: 19ch;
}
.ai-heading > p:last-child {
  max-width: 75ch;
}
.ai-capabilities {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.ai-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgb(148 180 207 / 15%);
  border-radius: 16px;
  background: linear-gradient(145deg, rgb(16 43 66 / 92%), rgb(8 30 50 / 96%));
  box-shadow: 0 14px 36px rgb(0 0 0 / 12%);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.ai-card:hover {
  transform: translateY(-3px);
  border-color: rgb(59 220 139 / 42%);
  box-shadow: 0 18px 42px rgb(0 0 0 / 18%);
}
.ai-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 17px;
  place-items: center;
  border: 1px solid rgb(45 213 132 / 20%);
  border-radius: 13px;
  color: #55dfa0;
  background: linear-gradient(145deg, rgb(12 89 70 / 55%), rgb(8 47 57 / 70%));
}
.ai-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ai-card h3 {
  margin-bottom: 8px;
  color: #f2f7fb;
  font-size: 1.08rem;
}
.ai-card p {
  color: #a9bbcd;
  font-size: 0.88rem;
  line-height: 1.7;
}
.ai-human-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 850px;
  margin: 24px auto 0;
  padding: 16px 19px;
  border: 1px solid rgb(41 190 116 / 24%);
  border-radius: 12px;
  color: #d0e1eb;
  background: linear-gradient(100deg, rgb(7 54 55 / 72%), rgb(8 32 51 / 76%));
  font-size: 0.84rem;
  line-height: 1.65;
}
.ai-human-note > span {
  flex: none;
  color: #4be08c;
}
@media (min-width: 600px) {
  .ai-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (min-width: 1000px) {
  .ai-capabilities {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-card {
    transition: none;
  }
  .ai-card:hover {
    transform: none;
  }
}
@media (max-width: 600px) {
  .privacy-document {
    margin-block: 24px 48px;
  }
}

/* Stage detail: compact, structured panel within the conceptual journey. */
.demo-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.72fr);
  grid-template-areas:
    'heading heading'
    'title facts'
    'copy facts'
    'controls controls';
  gap: 0 clamp(22px, 4vw, 48px);
  align-items: start;
  padding: clamp(20px, 3.2vw, 34px);
  border-top: 1px solid rgb(148 180 207 / 14%);
  background:
    radial-gradient(ellipse at 82% 0%, rgb(16 185 129 / 8%), transparent 26rem),
    linear-gradient(145deg, rgb(16 43 66 / 94%), rgb(9 29 50 / 98%));
}
.detail-heading {
  grid-area: heading;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.detail-heading > span:first-child {
  color: #9fb5c8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.detail-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.68rem;
}
.demo-detail h3 {
  grid-area: title;
  align-self: end;
  margin: 0 0 9px;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.demo-detail > p {
  grid-area: copy;
  max-width: 62ch;
  min-height: 0;
  margin: 0;
  color: #afc1d1;
  font-size: 0.86rem;
  line-height: 1.7;
}
.detail-facts {
  grid-area: facts;
  display: grid;
  align-content: center;
  gap: 9px;
  margin: 0;
}
.detail-facts > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgb(148 180 207 / 14%);
  border-radius: 10px;
  background: rgb(3 20 38 / 44%);
}
.detail-facts dt {
  margin-bottom: 4px;
  color: #62d99e;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.detail-facts dd {
  margin: 0;
  color: #e7f0f8;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.demo-controls {
  grid-area: controls;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgb(148 180 207 / 14%);
}
.demo-controls .text-link {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.76rem;
  text-decoration: none;
}
.demo-controls .text-link:hover {
  border-color: rgb(148 180 207 / 22%);
  background: rgb(148 180 207 / 6%);
}
.demo-controls .button {
  min-height: 48px;
  padding-inline: 22px;
}
@media (max-width: 640px) {
  .demo-detail {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'heading'
      'title'
      'copy'
      'facts'
      'controls';
    gap: 0;
    padding: 20px 16px 16px;
  }
  .detail-heading {
    margin-bottom: 15px;
  }
  .demo-detail h3 {
    margin-bottom: 8px;
  }
  .demo-detail > p {
    margin-bottom: 17px;
    font-size: 0.82rem;
  }
  .detail-facts {
    gap: 8px;
  }
  .detail-facts > div {
    padding: 10px 12px;
  }
  .demo-controls {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
  }
  .demo-controls .button {
    width: 100%;
  }
  .demo-controls .text-link {
    align-self: center;
  }
}

/* === Rediseño v1.4 (17-oct-2026): servicios, equipo fundador, formulario === */
.service-list {
  margin: 14px 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.65;
}
.service-list li + li {
  margin-top: 8px;
}
.service-note {
  margin-top: 16px !important;
  font-size: 0.78rem !important;
  opacity: 0.85;
}
.process-footnote {
  margin-top: 28px;
  max-width: 70ch;
  font-size: 0.82rem;
  opacity: 0.8;
}
.team-card {
  position: relative;
}
.team-initials {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font: 700 1rem/1 var(--heading);
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--navy));
}
.team-role {
  margin-top: -6px !important;
  margin-bottom: 10px;
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #42d88a !important;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form {
  margin-top: 14px;
}
.contact-form .field small {
  font-weight: 400;
}
.form-status:focus {
  outline: none;
}
.form-status[data-state='success'] {
  font-weight: 600;
  border: 1px solid rgb(0 148 68 / 35%);
}
.consent-field label a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.simple-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
}
@media (min-width: 760px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Contraste del formulario sobre la tarjeta oscura */
.contact-card .field label {
  color: #e7f0f8;
}
.contact-card .field label small,
.contact-card .consent-field label {
  color: #b7c7d6;
}
.contact-card .consent-field label a {
  color: #7fe0ad;
}
.contact-card .field-error {
  color: #ffb4b4;
}
.contact-card .field [aria-invalid='true'] {
  border-color: #ff8a8a;
  box-shadow: 0 0 0 1px #ff8a8a;
}

/* === Visual v2 (17-oct-2026): ilustraciones SVG, maquetas, línea de tiempo, microinteracciones === */
.journey text,
.mock text {
  font-family: var(--body);
}
.t-xxs { font-size: 9.5px; }
.t-xs { font-size: 11px; }
.t-sm { font-size: 13px; }
.t-md { font-size: 15.5px; font-family: var(--heading) !important; font-weight: 700; letter-spacing: -0.02em; }
.t-bold { font-weight: 700; }
.t-white { fill: #fff; }
.t-light { fill: #dce8f2; }
.t-muted { fill: #a9bbcd; }
.t-green { fill: #42d88a; }
.t-navy { fill: #04345f; }
.t-slate { fill: #5d6b76; }
.t-link { fill: #8fc4ff; }

.hero-visual {
  margin: 0;
  width: 100%;
  max-width: 560px;
  justify-self: center;
}
.journey {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.flow-base {
  stroke: #ffffff2e;
  stroke-width: 2;
  stroke-dasharray: 3 7;
}
.flow-runner {
  stroke: #42d88a;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 7 93;
  stroke-dashoffset: 100;
  animation: flow-run 8s linear infinite;
}
.node-glow {
  stroke: #42d88a;
  stroke-width: 2;
  opacity: 0;
  animation: node-glow 8s ease-in-out infinite;
}
.n2 .node-glow { animation-delay: 2s; }
.n3 .node-glow { animation-delay: 4s; }
.n4 .node-glow { animation-delay: 6s; }
.notif,
.booked-day,
.typing,
.stack {
  transform-box: fill-box;
}
.notif { animation: notif-in 8s ease-out infinite; transform-origin: center top; }
.booked-day { animation: pop-in 8s ease-out infinite; transform-origin: center; }
.typing { transform-origin: left center; animation: typing 8s steps(12, end) infinite; }
.journey .typing { animation-delay: 1.6s; }
.journey .typing.d2 { animation-delay: 2.2s; }
.mock .typing { animation-duration: 4s; }
.mock .typing.d2 { animation-delay: 0.6s; }
.pulse-chip { animation: chip 2.8s ease-in-out infinite; }
.is-paused *,
.is-paused {
  animation-play-state: paused !important;
}
@keyframes flow-run { to { stroke-dashoffset: 0; } }
@keyframes node-glow {
  0%, 100% { opacity: 0; }
  6%, 20% { opacity: 1; }
  30% { opacity: 0; }
}
@keyframes notif-in {
  0%, 46% { opacity: 0; transform: translateY(-10px) scale(0.96); }
  54%, 94% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes pop-in {
  0%, 72% { opacity: 0; transform: scale(0.5); }
  78% { opacity: 1; transform: scale(1.12); }
  82%, 96% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; }
}
@keyframes typing {
  0% { transform: scaleX(0); }
  18%, 92% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}
@keyframes chip {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

/* Maquetas de servicios */
.mock {
  position: relative;
  margin: 0 0 18px;
  border-radius: 12px;
  overflow: hidden;
}
.mock svg {
  display: block;
  width: 100%;
  height: auto;
}
.mock-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  padding: 2px 9px;
  border: 1px solid #42d88a66;
  border-radius: 999px;
  background: #061a2fcc;
  color: #7fe0ad;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stack { animation: stack-in 0.6s ease-out both; }
.stack.s2 { animation-delay: 0.35s; }
.stack.s3 { animation-delay: 0.7s; }
.motion-on .system-card:not(.is-visible) .stack { opacity: 0; animation: none; }
@keyframes stack-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

/* Hover en tarjetas */
.system-card,
.problem-card,
.team-card,
.alert-mock {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.6s ease;
}
.system-card:hover,
.problem-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgb(66 216 138 / 45%);
  box-shadow: 0 18px 40px rgb(0 8 19 / 30%), 0 0 0 1px rgb(66 216 138 / 12%);
}

/* Aparición al hacer scroll (solo con JS y sin reduced-motion) */
.motion-on .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.motion-on .reveal.is-visible { opacity: 1; transform: none; }
.motion-on .reveal.is-visible:hover { transform: translateY(-4px); }
.motion-on .section-heading.reveal.is-visible:hover,
.motion-on .faq-list.reveal.is-visible:hover,
.motion-on .contact-copy.reveal.is-visible:hover,
.motion-on .contact-card.reveal.is-visible:hover { transform: none; }
.motion-on .rd1 { transition-delay: 0.08s; }
.motion-on .rd2 { transition-delay: 0.16s; }
.motion-on .rd3 { transition-delay: 0.24s; }
.motion-on .reveal.is-visible:hover { transition-delay: 0s; }

/* Línea de tiempo "Cómo trabajamos" */
.timeline li {
  border-top-color: #ffffff26;
}
.timeline li::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0b2a44;
  border: 2px solid #ffffff40;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.timeline li::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #23c977, #42d88a);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.timeline li.is-active::after { transform: scaleX(1); }
.timeline li.is-active::before {
  background: #42d88a;
  border-color: #42d88a;
  box-shadow: 0 0 0 5px rgb(66 216 138 / 18%);
}
.motion-on .timeline li { opacity: 0.45; transition: opacity 0.6s ease; }
.motion-on .timeline li.is-active { opacity: 1; }
.timeline li.is-active .process-number { color: #42d88a; }

/* CTA destacado */
.hero-actions .button,
.form-submit {
  position: relative;
  box-shadow: 0 10px 28px rgb(8 169 91 / 28%);
}
.hero-actions .button:hover,
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgb(8 169 91 / 40%);
}
.hero-actions .button::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgb(66 216 138 / 45%);
  animation: cta-ring 3.2s ease-out infinite;
  pointer-events: none;
}
@keyframes cta-ring {
  0%, 55% { box-shadow: 0 0 0 0 rgb(66 216 138 / 45%); }
  85%, 100% { box-shadow: 0 0 0 12px rgb(66 216 138 / 0%); }
}

/* Maqueta del aviso junto al formulario */
.alert-mock {
  position: relative;
  margin: 26px 0;
  max-width: 440px;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: #f4f8fb;
  color: var(--ink);
  border: 1px solid #dce3e7;
  box-shadow: 0 18px 40px rgb(0 8 19 / 28%);
}
.alert-mock .mock-badge { top: 12px; right: 12px; background: #04345f; color: #bff0d4; }
.alert-head { display: flex; gap: 12px; align-items: center; padding-right: 70px; }
.alert-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #23c977, #078c53);
}
.alert-icon svg { width: 22px; height: 22px; }
.alert-head strong { display: block; color: var(--navy); font-size: 0.88rem; line-height: 1.35; }
.alert-head span { display: block; color: var(--muted); font-size: 0.72rem; }
.alert-fields { margin: 14px 0 12px; display: grid; gap: 6px; }
.alert-fields div { display: grid; grid-template-columns: 82px 1fr; gap: 8px; font-size: 0.78rem; }
.alert-fields dt { color: var(--muted); }
.alert-fields dd { margin: 0; color: var(--ink); }
.alert-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.alert-actions span {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid #c3d0d9;
}
.alert-actions span:first-child { color: #fff; background: var(--green-dark); border-color: var(--green-dark); }

/* Equipo: avatar con iniciales y espacio listo para foto real */
.team-avatar {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 0 6px;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #42d88a, #1b7fd1, #04345f, #42d88a);
}
.team-avatar img,
.team-avatar .team-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.team-avatar img { display: block; object-fit: cover; }
.team-avatar img + .team-initials { display: none; }
.team-avatar .team-initials {
  display: grid;
  place-items: center;
  font: 700 1.25rem/1 var(--heading);
  letter-spacing: 0.05em;
  color: #e7f0f8;
  background: radial-gradient(circle at 30% 25%, #164a73, #071a2d 70%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%);
}

@media (min-width: 1000px) {
  .contact-copy .alert-mock { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .notif, .booked-day, .typing, .stack, .node-glow { opacity: 1 !important; transform: none !important; }
  .node-glow { opacity: 0 !important; }
  .flow-runner { stroke-dasharray: none; stroke: #42d88a55; }
  .system-card:hover, .problem-card:hover, .team-card:hover, .hero-actions .button:hover, .form-submit:hover { transform: none; }
}
.alert-icon svg rect,
.alert-icon svg path { stroke: #fff; fill: none; }
/* Fotos reales del equipo (iniciales debajo como respaldo si la imagen no carga) */
.team-avatar.has-photo { width: 104px; height: 104px; }
.team-avatar picture {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  overflow: hidden;
}
.team-avatar picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.team-avatar.no-photo picture { display: none; }

/* === Visual v3 (17-oct-2026): tipografía con carácter, acento, hero animado, microinteracciones === */
:root {
  --signal: #ffb547; /* acento deliberado: solo para señales "en vivo" (alertas, lead nuevo, subrayado del titular) */
  --signal-soft: rgb(255 181 71 / 14%);
  --mint: #3ee08f;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}
h1,
h2,
h3 {
  font-family: var(--heading);
  font-optical-sizing: auto;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h3 {
  font-weight: 700;
  letter-spacing: -0.015em;
}
.section-heading > p {
  font-size: 1.02rem;
  line-height: 1.75;
}
.eyebrow,
.section-heading .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}
.eyebrow-line {
  width: 28px;
  background: linear-gradient(90deg, var(--mint), var(--signal));
}

/* Titular del hero */
.hero h1 {
  max-width: none;
  margin-bottom: 26px;
  font-size: clamp(2.7rem, 11.2vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #f7fbff;
}
.hero h1 > .h1-line {
  display: block;
  color: inherit;
}
.hero h1 > .h1-accent {
  position: relative;
  width: max-content;
  max-width: 100%;
  padding-bottom: 0.08em;
  color: transparent;
  background: linear-gradient(100deg, #48f09c 0%, #26c97a 45%, #b8f36b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero h1 > .h1-accent::after {
  content: '';
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: -0.02em;
  height: 0.09em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--signal), #ff8a3d);
  transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 > .h1-line { animation: h1-rise 0.7s var(--ease-out) both; }
  .hero h1 > .h1-line:nth-child(2) { animation-delay: 0.07s; }
  .hero h1 > .h1-line:nth-child(3) { animation-delay: 0.14s; }
  .hero h1 > .h1-accent::after { animation: underline-draw 0.9s 0.5s var(--ease-out) both; }
}
@keyframes h1-rise {
  from { transform: translateY(0.22em); }
  to { transform: none; }
}
@keyframes underline-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.hero-description {
  font-size: 1.06rem;
  color: #b9c9d8;
}
@media (min-width: 1000px) {
  .hero h1 { font-size: clamp(3.6rem, 5.4vw, 5.1rem); }
  .hero-description { font-size: 1.1rem; }
}

/* Hero animado: formulario → alerta → CRM → confirmación (ciclo de 10 s) */
.hero-visual { max-width: 580px; }
.hflow {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 470;
  overflow: visible;
}
.hflow text { font-family: var(--body); }
.hf-wire { stroke: #ffffff2b; stroke-width: 2; stroke-dasharray: 3 6; }
.hf-run {
  stroke: var(--mint);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 22 100;
  stroke-dashoffset: 22;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgb(62 224 143 / 70%));
}
.hf-glow { stroke: var(--mint); stroke-width: 2; opacity: 0; }
.hf-type, .hf-btn, .hf-tap, .hf-notif, .hf-ping, .hf-bell, .hf-lead, .hf-sent, .hf-num { transform-box: fill-box; }
.hf-type { transform-origin: left center; }
.hf-btn, .hf-tap, .hf-ping, .hf-sent, .hf-num { transform-origin: center; }
.hf-bell { transform-origin: center top; }
.hf-tap, .hf-ping { opacity: 0; }

.hflow * { animation-duration: 10s; animation-iteration-count: infinite; animation-timing-function: var(--ease-out); }
.hf-type.k1 { animation-name: hf-type1; animation-timing-function: steps(10, end); }
.hf-type.k2 { animation-name: hf-type2; animation-timing-function: steps(10, end); }
.hf-type.k3 { animation-name: hf-type3; animation-timing-function: steps(12, end); }
.hf-btn { animation-name: hf-press; }
.hf-tap { animation-name: hf-tap; }
.hf-run.r1 { animation-name: hf-r1; animation-timing-function: ease-in-out; }
.hf-run.r2 { animation-name: hf-r2; animation-timing-function: ease-in-out; }
.hf-run.r3 { animation-name: hf-r3; animation-timing-function: ease-in-out; }
.hf-notif { animation-name: hf-notif; }
.hf-ping { animation-name: hf-ping; }
.hf-bell { animation-name: hf-bell; animation-timing-function: ease-in-out; }
.hf-lead { animation-name: hf-lead; }
.hf-sent { animation-name: hf-sent; }
.hf-a .hf-glow { animation-name: hf-glow-a; }
.hf-b .hf-glow { animation-name: hf-glow-b; }
.hf-c .hf-glow { animation-name: hf-glow-c; }
.hf-d .hf-glow { animation-name: hf-glow-d; }
.hf-num.n1 { animation-name: hf-n1; }
.hf-num.n2 { animation-name: hf-n2; }
.hf-num.n3 { animation-name: hf-n3; }
.hf-num.n4 { animation-name: hf-n4; }

@keyframes hf-type1 { 0%, 3% { transform: scaleX(0); } 11%, 95% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes hf-type2 { 0%, 10% { transform: scaleX(0); } 18%, 95% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes hf-type3 { 0%, 17% { transform: scaleX(0); } 25%, 95% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes hf-press { 0%, 27% { transform: none; filter: none; } 29% { transform: scale(0.94); filter: brightness(1.25); } 32%, 100% { transform: none; filter: none; } }
@keyframes hf-tap { 0%, 27% { opacity: 0; transform: scale(0.4); } 29% { opacity: 0.9; } 36%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes hf-r1 { 0%, 30% { opacity: 0; stroke-dashoffset: 22; } 31% { opacity: 1; } 38% { opacity: 1; stroke-dashoffset: -100; } 39%, 100% { opacity: 0; stroke-dashoffset: -100; } }
@keyframes hf-r2 { 0%, 47% { opacity: 0; stroke-dashoffset: 22; } 48% { opacity: 1; } 56% { opacity: 1; stroke-dashoffset: -100; } 57%, 100% { opacity: 0; stroke-dashoffset: -100; } }
@keyframes hf-r3 { 0%, 66% { opacity: 0; stroke-dashoffset: 22; } 67% { opacity: 1; } 72% { opacity: 1; stroke-dashoffset: -100; } 73%, 100% { opacity: 0; stroke-dashoffset: -100; } }
@keyframes hf-notif { 0%, 38% { opacity: 0; transform: translateY(-14px) scale(0.96); } 43%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hf-ping { 0%, 41% { opacity: 0; transform: scale(1); } 42% { opacity: 1; } 50%, 100% { opacity: 0; transform: scale(2.3); } }
@keyframes hf-bell { 0%, 41% { transform: none; } 43% { transform: rotate(16deg); } 45% { transform: rotate(-14deg); } 47% { transform: rotate(9deg); } 49%, 100% { transform: none; } }
@keyframes hf-lead { 0%, 56% { opacity: 0; transform: translateY(-26px) scale(0.92); } 61% { opacity: 1; transform: translateY(2px); } 63%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hf-sent { 0%, 72% { opacity: 0; transform: scale(0.6); } 76% { opacity: 1; transform: scale(1.06); } 79%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hf-glow-a { 0%, 2% { opacity: 0; } 6%, 30% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes hf-glow-b { 0%, 37% { opacity: 0; } 41%, 50% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes hf-glow-c { 0%, 55% { opacity: 0; } 59%, 68% { opacity: 1; } 74%, 100% { opacity: 0; } }
@keyframes hf-glow-d { 0%, 71% { opacity: 0; } 75%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes hf-n1 { 0%, 2% { transform: none; } 5% { transform: scale(1.25); } 9%, 100% { transform: none; } }
@keyframes hf-n2 { 0%, 38% { transform: none; } 41% { transform: scale(1.25); } 45%, 100% { transform: none; } }
@keyframes hf-n3 { 0%, 56% { transform: none; } 59% { transform: scale(1.25); } 63%, 100% { transform: none; } }
@keyframes hf-n4 { 0%, 72% { transform: none; } 75% { transform: scale(1.25); } 79%, 100% { transform: none; } }

/* Leyenda de pasos sincronizada con la animación */
.hf-steps-wrap { margin-top: 14px; }
.hf-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hf-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px 9px;
  border: 1px solid rgb(148 180 207 / 18%);
  border-radius: 10px;
  background: rgb(9 29 50 / 70%);
  color: #cfe0ee;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.25;
}
.hf-steps li span {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0f3b33;
  color: var(--mint);
  font-size: 0.66rem;
  font-weight: 800;
}
.hf-steps li { animation: 10s infinite step-on; color: #8ea3b6; }
.hf-steps li.s2 { animation-name: step-on-2; }
.hf-steps li.s3 { animation-name: step-on-3; }
.hf-steps li.s4 { animation-name: step-on-4; }
@keyframes step-on { 0%, 1% { border-color: rgb(148 180 207 / 18%); color: #8ea3b6; } 4%, 34% { border-color: rgb(62 224 143 / 70%); color: #fff; } 38%, 100% { border-color: rgb(148 180 207 / 18%); color: #8ea3b6; } }
@keyframes step-on-2 { 0%, 37% { border-color: rgb(148 180 207 / 18%); color: #8ea3b6; } 40%, 52% { border-color: rgb(255 181 71 / 80%); color: #fff; } 56%, 100% { border-color: rgb(148 180 207 / 18%); color: #8ea3b6; } }
@keyframes step-on-3 { 0%, 55% { border-color: rgb(148 180 207 / 18%); color: #8ea3b6; } 58%, 70% { border-color: rgb(62 224 143 / 70%); color: #fff; } 74%, 100% { border-color: rgb(148 180 207 / 18%); color: #8ea3b6; } }
@keyframes step-on-4 { 0%, 71% { border-color: rgb(148 180 207 / 18%); color: #8ea3b6; } 74%, 94% { border-color: rgb(62 224 143 / 70%); color: #fff; } 98%, 100% { border-color: rgb(148 180 207 / 18%); color: #8ea3b6; } }
@media (max-width: 480px) {
  .hf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tarjetas: brillo que sigue al puntero (solo dispositivos con hover) */
.problem-card,
.system-card,
.team-card {
  position: relative;
  isolation: isolate;
}
@media (hover: hover) and (pointer: fine) {
  .problem-card::after,
  .system-card::after,
  .team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgb(62 224 143 / 11%), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  .problem-card:hover::after,
  .system-card:hover::after,
  .team-card:hover::after { opacity: 1; }
}
.card-index,
.problem-card > .icon,
.system-card > span {
  transition: color 0.25s ease, transform 0.25s var(--ease-out);
}
.problem-card:hover .card-index,
.system-card:hover > span { color: var(--signal); transform: translateX(3px); }
.problem-card:hover h3,
.system-card:hover h3 { color: #fff; }

/* Encabezados: subrayado que se dibuja al aparecer */
.section-heading h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--signal));
  transform-origin: left center;
}
.motion-on .section-heading.reveal h2::after { transform: scaleX(0); transition: transform 0.8s 0.25s var(--ease-out); }
.motion-on .section-heading.reveal.is-visible h2::after { transform: scaleX(1); }

/* Botones: respuesta al presionar y estado de envío */
.button {
  transition: background 0.18s, transform 0.18s var(--ease-out), border-color 0.18s, box-shadow 0.18s;
}
.button:active,
.hero-actions .button:active,
.form-submit:active { transform: translateY(0) scale(0.97); transition-duration: 0.06s; }
.form-submit:disabled {
  gap: 10px;
  opacity: 0.85;
}
.form-submit:disabled::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgb(255 255 255 / 40%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.text-link span { transition: transform 0.2s var(--ease-out); }
.text-link:hover span { transform: translateY(3px); }

/* Formulario: foco, válido e inválido mientras se escribe */
.field label { transition: color 0.2s ease; }
.field:focus-within > label { color: #4be08c; }
.field input,
.field textarea,
.field select {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.field input:hover,
.field textarea:hover { border-color: #8fa3b1; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: #1fae68;
  box-shadow: 0 0 0 4px rgb(31 174 104 / 18%);
}
.field-control { position: relative; display: block; }
.field-control > input { padding-right: 38px; }
.field-check {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: #1fae68;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out);
  pointer-events: none;
}
.field-control > textarea + .field-check { top: 12px; margin-top: 0; }
.field-check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.field[data-state='valid'] .field-check { opacity: 1; transform: none; }
.field[data-state='valid'] input,
.field[data-state='valid'] textarea { border-color: #1fae68; }
.field[data-state='valid'] input:focus,
.field[data-state='valid'] textarea:focus { box-shadow: 0 0 0 4px rgb(31 174 104 / 14%); }
.field [aria-invalid='true']:focus { box-shadow: 0 0 0 4px rgb(184 49 49 / 16%); }
.motion-on .field [aria-invalid='true'] { animation: nudge 0.32s ease; }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.form-status[data-state='success'] { animation: pop 0.4s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hf-run, .hf-tap, .hf-ping, .hf-glow { opacity: 0 !important; }
  .hero h1 > .h1-accent::after,
  .section-heading h2::after { transform: none !important; }
  .problem-card:hover .card-index,
  .system-card:hover > span,
  .text-link:hover span,
  .button:active { transform: none !important; }
}

/* Menú móvil sin salto de diseño: colapsado desde el primer pintado cuando hay JS (antes dependía de la clase .js). */
@media (scripting: none) {
  .menu-toggle { display: none !important; }
}
@media (max-width: 759px) and (scripting: enabled) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 6px 0 10px;
    gap: 3px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links > a:not(.button) { padding: 10px 0; }
}

/* Instagram (contacto y pie) */
.ig-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  transition: color 0.2s ease;
}
.ig-icon { flex: none; width: 18px; height: 18px; transition: transform 0.2s var(--ease-out); }
.ig-link:hover { color: #4be08c; }
.ig-link:hover .ig-icon { transform: scale(1.12) rotate(-6deg); }
.direct-contact .ig-follow { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .ig-link:hover .ig-icon { transform: none; } }
.direct-contact .ig-link + .ig-link { margin-left: 20px; }

/* Fix 2026-10-24: pastillas de pasos del hero se ajustan al contenido y bajan de línea sin desbordar */
.hf-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 8px;
}
.hf-steps li {
  flex: 0 1 auto;
  min-width: 0;
  min-height: 34px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.72rem;
}
@media (max-width: 480px) {
  .hf-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hf-steps li { white-space: normal; padding-right: 8px; }
}
/* Evita que el visual del hero desborde el viewport en móvil (ítem de grid con min-width:auto) */
.hero-grid > * { min-width: 0; }
.hero-visual { min-width: 0; max-width: min(580px, 100%); }

/* Imágenes del sitio (ilustraciones) */
.site-photo { display: block; }
.site-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgb(148 180 207 / 18%);
  box-shadow: 0 24px 60px -24px rgb(0 0 0 / 60%), 0 0 0 1px rgb(62 224 143 / 6%);
  background: #0a2238;
}
.hero-photo { position: relative; }
.hero-photo .site-photo img { border-radius: 22px; }
.hero-photo .hf-steps-wrap { margin-top: 16px; }
.mock.mock-photo { padding: 0; background: none; border: 0; box-shadow: none; overflow: visible; }
.mock.mock-photo .site-photo img { border-radius: 14px; }

/* Hero como banner con foto de fondo (img + object-fit para mantener srcset/AVIF) */
.hero.hero-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: min(88vh, 860px);
  padding: 72px 0;
}
.hero-banner .hero-bg,
.hero-banner .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-banner .hero-bg { z-index: -2; }
.hero-banner .hero-bg img { object-fit: cover; object-position: 75% 35%; }
.hero-banner .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(3 20 38 / 94%) 0%, rgb(3 20 38 / 86%) 38%, rgb(3 20 38 / 45%) 62%, rgb(3 20 38 / 12%) 100%),
    linear-gradient(0deg, rgb(3 20 38 / 85%) 0%, rgb(3 20 38 / 0%) 28%);
}
.hero-banner .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-banner .hero-copy { max-width: 640px; }
.hero-banner .hero-description,
.hero-banner .hero-note { color: #d9e6f1; text-shadow: 0 1px 2px rgb(0 0 0 / 45%); }
.hero-banner h1 { text-shadow: 0 2px 18px rgb(0 0 0 / 35%); }
@media (max-width: 760px) {
  .hero.hero-banner { min-height: 0; padding: 56px 0 64px; }
  .hero-banner .hero-bg img { object-position: 82% center; }
  .hero-banner .hero-overlay {
    background: linear-gradient(180deg, rgb(3 20 38 / 80%) 0%, rgb(3 20 38 / 90%) 55%, rgb(3 20 38 / 96%) 100%);
  }
}
/* Sección de la animación de 4 pasos tras el banner */
.flow-section .flow-heading { text-align: center; margin-inline: auto; }
.flow-section .flow-heading .eyebrow { justify-content: center; }
.flow-section .hero-visual { margin-inline: auto; }

.flow-section .flow-heading h2::after, .flow-section .flow-heading::after { margin-inline: auto; }
/* v3: texto descriptivo junto a la animación */
.flow-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.flow-section .flow-heading { text-align: left; margin-inline: 0; margin-bottom: 18px; }
.flow-section .flow-heading .eyebrow { justify-content: flex-start; }
.flow-section .flow-heading h2::after { margin-inline: 0; }
.flow-description { color: #c9d8e6; font-size: 1.05rem; line-height: 1.8; max-width: 560px; margin: 0; }
.flow-visual { min-width: 0; }
.flow-visual .hero-visual { width: 100%; max-width: 580px; margin-inline: auto; }
@media (min-width: 1024px) {
  .flow-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; }
}
.hero-banner .hero-description { font-size: 1.12rem; margin-bottom: 28px; }
/* v4: Para quién es */
.fit-note { margin: 28px 0 0; font-size: 0.85rem; color: var(--muted); max-width: 720px; }
.fit-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 36px; }
.fit-intro .section-heading { margin-bottom: 0; }
.fit-photo img { aspect-ratio: 16 / 9; }
@media (min-width: 1024px) { .fit-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
/* v7: íconos de tarjetas ~1.4x, trazo visual equivalente */
.problem-card > .icon { width: 35px; height: 35px; margin-bottom: 22px; stroke-width: 1.5; }

/* v8: proceso en 3 pasos */
@media (min-width: 1000px) { .process-grid.process-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
