:root {
  color-scheme: light;
  --ink: #08233c;
  --ink-2: #173b56;
  --muted: #5f7080;
  --line: #d8e1e7;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --deep: #061b32;
  --deep-2: #0b2b4b;
  --cyan: #25bdca;
  --emerald: #0c8f6f;
  --gold: #d2ac52;
  --shadow: 0 22px 70px rgba(7, 31, 52, 0.13);
  --radius: 14px;
  --container: min(1120px, calc(100% - 40px));
  --mint: #4fd1b4;
  --grad-brand: linear-gradient(120deg, var(--cyan) 0%, var(--mint) 100%);
  --shadow-soft: 0 10px 34px rgba(7, 31, 52, 0.08);
  --shadow-lift: 0 22px 54px rgba(7, 31, 52, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(37, 189, 202, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(9, 34, 56, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(37, 189, 202, 0.6);
  border-radius: 8px;
  background: rgba(7, 32, 54, 0.45);
  color: #fff;
  font-size: 0.86rem;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  background: var(--deep);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 650;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--cyan);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 108px 0 48px;
  color: #fff;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 21, 38, 0.96) 0%, rgba(4, 21, 38, 0.83) 42%, rgba(4, 21, 38, 0.36) 100%),
    linear-gradient(180deg, rgba(4, 21, 38, 0.1) 0%, rgba(4, 21, 38, 0.88) 100%);
}

.hero-content {
  width: var(--container);
  margin-inline: auto;
  max-width: 760px;
  justify-self: start;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-weight: 760;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

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

h1 {
  margin-bottom: 10px;
  font-size: clamp(3.5rem, 10vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.22;
}

.hero-claim {
  max-width: 680px;
  margin-bottom: 18px;
  color: #f5fbfd;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.16;
  font-weight: 720;
}

.hero-copy {
  max-width: 620px;
  color: rgba(236, 246, 248, 0.88);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--cyan);
  color: #042033;
  box-shadow: 0 14px 38px rgba(37, 189, 202, 0.26);
}

.button.secondary {
  background: var(--gold);
  color: #1d240e;
}

.button.copy {
  border-color: rgba(8, 35, 60, 0.16);
  background: #fff;
  color: var(--ink);
}

.button.copy.is-confirmed {
  border-color: rgba(12, 143, 111, 0.34);
  background: rgba(12, 143, 111, 0.1);
  color: var(--emerald);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-metrics span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: rgba(4, 26, 46, 0.42);
  color: rgba(255, 255, 255, 0.83);
  backdrop-filter: blur(8px);
}

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

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p:not(.section-kicker),
.text-stack,
.contact-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: start;
}

.text-stack p {
  margin-bottom: 16px;
}

.problem-section,
.services-section,
.faq-section {
  background: var(--soft);
}

.transformation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 50px;
}

.raw-data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.raw-data span {
  min-height: 44px;
  padding: 10px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.raw-data span:nth-child(-n + 4) {
  background: #edf3f6;
  font-weight: 760;
}

.flow-arrow {
  color: var(--ink-2);
  font-weight: 820;
  white-space: nowrap;
}

.recommendation-box {
  border-left: 5px solid var(--emerald);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.recommendation-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.solution-section,
.methodology-section,
.about-section,
.contact-section {
  background: #fff;
}

.statement-grid,
.service-grid,
.sector-grid,
.use-case-grid,
.deliverable-grid {
  display: grid;
  gap: 18px;
}

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

.statement-grid article,
.service-card,
.sector-grid article,
.use-case-grid article,
.deliverable-card,
.dashboard-panel,
.heatmap-panel,
.report-panel,
.faq-list details,
.contact-form,
.builder-output {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 31, 52, 0.06);
}

.statement-grid article,
.service-card,
.sector-grid article,
.use-case-grid article,
.deliverable-card {
  padding: 24px;
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: #eaf8f9;
  color: #086e78;
  font-weight: 820;
}

.statement-grid p,
.service-card p,
.sector-grid p,
.use-case-grid p,
.deliverable-card p,
.report-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.service-card.featured {
  grid-column: span 2;
  background: var(--deep);
  color: #fff;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.75);
}

.methodology-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 27, 50, 0.98), rgba(9, 49, 78, 0.96)),
    radial-gradient(circle at 20% 20%, rgba(37, 189, 202, 0.18), transparent 38%);
}

