/* ==========================================================
   Gesso — sitio de producto
   ========================================================== */
:root {
  --night: #0B1B3A;
  --night-2: #10254D;
  --night-3: #16305F;
  --blue: #1E88E5;
  --blue-soft: #5AB0FF;
  --accent: #FFC72C;
  --accent-ink: #1A1300;
  --ink: #0F1A2E;
  --muted: #55627A;
  --line: #E3E8F0;
  --bg: #FFFFFF;
  --tint: #F4F7FB;
  --on-dark: #E8EEF8;
  --on-dark-muted: #9FB0CC;
  --red: #EF5350;
  --green: #2BB673;
  --wa: #25D366;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(11, 27, 58, .25);
  --shadow-lg: 0 30px 60px -20px rgba(4, 12, 30, .55);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font: 400 17px/1.65 var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.eyebrow {
  display: inline-block;
  font: 700 .78rem/1 var(--font-head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.hl {
  background: linear-gradient(90deg, var(--accent), #FFE08A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 700 1rem/1 var(--font-head);
  padding: 1rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  text-decoration: none !important;
}
.btn--sm { padding: .7rem 1.1rem; font-size: .92rem; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -8px rgba(255, 199, 44, .7); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255, 199, 44, .85); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #06361B; margin-top: .5rem; }
.btn--wa:hover { transform: translateY(-2px); }
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  color: #fff; transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(11, 27, 58, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none !important; }
.brand__word { font: 800 1.35rem/1 var(--font-head); letter-spacing: .12em; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { color: var(--on-dark); font-weight: 500; font-size: .95rem; }
.nav__links a:not(.btn):hover { color: #fff; text-decoration: none; }
.nav__links .btn { color: var(--accent-ink); }
.nav__login { opacity: .85; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 1060px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night); padding: .5rem 16px 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(-120%); transition: transform .35s ease; visibility: hidden;
  }
  .nav__links a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 1.05rem; }
  .nav__links .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
  .nav.is-open { background: var(--night); }
  .nav.is-open .nav__links { transform: none; visibility: visible; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(30, 136, 229, .35), transparent 60%),
    radial-gradient(700px 420px at 0% 60%, rgba(255, 199, 44, .09), transparent 60%),
    var(--night);
  padding: calc(var(--nav-h) + 72px) 0 110px;
}
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--accent); }
.hero .lead { color: var(--on-dark-muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 1.8rem; }
.hero__ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--on-dark-muted); font-size: .92rem; }
.hero__ticks li { display: flex; align-items: center; gap: .4em; }
.hero__ticks .ic { color: var(--accent); }

/* Mockup */
.mock {
  position: relative; background: #fff; color: var(--ink); border-radius: 14px; overflow: visible;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: transform .6s ease;
  font-size: 13px;
}
.mock:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EEF2F8; border-radius: 14px 14px 0 0; }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #D0D7E2; }
.mock__bar span:nth-child(1) { background: #FF6159; } .mock__bar span:nth-child(2) { background: #FFBF2F; } .mock__bar span:nth-child(3) { background: #2ACB42; }
.mock__bar em { margin-left: 10px; font-style: normal; color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 6px; font-size: 11px; }
.mock__body { display: grid; grid-template-columns: 140px 1fr; min-height: 300px; }
.mock__side { background: var(--night); color: var(--on-dark-muted); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; border-radius: 0 0 0 14px; }
.mock__logo { display: flex; align-items: center; gap: 6px; color: #fff; font: 800 13px var(--font-head); margin: 0 0 12px 6px; }
.mock__side i { font-style: normal; padding: 7px 10px; border-radius: 7px; }
.mock__side i.on { background: rgba(30,136,229,.25); color: #fff; }
.mock__main { padding: 16px; display: flex; flex-direction: column; gap: 14px; background: #F7F9FC; border-radius: 0 0 14px 0; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpis div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock__kpis b { display: block; font: 800 24px/1.1 var(--font-head); color: var(--night); }
.mock__kpis small { color: var(--muted); font-size: 11px; }
.mock__row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; flex: 1; }
.mock__chart, .mock__list { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.mock__chart small { color: var(--muted); font-size: 11px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 10px; }
.bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--blue-soft), var(--blue)); border-radius: 5px 5px 2px 2px; transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
.bars i:nth-child(2) { animation-delay: .08s } .bars i:nth-child(3) { animation-delay: .16s } .bars i:nth-child(4) { animation-delay: .24s } .bars i:nth-child(5) { animation-delay: .32s } .bars i:nth-child(6) { animation-delay: .4s; background: linear-gradient(180deg, #FFE08A, var(--accent)); }
@keyframes grow { from { transform: scaleY(0); } }
.mock__list { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.mock__list li { display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot--r { background: var(--red); box-shadow: 0 0 0 3px rgba(239,83,80,.2); }
.dot--y { background: var(--accent); box-shadow: 0 0 0 3px rgba(255,199,44,.25); }
.dot--g { background: var(--green); box-shadow: 0 0 0 3px rgba(43,182,115,.2); }
.mock__toast {
  position: absolute; left: -28px; bottom: -22px; display: flex; align-items: center; gap: 8px;
  background: var(--night-3); color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 600;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12);
  animation: float 5s ease-in-out infinite;
}
.mock__toast .ic { color: var(--accent); }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .mock { transform: none; }
  .mock:hover { transform: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 80px; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .mock__main { border-radius: 0 0 14px 14px; }
  .mock__row { grid-template-columns: 1fr; }
  .mock__toast { left: 12px; }
}

/* ---------- Industrias ---------- */
.industries { background: var(--night); padding: 0 0 90px; color: #fff; }
.industries__lead { text-align: center; color: var(--on-dark-muted); font-size: .95rem; letter-spacing: .02em; margin-bottom: 1.8rem; }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.ind img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .6s; filter: saturate(1.15); }
.ind::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,27,58,.9)); }
.ind figcaption { position: absolute; left: 18px; bottom: 14px; z-index: 1; font: 700 1.15rem var(--font-head); }
.ind:hover img { transform: scale(1.08); }
@media (max-width: 760px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--night); color: var(--on-dark); }
.section--dark h2 { color: #fff; }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .lead { color: var(--on-dark-muted); }
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 640px) { .section { padding: 76px 0; } .sec-head { margin-bottom: 40px; } }

/* Problema */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { background: var(--tint); border-radius: var(--radius); padding: 32px 28px; position: relative; overflow: hidden; }
.pcard::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--red), var(--accent)); }
.pcard__n { font: 800 2.4rem/1 var(--font-head); color: #D5DDEA; display: block; margin-bottom: 18px; }
.pcard p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .cards3 { grid-template-columns: 1fr; } }

