:root {
    --negro: #0a0a0a;
    --rojo: #EA2227;
    --blanco: #f5f3f0;
    --gris: #8a8a8a;

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', 'Helvetica Neue', sans-serif;
  }


  .h1-heading{
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-style: italic;
  }

  /* LOGO SVG CONTAINERS */
  .nav-logo { display: flex; align-items: center; height: 2.2rem; text-decoration: none; }
  .nav-logo-img {
    height: 2.8rem;
    width: auto;
    display: block;
    object-fit: contain;
}
  .nav-logo-fallback { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blanco); display: none; }

  .mobile-logo-link { display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
  .mobile-logo-img { height: 2.5rem; width: auto; display: block; object-fit: contain; }
  .mobile-logo-fallback { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blanco); display: none; }

  .footer-brand { display: flex; align-items: center; }
  .footer-logo-img { height: 2rem; width: auto; display: block; object-fit: contain; }
  .footer-logo-fallback { font-family: var(--serif); font-size: 1rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blanco); display: none; }

  /* CONTAINER */
  .container { width: 100%; max-width: min(1452px, 100vw); margin: 0 auto; padding: 0 2rem; box-sizing: border-box; }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; -webkit-text-size-adjust: 100%; }
  body { background: var(--negro); color: var(--blanco); font-family: var(--sans); font-weight: 300; overflow-x: hidden; }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,10,10,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); transition: border-color 0.3s; padding: 1.5rem 0; }
  nav .container { display: flex; justify-content: space-between; align-items: center; }
  .nav-logo { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blanco); text-decoration: none; }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a { color: var(--gris); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.3s; }
  .nav-links a:hover { color: var(--blanco); }
  .nav-cta { color: var(--blanco) !important; border: 1px solid rgba(255,255,255,0.3); padding: 0.6rem 1.4rem; transition: all 0.3s !important; }
  .nav-cta:hover { border-color: var(--rojo) !important; color: var(--rojo) !important; }

  /* HERO */
  .hero { min-height: 100vh; position: relative; overflow: hidden; max-width: 100%; }
  .hero .container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 8rem 2rem 5rem; min-height: 100vh; gap: 4rem; }
  .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at var(--gx, 75%) var(--gy, 30%), rgba(234,34,39,0.13) 0%, transparent 55%); pointer-events: none; transition: background 0.05s linear; will-change: background; }
  @media (prefers-reduced-motion: reduce) { .hero::before { background: radial-gradient(circle at 75% 30%, rgba(234,34,39,0.10) 0%, transparent 55%); animation: none !important; } }
  .hero-tag { font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rojo); margin-bottom: 2rem; display: flex; align-items: center; gap: 0.8rem; }
  .hero-tag::before { content: ''; width: 2rem; height: 1px; background: var(--rojo); }
  .hero h1 { font-family: 'DM Sans', 'Helvetica Neue', sans-serif; font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 300; line-height: 1.1; margin-bottom: 1.5rem; }
  .hero h1 em { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; color: var(--rojo); }
  .hero-sub { font-size: 1.2rem; line-height: 1.75; color: rgba(245,243,240,0.65); max-width: 480px; margin-bottom: 3rem; }
  .btn-primary { display: inline-flex; align-items: center; gap: 0.8rem; background: var(--rojo); color: var(--blanco); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 1rem 2rem; transition: all 0.3s; font-weight: 500; }
  .btn-primary:hover { background: #c41a1f; }
  .btn-primary .arrow { transition: transform 0.3s; }
  .btn-primary:hover .arrow { transform: translateX(4px); }
  .hero-note { font-size: 0.78rem; color: var(--gris); letter-spacing: 0.05em; margin-top: 1.5rem; }
  .hero-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding-left: 4rem; gap: 3rem; }
  .hero-stat-block { padding-left: 2rem; width: 100%; text-align: right; }
  .stat-num { font-family: 'DM Sans', 'Helvetica Neue', sans-serif; font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 300; line-height: 1; }
  .stat-num span { color: var(--rojo); }
  .stat-label { font-size: 0.72rem; color: var(--gris); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.5rem; }

  /* MARQUEE */
  .marquee-section { border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 1.2rem 0; overflow: hidden; background: rgba(255,255,255,0.02); max-width: 100vw; }
  .marquee-wrapper { display: flex; width: max-content; animation: marquee-scroll 35s linear infinite; will-change: transform; }
  .marquee-track { display: flex; flex-shrink: 0; }
  .marquee-item { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); flex-shrink: 0; padding: 0 3rem; white-space: nowrap; }
  .marquee-dot { color: var(--rojo); flex-shrink: 0; white-space: nowrap; }
  @keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } to { transform: translateX(-100%); } }

  /* SECTIONS */
  .section { padding: 7rem 0; }
  .section > .container { padding-left: 2rem; padding-right: 2rem; }
  #problema { padding-top: 10rem; padding-bottom: 8rem; }
  .section-label { font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rojo); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem; }
  .section-label::before { content: ''; width: 2rem; height: 1px; background: var(--rojo); }
  .section-title { font-family: 'DM Sans', 'Helvetica Neue', sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; line-height: 1.15; margin-bottom: 1rem; }
  .section-title em { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; color: rgba(245,243,240,0.5); }

  /* DOLOR */
  .dolor-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 4rem; border: 1px solid rgba(255,255,255,0.08); margin-bottom: 0; }
  .dolor-item { padding: 3rem 3rem 4rem; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); position: relative; overflow: hidden; transition: background 0.4s; }
  .dolor-item:nth-child(even) { border-right: none; }
  .dolor-item:nth-child(3), .dolor-item:nth-child(4) { border-bottom: none; }
  .dolor-item::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--rojo); transition: height 0.4s; }
  .dolor-item:hover::before { height: 100%; }
  .dolor-item:hover { background: rgba(234,34,39,0.04); }
  .dolor-num { font-family: 'DM Sans', 'Helvetica Neue', sans-serif; font-size: 4rem; font-weight: 300; color: rgba(255,255,255,0.18); line-height: 1; margin-bottom: 1rem; }
  .dolor-intro { font-size: 1.1rem; line-height: 1.75; color: rgba(245,243,240,0.45); max-width: 640px; margin-top: 1.5rem; }
  .dolor-text { font-size: 1.1rem; line-height: 1.7; color: rgba(245,243,240,0.75); }
  .dolor-text strong { color: var(--blanco); font-weight: 500; }

  /* PROMESA */
  .promesa-section { background: var(--blanco); color: var(--negro); padding: 7rem 0; }
  .promesa-section .container { padding-left: 2rem; padding-right: 2rem; }
  .promesa-section .section-label { color: var(--rojo); }
  .promesa-section .section-label::before { background: var(--rojo); }
  .promesa-section .section-title { color: var(--negro); }
  .promesa-section .section-title em { color: rgba(10,10,10,0.35); }
  .promesa-intro { font-size: 1.1rem; line-height: 1.75; color: rgba(10,10,10,0.5); margin-top: 1.2rem; max-width: 560px; }
  .promesa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 4rem; background: rgba(10,10,10,0.1); }
  .promesa-card { background: var(--blanco); padding: 3rem 2.5rem; transition: background 0.3s; }
  .promesa-card:hover { background: #f0ede8; }
  .promesa-icon { width: 2.5rem; height: 2.5rem; border: 1px solid var(--rojo); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: var(--rojo); }
  .promesa-card h3 { font-family: 'DM Sans', 'Helvetica Neue', sans-serif; font-size: 1.4rem; font-weight: 400; margin-bottom: 1rem; color: var(--negro); }
  .promesa-card p { font-size: 1.1rem; line-height: 1.75; color: rgba(10,10,10,0.6); }

  /* CLIENTES */
  .clientes-section { padding: 5rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .clientes-section .container { padding-left: 2rem; padding-right: 2rem; }
  .clientes-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); text-align: center; margin-bottom: 3rem; }
  .clientes-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; background: rgba(255,255,255,0.06); max-width: 900px; margin: 0 auto; }
  .cliente-item { background: var(--negro); padding: 1.5rem 2.5rem; font-family: var(--serif); font-size: 1rem; color: rgba(245,243,240,0.45); transition: color 0.3s; white-space: nowrap; }
  .cliente-item:hover { color: var(--blanco); }

  /* PROCESO */
  .proceso-section { padding: 7rem 0 4rem; background: rgba(255,255,255,0.02); }
  .proceso-section .container { padding-left: 2rem; padding-right: 2rem; }
  .proceso-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 5rem; position: relative; }
  .proceso-grid::before { content: ''; position: absolute; top: 2rem; left: calc(12.5% + 1rem); right: calc(12.5% + 1rem); height: 1px; background: linear-gradient(to right, var(--rojo), rgba(234,34,39,0.2)); }
  .proceso-step { padding: 0 2rem 3rem; }
  /* PROCESO — default, hover, selected */
  .proceso-step { cursor: pointer; }

  /* Default — número, título y descripción en gris */
  .paso-dot { width: 4rem; height: 4rem; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; position: relative; z-index: 2; background: var(--negro); transition: border-color 0.3s, background 0.3s; }
  .paso-num { font-family: var(--serif); font-size: 1.2rem; color: rgba(255,255,255,0.3); font-weight: 300; transition: color 0.3s; }
  .paso-title { font-family: 'DM Sans', 'Helvetica Neue', sans-serif; font-size: 1.5rem; font-weight: 400; margin-bottom: 1rem; color: rgba(255,255,255,0.35); transition: color 0.3s; }
  .paso-desc { font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,0.25); transition: color 0.3s; }

  /* Hover — todo sube levemente hacia blanco */
  .proceso-step:hover .paso-dot { border-color: rgba(255,255,255,0.3); }
  .proceso-step:hover .paso-num { color: rgba(255,255,255,0.6); }
  .proceso-step:hover .paso-title { color: rgba(255,255,255,0.7); }
  .proceso-step:hover .paso-desc { color: rgba(255,255,255,0.5); }

  /* Selected — igual que el estado activo del paso 01 */
  .proceso-step.active .paso-dot { border-color: var(--rojo); background: #120304; }
  .proceso-step.active .paso-num { color: var(--rojo); }
  .proceso-step.active .paso-title { color: var(--blanco); }
  .proceso-step.active .paso-desc { color: rgba(245,243,240,0.75); }
  .proceso-footer { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; }
  .proceso-footer p { font-family: var(--serif); font-size: 1.55rem; font-weight: 300; font-style: italic; color: rgba(245,243,240,0.5); }
  .proceso-footer strong { color: var(--blanco); font-style: normal; font-weight: 400; }

  /* TESTIMONIOS */
  .testimonios-section { padding: 7rem 0; background: #0f0f0f; }
  .testimonios-section .container { padding-left: 2rem; padding-right: 2rem; }

  .testimonios-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; }
  .testimonios-arrows { display: flex; gap: 0.75rem; }
  .testimonios-arrow { width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,0.15); background: none; color: var(--blanco); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all 0.3s; flex-shrink: 0; }
  .testimonios-arrow:hover { border-color: var(--rojo); color: var(--rojo); }
  .testimonios-arrow:disabled { opacity: 0.25; cursor: default; }
  .testimonios-arrow:disabled:hover { border-color: rgba(255,255,255,0.15); color: var(--blanco); }

  .testimonios-track-outer { overflow: hidden; }
  .testimonios-track { display: flex; gap: 2px; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
  .testimonio-card { background: #0f0f0f; padding: 3rem; flex: 0 0 calc((100% - 4px) / 3); min-width: 0; border: 1px solid rgba(255,255,255,0.04); transition: background 0.3s; box-sizing: border-box; }
  .testimonio-card:hover { background: #141414; }
  .testimonio-quote { font-family: var(--serif); font-size: 1.3rem; font-weight: 300; font-style: italic; line-height: 1.75; color: rgba(245,243,240,0.8); margin-bottom: 2rem; padding-top: 2.5rem; position: relative; }
  .testimonio-quote::before { content: '\201C'; font-size: 5rem; color: var(--rojo); position: absolute; top: -0.5rem; left: -0.3rem; font-style: normal; line-height: 1; }
  .testimonio-author { font-size: 0.95rem; color: var(--gris); }
  .testimonio-author strong { display: block; color: var(--blanco); font-weight: 500; margin-bottom: 0.2rem; }

  .testimonios-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2.5rem; }
  .testimonios-dot { width: 1.8rem; height: 2px; background: rgba(255,255,255,0.15); cursor: pointer; transition: background 0.3s; border: none; padding: 0; }
  .testimonios-dot.active { background: var(--rojo); }

  @media (max-width: 900px) {
    .testimonio-card { flex: 0 0 calc((100% - 2px) / 2); }
    .testimonios-header { flex-direction: column; align-items: flex-start; gap: 2rem; margin-bottom: 2.5rem; }
  }
  @media (max-width: 600px) {
    .testimonio-card { flex: 0 0 100%; }
    .testimonios-section .container { padding-left: 1.2rem; padding-right: 1.2rem; }
  }

  /* PARA QUIÉN */
  .para-quien { padding: 7rem 0; }
  .para-quien .container { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; padding-left: 2rem; padding-right: 2rem; }
  .para-quien-left .section-title { margin-bottom: 2rem; }
  .para-quien-intro { font-size: 1.1rem; line-height: 1.75; color: rgba(245,243,240,0.6); margin-bottom: 3rem; }
  .criterio-list { list-style: none; }
  .criterio-item { display: flex; align-items: flex-start; gap: 1rem; font-size: 0.95rem; line-height: 1.6; color: rgba(245,243,240,0.75); padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .criterio-item:last-child { border-bottom: none; }
  .criterio-arrow { color: var(--rojo); flex-shrink: 0; }
  .industrias-block { border: 1px solid rgba(255,255,255,0.08); padding: 3rem; }
  .industrias-title { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); margin-bottom: 2rem; }
  .industrias-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .industria-item { padding: 0.9rem 1rem; font-size: 0.88rem; color: rgba(245,243,240,0.55); border-bottom: 1px solid rgba(255,255,255,0.05); border-right: 1px solid rgba(255,255,255,0.05); transition: color 0.2s, background 0.2s; }
  .industria-item:hover { color: var(--blanco); background: rgba(255,255,255,0.02); }
  .industria-item:nth-child(even) { border-right: none; }


  /* CTA TRUST SIGNALS */
  .cta-trust { margin-top: 3rem; display: flex; flex-direction: column; gap: 2rem; }

  .cta-stats { display: flex; gap: 2.5rem; }
  .cta-stat { display: flex; flex-direction: column; gap: 0.2rem; }
  .cta-stat-num { font-family: 'DM Sans'; font-size: 1.8rem; font-weight: 300; color: var(--negro); line-height: 1; }
  .cta-stat-num sup { font-size: 0.65em; color: var(--rojo); }
  .cta-stat-label { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(10,10,10,0.5); }

  .cta-contacto { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 2rem; border-top: 1px solid rgba(10,10,10,0.12); }
  .cta-tel { font-family: var(--sans); font-size: 1.2rem; font-weight: 500; color: var(--negro); text-decoration: none; letter-spacing: 0.02em; transition: opacity 0.2s; }
  .cta-tel:hover { opacity: 0.75; }
  .cta-ubicacion { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(10,10,10,0.45); }

  /* Vertical align cta-left content */
  .cta-left { display: flex; flex-direction: column; justify-content: center;center; }

  /* Mobile adjustments */
  @media (max-width: 600px) {
    .cta-trust { margin-top: 2rem; gap: 1.5rem; }
    .cta-stats { gap: 1.5rem; }
    .cta-stat-num { font-size: 1.4rem; }
  }

  /* CTA FINAL */
  .cta-final { background: var(--blanco); padding: 7rem 0; }
  .cta-final .container { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; padding-left: 2rem; padding-right: 2rem; }
  .cta-final h2 { font-family: 'DM Sans', 'Helvetica Neue', sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; line-height: 1.15; color: var(--negro); margin-bottom: 1.5rem; }
  .cta-desc { font-size: 1.2rem; line-height: 1.75; color: rgba(10,10,10,0.65); margin-bottom: 2.5rem; }

  /* FORM */
  .form-block { background: rgba(10,10,10,0.04); border: 1px solid rgba(10,10,10,0.08); padding: 3rem; }
  .form-title { font-family: 'DM Sans', 'Helvetica Neue', sans-serif; font-size: 2.4rem; font-weight: 300; color: var(--negro); margin-bottom: 0.2rem; line-height: 1.2; padding-left:2rem }
  .form-sub { font-size: 0.8rem; color: rgba(10,10,10,0.45); margin-bottom: 2rem; }
  .form-group { margin-bottom: 0.9rem; }
  .form-group label { display: block; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(10,10,10,0.55); margin-bottom: 0.35rem; }
  .form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--blanco); border: 1px solid rgba(10,10,10,0.18); color: var(--negro); padding: 0.8rem 1rem; font-family: var(--sans); font-size: 1.05rem; font-weight: 300; outline: none; transition: border-color 0.3s; -webkit-appearance: none; border-radius: 0; }
  .form-group input::placeholder, .form-group textarea::placeholder { color: rgba(10,10,10,0.3); }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(255,255,255,0.5); }
  .form-group select option { background: var(--blanco); color: var(--negro); }
  .form-group textarea { resize: none; height: 80px; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .btn-form { width: 100%; background: var(--rojo); color: var(--blanco); border: none; padding: 1rem; font-family: var(--sans); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; margin-top: 0.5rem; display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
  .btn-form:hover { background: #c41a1f; color: var(--blanco); }
  .form-disclaimer { font-size: 0.73rem; color: rgba(245,243,240,0.4); text-align: center; margin-top: 1rem; line-height: 1.5; }

  /* FOOTER */
  footer { background: var(--negro); border-top: 1px solid rgba(255,255,255,0.06); padding: 3rem 0; }
  footer .container { display: flex; justify-content: space-between; align-items: center; }
  .footer-brand { display: flex; align-items: center; }
  .footer-info { font-size: 0.95rem; color: var(--gris); text-align: center; line-height: 1.6; }
  .footer-contact { font-size: 0.78rem; color: var(--gris); text-align: right; line-height: 1.6; }
  .footer-contact a { color: var(--blanco); text-decoration: none; }


  /* BOTÓN FLOTANTE */
  .btn-flotante { position: fixed; bottom: max(2rem, env(safe-area-inset-bottom, 2rem)); right: max(2rem, env(safe-area-inset-right, 2rem)); z-index: 90; width: 3.5rem; height: 3.5rem; background: var(--rojo); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(234,34,39,0.4); transition: all 0.3s; text-decoration: none; }
  .btn-flotante:hover { background: #c41a1f; transform: scale(1.08); box-shadow: 0 6px 24px rgba(234,34,39,0.5); }
  .btn-flotante svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: var(--blanco); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .btn-flotante-tooltip { position: absolute; right: 4.2rem; background: var(--negro); color: var(--blanco); font-size: 0.72rem; letter-spacing: 0.08em; white-space: nowrap; padding: 0.4rem 0.8rem; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  .btn-flotante:hover .btn-flotante-tooltip { opacity: 1; }
  @media (max-width: 600px) { .btn-flotante { bottom: 1.2rem; right: 1.2rem; width: 3rem; height: 3rem; } }


  /* SCROLL INDICATOR */
  .scroll-indicator { display: none; flex-direction: column; align-items: center; gap: 0.4rem; margin-top: 2.5rem; opacity: 0; animation: fadeInScroll 1s ease 1s forwards; pointer-events: none; }
  @keyframes fadeInScroll { to { opacity: 1; } }
  @keyframes bounceArrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
  .scroll-indicator span { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,243,240,0.45); }
  .scroll-indicator svg { animation: bounceArrow 1.4s ease-in-out infinite; }
  @media (max-width: 600px) { .scroll-indicator { display: flex; } }
  @media (min-width: 601px) { .scroll-indicator { display: none !important; } }

  /* FADE UP */
  .fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .fade-up.visible { opacity: 1; transform: translateY(0); }

  /* RESPONSIVE */

  /* LOGOS GRID */
  .clientes-section .clientes-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); text-align: center; margin-bottom: 3rem; }
  .logos-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: rgba(255,255,255,0.05); max-width: 100%; }
  .logo-item { background: var(--negro); padding: 1.2rem 1.5rem; display: flex; align-items: center; justify-content: center; transition: background 0.3s; height: 90px; }
  .logo-item:hover { background: rgba(255,255,255,0.05); }
  .logo-wrap { display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; }
  .logo-wrap svg, .logo-wrap img { width: auto; height: 100%; max-width: 110px; opacity: 0.55; transition: opacity 0.3s; }
  .logo-item:hover .logo-wrap svg, .logo-item:hover .logo-wrap img { opacity: 1; }


  /* PORTFOLIO */
  .portfolio-section { padding: 4rem 0 7rem; background: #0c0c0c; }
  .portfolio-section .container { padding-left: 2rem; padding-right: 2rem; }
  .portfolio-section .section-label::before { background: var(--rojo); }
  .portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 4rem; background: rgba(255,255,255,0.04); }
  .portfolio-item { position: relative; background: #161616; cursor: pointer; display: flex; flex-direction: column; }

  .portfolio-item:hover .portfolio-info { background: #1a1a1a; }
  .portfolio-placeholder { transition: transform 0.5s ease; width: 100%; aspect-ratio: 4/3; display: block; overflow: hidden; flex-shrink: 0; }
  .portfolio-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.5s ease; max-width: 100%; }
  .portfolio-item:hover .portfolio-img { transform: scale(1.03); }
  .portfolio-item:hover .portfolio-placeholder svg { transform: scale(1.03); }
  .portfolio-placeholder svg { width: 100%; height: 100%; display: block; }
  .portfolio-info { position: static; padding: 1.2rem 1.5rem; background: #161616; border-top: 1px solid rgba(255,255,255,0.06); transition: background 0.3s; }
  .portfolio-tag { font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rojo); margin-bottom: 0.4rem; }
  .portfolio-name { font-family: 'DM Sans', 'Helvetica Neue', sans-serif; font-size: 1.35rem; font-weight: 300; color: var(--blanco); margin-bottom: 0.6rem; }
  .portfolio-link { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,243,240,0.5); display: flex; align-items: center; gap: 0.4rem; transition: color 0.3s; }
  .portfolio-item:hover .portfolio-link { color: var(--blanco); }
  .portfolio-footer { margin-top: 3rem; display: flex; justify-content: center; }
  .btn-secondary { display: inline-flex; align-items: center; gap: 0.8rem; border: 1px solid rgba(255,255,255,0.2); color: var(--blanco); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 1rem 2rem; transition: all 0.3s; font-weight: 400; }
  .btn-secondary:hover { border-color: var(--rojo); color: var(--rojo); }
  .btn-secondary span { transition: transform 0.3s; }
  .btn-secondary:hover span { transform: translateX(4px); }

  /* LIGHTBOX */
  .lightbox { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.95); align-items: center; justify-content: center; }
  .lightbox.open { display: flex; }
  .lightbox-inner { position: relative; width: 90vw; max-width: 1100px; max-height: 90vh; display: flex; flex-direction: column; }
  .lightbox-close { position: absolute; top: -3rem; right: 0; background: none; border: none; color: rgba(245,243,240,0.5); font-size: 1.5rem; cursor: pointer; transition: color 0.3s; z-index: 10; letter-spacing: 0.1em; font-family: var(--sans); font-size: 0.75rem; text-transform: uppercase; }
  .lightbox-close:hover { color: var(--blanco); }
  .lightbox-stage { position: relative; overflow: hidden; background: #111; aspect-ratio: 16/9; }
  .lightbox-track { display: flex; height: 100%; transition: transform 0.45s cubic-bezier(0.4,0,0.2,1); }
  .lightbox-slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #111; }
  .lightbox-slide svg { width: 100%; height: 100%; display: block; }
  .lightbox-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(10,10,10,0.7); border: 1px solid rgba(255,255,255,0.12); color: var(--blanco); width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; transition: all 0.3s; z-index: 5; }
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
  .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--rojo); color: var(--rojo); }

  .lightbox-footer { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0 0; }
  .lightbox-title { font-family: 'DM Sans'; font-size: 1.1rem; font-weight: 300; color: var(--blanco); }
  .lightbox-counter { font-size: 0.75rem; letter-spacing: 0.12em; color: var(--gris); text-transform: uppercase; }
  .lightbox-dots { display: flex; gap: 0.5rem; }
  .lightbox-dot { width: 1.5rem; height: 2px; background: rgba(255,255,255,0.2); border: none; cursor: pointer; transition: background 0.3s; padding: 0; }
  .lightbox-dot.active { background: var(--rojo); }

  /* PORTFOLIO RESPONSIVE */
  @media (max-width: 900px) {
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-section .container { padding-left: 1.2rem; padding-right: 1.2rem; }
    .portfolio-section { padding: 4rem 0 2rem; }
    .lightbox-inner { width: 95vw; }
    .lightbox-prev { left: 0.3rem; }
    .lightbox-next { right: 0.3rem; }
  }

  /* RESPONSIVE portfolio & logos */
  @media (max-width: 900px) {
    .logos-grid { grid-template-columns: repeat(4, 1fr); }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-featured { grid-column: 1; grid-row: auto; }
    .portfolio-featured .portfolio-placeholder { min-height: 300px; }
    .portfolio-placeholder { min-height: 220px; }
    .portfolio-info { opacity: 1; }
  }
  @media (max-width: 600px) {
    .logos-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-section .container { padding-left: 1.2rem; padding-right: 1.2rem; }
    .portfolio-section { padding: 4rem 0 2rem; }
  }
  @media (max-width: 380px) {
    .logos-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* HAMBURGER */
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
  .hamburger span { display: block; width: 22px; height: 1.5px; background: var(--blanco); transition: all 0.3s; transform-origin: center; }
  .hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,10,10,0.98); z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-family: 'DM Sans'; font-size: 2rem; font-weight: 300; color: var(--blanco); text-decoration: none; letter-spacing: 0.05em; transition: color 0.3s; }
  .mobile-menu a:hover { color: var(--rojo); }
  .mobile-menu .mobile-cta { font-family: 'DM Sans'; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--rojo); color: var(--rojo) !important; padding: 1rem 2rem; margin-top: 1rem; }

  /* TABLET — 900px */
  @media (max-width: 900px) {
    nav { padding: 1.2rem 2rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .hero { grid-template-columns: 1fr; padding: 7rem 2rem 4rem; }
    .hero-right { display: none; }
    .hero-stats-mobile { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
    .hero-stats-mobile .stat-block { padding-left: 1.2rem; }
    .hero-stats-mobile .stat-num { font-size: 2rem; }
    .hero-stats-mobile .stat-label { font-size: 0.68rem; }
    .hero h1 { font-size: clamp(2.2rem, 7vw, 3rem); }

    .section { padding: 5rem 2rem; }
    .dolor-grid { grid-template-columns: 1fr 1fr; }
    .dolor-item { border-right: 1px solid rgba(255,255,255,0.08) !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
    .dolor-item:nth-child(3), .dolor-item:nth-child(4) { border-bottom: none !important; }
    .dolor-item:nth-child(even) { border-right: none !important; }

    .promesa-section { padding: 5rem 2rem; }
    .promesa-grid { grid-template-columns: 1fr 1fr; gap: 2px; }

    .clientes-section { padding: 4rem 2rem; }

    .proceso-section { padding: 5rem 2rem; }
    .proceso-grid { grid-template-columns: 1fr 1fr; gap: 0; }
    .proceso-grid::before { display: none; }
    .proceso-step { padding: 0 1.5rem 3rem; }
    .proceso-footer { flex-direction: column; gap: 2rem; align-items: flex-start; }

    .testimonios-section { padding: 5rem 2rem; }
    .testimonios-grid { grid-template-columns: 1fr; }

    .para-quien { grid-template-columns: 1fr; padding: 5rem 2rem; gap: 3rem; }

    .cta-final { grid-template-columns: 1fr; padding: 5rem 2rem; gap: 3rem; }

    footer { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer-contact { text-align: center; }
  }

  /* MOBILE — 600px */
  @media (max-width: 600px) {
    nav { padding: 1rem 1.2rem; }
    .hamburger { display: flex; }
    .nav-links { display: none; }

    /* HERO mobile */
    .hero .container { padding: 3.5rem 1.4rem 2.5rem; min-height: auto; }
    .hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); line-height: 1.08; margin-bottom: 1.2rem; }
    .hero-tag { font-size: 0.68rem; letter-spacing: 0.1em; margin-bottom: 1.2rem; white-space: nowrap; overflow: hidden; }
    .hero-tag::before { width: 1rem; flex-shrink: 0; }
    .hero-sub { font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.8rem; }
    .btn-primary { font-size: 0.75rem; padding: 0.9rem 1.4rem; width: 100%; justify-content: center; white-space: nowrap; }
    .hero-note { font-size: 0.72rem; }
    /* STATS mobile — fila horizontal deslizable */
    .hero-stats-mobile { display: flex !important; flex-direction: row !important; gap: 0; margin-top: 2rem; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0.5rem; scrollbar-width: none; max-width: 100%; width: 100%; }
    .hero-stats-mobile::-webkit-scrollbar { display: none; }
    .hero-stats-mobile .stat-block { flex: 0 0 auto; padding-right: 2rem; margin-right: 2rem; }
    .hero-stats-mobile .stat-block:last-child { margin-right: 0; padding-right: 0; }
    .hero-stats-mobile .stat-num { font-size: 1.8rem; }
    .hero-stats-mobile .stat-label { font-size: 0.68rem; letter-spacing: 0.08em; white-space: nowrap; }

    .section { padding: 4rem 1.2rem; }
    #problema { padding-top: 5rem; padding-bottom: 4rem; }
    .section-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }

    .dolor-grid { grid-template-columns: 1fr; border: none; }
    .dolor-item { border: 1px solid rgba(255,255,255,0.08) !important; margin-bottom: 2px; padding: 2rem 1.5rem; }
    .dolor-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
    .dolor-num { font-size: 3rem; }

    .promesa-section { padding: 4rem 1.2rem; }
    .promesa-grid { grid-template-columns: 1fr; }
    .promesa-card { padding: 2rem 1.5rem; }

    .clientes-section { padding: 2rem 1.2rem; }
    .cliente-item { padding: 1rem 1.5rem; font-size: 0.9rem; }

    .proceso-section { padding: 4rem 1.2rem; }
    .proceso-grid { grid-template-columns: 1fr; }
    .proceso-step { padding: 0 0 2.5rem; display: flex; gap: 1.5rem; align-items: flex-start; }
    .paso-dot { flex-shrink: 0; width: 3rem; height: 3rem; margin-bottom: 0; }
    .paso-num { font-size: 1rem; }
    .proceso-footer { gap: 1.5rem; }
    .proceso-footer .btn-primary { width: 100%; justify-content: center; font-size: 0.75rem; }

    .testimonios-section { padding: 4rem 1.2rem; }
    .testimonio-card { padding: 2rem 1.5rem; }

    .para-quien { padding: 4rem 1.2rem; gap: 2.5rem; }
    .para-quien .container { grid-template-columns: 1fr; gap: 2.5rem; }
    .industrias-block { padding: 2rem 1.5rem; }
    .industrias-grid { grid-template-columns: 1fr; }
    .industria-item { border-right: none !important; }
    .industrias-grid { grid-template-columns: 1fr; }
    .industrias-block { display: none; }

	  .cta-desc {
    font-size: 1.1rem;
}
    .cta-final { padding: 4rem 1.2rem; gap: 2.5rem; }
    .cta-final .container { grid-template-columns: 1fr; gap: 2.5rem; }
    .cta-final h2 { font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.2; color: var(--negro); }
	   .form-title { font-family: 'DM Sans', 'Helvetica Neue', sans-serif; font-size: 2rem; font-weight: 300; color: var(--negro); margin-bottom: 0.6rem; line-height: 1.2; }
    .form-block { padding: 2rem 1.5rem; width: 100%; }
    .form-grid { grid-template-columns: 1fr; }
    .btn-form { font-size: 0.75rem; }

    footer { padding: 2.5rem 1.2rem; gap: 1.2rem; }
    footer .container { flex-direction: column; align-items: center; text-align: center; gap: 1.2rem; }
    .footer-brand { justify-content: center; }
    .footer-info { text-align: center; }
    .footer-contact { text-align: center; }

  }

  /* MOBILE XS — 380px */
  @media (max-width: 380px) {
    .hero h1 { font-size: 1.9rem; }
    .section-title { font-size: 1.6rem; }
    .cta-final h2 { font-size: 1.6rem; }
    .mobile-menu a { font-size: 1.6rem; }
  }

@media (max-width: 600px) {
  .form-block [data-tf-live] {
    height: 750px !important;
  }
}