.methodology-section h2 {
  color: #fff;
}

.method-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.method-list span {
  color: var(--gold);
  font-weight: 830;
}

.results-section {
  background: #fbfcfd;
}

.evidence-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 18px;
}

.dashboard-panel {
  grid-row: span 2;
  padding: 24px;
  min-height: 440px;
  color: #fff;
  background: var(--deep);
}

.panel-top,
.panel-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.74);
}

.panel-top strong {
  color: var(--gold);
}

.chart-area {
  height: 300px;
  display: flex;
  align-items: end;
  gap: 14px;
  margin: 34px 0 22px;
  padding: 26px 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(255, 255, 255, 0.08) 59px 60px),
    rgba(255, 255, 255, 0.05);
}

.chart-area span {
  flex: 1;
  min-width: 18px;
  height: 50%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--cyan), #0a8796);
  animation: rise 900ms ease both;
}

.chart-area span:nth-child(1) {
  height: 35%;
}

.chart-area span:nth-child(2) {
  height: 48%;
}

.chart-area span:nth-child(3) {
  height: 62%;
}

.chart-area span:nth-child(4) {
  height: 88%;
}

.chart-area span:nth-child(5) {
  height: 72%;
}

.chart-area span:nth-child(6) {
  height: 55%;
}

.chart-area span:nth-child(7) {
  height: 43%;
}

.chart-area span:nth-child(8) {
  height: 58%;
}

.chart-area span:nth-child(4),
.chart-area span:nth-child(8) {
  background: linear-gradient(180deg, var(--gold), #956f24);
}

@keyframes rise {
  from {
    transform: scaleY(0.15);
    transform-origin: bottom;
    opacity: 0.5;
  }
}

.heatmap-panel,
.report-panel {
  padding: 24px;
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.heatmap span {
  aspect-ratio: 1;
  border-radius: 6px;
  background: #d4efe9;
}

.heatmap span:nth-child(3n) {
  background: #24b8c8;
}

.heatmap span:nth-child(4n) {
  background: #d2ac52;
}

.heatmap span:nth-child(5n) {
  background: #0c8f6f;
}

table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

caption {
  text-align: left;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--ink);
}

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

.deliverables-section {
  background: #fff;
}

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

.deliverable-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(37, 189, 202, 0.12);
  color: #086e78;
  font-size: 0.74rem;
  font-weight: 830;
}

.benefits-section {
  background: var(--deep);
  color: #fff;
}

.benefits {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  align-items: start;
}

.benefits ul,
.use-case-grid {
  padding: 0;
  list-style: none;
}

.benefits ul {
  margin: 0;
}

/* .use-case-grid usa .container: el margen automático la centra; no anularlo. */
.use-case-grid {
  margin-block: 0;
  margin-inline: auto;
}

.benefits li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.use-case-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.use-case-grid article {
  min-height: 122px;
}

.use-case-grid h3 {
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 780;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(12, 143, 111, 0.22);
  border-radius: var(--radius);
  background: rgba(12, 143, 111, 0.07);
  color: var(--emerald);
  font-weight: 780;
}

.email-link:hover {
  border-color: rgba(37, 189, 202, 0.42);
  color: #08727d;
}

.contact-form,
.builder-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form {
  padding: 24px;
}

label,
fieldset {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 730;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd8df;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(37, 189, 202, 0.16);
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.file-input input {
  padding: 10px;
}

.field-note {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 560;
}

.form-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  min-height: 24px;
  margin: 0;
  color: var(--ink-2);
}

.case-builder {
  padding: 76px 0;
  background: #eef5f6;
}

.builder-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.builder-form {
  grid-template-columns: 1fr;
}

fieldset {
  border: 1px solid #cbd8df;
  border-radius: var(--radius);
  padding: 14px;
}

legend {
  padding-inline: 8px;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}

fieldset input {
  width: auto;
}

.builder-output {
  min-height: 260px;
  padding: 24px;
  color: var(--ink-2);
}

.builder-output p {
  color: var(--muted);
  white-space: pre-line;
}