/* Enfoque de red */
.network__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.checks li { display: flex; gap: .7rem; align-items: center; }
.checks .ic { color: var(--night); background: var(--accent); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 3; }
.graph__svg { width: 100%; height: auto; overflow: visible; }
.graph__edges line { stroke: rgba(90, 176, 255, .45); stroke-width: 2; stroke-dasharray: 6 6; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -240; } }
.gn circle { fill: var(--night-3); stroke: var(--blue-soft); stroke-width: 2; transition: transform .3s; }
.gn text { fill: #fff; font: 600 12px var(--font-body); text-anchor: middle; pointer-events: none; }
.gn text.sub { fill: var(--on-dark-muted); font-weight: 500; font-size: 11px; }
.gn--c circle { fill: var(--blue); stroke: #fff; }
.gn--a circle { stroke: var(--accent); }
.gn { cursor: default; }
.gn:hover circle { transform: scale(1.1); }
.gn circle { animation: pulse 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.gn:nth-child(2) circle { animation-delay: .6s } .gn:nth-child(3) circle { animation-delay: 1.2s } .gn:nth-child(4) circle { animation-delay: 1.8s } .gn:nth-child(5) circle { animation-delay: 2.4s } .gn:nth-child(6) circle { animation-delay: 3s }
@keyframes pulse { 50% { transform: scale(1.06); } }
@media (max-width: 860px) { .network__grid { grid-template-columns: 1fr; gap: 40px; } }

/* Módulos */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; transition: transform .3s, box-shadow .3s, border-color .3s, background .3s; overflow: hidden;
  min-height: 230px;
}
.mod__ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #E8F2FD; color: var(--blue); margin-bottom: 18px; transition: background .3s, color .3s; }
.mod__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mod h3 { font-size: 1.02rem; }
.mod p { color: var(--muted); font-size: .92rem; margin: 0; transition: opacity .3s; }
.mod ul {
  list-style: none; padding: 0; margin: .8rem 0 0; font-size: .88rem; display: grid; gap: .35rem;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s;
}
.mod ul li { padding-left: 1.1em; position: relative; }
.mod ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mod:hover, .mod:focus-within, .mod:focus { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--night); border-color: var(--night); color: #fff; outline: none; }
.mod:hover .mod__ic, .mod:focus .mod__ic { background: var(--accent); color: var(--night); }
.mod:hover p, .mod:focus p { color: var(--on-dark-muted); }
.mod:hover ul, .mod:focus ul { max-height: 320px; opacity: 1; }
@media (max-width: 960px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .modules { grid-template-columns: repeat(2, 1fr); }
  .mod { min-height: 0; }
  .mod ul { max-height: none; opacity: 1; }
}
@media (max-width: 460px) { .modules { grid-template-columns: 1fr; } }

/* Cómo funciona */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px); opacity: .4; }
.step { text-align: center; position: relative; }
.step__n { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--night); color: var(--accent); font: 800 1.3rem var(--font-head); box-shadow: 0 0 0 8px var(--tint); }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Plataforma */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feat { background: #fff; padding: 28px 24px; transition: background .3s; }
.feat:hover { background: var(--tint); }
.feat:last-child { grid-column: span 2; } /* 11 ítems: completa la última fila */
.feat .ic { width: 28px; height: 28px; color: var(--blue); margin-bottom: 14px; }
.feat h3 { font-size: 1rem; margin-bottom: .3em; }
.feat p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 960px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feats { grid-template-columns: 1fr; } .feat:last-child { grid-column: auto; } }

