/* ============================================================
   Neural Code AI — Sistema de diseño
   Marca: violeta (#7C3AED) → azul (#2E9BFF), acento cian.
   Estética: dark, premium, técnica, limpia.
   ============================================================ */

:root {
  /* Marca — paleta corporativa índigo → violeta → azul (seria y cohesiva) */
  --violet: #6D28D9;
  --violet-600: #5B21B6;
  --blue: #2563EB;
  --cyan: #4F46E5;            /* acento índigo (reemplaza el cian brillante) */
  --grad: linear-gradient(120deg, #4F46E5 0%, #6D28D9 50%, #2563EB 100%);
  --grad-soft: linear-gradient(120deg, rgba(79,70,229,.11), rgba(37,99,235,.11));

  /* Superficies — tema CLARO (estilo cálido off-white) */
  --bg: #FAFAF6;
  --bg-2: #F1F1EA;
  --surface: #FFFFFF;
  --surface-2: #F6F6F0;
  --border: rgba(17, 17, 24, .09);
  --border-strong: rgba(17, 17, 24, .16);

  /* Texto */
  --text: #14141A;
  --muted: #56565F;
  --muted-2: #8A8A93;

  /* Sistema */
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --shadow: 0 24px 60px -28px rgba(30, 25, 60, .22);
  --shadow-glow: 0 0 0 1px rgba(124, 58, 237, .25), 0 18px 50px -18px rgba(99, 102, 241, .4);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", var(--font);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: rgba(124, 58, 237, .35); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--cyan); opacity: .6; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.07; letter-spacing: -.025em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); margin-top: 18px; }
h3 { font-size: 21px; letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); margin-top: 20px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15.5px; padding: 14px 26px; border-radius: 999px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -10px rgba(99,102,241,.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(99,102,241,.7); }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--violet); background: rgba(124,58,237,.06); transform: translateY(-2px); }
/* Botón oscuro estilo "Ver Planes" (opcional) */
.btn-dark { background: #16161C; color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 16.5px; }

/* ---------- Background glows ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .28; z-index: 0; pointer-events: none; }
.glow-violet { background: radial-gradient(circle, rgba(124,58,237,.55), transparent 70%); }
.glow-blue { background: radial-gradient(circle, rgba(46,155,255,.5), transparent 70%); }

/* ============================================================
   HEADER
   ============================================================ */
/* El contenedor #site-header es el que queda fijo; dentro van topbar + nav apilados */
#site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; }
.header {
  position: relative; z-index: 1;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(250, 250, 246, .82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.brand span { white-space: nowrap; }
.brand img { width: 38px; height: 38px; flex: none; }
.brand b { font-weight: 700; }
.brand .brand-ai { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 15px; color: var(--muted); font-weight: 500; padding: 9px 14px; border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(17,17,24,.05); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: 170px; padding-bottom: 90px; overflow: hidden; }
.hero .glow-violet { width: 620px; height: 620px; top: -180px; left: -160px; }
.hero .glow-blue { width: 560px; height: 560px; top: -60px; right: -180px; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .7;
  background-image: linear-gradient(rgba(17,17,24,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(17,17,24,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 9px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); font-size: 13.5px; color: var(--muted);
  margin-bottom: 28px; box-shadow: 0 4px 14px -8px rgba(30,25,60,.2);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.badge-logo { width: 20px; height: 20px; object-fit: contain; }
.badge b { color: var(--text); font-weight: 600; }

.hero h1 { font-size: clamp(40px, 6.4vw, 76px); }
.hero p.lead { max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 64px; }
.hero-stats .stat strong { font-family: var(--font-display); font-size: 32px; display: block; line-height: 1; }
.hero-stats .stat span { font-size: 14px; color: var(--muted-2); }

/* ---------- Marquee de tecnologías ---------- */
.marquee { margin-top: 72px; position: relative; z-index: 2; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: 21px; font-weight: 500; color: var(--muted-2); white-space: nowrap; transition: color .25s; }
.marquee-track span:hover { color: var(--text); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, background .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card .ico {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--grad-soft); border: 1px solid var(--border); color: var(--cyan);
}
.card .ico svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.card .tags span { font-size: 12.5px; color: var(--muted-2); padding: 5px 11px; border: 1px solid var(--border); border-radius: 999px; }
.card.feature { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.card.feature .feature-visual { aspect-ratio: 16/11; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--border); position: relative; overflow: hidden; }

/* ============================================================
   PROCESO
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
/* línea/track de degradado que conecta los nodos */
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, var(--violet), var(--blue)); opacity: .22;
}
.step { position: relative; z-index: 1; padding-top: 46px; }
.step .num {
  counter-increment: step; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff; background: var(--grad);
  border: 5px solid var(--bg); box-shadow: 0 14px 30px -10px rgba(79,70,229,.5);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
}
.step .num::before { content: "0" counter(step); }
.step-card {
  height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 46px 26px 28px; text-align: center;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.step:hover .step-card { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.step:hover .num { transform: translateX(-50%) translateY(-4px) scale(1.06); box-shadow: 0 20px 42px -10px rgba(79,70,229,.65); }
.step-ico { width: 48px; height: 48px; border-radius: 14px; margin: 4px auto 18px; display: grid; place-items: center; background: var(--grad-soft); color: var(--indigo); transition: transform .35s; }
.step:hover .step-ico { transform: translateY(-2px) scale(1.05); }
.step-ico svg { width: 24px; height: 24px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 980px) { .steps::before { display: none; } }

/* ============================================================
   POR QUÉ / DIFERENCIADORES
   ============================================================ */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.why-list { display: grid; gap: 14px; }
.why-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, transform .3s; }
.why-item:hover { border-color: var(--border-strong); transform: translateX(4px); }
.why-item .check { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--grad-soft); display: grid; place-items: center; color: var(--cyan); }
.why-item .check svg { width: 18px; height: 18px; }
.why-item h3 { font-size: 17px; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 14.5px; }

.stat-card { background: var(--grad-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.stat-card .big { font-family: var(--font-display); font-size: clamp(44px, 7vw, 72px); line-height: 1; }
.stat-card p { color: var(--muted); margin-top: 14px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.mini-stats div { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.mini-stats strong { font-family: var(--font-display); font-size: 26px; display: block; }
.mini-stats span { font-size: 13px; color: var(--muted-2); }

/* ============================================================
   SECTORES
   ============================================================ */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sector { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: background .3s, border-color .3s; display: flex; align-items: center; gap: 16px; }
.sector:hover { background: var(--surface-2); border-color: var(--border-strong); }
.sector .si { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; color: var(--cyan); flex: none; }
.sector .si svg { width: 22px; height: 22px; }
.sector h3 { font-size: 16px; }
.sector p { font-size: 13.5px; color: var(--muted-2); }

/* ============================================================
   BLOQUE SIMPLE CRM (producto, discreto)
   ============================================================ */
.product {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 0% 0%, rgba(124,58,237,.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(46,155,255,.2), transparent 55%),
    var(--bg-2);
  padding: clamp(40px, 6vw, 72px);
}
.product-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.product .eyebrow { color: var(--cyan); }
.product h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 14px; }
.product p { color: var(--muted); margin-top: 18px; }
.product-logo { height: 34px; width: auto; margin-bottom: 8px; opacity: .95; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.product-modules { display: grid; gap: 14px; }
.module { display: flex; gap: 16px; padding: 20px 22px; border-radius: 16px; background: rgba(255,255,255,.85); border: 1px solid var(--border); backdrop-filter: blur(6px); transition: transform .3s, border-color .3s, box-shadow .3s; }
.module:hover { box-shadow: var(--shadow); }
.module:hover { transform: translateY(-3px); border-color: var(--violet); }
.module .mi { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.module .mi svg { width: 23px; height: 23px; }
.module h3 { font-size: 16.5px; margin-bottom: 3px; }
.module p { font-size: 14px; color: var(--muted); margin-top: 0; }

/* ============================================================
   CTA / CONTACTO
   ============================================================ */
.contact { position: relative; overflow: hidden; }
.contact .glow-violet { width: 500px; height: 500px; bottom: -200px; left: 10%; }
.contact .glow-blue { width: 480px; height: 480px; top: -160px; right: 5%; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; position: relative; z-index: 2; }
.contact-info h2 { margin-top: 16px; }
.contact-channels { display: grid; gap: 12px; margin-top: 34px; }
.contact-channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .3s; }
.contact-channel:hover { border-color: var(--violet); transform: translateX(4px); }
.contact-channel .ci { width: 42px; height: 42px; border-radius: 11px; background: var(--grad-soft); display: grid; place-items: center; color: var(--cyan); flex: none; }
.contact-channel .ci svg { width: 20px; height: 20px; }
.contact-channel small { color: var(--muted-2); display: block; font-size: 12.5px; }
.contact-channel b { font-weight: 600; font-size: 15.5px; }

.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.form .field { margin-bottom: 18px; }
.form label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 8px; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border-strong);
  color: var(--text); font-family: inherit; font-size: 15px; transition: border-color .25s, box-shadow .25s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,.2); }
.form textarea { resize: vertical; min-height: 110px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { width: 100%; margin-top: 6px; }
.form .note { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .brand { margin-bottom: 18px; }
.footer-col h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-about { color: var(--muted); font-size: 14.5px; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 13.5px; flex-wrap: wrap; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); transition: .25s; }
.footer-bottom .socials a:hover { color: #fff; border-color: var(--violet); background: rgba(124,58,237,.12); }
.footer-bottom .socials svg { width: 18px; height: 18px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 0; padding: 0; height: 58px; border-radius: 999px; background: #25D366;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.65); transition: transform .25s, box-shadow .25s;
  overflow: hidden;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(37,211,102,.75); }
.wa-float .wa-ico { width: 58px; height: 58px; display: grid; place-items: center; flex: none; }
.wa-float .wa-ico svg { width: 30px; height: 30px; }
.wa-float .wa-label {
  max-width: 0; opacity: 0; white-space: nowrap; color: #fff; font-weight: 700; font-size: 15px;
  transition: max-width .35s cubic-bezier(.2,.7,.3,1), opacity .25s, padding .35s;
}
.wa-float:hover .wa-label { max-width: 200px; opacity: 1; padding-left: 18px; }
@media (max-width: 720px) { .wa-float:hover .wa-label { max-width: 0; opacity: 0; padding-left: 0; } }

/* ============================================================
   TOPBAR (barra utilitaria sobre el header)
   ============================================================ */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 18px; }
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); transition: color .2s; }
.topbar a:hover { color: var(--text); }
.topbar svg { width: 14px; height: 14px; color: var(--cyan); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right .sep { width: 1px; height: 16px; background: var(--border); }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a svg { width: 15px; height: 15px; }
.topbar-tag { color: var(--muted-2); }
.topbar-tag b { color: var(--cyan); font-weight: 600; }

/* Header pasa a ser de dos niveles → el sticky es solo la barra principal */
.header { top: 0; }
.header .nav { height: 72px; }

/* Dropdown de Servicios */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.has-dropdown > a::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); margin-top: -3px; opacity: .7; transition: transform .25s; }
.has-dropdown:hover > a::after { transform: rotate(225deg); margin-top: 2px; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 300px; background: rgba(255,255,255,.98); backdrop-filter: blur(18px); border: 1px solid var(--border);
  border-radius: 16px; padding: 10px; opacity: 0; visibility: hidden; transition: .25s; box-shadow: var(--shadow);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown a { display: flex; gap: 12px; padding: 11px 12px; border-radius: 11px; align-items: flex-start; }
.dropdown a:hover { background: rgba(17,17,24,.05); }
.dropdown .di { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--grad-soft); display: grid; place-items: center; color: var(--cyan); }
.dropdown .di svg { width: 17px; height: 17px; }
.dropdown b { display: block; font-size: 14.5px; font-weight: 600; color: var(--text); }
.dropdown small { font-size: 12.5px; color: var(--muted-2); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::before { display: none; }

/* ============================================================
   HERO con media (dos columnas)
   ============================================================ */
.hero-2col { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero-2col .hero-inner { max-width: none; }
.hero-media { position: relative; }
.hero-media .shot { border-radius: var(--radius-lg); border: 1px solid var(--border-strong); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.hero-media .shot img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.hero-media .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(124,58,237,.18), transparent 50%, rgba(46,155,255,.22)); }
.hero-media .float-card {
  position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
}
.hero-media .float-card .fc-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.hero-media .float-card .fc-ico svg { width: 19px; height: 19px; }
.hero-media .float-card strong { font-family: var(--font-display); font-size: 15px; display: block; line-height: 1.1; }
.hero-media .float-card span { font-size: 12px; color: var(--muted-2); }
.hero-media .fc-1 { bottom: -22px; left: -22px; animation: floaty 6s ease-in-out infinite; }
.hero-media .fc-2 { top: -20px; right: -18px; animation: floaty 6s ease-in-out infinite 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============================================================
   LOGO WALL / STACK (rediseño con logos de marca)
   ============================================================ */
.stack { position: relative; overflow: hidden; }
.stack-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.stack-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.stack-group h3 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.stack-group h3 svg { width: 18px; height: 18px; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.logo-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  padding: 18px 8px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s, background .3s;
}
.logo-chip:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-2); }
.logo-chip img { width: 34px; height: 34px; object-fit: contain; filter: grayscale(.15); transition: filter .3s, transform .3s; }
.logo-chip:hover img { filter: none; transform: scale(1.08); }
.logo-chip span { font-size: 12px; color: var(--muted-2); font-weight: 500; text-align: center; }
.logo-chip:hover span { color: var(--text); }

/* Marquee mejorado (cinta de logos continua) */
.logo-marquee { margin-top: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); overflow: hidden; }
.logo-marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll 40s linear infinite; }
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.lm-item { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); white-space: nowrap; }
.lm-item img { width: 24px; height: 24px; object-fit: contain; }
.lm-item span { font-size: 14.5px; color: var(--muted); font-family: var(--font-display); font-weight: 500; }

