* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #1a212c;
  color: #eaf0f6;
  font-family: 'IBM Plex Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: #303880;
  text-decoration: none;
}

a:hover {
  color: #5a63b8;
}

::selection {
  background: #303880;
  color: #fff;
}

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

@keyframes pulseGlow {

  0%,
  100% {
    opacity: .45;
  }

  50% {
    opacity: .85;
  }
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    transform: translateY(18px);
    opacity: 0;
  }
}

@keyframes configIn {
  0% {
    opacity: 0;
    transform: translateX(48px) scale(.92);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

[data-magnetic] {
  will-change: transform;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal].revealed {
  transition: opacity 1.15s cubic-bezier(.22, .61, .36, 1), transform 1.15s cubic-bezier(.22, .61, .36, 1);
  opacity: 1;
  transform: none;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 1100px;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .3em;
  color: #303880;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow-dark {
  color: #8189d8;
}

.h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0;
  color: #131a24;
}

.h2-light {
  color: #eaf0f6;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  padding: 15px 28px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, background .35s ease, border-color .35s ease;
}

.btn-solid {
  color: #fff;
  background: #303880;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 40px -12px rgba(48, 56, 128, .9);
}

.btn-solid:hover {
  color: #fff;
  background: #3a44a0;
  transform: translateY(-2px);
  box-shadow: 0 18px 50px -14px rgba(48, 56, 128, 1);
}

.btn-outline {
  color: #303880;
  border: 1px solid rgba(48, 56, 128, .4);
}

.btn-outline:hover {
  border-color: #303880;
  background: rgba(48, 56, 128, .06);
  transform: translateY(-2px);
}

/* NAV */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  transition: background .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  background: rgba(26, 33, 44, 0);
}

#nav.scrolled {
  background: rgba(26, 33, 44, .6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: rgba(255, 255, 255, .08);
  padding: 13px 40px;
}

/* Sobre secciones de fondo claro el nav mantiene el blur pero invierte el texto. */
#nav.on-light.scrolled {
  background: rgba(238, 241, 244, .62);
  border-bottom-color: rgba(20, 40, 80, .1);
}

#nav.on-light .brand {
  color: #131a24;
}

#nav.on-light .brand-tag {
  color: #5a6675;
}

#nav.on-light .brand-logo {
  filter: drop-shadow(0 2px 8px rgba(20, 40, 80, .18));
}

#nav.on-light .nav-links a {
  color: #3a4658;
}

#nav.on-light .nav-links a:hover {
  color: #303880;
}

#nav.on-light .lang-switch {
  border-color: rgba(20, 40, 80, .18);
  background: rgba(255, 255, 255, .5);
}

#nav.on-light .lang-btn {
  color: #55606c;
}

#nav.on-light .lang-btn.active {
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #eaf0f6;
  transition: color .35s ease;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo {
  height: 26px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35));
}

.brand-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .28em;
  color: #7f8fa1;
  text-transform: uppercase;
  transition: color .35s ease;
}

#nav .brand-tag {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 13.5px;
  letter-spacing: .02em;
  color: #c3ccd6;
  transition: color .35s ease;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, .03);
  transition: background .35s ease, border-color .35s ease;
}

.lang-btn {
  border: none;
  background: transparent;
  color: #8695a6;
  transition: color .35s ease;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
}

.lang-btn.active {
  background: #303880;
  color: #fff;
  font-weight: 600;
}

#nav .btn-pill {
  padding: 10px 18px;
  font-size: 13px;
  box-shadow: 0 6px 24px -8px rgba(48, 56, 128, .8);
}

#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #303880, #303880);
  z-index: 101;
  box-shadow: 0 0 14px rgba(48, 56, 128, .85);
}

.scroll-hint {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: opacity .4s ease;
}

.scroll-pill {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(20, 40, 80, .3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  box-sizing: border-box;
}

.scroll-pill-dark {
  border-color: rgba(129, 137, 216, .65);
  box-shadow: 0 0 22px rgba(48, 56, 128, .7);
  animation: pulseGlow 2.6s ease-in-out infinite;
}

.scroll-dot {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: #303880;
  animation: scrollDot 1.8s ease-in-out infinite;
}

.scroll-dot-dark {
  background: #8189d8;
  box-shadow: 0 0 10px #303880;
}

.scroll-hint span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: .28em;
  color: #6b7684;
  text-transform: uppercase;
}

.scroll-hint-light span {
  color: #8189d8;
  text-shadow: 0 0 16px rgba(48, 56, 128, .8);
}

