:root {
  color-scheme: light;
  --ink: #17283e;
  --ink-soft: #5f7083;
  --blue: #477cb8;
  --blue-bright: #477cb8;
  --blue-pale: #b8cde1;
  --paper: #f5f7fa;
  --surface: #edf1f5;
  --night: #0b1420;
  --line: #dfe6ed;
  --radius: 24px;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-display: "Manrope", "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
p {
  font-size: 12px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 16px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}

/* Header y navegación */
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: #f5f8ff;
  border-bottom: 1px solid rgb(255 255 255 / 9%);
  background: rgb(5 10 18 / 94%);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgb(0 0 0 / 16%);
}
.header-inner {
  width: min(1240px, calc(100% - 64px));
  min-height: 82px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  justify-self: start;
}
.brand img {
  display: block;
  width: 164px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(20px, 3vw, 42px);
}
.nav-group {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82px;
}
.nav-trigger,
.nav-link {
  position: relative;
  padding: 12px 0;
  color: #e6ebf4;
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}
.nav-trigger:hover,
.nav-trigger:focus-visible,
.nav-link:hover,
.nav-link:focus-visible {
  color: #91baff;
  outline: 0;
}
.chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 3px 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.nav-group.is-open .chevron {
  transform: translateY(3px) rotate(225deg);
}
.nav-panel {
  position: absolute;
  top: calc(100% - 6px);
  left: -20px;
  min-width: 255px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 16px;
  background: #101a29;
  box-shadow: 0 20px 50px rgb(0 0 0 / 34%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.2s ease,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.2s;
}
.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel,
.nav-group.is-open .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.nav-panel a {
  padding: 11px 12px;
  border-radius: 9px;
  color: #d6dfed;
  font-size: 13px;
  line-height: 1.3;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    padding 0.2s ease;
}
.nav-panel a:hover,
.nav-panel a:focus-visible {
  padding-left: 16px;
  color: white;
  background: rgb(55 113 224 / 17%);
  outline: 0;
}
.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-left: clamp(16px, 2.2vw, 32px);
  padding: 12px 18px;
  border: 1px solid rgb(148 182 240 / 36%);
  border-radius: 999px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  background: rgb(36 89 183 / 24%);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.nav-contact:hover {
  background: var(--blue);
  transform: translateY(-2px);
}
.menu-toggle {
  display: none;
}

/* Hero: video, cuadrícula y atmósfera inspirada en la referencia */
.hero {
  position: relative;
  height: 170svh;
  min-height: 1260px;
  padding: 0;
  overflow: clip;
  background: #070b11;
}
.hero-stage {
  position: sticky;
  top: 0;
  isolation: isolate;
  height: 100svh;
  min-height: 680px;
  padding: 112px clamp(28px, 7vw, 112px) 64px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: white;
  background: #070b11;
}
.hero.is-scroll-pinned,
.hero.is-motion-reduced {
  height: auto;
  min-height: 100svh;
  overflow: visible;
}
.hero.is-scroll-pinned .hero-stage,
.hero.is-motion-reduced .hero-stage {
  position: relative;
  top: auto;
  height: 100svh;
  min-height: 0;
}
.hero.is-motion-reduced .hero-video {
  transform: scale(1);
  will-change: auto;
}
.hero-video,
.hero-video-shade,
.hero-grid,
.hero-particles {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video {
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  filter: grayscale(1) saturate(0) brightness(0.96) contrast(1.05);
  transform: scale(var(--hero-zoom, 2.35));
  transform-origin: center center;
  will-change: transform;
}
.hero-video-shade {
  background: linear-gradient(
    90deg,
    transparent 26%,
    rgb(5 8 14 / 8%) 58%,
    rgb(5 8 14 / 22%) 100%
  );
}
.hero-grid {
  z-index: 0;
  opacity: 0.44;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(157 177 204 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(157 177 204 / 8%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    rgb(0 0 0 / 78%) 72%,
    transparent 100%
  );
}
.hero-particles {
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin: 0 auto 0 0;
  text-align: left;
  transform: translate3d(0, var(--hero-shift, 0px), 0);
  opacity: var(--hero-opacity, 1);
  will-change: transform, opacity;
}

.announcement {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 auto 40px 0;
  padding: 7px 15px 7px 8px;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 999px;
  color: #e6eaf1;
  background: rgb(20 23 29 / 74%);
  font-size: 12px;
  font-weight: 600;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.announcement:hover {
  border-color: rgb(79 142 255 / 55%);
  background: rgb(28 42 65 / 90%);
}
.announcement-tag {
  padding: 5px 10px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(110deg, #1165ff, #8050ed);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.hero-eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: #8fb8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #d4dfef;
}
.hero-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #68a1ff;
  box-shadow: 0 0 18px #5598ff;
}
.hero h1 {
  max-width: 1040px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(50px, 7.4vw, 92px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.99;
}
.hero-title-base {
  margin-bottom: 15px;
  display: block;
  color: #aeb3bd;
}
.hero-title-rotate {
  min-height: 1.08em;
  display: block;
  color: #f7f8fa;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.04;
}
.hero-title-rotate .title-char {
  display: inline-block;
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(0, 0.7em, 0) rotate(2deg);
  transition:
    opacity 0.42s ease,
    filter 0.5s ease,
    transform 0.6s cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: calc(var(--char-index, 0) * 17ms);
}
.hero-title-rotate.is-ready .title-char {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) rotate(0);
}
.hero-title-rotate.is-changing .title-char {
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(0, -0.65em, 0) rotate(-2deg);
  transition-delay: calc(var(--char-index, 0) * 8ms);
}
.hero-lede {
  width: min(720px, 100%);
  margin: 26px 0 0;
  color: #d0d5dd;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.55;
  text-shadow: 0 2px 20px rgb(0 0 0 / 40%);
}
.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 36px;
}
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.button:hover {
  transform: translateY(-3px);
}
.button-primary {
  color: white;
  background: #1168fa;
  box-shadow: 0 12px 34px rgb(15 94 232 / 27%);
}
.button-primary:hover {
  background: #2779ff;
  box-shadow: 0 16px 40px rgb(15 94 232 / 42%);
}
.hero-growth-cta {
  max-width: 610px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  text-shadow: 0 2px 18px rgb(0 0 0 / 42%);
}
.hero-coordinate {
  position: absolute;
  right: 5.5%;
  bottom: 34px;
  color: #9daec4;
  font-size: 10px;
  letter-spacing: 0.18em;
}
/* Organizaciones que confían: cinta editorial de marcas */
.trust-strip {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 25px 0;
  border-block: 1px solid #dce6f2;
  background: #f4f8fd;
}
.success-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.7vw, 58px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.04;
}
.success-heading h2 span {
  color: #8193a7;
}
.trust-marquee {
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}
.trust-track {
  display: flex;
  width: max-content;
  animation: trust-marquee 44s linear infinite;
}
.trust-marquee:hover .trust-track,
.trust-marquee:focus-within .trust-track {
  animation-play-state: paused;
}
.trust-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
}
.trust-wordmark {
  color: #23384e;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
  opacity: 0.66;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}
.trust-wordmark:nth-child(3n + 2) {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.trust-wordmark:hover {
  color: #245ed0;
  opacity: 1;
  transform: translateY(-2px);
}
@keyframes trust-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Secciones y servicios */
.section {
  padding: 120px 0;
}
.services-section {
  padding-top: 142px;
}
.services-section .section-heading,
.services-section .service-grid {
  width: min(1000px, calc(100% - 64px));
  margin-inline: auto;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}
.section-heading h2,
.about-copy h2,
.success-copy h2,
.contact-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.04;
}
.section-heading h2 span,
.about-copy h2 span,
.success-copy h2 span,
.contact-panel h2 span {
  color: #8293a6;
}
.section-heading > p {
  width: min(400px, 42%);
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}
.section-kicker {
  color: var(--blue);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  min-height: 330px;
  position: relative;
  padding: 26px 23px 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e6ebf2;
  border-radius: 20px;
  background: white;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: #c8d9f3;
  box-shadow: 0 24px 55px rgb(22 49 83 / 10%);
}
.service-card-featured {
  background: linear-gradient(145deg, #f1f6ff, #fff 75%);
}
.card-index {
  color: #9aa8b8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.service-icon {
  width: 46px;
  height: 46px;
  margin: 31px 0 18px;
  display: grid;
  place-items: center;
  border: 1px solid #dae5f3;
  border-radius: 14px;
  color: var(--blue);
  background: #f2f6fc;
  font-size: 22px;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  margin: 0 0 12px;
  color: #1c2d43;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.service-card p {
  margin: 0 0 24px;
  color: #738195;
  font-size: 13px;
  line-height: 1.65;
}
.card-link {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: #2d61b2;
  font-size: 12px;
  font-weight: 700;
}
/* Productos software */
.solutions-section {
  padding: 116px 0 124px;
  color: #1a3554;
  background: linear-gradient(130deg, #d8e9ff 0%, #e6f1ff 52%, #d3e5fc 100%);
}
.section-heading-light h2 {
  color: #172f4b;
}
.section-heading-light h2 span {
  color: #4178bc;
}
.section-heading-light > p {
  color: #60758e;
}
.solution-list {
  border-top: 1px solid #c9d8ea;
}
.solution-row {
  min-height: 88px;
  display: grid;
  grid-template-columns: 56px minmax(200px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  border-bottom: 1px solid #c9d8ea;
  transition:
    background 0.25s ease,
    padding 0.25s ease;
}
.solution-row:hover {
  padding-inline: 14px;
  background: rgb(255 255 255 / 66%);
}
.solution-number {
  color: #6c83a0;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.solution-name {
  color: #173451;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.solution-desc {
  color: #637a94;
  font-size: 14px;
}
/* Sobre nosotros */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}
.about-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  background: radial-gradient(
    circle at 50% 40%,
    #d7e7ff,
    #edf3fb 45%,
    #f6f8fb 78%
  );
}
.about-orbit {
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid rgb(49 104 185 / 18%);
  border-radius: 50%;
}
.orbit-two {
  width: 105%;
  border-color: rgb(49 104 185 / 10%);
}
.about-card {
  z-index: 1;
  width: min(72%, 370px);
  min-height: 225px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 87%),
    rgb(236 243 252 / 73%)
  );
  box-shadow: 0 25px 65px rgb(36 72 118 / 16%);
  backdrop-filter: blur(12px);
  transform: rotate(-3deg);
}
.about-card-label {
  color: #687e9b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.about-card-years {
  color: #223b5d;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.07em;
}
.about-card-years span {
  padding-inline: 10px;
  color: #92a9c7;
  font-weight: 400;
}
.about-card-line {
  height: 2px;
  background: linear-gradient(90deg, #2869c8, #8fc0ff, transparent);
}
.about-card-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #537092;
  font-size: 11px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42aa89;
  box-shadow: 0 0 9px rgb(66 170 137 / 45%);
}
.about-float {
  position: absolute;
  z-index: 2;
  padding: 12px 16px;
  border: 1px solid rgb(255 255 255 / 78%);
  border-radius: 12px;
  color: #395779;
  background: rgb(255 255 255 / 86%);
  box-shadow: 0 14px 32px rgb(39 68 103 / 12%);
  font-size: 11px;
  font-weight: 700;
}
.about-float-one {
  top: 18%;
  left: 8%;
}
.about-float-two {
  right: 7%;
  bottom: 18%;
}
.about-copy h2 {
  margin-bottom: 25px;
}
.about-copy > p:not(.section-kicker) {
  margin: 0 0 17px;
  color: #66768a;
  font-size: 15px;
  line-height: 1.8;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: #2862bd;
  font-size: 13px;
  font-weight: 700;
}

/* Integraciones: sección editorial en azul Deltanet */
.integrations-section {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 10vw, 138px) 0;
  color: #173451;
  background-image: url("/assets/img/optimized/body-6.jpg");
  background-position: center 43%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.integrations-content {
  max-width: 1240px;
}
.integrations-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 22px;
  color: #a9bacb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.integrations-kicker > span {
  width: 21px;
  height: 21px;
  display: inline-block;
  border: 1px solid #a9bacb;
  border-radius: 5px;
  background: rgb(41 105 194 / 11%);
}
.integrations-content h2 {
  max-width: 1050px;
  margin: 0;
  color: #a9bacb;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.04;
}
.integrations-content h2 span {
  color: #2c6ec0;
}
.integrations-description {
  max-width: 850px;
  margin: 24px 0 36px;
  color: #d5dadf;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.75;
}
.integration-tags {
  max-width: 850px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.integration-tags li {
  min-height: 48px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #aac2df;
  border-radius: 999px;
  color: #1a3d61;
  background: rgb(255 255 255 / 82%);
  font-size: 15px;
  white-space: nowrap;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
}
.integration-tags li > span {
  color: #2868b7;
  font-size: 17px;
  line-height: 1;
}
.integration-tags li:hover {
  transform: translateY(-2px);
  border-color: #73adff;
  background: #fff;
}

/* Casos de éxito: carrusel editorial en azul Deltanet */
.success-section {
  overflow: hidden;
  padding: 100px 0 110px;
  background: #f4f7fb;
  margin-left: 35px;
}
.success-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 42px;
}
.success-heading .section-kicker {
  margin-bottom: 14px;
}
.success-controls {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 4px;
}
.success-controls .text-link {
  margin: 0;
  white-space: nowrap;
}
.case-arrows {
  display: flex;
  gap: 9px;
}
.case-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #d2dce9;
  border-radius: 50%;
  color: #173c71;
  background: #fff;
  font-size: 19px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}