.prepared-message {
  max-height: 220px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbfc;
  color: var(--ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
}

.action-hint {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.builder-output .output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.copy-buffer {
  position: fixed;
  inset: 0 auto auto 0;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  background: #041526;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner span:first-child {
  color: #fff;
  font-weight: 820;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 40px rgba(18, 134, 74, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 20px 46px rgba(18, 134, 74, 0.4);
}

@media (max-width: 940px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 21, 38, 0.96) 0%, rgba(4, 21, 38, 0.78) 58%, rgba(4, 21, 38, 0.92) 100%);
  }

  .hero-media img {
    object-position: 58% center;
  }

  .two-column,
  .transformation,
  .statement-grid,
  .service-grid,
  .evidence-layout,
  .deliverable-grid,
  .sector-grid,
  .benefits,
  .contact-layout,
  .builder-layout {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    grid-column: auto;
  }

  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-arrow {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .site-header {
    height: 66px;
    padding-inline: 14px;
  }

  .main-nav {
    top: 66px;
    left: 14px;
    right: 14px;
  }

  .hero {
    min-height: 82svh;
    padding: 84px 0 28px;
  }

  .hero-actions,
  .hero-metrics {
    display: grid;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 20px;
  }

  .hero-metrics {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-metrics span {
    padding: 8px 10px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .panel-top,
  .panel-footer,
  .footer-inner {
    display: grid;
  }

  .dashboard-panel {
    min-height: auto;
  }

  .chart-area {
    height: 230px;
    gap: 8px;
    padding-inline: 12px;
  }

  .raw-data {
    font-size: 0.84rem;
  }
}

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

/* ── Página de gracias (post-envío de formulario) ─────────────────────── */
.thanks {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.thanks-card {
  width: var(--container);
  max-width: 680px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 40px;
  text-align: center;
}
.thanks-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--emerald);
  font-size: 2rem;
  margin-bottom: 20px;
}
.thanks-card h1 {
  color: var(--deep);
  margin: 0 0 12px;
  font-size: 1.7rem;
}
.thanks-card p {
  color: var(--muted);
  margin: 0 auto 14px;
  max-width: 52ch;
}
.thanks-steps {
  text-align: left;
  max-width: 460px;
  margin: 24px auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.thanks-steps li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
}
.thanks-steps li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}
@media (max-width: 560px) {
  .thanks-card {
    padding: 36px 22px;
  }
  .thanks-actions {
    flex-direction: column;
  }
  .thanks-actions .button {
    width: 100%;
  }
}

/* ── Chips de herramientas (Python / R) ───────────────────────────────── */
.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}
.tool-chips li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
}

/* ── Franja de confianza (compromisos reales, sin testimonios) ────────── */
.trust-strip {
  background: var(--deep);
  color: #eaf6f8;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.trust-item strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px;
}
.trust-item span {
  color: #9fc3cf;
  font-size: 0.9rem;
}
@media (max-width: 760px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Ejemplo antes → después (demostrativo) ───────────────────────────── */
.ba-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.ba-col {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  height: 100%;
}
.ba-col h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--deep);
}
.ba-col .ba-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.ba-col.before .ba-tag {
  color: var(--muted);
}
.ba-col.after .ba-tag {
  color: var(--emerald);
}
.ba-raw {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  color: var(--muted);
  white-space: pre;
  overflow-x: auto;
  background: var(--soft);
  border-radius: 6px;
  padding: 12px;
  line-height: 1.5;
}
.ba-col.after table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.ba-col.after th,
.ba-col.after td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
}
.ba-col.after th {
  color: var(--deep);
}
.ba-read {
  font-size: 0.86rem;
  color: var(--ink-2);
  margin: 0;
}
.ba-arrow {
  font-size: 1.6rem;
  color: var(--cyan);
  text-align: center;
}
@media (max-width: 760px) {
  .ba-pair {
    grid-template-columns: 1fr;
  }
  .ba-arrow {
    transform: rotate(90deg);
  }
}

/* ════════════════════════════════════════════════════════════════════════
   CAPA DE MODERNIZACIÓN 2026 — gradientes, vidrio, elevación y motion
   (Solo apariencia: no cambia estructura ni comportamiento de formularios)
   ════════════════════════════════════════════════════════════════════════ */

/* ── Hero con halo de marca animado ── */
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(46% 38% at 72% 24%, rgba(37, 189, 202, 0.34), transparent 70%),
    radial-gradient(38% 32% at 18% 78%, rgba(79, 209, 180, 0.22), transparent 70%);
  filter: blur(48px);
  animation: hero-glow 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes hero-glow {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  100% { transform: translate3d(4%, -3%, 0) scale(1.08); opacity: 1; }
}