/* INTRO */
#intro {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #141a24;
}

#intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 108%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}

.intro-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 12, 18, .32) 0%, rgba(8, 12, 18, .10) 38%, rgba(8, 12, 18, .9) 100%);
  pointer-events: none;
}

.intro-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120% 85% at 50% 32%, transparent 45%, rgba(8, 12, 18, .5) 100%);
  pointer-events: none;
}

.intro-copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 14vh;
  transform: translateX(-50%);
  text-align: center;
  padding: 0 40px;
  width: 100%;
}

.intro-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 60px);
  letter-spacing: -.02em;
  line-height: 1;
  color: #f2f6fb;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .5);
}

.intro-tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .3em;
  color: #9db6d4;
  text-transform: uppercase;
  margin-top: 18px;
}

.intro-note {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: 40px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .24em;
  color: rgba(255, 255, 255, .45);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.intro-note .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #303880;
  box-shadow: 0 0 10px #303880;
}

/* HERO */
#top {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 60px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #dfe6ee 0%, #eef1f4 42%, #eef1f4 100%);
  overflow: hidden;
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#spot {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 56, 128, .16), transparent 65%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  z-index: 1;
  pointer-events: none;
  transition: opacity .6s ease;
  opacity: 0;
}

#hero-glow {
  position: absolute;
  top: 8%;
  right: 6%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 56, 128, .16), transparent 68%);
  filter: blur(20px);
  animation: pulseGlow 7s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: .34em;
  color: #303880;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 116px);
  line-height: .94;
  letter-spacing: -.03em;
  margin: 0;
  max-width: 14ch;
}

.hero-title .line {
  display: block;
}

.line-a {
  color: #131a24;
}

.line-b {
  color: #303880;
}

.hero-sub {
  max-width: 60ch;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: #55606c;
  margin: 32px 0 40px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* MANIFESTO */
.manifesto {
  position: relative;
  padding: clamp(90px, 14vh, 180px) 40px;
  background: #eef1f4;
}

.manifesto-body {
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 50px);
  line-height: 1.24;
  letter-spacing: -.02em;
  margin: 0;
  color: #1a2430;
  max-width: 22ch;
}

.manifesto-body .word {
  display: inline-block;
  opacity: .1;
  transform: translateY(10px);
  transition: opacity .5s cubic-bezier(.22, .61, .36, 1), transform .5s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}

.manifesto-body .word.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* SHOWCASE */
#showcase {
  position: relative;
  background: linear-gradient(180deg, #eef1f4 0%, #e3e9f0 52%, #eef1f4 100%);
  min-height: 280vh;
}

.showcase-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.glow-a {
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(48, 56, 128, .16), transparent 66%);
  filter: blur(30px);
  top: -14%;
  left: -10%;
}

.glow-b {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(48, 56, 128, .10), transparent 68%);
  filter: blur(30px);
  bottom: -12%;
  right: -6%;
}

.glow-specs {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(48, 56, 128, .16), transparent 66%);
  filter: blur(30px);
  top: -16%;
  right: -10%;
}

.glow-stats {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 50% 0%, rgba(48, 56, 128, .16), transparent 70%);
  pointer-events: none;
  border-radius: 0;
}

.glow-catalog {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(48, 56, 128, .2), transparent 66%);
  filter: blur(30px);
  top: -20%;
  left: -6%;
}

.showcase-head {
  position: absolute;
  z-index: 1;
  text-align: center;
  padding: 0 40px;
  will-change: opacity, transform;
}

.showcase-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -.03em;
  color: #303880;
  margin: 0 auto;
  max-width: 15ch;
}

#showcase-img {
  position: relative;
  z-index: 2;
  width: min(78%, 880px);
  max-height: 80vh;
  object-fit: contain;
  filter: drop-shadow(0 40px 70px rgba(20, 40, 80, .28));
  will-change: transform, opacity, filter;
}

.callout {
  position: absolute;
  z-index: 3;
  opacity: 0;
  will-change: opacity, transform;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 24px 60px -24px rgba(20, 40, 80, .28);
  animation: floatCard 7s ease-in-out infinite;
}

.callout-0 {
  top: 20%;
  left: 9%;
}

.callout-1 {
  top: 42%;
  right: 8%;
  animation-duration: 8s;
  animation-delay: .6s;
}

.callout-2 {
  bottom: 16%;
  left: 14%;
  animation-duration: 7.5s;
  animation-delay: .3s;
}

.callout-t {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.01em;
  color: #131a24;
}