/* ============================================================
   MEDIA / FOTOS (tratamiento premium)
   ============================================================ */
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media.overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(124,58,237,.16), transparent 50%, rgba(46,155,255,.18)); }
.media.tint::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,7,15,.82)); z-index: 1; }
.feature-visual.media img { position: absolute; inset: 0; }

/* ============================================================
   PAGE HERO (subpáginas) + breadcrumb
   ============================================================ */
.page-hero { position: relative; padding: 150px 0 70px; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero .glow-violet { width: 520px; height: 520px; top: -240px; left: -120px; }
.page-hero .glow-blue { width: 460px; height: 460px; top: -200px; right: -100px; }
.page-hero .hero-grid { opacity: .3; }
.page-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted-2); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); }
.page-hero p { color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); margin-top: 18px; max-width: 620px; }

/* ============================================================
   SERVICIO DETALLE (alternado texto/foto)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: clamp(60px, 8vw, 110px); }
.split.reverse .split-text { order: 2; }
.split-media { aspect-ratio: 4/3; }
.split-text .eyebrow { margin-bottom: 14px; }
.split-text h2 { font-size: clamp(26px, 3.4vw, 38px); }
.split-text p { color: var(--muted); margin-top: 16px; }
.feature-list { display: grid; gap: 12px; margin-top: 24px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.feature-list .fi { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--grad-soft); display: grid; place-items: center; color: var(--cyan); margin-top: 1px; }
.feature-list .fi svg { width: 13px; height: 13px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s; }
.post-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-cat { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(7,7,15,.7); backdrop-filter: blur(8px); border: 1px solid var(--border-strong); color: var(--cyan); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 12.5px; color: var(--muted-2); margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.post-body h3 { font-size: 19px; line-height: 1.25; margin-bottom: 10px; }
.post-body h3 a { transition: color .2s; }
.post-body h3 a:hover { color: var(--cyan); }
.post-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.post-more { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--cyan); display: inline-flex; align-items: center; gap: 7px; }
.post-card.featured { grid-column: span 2; flex-direction: row; }
.post-card.featured .post-thumb { aspect-ratio: auto; width: 48%; }
.post-card.featured .post-body { justify-content: center; padding: 38px; }
.post-card.featured .post-body h3 { font-size: 26px; }

/* Artículo (post individual) */
.article { max-width: 760px; margin-inline: auto; }
.article-hero-img { border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 40px; aspect-ratio: 21/9; border: 1px solid var(--border); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: 28px; margin: 44px 0 16px; }
.article h3 { font-size: 21px; margin: 32px 0 12px; }
.article p { color: var(--muted); margin-bottom: 18px; }
.article ul.bullets { margin: 0 0 22px; display: grid; gap: 10px; }
.article ul.bullets li { position: relative; padding-left: 26px; color: var(--muted); }
.article ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.article blockquote { border-left: 3px solid var(--violet); padding: 6px 0 6px 22px; margin: 26px 0; color: var(--text); font-size: 18px; font-style: italic; }
.article-cta { margin-top: 50px; padding: 34px; border-radius: var(--radius-lg); background: var(--grad-soft); border: 1px solid var(--border); text-align: center; }
.article-cta h3 { font-size: 22px; margin-bottom: 10px; }
.article-cta p { color: var(--muted); margin-bottom: 20px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border); }
.tag-row span { font-size: 12.5px; color: var(--muted-2); padding: 6px 13px; border: 1px solid var(--border); border-radius: 999px; }

