/* home-below.css - ChronoMatic
   CSS de la home extraido del <style> inline para no bloquear render.
   Solo estilos below-the-fold (services, banner, masonry, pricing,
   footer, etc.). Above-fold (nav, hero, trust, hamburger, reveal,
   keyframes, responsive) siguen inline. Cargado async. */

    /* ════════════════════════════
       SERVICES
    ════════════════════════════ */
    .services { padding: 8rem 3rem; background: var(--bg); }

    .section-header { margin-bottom: 4rem; }
    .section-label {
      font-family: var(--fmono); font-size: 0.68rem; letter-spacing: 0.18em;
      text-transform: uppercase; margin-bottom: 0.875rem;
    }
    .section-label.blue { color: var(--blue); }
    .section-label.sky  { color: var(--sky); }

    .section-title {
      font-family: var(--fhead); font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; max-width: 18ch;
    }
    .section-title .g {
      background: linear-gradient(120deg, var(--blue-l), var(--sky));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }

    .services-layout {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 1rem;
    }

    /* ── Banner Auditoría (punto de partida) ── */
    .audit-banner {
      display: grid; grid-template-columns: 1fr auto;
      gap: 2rem; align-items: center;
      background: linear-gradient(135deg, #0A1A38 0%, #1A6BFF 100%);
      color: #fff; border-radius: 18px; padding: 2.2rem 2.5rem;
      margin-bottom: 1rem; position: relative; overflow: hidden;
      text-decoration: none; transition: transform .25s, box-shadow .3s;
      box-shadow: 0 8px 40px rgba(26,107,255,0.18);
    }
    .audit-banner::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 60% 60% at 90% 50%, rgba(14,165,233,.35), transparent 60%),
                  radial-gradient(ellipse 50% 80% at 10% 50%, rgba(77,143,255,.25), transparent 60%);
      pointer-events: none;
    }
    .audit-banner:hover { transform: translateY(-3px); box-shadow: 0 16px 60px rgba(26,107,255,0.30); }
    .audit-banner-content { position: relative; z-index: 1; }
    .audit-banner-label {
      display: inline-flex; align-items: center; gap: .45rem;
      font-family: var(--fmono); font-size: .62rem; letter-spacing: .14em;
      color: rgba(255,255,255,0.78); text-transform: uppercase;
      background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
      padding: .26rem .7rem; border-radius: 20px; margin-bottom: .85rem;
    }
    .audit-banner-label::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: #4ADE80; box-shadow: 0 0 8px #4ADE80;
      animation: blink 2s ease-in-out infinite;
    }
    .audit-banner h3 {
      font-family: var(--fhead); font-size: clamp(1.4rem, 2.4vw, 1.85rem);
      font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
      color: #fff; margin-bottom: .65rem;
    }
    .audit-banner p {
      font-size: .95rem; color: rgba(255,255,255,0.82); line-height: 1.6;
      max-width: 60ch;
    }
    .audit-banner p strong { color: #fff; font-weight: 600; }
    .audit-banner-cta {
      position: relative; z-index: 1; flex-shrink: 0;
      display: inline-flex; align-items: center; gap: .5rem;
      padding: .95rem 1.6rem; background: #fff; color: var(--blue);
      font-family: var(--fbody); font-weight: 600; font-size: .9rem;
      border-radius: 10px; transition: transform .2s;
    }
    .audit-banner:hover .audit-banner-cta { transform: translateX(4px); }
    @media(max-width:780px){
      .audit-banner{grid-template-columns:1fr;padding:1.8rem 1.5rem;gap:1.25rem}
      .audit-banner-cta{justify-self:start}
    }

    /* ── Mini-pills para variantes en svc-card ── */
    .svc-variants {
      display: flex; flex-wrap: wrap; gap: .35rem;
      margin-top: .85rem;
    }
    .svc-variant {
      font-family: var(--fmono); font-size: .58rem;
      color: var(--sky); background: var(--sky-dim);
      border: 1px solid rgba(14,165,233,0.18);
      padding: .2rem .5rem; border-radius: 5px;
      letter-spacing: .04em;
    }

    .svc-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 14px; padding: 2rem 1.875rem;
      position: relative; overflow: hidden;
      transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
    }
    .svc-card.tall { grid-row: span 2; display: flex; flex-direction: column; }
    .svc-card.wide { grid-column: span 2; }

    .svc-card:hover { transform: translateY(-4px); }
    .svc-card:hover::before { opacity: 1; }

    .svc-card::before {
      content: ''; position: absolute; inset: 0; border-radius: 14px;
      background: radial-gradient(ellipse at top left, var(--glow, transparent) 0%, transparent 65%);
      opacity: 0; transition: opacity 0.4s; pointer-events: none;
    }

    /* Accent stripe a la izquierda */
    .svc-card::after {
      content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
      background: linear-gradient(180deg, var(--accent-from, var(--blue-l)), var(--accent-to, var(--sky)));
      opacity: .55; transition: opacity .3s, width .3s;
    }
    .svc-card:hover::after { opacity: 1; width: 4px; }

    .svc-card.c-blue { --glow: rgba(26,107,255,0.1); --accent-from: #1A6BFF; --accent-to: #4D8FFF; }
    .svc-card.c-blue:hover { border-color: rgba(26,107,255,0.4); box-shadow: 0 8px 40px rgba(26,107,255,0.12); }

    .svc-card.c-sky { --glow: rgba(56,189,248,0.1); --accent-from: #0EA5E9; --accent-to: #38BDF8; }
    .svc-card.c-sky:hover { border-color: rgba(56,189,248,0.4); box-shadow: 0 8px 40px rgba(56,189,248,0.1); }

    .svc-card.c-ll { --glow: rgba(168,200,255,0.08); --accent-from: #4D8FFF; --accent-to: #93C5FD; }
    .svc-card.c-ll:hover { border-color: rgba(168,200,255,0.3); }

    .svc-icon {
      width: 40px; height: 40px; border-radius: 10px;
      background: var(--surface2); border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 1.4rem;
    }
    .svc-icon svg { width: 20px; height: 20px; }

    .svc-num { font-family: var(--fmono); font-size: 0.62rem; color: var(--muted2); letter-spacing: 0.1em; margin-bottom: 0.6rem; }
    .svc-title { font-family: var(--fhead); font-size: 1.25rem; font-weight: 700; line-height: 1.2; margin-bottom: 0.6rem; }
    .svc-title.lg { font-size: 1.75rem; }
    .svc-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

    .svc-tag {
      display: inline-block; margin-top: 1.2rem;
      font-family: var(--fmono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
      padding: 0.2rem 0.6rem; border-radius: 5px;
    }
    .svc-tag.blue { color: var(--blue-l); background: var(--blue-dim); border: 1px solid rgba(26,107,255,0.15); }
    .svc-tag.sky  { color: var(--sky);    background: var(--sky-dim);  border: 1px solid rgba(56,189,248,0.15); }
    .svc-link { display: inline-block; margin-top: 1.4rem; font-size: .82rem; font-weight: 600; color: var(--blue-l); text-decoration: none; letter-spacing: .01em; transition: gap .2s, color .2s; }
    .svc-link:hover { color: var(--sky); }

    /* ── Checklist dentro de la svc-card tall ── */
    .svc-checklist {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: .5rem .9rem; margin-top: 1.4rem;
    }
    .svc-checklist li {
      list-style: none; display: flex; align-items: center; gap: .55rem;
      font-size: .82rem; color: var(--muted); line-height: 1.35;
    }
    .svc-checklist li::before {
      content: ''; flex-shrink: 0; width: 16px; height: 16px; border-radius: 4px;
      background: linear-gradient(135deg, rgba(26,107,255,0.15), rgba(14,165,233,0.12));
      border: 1px solid rgba(26,107,255,0.25);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231A6BFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3,8.5 7,12 13,5'/%3E%3C/svg%3E");
      background-size: 75%; background-position: center; background-repeat: no-repeat;
    }

    /* ── Mini mockup de flujo animado ── */
    .svc-flow {
      margin-top: 1.6rem;
      background: linear-gradient(135deg, rgba(26,107,255,0.05), rgba(14,165,233,0.04));
      border: 1px solid var(--border); border-radius: 12px;
      padding: 1.1rem 1rem; position: relative; overflow: hidden;
    }
    .svc-flow::before {
      content: 'Ejemplo de flujo';
      position: absolute; top: .55rem; left: .9rem;
      font-family: var(--fmono); font-size: .55rem; letter-spacing: .14em;
      color: var(--muted2); text-transform: uppercase;
    }
    .svc-flow-track {
      display: flex; align-items: center; justify-content: space-between;
      gap: .4rem; margin-top: 1.2rem;
    }
    .flow-node {
      flex: 1; min-width: 0;
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 8px; padding: .55rem .5rem;
      display: flex; flex-direction: column; align-items: center; gap: .3rem;
      text-align: center;
    }
    .flow-node svg { width: 16px; height: 16px; color: var(--blue-l); }
    .flow-node span {
      font-family: var(--fmono); font-size: .58rem;
      color: var(--text); letter-spacing: .02em; line-height: 1;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
    }
    .flow-arrow {
      width: 14px; height: 2px; flex-shrink: 0; border-radius: 2px; position: relative;
      /* Gradiente estático — la animación flowPulse infinita sobre
         background-position (no compuesta = repaint cada frame) hacía
         work en main thread que Lighthouse marcaba. Visualmente idéntico
         como gradiente fijo. */
      background: linear-gradient(90deg, rgba(26,107,255,0.15), rgba(26,107,255,0.5) 50%, rgba(26,107,255,0.15));
    }
    .flow-arrow::after {
      content: ''; position: absolute; right: -3px; top: 50%; transform: translateY(-50%);
      width: 0; height: 0; border-left: 5px solid rgba(26,107,255,0.55);
      border-top: 4px solid transparent; border-bottom: 4px solid transparent;
    }
    @keyframes flowPulse {
      0%   { background-position: 100% 0; }
      100% { background-position: -100% 0; }
    }

    /* ── Stats strip dentro de svc-card tall ── */
    .svc-impact {
      margin-top: 1.2rem;
      display: grid; grid-template-columns: 1fr 1fr 1fr;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: linear-gradient(135deg, #fff 0%, rgba(234,241,255,0.5) 100%);
      overflow: hidden;
    }
    .svc-impact-item {
      padding: .85rem .5rem;
      text-align: center; position: relative;
    }
    .svc-impact-item + .svc-impact-item {
      border-left: 1px solid var(--border);
    }
    .svc-impact-num {
      font-family: var(--fhead); font-size: 1.45rem; font-weight: 800;
      line-height: 1; letter-spacing: -.03em;
      background: linear-gradient(120deg, var(--blue-l), var(--sky));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .svc-impact-lbl {
      display: block; font-family: var(--fmono); font-size: .54rem;
      letter-spacing: .1em; text-transform: uppercase;
      color: var(--muted); margin-top: .35rem;
      line-height: 1.2;
    }

    /* ── Integraciones grid ── */
    .svc-integrations {
      margin-top: 1rem;
      display: flex; flex-wrap: wrap; gap: .35rem;
    }
    .svc-integrations-label {
      width: 100%; font-family: var(--fmono); font-size: .55rem;
      letter-spacing: .12em; text-transform: uppercase;
      color: var(--muted2); margin-bottom: .15rem;
    }
    .int-pill {
      display: inline-flex; align-items: center; gap: .3rem;
      font-family: var(--fmono); font-size: .62rem;
      color: var(--muted); background: var(--surface);
      border: 1px solid var(--border);
      padding: .28rem .55rem; border-radius: 6px;
      transition: all .2s;
    }
    .int-pill::before {
      content: ''; width: 5px; height: 5px; border-radius: 50%;
      background: linear-gradient(135deg, var(--blue-l), var(--sky));
    }
    .int-pill.more {
      color: var(--blue); background: var(--blue-dim);
      border-color: rgba(26,107,255,0.2);
    }
    .int-pill.more::before { display: none; }

    /* ── Trust / garantías strip ── */
    .svc-trust {
      margin-top: 1.1rem;
      display: grid; grid-template-columns: 1fr 1fr 1fr;
      gap: .5rem;
    }
    .trust-item {
      display: flex; flex-direction: column; align-items: flex-start;
      gap: .35rem; padding: .7rem .75rem;
      border: 1px solid var(--border); border-radius: 10px;
      background: #fff;
      transition: border-color .2s, transform .2s;
    }
    .trust-item:hover {
      border-color: rgba(26,107,255,0.3);
      transform: translateY(-1px);
    }
    .trust-icon {
      width: 24px; height: 24px; border-radius: 6px;
      background: linear-gradient(135deg, rgba(26,107,255,0.12), rgba(14,165,233,0.08));
      border: 1px solid rgba(26,107,255,0.18);
      display: flex; align-items: center; justify-content: center;
      color: var(--blue);
    }
    .trust-icon svg { width: 13px; height: 13px; }
    .trust-title {
      font-family: var(--fhead); font-size: .78rem; font-weight: 700;
      color: var(--text); letter-spacing: -.01em; line-height: 1.15;
    }
    .trust-sub {
      font-family: var(--fmono); font-size: .54rem;
      letter-spacing: .08em; text-transform: uppercase;
      color: var(--muted2); line-height: 1;
    }

    /* ── Guía rápida de pasos ── */
    .svc-steps-quick {
      margin-top: 1.1rem;
      padding: .85rem 1rem;
      border: 1px dashed rgba(26,107,255,0.22);
      border-radius: 10px;
      background: linear-gradient(135deg, rgba(26,107,255,0.03), rgba(14,165,233,0.02));
    }
    .svc-steps-quick-label {
      font-family: var(--fmono); font-size: .55rem;
      letter-spacing: .14em; text-transform: uppercase;
      color: var(--blue); margin-bottom: .55rem;
      display: flex; align-items: center; gap: .35rem;
    }
    .svc-steps-quick-label::before {
      content: ''; width: 14px; height: 1px; background: var(--blue-l);
    }
    .svc-steps-quick ol {
      display: flex; flex-direction: column; gap: .4rem;
      counter-reset: step; padding-left: 0;
    }
    .svc-steps-quick li {
      list-style: none; display: flex; align-items: flex-start; gap: .6rem;
      font-size: .82rem; color: var(--muted); line-height: 1.4;
      counter-increment: step;
    }
    .svc-steps-quick li::before {
      content: counter(step);
      flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
      background: var(--blue); color: #fff;
      font-family: var(--fmono); font-size: .6rem; font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      margin-top: .08rem;
    }
    .svc-steps-quick li strong { color: var(--text); font-weight: 600; }
    .svc-stat { position: absolute; top: 1.1rem; right: 1.4rem; font-family: var(--fhead); font-size: 2.8rem; font-weight: 900; line-height: 1; letter-spacing: -.04em; background: linear-gradient(120deg, var(--blue-l), var(--sky)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; opacity: .38; pointer-events: none; user-select: none; transition: opacity .25s; }
    .svc-card:hover .svc-stat { opacity: .65; }
    .svc-card.tall .svc-stat { font-size: 3.4rem; opacity: .22; }
    .svc-card.tall:hover .svc-stat { opacity: .40; }

    /* ── Preview genérico dentro de svc-card ── */
    .svc-preview {
      margin-top: 1.4rem; border-radius: 10px;
      border: 1px solid var(--border);
      background: linear-gradient(135deg, rgba(244,248,255,0.7), rgba(234,241,255,0.5));
      padding: .85rem .95rem; position: relative;
    }
    .svc-preview-label {
      font-family: var(--fmono); font-size: .52rem; letter-spacing: .14em;
      color: var(--muted2); text-transform: uppercase; margin-bottom: .55rem;
      display: flex; align-items: center; gap: .35rem;
    }
    .svc-preview-label::before {
      content: ''; width: 5px; height: 5px; border-radius: 50%;
      background: #4ADE80; box-shadow: 0 0 6px #4ADE80;
      animation: blink 2.2s ease-in-out infinite;
    }

    /* Preview: AI Overview (SEO) */
    .preview-line {
      height: 6px; border-radius: 3px; margin: .35rem 0;
      background: linear-gradient(90deg, rgba(14,165,233,0.25), rgba(14,165,233,0.08));
    }
    .preview-sources {
      margin-top: .65rem; display: flex; gap: .35rem; flex-wrap: wrap;
    }
    .preview-source {
      font-family: var(--fmono); font-size: .55rem; letter-spacing: .04em;
      color: var(--sky); background: rgba(14,165,233,0.09);
      padding: .18rem .4rem; border-radius: 4px;
      border: 1px solid rgba(14,165,233,0.18);
    }

    /* Preview: Chat (Agentes IA) */
    .chat-bubble {
      font-size: .72rem; line-height: 1.3;
      padding: .4rem .6rem; border-radius: 10px;
      max-width: 85%; margin-bottom: .35rem;
    }
    .chat-bubble.user {
      background: rgba(26,107,255,0.10); color: var(--text);
      margin-left: auto; border-bottom-right-radius: 3px;
    }
    .chat-bubble.bot {
      background: #fff; border: 1px solid var(--border); color: var(--muted);
      border-bottom-left-radius: 3px;
      display: inline-block;
    }
    .chat-bubble.bot .bot-badge {
      display: inline-block; margin-left: .3rem; font-family: var(--fmono);
      font-size: .5rem; letter-spacing: .08em;
      color: var(--blue); background: var(--blue-dim);
      padding: .08rem .3rem; border-radius: 3px; vertical-align: middle;
    }

    /* Preview: Timeline (SaaS) */
    .preview-timeline {
      display: flex; align-items: flex-start; justify-content: space-between;
      position: relative; margin-top: .3rem;
    }
    .preview-timeline::before {
      content: ''; position: absolute; top: 6px; left: 8%; right: 8%; height: 2px;
      background: linear-gradient(90deg, var(--blue-l) 0%, var(--blue-l) 66%, rgba(168,200,255,0.35) 66%);
      border-radius: 2px;
    }
    .tl-step {
      display: flex; flex-direction: column; align-items: center;
      gap: .25rem; position: relative; z-index: 1; flex: 1;
    }
    .tl-dot {
      width: 14px; height: 14px; border-radius: 50%;
      background: var(--surface); border: 2px solid var(--blue-l);
      position: relative;
    }
    .tl-dot.done { background: var(--blue); border-color: var(--blue); }
    .tl-dot.done::after {
      content: '✓'; position: absolute; inset: 0; color: #fff;
      font-size: .55rem; display: flex; align-items: center; justify-content: center;
      font-weight: 700;
    }
    .tl-dot.active { background: var(--surface); border-color: var(--blue); }
    .tl-dot.active::after {
      content: ''; position: absolute; inset: 3px; border-radius: 50%;
      background: var(--blue); animation: blink 1.5s ease-in-out infinite;
    }
    .tl-step span {
      font-family: var(--fmono); font-size: .55rem; color: var(--muted);
      letter-spacing: .04em;
    }
    .tl-step small {
      font-size: .62rem; color: var(--text); font-weight: 600;
    }

    /* Preview: Browser (Diseño Web) */
    .preview-browser {
      background: #fff; border: 1px solid var(--border);
      border-radius: 8px; overflow: hidden;
    }
    .browser-bar {
      display: flex; align-items: center; gap: .35rem;
      padding: .35rem .55rem; background: #F4F8FF;
      border-bottom: 1px solid var(--border);
    }
    .browser-dot {
      width: 7px; height: 7px; border-radius: 50%;
    }
    .browser-dot:nth-child(1) { background: #FF5F57; }
    .browser-dot:nth-child(2) { background: #FFBD2E; }
    .browser-dot:nth-child(3) { background: #28C840; }
    .browser-url {
      margin-left: auto; font-family: var(--fmono); font-size: .55rem;
      color: var(--muted); background: #fff;
      padding: .12rem .45rem; border-radius: 4px;
      border: 1px solid var(--border);
    }
    .browser-content {
      padding: .55rem; display: flex; flex-direction: column; gap: .3rem;
    }
    .browser-hero {
      height: 22px; border-radius: 4px;
      background: linear-gradient(120deg, var(--blue-l), var(--sky));
    }
    .browser-grid {
      display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .3rem;
    }
    .browser-grid div {
      height: 14px; border-radius: 3px;
      background: linear-gradient(135deg, rgba(26,107,255,0.12), rgba(14,165,233,0.08));
    }
    .svc-stat-lbl { display: block; font-family: var(--fmono); font-size: .52rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted2); margin-top: .85rem; }
    .section-sub { font-size: .95rem; color: var(--muted); max-width: 480px; margin-top: .875rem; line-height: 1.65; font-weight: 300; }

    /* ════════════════════════════
       SHADER SECTION (Three.js)
    ════════════════════════════ */
    .shader-section {
      position: relative; overflow: hidden;
      background: linear-gradient(135deg, #1a3a6e 0%, #2E4E82 50%, #1a3060 100%);
      border-top: 1px solid rgba(26,107,255,0.25);
      border-bottom: 1px solid rgba(26,107,255,0.25);
    }
    @keyframes shaderFlow {
      0%   { opacity: .45; transform: scale(1) rotate(0deg); }
      40%  { opacity: .75; transform: scale(1.10) rotate(1.5deg); }
      100% { opacity: .50; transform: scale(1.04) rotate(-1deg); }
    }
    .shader-section::before {
      content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
      background:
        radial-gradient(ellipse 70% 80% at 18% 50%, rgba(26,107,255,.55) 0%, transparent 58%),
        radial-gradient(ellipse 55% 65% at 82% 45%, rgba(14,165,233,.45) 0%, transparent 52%),
        radial-gradient(circle at 50% 50%, rgba(100,180,255,.12) 0%, transparent 68%);
      animation: shaderFlow 9s ease-in-out infinite alternate;
      will-change: opacity, transform;
    }
    @media (prefers-reduced-motion: reduce) { .shader-section::before { animation: none; } }
    .shader-section .section-label.sky { color: #A8D8FF; }
    .shader-section .section-title { color: #EAF3FF; }
    .shader-section .section-title .g {
      background: linear-gradient(120deg, #A8D8FF, #C8EAFF);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .shader-section .step-title { color: #DCEEff; }
    .shader-section .step-desc  { color: #A8C4E8; }
    .shader-section .step-num   { color: #A8D8FF; }

    .shader-content {
      position: relative; z-index: 1;
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: center;
      padding: 7rem 3rem;
    }

    .steps { margin-top: 2rem; }
    .step {
      display: flex; gap: 1.5rem; padding: 1.6rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .step:last-child { border-bottom: none; }
    .step-num { font-family: var(--fmono); font-size: 0.65rem; color: var(--blue-l); min-width: 2.5rem; padding-top: 0.15rem; letter-spacing: 0.06em; }
    .step-title { font-family: var(--fhead); font-weight: 700; font-size: 1rem; margin-bottom: 0.35rem; }
    .step-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

    /* Terminal */
    .terminal {
      background: rgba(4, 8, 22, 0.95);
      border: 1px solid rgba(26,107,255,0.25);
      border-radius: 12px; overflow: hidden;
      font-family: var(--fmono); font-size: 0.8rem;
      backdrop-filter: blur(8px);
      box-shadow: 0 0 40px rgba(26,107,255,0.12);
    }
    .terminal-bar {
      background: #0B1228; padding: 0.7rem 1rem;
      display: flex; align-items: center; gap: 0.5rem;
      border-bottom: 1px solid var(--border);
    }
    .t-dot { width: 10px; height: 10px; border-radius: 50%; }
    .terminal-body { padding: 1.4rem; line-height: 2.1; }
    .t-p { color: var(--blue-l); } .t-c { color: #EBF2FF; }
    .t-o { color: #7090C0; } .t-s { color: #4ADE80; }
    .t-i { color: var(--sky); }
    .cursor { display: inline-block; width: 7px; height: 13px; background: var(--blue-l); vertical-align: middle; animation: blink 1s step-end infinite; }

    /* ════════════════════════════
       MASONRY GRID — Casos de éxito
    ════════════════════════════ */
    .masonry-section { padding: 8rem 3rem; background: var(--bg); }

    .masonry-header {
      display: flex; justify-content: space-between; align-items: flex-end;
      margin-bottom: 3.5rem; gap: 2rem;
    }
    .masonry-sub { font-size: 0.95rem; color: var(--muted); max-width: 340px; line-height: 1.65; }

    .masonry-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1rem;
    }

    .masonry-item {
      border-radius: 12px; overflow: hidden;
      position: relative; cursor: pointer;
      opacity: 0; transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .masonry-item.w2 { grid-column: span 2; }
    .masonry-item.visible { opacity: 1; transform: none; }
    .masonry-item:hover { transform: scale(1.02); }
    .masonry-item:hover .masonry-overlay { opacity: 1; }

    .masonry-img {
      width: 100%; height: 200px; display: block;
      object-fit: cover; filter: brightness(0.85) saturate(0.9);
      transition: filter 0.3s;
    }
    .masonry-item.w2 .masonry-img { height: 200px; }
    .masonry-item:hover .masonry-img { filter: brightness(0.75) saturate(1); }

    .masonry-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to bottom, rgba(26,107,255,0.5) 0%, rgba(5,9,26,0.85) 100%);
      padding: 1.1rem; display: flex; flex-direction: column; justify-content: flex-end;
      opacity: 0.85; transition: opacity 0.3s;
    }

    .masonry-company {
      font-family: var(--fmono); font-size: 0.62rem; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--sky); margin-bottom: 0.3rem;
    }
    .masonry-result {
      font-family: var(--fhead); font-size: 0.95rem; font-weight: 700;
      color: #EBF2FF; line-height: 1.2;
    }
    .masonry-metric {
      font-family: var(--fhead); font-size: 1.4rem; font-weight: 900;
      color: #93C5FD; margin-top: 0.2rem;
    }

    /* ════════════════════════════
       PRICING
    ════════════════════════════ */
    .pricing {
      padding: 8rem 3rem;
      background: var(--bg2);
      border-top: 1px solid var(--border);
    }

    .plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3.5rem; }

    .plan {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 16px; padding: 2rem 1.875rem;
      position: relative; overflow: hidden;
      transition: transform 0.25s, border-color 0.3s, box-shadow 0.3s;
    }
    .plan:hover { transform: translateY(-4px); }
    .plan.featured {
      border-color: var(--blue);
      background: linear-gradient(160deg, #1A5FFF 0%, #0A3DBF 100%);
      box-shadow: 0 12px 60px rgba(26,107,255,0.35);
    }
    .plan.featured .plan-name,
    .plan.featured .plan-price span,
    .plan.featured .plan-desc,
    .plan.featured .plan-feats li { color: rgba(255,255,255,0.75); }
    .plan.featured .plan-price { color: #fff; }
    .plan.featured .plan-feats li::before { color: #93C5FD; }
    .plan.featured .plan-desc { border-bottom-color: rgba(255,255,255,0.15); }

    .plan-badge {
      position: absolute; top: 1.4rem; right: 1.4rem;
      font-family: var(--fmono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
      background: var(--blue); color: #fff; padding: 0.18rem 0.6rem; border-radius: 4px;
    }

    .plan-name { font-family: var(--fmono); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.7rem; }
    .plan-price { font-family: var(--fhead); font-size: 2.8rem; font-weight: 900; line-height: 1; color: var(--blue-l); }
    .plan-price span { font-size: 0.95rem; font-weight: 400; color: var(--muted); }
    .plan-setup { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.55rem; font-family: var(--fmono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.02em; }
    .plan-setup strong { font-family: var(--fhead); color: var(--text); font-weight: 700; font-size: 0.85rem; }
    .plan.featured .plan-setup, .plan.featured .plan-setup strong { color: rgba(255,255,255,0.85); }
    .plan-desc { font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); line-height: 1.5; }
    .plan-feats { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
    .plan-feats li { font-size: 0.875rem; color: var(--muted); display: flex; gap: 0.6rem; align-items: flex-start; }
    .plan-feats li::before { content: '↗'; color: var(--blue-l); flex-shrink: 0; font-family: var(--fmono); }

    .btn-plan {
      display: block; text-align: center; margin-top: 1.75rem;
      padding: 0.8rem; border-radius: 10px; font-family: var(--fbody);
      font-size: 0.9rem; font-weight: 500; cursor: pointer; text-decoration: none;
      transition: all 0.2s;
    }
    .btn-plan.solid { background: var(--blue); color: #fff; box-shadow: 0 0 24px rgba(26,107,255,0.35); }
    .btn-plan.solid:hover { background: var(--blue-l); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(26,107,255,0.5); }
    .btn-plan.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
    .btn-plan.ghost:hover { border-color: var(--muted); transform: translateY(-2px); }

    /* ════════════════════════════
       CTA BAND
    ════════════════════════════ */
    .cta-band {
      position: relative; overflow: hidden;
      background: linear-gradient(135deg, #D6E8FF 0%, #EAF3FF 50%, #D6E8FF 100%);
      border-top: 1px solid var(--border);
      padding: 6rem 3rem;
      display: flex; align-items: center; justify-content: space-between; gap: 3rem;
    }
    .cta-band::before {
      content: ''; position: absolute; top: -60%; left: -5%;
      width: 500px; height: 500px; border-radius: 50%;
      background: var(--blue); opacity: 0.1; filter: blur(100px);
    }
    .cta-band::after {
      content: ''; position: absolute; bottom: -60%; right: 5%;
      width: 400px; height: 400px; border-radius: 50%;
      background: var(--sky); opacity: 0.08; filter: blur(90px);
    }

    .cta-band h2 {
      font-family: var(--fhead); font-size: clamp(2rem, 3.5vw, 3.2rem);
      font-weight: 900; letter-spacing: -0.035em; line-height: 1.05;
      color: var(--text); max-width: 18ch; position: relative; z-index: 1;
    }
    .cta-band h2 span {
      background: linear-gradient(120deg, var(--blue), var(--sky));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }

    .cta-form { display: flex; gap: 0.75rem; flex-shrink: 0; position: relative; z-index: 1; }
    .cta-input {
      padding: 0.8rem 1.2rem; background: #fff;
      border: 1px solid var(--border); border-radius: 10px;
      color: var(--text); font-family: var(--fbody); font-size: 0.9rem;
      width: 270px; outline: none;
    }
    .cta-input::placeholder { color: var(--muted); }
    .cta-input:focus { border-color: var(--blue); }
    .btn-cta {
      padding: 0.8rem 1.6rem; background: var(--blue); color: #fff;
      font-family: var(--fbody); font-size: 0.9rem; font-weight: 500;
      border: none; border-radius: 10px; cursor: pointer; white-space: nowrap;
      box-shadow: 0 0 24px rgba(26,107,255,0.4);
      transition: background 0.2s, transform 0.15s;
    }
    .btn-cta:hover { background: var(--blue-l); transform: translateY(-2px); }

    /* ════════════════════════════
       FOOTER
    ════════════════════════════ */
    footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 4rem 3rem 2.5rem; }
    footer .footer-top { border-bottom-color: var(--border); }
    footer .logo { color: var(--text); -webkit-text-fill-color: var(--text); }
    .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
    .footer-brand p { font-size: 0.875rem; color: var(--muted); margin-top: 1rem; max-width: 260px; line-height: 1.65; }
    .footer-col h4 { font-family: var(--fmono); font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
    .footer-col a { font-size: 0.875rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
    .footer-col a:hover { color: var(--text); }
    .footer-bottom { display: flex; justify-content: space-between; align-items: center; }
    .footer-copy { font-family: var(--fmono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; }
    .footer-status { display: flex; align-items: center; gap: 0.5rem; font-family: var(--fmono); font-size: 0.62rem; color: var(--muted); }
    .status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 6px #4ADE80; animation: blink 2s ease-in-out infinite; }

    /* ── Enterprise plan ── */
    .plan.enterprise {
      background: linear-gradient(160deg, #07112A 0%, #0A1A38 100%);
      border-color: rgba(14,165,233,0.3);
      box-shadow: 0 12px 60px rgba(14,165,233,0.12);
    }
    .plan.enterprise .plan-name { color: rgba(165,215,255,0.55); }
    .plan.enterprise .plan-price { color: var(--sky); }
    .plan.enterprise .plan-desc { color: rgba(165,215,255,0.6); border-bottom-color: rgba(255,255,255,0.08); }
    .plan.enterprise .plan-feats li { color: rgba(165,215,255,0.65); }

    /* PROYECTOS FIJOS */
    .projects { padding: 5rem 3rem; background: var(--bg); border-top: 1px solid var(--border); }
    .projects-header { text-align: left; margin-bottom: 3rem; }
    .projects-header .section-label { display: block; margin-bottom: .6rem; }
    .projects-header .section-title { margin: 0; }
    .projects-sub { font-size: .95rem; color: var(--muted); margin-top: .8rem; }
    .proj-ctas { display: flex; flex-direction: column; gap: .4rem; margin-top: 1rem; }
    .proj-cta { display: block; text-align: center; padding: .65rem 1.2rem; background: var(--bg); color: var(--text); font-family: var(--fbody); font-size: .82rem; font-weight: 500; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; transition: all .2s; }
    .proj-cta:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
    .proj-info { display: block; text-align: center; padding: .55rem 1.2rem; background: transparent; border: 1px solid var(--border); border-radius: 8px; font-size: .8rem; font-weight: 400; color: var(--muted); text-decoration: none; transition: all .2s; }
    .proj-info:hover { border-color: var(--blue-ll); color: var(--blue); }
    .projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 1300px; margin: 0 auto; }
    .proj-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; display: flex; flex-direction: column; gap: .5rem; transition: all .2s; }
    .proj-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,107,255,.1); border-color: var(--blue-ll); }
    .proj-icon { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg,var(--blue),var(--sky)); display: flex; align-items: center; justify-content: center; margin-bottom: .5rem; }
    .proj-icon svg { width: 18px; height: 18px; stroke: #fff; }
    .proj-name { font-family: var(--fmono); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
    .proj-title { font-family: var(--fhead); font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
    .proj-price { font-family: var(--fhead); font-size: 1.6rem; font-weight: 800; color: var(--blue-l); margin-top: .3rem; }
    .proj-price span { font-size: .8rem; font-weight: 400; color: var(--muted); }
    .proj-desc { font-size: .83rem; color: var(--muted); line-height: 1.55; margin-top: .2rem; flex: 1; }
    .proj-feats { list-style: none; display: flex; flex-direction: column; gap: .4rem; margin-top: .5rem; }
    .proj-feats li { font-size: .8rem; color: var(--muted); display: flex; gap: .5rem; }
    .proj-feats li::before { content: '✓'; color: var(--blue-l); font-family: var(--fmono); flex-shrink: 0; }
    .proj-cta { display: inline-block; margin-top: 1rem; padding: .6rem 1.2rem; background: transparent; border: 1px solid var(--border); border-radius: 8px; font-size: .82rem; font-weight: 500; color: var(--text); text-decoration: none; text-align: center; transition: all .2s; }
    .proj-cta:hover { border-color: var(--blue); color: var(--blue); }
    .proj-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 1.5rem; font-family: var(--fmono); }
    .plan.enterprise .plan-feats li::before { color: var(--sky); }
    .plan.enterprise .btn-plan.ghost { color: var(--sky); border-color: rgba(14,165,233,0.35); }
    .plan.enterprise .btn-plan.ghost:hover { border-color: var(--sky); background: rgba(14,165,233,0.1); transform: translateY(-2px); }

    /* ── CTA success ── */
    .cta-success {
      display: none; align-items: center; gap: 0.75rem; flex-shrink: 0;
      font-family: var(--fmono); font-size: 0.875rem;
      color: var(--blue); background: rgba(26,107,255,0.08);
      border: 1px solid rgba(26,107,255,0.22); padding: 0.9rem 1.5rem;
      border-radius: 10px; position: relative; z-index: 1;
    }
    .cta-success.show { display: flex; }
    .cta-check { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; }