.callout-d {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .2em;
  color: #303880;
  text-transform: uppercase;
  margin-top: 6px;
}

/* BENEFITS */
.benefits {
  position: relative;
  padding: clamp(70px, 10vh, 120px) 40px;
  background: #eef1f4;
  color: #0d141d;
}

.benefits-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.benefits-intro {
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.6;
  color: #55606c;
  margin: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: #d5dce3;
  border: 1px solid #d5dce3;
  border-radius: 18px;
  overflow: hidden;
}

.benefit-card {
  background: #f7f9fb;
  padding: 38px 32px 44px;
}

.benefit-no {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #303880;
  margin-bottom: 26px;
}

.benefit-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 14px;
}

.benefit-body {
  font-size: 14.5px;
  line-height: 1.62;
  color: #55606c;
  margin: 0;
}

.benefit-bullets {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-bullets li {
  font-size: 13.5px;
  line-height: 1.5;
  color: #3a4658;
  padding-left: 18px;
  position: relative;
}

.benefit-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #303880;
}

/* MARQUEE */
.marquee-wrap {
  background: #eef1f4;
  border-top: 1px solid rgba(20, 40, 80, .08);
  border-bottom: 1px solid rgba(20, 40, 80, .08);
  overflow: hidden;
  padding: 22px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.marquee-set {
  display: flex;
  align-items: center;
  gap: 38px;
  padding-right: 38px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  letter-spacing: .16em;
  color: #5a6675;
  text-transform: uppercase;
  white-space: nowrap;
}

.dot-sep {
  color: #303880;
}

/* PROCESO */
#proceso {
  position: relative;
  background: #1a212c;
  min-height: 340vh;
}

.process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  overflow: hidden;
}

.process-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 20% 50%, #1d3149 0%, #303880 60%);
  pointer-events: none;
}

.process-sticky .section-inner {
  position: relative;
  width: 100%;
}

.process-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 54px;
  flex-wrap: wrap;
}

.process-counter {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #7f93a8;
  letter-spacing: .1em;
}

.process-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.process-step {
  will-change: opacity, transform;
}

.process-no {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(80px, 14vw, 190px);
  line-height: .8;
  letter-spacing: -.04em;
  color: #a8b6d4;
}

.process-step-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -.02em;
  margin: 18px 0;
}

.process-step-body {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.62;
  color: #fff;
  font-weight: 300;
  max-width: 44ch;
  margin: 0;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.process-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  transition: opacity .4s ease;
  opacity: .38;
}

.process-row.active {
  opacity: 1;
}

.process-bar {
  width: 3px;
  align-self: stretch;
  border-radius: 2px;
  transition: background .4s ease, box-shadow .4s ease;
  background: rgba(255, 255, 255, .12);
}

.process-row.active .process-bar {
  background: #8189d8;
  box-shadow: 0 0 18px rgba(129, 137, 216, .8);
}

.process-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  width: 28px;
  flex-shrink: 0;
  color: #5b6b7d;
}

.process-row.active .process-num {
  color: #8189d8;
}

.process-title-sm {
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: clamp(17px, 1.7vw, 22px);
  color: #8695a6;
  transition: color .4s ease;
}

.process-row.active .process-title-sm {
  color: #eaf0f6;
}

.process-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* CONFIGURACIONES */
#configuraciones {
  position: relative;
  background: linear-gradient(180deg, #eef1f4, #e3e9f0);
  /* Un viewport de scroll por configuración: las tabs avanzan solas. */
  min-height: 300vh;
}

.configs-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 11vh, 130px) 40px;
  box-sizing: border-box;
}

.configs-head {
  text-align: center;
  margin-bottom: 52px;
}

.configs-head .h2 {
  margin: 0 auto;
  max-width: 18ch;
}

.config-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.config-tab {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  cursor: pointer;
  padding: 11px 20px;
  border-radius: 999px;
  transition: all .3s ease;
  background: rgba(255, 255, 255, .65);
  color: #55606c;
  border: 1px solid rgba(20, 40, 80, .14);
}

.config-tab.active {
  background: #303880;
  color: #fff;
  border-color: #303880;
  font-weight: 500;
}

.config-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, .66);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  box-shadow: 0 40px 90px -50px rgba(20, 40, 80, .4);
}

.config-body {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0;
  align-items: center;
  min-height: 440px;
}

.config-text {
  padding: clamp(36px, 4vw, 60px);
}

.config-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .24em;
  color: #303880;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.config-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing: -.02em;
  color: #131a24;
  margin: 0 0 18px;
  line-height: 1.08;
}

