:root {
        --bg: #07090f;
        --bg-elev: #0d111c;
        --bg-elev-2: #131829;
        --border: #1f2540;
        --border-bright: #2d3659;
        --text: #e6e9f5;
        --text-dim: #7a83a8;
        --text-muted: #4a5378;
        --cyan: #00e5ff;
        --green: #00ff88;
        --red: #ff3366;
        --amber: #ffb020;
        --purple: #7c5cff;
        --font-display: 'Syne', sans-serif;
        --font-body: 'Space Grotesk', sans-serif;
        --font-mono: 'JetBrains Mono', monospace;
        --radius: 6px;
        --radius-lg: 12px;
      }

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

      html { scroll-behavior: smooth; }

      body {
        background-color: var(--bg);
        color: var(--text);
        font-family: var(--font-body);
        font-size: 16px;
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        overflow-x: hidden;
      }

      body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image:
          linear-gradient(var(--border) 1px, transparent 1px),
          linear-gradient(90deg, var(--border) 1px, transparent 1px);
        background-size: 60px 60px;
        opacity: 0.35;
        mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
        pointer-events: none;
        z-index: 0;
      }

      body::after {
        content: '';
        position: fixed;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
        opacity: 0.03;
        mix-blend-mode: overlay;
        pointer-events: none;
        z-index: 0;
      }

      h1, h2, h3, h4, h5, h6 {
        font-family: var(--font-display);
        line-height: 1.1;
        color: var(--text);
      }

      code, pre, kbd, samp { font-family: var(--font-mono); }

      a { color: var(--cyan); text-decoration: none; }
      a:hover { text-decoration: underline; }

      .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
        border-bottom: 1px solid transparent;
      }
      .scrolled {
        background: rgba(7, 9, 15, 0.85);
        backdrop-filter: blur(12px);
        border-bottom-color: var(--border);
      }
      .nav .inner {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 24px;
        height: 64px;
        display: flex;
        align-items: center;
        gap: 32px;
      }
      .logo {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--font-display);
        font-size: 18px;
        font-weight: 700;
        color: var(--text);
        text-decoration: none;
        flex-shrink: 0;
      }
      .logoImg { height: 52px; width: auto; display: block; }
      .links {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-left: auto;
      }
      .link {
        padding: 6px 12px;
        font-size: 14px;
        color: var(--text-dim);
        text-decoration: none;
        border-radius: var(--radius);
        transition: color 0.2s, background 0.2s;
      }
      .link:hover {
        color: var(--text);
        background: rgba(255, 255, 255, 0.04);
        text-decoration: none;
      }
      .actions { display: flex; gap: 8px; flex-shrink: 0; }
      .burger {
        display: none;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        margin-left: auto;
      }
      .burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text-dim);
        border-radius: 2px;
        transition: background 0.2s;
      }
      .burger:hover span { background: var(--text); }
      .links.open { display: flex; }

      .hero {
        position: relative;
        min-height: 100svh;
        display: flex;
        align-items: center;
        overflow: hidden;
        padding: 120px 24px 80px;
      }
      .radialCyan, .radialPurple {
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
      }
      .radialCyan {
        top: -200px;
        left: -200px;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
      }
      .radialPurple {
        bottom: -200px;
        right: -200px;
        width: 700px;
        height: 700px;
        background: radial-gradient(circle, rgba(124, 92, 255, 0.10) 0%, transparent 70%);
      }
      .hero .inner {
        position: relative;
        z-index: 1;
        max-width: 1100px;
        margin: 0 auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 28px;
      }
      .badge { display: flex; }
      .heading {
        font-size: clamp(36px, 6vw, 72px);
        font-weight: 800;
        line-height: 1.05;
        color: var(--text);
        letter-spacing: -0.02em;
      }
      .accent { color: var(--cyan); }
      .cursor {
        display: inline-block;
        color: var(--cyan);
        animation: blink 1s step-end infinite;
        margin-left: 2px;
      }
      @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0; }
      }
      .sub {
        font-size: clamp(16px, 2vw, 19px);
        color: var(--text-dim);
        max-width: 600px;
        line-height: 1.65;
      }
      .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
      .stats {
        display: flex;
        flex-wrap: wrap;
        gap: 32px;
        padding-top: 8px;
        border-top: 1px solid var(--border);
        margin-top: 8px;
      }
      .stat { display: flex; flex-direction: column; gap: 2px; }
      .statNum {
        font-family: var(--font-mono);
        font-size: 22px;
        font-weight: 700;
        color: var(--cyan);
      }
      .statLabel {
        font-size: 12px;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.06em;
      }

      .section { padding: 100px 24px; }
      .section .inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
      .section .header { display: flex; flex-direction: column; gap: 16px; max-width: 580px; }
      .eyebrow {
        font-family: var(--font-mono);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: var(--cyan);
      }
      .heading-section {
        font-size: clamp(28px, 4vw, 42px);
        font-weight: 800;
        line-height: 1.1;
      }
      .sub-section {
        font-size: 16px;
        color: var(--text-dim);
        line-height: 1.65;
      }

      .grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
      }
      .card {
        display: flex;
        flex-direction: column;
        gap: 12px;
        background: var(--bg-elev);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 24px;
        transition: border-color 0.2s, transform 0.2s;
      }
      .card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
      .icon { font-size: 24px; line-height: 1; }
      .cardTitle {
        font-size: 18px;
        font-weight: 700;
      }
      .cardDesc {
        font-size: 14px;
        color: var(--text-dim);
        line-height: 1.6;
        flex: 1;
      }
      .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
      .tag {
        font-family: var(--font-mono);
        font-size: 10px;
        padding: 3px 8px;
        border-radius: 4px;
        background: var(--bg-elev-2);
        color: var(--text-muted);
        border: 1px solid var(--border);
        text-transform: uppercase;
        letter-spacing: 0.04em;
      }
      .cardLink {
        font-family: var(--font-mono);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--cyan);
        text-decoration: none;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: gap 0.2s, color 0.2s;
      }
      .cardLink:hover { gap: 10px; text-decoration: none; color: var(--text); }

      #nosotros { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
      #nosotros .inner {
        max-width: 1100px;
        margin: 0 auto;
        display: flex;
        gap: 80px;
        align-items: start;
        text-align: justify;
      }
      #nosotros .eyebrow { color: var(--amber); margin-bottom: 16px; }
      #nosotros .heading {
        font-size: clamp(26px, 3.5vw, 38px);
        margin-bottom: 24px;
      }
      #nosotros .body {
        font-size: 15px;
        color: var(--text-dim);
        line-height: 1.7;
        margin-bottom: 16px;
      }
      .right { display: flex; flex-direction: column; gap: 12px; }
      .principle {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 20px;
        background: var(--bg-elev-2);
        border: 1px solid var(--border-bright);
        border-radius: var(--radius-lg);
      }
      .principleIcon { font-size: 20px; margin-top: 2px; }
      .principleTitle {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 4px;
      }
      .principleDesc {
        font-size: 13px;
        color: var(--text-dim);
        line-height: 1.55;
      }

      #contacto { padding: 100px 24px; }
      #contacto .inner {
        max-width: 1100px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
      }
      #contacto .eyebrow { margin-bottom: 16px; }
      #contacto .heading {
        font-size: clamp(26px, 3.5vw, 38px);
        margin-bottom: 16px;
      }
      #contacto .sub {
        font-size: 15px;
        color: var(--text-dim);
        line-height: 1.65;
        margin-bottom: 32px;
      }
      .channels { display: flex; flex-direction: column; gap: 12px; }
      .channel { text-decoration: none; }
      .form {
        display: flex;
        flex-direction: column;
        gap: 16px;
        background: var(--bg-elev);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 32px;
      }
      .field { display: flex; flex-direction: column; gap: 6px; }
      .label {
        font-family: var(--font-mono);
        font-size: 12px;
        color: var(--text-dim);
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }
      .input, .textarea {
        background: var(--bg-elev-2);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        color: var(--text);
        font-family: var(--font-body);
        font-size: 14px;
        padding: 10px 14px;
        width: 100%;
        outline: none;
        transition: border-color 0.2s;
      }
      .input::placeholder, .textarea::placeholder { color: var(--text-muted); }
      .input:focus, .textarea:focus {
        border-color: var(--cyan);
        box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
      }
      .textarea { resize: vertical; min-height: 120px; }

      .footer {
        border-top: 1px solid var(--border);
        padding: 64px 24px 32px;
      }
      .footer .inner {
        max-width: 1100px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 2fr repeat(3, 1fr);
        gap: 48px;
        padding-bottom: 48px;
        border-bottom: 1px solid var(--border);
      }
      .brand { display: flex; flex-direction: column; gap: 12px; }
      .tagline {
        font-size: 13px;
        color: var(--text-muted);
        line-height: 1.5;
        max-width: 240px;
      }
      .contact a { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
      .contact a:hover { color: var(--cyan); }
      .col { display: flex; flex-direction: column; gap: 12px; }
      .colTitle {
        font-family: var(--font-mono);
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--text-muted);
      }
      .colList { list-style: none; display: flex; flex-direction: column; gap: 8px; }
      .colLink { font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
      .colLink:hover { color: var(--text); text-decoration: none; }
      .bottom {
        max-width: 1100px;
        margin: 0 auto;
        padding-top: 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
      }
      .copy { font-size: 12px; color: var(--text-muted); }
      .legal { display: flex; gap: 20px; }
      .legalLink {
        font-size: 12px;
        color: var(--text-muted);
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        font-family: inherit;
      }
      .legalLink:hover { color: var(--text-dim); text-decoration: none; }

      .btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border-radius: var(--radius);
        font-family: var(--font-body);
        font-weight: 600;
        cursor: pointer;
        transition: opacity 0.2s, background 0.2s, border-color 0.2s;
        text-decoration: none;
        white-space: nowrap;
        border: 1px solid transparent;
      }
      .btn:disabled { opacity: 0.4; cursor: not-allowed; }
      .sm { padding: 6px 14px; font-size: 13px; }
      .md { padding: 10px 20px; font-size: 14px; }
      .lg { padding: 14px 28px; font-size: 16px; }
      .primary { background: var(--cyan); color: #07090f; border-color: var(--cyan); }
      .primary:hover:not(:disabled) { opacity: 0.85; }
      .ghost {
        background: transparent;
        color: var(--cyan);
        border-color: var(--border-bright);
      }
      .ghost:hover:not(:disabled) {
        border-color: var(--cyan);
        background: rgba(0, 229, 255, 0.06);
      }
      .email {
        background: transparent;
        color: var(--amber);
        border-color: var(--amber);
      }
      .email:hover:not(:disabled) { background: rgba(255, 176, 32, 0.08); }

      .pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 3px 10px;
        border-radius: 99px;
        font-family: var(--font-mono);
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        border: 1px solid;
      }
      .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        flex-shrink: 0;
      }
      .public { color: var(--green); border-color: rgba(0,255,136,0.25); background: rgba(0,255,136,0.06); }
      .public .dot { background: var(--green); }
      .internal { color: var(--cyan); border-color: rgba(0,229,255,0.25); background: rgba(0,229,255,0.06); }
      .internal .dot { background: var(--cyan); }
      .confidential { color: var(--amber); border-color: rgba(255,176,32,0.25); background: rgba(255,176,32,0.06); }
      .confidential .dot { background: var(--amber); }
      .restricted { color: var(--red); border-color: rgba(255,51,102,0.25); background: rgba(255,51,102,0.06); }
      .restricted .dot { background: var(--red); }

      .canvas {
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        opacity: 0.55;
      }

      .gracias {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        flex-direction: column;
      }

      .gracias h1 {
        text-align: center;
      }
      
      .parrafo-gracias{
        text-align: justify;
        width: 100%;
      }

      .hero.service {
        min-height: auto;
        padding: 140px 24px 60px;
      }
      .hero.service .heading { font-size: clamp(32px, 5vw, 56px); }
      .hero.service .sub { max-width: 720px; }

      .breadcrumb {
        font-family: var(--font-mono);
        font-size: 12px;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        display: flex;
        gap: 8px;
        align-items: center;
        margin-bottom: 4px;
      }
      .breadcrumb a { color: var(--text-dim); text-decoration: none; }
      .breadcrumb a:hover { color: var(--cyan); text-decoration: none; }
      .breadcrumb .sep { color: var(--border-bright); }

      .prose { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
      .prose p {
        font-size: 16px;
        color: var(--text-dim);
        line-height: 1.75;
        text-align: justify;
      }

      .stackList {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 16px;
      }
      .stackItem {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 18px 20px;
        background: var(--bg-elev-2);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
      }
      .stackItem .name {
        font-family: var(--font-mono);
        font-size: 13px;
        font-weight: 700;
        color: var(--cyan);
        text-transform: uppercase;
        letter-spacing: 0.04em;
      }
      .stackItem .role {
        font-size: 13px;
        color: var(--text-dim);
        line-height: 1.5;
      }

      .ctaBlock {
        background: var(--bg-elev);
        border: 1px solid var(--border-bright);
        border-radius: var(--radius-lg);
        padding: 48px 32px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
      }
      .ctaBlock h2 { font-size: clamp(24px, 3vw, 34px); }
      .ctaBlock p { color: var(--text-dim); max-width: 520px; }

      .portfolioBlock {
        position: relative;
        overflow: hidden;
        border-color: rgba(124, 92, 255, 0.4);
        background:
          radial-gradient(ellipse 60% 120% at 50% 0%, rgba(124, 92, 255, 0.1), transparent 70%),
          var(--bg-elev);
      }
      .portfolioBlock .eyebrow { color: var(--purple); }
      .portfolioBlock .ctas {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
      }

      .relatedGrid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 12px;
      }
      .relatedCard {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        background: var(--bg-elev);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        text-decoration: none;
        color: var(--text);
        transition: border-color 0.2s, transform 0.2s, background 0.2s;
      }
      .relatedCard:hover {
        border-color: var(--border-bright);
        transform: translateY(-1px);
        background: var(--bg-elev-2);
        text-decoration: none;
      }
      .relatedCard .icon { font-size: 22px; flex-shrink: 0; line-height: 1; }
      .relatedCard .title { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--text); flex: 1; }
      .relatedCard .arrow { color: var(--cyan); font-family: var(--font-mono); font-size: 14px; flex-shrink: 0; }

      /* ====== Botón flotante de WhatsApp ====== */
      .waFab {
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 200;
        display: inline-flex;
        align-items: center;
        gap: 0;
        height: 56px;
        padding: 0;
        border-radius: 99px;
        background: var(--bg-elev);
        border: 1px solid rgba(0, 255, 136, 0.35);
        color: var(--text);
        text-decoration: none;
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 14px;
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.45), 0 8px 24px rgba(0, 0, 0, 0.45);
        overflow: hidden;
        transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
        animation: waPulse 2.6s ease-out infinite;
      }
      .waFab:hover {
        text-decoration: none;
        border-color: var(--green);
        background: var(--bg-elev-2);
        box-shadow: 0 0 18px rgba(0, 255, 136, 0.3), 0 8px 24px rgba(0, 0, 0, 0.5);
        animation: none;
      }
      .waFab .waIcon {
        width: 56px;
        height: 56px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--green);
      }
      .waFab .waIcon svg { width: 28px; height: 28px; display: block; }
      .waFab .waLabel {
        max-width: 0;
        opacity: 0;
        white-space: nowrap;
        overflow: hidden;
        padding-right: 0;
        transition: max-width 0.3s ease, opacity 0.25s ease, padding-right 0.3s ease;
      }
      .waFab:hover .waLabel,
      .waFab:focus-visible .waLabel {
        max-width: 200px;
        opacity: 1;
        padding-right: 20px;
      }
      .waFab:focus-visible {
        outline: 2px solid var(--green);
        outline-offset: 2px;
      }
      @keyframes waPulse {
        0%   { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4), 0 8px 24px rgba(0, 0, 0, 0.45); }
        70%  { box-shadow: 0 0 0 12px rgba(0, 255, 136, 0), 0 8px 24px rgba(0, 0, 0, 0.45); }
        100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0), 0 8px 24px rgba(0, 0, 0, 0.45); }
      }
      @media (prefers-reduced-motion: reduce) {
        .waFab { animation: none; }
      }

      @media (max-width: 768px) {
        .links {
          position: fixed;
          top: 64px;
          left: 0;
          right: 0;
          background: var(--bg-elev);
          border-bottom: 1px solid var(--border);
          flex-direction: column;
          align-items: stretch;
          padding: 16px;
          gap: 4px;
          display: none;
          margin-left: 0;
        }
        .actions { display: none; }
        .burger { display: flex; }
        .hero { padding-top: 96px; }
        #nosotros .inner, #contacto .inner { grid-template-columns: 1fr; gap: 40px; }
      }
      @media (max-width: 480px) {
        .footer .inner { grid-template-columns: 1fr; }
      }
    