/* ── Variables ─────────────────────────────────── */
    :root {
      --bg:          #0B132B;
      --bg-2:        #091028;
      --bg-3:        #060c1e;
      --surface:     rgba(255,255,255,0.04);
      --surface-h:   rgba(255,255,255,0.07);
      --border:      rgba(255,255,255,0.08);
      --border-glow: rgba(0,209,255,0.28);
      --primary:     #00D1FF;
      --primary-dim: rgba(0,209,255,0.12);
      --accent:      #00F5D4;
      --accent-dim:  rgba(0,245,212,0.10);
      --text:        #F0F4F8;
      --muted:       #8fa3b4;
      --muted-2:     #637c8e;
      --font:        'Inter', sans-serif;
      --font-d:      'Space Grotesk', sans-serif;
      --radius:      16px;
      --radius-lg:   24px;
      --shell:       min(1200px, calc(100vw - 48px));
      --nav-h:       72px;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html  { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
    body  {
      font-family: var(--font);
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }
    a     { color: inherit; text-decoration: none; }
    img   { display: block; max-width: 100%; }
    ul    { list-style: none; }

    /* ── Layout ────────────────────────────────────── */
    .shell   { width: var(--shell); margin: 0 auto; }
    .section { padding: clamp(80px,12vw,140px) 0; }

    .section-head {
      display: grid; gap: 14px;
      max-width: 640px;
      margin-bottom: clamp(48px,7vw,80px);
    }
    .section-head.centered { margin-inline: auto; text-align: center; }
    .section-head h2 { font-size: clamp(2rem,4vw,3rem); font-family: var(--font-d); letter-spacing: -.03em; line-height: 1.08; }
    .section-lead    { font-size: 1.08rem; color: var(--muted); line-height: 1.72; }

    /* ── Typography helpers ────────────────────────── */
    h1,h2,h3,h4 { font-family: var(--font-d); line-height: 1.1; letter-spacing: -.03em; }

    .eyebrow {
      font-size: .75rem; font-weight: 700; letter-spacing: .12em;
      text-transform: uppercase; color: var(--primary);
    }

    .gradient-text {
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
      background-size: 200% auto;
      animation: shimmer 4s linear infinite;
    }
    @keyframes shimmer {
      from { background-position: -200% center; }
      to   { background-position:  200% center; }
    }

    /* ── Buttons ───────────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      padding: 0 24px; height: 44px;
      border-radius: 999px; border: none; cursor: pointer;
      font-family: var(--font-d); font-size: .9rem; font-weight: 600;
      transition: all .22s ease; white-space: nowrap;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #04101c;
      box-shadow: 0 8px 28px rgba(0,209,255,.28);
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 40px rgba(0,209,255,.40);
      filter: brightness(1.06);
    }
    .btn-ghost {
      background: transparent;
      border: 1px solid var(--border);
      color: var(--text);
    }
    .btn-ghost:hover {
      border-color: var(--primary);
      color: var(--primary);
      background: var(--primary-dim);
    }
    .btn-lg { height: 54px; padding: 0 32px; font-size: .98rem; }

    /* ── Scroll reveal ─────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(36px);
      transition: opacity .7s ease, transform .7s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .d1 { transition-delay: .10s; }
    .d2 { transition-delay: .20s; }
    .d3 { transition-delay: .30s; }
    .d4 { transition-delay: .40s; }
    .d5 { transition-delay: .50s; }

    /* ── Glow line ─────────────────────────────────── */
    .glow-line {
      width: 100%; height: 1px;
      background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
      opacity: .35;
    }

    /* ── Cursor glow ───────────────────────────────── */
    #cursor-glow {
      position: fixed; width: 420px; height: 420px; border-radius: 50%;
      pointer-events: none; z-index: 0;
      background: radial-gradient(circle, rgba(0,209,255,.04), transparent 70%);
      transform: translate(-50%,-50%);
      mix-blend-mode: screen;
    }

    /* ════════════════════════════════════════════════
       HEADER
    ════════════════════════════════════════════════ */
    .site-header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      height: var(--nav-h);
      transition: background .3s, border-color .3s;
    }
    .site-header.scrolled {
      background: rgba(8,14,36,.90);
      backdrop-filter: blur(22px) saturate(1.5);
      border-bottom: 1px solid var(--border);
    }
    .nav-inner {
      height: var(--nav-h);
      display: flex; align-items: center; justify-content: space-between; gap: 32px;
    }
    .brand {
      display: flex; align-items: center; gap: 10px;
      font-family: var(--font-d); font-size: 1.35rem; font-weight: 700;
    }
    .brand img { height: 38px; width: auto; }
    .brand-name {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .nav-links {
      display: flex; align-items: center; gap: 30px;
    }
    .nav-links a {
      font-size: .92rem; font-weight: 500; color: var(--muted);
      transition: color .2s;
    }
    .nav-links a:hover { color: var(--text); }

    .btn-access {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 0 18px; height: 38px; border-radius: 999px;
      border: 1px solid rgba(0,209,255,.35);
      background: rgba(0,209,255,.08);
      color: var(--primary); font-family: var(--font-d);
      font-size: .84rem; font-weight: 600;
      transition: all .2s; white-space: nowrap;
    }
    .btn-access:hover {
      background: rgba(0,209,255,.16);
      border-color: var(--primary);
      transform: translateY(-1px);
    }
    .btn-access .dot-live {
      width: 6px; height: 6px; border-radius: 50%;
      background: #22c55e; flex-shrink: 0;
      animation: pulse 2s ease-in-out infinite;
    }

    .nav-toggle {
      display: none; flex-direction: column; gap: 5px;
      padding: 8px; background: none; border: none; cursor: pointer;
    }
    .nav-toggle span {
      display: block; width: 24px; height: 2px;
      background: var(--text); border-radius: 2px; transition: all .3s;
    }

    /* ── Mobile menu ───────────────────────────────── */
    .mobile-menu {
      display: none; position: fixed; inset: 0;
      background: rgba(8,14,36,.97); backdrop-filter: blur(24px);
      z-index: 99; flex-direction: column; align-items: center;
      justify-content: center; gap: 28px;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      font-family: var(--font-d); font-size: 2rem; font-weight: 700;
      color: var(--text); transition: color .2s;
    }
    .mobile-menu a:hover { color: var(--primary); }
    .mobile-close {
      position: absolute; top: 22px; right: 24px;
      background: none; border: none; color: var(--text);
      font-size: 2rem; cursor: pointer; line-height: 1;
    }

    /* ════════════════════════════════════════════════
       HERO
    ════════════════════════════════════════════════ */
    .hero {
      position: relative; min-height: 100vh;
      display: flex; align-items: center; overflow: hidden;
    }
    #particles { position: absolute; inset: 0; z-index: 0; }
    .hero-bg {
      position: absolute; inset: 0; z-index: 1;
      background:
        linear-gradient(160deg, rgba(10,18,38,.88) 0%, rgba(8,14,30,.9) 100%),
        radial-gradient(ellipse at 18% 45%, rgba(0,209,255,.12), transparent 50%),
        radial-gradient(ellipse at 78% 18%, rgba(0,245,212,.09), transparent 42%),
        url("/assets/img/fondo-web.png") center/cover no-repeat;
    }
    .hero-inner {
      position: relative; z-index: 2;
      display: grid; grid-template-columns: 1fr 1fr;
      align-items: center; gap: 60px;
      padding: calc(var(--nav-h) + 72px) 0 100px;
    }
    .hero-copy { display: grid; gap: 22px; }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 14px; border-radius: 999px;
      border: 1px solid rgba(0,209,255,.30);
      background: rgba(0,209,255,.08);
      font-size: .78rem; font-weight: 600; color: var(--primary);
      width: fit-content;
      animation: fadeUp .6s ease .2s both;
    }
    .badge-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--primary);
      animation: pulse 2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%,100% { opacity:1; transform:scale(1); }
      50%      { opacity:.5; transform:scale(1.6); }
    }

    .hero h1 {
      font-size: clamp(3rem,5.6vw,5.2rem);
      line-height: 1.0; letter-spacing: -.045em;
      animation: fadeUp .7s ease .35s both;
    }
    .hero-lead {
      font-size: 1.14rem; color: var(--muted); line-height: 1.72;
      max-width: 480px;
      animation: fadeUp .7s ease .5s both;
    }
    .hero-actions {
      display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
      animation: fadeUp .7s ease .62s both;
    }
    .hero-trust {
      display: flex; align-items: center; gap: 12px;
      color: var(--muted-2); font-size: .86rem;
      animation: fadeUp .7s ease .75s both;
    }
    .avatars { display: flex; }
    .av {
      width: 30px; height: 30px; border-radius: 50%;
      border: 2px solid var(--bg-2);
      margin-left: -8px; display: flex; align-items: center; justify-content: center;
      font-size: .66rem; font-weight: 700; color: #04101c;
    }
    .av:first-child { margin-left: 0; }

    /* ── Hero visual (chat card) ───────────────────── */
    .hero-visual {
      position: relative;
      display: flex; align-items: center; justify-content: center;
      animation: fadeIn 1s ease .6s both;
    }
    .hero-mark {
      position: absolute; inset: auto;
      width: min(360px, 70%);
      opacity: .18;
      filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.45));
      pointer-events: none;
    }
    .hero-card {
      width: 100%; max-width: 420px;
      border-radius: 22px;
      border: 1px solid rgba(20,34,53,.10);
      background: #ffffff;
      padding: 0;
      box-shadow: 0 28px 64px rgba(8,18,38,.22), 0 2px 8px rgba(8,18,38,.10);
      animation: float 7s ease-in-out infinite;
      overflow: hidden;
      color: #0e1c2e;
    }
    @keyframes float {
      0%,100% { transform: translateY(0); }
      50%      { transform: translateY(-14px); }
    }
    /* ── Hero chat card — espeja el widget real (tema claro) ── */
    .card-whead {
      background: linear-gradient(135deg, #009ec4, #00D1FF);
      padding: 14px 16px;
      display: flex; align-items: center; gap: 12px;
      color: #fff;
    }
    .card-icon {
      width: 38px; height: 38px; border-radius: 999px; flex-shrink: 0;
      background: rgba(255,255,255,.18);
      border: 1px solid rgba(255,255,255,.22);
      display: flex; align-items: center; justify-content: center; font-size: 1rem;
    }
    .card-title { font-family: var(--font-d); font-size: .88rem; font-weight: 700; color: #fff; }
    .card-sub   { font-size: .70rem; opacity: .85; color: #fff; }
    .online-dot {
      width: 6px; height: 6px; border-radius: 50%; background: #86efac;
      display: inline-block; margin-right: 4px;
      animation: pulse 2.5s ease-in-out infinite;
    }

    .chat-msgs  {
      display: grid; gap: 9px;
      padding: 14px;
      background: linear-gradient(180deg, #f2f9ff, #f4f7fb 40%, #f9fbfe);
    }
    .msg {
      padding: 9px 12px; border-radius: 16px;
      font-size: .80rem; line-height: 1.52; max-width: 88%;
      font-family: 'Inter', sans-serif;
    }
    .msg-ai   {
      background: #fff; color: #0e1c2e;
      border: 1px solid rgba(20,34,53,.09);
      border-bottom-left-radius: 4px;
      box-shadow: 0 4px 12px rgba(9,20,40,.06);
    }
    .msg-user {
      background: linear-gradient(135deg, #009ec4, #00D1FF);
      color: #fff;
      border-bottom-right-radius: 4px;
      margin-left: auto;
    }

    .typing {
      display: flex; gap: 4px; align-items: center;
      padding: 9px 12px; border-radius: 16px; border-bottom-left-radius: 4px;
      background: #fff; border: 1px solid rgba(20,34,53,.09);
      width: fit-content;
      box-shadow: 0 4px 12px rgba(9,20,40,.06);
    }
    .typing span {
      width: 6px; height: 6px; border-radius: 50%;
      background: #00D1FF; opacity: .55;
      animation: bounce 1.1s ease-in-out infinite;
    }
    .typing span:nth-child(2) { animation-delay: .18s; }
    .typing span:nth-child(3) { animation-delay: .36s; }
    @keyframes bounce {
      0%,60%,100% { transform: translateY(0);  opacity: .4; }
      30%          { transform: translateY(-5px); opacity: 1; }
    }

    .chat-input {
      display: flex; align-items: center; gap: 8px;
      padding: 10px 14px;
      border-top: 1px solid rgba(20,34,53,.08);
      background: rgba(255,255,255,.96);
    }
    .chat-input span {
      flex: 1; font-size: .76rem; color: #8fa3b4;
      font-family: 'Inter', sans-serif;
    }
    .send-btn {
      min-width: 64px; height: 34px; border-radius: 999px;
      background: linear-gradient(135deg, #009ec4, #00D1FF);
      color: #fff; display: flex; align-items: center;
      justify-content: center; font-size: .72rem;
      font-weight: 700; font-family: 'Inter', sans-serif;
      box-shadow: 0 4px 12px rgba(0,160,200,.25);
    }

    /* ── Floating stat badges ──────────────────────── */
    .hero-stat {
      position: absolute; padding: 11px 15px;
      border-radius: 14px; backdrop-filter: blur(14px);
      background: rgba(8,14,36,.88);
      border: 1px solid rgba(0,209,255,.22);
      box-shadow: 0 14px 40px rgba(0,0,0,.30);
      display: flex; align-items: center; gap: 10px;
      font-size: .80rem; z-index: 3;
    }
    .hero-stat-1 { top: 8%; right: -8%; animation: float 9s ease-in-out infinite; }
    .hero-stat-2 { bottom: 10%; left: -10%; animation: float 8s ease-in-out 1.2s infinite; }
    .s-icon  { font-size: 1.3rem; }
    .s-num   { font-family: var(--font-d); font-size: 1.05rem; font-weight: 700; color: var(--primary); }
    .s-label { font-size: .73rem; color: var(--muted); }

    /* ── Scroll indicator ──────────────────────────── */
    .scroll-ind {
      position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
      z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 7px;
      color: var(--muted-2); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
      animation: fadeUp 1s ease 1.5s both;
    }
    .scroll-line {
      width: 1px; height: 38px;
      background: linear-gradient(to bottom, transparent, var(--primary));
      animation: linePulse 2s ease-in-out infinite;
    }
    @keyframes linePulse {
      0%,100% { opacity:.3; transform:scaleY(.6); }
      50%      { opacity:1;  transform:scaleY(1); }
    }

    @keyframes fadeUp {
      from { opacity:0; transform:translateY(22px); }
      to   { opacity:1; transform:translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity:0; }
      to   { opacity:1; }
    }

    /* ════════════════════════════════════════════════
       ABOUT
    ════════════════════════════════════════════════ */
    .about-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: clamp(48px,8vw,96px); align-items: center;
    }
    .about-copy { display: grid; gap: 18px; }
    .about-copy h2 { font-size: clamp(2rem,3.6vw,2.8rem); }
    .about-copy p  { color: var(--muted); line-height: 1.76; }
    .about-feats   { display: grid; gap: 10px; margin-top: 6px; }
    .about-feat {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 13px 15px; border-radius: 13px;
      border: 1px solid var(--border); background: var(--surface);
      transition: border-color .2s, background .2s;
    }
    .about-feat:hover {
      border-color: rgba(0,209,255,.28);
      background: var(--primary-dim);
    }
    .feat-ico  { font-size: 1.15rem; flex-shrink: 0; margin-top: 1px; }
    .feat-body h4 { font-size: .9rem; font-weight: 600; margin-bottom: 2px; }
    .feat-body p  { font-size: .82rem; color: var(--muted); line-height: 1.5; margin: 0; }

    .about-stats   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .stat-card {
      padding: 26px 22px; border-radius: 20px;
      border: 1px solid var(--border); background: var(--surface);
      transition: transform .3s, border-color .3s;
    }
    .stat-card:hover { transform: translateY(-4px); border-color: rgba(0,209,255,.28); }
    .stat-card.accent {
      background: linear-gradient(135deg, rgba(0,209,255,.10), rgba(0,245,212,.06));
      border-color: rgba(0,209,255,.20);
    }
    .stat-card.wide { grid-column: span 2; }
    .stat-val {
      font-family: var(--font-d); font-size: 2.3rem; font-weight: 700; line-height: 1;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
      margin-bottom: 6px;
    }
    .stat-desc { font-size: .86rem; color: var(--muted); line-height: 1.52; }

    /* ════════════════════════════════════════════════
       SERVICES
    ════════════════════════════════════════════════ */
    .services-bg {
      background:
        radial-gradient(ellipse at 50% 0%, rgba(0,209,255,.07), transparent 58%),
        linear-gradient(180deg, var(--bg) 0%, #091428 50%, var(--bg) 100%);
    }
    .services-grid {
      display: grid; grid-template-columns: repeat(3,1fr); gap: 18px;
    }
    .svc-card {
      padding: 30px 26px; border-radius: 20px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.025);
      display: grid; gap: 14px; position: relative; overflow: hidden;
      transition: all .3s ease;
    }
    .svc-card::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(0,209,255,.06), rgba(0,245,212,.04));
      opacity: 0; transition: opacity .3s;
    }
    .svc-card:hover::before { opacity: 1; }
    .svc-card:hover {
      border-color: rgba(0,209,255,.32);
      transform: translateY(-6px);
      box-shadow: 0 22px 56px rgba(0,0,0,.28), 0 0 0 1px rgba(0,209,255,.10);
    }
    .svc-card.wide { grid-column: span 2; }
    .svc-card.wide .svc-body { display: grid; gap: 14px; }

    .svc-ico {
      width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
    }
    .ico-a { background: linear-gradient(135deg, rgba(0,209,255,.20), rgba(0,245,212,.10)); }
    .ico-b { background: linear-gradient(135deg, rgba(0,245,212,.20), rgba(0,209,255,.10)); }
    .ico-c { background: linear-gradient(135deg, rgba(138,99,255,.16), rgba(0,209,255,.10)); }
    .ico-d { background: linear-gradient(135deg, rgba(72,213,150,.16), rgba(0,245,212,.10)); }

    .svc-tag  { font-size: .70rem; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; color: var(--primary); }
    .svc-card h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
    .svc-card p  { font-size: .90rem; color: var(--muted); line-height: 1.65; }
    .svc-feats   { display: grid; gap: 5px; }
    .svc-feat {
      display: flex; align-items: center; gap: 8px;
      font-size: .82rem; color: var(--muted);
    }
    .svc-feat::before {
      content: ''; width: 5px; height: 5px; border-radius: 50%;
      background: var(--accent); flex-shrink: 0;
    }
    .svc-link {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: .86rem; font-weight: 600; color: var(--primary);
      transition: gap .2s; margin-top: 4px;
    }
    .svc-link:hover { gap: 10px; }

    /* ════════════════════════════════════════════════
       PROCESS
    ════════════════════════════════════════════════ */
    .process-grid {
      display: grid; grid-template-columns: repeat(4,1fr);
      gap: 18px; position: relative;
    }
    .process-grid::before {
      content: ''; position: absolute; z-index: 0;
      top: 31px; left: calc(12.5% + 24px); right: calc(12.5% + 24px); height: 1px;
      background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
      opacity: .4;
    }
    .process-step { display: grid; gap: 14px; text-align: center; position: relative; z-index: 1; }
    .p-num {
      width: 62px; height: 62px; border-radius: 50%; margin: 0 auto;
      border: 2px solid rgba(0,209,255,.30);
      background: linear-gradient(135deg, rgba(0,209,255,.10), rgba(0,245,212,.06));
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-d); font-size: 1.25rem; font-weight: 700; color: var(--primary);
      transition: all .3s;
    }
    .process-step:hover .p-num {
      border-color: var(--primary);
      box-shadow: 0 0 24px rgba(0,209,255,.25);
    }
    .process-step h3 { font-size: 1.02rem; }
    .process-step p  { font-size: .87rem; color: var(--muted); line-height: 1.6; }

    /* ════════════════════════════════════════════════
       RESULTS
    ════════════════════════════════════════════════ */
    .results-bg {
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: linear-gradient(135deg, rgba(0,209,255,.05) 0%, transparent 50%, rgba(0,245,212,.04) 100%);
    }
    .metrics-grid { display: grid; grid-template-columns: repeat(3,1fr); }
    .metric {
      padding: 48px 38px; text-align: center;
      border-right: 1px solid var(--border);
    }
    .metric:last-child { border-right: none; }
    .m-val {
      font-family: var(--font-d); font-size: clamp(2.8rem,5vw,3.8rem); font-weight: 700; line-height: 1;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
      margin-bottom: 12px;
    }
    .m-label { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
    .m-desc  { font-size: .87rem; color: var(--muted); line-height: 1.6; }

    /* ════════════════════════════════════════════════
       VALUE PROPOSITION
    ════════════════════════════════════════════════ */
    .value-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: clamp(48px,8vw,96px); align-items: center;
    }
    .value-items { display: grid; gap: 22px; }
    .value-item  { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
    .v-num {
      font-size: .7rem; font-weight: 700; letter-spacing: .08em;
      color: var(--primary); background: rgba(0,209,255,.10);
      border: 1px solid rgba(0,209,255,.20); border-radius: 8px;
      width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    }
    .value-item h3 { font-size: 1.02rem; margin-bottom: 5px; }
    .value-item p  { font-size: .88rem; color: var(--muted); line-height: 1.66; }

    .value-visual {
      padding: 28px; border-radius: 26px;
      border: 1px solid rgba(0,209,255,.14);
      background: rgba(255,255,255,.02);
      position: relative; overflow: hidden;
    }
    .value-visual::before {
      content: ''; position: absolute; inset: -1px; border-radius: 26px;
      padding: 1px;
      background: linear-gradient(135deg, rgba(0,209,255,.30), transparent 50%, rgba(0,245,212,.20));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor; mask-composite: exclude;
      pointer-events: none;
    }
    .stack-list { display: grid; gap: 10px; }
    .stack-item {
      display: flex; align-items: center; gap: 13px;
      padding: 14px 16px; border-radius: 13px;
      background: rgba(255,255,255,.04); border: 1px solid var(--border);
      transition: all .3s;
    }
    .stack-item:hover {
      border-color: rgba(0,209,255,.26); background: rgba(0,209,255,.06);
      transform: translateX(4px);
    }
    .si-ico  { font-size: 1.3rem; }
    .si-body h4 { font-size: .9rem; font-weight: 600; }
    .si-body p  { font-size: .78rem; color: var(--muted); }
    .si-check   { margin-left: auto; color: var(--accent); font-size: .95rem; }

    /* ════════════════════════════════════════════════
       TESTIMONIALS
    ════════════════════════════════════════════════ */
    .testi-bg {
      background: radial-gradient(ellipse at 50% 100%, rgba(0,245,212,.05), transparent 58%);
    }
    .testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
    .testi-card {
      padding: 26px 22px; border-radius: 20px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.025);
      display: grid; gap: 18px;
      transition: all .3s;
    }
    .testi-card:hover { border-color: rgba(0,209,255,.20); transform: translateY(-4px); }
    .testi-stars { display: flex; gap: 3px; color: #fbbf24; font-size: .88rem; }
    .testi-text  { font-size: .93rem; color: var(--muted); line-height: 1.72; font-style: italic; }
    .testi-author { display: flex; align-items: center; gap: 12px; }
    .t-av {
      width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-d); font-weight: 700; font-size: .95rem; color: #04101c;
    }
    .t-name { font-size: .88rem; font-weight: 600; }
    .t-role { font-size: .76rem; color: var(--muted); }

    /* ════════════════════════════════════════════════
       FAQ
    ════════════════════════════════════════════════ */
    .faq-list { display: grid; gap: 10px; max-width: 800px; margin: 0 auto; }
    .faq-item {
      border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
      transition: border-color .2s;
    }
    .faq-item.open { border-color: rgba(0,209,255,.28); }
    .faq-btn {
      width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
      padding: 18px 22px; background: none; border: none; color: var(--text);
      font-family: var(--font-d); font-size: .97rem; font-weight: 600;
      text-align: left; cursor: pointer; transition: color .2s;
    }
    .faq-item.open .faq-btn { color: var(--primary); }
    .faq-chev {
      width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: .78rem; flex-shrink: 0; transition: all .3s;
    }
    .faq-item.open .faq-chev {
      background: rgba(0,209,255,.10); border-color: rgba(0,209,255,.30);
      transform: rotate(180deg);
    }
    .faq-ans { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
    .faq-item.open .faq-ans { max-height: 400px; }
    .faq-ans-in {
      padding: 0 22px 18px;
      font-size: .92rem; color: var(--muted); line-height: 1.76;
    }

    /* ════════════════════════════════════════════════
       CTA
    ════════════════════════════════════════════════ */
    .cta-section { position: relative; overflow: hidden; text-align: center; }
    .cta-bg {
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse at 50% 50%, rgba(0,209,255,.12), transparent 68%),
        linear-gradient(135deg, rgba(0,209,255,.04), rgba(0,245,212,.05));
    }
    .cta-inner {
      position: relative; z-index: 1;
      max-width: 740px; margin: 0 auto;
      padding: clamp(72px,11vw,128px) clamp(24px,6vw,80px);
      display: grid; gap: 28px;
    }
    .cta-inner h2 { font-size: clamp(2.2rem,4.5vw,3.3rem); }
    .cta-inner p  { font-size: 1.08rem; color: var(--muted); line-height: 1.72; }
    .cta-actions  { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
    .cta-note     { font-size: .80rem; color: var(--muted-2); }

    /* ── Border glow ring ──────────────────────────── */
    .cta-section::before {
      content: ''; position: absolute;
      inset: 1px; border-radius: 32px;
      border: 1px solid rgba(0,209,255,.12);
      pointer-events: none; z-index: 1;
    }

    /* ════════════════════════════════════════════════
       FOOTER
    ════════════════════════════════════════════════ */
    .site-footer { border-top: 1px solid var(--border); padding: 64px 0 40px; }
    .footer-grid {
      display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
      gap: 48px; margin-bottom: 48px;
    }
    .footer-brand { display: grid; gap: 14px; align-content: start; }
    .footer-logo  {
      display: flex; align-items: center; gap: 10px;
      font-family: var(--font-d); font-size: 1.28rem; font-weight: 700;
    }
    .footer-logo img { height: 30px; }
    .footer-desc { font-size: .88rem; color: var(--muted); line-height: 1.72; max-width: 280px; }
    .footer-social { display: flex; gap: 9px; }
    .social-a {
      width: 34px; height: 34px; border-radius: 9px;
      border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
      font-size: .88rem; color: var(--muted); transition: all .2s;
    }
    .social-a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-dim); }

    .footer-col { display: grid; gap: 14px; align-content: start; }
    .col-title  { font-family: var(--font-d); font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
    .col-links  { display: grid; gap: 9px; }
    .col-links a { font-size: .88rem; color: var(--muted); transition: color .2s; }
    .col-links a:hover { color: var(--text); }

    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
      padding-top: 28px; border-top: 1px solid var(--border);
      font-size: .82rem; color: var(--muted-2);
    }
    .footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
    .footer-legal a { color: var(--muted-2); transition: color .2s; }
    .footer-legal a:hover { color: var(--muted); }

    /* ════════════════════════════════════════════════
       PLATFORM SECTION
    ════════════════════════════════════════════════ */
    .platform-bg {
      background:
        radial-gradient(ellipse at 50% 50%, rgba(0,209,255,.07), transparent 65%),
        linear-gradient(180deg, var(--bg) 0%, #091428 50%, var(--bg) 100%);
    }
    .platform-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: clamp(48px,8vw,96px); align-items: center;
    }
    .platform-copy { display: grid; gap: 20px; }
    .platform-copy h2 { font-size: clamp(2rem,3.6vw,2.8rem); }
    .platform-copy p  { color: var(--muted); line-height: 1.76; }

    .platform-portals { display: grid; gap: 12px; margin-top: 6px; }
    .portal-card {
      display: flex; align-items: center; gap: 14px;
      padding: 16px 18px; border-radius: 14px;
      border: 1px solid var(--border); background: var(--surface);
      transition: all .25s;
    }
    .portal-card:hover {
      border-color: rgba(0,209,255,.30);
      background: var(--primary-dim);
      transform: translateX(4px);
    }
    .portal-ico {
      width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    }
    .portal-ico.admin  { background: linear-gradient(135deg, rgba(0,209,255,.20), rgba(0,245,212,.10)); }
    .portal-ico.client { background: linear-gradient(135deg, rgba(138,99,255,.18), rgba(0,209,255,.10)); }
    .portal-ico.config { background: linear-gradient(135deg, rgba(0,245,212,.20), rgba(0,209,255,.08)); }
    .portal-body h4 { font-size: .92rem; font-weight: 600; margin-bottom: 2px; }
    .portal-body p  { font-size: .80rem; color: var(--muted); }
    .portal-arrow   { margin-left: auto; color: var(--primary); opacity: .6; font-size: .9rem; }

    .platform-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

    .platform-visual {
      position: relative;
      border-radius: 24px;
      border: 1px solid rgba(0,209,255,.15);
      background: rgba(255,255,255,.02);
      padding: 6px;
      box-shadow: 0 32px 80px rgba(0,0,0,.40);
    }
    .platform-visual::before {
      content: ''; position: absolute; inset: -1px; border-radius: 24px;
      padding: 1px;
      background: linear-gradient(135deg, rgba(0,209,255,.35), transparent 50%, rgba(0,245,212,.25));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor; mask-composite: exclude;
      pointer-events: none;
    }
    .platform-screen {
      border-radius: 20px; overflow: hidden;
      background: #060d1e;
      border: 1px solid var(--border);
    }
    .pscreen-bar {
      display: flex; align-items: center; gap: 6px;
      padding: 10px 16px;
      background: rgba(255,255,255,.03);
      border-bottom: 1px solid var(--border);
    }
    .pscreen-dot { width: 10px; height: 10px; border-radius: 50%; }
    .pscreen-url {
      flex: 1; margin-left: 8px; padding: 3px 12px; border-radius: 999px;
      background: rgba(255,255,255,.04); border: 1px solid var(--border);
      font-size: .72rem; color: var(--muted-2); letter-spacing: .03em;
    }
    .pscreen-body { padding: 20px; display: grid; gap: 14px; }
    .pscreen-head {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 4px;
    }
    .pscreen-title { font-family: var(--font-d); font-size: .95rem; font-weight: 700; }
    .pscreen-badge {
      padding: 3px 10px; border-radius: 999px;
      background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.3);
      color: #22c55e; font-size: .70rem; font-weight: 600;
    }
    .pscreen-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
    .ps-stat {
      padding: 12px; border-radius: 11px;
      background: rgba(255,255,255,.03); border: 1px solid var(--border);
      text-align: center;
    }
    .ps-stat-val {
      font-family: var(--font-d); font-size: 1.2rem; font-weight: 700;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .ps-stat-lbl { font-size: .68rem; color: var(--muted-2); margin-top: 2px; }
    .pscreen-clients { display: grid; gap: 7px; }
    .pscreen-client {
      display: flex; align-items: center; gap: 10px;
      padding: 9px 12px; border-radius: 9px;
      background: rgba(255,255,255,.03); border: 1px solid var(--border);
    }
    .pc-dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: #22c55e; flex-shrink: 0;
    }
    .pc-name { font-size: .80rem; flex: 1; }
    .pc-convs { font-size: .72rem; color: var(--primary); font-weight: 600; }

    /* ════════════════════════════════════════════════
       RESPONSIVE
    ════════════════════════════════════════════════ */
    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2,1fr); }
      .svc-card.wide { grid-column: span 2; }
      .hero-stat-1, .hero-stat-2 { display: none; }
    }

    @media (max-width: 768px) {
      :root { --shell: calc(100vw - 32px); }
      .nav-links, .nav-cta { display: none; }
      .nav-toggle { display: flex; }

      .hero-inner {
        grid-template-columns: 1fr;
        padding-top: calc(var(--nav-h) + 48px); padding-bottom: 72px;
        text-align: center;
      }
      .hero-visual { display: none; }
      .hero-badge, .hero-lead { margin: 0 auto; }
      .hero-actions, .hero-trust { justify-content: center; }

      .about-grid    { grid-template-columns: 1fr; }
      .about-stats   { grid-template-columns: 1fr 1fr; }
      .stat-card.wide { grid-column: span 2; }

      .services-grid { grid-template-columns: 1fr; }
      .svc-card.wide { grid-column: 1; }

      .process-grid  { grid-template-columns: repeat(2,1fr); }
      .process-grid::before { display: none; }

      .metrics-grid  { grid-template-columns: 1fr; }
      .metric        { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 24px; }
      .metric:last-child { border-bottom: none; }

      .value-grid    { grid-template-columns: 1fr; }
      .platform-grid { grid-template-columns: 1fr; }
      .testi-grid    { grid-template-columns: 1fr; }

      .footer-grid   { grid-template-columns: 1fr 1fr; gap: 28px; }
      .footer-brand  { grid-column: span 2; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }

    @media (max-width: 480px) {
      .process-grid  { grid-template-columns: 1fr; }
      .about-stats   { grid-template-columns: 1fr; }
      .stat-card.wide { grid-column: 1; }
      .footer-grid   { grid-template-columns: 1fr; }
      .footer-brand  { grid-column: 1; }
    }
/* ════════════════════════════════════════════════
   SUBPAGE HELPERS — hero compacto + breadcrumbs
═══════════════════════════════════════════════ */
.subpage-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 64px) 0 56px;
}
.subpage-hero .hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(160deg, rgba(10,18,38,.92) 0%, rgba(8,14,30,.95) 100%),
    radial-gradient(ellipse at 18% 45%, rgba(0,209,255,.12), transparent 50%),
    radial-gradient(ellipse at 78% 18%, rgba(0,245,212,.09), transparent 42%),
    url("/assets/img/fondo-web.png") center/cover no-repeat;
}
.subpage-hero .shell { position: relative; z-index: 2; }
.subpage-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.04; letter-spacing: -.04em;
  max-width: 18ch;
  margin-bottom: 18px;
}
.subpage-hero .hero-lead { font-size: 1.08rem; color: var(--muted); line-height: 1.7; max-width: 620px; margin-bottom: 24px; }
.subpage-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Breadcrumbs */
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: .82rem; color: var(--muted-2);
  margin-bottom: 18px;
  padding-top: 8px;
}
.breadcrumbs a { color: var(--muted); transition: color .2s; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs [aria-current="page"] { color: var(--text); }

/* Resultados page extra */
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kpi-card {
  padding: 32px 26px; border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  text-align: center;
}
.kpi-card .k-val {
  font-family: var(--font-d); font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 14px;
}
.kpi-card .k-label { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.kpi-card .k-desc  { font-size: .87rem; color: var(--muted); line-height: 1.6; }

/* Sub-page generic content sections */
.content-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.content-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.content-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.content-card {
  padding: 28px 26px; border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  display: grid; gap: 12px;
  transition: all .3s ease;
}
.content-card:hover {
  border-color: rgba(0,209,255,.32);
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(0,0,0,.28);
}
.content-card h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.content-card p  { font-size: .92rem; color: var(--muted); line-height: 1.66; }
.content-card .c-tag { font-size: .70rem; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; color: var(--primary); }
.content-card .c-list { display: grid; gap: 6px; padding: 0; list-style: none; }
.content-card .c-list li {
  position: relative; padding-left: 16px; font-size: .86rem; color: var(--muted); line-height: 1.55;
}
.content-card .c-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

@media (max-width: 1024px) {
  .content-grid-3, .content-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .content-grid-2, .content-grid-3, .content-grid-4 { grid-template-columns: 1fr; }
  .subpage-hero { min-height: auto; padding: calc(var(--nav-h) + 48px) 0 40px; }
}