.config-desc {
  font-size: 16px;
  line-height: 1.64;
  color: #55606c;
  font-weight: 300;
  margin: 0 0 26px;
  max-width: 42ch;
}

.config-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.config-bullets li {
  font-size: 14.5px;
  line-height: 1.5;
  color: #3a4658;
  padding-left: 22px;
  position: relative;
}

.config-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #303880;
}

.config-visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  min-height: 340px;
}

.config-visual-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 56, 128, .32), transparent 70%);
  filter: blur(10px);
}

#config-img {
  position: relative;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6));
  animation: configIn .7s cubic-bezier(.16, 1, .3, 1) both;
}

@media (max-height: 820px) {
  .configs-head {
    margin-bottom: 30px;
  }

  .config-body {
    min-height: 360px;
  }

  #config-img {
    max-height: 300px;
  }

  .config-visual {
    min-height: 260px;
  }
}

/* ESPECIFICACIONES */
#especificaciones {
  position: relative;
  padding: clamp(80px, 12vh, 140px) 40px;
  background: #f5f5f7;
  color: #0d141d;
  overflow: hidden;
}

.specs-head {
  margin-bottom: 56px;
  width: 100%;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.spec-card {
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 20px;
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 24px 50px -34px rgba(20, 40, 80, .5);
  transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
}

.spec-card:hover {
  background: #303880;
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(48, 56, 128, .85);
}

.spec-k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  color: #303880;
  transition: color .35s ease;
}

.spec-v {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.01em;
  line-height: 1.2;
  transition: color .35s ease;
}

.spec-d {
  font-size: 13.5px;
  line-height: 1.55;
  color: #55606c;
  transition: color .35s ease;
}

.spec-card:hover .spec-k {
  color: #b9c0f5;
}

.spec-card:hover .spec-v,
.spec-card:hover .spec-d {
  color: #fff;
}

/* STATS */
.stats-band {
  position: relative;
  padding: clamp(70px, 10vh, 110px) 40px;
  background: #eef1f4;
  overflow: hidden;
}

.stats-grid {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-value {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: -.03em;
  color: #303880;
  line-height: 1;
  opacity: 0;
  transition: opacity .9s ease;
}

.stat-value.counting {
  opacity: 1;
}

.stat-label {
  font-size: 14.5px;
  color: #55606c;
  margin-top: 14px;
  letter-spacing: .01em;
}

/* CATALOGO */
#catalogo {
  position: relative;
  padding: clamp(80px, 12vh, 150px) 40px;
  background: #eef1f4;
  overflow: hidden;
}

#catalogo .section-inner {
  max-width: 1120px;
}

.catalog-panel {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 26px;
  padding: clamp(34px, 4vw, 60px);
  background: rgba(255, 255, 255, .66);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  box-shadow: 0 40px 100px -60px rgba(20, 40, 80, .45);
}

.catalog-body {
  font-size: 16px;
  line-height: 1.64;
  color: #55606c;
  font-weight: 300;
  margin: 0 0 32px;
  max-width: 44ch;
}

.catalog-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.catalog-mock-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-mock-glow {
  position: absolute;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 56, 128, .3), transparent 68%);
  filter: blur(14px);
}

.catalog-mock {
  position: relative;
  width: min(260px, 80%);
  /* Proporción real de la portada (594x842, A4). */
  aspect-ratio: 594 / 842;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f7fa;
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .8);
  transform: rotate(-4deg);
  animation: floatCard 8s ease-in-out infinite;
}

.catalog-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTACTO */
#contacto {
  position: relative;
  padding: clamp(90px, 13vh, 160px) 40px;
  background: #eef1f4;
}

.contact-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-body {
  font-size: 16.5px;
  line-height: 1.64;
  color: #55606c;
  font-weight: 300;
  margin: 0 0 36px;
  max-width: 40ch;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #131a24;
  font-size: 15px;
}

.contact-links .ic {
  font-family: 'IBM Plex Mono', monospace;
  color: #303880;
}

.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #55606c;
  font-size: 14px;
  max-width: 34ch;
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(20, 40, 80, .1);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 44px);
  box-shadow: 0 30px 70px -44px rgba(20, 40, 80, .4);
}

.contact-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  gap: 18px;
}

.contact-thanks[hidden],
.catalog-thanks[hidden],
.site-form[hidden] {
  display: none;
}

.thanks-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(48, 56, 128, .5);
  background: rgba(48, 56, 128, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #303880;
}

