@font-face {
  font-family: "FrutigerNeueLT";
  src: url("../media/Frutiger Neue LT W1G Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --q-blue: #00a8f0;
  --q-blue-deep: #0077b8;
  --q-ink: #10151d;
  --q-mid: #1a212c;
  --q-ink-soft: #1a212c;
  --q-text: #253244;
  --q-muted: #637288;
  --q-line: #d9e1ea;
  --q-surface: #f4f7fb;
  --q-white: #ffffff;
  --q-shadow: 0 24px 80px rgba(16, 21, 29, 0.12);
  --max-w: 1180px;
  --radius: 6px;
  --font: "FrutigerNeueLT", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 28%, #f7f9fc 100%);
  color: var(--q-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 21, 29, 0.08);
}

.header-inner,
.section-inner,
.hero-grid,
.stats-shell,
.footer-inner,
.cta-inner {
  width: min(calc(100% - 3rem), var(--max-w));
  margin: 0 auto;
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-wrap img {
  width: 132px;
  height: auto;
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 0.2rem;
  align-items: stretch;
}

.main-nav a,
.btn-link {
  font-size: 0.92rem;
  color: #48576b;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav > a,
.nav-item > a {
  min-height: 70px;
  display: inline-flex;
  align-items: center;
}

.main-nav a:hover,
.btn-link:hover {
  color: var(--q-blue-deep);
  background: rgba(0, 168, 240, 0.08);
}

.nav-item {
  position: relative;
}

.has-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.nav-item > a {
  display: inline-flex;
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(8px);
  min-width: 220px;
  width: max-content;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.98);
  border: 0;
  border-radius: 0;
  box-shadow: 0 10px 24px rgba(16, 21, 29, 0.14);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}

.has-panel:hover .nav-panel,
.has-panel:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-panel a {
  display: block;
  width: 100%;
  padding: 0.58rem 0.72rem;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: #2b394d;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.nav-panel a:hover {
  background: rgba(0, 168, 240, 0.08);
  color: var(--q-blue-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-cta,
.btn-solid,
.btn-ghost,
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-cta,
.btn-solid {
  background: var(--q-blue);
  color: var(--q-white);
  border: 1px solid var(--q-blue);
}

.btn-cta:hover,
.btn-solid:hover,
.btn-ghost:hover,
.btn-white:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--q-white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-link {
  padding-inline: 0.65rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--q-line);
  background: var(--q-white);
  color: var(--q-text);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 25%, rgba(0, 168, 240, 0.18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(0, 119, 184, 0.16), transparent 25%),
    linear-gradient(135deg, #0f151d 0%, #182433 60%, #0f151d 100%);
  color: var(--q-white);
  padding: 5.5rem 0 4rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 17, 24, 0.86) 0%, rgba(12, 17, 24, 0.72) 50%, rgba(12, 17, 24, 0.8) 100%),
    radial-gradient(circle at 15% 25%, rgba(0, 168, 240, 0.22), transparent 35%);
  z-index: 1;
}

.hero-macro {
  background:
    radial-gradient(circle at 15% 25%, rgba(0, 168, 240, 0.18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(0, 119, 184, 0.16), transparent 25%),
    linear-gradient(135deg, #0f151d 0%, #182433 60%, #0f151d 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 90%);
  pointer-events: none;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-copy,
.hero-panel,
.capability-card,
.process-panel article,
.platform-card,
.interop-card,
.support-shell,
.stats-shell article {
  position: relative;
}

.eyebrow {
  margin-bottom: 0.9rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--q-blue);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1,
.section h2,
.cta-band h2 {
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5.2vw, 3.5rem);
  margin-bottom: 1.2rem;
}

.hero-lead {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  margin-bottom: 1.9rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-points {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-points span {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.76);
}

.hero-panel {
  display: grid;
  gap: 0.9rem;
}

.panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.panel-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.panel-card-primary {
  background: linear-gradient(135deg, rgba(0, 168, 240, 0.18), rgba(255, 255, 255, 0.08));
}

.panel-card-outline {
  background: rgba(7, 10, 14, 0.25);
}

.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.58);
}

.card-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--q-muted);
}

.panel-value {
  margin: 0.45rem 0 0.4rem;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--q-white);
}

.panel-value-small {
  font-size: 2rem;
}

.panel-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.stats-band {
  margin-top: -1.75rem;
  position: relative;
  z-index: 2;
}

