  /* ============================================================
     CSS CUSTOM PROPERTIES
     ============================================================ */
  :root {
    --bg-deep:    #0A0A0F;
    --bg-dark:    #0F0F1A;
    --bg-card:    rgba(255,255,255,0.04);
    --bg-card-hv: rgba(30, 20, 20, 0.08);
    --blue:       #006bb0;
    --blue-dark:  #003c82;
    --blue-light: #08a6d7;
    --cyan:       #06B6D4;
    --cyan-light: #69e5f6;
    --white:      #F8FAFC;
    --white-dim:  #94A3B8;
    --white-mute: rgba(248,250,252,0.06);
    --glass-bg:   rgba(255,255,255,0.05);
    --glass-bd:   rgba(255,255,255,0.10);
    --grad-main:  linear-gradient(135deg, var(--blue), var(--cyan));
    --grad-dark:  linear-gradient(135deg, #006bb0, #06b6d4);
    --font-head:  'Space Grotesk', sans-serif;
    --font-body:  'Inter', sans-serif;
    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --shadow-glow: 0 0 40px rgba(37,99,235,0.3);
    --shadow-cyan: 0 0 40px rgba(6,182,212,0.2);
    --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);

    /* Escala fluida UX/UI */
    --container-max: 1200px;
    --container-pad: clamp(20px, 4vw, 32px);
    --sec-pad-y:     clamp(64px, 9vw, 110px);
    --sec-pad-y-sm:  clamp(48px, 7vw, 80px);
    --gap-xs:  clamp(8px, 1.2vw, 12px);
    --gap-sm:  clamp(12px, 1.6vw, 18px);
    --gap-md:  clamp(20px, 2.4vw, 28px);
    --gap-lg:  clamp(32px, 4vw, 56px);
    --gap-xl:  clamp(48px, 6vw, 80px);

    /* Escala tipográfica fluida */
    --fs-body:   clamp(0.95rem, 1vw + 0.7rem, 1.05rem);
    --fs-sub:    clamp(1rem, 1.1vw + 0.75rem, 1.15rem);
    --fs-h3:     clamp(1rem, 0.6vw + 0.9rem, 1.15rem);
    --fs-title:  clamp(1.85rem, 3.8vw + 0.6rem, 3.1rem);
    --fs-hero:   clamp(1.9rem, 4.6vw + 0.4rem, 3.4rem);
    --fs-cta:    clamp(2.1rem, 4.8vw + 0.5rem, 3.6rem);

    /* Focus ring accesible */
    --ring: 0 0 0 3px rgba(6,182,212,0.45), 0 0 0 5px rgba(6,182,212,0.15);
  }

  /* ============================================================
     RESET & BASE
     ============================================================ */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; font-size: 16px; }
  body {
    background: var(--bg-deep);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { text-decoration: none; color: inherit; }

  /* Focus visible unificado — sólo al navegar con teclado */
  :focus { outline: none; }
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  [tabindex]:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: 6px;
    transition: box-shadow 0.2s ease;
  }
  .btn:focus-visible { border-radius: 50px; }
  .social-link:focus-visible,
  .mob-action-btn:focus-visible { border-radius: 10px; }

  /* Selection color */
  ::selection { background: rgba(6,182,212,0.35); color: var(--white); }

  /* Dot grid background */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      radial-gradient(circle, rgba(37,99,235,0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
  }

  /* ============================================================
     UTILITIES
     ============================================================ */
  .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
  }
  .section-pad    { padding: var(--sec-pad-y) 0; }
  .section-pad-sm { padding: var(--sec-pad-y-sm) 0; }

  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 20px;
  }
  .section-label::before {
    content: '';
    display: block;
    width: 24px; height: 2px;
    background: var(--grad-main);
    border-radius: 2px;
  }

  .section-title {
    font-family: var(--font-head);
    font-size: var(--fs-title);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--white);
    margin-bottom: 20px;
  }
  .section-title .accent { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  .section-sub {
    font-size: var(--fs-sub);
    color: var(--white-dim);
    max-width: 60ch;
    line-height: 1.75;
  }

  /* ============================================================
     SCROLL REVEAL
     ============================================================ */
  .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }

  /* ============================================================
     BUTTONS
     ============================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.35s cubic-bezier(0.4,0,0.2,1),
                background-color 0.35s cubic-bezier(0.4,0,0.2,1),
                border-color 0.35s cubic-bezier(0.4,0,0.2,1),
                color 0.35s cubic-bezier(0.4,0,0.2,1),
                opacity 0.35s cubic-bezier(0.4,0,0.2,1);
    border: none;
    outline: none;
    letter-spacing: 0.01em;
  }
  .btn-primary {
    background: var(--grad-main);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37,99,235,0.6);
  }
  .btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--glass-bd);
    backdrop-filter: blur(8px);
  }
  .btn-outline:hover {
    background: var(--glass-bg);
    border-color: rgba(37,99,235,0.5);
    transform: translateY(-2px);
  }
  .btn-lg { padding: 18px 40px; font-size: 1rem; }

  /* ============================================================
     NAVBAR
     ============================================================ */
  .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
  }
  .navbar.scrolled {
    padding: 12px 0;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-bd);
  }
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-logo {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .nav-logo .epsilon {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    line-height: 1;
  }
  .nav-logo .name { color: var(--white); }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
  }
  .nav-links a {
    font-family: var(--font-head);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white-dim);
    transition: color 0.25s;
    position: relative;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--grad-main);
    border-radius: 2px;
    transition: width 0.3s ease;
  }
  .nav-links a:hover,
  .nav-links a.active { color: var(--white); }
  .nav-links a:hover::after,
  .nav-links a.active::after { width: 100%; }
  .nav-cta { margin-left: 12px; }

  /* Hamburger */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px 8px;
    background: none;
    border: none;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
  }
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

  /* Backdrop con blur sutil — cierra al tocar */
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(5,6,12,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.36s ease, visibility 0.36s ease;
    cursor: pointer;
  }
  .mobile-menu-backdrop.open { opacity: 1; visibility: visible; }

  /* Drawer lateral derecho — delicado, con borde gradiente */
  .mobile-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    left: auto;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 86vw;
    max-width: 340px;
    padding: 84px 28px 28px;
    background:
      radial-gradient(120% 80% at 100% 0%, rgba(6,107,176,0.12) 0%, transparent 55%),
      linear-gradient(180deg, rgba(14,16,26,0.96) 0%, rgba(10,10,15,0.98) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--glass-bd);
    box-shadow: -24px 0 60px rgba(0,0,0,0.55);
    transform: translateX(100%);
    transition: transform 0.44s cubic-bezier(0.32,0.72,0.15,1);
    will-change: transform;
    overflow-y: auto;
  }
  .mobile-menu.open { transform: translateX(0); }

  /* Línea vertical decorativa (borde brand) */
  .mobile-menu::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(6,182,212,0.45) 20%,
      rgba(37,99,235,0.25) 60%,
      transparent 100%);
    pointer-events: none;
  }

  /* Header del drawer */
  .mobile-menu-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-left: 2px;
  }
  .mobile-menu-eyebrow {
    font-family: var(--font-head);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--cyan-light);
  }
  .mobile-menu-accent {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(6,182,212,0.45), transparent);
  }

  /* Nav links tipo editorial — número + etiqueta */
  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
  }
  .mobile-menu a.mobile-link {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 16px 2px;
    font-family: var(--font-head);
    font-size: 1.18rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--white-dim);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.28s ease, transform 0.28s ease;
    overflow: hidden;
  }
  .mobile-menu a.mobile-link .mobile-link-num {
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--cyan);
    opacity: 0.55;
    font-feature-settings: 'tnum';
    min-width: 22px;
    transition: opacity 0.28s ease, color 0.28s ease;
  }
  .mobile-menu a.mobile-link .mobile-link-label {
    position: relative;
    z-index: 1;
  }
  .mobile-menu a.mobile-link::after {
    content: '';
    position: absolute;
    right: 6px; top: 50%;
    width: 14px; height: 1px;
    background: var(--cyan);
    transform: translateY(-50%) scaleX(0);
    transform-origin: right;
    transition: transform 0.32s cubic-bezier(0.2,0.8,0.2,1);
  }
  .mobile-menu a.mobile-link:hover,
  .mobile-menu a.mobile-link:active {
    color: var(--white);
    transform: translateX(3px);
  }
  .mobile-menu a.mobile-link:hover .mobile-link-num,
  .mobile-menu a.mobile-link:active .mobile-link-num {
    opacity: 1;
    color: var(--cyan-light);
  }
  .mobile-menu a.mobile-link:hover::after,
  .mobile-menu a.mobile-link:active::after {
    transform: translateY(-50%) scaleX(1);
    transform-origin: left;
  }

  /* CTA al fondo, respiro antes del footer */
  .mobile-menu-cta {
    margin-top: auto;
    width: 100%;
    justify-content: center;
    margin-bottom: 16px;
  }
  .mobile-menu-foot {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--white-dim);
    opacity: 0.7;
    text-align: center;
  }

  /* Stagger al abrir — links entran con leve retraso */
  .mobile-menu a.mobile-link {
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2,0.8,0.2,1), color 0.28s ease;
  }
  .mobile-menu.open a.mobile-link { opacity: 1; transform: translateX(0); }
  .mobile-menu.open a.mobile-link:nth-child(1) { transition-delay: 0.12s; }
  .mobile-menu.open a.mobile-link:nth-child(2) { transition-delay: 0.18s; }
  .mobile-menu.open a.mobile-link:nth-child(3) { transition-delay: 0.24s; }
  .mobile-menu.open a.mobile-link:nth-child(4) { transition-delay: 0.30s; }
  .mobile-menu.open a.mobile-link:nth-child(5) { transition-delay: 0.36s; }

  .mobile-menu .mobile-menu-cta {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease 0.42s, transform 0.4s ease 0.42s, background 0.25s ease, box-shadow 0.25s ease;
  }
  .mobile-menu.open .mobile-menu-cta { opacity: 1; transform: translateY(0); }
  .mobile-menu .mobile-menu-foot {
    opacity: 0;
    transition: opacity 0.4s ease 0.48s;
  }
  .mobile-menu.open .mobile-menu-foot { opacity: 0.7; }

  /* ============================================================
     HERO
     ============================================================ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 40px;
  }
  #hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero .container {
    display: flex;
    align-items: center;
    gap: 64px;
  }
  .hero-content {
    position: relative;
    z-index: 1;
    flex: 0 0 52%;
    max-width: 52%;
  }

  /* ── Visual / foto ── */
  .hero-visual {
    flex: 1;
    position: relative;
    z-index: 1;
    min-width: 0;
  }
  .hero-photo-frame {
    position: relative;
    border-radius: 20px;
  }
  /* Marco exterior con glow */
  .hero-photo-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 22px;
    background: var(--grad-main);
    opacity: 0.35;
    z-index: 0;
    filter: blur(1px);
  }
  .hero-photo-inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
  }
  .hero-photo-inner img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 20px;
    filter: brightness(0.88) saturate(0.9);
  }
  /* Overlay de color brand */
  .hero-photo-overlay {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
      160deg,
      rgba(37,99,235,0.20) 0%,
      rgba(6,182,212,0.08) 50%,
      rgba(10,10,15,0.55) 100%
    );
    pointer-events: none;
  }
  /* Degradado inferior para fundir con el fondo */
  .hero-photo-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(to top, var(--bg-deep) 0%, transparent 100%);
    border-radius: 0 0 20px 20px;
    pointer-events: none;
    z-index: 2;
  }
  /* Brackets tech en las esquinas */
  .hero-bracket {
    position: absolute;
    width: 22px; height: 22px;
    z-index: 3;
  }
  .hero-bracket-tl {
    top: 12px; left: 12px;
    border-top: 2px solid var(--cyan);
    border-left: 2px solid var(--cyan);
    border-radius: 4px 0 0 0;
  }
  .hero-bracket-tr {
    top: 12px; right: 12px;
    border-top: 2px solid var(--cyan);
    border-right: 2px solid var(--cyan);
    border-radius: 0 4px 0 0;
  }
  .hero-bracket-bl {
    bottom: 12px; left: 12px;
    border-bottom: 2px solid var(--blue);
    border-left: 2px solid var(--blue);
    border-radius: 0 0 0 4px;
  }
  .hero-bracket-br {
    bottom: 12px; right: 12px;
    border-bottom: 2px solid var(--blue);
    border-right: 2px solid var(--blue);
    border-radius: 0 0 4px 0;
  }
  /* Floating cards sobre la foto */
  .hero-float-card {
    position: absolute;
    background: rgba(10,10,20,0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }
  .hero-float-card-1 {
    bottom: 52px; left: -28px;
    animation: floatA 5s ease-in-out infinite;
  }
  .hero-float-card-2 {
    top: 40px; right: -20px;
    animation: floatB 6s ease-in-out infinite 0.8s;
  }
  @keyframes floatA {
    0%,100% { transform: translateY(0px); }
    50%     { transform: translateY(-8px); }
  }
  @keyframes floatB {
    0%,100% { transform: translateY(0px); }
    50%     { transform: translateY(7px); }
  }
  .float-card-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--grad-main);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .float-card-icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; }
  .float-card-text span {
    display: block;
    font-size: 0.7rem;
    color: var(--white-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
  }
  .float-card-text strong {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
  }
  /* Dot de estado (verde) */
  .status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
    animation: statusPulse 2s ease-in-out infinite;
  }
  @keyframes statusPulse {
    0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
    50%     { box-shadow: 0 0 0 6px rgba(34,197,94,0.08); }
  }

  /* Isotipo brand mark sobre la foto hero */
  .hero-isotipo {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.72;
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(6,182,212,1)) drop-shadow(0 0 8px rgba(6,182,212,0.9));
    animation: isotipoBreath 4s ease-in-out infinite;
  }
  .hero-isotipo img { width: 100%; height: auto; display: block; }
  @keyframes isotipoBreath {
    0%, 100% { opacity: 0.72; filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(6,182,212,1))   drop-shadow(0 0 8px rgba(6,182,212,0.9)); }
    50%      { opacity: 0.90; filter: brightness(0) invert(1) drop-shadow(0 0 28px rgba(6,182,212,1))   drop-shadow(0 0 14px rgba(37,99,235,0.9)); }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-isotipo { animation: none !important; opacity: 0.75; }
  }

  /* Responsive hero split
     ─────────────────────────────────────
     ≥1025px  → split horizontal (52/48)
     768–1024 → columna, foto ancho completo
     ≤767px   → columna, foto visible + reducida, float cards reposicionadas
     ─────────────────────────────────────── */

  /* Tablet (768–1024px) */
  @media (max-width: 1024px) {
    .hero { padding-bottom: 60px; }
    .hero .container      { flex-direction: column; gap: 40px; padding-top: 24px; }
    .hero-content         { flex: none; max-width: 100%; }
    .hero-visual          { width: 100%; max-width: 600px; margin: 0 auto; }
    .hero-photo-inner img { height: 400px; object-position: center 15%; }
    .hero-float-card-1    { left: 8px; bottom: 40px; }
    .hero-float-card-2    { right: 8px; top: 28px; }
  }

  /* Mobile (≤767px) */
  @media (max-width: 767px) {
    .hero-isotipo { width: 52px; bottom: 18px; }
    .hero {
      min-height: auto;
      padding-top: 88px;
      padding-bottom: 48px;
    }
    .hero .container {
      flex-direction: column;
      gap: 32px;
      padding-top: 0;
    }
    .hero-content { max-width: 100%; }

    /* Foto: altura reducida, recorte centrado en rostros */
    .hero-visual          { width: 100%; max-width: 100%; margin: 0; }
    .hero-photo-inner img {
      height: 260px;
      object-position: center 18%;
    }
    /* Fade más corto en mobile para no tapar demasiado */
    .hero-photo-fade { height: 35%; }

    /* Float cards: reposicionar dentro del frame, más compactas */
    .hero-float-card {
      padding: 10px 14px;
      border-radius: 10px;
      gap: 8px;
    }
    .hero-float-card-1 {
      bottom: 12px; left: 12px;
      animation: floatA 5s ease-in-out infinite;
    }
    .hero-float-card-2 {
      top: 12px; right: 12px;
      animation: floatB 6s ease-in-out infinite 0.8s;
    }
    .float-card-icon      { width: 28px; height: 28px; border-radius: 7px; }
    .float-card-icon svg  { width: 14px; height: 14px; }
    .float-card-text span { font-size: 0.6rem; }
    .float-card-text strong { font-size: 0.78rem; }
    .status-dot           { width: 7px; height: 7px; }

    /* Brackets: ligeramente más pequeños */
    .hero-bracket { width: 16px; height: 16px; }
    .hero-bracket-tl, .hero-bracket-tr { top: 8px; }
    .hero-bracket-bl, .hero-bracket-br { bottom: 8px; }
    .hero-bracket-tl, .hero-bracket-bl { left: 8px; }
    .hero-bracket-tr, .hero-bracket-br { right: 8px; }
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-bd);
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--cyan-light);
    margin-bottom: 28px;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    animation: badgePulse 2s ease-in-out infinite;
  }
  @keyframes badgePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(6,182,212,0); }
    50% { box-shadow: 0 0 0 6px rgba(6,182,212,0.08); }
  }
  .hero-title {
    font-family: var(--font-head);
    font-size: var(--fs-hero);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 24px;
    min-height: 2.4em;
  }
  .hero-title .highlight {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: var(--cyan);
    margin-left: 2px;
    vertical-align: middle;
    animation: blink 0.8s step-end infinite;
  }
  @keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }
  .hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--white-dim);
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 40px;
  }
  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
  }
  /* Scroll indicator */
  .scroll-hint {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    opacity: 0.5;
    animation: scrollBounce 2s ease-in-out infinite;
  }
  @media (max-width: 767px) {
    .scroll-hint { display: none; }
  }
  .scroll-hint span { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; }
  .scroll-hint svg { width: 18px; }
  @keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
  }

  /* ============================================================
     QUÉ HACEMOS
     ============================================================ */
  .what-we-do { background: var(--bg-dark); }
  .what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
  }
  .what-text .section-sub { max-width: 480px; }
  .pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .pillar {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-bd);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.35s cubic-bezier(0.4,0,0.2,1),
                background 0.35s cubic-bezier(0.4,0,0.2,1),
                border-color 0.35s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
  }
  .pillar:hover {
    background: var(--bg-card-hv);
    border-color: rgba(37,99,235,0.3);
    transform: translateX(6px);
    box-shadow: 0 0 20px rgba(37,99,235,0.12);
  }
  .pillar-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: var(--grad-main);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
  }
  .pillar-icon svg { width: 22px; height: 22px; color: #fff; stroke: #fff; }
  .pillar-body h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--white);
  }
  .pillar-body p { font-size: 0.875rem; color: var(--white-dim); line-height: 1.6; }

  /* ============================================================
     SERVICIOS
     ============================================================ */
  .services { background: var(--bg-deep); }
  .services-header { text-align: center; margin-bottom: 60px; }
  .services-header .section-label { justify-content: center; }
  .services-header .section-sub { margin: 0 auto; text-align: center; }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .service-card {
    /* color por defecto — sobrescrito por :nth-child */
    --svc-color: var(--cyan);
    --svc-color-soft: var(--cyan-light);
    background: var(--glass-bg);
    border: 1px solid var(--glass-bd);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.35s cubic-bezier(0.4,0,0.2,1),
                background 0.35s cubic-bezier(0.4,0,0.2,1),
                border-color 0.35s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--svc-color), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .service-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: var(--bg-card-hv);
    border-color: rgba(6,182,212,0.4);
    border-color: color-mix(in srgb, var(--svc-color) 40%, transparent);
    box-shadow:
      0 0 40px rgba(6,182,212,0.18),
      0 0 40px color-mix(in srgb, var(--svc-color) 18%, transparent),
      0 20px 60px rgba(0,0,0,0.3);
  }
  .service-card:hover::before { opacity: 1; }

  /* Paleta por servicio — coherente con dark theme y la marca */
  .service-card:nth-child(1) { --svc-color: #06B6D4; --svc-color-soft: #67E8F9; } /* ChatBot IA — cyan */
  .service-card:nth-child(2) { --svc-color: #3B82F6; --svc-color-soft: #93C5FD; } /* Sitios Web & SEO — azul */
  .service-card:nth-child(3) { --svc-color: #8B5CF6; --svc-color-soft: #C4B5FD; } /* Consultoría — violeta */
  .service-card:nth-child(4) { --svc-color: #F59E0B; --svc-color-soft: #FCD34D; } /* Optimización — ámbar */
  .service-card:nth-child(5) { --svc-color: #10B981; --svc-color-soft: #6EE7B7; } /* Software a Medida — esmeralda */
  .service-card:nth-child(6) { --svc-color: #F43F5E; --svc-color-soft: #FDA4AF; } /* Identidad & Marketing — rosa */

  .service-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg,
      color-mix(in srgb, var(--svc-color) 75%, #000 25%) 0%,
      var(--svc-color) 100%);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    box-shadow:
      0 4px 20px color-mix(in srgb, var(--svc-color) 38%, transparent),
      inset 0 1px 0 rgba(255,255,255,0.18);
    transition: var(--transition);
  }
  .service-card:hover .service-icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow:
      0 8px 32px color-mix(in srgb, var(--svc-color) 55%, transparent),
      inset 0 1px 0 rgba(255,255,255,0.22);
  }
  .service-icon svg { width: 24px; height: 24px; stroke: #fff; }
  .service-card h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
  }
  .service-card p { font-size: 0.875rem; color: var(--white-dim); line-height: 1.65; }
  .service-card .service-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--svc-color);
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
  }
  .service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

  /* En dispositivos táctiles sin hover, mostrar el CTA siempre */
  @media (hover: none) {
    .service-card .service-arrow {
      opacity: 1;
      transform: translateX(0);
    }
  }
  .service-card .service-arrow:hover { color: var(--svc-color-soft); }

  /* ============================================================
     CÓMO TRABAJAMOS
     ============================================================ */
  .how-we-work { background: var(--bg-dark); }
  .how-header { text-align: center; margin-bottom: 70px; }
  .how-header .section-label { justify-content: center; }
  .how-header .section-sub { margin: 0 auto; text-align: center; }
  .steps-wrapper {
    position: relative;
  }
  /* Connecting line */
  .steps-line {
    position: absolute;
    top: 52px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 2px;
    background: var(--glass-bd);
    overflow: hidden;
  }
  .steps-line-fill {
    height: 100%;
    background: var(--grad-main);
    width: 0;
    transition: width 1.8s cubic-bezier(0.4,0,0.2,1);
  }
  .steps-line.animate .steps-line-fill { width: 100%; }
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
  }
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .step-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--grad-main);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 28px;
    box-shadow: 0 0 0 8px rgba(37,99,235,0.12), 0 0 0 16px rgba(37,99,235,0.06);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }
  .step-big-num {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.04em;
  }
  .step h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
  }
  .step p { font-size: 0.85rem; color: var(--white-dim); line-height: 1.65; }

  /* ============================================================
     CLIENTES
     ============================================================ */
  .clients { background: var(--bg-deep); }
  .clients-header { text-align: center; margin-bottom: 50px; }
  .clients-header .section-label { justify-content: center; }
  .clients-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
  }
  .client-logo {
    padding: 28px 40px;
    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    transition: var(--transition);
    min-width: 200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .client-logo:hover {
    background: #ffffff;
    border-color: rgba(37,99,235,0.4);
    box-shadow: 0 8px 32px rgba(37,99,235,0.18), 0 0 0 1px rgba(37,99,235,0.2);
    transform: translateY(-5px);
  }
  .client-logo img {
    max-height: 52px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
  }
  .client-name {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .clients-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.85rem;
    color: rgba(148,163,184,0.5);
    font-style: italic;
  }

  /* ============================================================
     CTA FINAL
     ============================================================ */
  .cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
  }
  .cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37,99,235,0.18) 0%, transparent 70%);
  }
  .cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(6,182,212,0.08) 0%, transparent 70%);
  }
  .cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(37,99,235,0.08);
    filter: blur(60px);
  }
  .cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
  }
  .cta-content .section-title { font-size: var(--fs-cta); }
  .cta-content .section-sub { margin: 0 auto 40px; text-align: center; font-size: 1.1rem; }
  .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
  .cta-contact-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--white-dim);
  }
  .cta-contact-note svg { width: 16px; height: 16px; stroke: var(--cyan); }

  /* ============================================================
     CONTACTO
     ============================================================ */
  .contact { background: var(--bg-dark); }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
  }
  .contact-info h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
  }
  .contact-info > p {
    font-size: 0.95rem;
    color: var(--white-dim);
    line-height: 1.75;
    margin-bottom: 40px;
  }
  .contact-items { display: flex; flex-direction: column; gap: 20px; }
  .contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-bd);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: var(--transition);
  }
  .contact-item:hover {
    background: var(--bg-card-hv);
    border-color: rgba(37,99,235,0.3);
    transform: translateX(4px);
  }
  .contact-item-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: var(--grad-main);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .contact-item-icon svg { width: 18px; height: 18px; stroke: #fff; }
  .contact-item-text span { display: block; font-size: 0.75rem; color: var(--white-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
  .contact-item-text strong { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; color: var(--white); }

  /* Form */
  .contact-form-wrap {
    background: var(--glass-bg);
    border: 1px solid var(--glass-bd);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
  }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
  .form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
  .form-group:last-of-type { margin-bottom: 0; }
  .form-group label {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white-dim);
  }
  .form-group input,
  .form-group textarea {
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
    resize: none;
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder { color: rgba(148,163,184,0.4); }
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--blue);
    background: rgba(37,99,235,0.05);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  }
  .form-group textarea { height: 140px; }
  .form-error { font-size: 0.75rem; color: #f87171; margin-top: 4px; display: none; }
  .form-error.show { display: block; }
  .form-submit { margin-top: 28px; width: 100%; justify-content: center; position: relative; overflow: hidden; }
  .form-submit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
  }
  .form-submit:hover::after { transform: translateX(100%); }
  .form-success {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    margin-top: 0;
    background: linear-gradient(135deg, rgba(6,182,212,0.12), rgba(37,99,235,0.10));
    border: 1px solid rgba(6,182,212,0.32);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--cyan-light);
    font-family: var(--font-head);
    font-weight: 600;
    transform: translateY(6px);
    transition: opacity 0.32s ease, transform 0.32s ease,
                max-height 0.32s ease, padding 0.32s ease, margin-top 0.32s ease;
  }
  .form-success.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 120px;
    padding: 18px 20px;
    margin-top: 20px;
  }
  @media (prefers-reduced-motion: reduce) {
    .form-success { transition: none; }
  }

  /* ============================================================
     FOOTER
     ============================================================ */
  .footer {
    background: var(--bg-deep);
    position: relative;
  }
  .footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--grad-main);
    opacity: 0.5;
  }
  .footer-top {
    padding: 60px 0 50px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
  }
  .footer-brand {}
  .footer-brand .nav-logo { margin-bottom: 16px; }
  .footer-brand p {
    font-size: 0.875rem;
    color: var(--white-dim);
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 24px;
  }
  .social-links { display: flex; gap: 12px; }
  .social-link {
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-bd);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    color: var(--white-dim);
  }
  .social-link svg { width: 16px; height: 16px; stroke: currentColor; }
  .social-link:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-3px); }
  .footer-col h5 {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .footer-col ul a {
    font-size: 0.875rem;
    color: var(--white-dim);
    transition: color 0.25s;
    display: flex; align-items: center; gap: 6px;
  }
  .footer-col ul a:hover { color: var(--cyan); }
  .footer-col ul a::before { content: '—'; font-size: 0.6rem; opacity: 0.5; }
  /* KDO Groups ecosystem band */
  .footer-ecosystem {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 0;
  }
  .footer-ecosystem-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(6,107,176,0.10) 0%, rgba(6,182,212,0.06) 100%);
    border: 1px solid rgba(6,182,212,0.15);
    border-radius: var(--radius-md);
  }
  .footer-ecosystem-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    color: var(--cyan);
    opacity: 0.75;
  }
  .footer-ecosystem-inner p {
    font-size: 0.82rem;
    color: var(--white-dim);
    line-height: 1.65;
    margin: 0;
    max-width: none;
  }
  .footer-ecosystem-inner p strong {
    color: var(--cyan-light);
    font-weight: 600;
  }
  @media (max-width: 768px) {
    .footer-ecosystem-inner { flex-direction: column; gap: 10px; text-align: center; padding: 16px 18px; }
    .footer-ecosystem-icon { width: 22px; height: 22px; }
  }

  .footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--glass-bd);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-bottom p { font-size: 0.8rem; color: rgba(148,163,184,0.5); }
  .footer-bottom .made-with {
    font-size: 0.8rem;
    color: rgba(148,163,184,0.5);
    display: flex; align-items: center; gap: 4px;
  }
  .footer-bottom .made-with span {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* ============================================================
     RESPONSIVE
     ============================================================ */

  /* Reemplaza el br eliminado en sección contacto */
  .contact .contact-grid { margin-top: 32px; }

  /* Wide desktops (>=1440px) — aprovecha espacio */
  @media (min-width: 1440px) {
    :root { --container-max: 1320px; }
    .services-grid { gap: 28px; }
    .what-grid { gap: 96px; }
  }

  /* XL desktops (>=1920px) — techo tipográfico */
  @media (min-width: 1920px) {
    :root { --container-max: 1440px; }
  }

  /* Tablets grandes / laptops pequeños (1025–1280px) — ajuste hero */
  @media (min-width: 1025px) and (max-width: 1280px) {
    .hero .container { gap: 40px; }
    .hero-content { flex: 0 0 55%; max-width: 55%; }
    .hero-photo-inner img { height: 460px; }
  }

  @media (max-width: 1024px) {
    .what-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-line { display: none; }
  }
  @media (max-width: 768px) {
    .section-pad { padding: 70px 0; }
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }

    .steps-grid { grid-template-columns: 1fr; }
    .what-grid { gap: 40px; }
    .contact-form-wrap { padding: 28px 20px; }
    .hero-actions { flex-direction: column; }
    .btn-lg { width: 100%; justify-content: center; }
    .cta-actions { flex-direction: column; align-items: center; }
    body { padding-bottom: 72px; } /* espacio para la barra mobile */
    .circuit-corner { display: none; }
    .svc-orb, .svc-signal { display: none; }
  }

  /* Pantallas muy pequeñas (<=360px) — iPhone SE, Galaxy Fold cerrado */
  @media (max-width: 360px) {
    .nav-logo .logo-img { height: 50px; }
    .hero { padding-top: 76px; }
    .hero-photo-inner img { height: 220px; }
    .hero-float-card {
      padding: 8px 10px;
      gap: 6px;
      border-radius: 8px;
    }
    .hero-float-card-1 { bottom: 8px; left: 8px; max-width: 58%; }
    .hero-float-card-2 { top: 8px; right: 8px; max-width: 52%; }
    .float-card-text span  { font-size: 0.56rem; letter-spacing: 0.04em; }
    .float-card-text strong{ font-size: 0.72rem; }
    .float-card-icon       { width: 24px; height: 24px; border-radius: 6px; }
    .float-card-icon svg   { width: 12px; height: 12px; }
    .hero-actions .btn     { padding: 12px 20px; font-size: 0.85rem; }
    .service-card          { padding: 24px 22px; }
    .contact-form-wrap     { padding: 24px 16px; }
    .mob-action-label      { font-size: 0.56rem; }
    .mob-icon-wrap         { width: 30px; height: 30px; }
  }

  /* ============================================================
     MOBILE ACTION BAR
     ============================================================ */
  .mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1100;
    height: 64px;
    background: rgba(10,10,15,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0 8px;
    /* Separador superior con gradiente */
    box-shadow: 0 -4px 30px rgba(0,0,0,0.4), 0 -1px 0 rgba(37,99,235,0.25);
  }
  .mobile-action-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--blue), transparent);
    opacity: 0.6;
  }
  .mobile-action-bar-inner {
    height: 100%;
    display: flex;
    align-items: stretch;
    gap: 4px;
  }
  .mob-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    color: var(--white-dim);
    padding: 6px 0;
    -webkit-tap-highlight-color: transparent;
  }
  .mob-action-btn:active {
    background: rgba(255,255,255,0.07);
    transform: scale(0.94);
  }
  /* WhatsApp */
  .mob-action-btn.whatsapp { color: #25D366; }
  .mob-action-btn.whatsapp .mob-icon-wrap { background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.2); }
  /* Instagram */
  .mob-action-btn.instagram { color: #E1306C; }
  .mob-action-btn.instagram .mob-icon-wrap { background: rgba(225,48,108,0.10); border: 1px solid rgba(225,48,108,0.2); }
  /* Facebook */
  .mob-action-btn.facebook { color: #1877F2; }
  .mob-action-btn.facebook .mob-icon-wrap { background: rgba(24,119,242,0.10); border: 1px solid rgba(24,119,242,0.2); }
  /* Email */
  .mob-action-btn.email { color: #06B6D4; }
  .mob-action-btn.email .mob-icon-wrap { background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.2); }
  /* Divider entre botones */
  .mob-action-divider {
    width: 1px;
    background: rgba(255,255,255,0.07);
    margin: 12px 0;
    flex-shrink: 0;
  }
  .mob-icon-wrap {
    width: 34px; height: 34px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .mob-action-btn:active .mob-icon-wrap { transform: scale(0.9); }
  .mob-icon-wrap svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mob-action-label {
    font-family: var(--font-head);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1;
  }
  @media (max-width: 768px) {
    .mobile-action-bar { display: block; }
    body.menu-open .mobile-action-bar { display: none; }
  }

  /* ============================================================
     TECH DECORATIVE BACKGROUNDS
     ============================================================ */

  /* 1. Hero — línea de escaneo horizontal */
  .hero-scanline {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(6,182,212,0.18) 15%,
      rgba(37,99,235,0.55) 50%,
      rgba(6,182,212,0.18) 85%,
      transparent 100%
    );
    pointer-events: none;
    z-index: 1;
    animation: scanLine 14s linear infinite;
    will-change: top;
    box-shadow: 0 0 12px rgba(37,99,235,0.4);
  }
  @keyframes scanLine {
    0%   { top: -1px; opacity: 0; }
    3%   { opacity: 1; }
    97%  { opacity: 0.7; }
    100% { top: 100%; opacity: 0; }
  }

  /* 2. "Qué hacemos" — circuito PCB en esquina */
  .what-we-do { position: relative; overflow: hidden; }
  .circuit-corner {
    position: absolute;
    bottom: 0; right: 0;
    width: 420px; height: 320px;
    pointer-events: none;
    opacity: 0.40;
  }
  .circuit-corner svg { width: 100%; height: 100%; }
  /* pulso secuencial en los nodos del circuito */
  .circuit-dot {
    animation: circuitPulse 2.4s ease-in-out infinite;
  }
  .circuit-dot:nth-child(1) { animation-delay: 0s; }
  .circuit-dot:nth-child(2) { animation-delay: 0.3s; }
  .circuit-dot:nth-child(3) { animation-delay: 0.6s; }
  .circuit-dot:nth-child(4) { animation-delay: 0.9s; }
  .circuit-dot:nth-child(5) { animation-delay: 1.2s; }
  .circuit-dot:nth-child(6) { animation-delay: 1.5s; }
  .circuit-dot:nth-child(7) { animation-delay: 1.8s; }
  .circuit-dot:nth-child(8) { animation-delay: 2.1s; }
  @keyframes circuitPulse {
    0%,100% { opacity: 1.8; }
    50%     { opacity: 0.4; }
  }
  /* trazo animado que recorre el circuito (dash offset) */
  .circuit-trace-anim {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: traceFlow 4s ease-in-out infinite;
  }
  .circuit-trace-anim-2 {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: traceFlow 4s ease-in-out 1s infinite;
  }
  @keyframes traceFlow {
    0%   { stroke-dashoffset: 600; opacity: 0.3; }
    50%  { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0.3; }
  }

  /* 3. Servicios — orbs ambientales flotantes */
  /* ── Servicios: orbe central + anillos de señal ── */
  .services { position: relative; overflow: hidden; }

  /* Orbe única — fuente de luz en la base central */
  .svc-orb {
    position: absolute;
    left: 50%;
    bottom: -90px;
    transform: translateX(-50%);
    width: 860px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(
      ellipse at 50% 85%,
      rgba(37,99,235,0.30) 0%,
      rgba(6,182,212,0.15) 38%,
      transparent 68%
    );
    filter: blur(52px);
    pointer-events: none;
    will-change: transform, opacity;
    animation: orbBreath 8s ease-in-out infinite;
  }
  @keyframes orbBreath {
    0%,100% { opacity: 0.65; transform: translateX(-50%) scaleX(1)    scaleY(1);    filter: blur(52px); }
    50%     { opacity: 1;    transform: translateX(-50%) scaleX(1.22) scaleY(1.14); filter: blur(42px); }
  }

  /* Anillos de señal que emanan desde el mismo origen */
  .svc-signal {
    position: absolute;
    left: 50%;
    bottom: -90px;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
    animation: signalRise 7s ease-out infinite;
  }
  .svc-signal:nth-child(2) {
    width: 440px;  height: 180px;
    border: 1px solid rgba(37,99,235,0.45);
    animation-delay: 0s;
  }
  .svc-signal:nth-child(3) {
    width: 760px;  height: 300px;
    border: 1px solid rgba(6,182,212,0.28);
    animation-delay: 2.33s;
  }
  .svc-signal:nth-child(4) {
    width: 1080px; height: 420px;
    border: 1px solid rgba(37,99,235,0.14);
    animation-delay: 4.66s;
  }
  @keyframes signalRise {
    0%   { transform: translateX(-50%) translateY(50%) scale(0.08); opacity: 0.9; }
    70%  { opacity: 0.4; }
    100% { transform: translateX(-50%) translateY(50%) scale(1);    opacity: 0; }
  }

  /* 4. "Cómo trabajamos" — canvas código binario */
  .how-we-work { position: relative; overflow: hidden; }
  #binary-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.45;
    z-index: 0;
  }

  /* 5. CTA — anillos concéntricos pulsantes */
  .cta-rings {
    position: absolute;
    top: 50%; left: 50%;
    pointer-events: none;
    z-index: 0;
  }
  .cta-ring {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.40);
    animation: ringExpand 6s ease-out infinite;
    will-change: transform, opacity;
  }
  .cta-ring:nth-child(1) {
    width: 200px; height: 200px;
    border: 1.5px solid rgba(37,99,235,0.55);
    animation-delay: 0s;
  }
  .cta-ring:nth-child(2) {
    width: 420px; height: 420px;
    border: 1.5px solid rgba(37,99,235,0.35);
    animation-delay: 1.5s;
  }
  .cta-ring:nth-child(3) {
    width: 660px; height: 660px;
    border: 1px solid rgba(6,182,212,0.22);
    animation-delay: 3s;
  }
  .cta-ring:nth-child(4) {
    width: 900px; height: 900px;
    border: 1px solid rgba(37,99,235,0.12);
    animation-delay: 4.5s;
  }
  @keyframes ringExpand {
    0%   { transform: translate(-50%,-50%) scale(0.08); opacity: 0.9; }
    100% { transform: translate(-50%,-50%) scale(1);    opacity: 0; }
  }

  /* Logo imagen */
  .logo-img {
    height: 66px;
    width: auto;
    display: block;
    object-fit: contain;
  }
  .footer-logo-img {
    height: 76px;
    width: auto;
    display: block;
    object-fit: contain;
    margin-bottom: 16px;
  }
  /* WhatsApp icono filled — override del stroke genérico */
  .mob-action-btn.whatsapp .mob-icon-wrap svg,
  .social-link.wa-icon svg {
    fill: currentColor;
    stroke: none;
  }

  /* ============================================================
     MOTION MODERNO (F3)
     ============================================================ */

  /* Scroll progress bar — arriba de todo */
  .scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    background: var(--grad-main);
    z-index: 1200;
    transition: width 0.08s linear;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(6,182,212,0.55);
  }

  /* Mouse-follow glow en service cards */
  .service-card {
    --mx: 50%;
    --my: 50%;
  }
  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
      320px circle at var(--mx) var(--my),
      color-mix(in srgb, var(--svc-color) 22%, transparent),
      transparent 55%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
  }
  .service-card:hover::after { opacity: 1; }
  .service-card > * { position: relative; z-index: 1; }

  /* Tilt 3D sutil (sólo desktop con hover, se desactiva en touch) */
  @media (hover: hover) and (pointer: fine) {
    .service-card {
      transform-style: preserve-3d;
      transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
                  background 0.35s ease,
                  border-color 0.35s ease,
                  box-shadow 0.35s ease;
    }
    .service-card.tilt {
      transform: perspective(900px)
                 rotateX(var(--rx, 0deg))
                 rotateY(var(--ry, 0deg))
                 translateY(-4px);
    }
  }

  /* Magnetic button — sólo en pointer fino */
  @media (hover: hover) and (pointer: fine) {
    .magnetic {
      transition: transform 0.18s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.35s ease;
      will-change: transform;
    }
  }

  /* Text reveal por palabras */
  .split-line {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
  }
  .split-word {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.2,0.9,0.2,1), opacity 0.7s ease;
    will-change: transform, opacity;
  }
  .split-word.in {
    transform: translateY(0);
    opacity: 1;
  }

  /* Línea vertical conectora en steps (móvil / tablet) */
  .steps-wrapper { position: relative; }
  .steps-vline {
    display: none;
  }
  .steps-vline-fill {
    position: absolute;
    inset: 0 0 auto 0;
    height: 0;
    background: var(--grad-main);
    transition: height 1.8s cubic-bezier(0.4,0,0.2,1);
  }
  /* Solo en 1-col (<=768) tiene sentido como conector vertical */
  @media (max-width: 768px) {
    .steps-grid { position: relative; grid-template-columns: 1fr; gap: 28px; }
    .steps-vline {
      display: block;
      position: absolute;
      top: 28px;
      bottom: 28px;
      left: 27px;
      width: 2px;
      background: var(--glass-bd);
      overflow: hidden;
      z-index: 0;
    }
    .steps-vline.animate .steps-vline-fill { height: 100%; }
    .step { flex-direction: row; text-align: left; align-items: flex-start; gap: 18px; }
    .step-number { margin-bottom: 0; width: 52px; height: 52px; position: relative; z-index: 2; }
    .step > div, .step h3, .step p { text-align: left; }
    .step-body { flex: 1; min-width: 0; }
  }

  /* Parallax hooks — translate3d por JS */
  .parallax-el { will-change: transform; transition: transform 0.08s linear; }

  /* Loader inicial */
  .page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease 0.15s;
  }
  .page-loader.hidden { opacity: 0; visibility: hidden; }
  .page-loader-logo {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--grad-main);
    box-shadow: 0 0 40px rgba(6,182,212,0.4);
    animation: loaderPulse 1.2s ease-in-out infinite;
  }
  @keyframes loaderPulse {
    0%,100% { transform: scale(1);   opacity: 1; }
    50%     { transform: scale(0.88); opacity: 0.6; }
  }

  /* Accesibilidad — sin movimiento */
  @media (prefers-reduced-motion: reduce) {
    /* Decorativos de sección */
    .hero-scanline,
    .circuit-dot,
    .circuit-trace-anim,
    .circuit-trace-anim-2,
    .svc-orb, .svc-signal,
    .cta-ring { animation: none !important; }
    #binary-canvas { display: none !important; }

    /* Hero elementos animados */
    .hero-badge       { animation: none !important; box-shadow: none; }
    .hero-cursor      { animation: none !important; opacity: 1; }
    .scroll-hint      { animation: none !important; }
    .status-dot       { animation: none !important; }
    .hero-float-card  { animation: none !important; }
    .hero-float-card-1,
    .hero-float-card-2 { animation: none !important; }
    .hero-isotipo     { animation: none !important; opacity: 0.75; }

    /* WhatsApp float */
    .wa-float { animation: none !important; }

    /* Reveal / split / parallax */
    .split-word { transform: none; opacity: 1; transition: none; }
    .parallax-el { transform: none !important; }
    .service-card.tilt { transform: none !important; }
    .magnetic { transform: none !important; }
    .page-loader { display: none !important; }

    /* Menú mobile */
    .mobile-menu,
    .mobile-menu-backdrop,
    .mobile-menu a.mobile-link,
    .mobile-menu .mobile-menu-cta,
    .mobile-menu .mobile-menu-foot { transition: opacity 0.15s ease !important; }
    .mobile-menu.open a.mobile-link { transform: none !important; transition-delay: 0s !important; }
  }

  /* ========== FLOATING WHATSAPP (desktop only) ========== */
  .wa-float {
    position: fixed;
    right: 4.5rem;
    bottom: 4.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1040;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: wa-pulse 2.4s ease-in-out infinite;
  }
  .wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55); }
  .wa-float:active { transform: scale(0.95); }
  .wa-float svg { width: 34px; height: 34px; }
  @keyframes wa-pulse {
    0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50%      { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
  }
  @media (max-width: 768px) {
    .wa-float { display: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .wa-float { animation: none; }
  }
