/* ==========================================================================
   Smart Apps — sitio web
   ========================================================================== */

:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --ink: #0b1733;
  --muted: #55627c;
  --dim: #8a95ab;
  --line: #e4e9f2;
  --line-strong: #d3dbe9;

  --navy-950: #061229;
  --navy-900: #0a1a3a;
  --navy-800: #13285a;
  --on-dark: #ffffff;
  --on-dark-muted: #a9b6d3;
  --dark-line: rgba(255, 255, 255, .12);

  --brand: #004d7b;
  --brand-light: #4fb0ff;
  --blue: #2f6bff;
  --blue-dark: #1d4fe0;
  --blue-soft: #edf2ff;
  --sky: #18b4ff;
  --violet: #7c5cff;
  --lime: #c6ff3d;
  --green: #12a150;
  --wa: #25d366;
  --grad: linear-gradient(100deg, var(--blue), var(--sky) 55%, var(--violet));

  --shadow-sm: 0 1px 2px rgba(11, 23, 51, .05), 0 6px 16px -6px rgba(11, 23, 51, .08);
  --shadow-lg: 0 32px 64px -28px rgba(11, 23, 51, .28);

  --radius: 24px;
  --container: 1200px;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-logo: "Montserrat", system-ui, sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

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

/* ---------- Tipografía ---------- */

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.025em; }

h2 {
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 600;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(47, 107, 255, .6); }

.btn-outline { background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }

.btn-lime { background: var(--lime); color: var(--navy-900); }
.btn-lime:hover { box-shadow: 0 14px 30px -10px rgba(198, 255, 61, .55); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6); }
.btn-wa.disabled { opacity: .45; pointer-events: none; }

/* ---------- Navegación ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled, .nav.open {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo-word { font-family: var(--font-logo); font-size: 23px; letter-spacing: -.01em; color: var(--ink); }
.logo-s { font-weight: 300; }
.logo-a { font-weight: 700; color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .3s, top .3s;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav.open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 96px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); }
.blob-1 {
  width: 620px; height: 620px; top: -220px; right: -140px;
  background: rgba(24, 180, 255, .35);
  animation: float 18s ease-in-out infinite;
}
.blob-2 {
  width: 520px; height: 520px; top: 30%; right: 22%;
  background: rgba(124, 92, 255, .22);
  animation: float 22s ease-in-out infinite reverse;
}
.blob-3 {
  width: 420px; height: 420px; bottom: -200px; left: -120px;
  background: rgba(198, 255, 61, .28);
  animation: float 20s ease-in-out infinite;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 72px;
  align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 500;
  color: var(--muted);
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(18, 161, 80, .15);
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(36px, 4.9vw, 64px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 26px 0 24px;
}
.rotator { display: inline-block; }
.rot {
  display: inline-block;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity .35s, transform .35s;
}
.rot.swap { opacity: 0; transform: translateY(.3em); }

.lead { font-size: 19px; color: var(--muted); max-width: 560px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 52px; }
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof li + li { padding-left: 40px; border-left: 1px solid var(--line-strong); }
.hero-proof strong { font: 800 34px/1.1 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.hero-proof li > span { font-size: 14px; color: var(--muted); }

/* ---------- Configurador ---------- */

.hero-visual { position: relative; }

.builder {
  position: relative;
  padding: 30px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.builder-head { margin-bottom: 22px; }
.builder-head h2 { font-size: 24px; font-weight: 800; }
.builder-head p { color: var(--muted); font-size: 15px; margin-top: 4px; }

.label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
  margin: 0 0 12px;
}
.label span {
  width: 24px; height: 24px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}