.contact-thanks h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin: 0;
}

.contact-thanks p {
  color: #55606c;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 32ch;
}

.site-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field,
.field-row .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-row {
  display: flex;
  gap: 14px;
}

.field-row .field {
  flex: 1;
}

.site-form label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .16em;
  color: #5a6675;
  text-transform: uppercase;
}

.site-form input:not([type="checkbox"]),
.site-form textarea {
  background: #f2f4f7;
  border: 1px solid rgba(20, 40, 80, .16);
  border-radius: 10px;
  padding: 13px 15px;
  color: #131a24;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.site-form input:focus,
.site-form textarea:focus {
  border-color: #303880;
}

.site-form textarea {
  resize: vertical;
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.site-form .field-check {
  font-family: 'IBM Plex Sans', sans-serif;
  text-transform: none;
  letter-spacing: normal;
  font-size: 13.5px;
  line-height: 1.5;
  color: #55606c;
  cursor: pointer;
}

.field-check input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #303880;
  cursor: pointer;
}

.site-form button {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: #303880;
  padding: 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 12px 40px -14px rgba(48, 56, 128, .9);
}

.site-form button:hover {
  background: #3a44a0;
}

.site-form button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Se oculta la insignia flotante de Google: en su lugar cada formulario lleva
   el aviso de atribución que exigen sus condiciones de uso. */
.grecaptcha-badge {
  visibility: hidden;
}

.form-recaptcha {
  margin: 2px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #7b8795;
  text-align: center;
}

.form-recaptcha a {
  color: #55606c;
  border-bottom: 1px solid rgba(85, 96, 108, .3);
}

.form-recaptcha a:hover {
  color: #303880;
  border-bottom-color: #303880;
}

.form-error {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #b3261e;
  background: rgba(179, 38, 30, .08);
  border: 1px solid rgba(179, 38, 30, .25);
  border-radius: 8px;
  padding: 10px 14px;
}

.form-error[hidden] {
  display: none;
}

/* FOOTER */
footer {
  background: #141a24;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 56px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  height: 22px;
}

/* Filetes finos para separar marca / legal / copyright. */
.footer-legal {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.footer-legal a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #8695a6;
}

.footer-legal a:hover {
  color: #8189d8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.footer-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: #5b6b7d;
  letter-spacing: .06em;
}

.footer-credit {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #5b6b7d;
}

.footer-credit a {
  color: #8695a6;
  border-bottom: 1px solid rgba(134, 149, 166, .35);
  padding-bottom: 1px;
}

.footer-credit a:hover {
  color: #8189d8;
  border-bottom-color: #8189d8;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #c3ccd6;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 9px 18px;
  white-space: nowrap;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}

.footer-linkedin:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .06);
}

/* El selector de variación fuerza la flecha como texto: en Safari de iOS
   se renderizaba como emoji dentro de un recuadro. */
