/* ============================================================
   RECOVERY MODE — Estilos
   ============================================================ */

:root {
  /* Paleta */
  --navy: #081B3A;
  --navy-2: #0B2452;
  --navy-soft: #0e2a5e;
  --blue: #4A6FFF;
  --blue-light: #7C9BFF;
  --blue-pale: #EEF3FF;
  --blue-pale-2: #E4ECFF;
  --violet: #8B6CFF;
  --white: #FFFFFF;
  --gray-50: #F7F9FC;
  --gray-100: #EFF2F7;
  --gray-200: #E2E8F2;
  --gray-400: #9AA6BC;
  --gray-500: #6B7891;
  --ink: #0E1A2F;
  --ink-soft: #43506A;

  --grad-blue: linear-gradient(135deg, #4A6FFF 0%, #6E5BFF 100%);
  --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(74,111,255,.35), transparent 60%),
               linear-gradient(160deg, #081B3A 0%, #0B2452 60%, #0a1f48 100%);
  --grad-cta: linear-gradient(135deg, #081B3A 0%, #163a86 45%, #4A6FFF 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(8, 27, 58, .06);
  --shadow: 0 18px 50px rgba(8, 27, 58, .10);
  --shadow-lg: 0 30px 80px rgba(8, 27, 58, .16);
  --shadow-blue: 0 20px 50px rgba(74, 111, 255, .30);

  --container: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand__name { font-family: 'Sora', sans-serif; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

/* ---------- Utilidades de texto ---------- */
.grad-text {
  background: linear-gradient(120deg, #7C9BFF, #4A6FFF 60%, #9c7bff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-pale); padding: 8px 16px; border-radius: 100px;
  margin-bottom: 22px;
}
.eyebrow--light { color: #BBC9FF; background: rgba(124,155,255,.12); border: 1px solid rgba(124,155,255,.2); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(74,111,255,.18); }
.eyebrow--light .eyebrow__dot { background: var(--blue-light); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .95rem; padding: 13px 24px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 26px 60px rgba(74,111,255,.42); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.nav.scrolled .btn--ghost { color: var(--ink); border-color: var(--gray-200); }
.nav.scrolled .btn--ghost:hover { background: var(--blue-pale); border-color: var(--blue); color: var(--blue); }
.btn--outline-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .3s var(--ease);
  padding: 16px 0;
}
.nav.scrolled {
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(8,27,58,.07); padding: 10px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.nav.scrolled .brand { color: var(--navy); }
.brand__mark { width: 34px; height: 34px; color: var(--blue-light); flex: none; }
.nav.scrolled .brand__mark { color: var(--blue); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__name { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
.brand__name span { color: var(--blue-light); }
.nav.scrolled .brand__name span { color: var(--blue); }

.nav__links { display: flex; gap: 30px; }
.nav__links a { color: rgba(255,255,255,.85); font-weight: 500; font-size: .95rem; position: relative; transition: color .2s; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--blue); transition: width .25s var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav.scrolled .nav__links a { color: var(--ink-soft); }
.nav.scrolled .nav__links a:hover { color: var(--navy); }

.nav__actions { display: flex; gap: 12px; align-items: center; }
.nav.scrolled .btn--ghost { color: var(--ink); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav.scrolled .nav__toggle span { background: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; background: var(--grad-hero); color: #fff;
  padding: 160px 0 70px; overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 40%, transparent 85%);
}
.hero__glow {
  position: absolute; width: 600px; height: 600px; right: -120px; top: -150px;
  background: radial-gradient(circle, rgba(110,91,255,.4), transparent 65%);
  filter: blur(30px); pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.hero__title {
  font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.08; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 22px;
}
.hero__subtitle { font-size: 1.12rem; color: rgba(232,238,255,.82); max-width: 540px; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding-top: 34px; border-top: 1px solid rgba(255,255,255,.12);
}
.stat__num { display: block; font-family: 'Sora', sans-serif; font-size: 1.65rem; font-weight: 700; color: #fff; }
.stat__num--text { font-size: 1.25rem; color: var(--blue-light); }
.stat__label { font-size: .82rem; color: rgba(232,238,255,.62); line-height: 1.35; }

/* Visual */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.shield-card {
  position: relative; width: 320px; height: 320px; display: grid; place-items: center;
}
.shield-card__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(124,155,255,.25); }
.shield-card__ring--1 { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.shield-card__ring--2 { width: 74%; height: 74%; border-style: dashed; border-color: rgba(124,155,255,.35); animation: spin 18s linear infinite reverse; }
.shield-card__core {
  width: 150px; height: 150px; display: grid; place-items: center; border-radius: 32px;
  background: linear-gradient(160deg, rgba(74,111,255,.22), rgba(110,91,255,.12));
  border: 1px solid rgba(124,155,255,.4);
  box-shadow: 0 20px 60px rgba(74,111,255,.35), inset 0 0 30px rgba(124,155,255,.12);
  backdrop-filter: blur(8px);
}
.shield-card__core svg { width: 76px; height: 76px; }

.node { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 0 6px rgba(124,155,255,.15); }
.node--1 { top: 8%; left: 16%; animation: float 4s ease-in-out infinite; }
.node--2 { top: 20%; right: 8%; animation: float 5s ease-in-out infinite .5s; }
.node--3 { bottom: 14%; left: 6%; animation: float 4.5s ease-in-out infinite 1s; }
.node--4 { bottom: 6%; right: 20%; animation: float 5.5s ease-in-out infinite .3s; }

.data-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95); color: var(--navy); font-size: .8rem; font-weight: 600;
  padding: 9px 14px; border-radius: 100px; box-shadow: var(--shadow);
}
.data-chip--top { top: 4%; right: -10px; animation: float 6s ease-in-out infinite; }
.data-chip--bottom { bottom: 6%; left: -16px; animation: float 6s ease-in-out infinite 1.2s; }
.data-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; }
.data-chip__dot--blue { background: var(--blue); }

.mini-chart {
  position: absolute; bottom: -6px; right: 0; width: 215px;
  background: rgba(255,255,255,.96); border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow-lg); color: var(--navy);
  animation: float 7s ease-in-out infinite;
}
.mini-chart__head { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; font-weight: 600; margin-bottom: 12px; }
.mini-chart__live { color: var(--blue); font-size: .68rem; }
.mini-chart__bars { display: flex; align-items: flex-end; gap: 7px; height: 56px; }
.mini-chart__bars span { flex: 1; height: var(--h); background: var(--grad-blue); border-radius: 4px; opacity: .85; }

/* ---------- Marquee bajo el hero ---------- */
.marquee {
  background: var(--grad-blue);
  overflow: hidden; position: relative;
  padding: 16px 0; white-space: nowrap;
  box-shadow: 0 12px 30px rgba(74,111,255,.25);
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #4A6FFF, transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, #6E5BFF, transparent); }
.marquee__track {
  display: inline-flex; align-items: center; gap: 26px;
  animation: marquee 32s linear infinite; will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-family: 'Sora', sans-serif; font-weight: 600;
  font-size: 1.05rem; letter-spacing: .01em;
}
.marquee__item svg { width: 20px; height: 20px; opacity: .92; }
.marquee__dot { color: rgba(255,255,255,.5); font-size: .6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   SECCIONES GENÉRICAS
   ============================================================ */
.section { padding: 100px 0; position: relative; }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.section__lead { color: var(--ink-soft); font-size: 1.08rem; margin-top: 16px; }
.section__lead--light { color: rgba(232,238,255,.7); }
.section__text { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.04rem; }
.section__head--light .section__title { color: #fff; }

/* CTA contextual al pie de cada sección */
.section__cta { text-align: center; margin-top: 50px; }
.section__cta .btn { box-shadow: var(--shadow-blue); }
.section__cta--start { text-align: left; margin-top: 30px; }

.check {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--blue-pale); position: relative; display: inline-block;
}
.check::after { content: ''; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check--light { background: rgba(124,155,255,.2); }
.check--light::after { border-color: var(--blue-light); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--white); }
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; }
.about__badge {
  position: absolute; bottom: -22px; left: -22px; background: var(--navy); color: #fff;
  padding: 18px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px; max-width: 200px;
}
.about__badge strong { font-family: 'Sora'; font-size: 1.9rem; color: var(--blue-light); line-height: 1; }
.about__badge span { font-size: .82rem; color: rgba(232,238,255,.8); }

.about__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: 28px; }
.about__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: .98rem; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services { background: var(--gray-50); border-top: 1px solid var(--gray-100); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 34px 30px; transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.svc-card::before { content: ''; position: absolute; inset: 0; background: var(--grad-blue); opacity: 0; transition: opacity .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blue-pale); color: var(--blue); margin-bottom: 22px; transition: all .3s;
}
.svc-card__icon svg { width: 28px; height: 28px; }
.svc-card:hover .svc-card__icon { background: var(--grad-blue); color: #fff; }
.svc-card h3 { font-size: 1.22rem; margin-bottom: 10px; letter-spacing: -.01em; }
.svc-card p { color: var(--ink-soft); font-size: .97rem; }
.svc-card__more { display: inline-block; margin-top: 18px; color: var(--blue); font-weight: 600; font-size: .9rem; opacity: 0; transform: translateX(-6px); transition: all .3s; }
.svc-card:hover .svc-card__more { opacity: 1; transform: translateX(0); }

/* ============================================================
   CASOS QUE ATENDEMOS
   ============================================================ */
.cases { background: var(--blue-pale); overflow: hidden; }
.cases__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(74,111,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(74,111,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(100% 80% at 50% 40%, #000 30%, transparent 90%);
}
.cases .container { position: relative; z-index: 2; }
.cases__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px; text-align: left;
  border: 1px solid rgba(74,111,255,.1); transition: all .3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-blue); color: #fff; margin-bottom: 18px;
}
.case-card__icon svg { width: 26px; height: 26px; }
.case-card h3 { font-size: 1.05rem; letter-spacing: -.01em; }

/* ============================================================
   METODOLOGÍA
   ============================================================ */
.method { background: var(--navy); color: #fff; overflow: hidden; }
.method__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
}
.method .container { position: relative; z-index: 2; }
.method__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.method__steps::before {
  content: ''; position: absolute; top: 38px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124,155,255,.4), transparent);
}
.step { position: relative; }
.step__num {
  display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 20px;
  font-family: 'Sora'; font-size: 1.5rem; font-weight: 700; color: var(--blue-light);
  background: rgba(124,155,255,.1); border: 1px solid rgba(124,155,255,.3);
  margin-bottom: 22px; position: relative; z-index: 2; backdrop-filter: blur(4px);
}
.step__body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step__body p { color: rgba(232,238,255,.7); font-size: .96rem; }

/* ============================================================
   DIFERENCIADORES (DASHBOARD)
   ============================================================ */
.diff { background: var(--white); }
.diff__dashboard { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.diff__panel--feature {
  background: var(--grad-hero); color: #fff; border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.diff__feature-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.diff__chip { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: rgba(124,155,255,.18); color: var(--blue-light); padding: 6px 14px; border-radius: 100px; }
.diff__live { font-size: .76rem; color: #5fd38a; }
.diff__panel--feature h3 { font-size: 1.5rem; line-height: 1.25; margin-bottom: auto; }
.diff__metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.diff__metrics strong { display: block; font-family: 'Sora'; font-size: 1.7rem; color: var(--blue-light); }
.diff__metrics span { font-size: .8rem; color: rgba(232,238,255,.65); }

.diff__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.diff-card {
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 24px 22px; display: flex; align-items: center; gap: 14px; font-weight: 600;
  font-size: 1rem; transition: all .3s var(--ease);
}
.diff-card:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(74,111,255,.3); }
.diff-card__ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--grad-blue); color: #fff; font-size: .85rem; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials { background: var(--white); }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 34px 32px; transition: all .3s var(--ease); position: relative;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: #fff; }
.testi-card__stars { color: #FFB020; letter-spacing: 3px; margin-bottom: 18px; font-size: 1.05rem; }
.testi-card blockquote { font-size: 1.05rem; color: var(--ink); line-height: 1.6; margin-bottom: 26px; }
.testi-card figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-blue); color: #fff; font-weight: 700; font-family: 'Sora'; }
.testi-card figcaption strong { display: block; font-size: .98rem; }
.testi-card figcaption span { font-size: .85rem; color: var(--gray-500); }
.testi-hint { display: none; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; color: var(--blue); font-weight: 600; font-size: .9rem; }
.testi-hint svg { width: 18px; height: 18px; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta { background: var(--grad-cta); color: #fff; overflow: hidden; }
.cta__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(110% 90% at 30% 30%, #000 30%, transparent 85%);
}
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.cta__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.cta__subtitle { font-size: 1.1rem; color: rgba(232,238,255,.82); max-width: 480px; margin-bottom: 28px; }
.cta__points { display: grid; gap: 12px; }
.cta__points li { display: flex; align-items: center; gap: 12px; color: rgba(232,238,255,.9); font-weight: 500; }

.cta__form {
  background: rgba(255,255,255,.97); border-radius: var(--radius-lg); padding: 20px;
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.cta__iframe {
  width: 100%; min-height: 564px; border: none; border-radius: 20px; display: block;
  background: transparent;
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .96rem; color: var(--ink); background: var(--gray-50);
  transition: all .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(74,111,255,.12);
}
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #e74c3c; box-shadow: 0 0 0 4px rgba(231,76,60,.1); }
.cta__note { text-align: center; font-size: .82rem; color: var(--gray-500); margin-top: 14px; }
.form-success { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); background: #e7f8ee; color: #1d7a44; font-weight: 600; font-size: .92rem; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #061429; color: rgba(232,238,255,.7); padding-top: 70px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.brand--footer { color: #fff; margin-bottom: 16px; }
.footer__brand p { max-width: 320px; font-size: .96rem; }
.footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: .02em; }
.footer__col a, .footer__muted { display: block; color: rgba(232,238,255,.65); font-size: .94rem; margin-bottom: 11px; transition: color .2s; }
.footer__col a:hover { color: var(--blue-light); }
.footer__muted { color: rgba(232,238,255,.4); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer__bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__values { font-size: .85rem; color: var(--blue-light); letter-spacing: .02em; }
.footer__copy { font-size: .82rem; color: rgba(232,238,255,.45); }

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float svg { width: 34px; height: 34px; position: relative; z-index: 2; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(37,211,102,.55); }
.wa-float__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: .6; z-index: 1;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .55; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa-float svg { width: 30px; height: 30px; }
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .shield-card__ring, .node, .data-chip, .mini-chart, .marquee__track, .wa-float__pulse { animation: none !important; }
  .wa-float__pulse { display: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { order: -1; min-height: 360px; }
  .services__grid, .testi__grid { grid-template-columns: repeat(2, 1fr); }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .method__steps { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .method__steps::before { display: none; }
  .diff__dashboard { grid-template-columns: 1fr; }
  .about__inner, .cta__inner { grid-template-columns: 1fr; gap: 50px; }
  .about__media { max-width: 520px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 24px; gap: 18px; box-shadow: var(--shadow);
  }
  .nav__links.open a { color: var(--navy); }
  .section { padding: 70px 0; }
  .hero { padding: 130px 0 50px; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }

  /* Hero: primero título + botones, luego el gráfico */
  .hero__content { order: 0; }
  .hero__visual { order: 1; }

  /* Tagline del hero en una sola línea */
  .hero .eyebrow {
    font-size: .66rem; letter-spacing: .08em; padding: 7px 14px;
    white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
  }

  /* Testimonios: slider lateral con peek del siguiente */
  .testi__grid {
    display: flex; grid-template-columns: none;
    gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding: 4px 0 18px;
    scroll-padding-inline: 4px;
    scrollbar-width: none;
  }
  .testi__grid::-webkit-scrollbar { display: none; }
  .testi-card { flex: 0 0 82%; scroll-snap-align: center; }
  .testi-hint { display: flex; }
}

@media (max-width: 560px) {
  .services__grid, .method__steps { grid-template-columns: 1fr; }
  /* Casos: siempre dos por fila y legibles */
  .cases__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .case-card { padding: 20px 16px; }
  .case-card__icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .case-card h3 { font-size: .92rem; }
  .about__list { grid-template-columns: 1fr; }
  .diff__cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .mini-chart { width: 175px; }
  .about__badge { left: 0; }
  .cta__form { padding: 26px 20px; }
  .testi-card { flex-basis: 86%; }

  /* Panel de confianza: métricas apiladas y legibles */
  .diff__panel--feature { padding: 30px 24px; }
  .diff__panel--feature h3 { font-size: 1.3rem; }
  .diff__metrics {
    grid-template-columns: 1fr; gap: 0; margin-top: 26px; padding-top: 22px;
  }
  .diff__metrics > div {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .diff__metrics > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .diff__metrics strong { font-size: 1.5rem; min-width: 88px; margin: 0; }
  .diff__metrics span { font-size: .88rem; }
}