.seg + .label { margin-top: 22px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg button {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  text-align: left;
  transition: border-color .2s, background .2s;
}
.seg button b { font-size: 14px; font-weight: 600; }
.seg button small { font-size: 12px; color: var(--dim); }
.seg button:hover { border-color: var(--line-strong); }
.seg button[aria-checked="true"] { border-color: var(--blue); background: var(--blue-soft); }
.seg button[aria-checked="true"] small { color: var(--blue-dark); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.chip[aria-pressed="true"]::before { content: "✓ "; }

.summary {
  display: flex; align-items: center; gap: 14px;
  min-height: 72px;
  margin: 22px 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px dashed var(--line-strong);
}
.summary p { font-size: 14px; color: var(--muted); }
.summary p b { color: var(--ink); font-weight: 600; }
.avatars { display: flex; flex: none; }
.avatars span {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  background: var(--grad);
  color: #fff;
  font-size: 11px; font-weight: 700;
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2n) { background: linear-gradient(135deg, var(--violet), var(--blue)); }
.avatars span:nth-child(3n) { background: linear-gradient(135deg, #12b981, var(--sky)); }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.float-card small { font-size: 12px; color: var(--muted); }
.fc-ico {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffb340, #ff7a45);
  color: #fff;
  font-size: 16px;
}
.fc-ico.ok { background: linear-gradient(135deg, #12b981, #12a150); }
.fc-1 { top: -40px; left: -40px; }
.fc-2 { bottom: -34px; right: -36px; animation-delay: -3s; }

/* ---------- Logos ---------- */

.logos { padding: 44px 0 56px; }
.logos-title { text-align: center; color: var(--dim); font-size: 14px; margin: 0 16px 28px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.track {
  display: flex; align-items: center; gap: 72px;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .track { animation-play-state: paused; }
.track img {
  height: 46px; width: auto; max-width: 170px; object-fit: contain;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  opacity: .6;
  transition: filter .3s, opacity .3s;
}
.track img:hover { filter: none; opacity: 1; }

/* ---------- Secciones ---------- */

.section { position: relative; padding: 112px 0; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head > p:not(.kicker) { color: var(--muted); font-size: 18px; margin-top: 18px; }

/* ---------- Servicios ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.card {
  grid-column: span 3;
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-xl { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; }
.card-tall { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }

.icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  border-radius: 15px;
  background: var(--blue-soft);
  color: var(--blue);
}
.card:nth-child(2) .icon { background: #f1edff; color: var(--violet); }
.card:nth-child(3) .icon { background: #e7f8ef; color: var(--green); }
.card:nth-child(4) .icon { background: #e6f6ff; color: #0a8fd1; }
.card:nth-child(5) .icon { background: #fff2e8; color: #e8691f; }
.card:nth-child(6) .icon { background: #fdeef6; color: #d6338a; }

.card h3 { font-size: 21px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card-xl h3 { font-size: 27px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* mockup de proyecto */
.viz-project {
  position: relative;
  margin-top: auto;
  padding: 22px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.card-xl > p { margin-bottom: 32px; }
.vp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.vp-title { font-weight: 700; font-size: 15px; }
.vp-pill {
  padding: 4px 12px;
  border-radius: 999px;
  background: #e7f8ef;
  color: var(--green);
  font-size: 12px; font-weight: 600;
}
.vp-rows { display: grid; gap: 12px; }
.vp-row { display: grid; grid-template-columns: 92px 1fr 44px; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.vp-row i {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.vp-row i::after {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--grad);
  transition: width 1.4s cubic-bezier(.2, .7, .2, 1) .4s;
}
.js .card-xl:not(.in) .vp-row i::after { width: 0; }
.vp-row b { font-weight: 600; color: var(--ink); text-align: right; }
.vp-chart { margin-top: 18px; height: 80px; }
.vp-chart svg { width: 100%; height: 100%; display: block; }
.vp-badge {
  position: absolute; right: 18px; bottom: -16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-size: 13px; font-weight: 600;
}
.vp-badge .ok {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}

/* equipo */
.viz-team { display: grid; gap: 10px; margin-top: auto; padding-top: 28px; }
.viz-team li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.viz-team .av {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 12px; font-weight: 700;
}
.av.a1 { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.av.a2 { background: linear-gradient(135deg, var(--violet), #b46cff); }
.av.a3 { background: linear-gradient(135deg, #12b981, #12a150); }
.av.a4 { background: linear-gradient(135deg, #ffb340, #ff7a45); }
.viz-team div { display: flex; flex-direction: column; min-width: 0; }
.viz-team b { font-size: 14px; font-weight: 600; }
.viz-team small { font-size: 12px; color: var(--muted); }
.viz-team .st {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef1f6;
  color: var(--dim);
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
}
.viz-team .st.on { background: #e7f8ef; color: var(--green); }

/* ---------- Sección oscura: modelos + proceso ---------- */

.dark {
  background: var(--navy-900);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.dark-glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px circle at 85% 0%, rgba(47, 107, 255, .35), transparent 60%),
    radial-gradient(600px circle at 0% 100%, rgba(124, 92, 255, .25), transparent 60%);
}
.dark .kicker { background: rgba(198, 255, 61, .12); color: var(--lime); }
.dark .sec-head > p:not(.kicker) { color: var(--on-dark-muted); }

.models { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.model {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 44px 40px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--dark-line);
}
.model.featured { background: var(--surface); color: var(--ink); border-color: transparent; }
.model .tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(198, 255, 61, .14);
  color: var(--lime);
  font-size: 13px; font-weight: 600;
}
.model.featured .tag { background: var(--blue-soft); color: var(--blue-dark); }
.model h3 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; margin: 20px 0 12px; }
.model > p { color: var(--on-dark-muted); }
.model.featured > p { color: var(--muted); }
.model ul { display: grid; gap: 14px; margin: 28px 0; }
.model li { position: relative; padding-left: 32px; }
.model li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 21px; height: 21px; border-radius: 50%;
  background: rgba(198, 255, 61, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ff3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.model.featured li::before {
  background-color: var(--blue-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E");
}
.model .ideal {
  width: 100%;
  padding-top: 20px;
  margin-bottom: 28px;
  border-top: 1px solid var(--dark-line);
  font-size: 14px;
}
.model.featured .ideal { border-color: var(--line); }
.model .btn { margin-top: auto; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 88px;
}
.steps::before {
  content: "";
  position: absolute; top: 24px; left: 24px; right: 24px;
  border-top: 2px dashed rgba(255, 255, 255, .18);
}
.step { position: relative; }
.step .num {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid var(--lime);
  color: var(--lime);
  font: 800 18px var(--font-display);
}
.step h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--on-dark-muted); font-size: 15px; }

/* ---------- Tecnología ---------- */

.stack-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.stack-grid .sec-head { margin-bottom: 0; }
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stack-card {
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.stack-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stack-card h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.sc-ico { width: 12px; height: 12px; border-radius: 4px; }
.sc-ico.c1 { background: var(--blue); }
.sc-ico.c2 { background: #e8691f; }
.sc-ico.c3 { background: var(--violet); }
.sc-ico.c4 { background: var(--green); }
.stack-card ul { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-card li {
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 14px; font-weight: 500;
}

/* ---------- Nosotros ---------- */

.about { padding-top: 40px; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.about-grid .sec-head { margin-bottom: 0; }
.about-stat {
  padding: 32px;
  border-radius: 28px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 30px 60px -28px rgba(47, 107, 255, .7);
}
.about-stat strong { display: block; font: 800 84px/1 var(--font-display); letter-spacing: -.04em; }
.about-stat p { margin-top: 10px; font-size: 16px; font-weight: 500; opacity: .92; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.v-ico {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  margin-bottom: 40px;
  border-radius: 15px;
  background: var(--blue-soft);
  color: var(--blue);
}
.value:nth-child(2) .v-ico { background: #f1edff; color: var(--violet); }
.value:nth-child(3) .v-ico { background: #fdeef6; color: #d6338a; }
.value:nth-child(4) .v-ico { background: #e7f8ef; color: var(--green); }
.value h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15px; }

/* ---------- Contacto ---------- */

.contact { padding-top: 24px; }
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 56px;
  border-radius: 36px;
  background:
    radial-gradient(600px circle at 0% 0%, rgba(47, 107, 255, .45), transparent 55%),
    radial-gradient(500px circle at 100% 100%, rgba(124, 92, 255, .35), transparent 55%),
    var(--navy-900);
  color: var(--on-dark);
  overflow: hidden;
}
.contact .kicker { background: rgba(198, 255, 61, .12); color: var(--lime); }
.contact-copy > p:not(.kicker) { color: var(--on-dark-muted); font-size: 18px; margin-top: 18px; }

.channels { display: grid; gap: 14px; margin-top: 36px; }
.channels li > a, .channels li:not(:has(a)) { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.channels small { display: block; font-size: 12px; font-weight: 400; color: var(--on-dark-muted); }
.ch-ico {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--dark-line);
  transition: background .2s;
}
.ch-ico.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.channels a:hover .ch-ico.wa { box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .7); }

.form {
  display: grid; gap: 18px; align-content: start;
  padding: 32px;
  border-radius: 26px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.field { display: grid; gap: 8px; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field legend { margin-bottom: 8px; }
.field small { color: var(--dim); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  color: var(--ink);
  font: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, .14);
}
.field input:user-invalid { border-color: #e5484d; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  transition: border-color .2s, background .2s, color .2s;
}
.pills input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); }
.pills input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-note { min-height: 1.4em; font-size: 14px; font-weight: 500; color: var(--green); }
.form-note.error { color: #d93036; }
.form-note a { text-decoration: underline; }
.form button[disabled] { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */

.footer { padding: 72px 0 32px; background: var(--navy-950); color: var(--on-dark); }
.footer .logo { color: var(--brand-light); }
.footer .logo-word { color: #fff; }
.footer .logo-a { color: var(--brand-light); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand p { color: var(--on-dark-muted); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 15px; color: var(--on-dark-muted); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--dark-line);
  font-size: 13px; color: var(--on-dark-muted);
}
.footer-bottom a:hover { color: #fff; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Página 404 ---------- */

.not-found { text-align: center; padding: 72px 0; }
.not-found .logo { margin-bottom: 48px; }
.not-found-code { font: 800 clamp(96px, 18vw, 160px)/1 var(--font-display); letter-spacing: -.05em; }
.not-found h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 12px 0 14px; }
.not-found .lead { margin-inline: auto; }
.not-found .cta-row { justify-content: center; }

/* ---------- Animaciones ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover, .js .value.reveal.in:hover, .js .stack-card.reveal.in:hover {
  transform: translateY(-4px);
  transition-delay: 0s;
}

@keyframes float { 50% { transform: translate(-40px, 40px) scale(1.08); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 36px)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .card-xl:not(.in) .vp-row i::after { width: var(--w); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 560px; }
  .fc-1 { left: auto; right: 24px; top: -30px; }
  .fc-2 { right: 24px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card-tall { grid-column: span 1; grid-row: auto; }
  .card-xl { grid-column: span 2; grid-row: auto; }
  .stack-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { grid-template-columns: 1fr; gap: 40px; padding: 44px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto;
    height: calc(100dvh - 76px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 16px 32px;
    background: var(--surface);
    font-size: 20px;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav-cta { margin-top: 24px; height: 52px; }

  .models { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; margin-top: 64px; }
  .steps::before { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .hero { padding: 116px 0 72px; min-height: auto; }
  .badge { font-size: 13px; }
  .lead { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero-proof li + li { padding-left: 12px; }
  .hero-proof strong { font-size: 28px; }
  .hero-proof li > span { font-size: 12px; line-height: 1.4; }

  .builder { padding: 22px 18px; border-radius: 24px; }
  .seg button { padding: 10px 12px; }
  .float-card { display: none; }

  .bento { grid-template-columns: 1fr; }
  .card, .card-xl { grid-column: auto; padding: 24px; }
  .card-xl h3 { font-size: 23px; }
  .vp-row { grid-template-columns: 76px 1fr 40px; }
  .vp-badge { right: 12px; }

  .model { padding: 32px 24px; }
  .model .btn { width: 100%; white-space: normal; height: auto; min-height: 52px; padding: 12px 20px; text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .stack { grid-template-columns: 1fr; }
  .about-stat strong { font-size: 64px; }
  .values { grid-template-columns: 1fr; }
  .v-ico { margin-bottom: 24px; }
  .contact-card { padding: 28px 16px; border-radius: 28px; }
  .form { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