/* Cifras */
.stats { background: linear-gradient(120deg, var(--blue), #1565C0 60%, var(--night-3)); color: #fff; padding: 72px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font: 800 clamp(2.4rem, 5vw, 3.4rem)/1 var(--font-head); margin-bottom: .4rem; }
.stat span { color: rgba(255,255,255,.85); font-size: .95rem; }
.stat b span { color: #fff; font-size: inherit; }
@media (max-width: 760px) { .stats__grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; } }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { border-radius: var(--radius); padding: 30px 26px; background: var(--tint); border: 1px solid transparent; transition: border-color .3s, transform .3s; }
.svc:hover { border-color: var(--blue); transform: translateY(-4px); }
.svc .ic { width: 34px; height: 34px; color: var(--night); background: var(--accent); padding: 8px; border-radius: 10px; box-sizing: content-box; margin-bottom: 18px; }
.svc p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* Nosotros */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about__img { position: relative; }
.about__img img:first-child { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lg); }
.about__img2 { position: absolute; right: -24px; bottom: -32px; width: 38%; border-radius: 50%; border: 6px solid var(--night); aspect-ratio: 1; object-fit: cover; }
.about p:not(.lead):not(.eyebrow) { color: var(--on-dark-muted); }
.about .btn--ghost { color: #fff; margin-top: .5rem; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; gap: 56px; } .about__img2 { right: 8px; } }

/* Contacto */
.contact { background: var(--tint); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact__info { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .9rem; }
.contact__info li { display: flex; gap: .7rem; align-items: flex-start; }
.contact__info .ic { color: var(--blue); margin-top: .3em; }
.contact__info a { color: var(--ink); font-weight: 500; }
.form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--ink); }
.form input, .form select, .form textarea {
  font: 400 1rem var(--font-body); color: var(--ink); background: var(--tint);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .9rem; width: 100%;
  transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form .is-invalid { border-color: var(--red); }
.form__check { display: flex !important; align-items: center; gap: .6rem; font-weight: 400 !important; }
.form__check input { width: 18px; height: 18px; accent-color: var(--blue); }
.form .btn { justify-self: start; }
.form__msg { margin: 0; font-weight: 600; min-height: 1.4em; }
.form__msg.ok { color: var(--green); }
.form__msg.err { color: var(--red); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .form { padding: 22px 18px; } .form__row { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; justify-content: center; } }

/* Footer */
.footer { background: #07132A; color: var(--on-dark-muted); padding: 56px 0 40px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; align-items: start; }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer a { color: var(--on-dark); }
.footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
.footer__legal { display: grid; gap: .5rem; justify-items: end; text-align: right; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } .footer__legal { justify-items: start; text-align: left; } }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(37,211,102,.6);
  transition: transform .2s;
}
.wa-float .ic { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); }

/* Animación al hacer scroll */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.8,.2,1), transform .3s, box-shadow .3s, background .3s, border-color .3s; }
.reveal.in { opacity: 1; translate: none; }
.no-js .reveal { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
}

/* Página legal */
.legal { padding: calc(var(--nav-h) + 60px) 0 80px; }
.legal .container { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--muted); }

/* Gesso IA */
.ai-pill {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.2rem;
  padding: .35rem .8rem .35rem .35rem; border-radius: 999px; font-size: .88rem; font-weight: 500;
  color: var(--on-dark); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  text-decoration: none !important; transition: background .2s;
}
.ai-pill:hover { background: rgba(255,255,255,.13); }
.ai-pill span { font: 700 .72rem/1 var(--font-head); padding: .35rem .55rem; border-radius: 999px; background: linear-gradient(90deg, #8B5CF6, var(--blue)); color: #fff; }
.hero .ai-pill + .eyebrow { display: block; }

.ai {
  color: var(--on-dark);
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(139, 92, 246, .28), transparent 60%),
    radial-gradient(700px 400px at 90% 100%, rgba(30, 136, 229, .3), transparent 60%),
    var(--night);
}
.ai h2 { color: #fff; }
.ai .sec-head p:not(.eyebrow) { color: var(--on-dark-muted); }
.ai .eyebrow { color: #C4B5FD; display: inline-flex; align-items: center; gap: .4rem; }
.ai-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.ai-card { flex: 0 1 calc((100% - 36px) / 3); }
.ai-card {
  position: relative; padding: 28px 26px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: border-color .3s, background .3s, transform .3s;
}
.ai-card:hover { border-color: rgba(196,181,253,.6); background: rgba(255,255,255,.07); transform: translateY(-4px); }
.ai-card__mod { display: inline-block; font: 600 .75rem/1 var(--font-head); color: var(--accent); background: rgba(255,199,44,.12); padding: .4rem .6rem; border-radius: 6px; margin-bottom: 16px; }
.ai-card h3 { color: #fff; }
.ai-card p { color: var(--on-dark-muted); font-size: .94rem; margin: 0; }
@media (max-width: 960px) { .ai-card { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 560px) { .ai-card { flex-basis: 100%; } }
