/* ─── RESET & BASE ─── */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --bg:        #02020a;
      --bg2:       #06061a;
      --purple:    #7c3aed;
      --purple-l:  #a855f7;
      --blue:      #3b82f6;
      --cyan:      #06b6d4;
      --white:     #ffffff;
      --gray:      #94a3b8;
      --gray-dark: #12122a;
      --border:    rgba(124,58,237,0.28);
      --glow:      0 0 40px rgba(124,58,237,0.4);
      --glow-sm:   0 0 15px rgba(124,58,237,0.32);
      --radius:    16px;
      --font:      'Inter', sans-serif;
      --font2:     'Space Grotesk', sans-serif;
    }
    html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; background: var(--bg); }
    body {
      font-family: var(--font);
      background: transparent;
      color: var(--white);
      overflow-x: hidden;
      width: 100%;
      max-width: 100%;
      position: relative;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    /* ─── UTILITIES ─── */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    .gradient-text {
      background: linear-gradient(135deg, var(--purple-l), var(--blue));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .gradient-text-flame {
      background: linear-gradient(135deg, #c084fc, var(--purple), var(--blue));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .tag {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--purple-l);
      background: rgba(124,58,237,0.12);
      border: 1px solid var(--border);
      padding: 6px 14px; border-radius: 100px;
    }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 14px 28px; border-radius: 10px;
      background: linear-gradient(135deg, var(--purple), var(--blue));
      color: var(--white); font-weight: 700; font-size: 15px;
      border: none; cursor: pointer; transition: all 0.3s;
      box-shadow: 0 4px 24px rgba(124,58,237,0.4);
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.55); }
    .btn-outline {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 13px 27px; border-radius: 10px;
      background: transparent;
      border: 1px solid var(--border);
      color: var(--white); font-weight: 600; font-size: 15px;
      cursor: pointer; transition: all 0.3s;
    }
    .btn-outline:hover { background: rgba(124,58,237,0.1); border-color: var(--purple); }
    .glass {
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      backdrop-filter: blur(12px);
      border-radius: var(--radius);
    }
    section { position: relative; }

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

    /* ─── GRID BG ─── */
    .grid-bg {
      position: absolute; inset: 0; overflow: hidden; pointer-events: none;
      background-image:
        linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
    }

    /* ─── NAVBAR ─── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      background: rgba(5,5,15,0.85);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(124,58,237,0.15);
      transition: all 0.3s;
    }
    .nav-inner {
      display: flex; align-items: center; justify-content: space-between;
      height: 68px;
    }
    .logo {
      display: flex; align-items: center; gap: 10px;
      font-family: var(--font2); font-weight: 700; font-size: 22px;
      white-space: nowrap; overflow: visible; flex-shrink: 0;
    }
    .logo-flame {
      width: 32px; height: 32px; flex-shrink: 0;
    }
    .logo span { color: var(--purple-l); }
    .nav-links {
      display: flex; align-items: center; gap: 32px;
      list-style: none;
    }
    .nav-links a {
      font-size: 14px; font-weight: 500; color: var(--gray);
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--white); }
    .nav-cta { display: flex; align-items: center; gap: 12px; }

    /* ─── HERO ─── */
    .hero {
      position: relative;
      height: 100vh;
      height: 100dvh;
      padding-top: 68px;
      overflow: hidden;
      display: flex; align-items: center; justify-content: center;
      background: transparent;
    }
    /* canvas de partículas */
    #bg-canvas {
      position: fixed; inset: 0; z-index: -2;
      width: 100vw; height: 100vh;
      pointer-events: none;
    }
    /* imagen principal completa, sin recorte */
    .hero-main-img {
      position: relative; z-index: 1;
      max-width: 92%;
      max-height: calc(100dvh - 68px);
      width: auto; height: auto;
      object-fit: contain;
      margin-top: 0;
      display: block;
      /* sombra suave para que se integre con el fondo */
      filter: drop-shadow(0 0 60px rgba(124,58,237,0.25));
    }
    /* ─── HERO CTA (debajo de la imagen) ─── */
    .hero-cta {
      display: flex; align-items: center; justify-content: center; gap: 16px;
      padding: 36px 24px 44px;
      flex-wrap: wrap;
    }

    /* ─── PARTNERS BAR ─── */
    .partners {
      padding: 32px 0;
      border-top: 1px solid rgba(255,255,255,0.06);
      border-bottom: 1px solid rgba(255,255,255,0.06);
      background: rgba(255,255,255,0.015);
    }
    .partners-label {
      font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--gray); text-align: center; margin-bottom: 20px;
    }
    .partners-logos {
      display: flex; align-items: center; justify-content: center;
      gap: 40px; flex-wrap: wrap;
    }
    .partner-logo {
      display: flex; align-items: center; gap: 8px;
      font-weight: 700; font-size: 16px; color: rgba(255,255,255,0.35);
      transition: color 0.3s;
    }
    .partner-logo:hover { color: rgba(255,255,255,0.75); }
    .partner-logo svg, .partner-logo img { opacity: 0.45; transition: opacity 0.3s; filter: brightness(0) invert(1); }
    .partner-logo:hover svg, .partner-logo:hover img { opacity: 0.85; }

    /* ─── SECTION HEADER ─── */
    .section-header { text-align: center; margin-bottom: 60px; }
    .section-header h2 {
      font-family: var(--font2);
      font-size: clamp(30px, 4vw, 46px);
      font-weight: 800; line-height: 1.2; margin: 12px 0 16px;
    }
    .section-header p { font-size: 17px; color: var(--gray); max-width: 560px; margin: 0 auto; line-height: 1.7; }

    /* ─── SERVICES ─── */
    .services { padding: 100px 0; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.06) 0%, transparent 70%); }
    .services-grid {
      display: flex;
      gap: 24px;
      transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      will-change: transform;
    }
    .service-card {
      padding: 36px; border-radius: var(--radius);
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(124,58,237,0.2);
      transition: all 0.35s;
      position: relative; overflow: hidden;
    }
    .service-card::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, transparent 60%);
      opacity: 0; transition: opacity 0.35s;
    }
    .service-card:hover { border-color: rgba(124,58,237,0.5); transform: translateY(-4px); box-shadow: var(--glow); }
    .service-card:hover::before { opacity: 1; }
    .service-icon {
      width: 56px; height: 56px; border-radius: 14px;
      background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(59,130,246,0.15));
      border: 1px solid rgba(124,58,237,0.3);
      display: flex; align-items: center; justify-content: center;
      font-size: 26px; margin-bottom: 20px;
    }
    .service-card h3 {
      font-family: var(--font2); font-size: 22px; font-weight: 700;
      margin-bottom: 12px;
    }
    .service-card p { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 20px; }
    .service-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .service-features li {
      display: flex; align-items: center; gap: 10px;
      font-size: 14px; color: rgba(255,255,255,0.75);
    }
    .service-features li::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: var(--purple-l); flex-shrink: 0;
    }

    /* ─── STATS ─── */
    .stats-section { padding: 80px 0; }
    .stats-inner {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      border: 1px solid var(--border); border-radius: var(--radius);
      overflow: hidden;
      background: rgba(124,58,237,0.08);
    }
    .stat-item {
      text-align: center; padding: 48px 24px;
      background: rgba(5,5,15,0.8);
      transition: background 0.3s;
    }
    .stat-item:hover { background: rgba(124,58,237,0.08); }
    .stat-num {
      font-family: var(--font2); font-size: 48px; font-weight: 800;
      line-height: 1; margin-bottom: 8px;
    }
    .stat-label { font-size: 14px; color: var(--gray); }

    /* ─── WHY US ─── */
    .why-section { padding: 100px 0; background: radial-gradient(ellipse 70% 60% at 100% 50%, rgba(59,130,246,0.06) 0%, transparent 65%); }
    .why-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 60px; align-items: center;
    }
    .why-left h2 {
      font-family: var(--font2); font-size: clamp(28px, 3.5vw, 42px);
      font-weight: 800; line-height: 1.2; margin: 12px 0 20px;
    }
    .why-left p { font-size: 16px; color: var(--gray); line-height: 1.8; margin-bottom: 32px; }
    .why-points { display: flex; flex-direction: column; gap: 20px; }
    .why-point {
      display: flex; gap: 16px; align-items: flex-start;
      padding: 20px; border-radius: 12px;
      background: rgba(255,255,255,0.025);
      border: 1px solid rgba(124,58,237,0.15);
      transition: all 0.3s;
    }
    .why-point:hover { border-color: rgba(124,58,237,0.4); background: rgba(124,58,237,0.06); }
    .why-point-icon {
      width: 44px; height: 44px; flex-shrink: 0;
      border-radius: 10px; display: flex; align-items: center; justify-content: center;
      font-size: 22px;
      background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(59,130,246,0.2));
      border: 1px solid rgba(124,58,237,0.25);
    }
    .why-point-text h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
    .why-point-text p { font-size: 14px; color: var(--gray); line-height: 1.6; }
    .why-right {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .why-card {
      padding: 28px 24px; border-radius: var(--radius);
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(124,58,237,0.2);
      text-align: center; transition: all 0.3s;
    }
    .why-card:hover { border-color: rgba(124,58,237,0.45); transform: translateY(-3px); box-shadow: var(--glow-sm); }
    .why-card:first-child { grid-column: 1 / -1; }
    .why-card-icon { font-size: 36px; margin-bottom: 12px; }
    .why-card h3 { font-family: var(--font2); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
    .why-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }

    /* ─── PROCESS ─── */
    .process-section { padding: 100px 0; background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(124,58,237,0.06) 0%, transparent 70%); }
    .process-steps {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 0; position: relative;
    }
    .process-steps::before {
      content: '';
      position: absolute; top: 36px; left: 12.5%; right: 12.5%;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--purple), var(--blue), transparent);
    }
    .process-step { text-align: center; padding: 0 16px; position: relative; }
    .step-num {
      width: 72px; height: 72px; border-radius: 50%;
      background: linear-gradient(135deg, var(--purple), var(--blue));
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font2); font-size: 22px; font-weight: 800;
      margin: 0 auto 24px;
      box-shadow: 0 0 0 4px rgba(124,58,237,0.15), 0 0 0 8px rgba(124,58,237,0.07);
      position: relative; z-index: 1;
    }
    .process-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
    .process-step p { font-size: 14px; color: var(--gray); line-height: 1.7; }

    /* ─── TECHNOLOGY ─── */
    .tech-section { padding: 80px 0; }
    .tech-grid {
      display: grid; grid-template-columns: repeat(5, 1fr);
      gap: 16px;
    }
    .tech-card {
      padding: 24px 16px; border-radius: 12px; text-align: center;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.07);
      transition: all 0.3s;
    }
    .tech-card:hover { border-color: rgba(124,58,237,0.4); background: rgba(124,58,237,0.06); transform: translateY(-3px); }
    .tech-card-icon { font-size: 32px; margin-bottom: 10px; }
    .tech-card-icon img { filter: brightness(0) invert(1); opacity: 0.8; transition: opacity 0.3s; }
    .tech-card:hover .tech-card-icon img { opacity: 1; }
    .tech-card-name { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.8); }

    /* ─── ABOUT ─── */
    .about-section { padding: 100px 0; background: radial-gradient(ellipse 70% 60% at 0% 50%, rgba(124,58,237,0.07) 0%, transparent 65%); }
    .about-inner {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 80px; align-items: center;
    }
    .about-visual {
      position: relative;
    }
    .about-box {
      aspect-ratio: 1;
      border-radius: 24px;
      background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(59,130,246,0.1));
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 80px;
      box-shadow: var(--glow);
      position: relative; overflow: hidden;
    }
    .about-box::before {
      content: '';
      position: absolute; inset: 0;
      background: repeating-linear-gradient(
        45deg, transparent, transparent 40px,
        rgba(124,58,237,0.04) 40px, rgba(124,58,237,0.04) 41px
      );
    }
    .about-stat-badge {
      position: absolute; bottom: -16px; right: -16px;
      background: linear-gradient(135deg, var(--purple), var(--blue));
      border-radius: 16px; padding: 20px 24px;
      box-shadow: 0 8px 32px rgba(124,58,237,0.4);
    }
    .about-stat-badge-num { font-family: var(--font2); font-size: 32px; font-weight: 800; }
    .about-stat-badge-label { font-size: 12px; opacity: 0.85; }
    .about-content .tag { margin-bottom: 16px; }
    .about-content h2 {
      font-family: var(--font2); font-size: clamp(28px, 3.5vw, 42px);
      font-weight: 800; line-height: 1.2; margin-bottom: 20px;
    }
    .about-content p { font-size: 16px; color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
    .about-values {
      display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px;
    }
    .about-value-chip {
      padding: 8px 16px; border-radius: 100px;
      background: rgba(124,58,237,0.1); border: 1px solid var(--border);
      font-size: 13px; font-weight: 600; color: var(--purple-l);
    }

    /* ─── CTA ─── */
    .cta-section { padding: 100px 0; }
    .cta-inner {
      text-align: center;
      padding: 80px 60px;
      border-radius: 24px;
      background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(59,130,246,0.1) 100%);
      border: 1px solid rgba(124,58,237,0.3);
      position: relative; overflow: hidden;
    }
    .cta-inner::before {
      content: '';
      position: absolute; width: 400px; height: 400px; border-radius: 50%;
      background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
      top: -100px; left: -100px; pointer-events: none;
    }
    .cta-inner::after {
      content: '';
      position: absolute; width: 300px; height: 300px; border-radius: 50%;
      background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
      bottom: -80px; right: -80px; pointer-events: none;
    }
    .cta-inner h2 {
      font-family: var(--font2); font-size: clamp(28px, 4vw, 48px);
      font-weight: 800; line-height: 1.2; margin-bottom: 16px;
      position: relative; z-index: 1;
    }
    .cta-inner p {
      font-size: 18px; color: var(--gray); margin-bottom: 36px;
      max-width: 520px; margin-left: auto; margin-right: auto;
      line-height: 1.7; position: relative; z-index: 1;
    }
    .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

    /* ─── CONTACT ─── */
    .contact-section { padding: 100px 0; }
    .contact-inner {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 80px; align-items: start;
    }
    .contact-left h2 {
      font-family: var(--font2); font-size: clamp(28px, 3.5vw, 40px);
      font-weight: 800; margin-bottom: 16px; line-height: 1.2;
    }
    .contact-left p { font-size: 16px; color: var(--gray); line-height: 1.8; margin-bottom: 36px; }
    .contact-items { display: flex; flex-direction: column; gap: 16px; }
    .contact-item {
      display: flex; align-items: center; gap: 16px;
      padding: 16px 20px; border-radius: 12px;
      background: rgba(255,255,255,0.03); border: 1px solid rgba(124,58,237,0.15);
    }
    .contact-item-icon {
      width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
      background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(59,130,246,0.2));
      border: 1px solid rgba(124,58,237,0.25);
      display: flex; align-items: center; justify-content: center; font-size: 20px;
    }
    .contact-item-label { font-size: 12px; color: var(--gray); }
    .contact-item-value { font-size: 15px; font-weight: 600; }
    .contact-form { display: flex; flex-direction: column; gap: 28px; }
    .form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; color: rgba(255,255,255,0.8); letter-spacing: 0.03em; }
    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%; background: rgba(255,255,255,0.04);
      border: 1px solid rgba(124,58,237,0.2);
      border-radius: 14px; padding: 22px 22px;
      color: var(--white); font-family: var(--font); font-size: 16px;
      transition: border-color 0.3s, box-shadow 0.3s;
      outline: none; line-height: 1.5;
    }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
    }
    .form-group input::placeholder,
    .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
    .form-group select option { background: #0b0b1a; }
    .form-group textarea { resize: vertical; min-height: 180px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .form-submit { width: 100%; padding: 18px; border-radius: 10px; font-size: 16px; margin-top: 8px; }

    /* ─── FOOTER ─── */
    footer {
      border-top: 1px solid rgba(255,255,255,0.07);
      padding: 48px 0 32px;
    }
    .footer-inner {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px; margin-bottom: 48px;
    }
    .footer-brand .logo { margin-bottom: 16px; }
    .footer-brand p { font-size: 14px; color: var(--gray); line-height: 1.7; max-width: 260px; }
    .footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col ul li a { font-size: 14px; color: var(--gray); transition: color 0.2s; }
    .footer-col ul li a:hover { color: var(--white); }
    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.06);
      font-size: 13px; color: var(--gray);
    }

    /* ─── HAMBURGER ─── */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px;
      z-index: 1100;
    }
    .nav-hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--white);
      border-radius: 2px;
      transition: all 0.3s;
    }
    .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ─── CONTACT CARDS GRID (base, antes de las media queries) ─── */
    .contact-cards-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 24px; max-width: 900px; margin: 0 auto 48px;
    }

    /* ─── RESPONSIVE ─── */

    /* Tablet landscape: ≤1100px */
    @media (max-width: 1100px) {
      .tech-grid { grid-template-columns: repeat(3, 1fr); }
      .footer-inner { grid-template-columns: 1fr 1fr; }
      .why-right { grid-template-columns: 1fr 1fr; }
    }

    /* Tablet: ≤1024px */
    @media (max-width: 1024px) {
      .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: rgba(2,2,10,0.98); border-bottom: 1px solid var(--border);
        padding: 8px 0; z-index: 999; }
      .nav-links.nav-open { display: flex; }
      .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.05); }
      .nav-links a { display: block; padding: 14px 24px; font-size: 15px; color: var(--white); }
      .nav-cta { display: none; }
      .nav-hamburger { display: flex; }
      .why-grid { grid-template-columns: 1fr; }
      .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
      .process-steps::before { display: none; }
      .about-inner { grid-template-columns: 1fr; gap: 48px; }
      .about-visual { max-width: 420px; margin: 0 auto; }
      .contact-inner { grid-template-columns: 1fr; }
    }

    /* Mobile: ≤768px */
    @media (max-width: 768px) {
      .services, .why-section, .process-section, .tech-section,
      .about-section, .cta-section, .contact-section { padding: 64px 0; }
      .stats-section { padding: 48px 0; }
      .contact-cards-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
      .stats-inner { grid-template-columns: repeat(3, 1fr); }
      .why-right { grid-template-columns: 1fr 1fr; }
      .process-steps { grid-template-columns: 1fr; }
      .tech-grid { grid-template-columns: repeat(3, 1fr); }
      .service-card { padding: 28px 24px; }
      .cta-inner { padding: 52px 32px; }
      .form-row { grid-template-columns: 1fr; }
      .hero-cta { flex-direction: column; align-items: center; padding: 28px 16px 36px; }
      .hero-cta a { width: 100%; max-width: 340px; justify-content: center; }
      .partners-logos { gap: 24px; }
      .section-header { margin-bottom: 44px; }
      .stat-num { font-size: 38px; }
    }

    /* Mobile pequeño: ≤580px */
    @media (max-width: 580px) {
      .container { padding: 0 16px; }
      .services, .why-section, .process-section, .tech-section,
      .about-section, .cta-section, .contact-section { padding: 48px 0; }
      .stats-inner { grid-template-columns: 1fr; }
      .why-right { grid-template-columns: 1fr; }
      .why-card:first-child { grid-column: 1; }
      .contact-cards-grid { max-width: 100%; }
      .tech-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-inner { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
      .cta-inner { padding: 40px 20px; }
      .stat-num { font-size: 36px; }
      .partners-logos { gap: 16px; }
      .partner-logo { font-size: 13px; }
      .process-step { padding: 0 8px; }
      .section-header { margin-bottom: 32px; }
      .contact-form { padding: 24px !important; }
      .why-points { gap: 12px; }
      .why-point { padding: 16px; }
      .logo { font-size: 18px; }
      .about-visual { max-width: 300px; }
    }

    /* Móvil muy pequeño: ≤380px */
    @media (max-width: 380px) {
      .tech-grid { grid-template-columns: 1fr 1fr; }
      .stats-inner { grid-template-columns: 1fr; }
      .hero-cta a { font-size: 14px !important; padding: 14px 20px !important; }
      .btn-primary, .btn-outline { font-size: 14px; }
    }

    /* ─── CAROUSEL ─── */
    .services-track-outer { overflow: hidden; }
    .carousel-controls {
      display: flex; align-items: center; justify-content: center;
      gap: 24px; margin-top: 48px;
    }
    .carousel-btn {
      width: 56px; height: 56px; border-radius: 50%;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(124,58,237,0.3);
      color: white; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: all 0.3s; flex-shrink: 0;
    }
    .carousel-btn:hover:not([disabled]) {
      background: linear-gradient(135deg, var(--purple), var(--blue));
      border-color: transparent;
      box-shadow: 0 4px 24px rgba(124,58,237,0.5);
      transform: scale(1.08);
    }
    .carousel-btn[disabled] { opacity: 0.25; cursor: not-allowed; }
    .carousel-dots { display: flex; gap: 8px; align-items: center; }
    .carousel-dot {
      width: 8px; height: 8px; border-radius: 100px;
      background: rgba(255,255,255,0.18);
      transition: all 0.35s; cursor: pointer; border: none; padding: 0;
    }
    .carousel-dot.active { background: var(--purple-l); width: 28px; }

    /* ─── CONTACT CARDS ─── */
    .contact-big-card {
      padding: 40px 28px; border-radius: 20px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(124,58,237,0.2);
      display: flex; flex-direction: column; align-items: center;
      text-align: center; gap: 10px; transition: all 0.3s;
      color: inherit; text-decoration: none;
    }
    .contact-big-card:hover {
      border-color: rgba(124,58,237,0.5);
      background: rgba(124,58,237,0.07);
      transform: translateY(-5px); box-shadow: var(--glow);
    }
    .contact-big-card.featured {
      background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(59,130,246,0.1));
      border-color: rgba(124,58,237,0.4);
    }
    .cbc-icon {
      width: 64px; height: 64px; border-radius: 16px; margin-bottom: 8px;
      background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(59,130,246,0.2));
      border: 1px solid rgba(124,58,237,0.3);
      display: flex; align-items: center; justify-content: center;
    }
    .cbc-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gray); font-weight: 600; }
    .cbc-value { font-size: 15px; font-weight: 700; line-height: 1.4; }
    .cbc-arrow { color: var(--purple-l); transition: transform 0.3s; margin-top: 4px; font-size: 18px; }
    .contact-big-card:hover .cbc-arrow { transform: translateX(5px); }
    .contact-cta-wrap { text-align: center; }

    /* ─── FLAME SCROLL ─── */
    .flame-scroll-container {
      position: relative;
      width: 100%;
      aspect-ratio: 1;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 0 80px rgba(124,58,237,0.3);
    }
    .flame-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 24px;
      transition: opacity 0.1s linear;
    }
    .flame-img-1 { opacity: 1; z-index: 1; }
    .flame-img-2 { opacity: 0; z-index: 2; }

    /* ─── ANIMATIONS ─── */
    .reveal {
      opacity: 0; transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .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; }
  

    /* ─── PÁGINAS INTERNAS ─── */
    main.inner { padding-top: 68px; }
    .nav-links a.active { color: var(--white); }
    .nav-links a.active::after {
      content: ''; display: block; height: 2px; margin-top: 4px;
      border-radius: 2px;
      background: linear-gradient(90deg, var(--purple-l), var(--blue));
    }
    @media (max-width: 1024px) {
      .nav-links a.active::after { display: none; }
      .nav-links a.active { color: var(--purple-l); }
    }

    /* ─── INTRO CINEMATOGRÁFICA: anillo de fuego (solo index.html) ─── */
    .intro-spacer {
      height: 150vh;
      width: 100%;
      pointer-events: none;
    }
    .intro-overlay {
      position: fixed;
      inset: 0;
      z-index: 9999;
      pointer-events: none;            /* nunca bloquea el scroll ni los clics */
      overflow: hidden;
      background: radial-gradient(ellipse at center, #0a0612 0%, #040208 70%);
      opacity: 1;
      transition: opacity 0.6s ease;
      will-change: opacity;
    }
    .intro-canvas {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      display: block;
    }
    .intro-content { position: absolute; inset: 0; }
    .intro-logo {
      position: absolute; left: 50%; top: 50%;
      width: 300px; height: 300px;
      transform: translate(-50%, -50%) scale(0.8);
      transform-origin: center center;
      will-change: transform, opacity, filter;
      filter: drop-shadow(0 0 12px rgba(168,85,247,0.5));
    }
    .intro-logo svg,
    .intro-logo img {
      width: 100%; height: 100%; display: block;
      object-fit: contain;
    }
    .intro-text {
      position: absolute; left: 50%; top: calc(50% + 185px);
      transform: translateX(-50%);
      width: min(90%, 660px);
      text-align: center;
      will-change: opacity;
    }
    .intro-text h1 {
      font-family: var(--font2);
      font-size: clamp(28px, 5vw, 54px);
      font-weight: 800; line-height: 1.15;
      margin-bottom: 14px;
    }
    .intro-text p {
      color: var(--gray);
      font-size: clamp(14px, 2.4vw, 18px);
      line-height: 1.6;
    }
    @media (max-width: 640px) {
      .intro-logo { width: 210px; height: 210px; }
      .intro-text { top: calc(50% + 130px); }
    }
    /* Sin animación si el usuario prefiere movimiento reducido */
    @media (prefers-reduced-motion: reduce) {
      .intro-spacer { height: 0; }
      .intro-overlay { display: none; }
    }