/* Kickers con gradiente de marca */
.eyebrow,
.section-kicker {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Botones: píldora + gradiente ── */
.button {
  border-radius: 999px;
  padding: 12px 22px;
}
.button.primary {
  background: var(--grad-brand);
  color: #04222e;
  box-shadow: 0 14px 38px rgba(37, 189, 202, 0.35);
}
.button.primary:hover {
  box-shadow: 0 20px 46px rgba(37, 189, 202, 0.45);
}
.button.ghost {
  backdrop-filter: blur(6px);
}

/* ── Tarjetas: elevación y borde vivo al pasar ── */
.service-card,
.deliverable-card,
.sector-grid article,
.use-case-grid article,
.dashboard-panel,
.heatmap-panel,
.report-panel,
.ba-col,
.faq-list details,
.contact-form,
.builder-form,
.builder-output {
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.service-card:hover,
.deliverable-card:hover,
.sector-grid article:hover,
.use-case-grid article:hover,
.ba-col:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(37, 189, 202, 0.45);
}

/* Borde superior de acento en tarjetas de servicio/entregables */
.service-card,
.deliverable-card {
  position: relative;
  overflow: hidden;
}
.service-card::before,
.deliverable-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 220ms ease;
}
.service-card:hover::before,
.deliverable-card:hover::before {
  opacity: 1;
}

/* FAQ moderno */
.faq-list details {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 4px 18px;
}
.faq-list details[open] {
  border-color: rgba(37, 189, 202, 0.5);
  box-shadow: var(--shadow-soft);
}
.faq-list summary {
  cursor: pointer;
}

/* Inputs modernos */
.contact-form input,
.contact-form select,
.contact-form textarea,
.builder-form input,
.builder-form select,
.builder-form textarea {
  border-radius: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.builder-form input:focus,
.builder-form select:focus,
.builder-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(37, 189, 202, 0.14);
  outline: none;
}

/* ── Aparición al hacer scroll (activada por JS; sin JS todo queda visible) ── */
body.js-motion .section,
body.js-motion .case-builder {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 640ms cubic-bezier(0.2, 0.6, 0.2, 1), transform 640ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
body.js-motion .section.is-visible,
body.js-motion .case-builder.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-overlay::after { animation: none; }
  body.js-motion .section,
  body.js-motion .case-builder { opacity: 1; transform: none; }
}

/* ── DataInsight Lab: enlace destacado y teaser ── */
.main-nav .nav-lab {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--grad-brand);
  color: #04222e !important;
  opacity: 1;
  font-weight: 750;
}
.main-nav .nav-lab:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37, 189, 202, 0.35); }
.lab-teaser {
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(37, 189, 202, 0.08), transparent 70%),
    var(--soft);
}

/* ── Dirección premium: precisión editorial, no efectos decorativos ─── */
:root {
  --ink: #11283d;
  --ink-2: #36526a;
  --muted: #607386;
  --line: #d9e2e8;
  --paper: #ffffff;
  --soft: #f5f7f8;
  --deep: #0a2033;
  --deep-2: #14364e;
  --cyan: #29b9c5;
  --emerald: #177f71;
  --gold: #c89a3d;
  --radius: 8px;
  --shadow-soft: 0 10px 28px rgba(10, 32, 51, 0.06);
  --shadow-lift: 0 18px 42px rgba(10, 32, 51, 0.12);
}

body {
  background: #f8fafb;
  letter-spacing: 0;
}

.site-header {
  height: 76px;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: rgba(217, 226, 232, 0.88);
  box-shadow: 0 8px 28px rgba(10, 32, 51, 0.06);
}

.brand {
  gap: 11px;
  font-size: 1.03rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  border-color: rgba(41, 185, 197, 0.7);
  background: #0b273c;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.main-nav {
  gap: 22px;
  font-size: 0.86rem;
  font-weight: 670;
}

.main-nav .nav-lab,
.main-nav .nav-contact {
  border-radius: 6px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.main-nav .nav-lab {
  padding: 7px 11px;
  background: rgba(41, 185, 197, 0.14);
  color: #0d717c !important;
}

.main-nav .nav-contact {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #fff;
  opacity: 1;
}

.site-header.is-scrolled .main-nav .nav-contact,
.site-header.is-open .main-nav .nav-contact {
  border-color: #9fb3c1;
  color: var(--ink);
}

.main-nav .nav-lab:hover,
.main-nav .nav-contact:hover {
  transform: none;
  box-shadow: none;
  background: var(--cyan);
  border-color: var(--cyan);
  color: #072434 !important;
}

.hero {
  min-height: 720px;
  padding: 132px 0 72px;
  background: var(--deep);
}

.hero-media img {
  object-position: 58% center;
  filter: saturate(0.78) contrast(1.08);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(7, 25, 40, 0.98) 0%, rgba(7, 25, 40, 0.91) 44%, rgba(7, 25, 40, 0.48) 76%, rgba(7, 25, 40, 0.7) 100%);
}