/* ============================================================
   CTA BANNER reutilizable
   ============================================================ */
/* Banda de equipo (Nosotros) — panel claro tintado */
.team-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); padding: clamp(40px, 6vw, 64px); background: radial-gradient(circle at 15% 0%, rgba(79,70,229,.13), transparent 55%), radial-gradient(circle at 95% 100%, rgba(37,99,235,.11), transparent 55%), var(--surface); }

/* CTA banner — panel de degradado vibrante, alto contraste */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(52px, 7vw, 88px) clamp(28px, 5vw, 64px);
  text-align: center; color: #fff; isolation: isolate;
  background: linear-gradient(130deg, #4F46E5 0%, #6D28D9 52%, #2563EB 100%);
  box-shadow: 0 40px 90px -34px rgba(79,70,229,.7);
}
/* grilla sutil */
.cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 40%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 40%, #000, transparent 78%);
}
/* orbe de luz */
.cta-banner::after {
  content: ""; position: absolute; z-index: 0; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%); top: -180px; right: -120px; filter: blur(10px); pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner .eyebrow { color: #c7d2fe; }
.cta-banner .eyebrow::before { background: #c7d2fe; }
.cta-banner h2 { font-size: clamp(30px, 4.4vw, 50px); color: #fff; }
.cta-banner h2 .gradient-text { background: linear-gradient(90deg, #ffffff, #d9c6ff 60%, #bfe0ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 580px; margin: 18px auto 0; font-size: clamp(16px, 1.6vw, 18px); }
.cta-banner .hero-actions { justify-content: center; margin-top: 34px; }
/* botón blanco de alto contraste dentro del banner */
.cta-banner .btn-primary { background: #fff; color: #4326b8; box-shadow: 0 14px 34px -12px rgba(0,0,0,.4); }
.cta-banner .btn-primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(0,0,0,.5); }
.cta-banner .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); color: #fff; }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; transform: translateY(-2px); }

/* ============================================================
   EQUIPO / VALORES (nosotros)
   ============================================================ */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value {
  position: relative; overflow: hidden; padding: 38px 32px 34px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.value::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-a); }
.value:nth-child(even)::before { background: var(--grad-b); }
.value::after { content: ""; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(79,70,229,.10), transparent 70%); opacity: 0; transition: opacity .4s; }
.value:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.value:hover::after { opacity: 1; }
.value .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 12px 26px -10px rgba(79,70,229,.55); transition: transform .35s; }
.value:hover .ico { transform: translateY(-3px) scale(1.05); }
.value .ico svg { width: 26px; height: 26px; }
.value h3 { font-size: 19px; margin-bottom: 9px; }
.value p { color: var(--muted); font-size: 14.5px; position: relative; }

/* ============================================================
   COLOR PASS — más vida y variedad cromática
   ============================================================ */
:root {
  --indigo: #4F46E5;
  --grad-vivid: linear-gradient(120deg, #4F46E5 0%, #6D28D9 48%, #2563EB 100%);
  --grad-a: linear-gradient(135deg, #4F46E5, #6D28D9);   /* índigo → violeta */
  --grad-b: linear-gradient(135deg, #6D28D9, #2563EB);   /* violeta → azul  */
}

/* Texto degradado más vibrante (rosa→violeta→azul) */
.gradient-text { background: var(--grad-vivid); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand .brand-ai { background: var(--grad-vivid); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Íconos con degradado cohesivo (2 tonos de la misma familia) */
.services-grid .card .ico { color: #fff; border: none; box-shadow: 0 10px 24px -12px rgba(79,70,229,.5); }
.services-grid .card:nth-of-type(odd) .ico { background: var(--grad-a); }
.services-grid .card:nth-of-type(even) .ico { background: var(--grad-b); }

.sectors .sector .si { color: #fff; }
.sectors .sector:nth-child(odd) .si { background: var(--grad-a); }
.sectors .sector:nth-child(even) .si { background: var(--grad-b); }

.values .value .ico { color: #fff; }
.values .value:nth-child(odd) .ico { background: var(--grad-a); }
.values .value:nth-child(even) .ico { background: var(--grad-b); }

.steps .step:nth-child(odd) .num { background: var(--grad-a); }
.steps .step:nth-child(even) .num { background: var(--grad-b); }

/* Categorías del blog — mismo acento sobrio */
.post-cat { color: #fff; border: none; background: var(--grad-a); }

/* Logo-chips: acento índigo al pasar el mouse */
.logo-chip:hover { border-color: rgba(79,70,229,.45); box-shadow: 0 10px 26px -16px rgba(79,70,229,.5); }

/* Glow sutil en la sección de stack */
.stack::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; filter: blur(130px); opacity: .14; background: radial-gradient(circle, rgba(109,40,217,.5), transparent 70%); top: 20%; right: -160px; z-index: 0; pointer-events: none; }
.stack .container { position: relative; z-index: 1; }

/* Tarjetas: sombra de acento en hover */
.card:hover { box-shadow: 0 24px 60px -30px rgba(79,70,229,.5); }

/* Números/estadísticas con degradado de marca */
.hero-stats .stat strong, .mini-stats strong, .stat-card .big { background: var(--grad-vivid); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Eyebrow en índigo sobrio */
.eyebrow { color: var(--indigo); }
.section-head.center .eyebrow { color: var(--indigo); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .why, .contact-grid, .product-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .card.feature { grid-column: span 2; grid-template-columns: 1fr; }
  .hero-2col, .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-text { order: 0; }
  .stack-groups { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card.featured { grid-column: span 2; flex-direction: column; }
  .post-card.featured .post-thumb { width: 100%; aspect-ratio: 16/10; }
  .values { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-inline: auto; }
}
/* Nav colapsa a menú móvil en tablets y laptops chicos (evita que se amontone) */
@media (max-width: 1040px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: flex; }
  .nav-links.mobile-open {
    display: flex; position: fixed; inset: 112px 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(250,250,246,.98); backdrop-filter: blur(20px); padding: 18px 24px 28px; gap: 4px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow); max-height: calc(100vh - 112px); overflow-y: auto;
  }
  .nav-links.mobile-open a { padding: 14px; font-size: 16px; }
  .nav-links.mobile-open .has-dropdown { display: block; }
  /* submenús como acordeón (se abren al tocar) */
  .nav-links.mobile-open .dropdown {
    position: static; width: auto; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; box-shadow: none; padding: 2px 0 4px 10px;
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links.mobile-open .dropdown::before { display: none; }
  .nav-links.mobile-open .has-dropdown.open .dropdown { max-height: 680px; }
  .nav-links.mobile-open .has-dropdown.open > a::after { transform: rotate(225deg); margin-top: 2px; }
  .nav-links.mobile-open .dropdown a { padding: 11px 12px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .card.feature { grid-column: span 1; }
  .steps, .sectors, .footer-grid, .form .row { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .topbar-left .topbar-item-hide { display: none; }
  .topbar-inner { justify-content: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: span 1; }
  .values { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   FAQ (acordeón nativo) — SEO FAQPage
   ============================================================ */
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 24px;
  transition: border-color .25s, box-shadow .25s;
}
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-display); font-weight: 600;
  font-size: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q-ico { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--grad-soft); display: grid; place-items: center; color: var(--violet); transition: transform .3s; }
.faq summary .q-ico svg { width: 16px; height: 16px; }
.faq details[open] summary .q-ico { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; font-size: 15.5px; margin: 0; }

/* ============================================================
   VITRINA DE PRODUCTOS (home: Simple CRM + MiSindicatoPro)
   ============================================================ */
.products-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.product-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.product-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); opacity: .9; }
.product-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.product-card .pc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; min-height: 46px; }
.product-card .pc-logo { height: 34px; width: auto; }
.product-card .pc-badge { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.product-card .pc-badge svg { width: 24px; height: 24px; }
.product-card .pc-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.product-card .pc-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--indigo); background: var(--grad-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.product-card h3 { font-size: 21px; margin-bottom: 10px; }
.product-card > p { color: var(--muted); font-size: 15px; }
.product-card .pc-list { display: grid; gap: 9px; margin-top: 20px; }
.product-card .pc-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; }
.product-card .pc-list .fi { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--grad-soft); display: grid; place-items: center; color: var(--indigo); margin-top: 1px; }
.product-card .pc-list .fi svg { width: 12px; height: 12px; }
.product-card .pc-actions { margin-top: auto; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 520px) { .products-showcase { grid-template-columns: 1fr; } }

/* ============================================================
   NEURALNEWS (feed de noticias, sin fotos)
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.news-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-a); }
.news-card:nth-child(3n+2)::before { background: var(--grad-b); }
.news-card:nth-child(3n+3)::before { background: linear-gradient(135deg, #2563EB, #4F46E5); }
.news-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.news-cat { font-size: 12px; font-weight: 600; color: #fff; background: var(--grad-a); padding: 5px 12px; border-radius: 999px; }
.news-card:nth-child(3n+2) .news-cat { background: var(--grad-b); }
.news-card:nth-child(3n+3) .news-cat { background: linear-gradient(135deg, #2563EB, #4F46E5); }
.news-date { font-size: 12.5px; color: var(--muted-2); }
.news-card h3 { font-size: 19px; line-height: 1.28; margin-bottom: 12px; }
.news-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.news-source { margin-top: 20px; font-size: 13.5px; font-weight: 600; color: var(--indigo); display: inline-flex; align-items: center; gap: 7px; }
.news-source svg { width: 14px; height: 14px; }
.news-empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); color: var(--muted); }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* NeuralNews — sello Neural + CTA por noticia */
.news-card p { flex: 1; }
.news-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.news-by { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted-2); }
.news-by img { width: 20px; height: 20px; object-fit: contain; }
.news-by b { color: var(--text); font-weight: 600; }
.news-need { font-size: 13.5px; color: var(--text); font-weight: 600; }
.news-cta { align-self: flex-start; padding: 11px 20px; font-size: 14px; }
.news-cta svg { width: 15px; height: 15px; }
.news-featured { grid-column: 1 / -1; }
.news-featured h3 { font-size: 26px; }
.news-featured .news-foot { flex-direction: row; align-items: center; justify-content: space-between; }
@media (max-width: 700px) { .news-featured .news-foot { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   IA POR INDUSTRIA (verticales SEO)
   ============================================================ */
.verticals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.vertical {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 22px;
  padding: 34px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.vertical::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-a); }
.vertical:nth-child(even)::before { background: var(--grad-b); }
.vertical:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.vertical .v-ico { width: 62px; height: 62px; border-radius: 17px; display: grid; place-items: center; color: #fff; align-self: start; background: var(--grad-a); box-shadow: 0 12px 28px -10px rgba(79,70,229,.5); transition: transform .35s; }
.vertical:nth-child(even) .v-ico { background: var(--grad-b); }
.vertical:hover .v-ico { transform: translateY(-3px) scale(1.05); }
.vertical .v-ico svg { width: 30px; height: 30px; }
.vertical h2 { font-size: 21px; margin-bottom: 8px; }
.vertical p { color: var(--muted); font-size: 14.5px; }
.vertical .v-uses { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.vertical .v-uses span { font-size: 12px; color: var(--muted-2); padding: 5px 11px; border: 1px solid var(--border); border-radius: 999px; }
@media (max-width: 820px) { .verticals { grid-template-columns: 1fr; } .vertical { grid-template-columns: 1fr; } }

/* ============================================================
   RESPONSIVE — refinamientos (tablets, teléfonos, pantallas grandes)
   ============================================================ */
/* Bloque de equipo (Nosotros): apila en pantallas medianas/chicas */
@media (max-width: 760px) {
  .team-band > div { grid-template-columns: 1fr !important; gap: 28px !important; }
}
/* Logos: 2 columnas en teléfonos (8 logos → filas parejas, sin huecos) */
@media (max-width: 560px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .section { padding: clamp(54px, 12vw, 92px) 0; }
  .vertical { padding: 26px; }
  .cta-banner { padding: 46px 22px; }
  .stack-group, .news-card, .value, .card { padding: 26px; }
  .card.feature { padding: 26px; }
  /* en teléfonos el CTA del header se accede desde el menú (evita desborde) */
  .nav-cta .btn-primary { display: none; }
}
/* Teléfonos: botones full-width, padding lateral más ajustado */
@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .hero-actions, .pc-actions, .product-actions { width: 100%; }
  .hero-actions .btn, .pc-actions .btn, .product-actions .btn { width: 100%; }
  .breadcrumb { flex-wrap: wrap; }
  .topbar-tag { font-size: 12px; }
  .brand { font-size: 17px; }
}
/* Pantallas muy grandes (TVs / monitores 4K): ensancha el contenedor con mesura */
@media (min-width: 1800px) {
  :root { --maxw: 1360px; }
  body { font-size: 18px; }
}