.case-arrow:hover {
  color: #fff;
  background: #245ed0;
  transform: translateY(-2px);
}
.case-carousel {
  overflow-x: auto;
  padding: 0 max(32px, calc((100vw - 1240px) / 2)) 14px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.case-carousel {
  margin-left: 100px;
  padding-right: 0px;
}

.case-carousel::-webkit-scrollbar {
  display: none;
}
.case-track {
  display: flex;
  gap: 18px;
  width: max-content;
}
.case-slide {
  position: relative;
  width: min(760px, calc(100vw - 128px));
  min-height: 430px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background: #102844;
  scroll-snap-align: start;
  isolation: isolate;
}
.case-slide-copy {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(135deg, #132c49 0%, #0d2038 100%);
}
.case-label {
  padding: 7px 11px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 30px;
  color: #d5dfeb;
  background: rgb(255 255 255 / 8%);
  font-size: 11px;
  letter-spacing: 0.035em;
}
.case-slide h3 {
  margin: 37px 0 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 35px);
  line-height: 0.97;
  letter-spacing: -0.065em;
}
.case-slide h3 small {
  color: #9ebfff;
  font-size: 0.64em;
}
.case-slide-copy p {
  max-width: 310px;
  margin: 0;
  color: #c0cede;
  font-size: 16px;
  line-height: 1.7;
}
.case-slide-copy a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 28px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.case-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  background-color: #245ed0;
}
.case-art::before,
.case-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.case-art::before {
  width: 460px;
  height: 460px;
  border: 1px solid rgb(255 255 255 / 20%);
}
.case-art::after {
  width: 330px;
  height: 330px;
  border: 1px solid rgb(255 255 255 / 15%);
}
.case-art-index {
  position: absolute;
  right: 25px;
  bottom: 23px;
  color: rgb(255 255 255 / 65%);
  font-size: 12px;
  letter-spacing: 0.15em;
}
.case-slide-tourism .case-art {
  background: radial-gradient(
    circle at 65% 38%,
    #75c7ed 0,
    #2576b5 34%,
    #164780 72%
  );
}
.case-orbit {
  position: absolute;
  width: 235px;
  height: 235px;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 50%;
  box-shadow:
    0 0 0 29px rgb(255 255 255 / 5%),
    0 0 80px rgb(145 219 255 / 28%);
}
.case-art-caption {
  position: relative;
  z-index: 1;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-align: center;
  transform: rotate(-8deg);
}
.case-slide-cheefy .case-art {
  background: linear-gradient(145deg, #347ccb, #1b3762);
}
.case-art-window {
  position: relative;
  z-index: 1;
  width: 65%;
  min-height: 245px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 20px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 28px 80px rgb(5 16 37 / 30%);
  transform: rotate(4deg);
}
.case-art-window i {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 50%;
  background: #347ccb;
}
.case-art-window b {
  margin: auto;
  color: #173c71;
  font-family: var(--font-display);
  font-size: clamp(35px, 5vw, 62px);
  letter-spacing: -0.07em;
}
.case-art-window em {
  color: #68809a;
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-align: center;
}
.case-slide-globalcaja .case-art {
  background: radial-gradient(circle at 50% 50%, #3b7ce1, #17345c 72%);
}
.case-data-orb {
  position: relative;
  z-index: 1;
  width: 205px;
  height: 205px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 46%);
  border-radius: 50%;
  color: #fff;
  background: rgb(255 255 255 / 9%);
  box-shadow:
    0 0 0 24px rgb(255 255 255 / 5%),
    0 22px 70px rgb(0 0 0 / 18%);
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.07em;
}
.case-data-orb span {
  color: #a9c8ff;
  font-size: 0.58em;
}
.case-data-line {
  position: absolute;
  z-index: 1;
  width: 130%;
  height: 1px;
  background: rgb(255 255 255 / 28%);
  transform: rotate(-28deg);
}
.case-slide-afibrom .case-art {
  min-height: 430px;
  background: radial-gradient(circle at 52% 48%, #3877d5, #142944 70%);
}
.case-slide-tourism .case-art {
  min-height: 430px;
  background: radial-gradient(circle at 52% 48%, #3877d5, #142944 70%);
}
.case-slide-tourism .case-art::before,
.case-slide-tourism .case-art::after {
  display: none;
}
.case-slide-afibrom .case-art::before,
.case-slide-afibrom .case-art::after {
  display: none;
}
.case-art-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.case-progress {
  height: 2px;
  margin-top: 22px;
  overflow: hidden;
  background: #dbe3ed;
}
.case-progress span {
  width: 25%;
  height: 100%;
  display: block;
  background: #2862bd;
  transition: transform 0.35s ease;
}
.about-section {
  padding: clamp(72px, 9vw, 112px) 0;
  color: #173451;
  background: #eaf2fc;
}
.about-content {
  max-width: 1240px;
}
.about-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}
.about-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #173451;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.about-kicker > span {
  width: 21px;
  height: 21px;
  display: inline-block;
  border: 1px solid #4e8fdf;
  border-radius: 5px;
}
.about-heading-row h2 {
  margin: 0;
  color: #173451;
  font-family: var(--font-display);
  font-size: clamp(37px, 4.3vw, 58px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.06;
}
.about-heading-row h2 span {
  color: #2c6ec0;
}
.about-intro {
  max-width: 640px;
  margin: 24px 0 0;
  color: #536b86;
  font-size: 15px;
  line-height: 1.7;
}
.about-more,
.contact-cta-link {
  min-height: 47px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  border: 1px solid #518bd5;
  border-radius: 999px;
  color: #2868b7;
  font-size: 15px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.contact-cta-link {
  color: #a9ceff;
}
.about-more:hover,
.contact-cta-link:hover {
  transform: translateY(-2px);
  border-color: #8bbaff;
  background: rgb(66 126 205 / 10%);
}
.about-more span,
.contact-cta-link span {
  font-size: 19px;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #c6d7eb;
  background: rgb(255 255 255 / 48%);
}
.about-fact {
  min-height: 170px;
  padding: 32px clamp(22px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border-right: 1px solid #c6d7eb;
}
.about-fact:last-child {
  border-right: 0;
}
.about-fact strong {
  color: #173451;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.065em;
}
.about-fact span {
  max-width: 290px;
  color: #536b86;
  font-size: 14px;
  line-height: 1.6;
}

.contact-section {
  position: relative;
  min-height: 490px;
  padding: 92px 0;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #081327;
}
.contact-video,
.contact-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.contact-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
}
.contact-backdrop {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgb(5 13 31 / 70%),
      rgb(7 22 46 / 40%) 58%,
      rgb(7 22 46 / 25%)
    ),
    linear-gradient(0deg, rgb(5 13 31 / 28%), transparent 45%);
}
.contact-cta {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}
.contact-kicker {
  margin: 0 0 21px;
  color: #76b6ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
}
.contact-cta h2 {
  margin: 0 auto;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(37px, 5vw, 62px);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.08;
}
.contact-description {
  max-width: 690px;
  margin: 21px auto 26px;
  color: #e1e8f2;
  font-size: 16px;
  line-height: 1.7;
}
.contact-cta-link {
  color: #a9ceff;
}

/* Footer */
.site-footer {
  color: #e6edf7;
  background: #0a111d;
}
.footer-main {
  min-height: 175px;
  padding-block: 38px;
  display: grid;
  grid-template-columns: 190px 1fr 1.4fr;
  align-items: center;
  gap: 40px;
}
.footer-brand img {
  width: 145px;
}
.footer-main > p {
  margin: 0;
  color: #a7b4c5;
  font-size: 12px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}
.footer-links a,
.footer-bottom a {
  color: #c4cedb;
  font-size: 11px;
  transition: color 0.2s ease;
}
.footer-links a:hover,
.footer-bottom a:hover {
  color: #8bb9ff;
}
.footer-bottom {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: #8090a4;
  font-size: 10px;
}
.footer-bottom > div {
  display: flex;
  gap: 22px;
}

/* Aparición al desplazarse */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card:nth-child(2),
.solution-row:nth-child(2) {
  transition-delay: 0.06s;
}
.service-card:nth-child(3),
.solution-row:nth-child(3) {
  transition-delay: 0.12s;
}
.service-card:nth-child(4),
.solution-row:nth-child(4) {
  transition-delay: 0.18s;
}

@media (max-width: 1000px) {
  .header-inner {
    width: min(100% - 44px, 1240px);
  }
  .main-nav {
    gap: 21px;
  }
  .brand img {
    width: 145px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card {
    min-height: 300px;
  }
  .about-layout,
  .success-layout {
    gap: 46px;
  }
  .case-slide {
    width: min(820px, calc(100vw - 80px));
  }
  .solution-row {
    grid-template-columns: 48px minmax(180px, 0.7fr) minmax(0, 1.3fr);
    gap: 16px;
  }
  .success-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .success-controls {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }
  .case-carousel {
    padding-inline: 40px;
    scroll-padding-inline: 40px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 70px;
  }
  .container {
    width: min(100% - 40px, 560px);
  }
  .site-header {
    background: rgb(5 10 18 / 88%);
  }
  .header-inner {
    width: calc(100% - 38px);
    min-height: 72px;
    display: flex;
    justify-content: space-between;
  }
  .brand img {
    width: 137px;
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 11px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 12px;
    color: white;
    background: rgb(255 255 255 / 6%);
    cursor: pointer;
  }
  .menu-toggle span {
    width: 18px;
    height: 1.5px;
    display: block;
    background: white;
    transition: transform 0.2s ease;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    max-height: calc(100svh - 73px);
    padding: 12px 20px 22px;
    display: none;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    border-bottom: 1px solid rgb(255 255 255 / 13%);
    background: #0b1422;
    box-shadow: 0 24px 35px rgb(0 0 0 / 22%);
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-group {
    display: block;
    min-height: 0;
  }
  .nav-trigger,
  .nav-link {
    width: 100%;
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px;
    text-align: left;
  }
  .nav-panel {
    position: static;
    display: grid;
    grid-template-rows: 0fr;
    min-width: 0;
    max-height: 0;
    gap: 0;
    padding: 0 0 0 11px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
  }
  .nav-panel a {
    padding-block: 0;
    opacity: 0;
    transition:
      opacity 0.2s ease,
      padding 0.2s ease,
      color 0.2s ease;
  }
  .nav-group.is-open .nav-panel,
  .nav-group:focus-within .nav-panel {
    max-height: 320px;
    padding: 2px 0 8px 11px;
  }
  .nav-group.is-open .nav-panel a,
  .nav-group:focus-within .nav-panel a {
    padding-block: 10px;
    opacity: 1;
  }
  .nav-group:hover .nav-panel {
    max-height: 0;
    padding: 0 0 0 11px;
  }
  .nav-group.is-open:hover .nav-panel {
    max-height: 320px;
    padding: 2px 0 8px 11px;
  }
  .nav-group:hover .nav-panel a {
    padding-block: 0;
    opacity: 0;
  }
  .nav-group.is-open:hover .nav-panel a {
    padding-block: 10px;
    opacity: 1;
  }
  .nav-contact {
    align-self: flex-start;
    margin-left: 0;
    margin-top: 10px;
  }
  .hero {
    height: 160svh;
    min-height: 1120px;
  }
  .hero-stage {
    min-height: 0;
    padding: 102px 22px 62px;
  }
  .announcement {
    max-width: 100%;
    gap: 8px;
    margin-bottom: 34px;
    font-size: 10px;
  }
  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .hero h1 {
    font-size: clamp(43px, 10vw, 70px);
  }
  .hero-title-rotate {
    min-height: 2.08em;
    font-size: inherit;
  }
  .desktop-break {
    display: none;
  }
  .hero-lede {
    margin-top: 22px;
    font-size: 16px;
  }
  .hero-growth-cta {
    max-width: 100%;
    font-size: 13px;
  }
  .hero-coordinate {
    right: 22px;
    bottom: 19px;
    font-size: 9px;
  }
  .trust-strip {
    padding: 17px 0;
  }
  .trust-set {
    gap: 34px;
  }
  .trust-wordmark {
    font-size: 15px;
  }
  .section {
    padding: 82px 0;
  }
  .services-section {
    padding-top: 90px;
  }
  .services-section .section-heading,
  .services-section .service-grid {
    width: calc(100% - 40px);
  }
  .section-heading {
    display: block;
    margin-bottom: 34px;
  }
  .section-heading > p {
    width: auto;
    margin-top: 22px;
  }
  .section-heading h2,
  .about-copy h2,
  .success-copy h2 {
    font-size: clamp(37px, 9vw, 52px);
  }
  .service-grid {
    gap: 12px;
  }
  .service-card {
    min-height: 315px;
    padding: 20px 17px;
  }
  .service-icon {
    margin-top: 25px;
  }
  .service-card h3 {
    font-size: 18px;
  }
  .service-card p {
    font-size: 12px;
  }
  .solutions-section {
    padding: 84px 0 90px;
  }
  .solution-row {
    min-height: 92px;
    grid-template-columns: 30px 1fr;
    gap: 10px;
  }
  .solution-name {
    font-size: 18px;
  }
  .solution-desc {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin-top: -24px;
    font-size: 11px;
  }
  .about-layout,
  .success-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .about-visual {
    min-height: 340px;
  }
  .about-card {
    min-height: 200px;
  }
  .success-section {
    padding: 82px 0;
  }

  .success-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
  }
  .success-heading h2 br {
    display: none;
  }
  .success-controls {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .case-carousel {
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }
  .case-slide {
    width: calc(100vw - 40px);
    min-height: unset;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(260px, auto);
  }
  .case-slide-copy {
    min-height: 315px;
    padding: 27px;
  }
  .case-slide h3 {
    margin: 30px 0 12px;
    font-size: clamp(38px, 8vw, 53px);
  }
  .case-slide-copy p {
    max-width: 100%;
  }
  .case-slide-copy a {
    padding-top: 22px;
  }
  .case-art,
  .case-slide-tourism .case-art,
  .case-slide-afibrom .case-art {
    min-height: 260px;
  }
  .case-art-window {
    min-height: 210px;
    padding: 15px;
  }
  .case-data-orb {
    width: 155px;
    height: 155px;
    font-size: 34px;
  }
  .integrations-section {
    padding: 76px 0;
  }
  .integration-tags {
    gap: 11px;
  }
  .integration-tags li {
    min-height: 44px;
    padding-inline: 15px;
    font-size: 14px;
  }
  .about-section {
    padding: 76px 0;
  }
  .about-heading-row {
    flex-direction: column;
    gap: 22px;
  }
  .about-facts {
    grid-template-columns: 1fr;
  }
  .about-fact {
    min-height: 132px;
    border-right: 0;
    border-bottom: 1px solid #c6d7eb;
  }
  .about-fact:last-child {
    border-bottom: 0;
  }
  .contact-section {
    min-height: 440px;
    padding: 75px 0;
  }
  .contact-section {
    padding: 70px 0;
  }
  .contact-panel {
    display: block;
    padding: 30px 24px;
  }
  .contact-actions {
    margin-top: 30px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding-block: 34px;
  }
  .footer-main > p {
    justify-self: end;
    text-align: right;
  }
  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 10px;
  }
}

/* Homepage · tarjetas de software propio */
.solution-list {
  border: 0;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.solution-card {
  position: relative;
  min-width: 0;
  min-height: 330px;
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  grid-column: span 2;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border: 1px solid rgb(113 147 188 / 26%);
  border-radius: 20px;
  color: #173451;
  background: linear-gradient(145deg, #fff 0%, #f5f9ff 100%);
  box-shadow: 0 12px 34px rgb(36 75 121 / 6%);
  isolation: isolate;
  text-decoration: none;
  transition:
    opacity 650ms ease,
    transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1),
    border-color 300ms ease,
    box-shadow 300ms ease,
    background 300ms ease;
}
.solution-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.solution-card:nth-child(5) {
  grid-column: 4 / span 2;
}
.solution-card::before {
  position: absolute;
  z-index: -1;
  top: -92px;
  right: -82px;
  width: 220px;
  aspect-ratio: 1;
  border: 1px solid rgb(54 109 182 / 9%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(111 163 226 / 12%), transparent 68%);
  content: "";
  transform: scale(0.78);
  transition:
    transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1),
    opacity 400ms ease;
  opacity: 0.72;
}
.solution-card:hover,
.solution-card:focus-visible {
  border-color: rgb(57 112 183 / 50%);
  background: #fff;
  box-shadow: 0 22px 48px rgb(36 75 121 / 13%);
  outline: 0;
  transform: translateY(-6px);
}
.solution-card:focus-visible {
  outline: 3px solid #2160d5;
  outline-offset: 3px;
}
.solution-card:hover::before,
.solution-card:focus-visible::before {
  opacity: 1;
  transform: scale(1.08);
}
.solution-card-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #607a99;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
}
.solution-card-top span:first-child {
  color: #3d73b5;
  font-variant-numeric: tabular-nums;
}
.solution-mark {
  width: 56px;
  height: 56px;
  margin: 28px 0 18px;
  display: grid;
  place-items: center;
  border: 1px solid #d1e1f4;
  border-radius: 16px;
  color: #245eaa;
  background: linear-gradient(145deg, #f8fbff, #e7f1ff);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  transition:
    transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1),
    background 300ms ease;
}
.solution-card:hover .solution-mark,
.solution-card:focus-visible .solution-mark {
  background: #dceaff;
  transform: rotate(-7deg) scale(1.06);
}
.solution-card h3 {
  margin: 0 0 10px;
  color: #173451;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.solution-card p {
  max-width: 38ch;
  margin: 0;
  color: #5d7188;
  font-size: 14px;
  line-height: 1.65;
}
.solution-card-link {
  min-height: 42px;
  margin-top: auto;
  padding-top: 17px;
  display: inline-flex;
  align-items: center;
  color: #245eaa;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition:
    text-decoration-color 220ms ease,
    color 220ms ease;
}
.solution-card:hover .solution-card-link,
.solution-card:focus-visible .solution-card-link {
  color: #123f85;
  text-decoration-color: currentColor;
}
.solution-card:nth-child(2) {
  transition-delay: 60ms;
}
.solution-card:nth-child(3) {
  transition-delay: 120ms;
}
.solution-card:nth-child(4) {
  transition-delay: 60ms;
}
.solution-card:nth-child(5) {
  transition-delay: 120ms;
}
@media (max-width: 900px) {
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .solution-card,
  .solution-card:nth-child(4),
  .solution-card:nth-child(5) {
    grid-column: auto;
  }
  .solution-card:last-child {
    grid-column: 1 / -1;
    min-height: 270px;
  }
}
@media (max-width: 600px) {
  .solution-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }
  .solution-card,
  .solution-card:last-child {
    min-height: 0;
    grid-column: 1;
    padding: 23px;
  }
  .solution-mark {
    width: 48px;
    height: 48px;
    margin: 22px 0 16px;
  }
  .solution-card p {
    font-size: 14px;
  }
  .solution-card-link {
    margin-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .solution-card,
  .solution-card::before,
  .solution-mark,
  .solution-card-link {
    transition: none;
  }
  .solution-card:hover,
  .solution-card:focus-visible {
    transform: none;
  }
  .solution-card:hover .solution-mark,
  .solution-card:focus-visible .solution-mark {
    transform: none;
  }
}
@media (max-width: 460px) {
  .container {
    width: calc(100% - 34px);
  }
  .hero {
    min-height: 1040px;
    height: 160svh;
  }
  .hero-stage {
    padding-inline: 17px;
  }
  .announcement {
    font-size: 9px;
  }
  .announcement-tag {
    font-size: 9px;
  }
  .hero h1 {
    font-size: clamp(33px, 8.4vw, 60px);
  }
  .hero-lede {
    font-size: 14px;
  }
  .button {
    min-height: 50px;
    padding-inline: 18px;
    font-size: 12px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 265px;
  }
  .service-icon {
    margin-top: 21px;
  }
  .solution-row {
    grid-template-columns: 25px 1fr;
  }
  .success-stats {
    gap: 9px;
  }
  .stat-card {
    min-height: 140px;
    padding: 18px;
  }
  .stat-card strong {
    font-size: 27px;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-main > p {
    justify-self: start;
    text-align: left;
  }
  .footer-links {
    gap: 12px 17px;
  }
  .footer-bottom {
    min-height: 75px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .success-heading h2 {
    font-size: clamp(30px, 8.5vw, 42px);
  }
  .trust-set {
    gap: 27px;
  }
  .trust-wordmark {
    font-size: 14px;
  }
  .success-controls .text-link {
    font-size: 12px;
  }
  .integrations-content h2 {
    font-size: clamp(37px, 10.5vw, 49px);
  }
  .integrations-description {
    margin: 20px 0 27px;
    font-size: 16px;
  }
  .integration-tags {
    gap: 9px;
  }
  .integration-tags li {
    min-height: 41px;
    padding-inline: 13px;
    font-size: 13px;
  }
  .about-heading-row h2 {
    font-size: clamp(35px, 9.5vw, 46px);
  }
  .about-intro {
    font-size: 14px;
  }
  .about-fact {
    padding: 24px;
  }
  .about-fact strong {
    font-size: 42px;
  }
  .contact-cta h2 {
    font-size: clamp(34px, 9vw, 46px);
  }
  .contact-description {
    font-size: 14px;
  }
  .case-arrow {
    width: 39px;
    height: 39px;
  }
  .case-slide {
    width: calc(100vw - 40px);
    min-height: unset;
    grid-template-columns: 1fr;
  }
  .case-slide-copy {
    min-height: 315px;
    padding: 27px;
  }
  .case-slide h3 {
    margin: 30px 0 12px;
    font-size: 48px;
  }
  .case-slide-copy p {
    max-width: 100%;
  }
  .case-slide-copy a {
    padding-top: 22px;
  }
  .case-art {
    min-height: 245px;
  }
  .case-slide-tourism .case-art {
    min-height: 245px;
  }
  .case-slide-afibrom .case-art {
    min-height: 245px;
  }
  .case-art-window {
    width: 58%;
    min-height: 190px;
  }
  .case-data-orb {
    width: 150px;
    height: 150px;
  }
  .case-progress {
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-track {
    animation: none;
  }
  .trust-set[aria-hidden="true"] {
    display: none;
  }
  .trust-wordmark,
  .case-arrow,
  .case-progress span {
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Página de casos de éxito */
.stories-page {
  background: #f5f8fc;
}
.stories-hero {
  position: relative;
  min-height: 690px;
  padding: 154px 0 92px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 80% 45%, rgb(45 111 207 / 28%), transparent 37%),
    linear-gradient(125deg, #081422 0%, #102b4a 58%, #15385f 100%);
}
.stories-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 65%, #000);
  pointer-events: none;
}
.stories-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: clamp(52px, 8vw, 112px);
}
.stories-hero-copy {
  max-width: 700px;
}
.stories-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: #b9d1f1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.stories-kicker > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64a1ff;
  box-shadow: 0 0 16px rgb(100 161 255 / 75%);
}
.stories-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.2vw, 78px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.01;
}
.stories-hero h1 span,
.stories-contact-inner h2 span {
  color: #91baff;
}
.stories-hero-intro {
  max-width: 590px;
  margin: 25px 0 0;
  color: #c6d2e1;
  font-size: 17px;
  line-height: 1.75;
}
.stories-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}
.stories-secondary-link {
  color: #eef4fd;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 45%);
  text-underline-offset: 6px;
}
.stories-secondary-link:hover {
  color: #a9caff;
}
.stories-hero-art {
  position: relative;
  min-height: 410px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.stories-art-orbit {
  position: absolute;
  z-index: -1;
  width: min(86%, 390px);
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 50%;
}
.stories-art-orbit-one {
  transform: rotate(-17deg) scaleX(0.76);
}
.stories-art-orbit-two {
  width: min(100%, 450px);
  border-color: rgb(138 183 247 / 13%);
  transform: rotate(26deg) scaleX(0.7);
}
.stories-logo-tile {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 20px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 26px 70px rgb(0 0 0 / 28%);
}
.stories-logo-main {
  width: min(76%, 310px);
  min-height: 185px;
  padding: 24px 32px;
  transform: rotate(-3deg);
}
.stories-logo-main img {
  width: 100%;
  height: 74px;
  object-fit: contain;
}
.stories-logo-main > span {
  color: #6d7f93;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.stories-logo-small {
  width: 154px;
  height: 100px;
  padding: 16px;
  border-radius: 15px;
}
.stories-logo-small img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.stories-logo-health {
  top: 26px;
  right: -8px;
  transform: rotate(5deg);
}
.stories-logo-region {
  bottom: 34px;
  left: -4px;
  transform: rotate(4deg);
}
.stories-art-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2ebf8;
  font-size: 12px;
  font-weight: 600;
}
.stories-art-note-top {
  top: 10px;
  left: 10px;
}
.stories-art-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65c5ad;
  box-shadow: 0 0 14px rgb(101 197 173 / 65%);
}
.stories-art-caption {
  position: absolute;
  right: 6px;
  bottom: 4px;
  color: #b4c6de;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.stories-featured {
  padding-block: clamp(80px, 9vw, 120px);
  background: #fff;
}
.stories-section-heading,
.stories-library-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}
.stories-section-heading h2,
.stories-library-heading h2 {
  margin: 0;
  color: #17283e;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: -0.068em;
  line-height: 1.03;
}
.stories-section-heading h2 span,
.stories-library-heading h2 span {
  color: #6d8bb1;
}
.stories-section-heading > p {
  width: min(420px, 42%);
  margin: 0 0 4px;
  color: #687b91;
  font-size: 15px;
  line-height: 1.75;
}
.featured-client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.featured-client {
  position: relative;
  min-height: 310px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5eaf1;
  border-radius: 18px;
  background: #f6f8fb;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.featured-client:hover {
  transform: translateY(-5px);
  border-color: #cad9eb;
  box-shadow: 0 22px 48px rgb(33 66 105 / 10%);
}
.featured-client-type {
  align-self: flex-start;
  padding: 7px 10px;
  border: 1px solid #d8e2ef;
  border-radius: 999px;
  color: #57708e;
  background: rgb(255 255 255 / 76%);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
}
.featured-client-logo {
  flex: 1;
  min-height: 145px;
  display: grid;
  place-items: center;
  padding: 24px;
}
.featured-client-logo img {
  width: min(100%, 260px);
  max-height: 92px;
  object-fit: contain;
}
.featured-client-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #e0e7f0;
}
.featured-client-caption h3 {
  margin: 0;
  color: #1b3049;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.025em;
}
.featured-client-caption > span {
  color: #718198;
  font-size: 11px;
  text-align: right;
}
.featured-client-health {
  background: linear-gradient(145deg, #f4f8fe, #edf4fc);
}
.featured-client-finance {
  background: linear-gradient(145deg, #f6f8fb, #edf2f8);
}
.featured-client-territory {
  background: linear-gradient(145deg, #f6f9f7, #edf5f2);
}
.stories-library {
  padding-block: clamp(82px, 9vw, 120px);
  background: #edf3fa;
}
.stories-library-heading {
  align-items: end;
  margin-bottom: 32px;
}
.stories-library-heading .section-kicker {
  margin-bottom: 16px;
}
.stories-library-intro {
  max-width: 610px;
  margin: 15px 0 0;
  color: #60758e;
  font-size: 15px;
  line-height: 1.7;
}
.stories-result-count {
  flex: 0 0 auto;
  margin: 0 0 5px;
  color: #59718d;
  font-size: 13px;
  font-weight: 700;
}
.stories-toolbar {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1fr);
  align-items: end;
  gap: 18px 28px;
  margin-bottom: 26px;
}
.stories-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.stories-search-wrap {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid #d5dfeb;
  border-radius: 12px;
  color: #71849b;
  background: #fff;
  box-shadow: 0 5px 16px rgb(37 65 97 / 4%);
}
.stories-search-wrap > span {
  font-size: 23px;
  line-height: 1;
}
.stories-search-wrap input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 0;
  outline: 0;
  color: #20354d;
  background: transparent;
  font: inherit;
  font-size: 14px;
}
.stories-search-wrap input::placeholder {
  color: #8292a5;
}
.stories-search-wrap:focus-within {
  border-color: #5484c1;
  box-shadow: 0 0 0 3px rgb(84 132 193 / 14%);
}
.stories-search-wrap button {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  color: #526984;
  background: #eff4fa;
  font-size: 20px;
  cursor: pointer;
}
.stories-search-wrap button[hidden] {
  display: none;
}
.stories-filters {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.stories-filter {
  min-height: 39px;
  padding: 0 15px;
  border: 1px solid #d4deea;
  border-radius: 999px;
  color: #526b87;
  background: rgb(255 255 255 / 62%);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}
.stories-filter:hover {
  transform: translateY(-1px);
  border-color: #9db7d7;
  color: #234f88;
  background: #fff;
}
.stories-filter[aria-pressed="true"] {
  border-color: #1f5eac;
  color: #fff;
  background: #1f5eac;
}
.stories-filter:focus-visible,
.stories-search-wrap button:focus-visible,
.client-card a:focus-visible {
  outline: 3px solid #72a8f4;
  outline-offset: 3px;
}
.client-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.client-card {
  min-width: 0;
  min-height: 190px;
  padding: 16px 17px 15px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e1e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(34 62 92 / 4%);
  animation: client-card-enter 0.42s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  animation-delay: min(calc(var(--card-index, 0) * 28ms), 280ms);
}
.client-card:hover {
  border-color: #bfd1e6;
  box-shadow: 0 14px 30px rgb(34 62 92 / 9%);
}
@keyframes client-card-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.client-logo-stage {
  min-height: 105px;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 12px 5px;
  border-bottom: 1px solid #edf1f6;
}
.client-logo-stage img {
  width: min(100%, 190px);
  height: 72px;
  object-fit: contain;
}
.client-card-meta {
  min-height: 60px;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 7px;
}
.client-card-meta h3 {
  margin: 0;
  color: #1b3049;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.client-card-sector {
  color: #71839a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.client-card a {
  align-self: flex-start;
  margin-top: 12px;
  color: #275fa7;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #bbcee5;
  text-underline-offset: 4px;
}
.client-card a:hover {
  color: #0e468a;
  text-decoration-color: currentColor;
}
.stories-empty {
  margin: 14px 0 0;
  padding: 28px;
  border: 1px dashed #b9c8da;
  border-radius: 14px;
  color: #526b87;
  background: rgb(255 255 255 / 55%);
  font-size: 14px;
  text-align: center;
}
.stories-empty[hidden] {
  display: none;
}
.stories-contact-cta {
  padding: 75px 0;
  color: #fff;
  background: linear-gradient(115deg, #102d4e, #163e6c);
}
.stories-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.stories-contact-inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

@media (max-width: 1000px) {
  .stories-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
    gap: 42px;
  }
  .stories-hero h1 {
    font-size: clamp(46px, 6vw, 66px);
  }
  .stories-hero-art {
    min-height: 350px;
  }
  .stories-logo-main {
    width: min(78%, 280px);
  }
  .stories-logo-small {
    width: 130px;
    height: 84px;
  }
  .stories-section-heading,
  .stories-library-heading {
    align-items: flex-start;
  }
  .featured-client-grid {
    gap: 13px;
  }
  .client-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .stories-hero {
    min-height: 0;
    padding: 126px 0 74px;
  }
  .stories-hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stories-hero h1 {
    font-size: clamp(42px, 9vw, 62px);
  }
  .stories-hero-intro {
    font-size: 16px;
  }
  .stories-hero-art {
    width: min(100%, 470px);
    min-height: 330px;
    justify-self: center;
  }
  .stories-section-heading,
  .stories-library-heading {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }
  .stories-section-heading > p {
    width: min(600px, 100%);
  }
  .featured-client-grid {
    grid-template-columns: 1fr;
  }
  .featured-client {
    min-height: 250px;
  }
  .featured-client-logo {
    min-height: 105px;
  }
  .stories-toolbar {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .stories-filters {
    grid-column: auto;
    flex-wrap: nowrap;
    margin-inline: -2px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .stories-filter {
    flex: 0 0 auto;
  }
  .client-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .client-card {
    min-height: 176px;
    padding: 12px;
  }
  .client-logo-stage {
    min-height: 94px;
    padding-inline: 1px;
  }
  .client-logo-stage img {
    height: 60px;
  }
  .client-card-meta h3 {
    font-size: 13px;
  }
  .stories-contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 420px) {
  .stories-hero h1 {
    font-size: clamp(38px, 10vw, 48px);
  }
  .stories-hero-art {
    min-height: 285px;
  }
  .stories-logo-main {
    min-height: 155px;
    padding: 18px;
  }
  .stories-logo-health {
    top: 14px;
    right: -3px;
  }
  .stories-logo-region {
    bottom: 21px;
    left: -3px;
  }
  .stories-logo-small {
    width: 112px;
    height: 74px;
  }
  .stories-art-caption {
    bottom: 0;
    font-size: 8px;
  }
  .stories-section-heading h2,
  .stories-library-heading h2 {
    font-size: clamp(35px, 10vw, 44px);
  }
  .client-gallery {
    grid-template-columns: 1fr;
  }
  .client-card {
    min-height: 160px;
  }
  .client-logo-stage {
    min-height: 85px;
  }
  .client-logo-stage img {
    height: 58px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .client-card {
    animation: none;
  }
}

/* Homepage · carrusel editorial de casos, adaptable a ratón y pantalla táctil */
.success-section {
  margin: 0;
  padding: clamp(76px, 8vw, 112px) 0 clamp(82px, 9vw, 120px);
  overflow: hidden;
  background: #f4f7fb;
}
.success-heading {
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.success-heading h2 {
  max-width: 760px;
  text-wrap: balance;
}
.success-controls {
  gap: clamp(18px, 2.4vw, 32px);
}
.case-carousel {
  width: 100%;
  margin: 0;
  padding: 6px max(24px, calc((100vw - 1160px) / 2)) 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-inline: max(24px, calc((100vw - 1160px) / 2));
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}
.case-carousel::-webkit-scrollbar {
  display: none;
}
.case-carousel:focus-visible {
  outline: 3px solid #2160d5;
  outline-offset: -3px;
}
.case-track {
  width: max-content;
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 2vw, 24px);
}
.case-slide {
  width: clamp(300px, 34vw, 390px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e1e8f1;
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 42px rgb(23 40 62 / 7%);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition:
    box-shadow 380ms ease,
    border-color 380ms ease,
    transform 380ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.case-slide:hover {
  border-color: #c6d7ef;
  box-shadow: 0 22px 56px rgb(23 40 62 / 14%);
  transform: translateY(-5px);
}
.case-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1.48;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: #dce8f5;
}
.case-image::after {
  position: absolute;
  inset: 38% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgb(7 16 30 / 42%));
  content: "";
  pointer-events: none;
}
.case-image-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.045);
  transition:
    transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 650ms ease;
  will-change: transform;
}
.case-slide.is-visible .case-image-media {
  transform: scale(1);
}
.case-slide:hover .case-image-media,
.case-slide:focus-within .case-image-media {
  transform: scale(1.07);
}
.case-image-label,
.case-image-index {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 10px rgb(0 0 0 / 30%);
}
.case-image-label {
  left: 20px;
  max-width: calc(100% - 76px);
}
.case-image-index {
  right: 20px;
  letter-spacing: 0.12em;
}
.case-slide-copy {
  min-height: 232px;
  padding: 24px clamp(22px, 2.4vw, 30px) 26px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  color: var(--ink);
  background: #fff;
}
.case-label {
  display: inline-block;
  margin: 0 0 11px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #4973a4;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.case-slide h3 {
  margin: 0;
  color: #17283e;
  font-size: clamp(25px, 2.3vw, 31px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.08;
  text-wrap: balance;
}
.case-slide h3 span {
  color: #4779bf;
}
.case-slide-copy > p {
  max-width: 34ch;
  margin: 0;
  color: #607188;
  font-size: 14px;
  line-height: 1.65;
}
.case-slide-copy > a {
  min-height: 42px;
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  color: #245ed0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition:
    text-decoration-color 220ms ease,
    color 220ms ease;
}
.case-slide-copy > a:hover,
.case-slide-copy > a:focus-visible {
  color: #123f9b;
  text-decoration-color: currentColor;
}
.case-slide-copy > a:focus-visible,
.case-arrow:focus-visible {
  outline: 3px solid #2160d5;
  outline-offset: 4px;
}
.case-progress {
  width: min(1160px, calc(100% - 48px));
  height: 3px;
  margin: 10px auto 0;
  border-radius: 99px;
  background: #dbe3ed;
}
.case-progress span {
  border-radius: inherit;
  background: #2862bd;
  transition:
    width 220ms ease,
    transform 220ms ease;
}
.case-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.case-arrow:disabled {
  cursor: default;
  opacity: 0.45;
}
@media (min-width: 761px) {
  .case-slide:nth-child(even) {
    transition-delay: 60ms;
  }
  .case-slide:nth-child(3n) {
    transition-delay: 120ms;
  }
}
@media (max-width: 1000px) {
  .case-slide {
    width: clamp(320px, 48vw, 430px);
  }
}
@media (max-width: 760px) {
  .success-section {
    padding: 76px 0 84px;
  }
  .success-heading {
    margin-bottom: 26px;
  }
  .success-controls {
    align-items: center;
  }
  .case-carousel {
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }
  .case-track {
    gap: 14px;
  }
  .case-slide {
    width: min(84vw, 390px);
    border-radius: 19px;
  }
  .case-image {
    aspect-ratio: 1.38;
  }
  .case-slide-copy {
    min-height: 220px;
    padding: 22px;
  }
  .case-slide h3 {
    font-size: clamp(25px, 7vw, 31px);
  }
  .case-slide-copy > p {
    font-size: 13px;
  }
  .case-progress {
    width: calc(100% - 40px);
    margin-top: 10px;
  }
}
@media (max-width: 420px) {
  .case-slide {
    width: calc(100vw - 44px);
  }
  .case-image-label,
  .case-image-index {
    bottom: 14px;
    font-size: 10px;
  }
  .case-image-label {
    left: 14px;
  }
  .case-image-index {
    right: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .case-slide,
  .case-image-media,
  .case-progress span {
    transition: none;
  }
  .case-slide:hover {
    transform: none;
  }
  .case-image-media,
  .case-slide:hover .case-image-media,
  .case-slide:focus-within .case-image-media {
    transform: none;
  }
  .case-carousel {
    scroll-behavior: auto;
  }
}

/* Cabecera compacta antes del ancho de escritorio para evitar enlaces apilados */
@media (max-width: 1100px) {
  .header-inner {
    width: calc(100% - 48px);
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
  .brand img {
    width: 148px;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 11px;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 12px;
    background: rgb(255 255 255 / 6%);
    cursor: pointer;
  }
  .menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    background: #fff;
    transition: transform 220ms ease;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    left: auto;
    width: min(420px, calc(100vw - 32px));
    max-height: calc(100svh - 100px);
    padding: 14px 18px 18px;
    display: none;
    overflow: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 16px;
    background: #0b1422;
    box-shadow: 0 24px 45px rgb(0 0 0 / 28%);
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-group {
    display: block;
    min-height: 0;
  }
  .nav-trigger,
  .nav-link {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px;
    text-align: left;
  }
  .nav-panel {
    position: static;
    display: grid;
    grid-template-rows: 0fr;
    min-width: 0;
    max-height: 0;
    gap: 0;
    padding: 0 0 0 11px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      max-height 300ms ease,
      padding 300ms ease;
  }
  .nav-panel a {
    padding-block: 0;
    opacity: 0;
    transition:
      opacity 180ms ease,
      padding 180ms ease,
      color 180ms ease;
  }
  .nav-group.is-open .nav-panel,
  .nav-group:focus-within .nav-panel {
    max-height: 320px;
    padding: 2px 0 8px 11px;
  }
  .nav-group.is-open .nav-panel a,
  .nav-group:focus-within .nav-panel a {
    padding-block: 10px;
    opacity: 1;
  }
  .nav-contact {
    align-self: flex-start;
    margin: 10px 0 0;
  }
}
@media (max-width: 760px) {
  .header-inner {
    width: calc(100% - 38px);
    min-height: 72px;
  }
  .main-nav {
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    width: auto;
    max-height: calc(100svh - 73px);
    padding: 12px 20px 22px;
    gap: 2px;
    border: 0;
    border-bottom: 1px solid rgb(255 255 255 / 13%);
    border-radius: 0;
    box-shadow: 0 24px 35px rgb(0 0 0 / 22%);
  }
}

/* Servicio prioritario · IA aplicada en la homepage */
.service-card-ai {
  position: relative;
  overflow: hidden;
  border-color: #173b65;
  color: #f7fbff;
  background: linear-gradient(145deg, #173d68 0%, #102947 72%, #0c2038 100%);
  box-shadow: 0 18px 42px rgb(15 45 80 / 16%);
  isolation: isolate;
}
.service-card-ai::before {
  position: absolute;
  z-index: -1;
  top: -105px;
  right: -110px;
  width: 270px;
  aspect-ratio: 1;
  border: 1px solid rgb(150 192 255 / 22%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(68 132 216 / 30%), transparent 68%);
  content: "";
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.service-card-ai::after {
  position: absolute;
  top: 42px;
  right: 39px;
  width: 58px;
  height: 58px;
  border: 1px solid rgb(174 210 255 / 30%);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 13px rgb(138 183 241 / 7%),
    0 0 36px rgb(105 173 255 / 15%);
  pointer-events: none;
}
.service-card-ai:hover,
.service-card-ai:focus-within {
  border-color: #77a9e8;
  box-shadow: 0 24px 55px rgb(21 63 113 / 23%);
}
.service-card-ai:hover::before {
  transform: scale(1.17);
}
.service-card-ai .card-index {
  color: #b7d2f6;
}
.service-card-ai .service-icon {
  position: relative;
  border-color: rgb(189 218 255 / 25%);
  color: #d4e7ff;
  background: rgb(255 255 255 / 10%);
  box-shadow: 0 0 24px rgb(104 166 241 / 14%);
  transition:
    transform 400ms cubic-bezier(0.2, 0.75, 0.25, 1),
    background 300ms ease;
}
.service-card-ai:hover .service-icon {
  background: rgb(255 255 255 / 16%);
  transform: rotate(12deg) scale(1.08);
}
.service-card-ai h3 {
  color: #fff;
}
.service-card-ai p {
  color: #c8d8eb;
}
.service-card-ai .card-link {
  color: #c6e0ff;
  text-decoration: underline;
  text-decoration-color: rgb(198 224 255 / 42%);
  text-underline-offset: 4px;
}
.service-card-ai .card-link:hover,
.service-card-ai .card-link:focus-visible {
  color: #fff;
}

/* Página de IA aplicada */
.ai-page {
  --ai-ink: #122b47;
  --ai-blue: #2565bc;
  --ai-cyan: #7bd3d1;
  --ai-mist: #eaf2fc;
  color: var(--ai-ink);
}
.ai-hero {
  position: relative;
  min-height: 760px;
  padding: 150px 0 66px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 79% 42%, rgb(46 104 174 / 45%), transparent 42%),
    linear-gradient(120deg, #0d2038 0%, #122f51 55%, #173e69 100%);
  isolation: isolate;
}
.ai-hero::before,
.ai-hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(205 225 255 / 10%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.ai-hero::before {
  top: -420px;
  right: -170px;
  width: 900px;
  aspect-ratio: 1;
}
.ai-hero::after {
  top: -290px;
  right: -40px;
  width: 650px;
  aspect-ratio: 1;
}
.ai-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}
.ai-hero-copy {
  position: relative;
  z-index: 2;
}
.ai-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  color: #98c6ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.ai-kicker > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ai-cyan);
  box-shadow:
    0 0 0 5px rgb(123 211 209 / 13%),
    0 0 18px rgb(123 211 209 / 52%);
}
.ai-hero h1 {
  max-width: 700px;
  margin: 0;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.99;
  text-wrap: balance;
}
.ai-hero h1 span,
.ai-intro-layout h2 span,
.ai-section-heading h2 span,
.ai-demo-copy h2 span,
.ai-trust-layout h2 span,
.ai-contact-inner h2 span {
  color: #91baff;
}
.ai-hero-lede {
  max-width: 610px;
  margin: 25px 0 0;
  color: #d0deed;
  font-size: 17px;
  line-height: 1.7;
}
.ai-hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.ai-button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 240ms ease,
    background 240ms ease,
    border-color 240ms ease;
}
.ai-button:hover {
  transform: translateY(-2px);
}
.ai-button:focus-visible,
.ai-scenario:focus-visible {
  outline: 3px solid #7bd3d1;
  outline-offset: 4px;
}
.ai-button-primary {
  color: #102b4c;
  background: #b8d5ff;
}
.ai-button-primary:hover {
  background: #d7e7ff;
}
.ai-button-secondary {
  border-color: rgb(217 232 251 / 28%);
  color: #edf5ff;
  background: rgb(255 255 255 / 5%);
}
.ai-button-secondary:hover {
  border-color: rgb(217 232 251 / 65%);
  background: rgb(255 255 255 / 10%);
}
.ai-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 0;
  color: #afc2d8;
  font-size: 12px;
}
.ai-hero-note span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ai-cyan);
}
.ai-hero-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}
.ai-visual-glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(112 181 235 / 28%), transparent 68%);
  filter: blur(2px);
}
.ai-orbit {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgb(202 225 251 / 13%);
  border-radius: 50%;
  animation: ai-orbit-turn 38s linear infinite;
}
.ai-orbit-one {
  transform: rotateX(68deg) rotateZ(-20deg);
}
.ai-orbit-two {
  width: 78%;
  transform: rotateY(67deg) rotateZ(28deg);
  animation-direction: reverse;
  animation-duration: 48s;
}
.ai-workspace {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 19px;
  border: 1px solid rgb(213 232 253 / 26%);
  border-radius: 22px;
  background: linear-gradient(145deg, rgb(30 59 91 / 94%), rgb(12 29 50 / 96%));
  box-shadow:
    0 28px 90px rgb(2 14 29 / 32%),
    inset 0 1px rgb(255 255 255 / 9%);
  transform: rotateY(-7deg) rotateX(3deg);
  animation: ai-panel-float 7s ease-in-out infinite;
}
.ai-workspace-bar,
.ai-workspace-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #a8bfd9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.ai-workspace-bar {
  padding: 2px 2px 16px;
}
.ai-workspace-bar > span:first-child {
  display: flex;
  gap: 5px;
}
.ai-workspace-bar i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: #7993af;
}
.ai-workspace-bar b {
  margin-left: auto;
  font-size: 9px;
}
.ai-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b6e5dc;
}
.ai-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #78d1ba;
  box-shadow: 0 0 12px #78d1ba;
}
.ai-prompt-card {
  min-height: 67px;
  padding: 12px 13px;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) 25px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgb(207 228 249 / 12%);
  border-radius: 13px;
  background: rgb(6 22 40 / 49%);
  animation: ai-card-arrive 850ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.ai-prompt-card:nth-of-type(2) {
  animation-delay: 140ms;
}
.ai-prompt-card:nth-of-type(4) {
  animation-delay: 320ms;
}
.ai-prompt-card:nth-of-type(6) {
  animation-delay: 500ms;
}
.ai-step-number {
  color: #94bfff;
  font-size: 10px;
  font-weight: 800;
}
.ai-prompt-card small {
  display: block;
  margin-bottom: 4px;
  color: #87a4c4;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.ai-prompt-card strong {
  color: #f1f6fc;
  font-size: 12px;
  font-weight: 600;
}
.ai-prompt-symbol {
  color: #93b9eb;
  font-size: 19px;
}
.ai-prompt-card-focus {
  border-color: rgb(123 211 209 / 30%);
  background: linear-gradient(
    100deg,
    rgb(43 91 127 / 70%),
    rgb(19 56 79 / 62%)
  );
}
.ai-spark {
  color: #8ce0d5;
  font-size: 20px;
  animation: ai-spark-turn 8s ease-in-out infinite;
}
.ai-flow-link {
  height: 20px;
  padding-left: 27px;
}
.ai-flow-link span {
  width: 1px;
  height: 100%;
  display: block;
  background: linear-gradient(#88a9d4, #7bd3d1);
  transform-origin: top;
  animation: ai-flow-draw 1.4s ease both;
}
.ai-workspace-foot {
  padding: 15px 2px 0;
  font-size: 8px;
}
.ai-foot-line {
  height: 1px;
  flex: 1;
  background: rgb(202 225 251 / 18%);
}
.ai-float-note {
  position: absolute;
  z-index: 2;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgb(216 235 255 / 24%);
  border-radius: 12px;
  color: #eaf3ff;
  background: #183a60;
  box-shadow: 0 14px 38px rgb(4 19 38 / 28%);
  font-size: 11px;
  font-weight: 600;
  animation: ai-note-float 6s ease-in-out infinite;
}
.ai-float-note span {
  color: #8ddbd1;
  font-size: 10px;
  font-weight: 800;
}
.ai-float-note-one {
  top: 15%;
  right: -5%;
}
.ai-float-note-two {
  bottom: 12%;
  left: -7%;
  animation-delay: -2.5s;
}
.ai-hero-bottom {
  width: min(1160px, calc(100% - 64px));
  margin: 25px auto 0;
  padding-top: 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgb(221 237 255 / 18%);
  color: #adc3dc;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.ai-hero-bottom i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7bd3d1;
}
.ai-intro-section {
  padding: clamp(80px, 10vw, 132px) 0;
  background: #fff;
}
.ai-intro-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
}
.ai-intro-layout h2,
.ai-section-heading h2,
.ai-demo-copy h2,
.ai-trust-layout h2,
.ai-contact-inner h2 {
  margin: 0;
  color: #172f4b;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 1.04;
  text-wrap: balance;
}
.ai-intro-layout h2 span,
.ai-section-heading h2 span,
.ai-demo-copy h2 span {
  color: #4c83c8;
}
.ai-intro-layout > p {
  margin: 0;
  color: #5f7288;
  font-size: 16px;
  line-height: 1.8;
}
.ai-opportunities {
  padding: clamp(80px, 9vw, 118px) 0;
  background: #f1f6fc;
}
.ai-section-heading {
  max-width: 720px;
  margin-bottom: 45px;
}
.ai-section-heading .section-kicker {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.ai-section-heading > p:last-child {
  max-width: 520px;
  margin: 19px 0 0;
  color: #61758d;
  font-size: 15px;
  line-height: 1.7;
}
.ai-opportunity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ai-opportunity {
  min-height: 280px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #dce6f1;
  border-radius: 17px;
  background: #fff;
  transition:
    border-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms ease;
}
.ai-opportunity:hover {
  border-color: #aac5e6;
  box-shadow: 0 18px 38px rgb(24 64 112 / 9%);
  transform: translateY(-5px);
}
.ai-opportunity > span {
  color: #6484a7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.ai-opportunity-icon {
  width: 44px;
  height: 44px;
  margin: 24px 0 19px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #2d69ad;
  background: #eaf3ff;
  font-size: 17px;
  font-weight: 700;
}
.ai-opportunity h3 {
  margin: 0 0 10px;
  color: #183653;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.ai-opportunity p {
  margin: 0;
  color: #66798f;
  font-size: 13px;
  line-height: 1.65;
}
.ai-demo-section {
  padding: clamp(84px, 10vw, 130px) 0;
  color: white;
  background: #102b49;
}
.ai-demo-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
}
.ai-demo-copy .ai-kicker {
  margin-bottom: 21px;
}
.ai-demo-copy h2 {
  color: #fff;
}
.ai-demo-copy h2 span {
  color: #9bbfff;
}
.ai-demo-copy > p:not(.ai-kicker) {
  max-width: 420px;
  margin: 20px 0 25px;
  color: #c4d3e4;
  font-size: 15px;
  line-height: 1.75;
}
.ai-scenario-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-scenario {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgb(208 227 250 / 28%);
  border-radius: 999px;
  color: #d8e7f8;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}
.ai-scenario:hover {
  border-color: #9bbfff;
  transform: translateY(-1px);
}
.ai-scenario.is-active {
  border-color: #b7d4ff;
  color: #102b49;
  background: #c3dcff;
}
.ai-demo-window {
  min-width: 0;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgb(216 235 255 / 20%);
  border-radius: 20px;
  background: linear-gradient(145deg, #19395d, #132c49);
  box-shadow: 0 30px 70px rgb(2 14 29 / 25%);
}
.ai-demo-window-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #9ab2cd;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.ai-demo-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a9e1d6;
}
.ai-demo-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #80d4be;
}
.ai-demo-window h3 {
  margin: 20px 0 9px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.05em;
}
.ai-demo-window > p:not(.ai-demo-foot) {
  min-height: 48px;
  margin: 0;
  color: #c0d0e2;
  font-size: 13px;
  line-height: 1.65;
}
.ai-demo-flow {
  margin-top: 31px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.ai-demo-node {
  min-height: 174px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgb(218 235 255 / 17%);
  border-radius: 13px;
  background: rgb(6 21 38 / 35%);
}
.ai-demo-node img {
  width: 100%;
  height: 74px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}
.ai-demo-node > span {
  color: #a5c8f4;
  font-size: 9px;
  font-weight: 800;
}
.ai-demo-node strong {
  color: #eaf2fc;
  font-size: 11px;
  line-height: 1.4;
}
.ai-demo-node-active {
  border-color: rgb(123 211 209 / 43%);
  background: rgb(80 151 167 / 14%);
}
.ai-demo-connector {
  height: 1px;
  background: rgb(191 216 244 / 32%);
}
.ai-demo-connector i {
  width: 8px;
  height: 8px;
  display: block;
  margin-top: -4px;
  border-radius: 50%;
  background: #8bd8cf;
  animation: ai-signal 2s ease-in-out infinite;
}
.ai-demo-connector:nth-of-type(4) i {
  animation-delay: 0.7s;
}
.ai-demo-foot {
  margin: 22px 0 0;
  color: #adc4de;
  font-size: 11px;
}
.ai-demo-foot span {
  margin-right: 7px;
  color: #81d8c2;
  font-size: 9px;
}
.ai-demo-window.is-updating h3,
.ai-demo-window.is-updating > p:not(.ai-demo-foot),
.ai-demo-window.is-updating .ai-demo-node {
  animation: ai-demo-refresh 420ms ease both;
}
.ai-process-section {
  padding: clamp(80px, 10vw, 130px) 0;
  background: #fff;
}
.ai-process-section .ai-section-heading {
  margin-bottom: 31px;
}
.ai-process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #dbe5ef;
}
.ai-process-step {
  min-height: 112px;
  padding: 21px 8px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid #dbe5ef;
  transition:
    padding 280ms ease,
    background 280ms ease;
}
.ai-process-step:hover {
  padding-inline: 18px;
  background: #f7faff;
}
.ai-process-count {
  align-self: start;
  padding-top: 6px;
  color: #5381b5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.ai-process-step h3 {
  margin: 0 0 6px;
  color: #173451;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.035em;
}
.ai-process-step p {
  max-width: 660px;
  margin: 0;
  color: #687c92;
  font-size: 14px;
  line-height: 1.6;
}
.ai-process-mark {
  color: #3e78bc;
  font-size: 22px;
  transition: transform 300ms ease;
}
.ai-process-step:hover .ai-process-mark {
  transform: rotate(-35deg);
}
.ai-trust-section {
  padding: clamp(76px, 9vw, 112px) 0;
  color: white;
  background: linear-gradient(120deg, #183e68, #102947);
}
.ai-trust-layout {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: center;
  gap: clamp(42px, 8vw, 115px);
}
.ai-trust-layout .ai-kicker {
  color: #a8cbf6;
}
.ai-trust-layout h2 {
  color: #fff;
}
.ai-trust-layout h2 span {
  color: #9fc6ff;
}
.ai-trust-points > p {
  margin: 0 0 22px;
  color: #d0deed;
  font-size: 15px;
  line-height: 1.75;
}
.ai-trust-points ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-trust-points li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-top: 1px solid rgb(226 238 252 / 17%);
  color: #edf5ff;
  font-size: 13px;
}
.ai-trust-points li::before {
  position: absolute;
  left: 2px;
  color: #8bd8cf;
  content: "•";
}
.ai-contact-section {
  padding: clamp(84px, 10vw, 130px) 0;
  background: #eaf2fc;
}
.ai-contact-inner {
  max-width: 820px;
  text-align: center;
}
.ai-contact-inner .ai-kicker {
  justify-content: center;
  color: #356aa9;
}
.ai-contact-inner h2 span {
  color: #477fc2;
}
.ai-contact-inner > p:not(.ai-kicker) {
  max-width: 560px;
  margin: 20px auto 28px;
  color: #5f7288;
  font-size: 15px;
  line-height: 1.7;
}
.ai-contact-inner .ai-button-primary {
  color: #fff;
  background: #245eaa;
}
.ai-contact-inner .ai-button-primary:hover {
  background: #164987;
}
@keyframes ai-panel-float {
  0%,
  100% {
    transform: rotateY(-7deg) rotateX(3deg) translateY(0);
  }
  50% {
    transform: rotateY(-4deg) rotateX(1deg) translateY(-9px);
  }
}
@keyframes ai-note-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes ai-orbit-turn {
  to {
    rotate: 360deg;
  }
}
@keyframes ai-spark-turn {
  50% {
    transform: rotate(45deg) scale(1.1);
  }
}
@keyframes ai-flow-draw {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes ai-card-arrive {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ai-signal {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.65;
  }
  50% {
    transform: translateX(18px);
    opacity: 1;
  }
}
@keyframes ai-demo-refresh {
  from {
    opacity: 0.35;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1000px) {
  .ai-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
    gap: 34px;
  }
  .ai-hero h1 {
    font-size: clamp(45px, 6vw, 64px);
  }
  .ai-hero-visual {
    min-height: 410px;
  }
  .ai-float-note-one {
    right: -2%;
  }
  .ai-float-note-two {
    left: -2%;
  }
  .ai-opportunity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .ai-hero {
    min-height: 0;
    padding: 125px 0 35px;
  }
  .ai-hero-layout,
  .ai-intro-layout,
  .ai-demo-layout,
  .ai-trust-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .ai-hero h1 {
    font-size: clamp(43px, 10vw, 66px);
  }
  .ai-hero-lede {
    font-size: 16px;
  }
  .ai-hero-actions {
    align-items: stretch;
  }
  .ai-hero-visual {
    width: min(100%, 500px);
    min-height: 420px;
    margin-inline: auto;
  }
  .ai-workspace {
    transform: none;
  }
  .ai-hero-bottom {
    width: calc(100% - 40px);
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 12px;
    font-size: 8px;
  }
  .ai-intro-layout {
    align-items: start;
  }
  .ai-intro-layout > p {
    font-size: 15px;
  }
  .ai-demo-layout {
    gap: 36px;
  }
  .ai-demo-copy > p:not(.ai-kicker) {
    font-size: 14px;
  }
  .ai-trust-layout {
    gap: 30px;
  }
  .ai-contact-inner h2 {
    font-size: clamp(38px, 9vw, 56px);
  }
}
@media (max-width: 520px) {
  .ai-hero {
    padding-top: 112px;
  }
  .ai-hero-actions {
    flex-direction: column;
  }
  .ai-button {
    width: 100%;
  }
  .ai-hero-visual {
    min-height: 370px;
  }
  .ai-workspace {
    padding: 13px;
    border-radius: 16px;
  }
  .ai-prompt-card {
    min-height: 61px;
    grid-template-columns: 24px minmax(0, 1fr) 20px;
    gap: 8px;
    padding: 10px;
  }
  .ai-prompt-card strong {
    font-size: 10px;
  }
  .ai-float-note {
    padding: 10px 11px;
    font-size: 9px;
  }
  .ai-float-note-one {
    top: 5%;
    right: 0;
  }
  .ai-float-note-two {
    bottom: 2%;
    left: 0;
  }
  .ai-hero-bottom {
    gap: 9px;
    font-size: 7px;
  }
  .ai-intro-layout h2,
  .ai-section-heading h2,
  .ai-demo-copy h2,
  .ai-trust-layout h2,
  .ai-contact-inner h2 {
    font-size: clamp(36px, 9vw, 48px);
  }
  .ai-opportunity-grid {
    grid-template-columns: 1fr;
  }
  .ai-opportunity {
    min-height: 225px;
  }
  .ai-demo-window {
    padding: 20px 16px;
  }
  .ai-demo-flow {
    grid-template-columns: minmax(0, 1fr) 15px minmax(0, 1fr) 15px minmax(
        0,
        1fr
      );
    gap: 4px;
  }
  .ai-demo-node {
    min-height: 150px;
    padding: 9px;
  }
  .ai-demo-node img { height: 58px; }
  .ai-demo-node strong {
    font-size: 9px;
  }
  .ai-demo-window-head {
    font-size: 8px;
  }
  .ai-process-step {
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    gap: 12px;
  }
  .ai-process-step h3 {
    font-size: 17px;
  }
  .ai-process-step p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-page *,
  .ai-page *::before,
  .ai-page *::after,
  .service-card-ai::before,
  .service-card-ai .service-icon {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Rediseño editorial · navegación, hero IA y pie */
html {
  scroll-padding-top: 112px;
}
.site-header {
  background: rgb(7 13 23 / 96%);
}
.header-utility {
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: #050a12;
}
.header-utility-inner {
  width: min(1240px, calc(100% - 64px));
  min-height: 28px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #aebbd0;
  font-size: 10px;
}
.utility-promise,
.utility-contact,
.utility-contact a {
  display: inline-flex;
  align-items: center;
}
.utility-promise {
  gap: 9px;
  color: #cad8eb;
  letter-spacing: 0.025em;
}
.utility-promise > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #73cbbf;
  box-shadow: 0 0 12px rgb(115 203 191 / 65%);
}
.utility-contact {
  gap: 24px;
}
.utility-contact a {
  min-height: 28px;
  color: #b5c4d8;
  transition: color 180ms ease;
}
.utility-contact a:hover {
  color: #fff;
}
.header-inner {
  min-height: 76px;
}
.nav-group {
  min-height: 76px;
}
.nav-trigger,
.nav-link {
  font-size: 12px;
  letter-spacing: 0.01em;
}
.nav-panel.nav-panel-services,
.nav-panel.nav-panel-solutions {
  top: calc(100% - 2px);
  left: 50%;
  width: min(740px, calc(100vw - 56px));
  min-width: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: 22px;
  border: 1px solid rgb(180 202 233 / 17%);
  border-radius: 18px;
  color: #e9f0fa;
  background: #101a2a;
  box-shadow: 0 26px 70px rgb(0 0 0 / 45%);
  transform: translate(-50%, 12px);
  transform-origin: top center;
}
.nav-group:hover .nav-panel.nav-panel-services,
.nav-group:focus-within .nav-panel.nav-panel-services,
.nav-group.is-open .nav-panel.nav-panel-services,
.nav-group:hover .nav-panel.nav-panel-solutions,
.nav-group:focus-within .nav-panel.nav-panel-solutions,
.nav-group.is-open .nav-panel.nav-panel-solutions {
  transform: translate(-50%, 0);
}
.nav-panel-intro {
  padding: 8px 13px 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-right: 1px solid rgb(213 228 249 / 12%);
}
.nav-panel-intro > span {
  margin-bottom: 15px;
  color: #8db8f1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.nav-panel-intro strong {
  max-width: 240px;
  color: #f7f9fd;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.045em;
  line-height: 1.17;
}
.nav-panel-intro p {
  max-width: 245px;
  margin: 11px 0 0;
  color: #9eafc5;
  font-size: 11px;
  line-height: 1.6;
}
.nav-panel-all {
  margin-top: 14px;
  color: #9fc4ff !important;
  font-size: 11px !important;
  font-weight: 700;
}
.nav-panel-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 5px;
}
.nav-panel-links a {
  min-width: 0;
  min-height: 62px;
  padding: 10px 11px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #e3eaf5;
  opacity: 1 !important;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    color 220ms ease !important;
}
.nav-panel-links a:hover,
.nav-panel-links a:focus-visible {
  padding-block: 10px !important;
  border-color: rgb(143 182 237 / 18%);
  color: #fff;
  background: rgb(139 180 241 / 9%);
  transform: translateY(-2px);
}
.nav-panel-links a > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.nav-panel-links b {
  font-size: 12px;
  line-height: 1.25;
}
.nav-panel-links small {
  color: #96a8bf;
  font-size: 10px;
  line-height: 1.35;
}
.nav-panel-links em {
  flex: 0 0 auto;
  color: #7186a2;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
}
.nav-panel-solutions {
  width: min(790px, calc(100vw - 56px)) !important;
}
.nav-panel-solutions .nav-panel-links {
  grid-template-columns: 1fr;
  gap: 2px;
}
.nav-panel-solutions .nav-panel-links a {
  min-height: 48px;
}
.nav-panel-solutions .nav-panel-links a > span {
  grid-template-columns: minmax(96px, 0.7fr) 1.3fr;
  align-items: baseline;
}
.nav-panel-solutions .nav-panel-links small {
  font-size: 10px;
}
.nav-contact {
  margin-left: clamp(28px, 4vw, 64px);
}

.site-footer {
  padding-top: 8px;
  background: #08111e;
}
.footer-main {
  min-height: 0;
  padding-block: 54px 44px;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1fr 0.9fr;
  align-items: start;
  gap: clamp(28px, 5vw, 74px);
}
.footer-company .footer-brand {
  margin-bottom: 22px;
}
.footer-company > p {
  max-width: 250px;
  margin: 0;
  color: #9eacbf;
  font-size: 12px;
  line-height: 1.75;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-column h2 {
  margin: 5px 0 7px;
  color: #f1f5fb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.footer-column a {
  color: #9eacbf;
  font-size: 11px;
  line-height: 1.45;
  transition:
    color 180ms ease,
    transform 180ms ease;
}
.footer-column a:hover,
.footer-column a:focus-visible {
  color: #d9e8ff;
  transform: translateX(3px);
}
.footer-bottom {
  min-height: 60px;
}

.ai-hero {
  min-height: 760px;
  padding: 160px 0 66px;
  background: #081a31;
}
.ai-hero::before,
.ai-hero::after {
  display: none;
}
.ai-hero-layout {
  position: static;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
}
.ai-hero-copy {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
  padding-block: 36px;
}
.ai-hero h1 {
  max-width: 820px;
  font-size: clamp(52px, 7vw, 88px);
}
.ai-hero-lede {
  max-width: 620px;
}
.ai-hero-media {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: #0a1a2c;
}
.ai-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
  opacity: 0.94;
}
.ai-hero-video-shade {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(
      90deg,
      rgb(5 14 27 / 65%) 0%,
      rgb(8 23 40 / 42%) 43%,
      rgb(7 18 32 / 16%) 100%
    ),
    linear-gradient(
      0deg,
      rgb(6 17 31 / 58%),
      transparent 36%,
      rgb(4 15 28 / 14%)
    );
}
.ai-hero-copy > * {
  animation: ai-hero-entry 750ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.ai-hero-copy > *:nth-child(2) {
  animation-delay: 100ms;
}
.ai-hero-copy > *:nth-child(3) {
  animation-delay: 180ms;
}
.ai-hero-copy > *:nth-child(4) {
  animation-delay: 260ms;
}
.ai-hero-copy > *:nth-child(5) {
  animation-delay: 330ms;
}

/* La ruta de integración se presenta como una secuencia de tarjetas */
.ai-process-section {
  background: #f3f7fc;
}
.ai-process-section .ai-section-heading {
  margin-bottom: 38px;
}
.ai-process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}
.ai-process-step {
  position: relative;
  min-height: 250px;
  padding: 23px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 25px rgb(23 55 92 / 4%);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}
.ai-process-step:hover {
  padding: 23px 20px;
  border-color: #b4cbe7;
  background: #fff;
  box-shadow: 0 18px 38px rgb(24 64 112 / 9%);
  transform: translateY(-5px);
}
.ai-process-step h3 {
  font-size: 18px;
}
.ai-process-step p {
  font-size: 12px;
  line-height: 1.65;
}
.ai-process-mark {
  align-self: flex-end;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #dce7f3;
  border-radius: 50%;
  font-size: 16px;
}
.ai-process-step:hover .ai-process-mark {
  color: #fff;
  border-color: #326eb8;
  background: #326eb8;
}
.ai-process-count {
  color: #326eb8;
}
@keyframes ai-hero-entry {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Revelado progresivo de contenido de todas las páginas */
main section:not(.hero) .container > *,
main section:not(.hero) .container > * > .service-card,
main section:not(.hero) .container > * > .solution-card,
main section:not(.hero) .container > * > .case-slide,
main section:not(.hero) .container > * > .stat-card,
main section:not(.hero) .container > * > .integration-tag,
main section:not(.hero) .container > * > .ai-opportunity,
main section:not(.hero) .container > * > .ai-process-step {
  will-change: opacity, transform;
}
.reveal {
  transition-duration: 700ms;
}
.reveal:nth-child(2) {
  transition-delay: 70ms;
}
.reveal:nth-child(3) {
  transition-delay: 140ms;
}
.reveal:nth-child(4) {
  transition-delay: 210ms;
}

@media (max-width: 1100px) {
  .header-utility-inner {
    width: calc(100% - 48px);
  }
  .header-inner {
    min-height: 76px;
  }
  .nav-panel-intro {
    display: none;
  }
  .nav-panel.nav-panel-services,
  .nav-panel.nav-panel-solutions {
    width: 100%;
    padding: 0 0 0 11px;
    display: block;
    border: 0;
    background: transparent;
  }
  .nav-panel-links,
  .nav-panel-solutions .nav-panel-links {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .nav-panel-links a,
  .nav-panel-solutions .nav-panel-links a {
    min-height: 42px;
    padding: 8px 10px !important;
  }
  .nav-panel-links a > span,
  .nav-panel-solutions .nav-panel-links a > span {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .nav-panel-links small {
    display: none;
  }
  .nav-panel-links em {
    display: none;
  }
  .nav-group.is-open .nav-panel a,
  .nav-group:focus-within .nav-panel a {
    opacity: 1;
  }
  .ai-hero-layout {
    min-height: 465px;
  }
  .ai-hero-copy {
    width: calc(100% - 64px);
  }
  .ai-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }
  .header-utility {
    display: none;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
    padding-block: 38px 30px;
  }
  .footer-company {
    grid-column: 1 / -1;
  }
  .footer-column {
    gap: 9px;
  }
  .ai-hero {
    min-height: 680px;
    padding: 112px 0 38px;
  }
  .ai-hero-layout {
    min-height: 510px;
  }
  .ai-hero-copy {
    width: calc(100% - 40px);
    padding-block: 50px;
  }
  .ai-hero h1 {
    max-width: 680px;
    font-size: clamp(43px, 10vw, 68px);
  }
  .ai-hero-video {
    object-position: 58% center;
  }
  .ai-hero-video-shade {
    background:
      linear-gradient(90deg, rgb(5 14 27 / 64%), rgb(8 23 40 / 38%)),
      linear-gradient(0deg, rgb(6 17 31 / 56%), transparent 42%);
  }
  .ai-hero-bottom {
    margin-top: 0;
  }
  .ai-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .header-utility {
    display: none;
  }
  .ai-hero {
    min-height: 650px;
    padding-top: 96px;
  }
  .ai-hero-layout {
    min-height: 510px;
  }
  .ai-hero-copy {
    width: calc(100% - 34px);
  }
  .ai-hero-note {
    font-size: 11px;
  }
  .ai-hero-bottom {
    margin-top: 12px;
  }
  .ai-process-list {
    grid-template-columns: 1fr;
  }
  .ai-process-step {
    min-height: 195px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-hero-copy > *,
  .reveal,
  .nav-panel,
  .nav-panel-links a,
  .footer-column a {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 1100px) {
  .nav-panel {
    grid-template-rows: 1fr;
  }
  .nav-group:hover:not(.is-open) .nav-panel {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  .nav-group.is-open:hover .nav-panel {
    max-height: 320px;
    padding-top: 2px;
    padding-bottom: 8px;
  }
  .nav-group.is-open:hover .nav-panel a {
    padding-block: 8px !important;
    opacity: 1;
  }
}
/* Espacio de respiro bajo la cabecera fija */
@media (min-width: 1101px) {
  .hero-stage {
    padding-top: 136px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero-stage {
    padding-top: 132px;
  }
}
@media (max-width: 760px) {
  .hero-stage {
    padding-top: 102px;
  }
}

/* Casos · tarjetas con entrada orgánica y desplazamiento escalonado */
.case-slide.reveal,
.featured-client.reveal,
.client-card.reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 38px, 0) scale(0.965);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 900ms cubic-bezier(0.18, 0.72, 0.2, 1),
    filter 760ms ease,
    box-shadow 380ms ease,
    border-color 380ms ease;
}
.case-slide.reveal.is-visible,
.featured-client.reveal.is-visible,
.client-card.reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
}
.case-slide:nth-child(2),
.featured-client:nth-child(2) {
  transition-delay: 90ms;
}
.case-slide:nth-child(3),
.featured-client:nth-child(3) {
  transition-delay: 180ms;
}
.case-slide:nth-child(4) {
  transition-delay: 270ms;
}
.client-card.reveal {
  animation: none;
}
.client-card:nth-child(2) {
  transition-delay: 45ms;
}
.client-card:nth-child(3) {
  transition-delay: 90ms;
}
.client-card:nth-child(4) {
  transition-delay: 135ms;
}
.client-card:nth-child(5) {
  transition-delay: 180ms;
}
.client-card:nth-child(6) {
  transition-delay: 225ms;
}
.featured-client-logo img {
  transform: scale(1.08);
  transition: transform 900ms cubic-bezier(0.18, 0.72, 0.2, 1);
}
.featured-client.is-visible .featured-client-logo img {
  transform: scale(1);
}
.client-logo-stage img {
  transform: scale(1.1);
  transition: transform 850ms cubic-bezier(0.18, 0.72, 0.2, 1);
}
.client-card.is-visible .client-logo-stage img {
  transform: scale(1);
}

/* Doble carrusel infinito de imágenes de casos de éxito */
.case-marquee-stage {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
  margin-block: clamp(26px, 4vw, 46px) 0;
  padding-block: 32px 40px;
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  overflow: hidden;
  perspective: 1100px;
}
.case-marquee-row {
  width: 100%;
  margin-left: 0;
  overflow: hidden;
  transform: rotate(-2deg);
}
.case-marquee-row[data-direction="right"] {
  transform: rotate(-2deg);
}
.case-marquee-track,
.case-marquee-group {
  width: max-content;
  display: flex;
  flex: 0 0 auto;
}
.case-marquee-track {
  gap: 0;
  will-change: transform;
}
.case-marquee-track.is-ready {
  animation: case-marquee-left var(--marquee-duration, 40s) linear infinite;
}
.case-marquee-row[data-direction="right"] .case-marquee-track.is-ready {
  animation-name: case-marquee-right;
}
.case-marquee-group {
  gap: clamp(14px, 2vw, 24px);
  padding-right: clamp(14px, 2vw, 24px);
}
.case-marquee-card {
  position: relative;
  /* El carrusel comparte el ancho del contenido y deja ver cuatro tarjetas. */
  width: min(270px, max(150px, calc((min(1160px, 100vw - 64px) - 4 * clamp(14px, 2vw, 20px)) / 4)));
  aspect-ratio: 1.48;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid #dbe5f1;
  border-radius: 18px;
  color: #173451;
  background: linear-gradient(145deg, #fff, #f1f6fd);
  box-shadow: 0 12px 32px rgb(16 42 73 / 9%);
  isolation: isolate;
  transition:
    transform 320ms ease,
    box-shadow 320ms ease,
    border-color 320ms ease;
}
.case-marquee-card:hover,
.case-marquee-card:focus-visible {
  transform: translateY(-5px);
  border-color: #a9c5e8;
  box-shadow: 0 20px 44px rgb(16 42 73 / 16%);
}
.case-marquee-logo {
  min-height: 0;
  flex: 1;
  padding: 18px 24px 10px;
  display: grid;
  place-items: center;
}
.case-marquee-logo img {
  width: min(82%, 210px);
  max-height: 78px;
  display: block;
  object-fit: contain;
  transition:
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 500ms ease;
}
.case-marquee-card:hover .case-marquee-logo img,
.case-marquee-card:focus-visible .case-marquee-logo img {
  transform: scale(1.06);
}
.case-marquee-caption {
  min-height: 62px;
  padding: 12px 16px 14px;
  display: grid;
  align-content: center;
  gap: 4px;
  border-top: 1px solid #e3ebf5;
  background: rgb(255 255 255 / 75%);
}
.case-marquee-caption strong {
  overflow: hidden;
  color: #173451;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-marquee-card small {
  overflow: hidden;
  color: #67809c;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.case-marquee-card:focus-visible {
  outline: 3px solid #2160d5;
  outline-offset: 4px;
}
.success-section:has(.case-marquee-card:hover) .case-marquee-track,
.success-section:has(.case-marquee-card:focus-visible) .case-marquee-track,
.success-section.is-marquee-paused .case-marquee-track {
  animation-play-state: paused;
}
@keyframes case-marquee-left {
  to {
    transform: translateX(-50%);
  }
}
@keyframes case-marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@media (max-width: 760px) {
  .case-marquee-stage {
    margin-top: 24px;
    padding-block: 24px 30px;
    gap: 18px;
  }
  .case-marquee-row {
    width: 100%;
    margin-left: 0;
  }
  .case-marquee-group {
    gap: 14px;
    padding-right: 14px;
  }
  .case-marquee-card {
    width: min(78vw, 300px);
    min-width: 220px;
    border-radius: 15px;
  }
  .case-marquee-caption {
    min-height: 58px;
    padding-inline: 13px;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .case-marquee-stage { width: calc(100% - 64px); }
}
@media (prefers-reduced-motion: reduce) {
  .case-marquee-row {
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    transform: none !important;
    scrollbar-width: none;
  }
  .case-marquee-row::-webkit-scrollbar {
    display: none;
  }
  .case-marquee-track {
    animation: none !important;
    transform: none !important;
  }
  .case-marquee-group[aria-hidden="true"] {
    display: none;
  }
  .case-marquee-card,
  .case-marquee-card img {
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .case-slide.reveal,
  .featured-client.reveal,
  .client-card.reveal,
  .featured-client-logo img,
  .client-logo-stage img {
    filter: none;
    transform: none;
    transition: none;
  }
}

/* Homepage · soluciones que te ayudan */
.help-solutions-section {
  padding: clamp(72px, 8vw, 108px) 0;
  color: #173451;
  background: #fff;
}
.help-solutions-heading {
  margin-bottom: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(28px, 6vw, 82px);
}
.help-solutions-heading .section-kicker {
  margin-bottom: 15px;
}
.help-solutions-heading h2 {
  margin: 0;
  color: #173451;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.03;
}
.help-solutions-heading h2 span {
  color: #3975bc;
}
.help-solutions-heading > p {
  max-width: 43ch;
  margin: 0 0 4px;
  color: #63778e;
  font-size: 15px;
  line-height: 1.75;
}
.help-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.help-solution-card {
  position: relative;
  min-width: 0;
  min-height: 290px;
  padding: clamp(23px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border: 1px solid #dce6f1;
  border-radius: 20px;
  color: inherit;
  background: linear-gradient(145deg, #f9fbfe 0%, #f1f6fc 100%);
  box-shadow: 0 12px 32px rgb(34 68 108 / 5%);
  text-decoration: none;
  transition: transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1), border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}
.help-solution-card::after {
  position: absolute;
  right: -84px;
  bottom: -122px;
  width: 240px;
  aspect-ratio: 1;
  border: 1px solid rgb(54 109 182 / 12%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transition: transform 450ms ease, border-color 300ms ease;
}
.help-solution-card:hover,
.help-solution-card:focus-visible {
  border-color: #a9c5e7;
  background: #fff;
  box-shadow: 0 22px 48px rgb(36 75 121 / 12%);
  outline: none;
  transform: translateY(-5px);
}
.help-solution-card:hover::after,
.help-solution-card:focus-visible::after {
  border-color: rgb(54 109 182 / 25%);
  transform: scale(1.12);
}
.help-solution-card:focus-visible {
  outline: 3px solid #2160d5;
  outline-offset: 3px;
}
.help-solution-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #d2e1f2;
  border-radius: 15px;
  color: #2e6db4;
  background: #fff;
  transition: color 260ms ease, background 260ms ease, transform 360ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.help-solution-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.help-solution-card:hover .help-solution-icon,
.help-solution-card:focus-visible .help-solution-icon {
  color: #fff;
  background: #2e6db4;
  transform: translateY(-2px) rotate(-4deg);
}
.help-solution-label {
  margin-bottom: 10px;
  color: #6e8197;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.help-solution-card h3 {
  margin: 0 0 10px;
  color: #173451;
  font-family: var(--font-display);
  font-size: clamp(23px, 2vw, 28px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.help-solution-card p {
  max-width: 39ch;
  margin: 0;
  color: #62768e;
  font-size: 14px;
  line-height: 1.65;
}
.help-solution-link {
  margin-top: auto;
  padding-top: 22px;
  color: #245eaa;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color 220ms ease, color 220ms ease;
}
.help-solution-card:hover .help-solution-link,
.help-solution-card:focus-visible .help-solution-link {
  color: #123f85;
  text-decoration-color: currentColor;
}
.help-solution-card:nth-child(2) { transition-delay: 60ms; }
.help-solution-card:nth-child(3) { transition-delay: 120ms; }
@media (max-width: 900px) {
  .help-solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-solution-card:last-child { grid-column: 1 / -1; min-height: 250px; }
}
@media (max-width: 600px) {
  .help-solutions-heading { grid-template-columns: 1fr; gap: 16px; }
  .help-solutions-grid { grid-template-columns: 1fr; gap: 13px; }
  .help-solution-card,
  .help-solution-card:last-child { min-height: 0; grid-column: auto; padding: 24px; }
  .help-solution-link { margin-top: 20px; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .help-solution-card,
  .help-solution-card::after,
  .help-solution-icon,
  .help-solution-link { transition: none; }
  .help-solution-card:hover,
  .help-solution-card:focus-visible,
  .help-solution-card:hover .help-solution-icon,
  .help-solution-card:focus-visible .help-solution-icon { transform: none; }
}

/* Casos de éxito · cuatro carruseles verticales de marcas */
.featured-marquee-toolbar {
  margin: -14px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #71839a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.featured-client-marquee {
  height: clamp(460px, 49vw, 660px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
}
.featured-client-lane {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  perspective: 900px;
}
.featured-client-marquee-track,
.featured-client-marquee-group {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.featured-client-marquee-track {
  height: max-content;
  gap: 0;
  animation: featured-marquee-up var(--featured-marquee-duration, 72s) linear infinite;
  will-change: transform;
}
.featured-client-lane[data-direction="down"] .featured-client-marquee-track {
  animation-name: featured-marquee-down;
}
.featured-client-marquee-group {
  flex: 0 0 auto;
  gap: 14px;
  padding-bottom: 14px;
}
.featured-marquee-card {
  min-height: 132px;
  padding: 10px 12px;
  display: grid;
  grid-template-rows: auto minmax(50px, 1fr) auto;
  gap: 6px;
  overflow: hidden;
  border: 1px solid #e1e8f1;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #f4f8fd);
  box-shadow: 0 8px 22px rgb(28 57 91 / 5%);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.featured-marquee-card:hover {
  transform: translateY(-3px);
  border-color: #b9cde5;
  box-shadow: 0 14px 28px rgb(28 57 91 / 10%);
}
.featured-marquee-sector {
  overflow: hidden;
  color: #66809e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.featured-marquee-logo {
  min-height: 50px;
  display: grid;
  place-items: center;
}
.featured-marquee-logo img {
  width: min(84%, 180px);
  max-height: 54px;
  display: block;
  object-fit: contain;
}
.featured-marquee-name {
  margin: 0;
  overflow: hidden;
  color: #1b3049;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stories-featured:has(.featured-client-lane:hover) .featured-client-marquee-track,
.stories-featured:has(.featured-client-lane:focus-within) .featured-client-marquee-track,
.stories-featured.is-featured-marquee-paused .featured-client-marquee-track {
  animation-play-state: paused;
}
@keyframes featured-marquee-up {
  to { transform: translateY(-50%); }
}
@keyframes featured-marquee-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}
@media (max-width: 1000px) {
  .featured-client-marquee {
    height: clamp(420px, 58vw, 600px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 520px) {
  .featured-marquee-toolbar {
    align-items: flex-start;
    font-size: 9px;
  }
  .featured-client-marquee {
    height: 420px;
    gap: 10px;
  }
  .featured-client-lane { border-radius: 13px; }
  .featured-client-marquee-group { gap: 10px; padding-bottom: 10px; }
  .featured-marquee-card {
    min-height: 120px;
    padding: 8px 9px;
    grid-template-rows: auto minmax(44px, 1fr) auto;
    gap: 5px;
    border-radius: 13px;
  }
  .featured-marquee-sector { font-size: 7px; }
  .featured-marquee-name { font-size: 10px; }
  .featured-marquee-logo { min-height: 44px; }
  .featured-marquee-logo img { max-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-client-marquee {
    height: auto;
    max-height: 660px;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .featured-client-lane { overflow-y: auto; }
  .featured-client-marquee-track { animation: none !important; transform: none !important; }
  .featured-client-marquee-group[aria-hidden="true"] { display: none; }
  .featured-marquee-card { transition: none; }
}

/* Header compartido · extremos alineados y navegación realmente centrada */
.header-utility-inner {
  width: min(1320px, calc(100% - clamp(40px, 7vw, 104px)));
}
.header-inner {
  position: relative;
  width: min(1320px, calc(100% - clamp(40px, 7vw, 104px)));
  min-height: 76px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}
.brand {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
.main-nav {
  position: static;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: max-content;
  max-width: calc(100% - 260px);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.nav-contact {
  position: absolute;
  top: 50%;
  right: 0;
  margin: 0;
  align-self: auto;
  transform: translateY(-50%);
}
.nav-contact:hover,
.nav-contact:focus-visible {
  transform: translateY(calc(-50% - 2px));
}

@media (max-width: 1100px) {
  .header-inner {
    width: calc(100% - 48px);
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }
  .brand img { width: 148px; }
  .main-nav {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    width: min(620px, calc(100vw - 48px));
    max-width: none;
    max-height: calc(100dvh - 96px);
    margin: 0;
    padding: 12px 18px 18px;
    display: none;
    overflow: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 3px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 16px;
    background: #0b1422;
    box-shadow: 0 24px 45px rgb(0 0 0 / 32%);
    transform: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-group { min-height: 0; display: block; }
  .nav-trigger,
  .nav-link {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px;
    text-align: left;
  }
  .nav-panel.nav-panel-services,
  .nav-panel.nav-panel-solutions {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: 100% !important;
    min-width: 0;
    max-height: 0;
    margin: 0;
    padding: 0 0 0 11px;
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: hidden;
    transform: none;
    transition: max-height 260ms ease, padding 260ms ease, visibility 260ms ease;
  }
  .nav-panel-intro { display: none; }
  .nav-panel-links,
  .nav-panel-solutions .nav-panel-links {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 3px;
  }
  .nav-panel-links a,
  .nav-panel-solutions .nav-panel-links a {
    width: 100%;
    min-height: 46px;
    padding: 8px 11px !important;
    display: flex;
    opacity: 1 !important;
  }
  .nav-panel-links a > span,
  .nav-panel-solutions .nav-panel-links a > span {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
  .nav-panel-links b { font-size: 12px; }
  .nav-panel-links small {
    display: block;
    font-size: 10px;
  }
  .nav-panel-links em { display: none; }
  .nav-group.is-open .nav-panel.nav-panel-services,
  .nav-group.is-open .nav-panel.nav-panel-solutions {
    max-height: 380px;
    padding: 4px 0 10px 11px;
    visibility: visible;
  }
  .nav-group:hover:not(.is-open) .nav-panel,
  .nav-group:focus-within:not(.is-open) .nav-panel {
    max-height: 0;
    padding: 0 0 0 11px;
    visibility: hidden;
  }
  .nav-group.is-open:hover .nav-panel,
  .nav-group.is-open:focus-within .nav-panel {
    max-height: 380px;
    padding: 4px 0 10px 11px;
    visibility: visible;
  }
  .nav-contact,
  .nav-contact:hover,
  .nav-contact:focus-visible {
    position: static;
    top: auto;
    right: auto;
    width: max-content;
    margin: 10px 0 0;
    align-self: flex-start;
    transform: none;
  }
  .nav-contact:hover { transform: translateY(-2px); }
}

@media (max-width: 760px) {
  .header-inner {
    width: calc(100% - 32px);
    min-height: 70px;
  }
  .brand img { width: 137px; }
  .main-nav {
    top: 100%;
    right: 0;
    left: 0;
    width: auto;
    max-height: calc(100dvh - 70px);
    padding: 10px 16px 18px;
    border-top: 1px solid rgb(255 255 255 / 8%);
    border-radius: 0 0 16px 16px;
  }
  .nav-trigger,
  .nav-link { min-height: 45px; }
  .nav-panel-links a,
  .nav-panel-solutions .nav-panel-links a { min-height: 44px; }
}

@media (max-width: 420px) {
  .header-inner { width: calc(100% - 28px); }
  .brand img { width: 126px; }
  .menu-toggle { width: 40px; height: 40px; }
  .main-nav { padding-inline: 13px; }
  .nav-panel-links small { font-size: 9px; }
}

/* Desplegables accesibles en tablet y móvil: la lista forma parte del menú */
@media (max-width: 1100px) {
  .main-nav {
    max-height: calc(100dvh - 108px);
    overscroll-behavior: contain;
  }

  .nav-panel.nav-panel-services,
  .nav-panel.nav-panel-solutions {
    width: 100% !important;
    max-height: 0;
    padding: 0 0 0 12px;
    display: block;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 260ms ease, padding 260ms ease, visibility 260ms ease;
  }

  .nav-group.is-open > .nav-panel.nav-panel-services,
  .nav-group.is-open > .nav-panel.nav-panel-solutions {
    max-height: 440px;
    padding: 5px 0 12px 12px;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-group:hover:not(.is-open) > .nav-panel,
  .nav-group:focus-within:not(.is-open) > .nav-panel {
    max-height: 0;
    padding-block: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-group.is-open > .nav-panel .nav-panel-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .nav-group.is-open > .nav-panel .nav-panel-links a {
    min-height: 46px;
    border-radius: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-panel.nav-panel-services,
  .nav-panel.nav-panel-solutions {
    transition: none;
  }
}

/* Servicios digitales: IA ocupa una columna alta; las cuatro restantes forman una cuadrícula 2 x 2 */
.services-section .service-grid {
  width: min(1180px, calc(100% - 64px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(330px, auto);
  align-items: stretch;
}
.services-section .section-heading { width: min(1180px, calc(100% - 64px)); }
.services-section .service-card-ai {
  grid-column: 1;
  grid-row: span 2;
  min-height: 670px;
  display: block;
  padding: 0;
}
.services-section .service-card-ai::after { display: none; }
.services-section .service-card-ai-copy {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  inset: auto 30px 28px;
  min-width: 0;
  max-width: 570px;
}
.services-section .service-card-ai-visual {
  position: absolute;
  z-index: -1;
  inset: 0;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: #081a2d;
  isolation: isolate;
}
.services-section .service-ai-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.services-section .service-ai-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(4 15 29 / 0%) 18%, rgb(4 15 29 / 30%) 49%, rgb(4 15 29 / 94%) 100%);
  pointer-events: none;
}
.services-section .service-card-ai .service-icon {
  width: 42px;
  height: 42px;
  margin: 16px 0 14px;
  border-radius: 13px;
  font-size: 21px;
}
.services-section .service-card-ai h3 {
  max-width: 100%;
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.12;
}
.services-section .service-card-ai p {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: 14px;
}

/* La quinta tarjeta sigue el mismo tamaño y ritmo que las otras */
.services-section .service-card-security {
  grid-column: auto;
  min-height: 330px;
  background: linear-gradient(135deg, #f5f8ff 0%, #fff 76%);
}

@media (max-width: 1100px) {
  .services-section .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-section .service-card-ai {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 500px;
    display: block;
  }
  .services-section .service-card-ai-copy { inset: auto 28px 28px; justify-content: flex-end; }
  .services-section .service-card-ai .service-icon { width: 46px; height: 46px; margin: 19px 0 16px; }
  .services-section .service-card-ai h3 { font-size: clamp(24px, 3vw, 34px); }
  .services-section .service-card-security { grid-column: auto; min-height: 315px; }
}

@media (max-width: 760px) {
  .services-section .service-grid { grid-template-columns: 1fr; }
  .services-section .section-heading { width: min(100% - 36px, 560px); }
  .services-section .service-grid { width: min(100% - 36px, 560px); }
  .services-section .service-card-ai {
    grid-column: auto;
    grid-row: auto;
    min-height: 520px;
    display: block;
    padding: 0;
  }
  .services-section .service-card-ai-copy { inset: auto 21px 22px; justify-content: flex-end; }
  .services-section .service-card-ai .service-icon {
    width: 46px;
    height: 46px;
    margin: 21px 0 18px;
    border-radius: 14px;
    font-size: 22px;
  }
  .services-section .service-card-ai-visual { min-height: 0; }
  .services-section .service-card-security { min-height: 265px; }
}

/* Un único recorrido sticky: GSAP anima la escala sin añadir un segundo espacio de pin. */
.hero:not(.is-motion-reduced) {
  height: 165svh;
  min-height: 0;
}
.hero:not(.is-motion-reduced) .hero-stage {
  height: 100svh;
  min-height: min(100svh, 680px);
  position: sticky;
  top: 0;
}
.hero.is-motion-reduced {
  height: auto;
  min-height: 100svh;
  overflow: visible;
}
.hero.is-motion-reduced .hero-stage {
  position: relative;
  min-height: 100svh;
}

@media (max-width: 760px) {
  .hero:not(.is-motion-reduced) { height: 150svh; }
}

/* El carrusel de casos se desvanece suavemente en sus extremos para evitar cortes */
.case-marquee-stage {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

/* Seis soluciones propias en tres columnas; la adaptación móvil mantiene filas equilibradas */
.solution-card:nth-child(4),
.solution-card:nth-child(5),
.solution-card:nth-child(6) {
  grid-column: span 2;
}
.solution-support {
  margin-top: 30px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1.62fr);
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgb(41 88 145 / 18%);
}
.solution-support > p {
  margin: 0;
  color: #294d74;
  font-size: 13px;
  font-weight: 700;
}
.solution-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.solution-support-links a {
  min-height: 38px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgb(52 99 156 / 24%);
  border-radius: 999px;
  color: #245286;
  background: rgb(255 255 255 / 48%);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.solution-support-links a:hover,
.solution-support-links a:focus-visible {
  transform: translateY(-2px);
  border-color: #3974bd;
  color: #fff;
  background: #245eaa;
}
.solution-support-links a:focus-visible { outline: 3px solid #2160d5; outline-offset: 3px; }

@media (max-width: 900px) {
  .solution-card:nth-child(4),
  .solution-card:nth-child(5),
  .solution-card:nth-child(6) { grid-column: auto; }
  .solution-card:last-child { min-height: 330px; }
  .solution-support { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 760px) {
  .case-marquee-stage { width: calc(100% - 32px); }
  .solution-card:last-child { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .solution-support-links a { transition: none; }
}

/* Cabecera translúcida sobre el hero en todas las páginas */
.site-header {
  background: linear-gradient(180deg, rgb(5 10 18 / 43%), rgb(5 10 18 / 12%));
  border-bottom-color: rgb(255 255 255 / 8%);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.header-utility { background: transparent; }

/* Alineación del header: marca a la izquierda, navegación en el centro y CTA a la derecha */
@media (min-width: 1101px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(16px, 2vw, 30px);
  }
  .brand { grid-column: 1; justify-self: start; }
  .main-nav {
    grid-column: 2;
    justify-self: center;
    gap: clamp(12px, 1.45vw, 22px);
    white-space: nowrap;
  }
  .main-nav .nav-link { flex: 0 0 auto; white-space: nowrap; }
  .main-nav .nav-contact { display: none; }
  .desktop-contact {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
    white-space: nowrap;
  }
}

/* El desplegable móvil ocupa el ancho del menú y muestra sus enlaces en una columna */
@media (max-width: 1100px) {
  .desktop-contact { display: none; }
  .main-nav .nav-contact {
    display: inline-flex;
    position: static;
    align-self: flex-start;
    width: max-content;
    margin: 9px 0 0;
  }
  .nav-panel.nav-panel-services,
  .nav-panel.nav-panel-solutions {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: 0;
    margin: 0;
    padding: 0 0 0 10px;
    display: block !important;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: none !important;
    transition: max-height 280ms ease, padding 280ms ease, visibility 280ms ease;
  }
  .nav-group.is-open > .nav-panel.nav-panel-services,
  .nav-group.is-open > .nav-panel.nav-panel-solutions {
    max-height: 470px;
    padding: 5px 0 12px 10px;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-panel-intro { display: none !important; }
  .nav-panel-links,
  .nav-panel-solutions .nav-panel-links {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: start;
    gap: 2px;
  }
  .nav-panel-links a,
  .nav-panel-solutions .nav-panel-links a {
    min-height: 44px;
    padding: 8px 10px !important;
    display: flex;
    opacity: 1 !important;
    color: #e5effd;
    transform: none;
  }
  .nav-panel-links a > span,
  .nav-panel-solutions .nav-panel-links a > span {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
  .nav-panel-links b { color: #f2f6fc; font-size: 12px; }
  .nav-panel-links small { display: block; color: #a9bbd1; font-size: 10px; }
  .nav-panel-links em { display: none; }
}

/* Mega menús: columnas aisladas para evitar que el texto invada los enlaces */
@media (min-width: 1101px) {
  .nav-panel.nav-panel-services,
  .nav-panel.nav-panel-solutions {
    box-sizing: border-box;
    width: min(900px, calc(100vw - 40px)) !important;
    max-width: calc(100vw - 40px);
    min-height: 330px;
    padding: 25px;
    grid-template-columns: minmax(230px, .78fr) minmax(0, 1.22fr);
    align-items: stretch;
    gap: 27px;
    overflow: hidden;
  }
  .nav-panel.nav-panel-solutions { width: min(920px, calc(100vw - 40px)) !important; }
  .nav-panel-intro { min-width: 0; padding: 8px 24px 8px 3px; overflow: hidden; }
  .nav-panel-intro > span,
  .nav-panel-intro strong,
  .nav-panel-intro p,
  .nav-panel-intro .nav-panel-all { flex: 0 0 auto; }
  .nav-panel-intro strong,
  .nav-panel-intro p { width: 100%; max-width: 100%; overflow-wrap: anywhere; }
  .nav-panel-intro strong { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.2; }
  .nav-panel-intro p { font-size: 11px; line-height: 1.55; }
  .nav-panel-visual { width: 100%; height: 112px; min-height: 112px; margin: auto 0 0; overflow: hidden; border: 1px solid rgb(164 199 245 / 20%); border-radius: 12px; background: #0b1728; }
  .nav-panel-visual img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .55s cubic-bezier(.2,.75,.25,1); }
  .nav-group:hover .nav-panel-visual img,
  .nav-group:focus-within .nav-panel-visual img { transform: scale(1.045); }
  .nav-panel-links { min-width: 0; align-self: stretch; align-content: center; gap: 5px; }
  .nav-panel-links a { min-width: 0; }
  .nav-panel-links a > span { min-width: 0; overflow-wrap: anywhere; }
  .nav-panel-solutions .nav-panel-links a > span { grid-template-columns: minmax(115px, .7fr) minmax(0, 1.3fr); column-gap: 16px; }
}
@media (max-width: 1100px) {
  .nav-panel-intro,
  .nav-panel-visual { display: none !important; }
  .nav-panel.nav-panel-services,
  .nav-panel.nav-panel-solutions { box-sizing: border-box; }
}

/* Hero de portada: fundido entre dos reproducciones para ocultar el reinicio del MP4. */
.hero-video-layer {
  opacity: 0;
  transition: opacity 1.45s linear;
}
.hero-video-layer.is-active { opacity: 1; }
.hero-video-layer.is-fading-out { opacity: 0; }

/* IA aplicada: escena oscura, scroll sticky estable y contenido de servicio. */
.ai-page {
  --ai-ink: #eef4ff;
  --ai-blue: #6ea8ff;
  --ai-cyan: #62d3c0;
  --ai-mist: #0b1625;
  color: var(--ai-ink);
  background: #07111e;
}
.ai-hero h1 span { color: #8bb8ff; }
.ai-intro-section,
.ai-process-section { background: #0a1524; }
.ai-opportunities { background: #0d1a2a; }
.ai-demo-section { background: #081321; }
.ai-trust-section { background: linear-gradient(120deg, #102845, #0b1a2c 75%); }
.ai-contact-section { background: #10243d; }
.ai-intro-layout h2,
.ai-section-heading h2,
.ai-demo-copy h2,
.ai-trust-layout h2,
.ai-contact-inner h2 { color: #f2f6fd; }
.ai-intro-layout h2 span,
.ai-section-heading h2 span,
.ai-demo-copy h2 span,
.ai-contact-inner h2 span { color: #8bb8ff; }
.ai-intro-layout > p,
.ai-section-heading > p:last-child,
.ai-opportunity p { color: #b3c2d5; }
.ai-section-heading .section-kicker { color: #8bb8ff; }
.ai-opportunity {
  min-height: 300px;
  border-color: rgb(171 199 232 / 17%);
  background: linear-gradient(155deg, #14243a, #0f1b2c);
  box-shadow: inset 0 1px rgb(255 255 255 / 2%);
}
.ai-opportunity:hover {
  border-color: rgb(117 170 247 / 65%);
  background: linear-gradient(155deg, #192d48, #111f32);
  box-shadow: 0 22px 46px rgb(0 0 0 / 22%);
}
.ai-opportunity > span { color: #8fa6c1; }
.ai-opportunity-icon {
  color: #9cc2ff;
  background: rgb(75 130 205 / 16%);
  border: 1px solid rgb(136 181 243 / 17%);
}
.ai-opportunity h3 { color: #f0f5fc; }
.ai-process-list,
.ai-process-step { border-color: rgb(181 204 231 / 17%); }
.ai-process-step:hover { background: rgb(135 177 232 / 7%); }
.ai-process-step h3 { color: #f0f5fc; }
.ai-process-step p { color: #b3c2d5; }
.ai-process-mark { color: #8bb8ff; }
.ai-trust-layout h2 span { color: #91b9ff; }
.ai-trust-points > p { color: #cad7e7; }
.ai-trust-points li { color: #edf4fc; }
.ai-contact-inner .ai-kicker { color: #94bfff; }
.ai-contact-inner > p:not(.ai-kicker) { color: #c3d1e2; }
.ai-contact-inner .ai-button-primary {
  color: #07111e;
  background: #8bb8ff;
}
.ai-contact-inner .ai-button-primary:hover { background: #b0ceff; }
.ai-page .site-footer { background: #050b13; }
@media (max-width: 600px) {
  .ai-opportunity-grid { grid-template-columns: 1fr; }
  .ai-opportunity { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-layer { transition: none; }
}

/* IA aplicada: robot con profundidad y movimiento vinculado al scroll. */
.ai-opportunity-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.72fr);
  align-items: stretch;
  gap: clamp(18px, 2vw, 28px);
}
.ai-opportunity-showcase .ai-opportunity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ai-robot-scene {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 614px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(171 199 232 / 18%);
  border-radius: 24px;
  background: #050a12;
  box-shadow: 0 30px 70px rgb(0 0 0 / 30%), inset 0 1px rgb(255 255 255 / 8%);
  transform: perspective(1400px) rotateY(var(--robot-rotate-y, -12deg)) rotateX(var(--robot-rotate-x, 7deg)) rotateZ(var(--robot-rotate-z, -1.5deg)) scale(var(--robot-scale, 0.96)) translateY(var(--robot-shift, 12px));
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform;
}
.ai-robot-scene::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgb(4 10 18 / 0%) 46%, rgb(4 10 18 / 78%) 100%);
  content: "";
  pointer-events: none;
}
.ai-robot-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 39% center;
}
.ai-robot-scene figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 25px;
  left: 24px;
  display: grid;
  gap: 8px;
  transform: translateZ(34px);
}
.ai-robot-scene figcaption span {
  color: #8bb8ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.ai-robot-scene figcaption strong {
  max-width: 300px;
  color: #f3f7fc;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 27px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}
@media (max-width: 1000px) {
  .ai-opportunity-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.72fr);
  }
  .ai-robot-scene { min-height: 614px; }
}
@media (max-width: 760px) {
  .ai-opportunity-showcase { grid-template-columns: 1fr; }
  .ai-opportunity-showcase .ai-opportunity-grid { grid-template-columns: 1fr; }
  .ai-robot-scene {
    min-height: 0;
    height: clamp(360px, 105vw, 560px);
  }
  .ai-robot-scene figcaption { right: 20px; bottom: 21px; left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-robot-scene {
    transform: none;
    will-change: auto;
  }
}

/* Carrusel vertical sincronizado con el scroll: el escenario permanece anclado. */
.ai-opportunities { overflow: visible; padding: 22px 0 0; }
.ai-opportunity-scroll { --ai-sticky-top: 104px; position: relative; }
.ai-opportunity-stage {
  height: min(760px, calc(100svh - 124px));
  min-height: 570px;
  padding: 24px 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.is-scroll-carousel .ai-opportunity-stage {
  position: sticky;
  z-index: 2;
  top: var(--ai-sticky-top);
}
.ai-opportunity-stage .ai-section-heading {
  max-width: 760px;
  margin: 0 0 clamp(14px, 2vh, 22px);
}
.ai-opportunity-stage .ai-section-heading .section-kicker { margin-bottom: 9px; }
.ai-opportunity-stage .ai-section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
}
.ai-opportunity-stage .ai-section-heading > p:last-child {
  max-width: 520px;
  margin-top: 10px;
  font-size: 13px;
}
.ai-opportunity-showcase {
  flex: 1;
  min-height: 0;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(18px, 2.4vw, 32px);
}
.ai-robot-scene {
  min-height: 0;
  height: 100%;
}
.ai-robot-scene img { object-position: 39% center; }
.ai-opportunity-carousel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-opportunity-grid {
  position: relative;
  flex: 1;
  min-height: 360px;
}
.is-scroll-carousel .ai-opportunity-grid { display: block; }
.is-scroll-carousel .ai-opportunity {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 0;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 28px, -24px) rotateX(-5deg) scale(0.975);
  transition: opacity 520ms ease, transform 680ms cubic-bezier(0.2, 0.75, 0.2, 1), visibility 520ms;
}
.is-scroll-carousel .ai-opportunity.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}
.is-scroll-carousel .ai-opportunity:hover { transform: translate3d(0, 0, 0) rotateX(0) scale(1); }
.ai-opportunity-progress {
  min-height: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8fa6c1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.ai-opportunity-progress-track {
  flex: 1;
  height: 2px;
  overflow: hidden;
  background: rgb(171 199 232 / 18%);
}
.ai-opportunity-progress-track > span {
  width: 100%;
  height: 100%;
  display: block;
  background: #8bb8ff;
  transform: scaleX(0.25);
  transform-origin: left center;
  transition: transform 500ms ease;
}
.ai-opportunity-scroll-steps > span { height: 58svh; display: block; }
.ai-opportunity-scroll-steps > span:last-child { height: 58svh; }
.ai-opportunity-scroll:not(.is-scroll-carousel) .ai-opportunity-stage {
  height: auto;
  min-height: 0;
  position: relative;
}
.ai-opportunity-scroll:not(.is-scroll-carousel) .ai-opportunity-scroll-steps { display: none; }
.ai-opportunity-scroll:not(.is-scroll-carousel) .ai-opportunity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ai-opportunity-scroll:not(.is-scroll-carousel) .ai-opportunity {
  position: relative;
  min-height: 260px;
  height: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ai-opportunity-scroll:not(.is-scroll-carousel) .ai-robot-scene { min-height: 540px; }
@media (max-width: 1000px) {
  .ai-opportunity-scroll { --ai-sticky-top: 104px; }
  .ai-opportunity-stage { min-height: 540px; }
  .ai-opportunity-showcase { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); }
  .ai-robot-scene { min-height: 0; }
  .ai-opportunity-grid { min-height: 340px; }
  .ai-opportunity-scroll:not(.is-scroll-carousel) .ai-opportunity-grid { grid-template-columns: 1fr; }
  .ai-opportunity-scroll:not(.is-scroll-carousel) .ai-robot-scene { min-height: 420px; }
}
@media (max-width: 760px) {
  .ai-opportunities { padding-top: 10px; }
  .ai-opportunity-scroll { --ai-sticky-top: 98px; }
  .ai-opportunity-stage {
    height: calc(100svh - 112px);
    min-height: 560px;
    padding: 16px 0 12px;
  }
  .ai-opportunity-stage .ai-section-heading { margin-bottom: 12px; }
  .ai-opportunity-stage .ai-section-heading h2 { font-size: clamp(29px, 7vw, 38px); }
  .ai-opportunity-stage .ai-section-heading > p:last-child { margin-top: 7px; font-size: 12px; }
  .ai-opportunity-showcase {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: clamp(128px, 36vw, 160px) minmax(0, 1fr);
    gap: 12px;
  }
  .ai-robot-scene { height: clamp(128px, 36vw, 160px); min-height: 0; border-radius: 17px; }
  .ai-robot-scene img { object-position: 39% 38%; }
  .ai-robot-scene figcaption { right: 16px; bottom: 14px; left: 16px; gap: 4px; }
  .ai-robot-scene figcaption span { font-size: 8px; }
  .ai-robot-scene figcaption strong { max-width: 250px; font-size: 18px; }
  .ai-opportunity-carousel { gap: 9px; }
  .ai-opportunity-grid { min-height: 0; }
  .ai-opportunity-carousel { position: relative; z-index: 2; }
  .ai-robot-scene { z-index: 0; }
  .ai-opportunity { padding: 14px; }
  .ai-opportunity .ai-opportunity-icon { width: 32px; height: 32px; margin: 8px 0; }
  .ai-opportunity h3 { font-size: 16px; line-height: 1.2; }
  .ai-opportunity p { font-size: 11.5px; line-height: 1.5; }
  .ai-opportunity-progress { font-size: 8px; gap: 8px; }
  .ai-opportunity-progress > span:last-child { display: none; }
  .ai-opportunity-scroll:not(.is-scroll-carousel) .ai-opportunity-showcase { grid-template-columns: 1fr; grid-template-rows: auto; }
  .ai-opportunity-scroll:not(.is-scroll-carousel) .ai-robot-scene { height: 300px; min-height: 0; }
}
@media (max-width: 430px) {
  .ai-opportunity-stage { min-height: 560px; }
  .ai-opportunity-stage .ai-section-heading h2 { font-size: 29px; }
  .ai-opportunity-stage .ai-section-heading > p:last-child { max-width: 340px; }
  .ai-opportunity-scroll-steps > span { height: 54svh; }
  .ai-opportunity-scroll-steps > span:last-child { height: 54svh; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-opportunity-scroll { height: auto; }
  .ai-opportunity-stage,
  .is-scroll-carousel .ai-opportunity-stage { position: relative; top: auto; height: auto; min-height: 0; }
  .ai-opportunity-scroll-steps { display: none; }
  .ai-opportunity-showcase { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); }
  .ai-opportunity-scroll .ai-opportunity-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .ai-opportunity-scroll .ai-opportunity {
    position: relative;
    min-height: 220px;
    height: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .ai-opportunity-progress-track > span { transition: none; }
}

/* La imagen recortada comparte el fondo azul; las tarjetas se apilan al avanzar. */
.ai-robot-scene {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #0d1a2a;
  box-shadow: none;
  transform: perspective(1400px)
    rotateY(var(--robot-rotate-y, -12deg))
    rotateX(var(--robot-rotate-x, 7deg))
    rotateZ(var(--robot-rotate-z, -1.5deg))
    scale(var(--robot-scale, 0.96))
    translateY(var(--robot-shift, 12px));
}
.ai-robot-scene::before {
  position: absolute;
  z-index: 0;
  inset: 9% 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(72 133 204 / 25%), rgb(39 84 135 / 10%) 42%, transparent 72%);
  filter: blur(26px);
  content: "";
}
.ai-robot-scene::after { background: none; }
.ai-robot-scene img {
  z-index: 1;
  left: -15%;
  width: 130%;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: screen;
  transform: perspective(1200px) rotateY(var(--tilt-y, 0deg)) rotateX(var(--tilt-x, 0deg)) translateZ(22px);
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
  -webkit-mask-image: radial-gradient(ellipse 77% 84% at 50% 48%, #000 62%, rgb(0 0 0 / 0.82) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse 77% 84% at 50% 48%, #000 62%, rgb(0 0 0 / 0.82) 76%, transparent 100%);
  filter: drop-shadow(0 28px 32px rgb(0 0 0 / 30%));
}
.ai-robot-scene figcaption { text-shadow: 0 2px 22px rgb(0 0 0 / 70%); }
.is-scroll-carousel .ai-opportunity.is-stacked {
  z-index: 2;
  opacity: calc(1 - var(--card-depth, 1) * 0.12);
  visibility: visible;
  pointer-events: none;
  transform: translate3d(calc(var(--card-depth, 1) * -12px), calc(var(--card-depth, 1) * -20px), calc(var(--card-depth, 1) * -25px)) scale(calc(1 - var(--card-depth, 1) * 0.06));
}
.is-scroll-carousel .ai-opportunity.is-active {
  z-index: 10;
  transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}
.is-scroll-carousel .ai-opportunity.is-active:hover {
  transform: translate3d(0, 0, 0) rotateX(0) scale(1);
}
@media (max-width: 760px) {
  .ai-opportunity-showcase {
    grid-template-rows: clamp(128px, 36vw, 160px) minmax(0, 1fr);
  }
  .ai-robot-scene { height: clamp(128px, 36vw, 160px); }
  .ai-robot-scene img { left: 0; width: 100%; }
  .ai-robot-scene figcaption { right: 18px; bottom: 13px; left: 18px; }
  .is-scroll-carousel .ai-opportunity.is-stacked {
    transform: translate3d(0, 0, calc(var(--card-depth, 1) * -16px)) scale(calc(1 - var(--card-depth, 1) * 0.035));
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-robot-scene img { transform: none; transition: none; }
  .is-scroll-carousel .ai-opportunity,
  .is-scroll-carousel .ai-opportunity.is-active,
  .is-scroll-carousel .ai-opportunity.is-stacked { transition: none; transform: none; }
}

/* Proceso de integración: imagen interactiva a la izquierda y pasos a la derecha. */
.ai-process-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.ai-process-visual { min-width: 0; }
.ai-process-robot-scene {
  min-height: 620px;
  background: #0a1524;
  transform: perspective(1200px) rotateY(var(--tilt-y, 0deg)) rotateX(var(--tilt-x, 0deg));
  transition: transform 220ms ease-out;
}
.ai-process-robot-scene::before {
  inset: 12% 9%;
  background: radial-gradient(ellipse, rgb(86 148 221 / 20%), rgb(39 84 135 / 8%) 48%, transparent 76%);
}
.ai-process-robot-scene img {
  object-position: center 43%;
  transform: translateZ(22px);
  transition: none;
}
.ai-process-content { min-width: 0; }
.ai-process-content .ai-section-heading { margin-bottom: 30px; }
.ai-process-content .ai-process-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ai-process-content .ai-process-step { min-height: 235px; }
@media (max-width: 900px) {
  .ai-process-layout { grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr); gap: 24px; }
  .ai-process-robot-scene { min-height: 560px; }
  .ai-process-content .ai-process-step { min-height: 250px; padding: 20px 16px; }
}
@media (max-width: 760px) {
  .ai-process-layout { grid-template-columns: 1fr; gap: 28px; }
  .ai-process-robot-scene { min-height: 0; height: clamp(280px, 66vw, 420px); }
  .ai-process-content .ai-section-heading { margin-bottom: 22px; }
}
@media (max-width: 520px) {
  .ai-process-content .ai-process-list { grid-template-columns: 1fr; }
  .ai-process-content .ai-process-step { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-process-robot-scene { transform: none; transition: none; }
}

/* Escala tipográfica común aplicada a todas las páginas del sitio. */
:root {
  --type-body: 16px;
  --type-card-copy: 15px;
  --type-ui: 14px;
  --type-meta: 12px;
  --type-card-title: clamp(20px, 1.8vw, 24px);
  --type-section-title: clamp(36px, 4.5vw, 56px);
}
body { font-size: var(--type-body); }
main p:not(:where([class*="kicker"], [class*="eyebrow"], .hero-lede, .page-lead, .ai-hero-lede, .contact-description, .contact-note)) {
  font-size: var(--type-body) !important;
  line-height: 1.65 !important;
}
main :is(.hero-lede, .ai-hero-lede, .contact-description, .integrations-description, .section-heading > p, .section-intro > p:last-child, .service-section-heading > p, .ai-section-heading > p:last-child) {
  font-size: 16px !important;
  line-height: 1.65 !important;
}
main .page-lead { font-size: clamp(16px, 1.35vw, 18px) !important; line-height: 1.7 !important; }
main p[class*="kicker"], main p[class*="eyebrow"], main .contact-note {
  font-size: var(--type-meta) !important;
  line-height: 1.5 !important;
}
main :is(article p, [class*="card"] p, .service-card p, .solution-card p, .help-solution-card p, .product-feature p, .product-visual-card p, .service-process-step p, .ecom-need p, .ecom-option p, .ecom-process-step p, .ecom-investment-item p, .ecom-tech-card p, .design-scope-card p, .design-value-card p, .design-guidance-card p, .design-related-card p, .development-stack-card p, .ai-opportunity p, .ai-process-step p, .digital-pillar p, .history-copy > p, .history-value p, .case-slide-copy p, .case-marquee-caption p, .solution-link-card p) {
  font-size: var(--type-card-copy) !important;
  line-height: 1.6 !important;
}
main :is(.section-heading h2, .section-intro h2, .page-section h2, .ai-section-heading h2, .service-section-heading h2, .integrations-content h2, .success-heading h2, .contact-cta h2) {
  font-size: var(--type-section-title) !important;
  line-height: 1.08 !important;
}
main :is(article h3, [class*="card"] h3, [class*="card"] h4, .service-card h3, .solution-card h3, .help-solution-card h3, .product-feature h3, .product-visual-card h3, .service-process-step h3, .ecom-need h3, .ecom-option h3, .ecom-process-step h3, .ecom-investment-item h3, .ecom-tech-card h3, .design-scope-card h3, .design-value-card h3, .design-guidance-card h3, .design-related-card h3, .development-stack-card h3, .ai-process-step h3, .digital-pillar h3, .history-copy h3, .history-value h3, .service-content-card h3, .feature-card h3) {
  font-size: var(--type-card-title) !important;
  line-height: 1.2 !important;
}
main .service-card-ai h3 { font-size: clamp(26px, 2.8vw, 34px) !important; }
main .case-marquee-caption strong { font-size: 16px !important; }
main .case-marquee-card small { font-size: 11px !important; }
main :is(.card-index, .service-card-number, .feature-index, .solution-card-top, .product-visual-card small, .product-section-kicker, .story-card-category) { font-size: 12px !important; }
main [class*="card"] li { font-size: 15px !important; line-height: 1.55; }
main [class*="card"] small,
main :is(.contact-direct a span, .form-heading span, .photo-credit, .design-image-caption span, .design-film-frame figcaption span, .design-project-meta small, .design-work-card small, .design-guidance-card > span, .design-scope-card > span, .design-related-card > span, .ecom-option > span, .ecom-tech-type) { font-size: 12px !important; }
main :is(.card-link, .solution-card-link, .help-solution-link, .page-button, .service-button, .button-primary, .button-secondary, .contact-cta-link, .design-text-link, .product-feature a) {
  font-size: var(--type-ui) !important;
}
main a { font-size: var(--type-ui) !important; }
main :is(.menu-demo-panel a, .product-console a, .console-window a) { font-size: 12px !important; }

.site-header .header-utility-inner { font-size: 12px; }
.site-header .nav-trigger,
.site-header .nav-link { font-size: var(--type-ui); }
.site-header .nav-contact { font-size: var(--type-ui); }
.nav-panel-intro > span { font-size: 11px; }
.nav-panel-intro strong { font-size: clamp(18px, 1.6vw, 21px); }
.nav-panel-intro p { font-size: 13px; }
.nav-panel-all { font-size: 13px !important; }
.nav-panel-links a { font-size: var(--type-ui); }
.nav-panel-links b { font-size: var(--type-ui); }
.nav-panel-links small { font-size: var(--type-meta); }
.nav-panel-links em { font-size: 11px; }

.site-footer p { font-size: 15px !important; line-height: 1.65; }
.footer-column h2 { font-size: 12px; }
.site-footer a { font-size: 13px !important; }
.footer-bottom { font-size: 12px; }
.contact-form label:not(.form-consent) { font-size: 12px !important; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { font-size: 14px !important; }
.form-consent, .form-status { font-size: 12px !important; }
.product-scope-note { font-size: 15px !important; }
main .ecom-option li,
main .design-scope-card li { font-size: 15px !important; }

@media (max-width: 760px) {
  main p:not(:where([class*="kicker"], [class*="eyebrow"], .hero-lede, .page-lead, .ai-hero-lede, .contact-description, .contact-note)) {
    font-size: 15px !important;
  }
  main :is(.hero-lede, .ai-hero-lede, .contact-description, .integrations-description, .section-heading > p, .section-intro > p:last-child, .service-section-heading > p, .ai-section-heading > p:last-child) {
    font-size: 15px !important;
  }
  main .page-lead { font-size: 16px !important; }
  main :is(.section-heading h2, .section-intro h2, .page-section h2, .ai-section-heading h2, .service-section-heading h2, .integrations-content h2, .success-heading h2, .contact-cta h2) {
    font-size: clamp(32px, 8vw, 44px) !important;
  }
  main :is(article p, .service-card p, .solution-card p, .help-solution-card p, .product-feature p, .service-process-step p, .design-value-card p, .design-guidance-card p, .design-related-card p, .development-stack-card p, .ai-opportunity p, .ai-process-step p, .digital-pillar p, .history-copy > p, .history-value p, .case-slide-copy p, .case-marquee-caption p, .solution-link-card p) {
    font-size: 15px !important;
  }
}

/* Portada: misma escala y márgenes de contenido que el hero de IA aplicada.
   Se conserva el vídeo y su recorrido de zoom sincronizado con el scroll. */
.hero:not(.is-motion-reduced) .hero-stage,
.hero.is-motion-reduced .hero-stage {
  padding: 160px 0 66px;
}
.hero .hero-content.container {
  width: min(1160px, calc(100% - 64px));
  max-width: 1160px;
  margin-inline: auto;
}
.hero .hero-eyebrow {
  margin-bottom: 24px;
  color: #98c6ff;
}
.hero .hero-eyebrow span {
  background: #62d3c0;
  box-shadow: 0 0 0 5px rgb(98 211 192 / 13%), 0 0 18px rgb(98 211 192 / 52%);
}
.hero h1 {
  max-width: 1160px;
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  letter-spacing: -.075em;
  line-height: .99;
  text-wrap: balance;
}
.hero-title-base {
  margin-bottom: 0;
  color: #fff;
}
.hero-title-rotate {
  min-height: 1.08em;
  color: #91baff;
  font-size: clamp(14px, calc(5vw - 3px), 48px);
  line-height: .99;
  white-space: nowrap;
}
.hero-lede {
  width: min(620px, 100%);
  margin-top: 25px;
  color: #d0deed;
  line-height: 1.7;
  text-shadow: none;
}
.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 1100px) {
  .hero:not(.is-motion-reduced) .hero-stage,
  .hero.is-motion-reduced .hero-stage { padding-block: 144px 58px; }
}
@media (max-width: 760px) {
  .hero:not(.is-motion-reduced) .hero-stage,
  .hero.is-motion-reduced .hero-stage { padding: 112px 0 38px; }
  .hero .hero-content.container { width: calc(100% - 40px); }
  .hero h1 { font-size: clamp(43px, 10vw, 68px); }
  .hero-title-rotate { min-height: 1.08em; }
  .hero-actions { margin-top: 28px; }
}
@media (max-width: 520px) {
  .hero:not(.is-motion-reduced) .hero-stage,
  .hero.is-motion-reduced .hero-stage { padding-top: 96px; }
  .hero .hero-content.container { width: calc(100% - 34px); }
  .hero .hero-eyebrow { margin-bottom: 20px; font-size: 10px; }
}

/* En móvil, reservar filas reales para la imagen y la tarjeta activa del carrusel IA. */
@media (max-width: 760px) {
  body.ai-page main .ai-opportunity-stage .ai-section-heading { margin-bottom: 10px; }
  body.ai-page main .ai-opportunity-stage .ai-section-heading h2 {
    font-size: clamp(28px, 7vw, 34px) !important;
    line-height: 1.04 !important;
  }
  body.ai-page main .ai-opportunity-stage .ai-section-heading > p:last-child {
    margin-top: 6px;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  body.ai-page main .ai-opportunity {
    padding: 13px;
  }
  body.ai-page main .ai-opportunity h3 {
    margin-bottom: 7px;
    font-size: 17px !important;
    line-height: 1.2 !important;
  }
  body.ai-page main .ai-opportunity p {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
}

/* Megamenús centrados: se abren al pasar el ratón, al enfocar o al hacer clic. */
@media (min-width: 1101px) {
  .site-header .header-inner { position: relative; }
  .site-header .main-nav > .nav-group { position: static; }
  .site-header .nav-panel.nav-panel-services,
  .site-header .nav-panel.nav-panel-solutions {
    top: 100%;
    left: 50%;
    right: auto;
    width: min(920px, calc(100vw - 48px)) !important;
    max-width: calc(100vw - 48px);
    margin: 0;
    z-index: 40;
    transform: translate(-50%, 10px) scale(.985);
    transform-origin: top center;
  }
  .site-header .main-nav > .nav-group:not(.is-open):not(:hover):not(:focus-within) > .nav-panel {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .site-header .main-nav > .nav-group:is(.is-open, :hover, :focus-within) > .nav-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) scale(1);
  }
}

@media (max-width: 1100px) {
  .site-header .main-nav { overflow-y: auto; overscroll-behavior: contain; }
  .site-header .main-nav > .nav-group { position: relative; flex: 0 0 auto; }
  .site-header .main-nav > .nav-group:not(.is-open) > .nav-panel {
    max-height: 0 !important;
    padding-block: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .site-header .main-nav > .nav-group.is-open > .nav-panel {
    max-height: 420px !important;
    padding: 5px 0 12px 10px !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Posibilidades reales: icono protagonista y contenido alineado al centro. */
.ai-page main .ai-opportunity {
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 38px);
  text-align: center;
}
.ai-page main .ai-opportunity > span { align-self: center; margin-bottom: 14px; }
.ai-page main .ai-opportunity .ai-opportunity-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  margin: 0 auto 24px;
  border-radius: 19px;
}
.ai-page main .ai-opportunity-icon svg { width: 34px; height: 34px; }
.ai-page main .ai-opportunity h3 { max-width: 540px; margin: 0 auto 13px; }
.ai-page main .ai-opportunity p { max-width: 570px; margin-inline: auto; }
@media (max-width: 760px) {
  body.ai-page main .ai-opportunity { padding: 18px 16px; }
  body.ai-page main .ai-opportunity .ai-opportunity-icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    margin: 0 auto 16px;
  }
  body.ai-page main .ai-opportunity-icon svg { width: 29px; height: 29px; }
  body.ai-page main .ai-opportunity h3 { margin-bottom: 9px; }
}

/* Centrado compartido del menú: misma distribución que Digitalización. */
@media (min-width: 1101px) {
  .site-header .header-inner {
    grid-template-columns: minmax(160px, 1fr) auto minmax(120px, 1fr);
    gap: clamp(16px, 2vw, 30px);
  }
  .site-header .main-nav {
    gap: clamp(15px, 2vw, 30px);
  }
}