.hero-overlay::after {
  display: none;
}

.hero-content {
  max-width: 700px;
}

.eyebrow,
.section-kicker {
  color: var(--cyan);
  background: none;
  -webkit-text-fill-color: currentColor;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

h1 {
  margin-bottom: 14px;
  max-width: 620px;
  font-size: clamp(3.5rem, 8vw, 6.35rem);
  letter-spacing: 0;
}

h2 {
  max-width: 900px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.08;
}

.hero-claim {
  max-width: 635px;
  font-size: clamp(1.38rem, 2.6vw, 2.06rem);
  line-height: 1.2;
}

.hero-copy {
  max-width: 600px;
  font-size: 1rem;
}

.hero-actions {
  align-items: center;
  gap: 11px;
  margin-top: 32px;
}

.button {
  min-height: 44px;
  border-radius: 7px;
  padding: 11px 17px;
  font-size: 0.91rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.button.primary,
.button.secondary {
  background: var(--cyan);
  color: #062433;
  box-shadow: 0 12px 28px rgba(41, 185, 197, 0.22);
}

.button.primary:hover,
.button.secondary:hover {
  background: #54d5dc;
  box-shadow: 0 14px 30px rgba(41, 185, 197, 0.28);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.36);
  background: transparent;
  color: #fff;
  backdrop-filter: none;
}

.button.ghost:hover {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.hero-text-link {
  padding: 10px 4px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-text-link span {
  color: var(--cyan);
  font-size: 1.1rem;
  margin-left: 4px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 650px);
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metrics span {
  min-height: 68px;
  padding: 13px 17px 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  font-size: 0.84rem;
}

.hero-metrics span + span {
  padding-left: 17px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.section {
  padding: 104px 0;
}

.section-heading {
  margin-bottom: 46px;
}

.problem-section,
.services-section,
.faq-section,
.results-section,
.lab-teaser {
  background: #f5f7f8;
}

.transformation {
  gap: 28px;
  margin-top: 56px;
}

.raw-data,
.recommendation-box {
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.raw-data {
  border-color: #d7e1e6;
}

.raw-data span:nth-child(-n + 4) {
  background: #e9f0f3;
  color: #284258;
}

.flow-arrow {
  color: var(--emerald);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.recommendation-box {
  border-left: 3px solid var(--gold);
}

.statement-grid,
.service-grid,
.sector-grid,
.use-case-grid,
.deliverable-grid {
  gap: 14px;
}

.statement-grid article,
.service-card,
.sector-grid article,
.use-case-grid article,
.deliverable-card,
.dashboard-panel,
.heatmap-panel,
.report-panel,
.faq-list details,
.contact-form,
.builder-output {
  border-radius: 8px;
  border-color: #dce5e9;
  box-shadow: var(--shadow-soft);
}

.statement-grid article,
.service-card,
.sector-grid article,
.use-case-grid article,
.deliverable-card {
  padding: 27px 24px 24px;
}

.statement-grid article {
  border-top: 3px solid #bedce0;
}

.statement-grid article:nth-child(2) { border-top-color: var(--cyan); }
.statement-grid article:nth-child(3) { border-top-color: var(--gold); }

.mini-icon {
  width: auto;
  height: auto;
  margin-bottom: 20px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--emerald);
  font-size: 0.73rem;
  letter-spacing: 0.12em;
}

.service-card,
.deliverable-card {
  min-height: 180px;
  border-top: 3px solid transparent;
  overflow: visible;
}

.service-card::before,
.deliverable-card::before {
  display: none;
}

.service-card:nth-child(3n + 2),
.deliverable-card:nth-child(3n + 2) { border-top-color: var(--cyan); }
.service-card:nth-child(3n),
.deliverable-card:nth-child(3n) { border-top-color: var(--gold); }
.service-card:nth-child(3n + 1),
.deliverable-card:nth-child(3n + 1) { border-top-color: var(--emerald); }

.service-card:hover,
.deliverable-card:hover,
.sector-grid article:hover,
.use-case-grid article:hover,
.ba-col:hover {
  transform: translateY(-3px);
  border-color: #b8ccd4;
  box-shadow: var(--shadow-lift);
}

.service-card.featured {
  position: relative;
  grid-column: span 2;
  border: 0;
  border-left: 4px solid var(--cyan);
  background: var(--deep);
  box-shadow: 0 18px 40px rgba(10, 32, 51, 0.16);
}

.methodology-section {
  background: #0e2b3e;
}

.method-list li {
  border-radius: 7px;
}

.trust-strip {
  padding: 46px 0;
  background: #102f42;
}

.trust-grid {
  gap: 0;
}

.trust-item {
  min-height: 74px;
  padding: 4px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item:first-child { border-left: 0; padding-left: 0; }

.trust-item strong {
  color: #fff;
  font-size: 0.95rem;
}

.trust-item span {
  color: #b7d2d9;
  font-size: 0.84rem;
}

.ba-col {
  padding: 26px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.ba-col.after { border-top: 3px solid var(--emerald); }
.ba-col.before { border-top: 3px solid #b8c6ce; }
.ba-arrow { color: var(--gold); }

.dashboard-panel,
.heatmap-panel,
.report-panel {
  border-radius: 8px;
}

.deliverables-section { background: #fff; }

.deliverable-card span {
  border-radius: 4px;
  background: #eaf4f5;
  color: #166e77;
}

.benefits-section {
  background: #173448;
}

.contact-section { background: #fff; }

.contact-form {
  padding: 30px;
  border-top: 3px solid var(--cyan);
}

input,
select,
textarea {
  border-radius: 6px;
  border-color: #cbd8df;
  padding: 11px 12px;
}

.email-link {
  border-radius: 6px;
  border-color: #c6dfe0;
  background: #f0f8f8;
  color: #19736f;
}

.case-builder {
  padding: 96px 0;
  background: #eef3f5;
}

.site-footer {
  background: #071b2b;
}

.whatsapp-float {
  width: 54px;
  height: 54px;
  right: 22px;
  bottom: 22px;
  border: 3px solid #fff;
  box-shadow: 0 14px 32px rgba(7, 49, 39, 0.28);
}

.hero-actions-compact { margin-top: 18px; }
.teaser-title { margin-bottom: 12px; }
.lab-privacy {
  max-width: 70ch;
  margin: 0 auto;
  color: #cfe6ec;
  text-align: center;
}
.lab-privacy strong { color: #fff; }

@media (max-width: 940px) {
  .main-nav .nav-contact {
    border-color: #9fb3c1;
    color: var(--ink);
  }

  .hero { min-height: 760px; }
  .service-card.featured { grid-column: auto; }
}

@media (max-width: 620px) {
  .site-header { height: 68px; }
  .main-nav { top: 68px; }
  .hero {
    min-height: 780px;
    padding: 102px 0 34px;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 25, 40, 0.95) 0%, rgba(7, 25, 40, 0.82) 53%, rgba(7, 25, 40, 0.96) 100%);
  }
  .hero-actions { display: grid; }
  .hero-text-link { text-align: center; }
  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 28px;
  }
  .hero-metrics span,
  .hero-metrics span + span {
    min-height: auto;
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }
  .hero-metrics span:first-child { border-top: 0; }
  .section { padding: 76px 0; }
  .trust-strip { padding: 32px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item,
  .trust-item:first-child {
    min-height: auto;
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .trust-item:first-child { border-top: 0; }
  .contact-form { padding: 20px; }
  .whatsapp-float { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card:hover,
  .deliverable-card:hover,
  .sector-grid article:hover,
  .use-case-grid article:hover,
  .ba-col:hover { transform: none; }
}

/* ════════════════════════════════════════════════════════════════════════
   LA ESENCIA DEL PRISMA — canvas del hero + frases-ancla de los 4 actos
   (ruido → señal → evidencia → decisión; sobrio, instrumento científico)
   ════════════════════════════════════════════════════════════════════════ */

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1; /* sobre el overlay (hermano posterior), bajo el contenido */
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.act-anchor {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 4px 0 18px;
  font-style: italic;
  font-weight: 620;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}

.act-anchor::before {
  content: "";
  flex: 0 0 34px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff7f00 0%, var(--cyan) 100%);
}

/* Variante clara para la sección oscura de metodología */
.methodology-section .act-anchor {
  color: #cfe7ec;
}

/* ════════════════════════════════════════════════════════════════════════
   CAPA PREMIUM 2026 — tipografía display, hero cinematográfico, cascadas,
   micro-interacciones y banda CTA. Sobrio y científico: acentos, no circo.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Tipografía display auto-hospedada (CSP intacta) ── */
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

h1, h2, h3, .brand {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

.hero h1 {
  font-size: clamp(2.9rem, 7.5vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  background: linear-gradient(105deg, #ffffff 25%, #8ce7f0 45%, #ffffff 62%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: title-sheen 7s linear infinite;
}

@keyframes title-sheen {
  to { background-position: -220% 0; }
}

.hero-claim {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.section h2 {
  font-size: clamp(1.65rem, 3.1vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.14;
}

/* ── Kickers con línea de calibración ── */
.section-kicker {
  position: relative;
  padding-left: 44px;
}
.section-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 2px;
  transform: translateY(-50%);
  background: var(--grad-brand);
  border-radius: 2px;
}

/* ── Hero cinematográfico: rejilla técnica + aurora recuperada ── */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 189, 202, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 189, 202, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(78% 82% at 62% 38%, #000 28%, transparent 88%);
  mask-image: radial-gradient(78% 82% at 62% 38%, #000 28%, transparent 88%);
}

.hero-overlay::after {
  content: "";
  display: block;
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(42% 36% at 74% 26%, rgba(37, 189, 202, 0.3), transparent 70%),
    radial-gradient(34% 30% at 20% 80%, rgba(79, 209, 180, 0.2), transparent 70%),
    radial-gradient(24% 22% at 48% 58%, rgba(255, 127, 0, 0.05), transparent 70%);
  filter: blur(52px);
  animation: hero-glow 16s ease-in-out infinite alternate;
  pointer-events: none;
}

/* ── Entrada escalonada del hero (solo con JS; sin JS todo visible) ── */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
body.js-motion .hero-content > * {
  opacity: 0;
  animation: rise-in 0.85s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}
body.js-motion .hero-content > *:nth-child(1) { animation-delay: 0.05s; }
body.js-motion .hero-content > *:nth-child(2) { animation-delay: 0.16s; }
body.js-motion .hero-content > *:nth-child(3) { animation-delay: 0.3s; }
body.js-motion .hero-content > *:nth-child(4) { animation-delay: 0.44s; }
body.js-motion .hero-content > *:nth-child(5) { animation-delay: 0.58s; }
body.js-motion .hero-content > *:nth-child(6) { animation-delay: 0.72s; }

/* ── Cinta de métodos (puente hero → contenido) ── */
.ticker {
  background: var(--deep);
  border-top: 1px solid rgba(37, 189, 202, 0.2);
  border-bottom: 1px solid rgba(37, 189, 202, 0.12);
  overflow: hidden;
  padding: 13px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
}
.ticker-track span {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a9dde4;
  white-space: nowrap;
}
.ticker-track i {
  font-style: normal;
  color: var(--cyan);
  opacity: 0.65;
}
@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* ── Revelado en cascada de tarjetas y listas ── */
body.js-motion :is(.statement-grid, .service-grid, .deliverable-grid, .sector-grid, .use-case-grid, .trust-grid, .faq-list) > *,
body.js-motion .method-list li {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.6, 0.2, 1);
}
body.js-motion .section.is-visible :is(.statement-grid, .service-grid, .deliverable-grid, .sector-grid, .use-case-grid, .trust-grid, .faq-list) > *,
body.js-motion .section.is-visible .method-list li {
  opacity: 1;
  transform: none;
}
body.js-motion .section.is-visible :is(.statement-grid, .service-grid, .deliverable-grid, .sector-grid, .use-case-grid, .trust-grid, .faq-list) > *:nth-child(2),
body.js-motion .section.is-visible .method-list li:nth-child(2) { transition-delay: 0.07s; }
body.js-motion .section.is-visible :is(.statement-grid, .service-grid, .deliverable-grid, .sector-grid, .use-case-grid, .trust-grid, .faq-list) > *:nth-child(3),
body.js-motion .section.is-visible .method-list li:nth-child(3) { transition-delay: 0.14s; }
body.js-motion .section.is-visible :is(.statement-grid, .service-grid, .deliverable-grid, .sector-grid, .use-case-grid, .trust-grid, .faq-list) > *:nth-child(4),
body.js-motion .section.is-visible .method-list li:nth-child(4) { transition-delay: 0.21s; }
body.js-motion .section.is-visible :is(.statement-grid, .service-grid, .deliverable-grid, .sector-grid, .use-case-grid, .trust-grid, .faq-list) > *:nth-child(5),
body.js-motion .section.is-visible .method-list li:nth-child(5) { transition-delay: 0.28s; }
body.js-motion .section.is-visible :is(.statement-grid, .service-grid, .deliverable-grid, .sector-grid, .use-case-grid, .trust-grid, .faq-list) > *:nth-child(6),
body.js-motion .section.is-visible .method-list li:nth-child(6) { transition-delay: 0.35s; }
body.js-motion .section.is-visible :is(.service-grid, .deliverable-grid, .sector-grid, .use-case-grid, .faq-list) > *:nth-child(7) { transition-delay: 0.42s; }
body.js-motion .section.is-visible :is(.service-grid, .sector-grid, .use-case-grid, .faq-list) > *:nth-child(8) { transition-delay: 0.49s; }

/* ── Tarjetas: halo de precisión al pasar el mouse ── */
:is(.service-card, .deliverable-card, .use-case-grid article, .statement-grid article, .sector-grid article) {
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  will-change: transform;
}
:is(.service-card, .deliverable-card, .use-case-grid article, .statement-grid article, .sector-grid article):hover {
  box-shadow:
    0 18px 44px rgba(7, 31, 52, 0.15),
    0 0 0 1.5px rgba(37, 189, 202, 0.55),
    0 0 34px rgba(37, 189, 202, 0.12);
}

/* ── Botones: destello de barrido ── */
.button {
  position: relative;
  overflow: hidden;
}
.button::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  transform: skewX(-18deg);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
  transition: left 0.55s ease;
  pointer-events: none;
}
.button:hover::after {
  left: 125%;
}

/* ── Retícula del cursor (creada por JS solo en desktop) ── */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(37, 189, 202, 0.65);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.cursor-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: rgba(37, 189, 202, 0.9);
}
.cursor-ring.is-active {
  width: 54px;
  height: 54px;
  border-color: rgba(140, 236, 244, 0.95);
}

/* ── FAQ: acordeón con indicador ── */
.faq-list summary {
  position: relative;
  padding-right: 36px;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--cyan);
  transition: transform 0.3s ease;
}
.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

/* ── Banda CTA final ── */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #061b32 0%, #0b2b4b 55%, #0e2b3e 100%);
  color: #fff;
  text-align: center;
  padding: 108px 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 34% at 30% 30%, rgba(37, 189, 202, 0.26), transparent 70%),
    radial-gradient(32% 30% at 74% 68%, rgba(79, 209, 180, 0.18), transparent 70%);
  filter: blur(56px);
  animation: hero-glow 18s ease-in-out infinite alternate;
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 189, 202, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 189, 202, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(70% 75% at 50% 45%, #000 25%, transparent 85%);
  mask-image: radial-gradient(70% 75% at 50% 45%, #000 25%, transparent 85%);
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-band .section-kicker {
  padding-left: 0;
  color: var(--cyan);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.cta-band .section-kicker::before { display: none; }
.cta-band h2 {
  color: #fff;
  max-width: 840px;
  margin: 0 auto;
  font-size: clamp(1.95rem, 4vw, 3.05rem);
}
.cta-sub {
  color: #b9d2dc;
  max-width: 560px;
  margin: 18px auto 32px;
  font-size: 1.05rem;
}
.cta-actions {
  justify-content: center;
}

/* ── Móvil ── */
@media (max-width: 720px) {
  .ticker-track span { font-size: 0.7rem; letter-spacing: 0.12em; }
  .cta-band { padding: 76px 0; }
  .section-kicker { padding-left: 38px; }
  .section-kicker::before { width: 26px; }
}

/* ── Movimiento reducido: los acentos desaparecen, el contenido queda ── */
@media (prefers-reduced-motion: reduce) {
  .hero h1 { animation: none; }
  .ticker-track { animation: none; }
  .cta-band::before, .hero-overlay::after { animation: none; }
  .button::after { display: none; }
  .cursor-ring { display: none; }
}