.footer-linkedin-ic {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  line-height: 1;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  #nav {
    padding: 16px 20px;
    gap: 12px;
  }

  #nav.scrolled {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
  }

  /* Sin el menú, la coletilla del logo sólo estorba: se solapaba con ES/EN. */
  #nav .brand-tag {
    display: none;
  }

  /* Evita que el logotipo se comprima a lo ancho si el nav va justo de sitio. */
  .brand-logo {
    object-fit: contain;
  }

  /* En móvil las tarjetas de beneficios salen directamente, sin fundido ni
     desplazamiento: el escalonado se hacía largo en una sola columna. */
  .benefit-inner[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-right {
    gap: 12px;
  }

  #nav .btn-pill {
    padding: 12px 18px;
    font-size: 14px;
  }

  .intro-note {
    top: 74px;
    right: 20px;
    left: 20px;
    justify-content: flex-end;
    text-align: right;
  }

  .intro-note span:not(.dot) {
    white-space: normal;
    max-width: 60vw;
  }

  #configuraciones {
    min-height: 0;
  }

  .configs-sticky {
    position: static;
    min-height: 0;
    padding: clamp(90px, 13vh, 160px) 20px;
  }

  #top,
  .manifesto,
  .benefits,
  #especificaciones,
  .stats-band,
  #catalogo,
  #contacto {
    padding-left: 20px;
    padding-right: 20px;
  }

  #intro .intro-copy {
    padding: 0 20px;
  }

  .process-sticky {
    padding: 112px 20px 92px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-head {
    margin-bottom: 34px;
  }

  .process-no {
    font-size: clamp(56px, 16vw, 84px);
  }

  .process-step-title {
    font-size: clamp(22px, 5.6vw, 30px);
    margin: 12px 0;
  }

  .process-step-body {
    font-size: 15px;
  }

  .process-row {
    padding: 11px 0;
  }

  .process-title-sm {
    font-size: 16px;
  }

  /* Tira de tabs fija bajo el nav: se ve siempre qué pestaña manda sobre el panel
     y se puede cambiar sin perder de vista el contenido. */
  .config-tabs {
    position: sticky;
    top: var(--nav-h, 64px);
    z-index: 6;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 8px;
    margin: 0 -20px 18px;
    padding: 12px 20px;
    background: rgba(238, 241, 244, .92);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
  }

  .config-tabs::-webkit-scrollbar {
    display: none;
  }

  .config-tab {
    flex: 0 0 auto;
    font-size: 12.5px;
    padding: 9px 13px;
    scroll-snap-align: center;
  }

  .config-tabs {
    gap: 6px;
  }

  .config-tab.active {
    box-shadow: 0 8px 22px -10px rgba(48, 56, 128, .9);
  }

  .configs-head {
    margin-bottom: 34px;
  }

  .config-body {
    grid-template-columns: 1fr;
  }

  /* La imagen primero: así al cambiar de tab se ve el cambio sin bajar. */
  .config-visual {
    min-height: 220px;
    order: -1;
    padding: 22px 22px 0;
  }

  #config-img {
    max-height: 210px;
  }

  .config-text {
    padding: 26px 24px 34px;
  }

  .catalog-panel {
    grid-template-columns: 1fr;
  }

  .catalog-mock-wrap {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .field-row {
    flex-direction: column;
  }

  .callout {
    padding: 12px 16px;
  }

  .callout-t {
    font-size: 15px;
  }

  footer {
    padding: 44px 20px 34px;
    gap: 26px;
  }

  .footer-top {
    align-items: flex-start;
    gap: 22px;
  }

  .footer-legal {
    gap: 14px 22px;
    padding-top: 24px;
  }

  .footer-bottom {
    padding-top: 22px;
  }
}

@media (max-width: 560px) {
  .hero-title {
    max-width: 100%;
  }

  /* EL EQUIPO en vertical: se mantiene la coreografía del escritorio
     (titular centrado -> equipo centrado -> carteles) con medidas de móvil.
     Antes los carteles pasaban a flujo estático y todo caía descolocado. */
  #showcase {
    min-height: 320vh;
  }

  .showcase-head {
    padding: 0 24px;
  }

  .showcase-title {
    font-size: clamp(30px, 8.6vw, 46px);
    max-width: 13ch;
  }

  #showcase-img {
    width: min(94%, 460px);
    max-height: 44vh;
  }

  .callout {
    padding: 11px 15px;
    border-radius: 14px;
    max-width: 62vw;
  }

  .callout-t {
    font-size: 14.5px;
  }

  .callout-d {
    font-size: 9.5px;
    letter-spacing: .16em;
    margin-top: 4px;
  }

  .callout-0 {
    top: 23%;
    left: 4%;
    right: auto;
    bottom: auto;
  }

  .callout-1 {
    top: auto;
    bottom: 19%;
    right: 4%;
    left: auto;
  }

  .callout-2 {
    top: auto;
    bottom: 5%;
    left: 6%;
    right: auto;
  }
}

/* ---------- modal (catálogo) ---------- */

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 16, 24, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modalFade .28s ease both;
}

.modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #ffffff;
  color: #131a24;
  border: 1px solid rgba(20, 40, 80, .1);
  border-radius: 20px;
  padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 40px 90px -40px rgba(11, 16, 24, .7);
  animation: modalRise .34s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes modalFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(20, 40, 80, .14);
  background: #f2f4f7;
  color: #55606c;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #e6eaf0;
  color: #131a24;
}

.modal-head {
  margin-bottom: 22px;
  padding-right: 34px;
}

.modal-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.2;
  margin: 10px 0 10px;
}

.modal-sub {
  color: #55606c;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.catalog-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 14px 0 6px;
}

.catalog-thanks h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0;
}

.catalog-thanks p {
  color: #55606c;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 34ch;
}

.catalog-thanks .btn-pill {
  margin-top: 4px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .modal {
    padding: 14px;
  }

  .modal-dialog {
    padding: 26px 20px;
    max-height: calc(100vh - 28px);
  }
}

button.btn-pill {
  font-family: 'IBM Plex Sans', sans-serif;
  cursor: pointer;
}