.stats-shell {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(16, 21, 29, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--q-shadow);
}

.stats-shell article {
  padding: 1.6rem;
  min-height: 100%;
}

.stats-shell article + article {
  border-left: 1px solid rgba(16, 21, 29, 0.08);
}

.stats-shell strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--q-ink);
  font-weight: 500;
}

.stats-shell span {
  display: block;
  font-size: 0.92rem;
  color: var(--q-muted);
}

.section {
  padding: 5.5rem 0;
}

.section-light {
  background: var(--q-surface);
}

.section-dark {
  background:
    radial-gradient(circle at top left, rgba(0, 168, 240, 0.12), transparent 30%),
    linear-gradient(180deg, #121821 0%, #0f151d 100%);
  color: rgba(255, 255, 255, 0.88);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-head p,
.narrative-copy p,
.interop-copy p,
.support-copy p,
.capability-copy p,
.platform-card p {
  color: var(--q-muted);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.solution-card {
  border-radius: 22px;
  border: 1px solid rgba(16, 21, 29, 0.08);
  background: var(--q-white);
  padding: 1.5rem;
  box-shadow: 0 18px 55px rgba(16, 21, 29, 0.06);
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.solution-card h3 {
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--q-ink);
  line-height: 1.2;
}

.solution-card p {
  color: var(--q-muted);
}

.solution-card-dark {
  background: linear-gradient(140deg, #132236 0%, #0f151d 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.solution-card-dark h3,
.solution-card-dark p,
.solution-card-dark .card-kicker {
  color: rgba(255, 255, 255, 0.9);
}

.solution-card-dark .btn-white-outline {
  color: var(--q-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.capability-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  border: 1px solid rgba(16, 21, 29, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background: var(--q-white);
  box-shadow: 0 18px 55px rgba(16, 21, 29, 0.06);
}

.capability-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.capability-media img {
  max-height: 100%;
  object-fit: contain;
}

.capability-media-light {
  background: linear-gradient(180deg, #f8fbff 0%, #eaf6ff 100%);
}

.capability-media-dark {
  background: linear-gradient(135deg, #10151d 0%, #233044 100%);
}

.capability-media-accent {
  background: linear-gradient(135deg, #dff5ff 0%, #f6fbff 100%);
}

.capability-copy {
  padding: 1.4rem;
}

.capability-copy h3,
.process-panel h3,
.platform-card h3,
.interop-card h3 {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0.45rem 0 0.7rem;
  color: var(--q-ink);
}

.narrative-grid,
.split-showcase,
.interop-grid,
.support-shell,
.footer-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.check-list {
  list-style: none;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 0.2rem;
  border: 1px solid rgba(0, 168, 240, 0.4);
  background: rgba(0, 168, 240, 0.12);
}

.process-panel {
  display: grid;
  gap: 1rem;
}

.process-panel article {
  padding: 1.2rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(16, 21, 29, 0.08);
}

.process-panel span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 168, 240, 0.12);
  color: var(--q-blue-deep);
  font-size: 0.85rem;
  font-weight: 500;
}

.showcase-copy .section-lead-dark {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 1rem;
}

.showcase-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
}

.showcase-media img {
  width: min(360px, 100%);
}

.stats-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stats-chart-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(16, 21, 29, 0.08);
  background: #fff;
}

.stats-chart-grid figure img {
  width: 100%;
  height: auto;
  display: block;
}

.platform-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.platform-card {
  padding: 1.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.platform-card h3 {
  color: var(--q-white);
}

.platform-card p {
  color: rgba(255, 255, 255, 0.68);
}

.interop-protocols {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.interop-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem;
  border-radius: 20px;
  background: var(--q-white);
  border: 1px solid rgba(16, 21, 29, 0.08);
  box-shadow: 0 18px 55px rgba(16, 21, 29, 0.06);
}

.interop-proto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.proto-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  border-radius: 14px;
  background: var(--q-white);
  border: 1px solid rgba(16, 21, 29, 0.08);
  box-shadow: 0 8px 24px rgba(16, 21, 29, 0.05);
}

.proto-chip svg {
  width: 36px;
  height: 36px;
}

.proto-chip span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--q-text);
  letter-spacing: .02em;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--q-blue-deep);
  font-weight: 500;
}

.support-shell {
  padding: 2rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(16, 21, 29, 0.08);
  box-shadow: 0 18px 55px rgba(16, 21, 29, 0.06);
}

.support-logos {
  display: grid;
  gap: 1rem;
  justify-items: end;
}

.support-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(0, 168, 240, 0.1);
  color: var(--q-blue-deep);
  font-weight: 500;
}

.support-logo {
  width: min(320px, 100%);
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(16, 21, 29, 0.08);
  background: var(--q-white);
}

.support-logo-dark img {
  width: 100%;
  object-fit: contain;
}

.cta-band {
  padding: 4.5rem 0;
  background:
    radial-gradient(circle at 10% 30%, rgba(255, 255, 255, 0.16), transparent 20%),
    linear-gradient(135deg, #00a8f0 0%, #0077b8 100%);
  color: var(--q-white);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.btn-white {
  background: var(--q-white);
  color: var(--q-blue-deep);
  border: 1px solid var(--q-white);
}

.btn-white-outline {
  background: transparent;
  color: var(--q-white);
  border-color: rgba(255, 255, 255, 0.54);
}

.site-footer {
  background: #0d1219;
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner {
  padding: 2.6rem 0;
}

.footer-brand img {
  width: 118px;
  margin-bottom: 0.9rem;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links-right {
  align-items: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================
   MACRO PAGE COMPONENTS
   ======================================================== */

/* --- Users grid --- */
.users-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.users-card {
  background: var(--q-white);
  border: 1px solid #d9e2ec;
  border-radius: var(--radius);
  padding: 2rem;
}
.users-card-dark {
  background: linear-gradient(160deg, var(--q-mid) 0%, var(--q-ink) 100%);
  color: var(--q-white);
  border: none;
}
.users-card-dark h3, .users-card-dark p { color: var(--q-white); }
.users-card-dark .card-kicker { color: rgba(255, 255, 255, 0.78); }
.users-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #6b7888;
  font-style: italic;
}
.users-note-light {
  color: #a0b4c8;
}

/* --- Procesos grid --- */
.procesos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.proceso-block, .objetivo-block {
  background: var(--q-white);
  border: 1px solid #d9e2ec;
  border-radius: var(--radius);
  padding: 2rem;
}
.proceso-num {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #d0dde9;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.objetivo-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.objetivo-tag-immediate {
  background: #e0f3fd;
  color: var(--q-blue-deep);
}
.objetivo-tag-predict {
  background: #fdf0e0;
  color: #b06a00;
}

/* --- Stat hero block (ASSDA) --- */
.stat-hero-block {
  text-align: center;
  padding: 2.5rem;
}
.stat-hero-num {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--q-blue);
  line-height: 1;
}
.stat-hero-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--q-white);
  margin-top: 0.5rem;
}
.stat-hero-sub {
  font-size: 0.85rem;
  color: #a0b4c8;
  margin-top: 0.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-partner {
  margin-top: 1.5rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: center;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
}

.case-partner span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #607286;
}

.case-partner img {
  width: 163px;
  height: auto;
}

/* --- Modulos grid --- */
.modulos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.modulo-card {
  background: var(--q-white);
  border: 1px solid #d9e2ec;
  border-radius: var(--radius);
  padding: 1.75rem;
}
.modulo-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

/* --- AIOMS chips --- */
.aioms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.aioms-chip {
  background: #e0f3fd;
  color: var(--q-blue-deep);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
}

/* --- ML grid --- */
.ml-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.ml-group {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.ml-group h4 {
  color: var(--q-blue);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.ml-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ml-list li {
  color: #c8d8e8;
  font-size: 0.88rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ml-list li:last-child { border-bottom: none; }

/* --- Casos de uso --- */
.casos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.caso-card {
  background: var(--q-white);
  border: 1px solid #d9e2ec;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.caso-variables {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.caso-var {
  background: var(--q-surface);
  border: 1px solid #d0dde9;
  border-radius: 20px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  color: var(--q-ink);
}
.caso-kpi {
  margin-top: auto;
  background: linear-gradient(90deg, #e0f3fd, #eaf7ff);
  border-left: 3px solid var(--q-blue);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.caso-kpi-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--q-blue-deep);
}
.caso-kpi-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--q-ink);
  margin-top: 0.2rem;
}

/* --- Escenarios --- */
.escenarios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.escenario-card {
  background: var(--q-white);
  border: 1px solid #d9e2ec;
  border-radius: var(--radius);
  padding: 2rem;
}
.escenario-card-dark {
  background: linear-gradient(160deg, var(--q-mid) 0%, var(--q-ink) 100%);
  color: var(--q-white);
  border: none;
}
.escenario-card-dark .card-kicker { color: var(--q-blue); }

/* --- Plain list variants --- */
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plain-list li {
  padding: 0.35rem 0;
  color: var(--q-ink);
  font-size: 0.9rem;
  border-bottom: 1px solid #edf1f6;
}
.plain-list li:last-child { border-bottom: none; }
.plain-list-dot li::before {
  content: "→ ";
  color: var(--q-blue);
  font-weight: 700;
}
.plain-list-light li {
  color: #c8d8e8;
  border-bottom-color: rgba(255,255,255,0.07);
}
.section-lead-dark-sm {
  color: #a0b4c8;
  font-size: 0.95rem;
}

@media (max-width: 1040px) {
  .hero-grid,
  .section-head,
  .narrative-grid,
  .split-showcase,
  .interop-grid,
  .support-shell,
  .cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .platform-grid,
  .stats-shell,
  .solution-grid,
  .users-grid,
  .procesos-grid,
  .modulos-grid,
  .casos-grid,
  .escenarios-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-shell article + article {
    border-left: 0;
    border-top: 1px solid rgba(16, 21, 29, 0.08);
  }

  .support-logos,
  .footer-links-right {
    justify-items: start;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .section-inner,
  .hero-grid,
  .stats-shell,
  .footer-inner,
  .cta-inner {
    width: min(calc(100% - 2rem), var(--max-w));
  }

  .header-inner {
    min-height: 60px;
    gap: 0.8rem;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    padding: 0.6rem 0;
  }

  .logo-wrap img {
    width: 110px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 0;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    grid-column: 1 / -1;
    width: 100%;
    padding: 0.4rem 0 0.2rem;
    margin-left: 0;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a,
  .nav-item > a {
    width: 100%;
    min-height: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-panel {
    position: static;
    transform: none;
    width: 100%;
    margin: 0.35rem 0 0.6rem;
    padding: 0.35rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border-radius: 10px;
    border-color: var(--q-line);
    backdrop-filter: none;
  }

  .nav-panel a {
    border: 0;
    border-radius: 8px;
    background: #f3f7fb;
    padding: 0.62rem 0.78rem;
  }

  .has-panel::after {
    display: none;
  }

  .header-actions {
    width: auto;
    justify-content: flex-end;
  }

  .btn-link {
    display: none;
  }

  .btn-cta {
    min-height: 40px;
    padding: 0.55rem 0.9rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 10vw, 3.5rem);
  }

  .panel-row,
  .interop-card {
    grid-template-columns: 1fr;
  }

  .capability-card {
    grid-template-rows: 200px 1fr;
  }

  .section {
    padding: 4rem 0;
  }
}

/* ========================================================
   MODAL TE LLAMAMOS
   ======================================================== */
.call-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.call-modal[hidden] { display: none; }

.call-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 21, 29, 0.72);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.call-modal-box {
  position: relative;
  z-index: 1;
  background: var(--q-white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--q-shadow);
}

.call-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--q-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
}
.call-modal-close:hover { color: var(--q-ink); }

.call-modal-box .eyebrow {
  margin-bottom: 0.4rem;
}
.call-modal-box h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--q-ink);
  margin-bottom: 1.5rem;
}

.call-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}
.call-field label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--q-muted);
}
.call-field input {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--q-line);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--q-ink);
  transition: border-color .2s;
}
.call-field input:focus {
  outline: none;
  border-color: var(--q-blue);
}

.call-error {
  background: #fff0f0;
  border: 1px solid #f5c6c6;
  color: #c0392b;
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.btn-full { width: 100%; text-align: center; }

.call-hint {
  font-size: 0.85rem;
  color: var(--q-muted);
  margin-bottom: 1.2rem;
}

.call-resend {
  background: none;
  border: none;
  color: var(--q-blue);
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 0.75rem;
  padding: 0;
  display: block;
  width: 100%;
  text-align: center;
}
.call-resend:hover { text-decoration: underline; }

.call-success {
  text-align: center;
  padding: 1rem 0;
}
.call-success h2 { margin-bottom: 0.5rem; }
.call-success p  { color: var(--q-muted); margin-bottom: 1.5rem; }
}