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

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Founders Grotesk', '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: 100%; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 4rem); box-sizing: border-box; }

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

  /* 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(--blanco); 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 { height: 253vh; position: relative; max-width: 100%; background: #000; }
  .hero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .hero-headline {
    position: absolute; top: 50%; transform: translateY(-50%);
    left: clamp(1.5rem, 4vw, 4rem); right: clamp(1.5rem, 4vw, 4rem);
    margin: 0;
    font-family: 'Founders Grotesk', 'DM Sans', sans-serif;
    font-weight: 600; text-transform: uppercase;
    font-size: clamp(2.2rem, 8vw, 7rem); line-height: 1.0; letter-spacing: 0.01em;
    color: var(--blanco);
  }
  .hl-line { display: block; }
  .hl-comma { display: inline-block; }
  .hero-sub-rga {
    position: absolute; right: clamp(1.5rem, 4vw, 4rem); bottom: clamp(3rem, 9vh, 7rem);
    margin: 0; max-width: 34ch;
    font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5; color: rgba(255,255,255,0.6);
  }
  /* Revelado progresivo al scroll */
  .hl-reveal { opacity: 0; transform: translateY(0.45em); transition: opacity 0.7s ease, transform 0.7s ease; }
  .hl-reveal.revealed { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .hl-reveal { transition: opacity 0.3s ease; transform: none; }
  }
  @media (max-width: 768px) {
    /* Móvil: hero como sección normal de pantalla completa (sin sticky/253vh, que rompe en Safari iOS) */
    .hero { height: auto; min-height: 100vh; min-height: 100svh; }
    .hero-sticky { position: static; height: auto; min-height: 100vh; min-height: 100svh; overflow: visible;
      display: flex; flex-direction: column; justify-content: center;
      padding: 7rem clamp(1.5rem, 4vw, 4rem) 3rem; }
    .hero-headline { position: static; transform: none; left: auto; right: auto; max-width: 100%; }
    .hero-sub-rga { position: static; right: auto; bottom: auto; margin-top: 1.5rem; max-width: 26ch; font-size: 0.95rem; }
    /* frase completa visible de entrada (sin depender del scroll-reveal) */
    .hl-reveal { opacity: 1; transform: none; }
  }
  .hero .container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 8rem clamp(1.5rem, 4vw, 4rem) 5rem; min-height: 100vh; gap: 4rem; }
  .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: none; pointer-events: none; }
  .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-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); }
  .proceso-footer .btn-primary { display: flex; width: 100%; justify-content: center; padding-top: 1.4rem; padding-bottom: 1.4rem; }
  .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: 'Founders Grotesk', '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: clamp(1.5rem, 4vw, 4rem); padding-right: clamp(1.5rem, 4vw, 4rem); }
  #servicios { padding-top: 8rem; padding-bottom: 1rem; }
  .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: 'Founders Grotesk', 'DM Sans', sans-serif; font-size: clamp(1.75rem, 3.5vw, 2.8rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 1rem; }
  .section-title em { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; color: rgba(245,243,240,0.5); }
  #portafolio .section-title,
  #metodologia .section-title,
  .clientes-section .section-title,
  .numeros-section .section-title,
  .testimonios-section .section-title,
  .impacto-section .section-title,
  .para-quien .section-title { font-size: clamp(2.6rem, 5.2vw, 4.16rem); font-weight: 400; }
  #faqs .container { display: block; }
  .clientes-section .logos-grid { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
  #servicios .section-title { font-size: clamp(2.75rem, 5.5vw, 4.4rem); font-weight: 400; }

  /* ===================== ACCORDION ¿Qué hacemos? — estilo RGA ===================== */
  .accordion { margin-top: clamp(2.5rem, 4vw, 4.5rem); border-top: 1px solid rgba(10,10,10,0.15); }
  .accordion-item { border-bottom: 1px solid rgba(10,10,10,0.15); }
  .accordion-header {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
    padding: clamp(1.4rem, 2.6vw, 2.4rem) 0;
    text-align: left;
    color: var(--negro);
    font-family: 'Founders Grotesk', 'DM Sans', 'Helvetica Neue', sans-serif;
  }
  .accordion-num { font-size: 0.85rem; color: rgba(10,10,10,0.4); font-variant-numeric: tabular-nums; min-width: 2.5ch; flex-shrink: 0; }
  .accordion-title { flex: 1; font-size: clamp(1.35rem, 2.65vw, 2.3rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; transition: opacity 0.3s, color 0.3s; }
  #faqs-accordion .accordion-header { position: relative; justify-content: center; }
  #faqs-accordion .accordion-title { flex: 0 1 auto; font-size: clamp(1.2rem, 2.4vw, 2.08rem); text-align: center; }
  #faqs-accordion .accordion-icon { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  #faqs .section-title { text-align: center; }
  #faqs .dolor-intro { text-align: center; margin-left: auto; margin-right: auto; }
  #faqs-accordion .accordion-panel p { text-align: center; margin-left: auto; margin-right: auto; font-size: 1.5rem; color: rgba(10,10,10,0.6); }
  @media (max-width: 600px) {
    /* FAQ en móvil: pregunta a la izquierda + "+" en el flujo, sin encimarse */
    #faqs-accordion .accordion-header { justify-content: space-between; }
    #faqs-accordion .accordion-title { flex: 1; text-align: left; padding-right: 0.9rem; font-size: 1.15rem; line-height: 1.25; }
    #faqs-accordion .accordion-icon { position: relative; right: auto; top: auto; transform: none; }
    #faqs-accordion .accordion-panel p { text-align: left; margin-left: 0; margin-right: 0; }
  }
  .accordion-header:hover .accordion-title { opacity: 0.55; }
  #quehacemos-accordion .accordion-header:hover .accordion-title { opacity: 1; color: var(--rojo); }

  .accordion-icon { position: relative; width: 1.4rem; height: 1.4rem; flex-shrink: 0; }
  .accordion-icon::before, .accordion-icon::after { content: ''; position: absolute; background: var(--negro); transition: transform 0.35s ease, opacity 0.35s ease; }
  .accordion-icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
  .accordion-icon::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
  .accordion-item.open .accordion-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }

  .accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
  .accordion-item.open .accordion-panel { max-height: 400px; }
  .accordion-panel p {
    font-size: 1.8rem;
    line-height: 1.3;
    color: black;
    max-width: 60ch;
    margin: 0;
    padding: 0 0 clamp(1.6rem, 2.6vw, 2.4rem) 0;
  }
  @media (max-width: 600px) { .accordion-panel p { font-size: 1.5rem; } }

  /* ¿Qué hacemos? — placeholder(s) de imagen alineados a la derecha en cada respuesta */
  #quehacemos-accordion .accordion-panel { display: flex; align-items: flex-start; gap: clamp(1.5rem, 3vw, 3rem); }
  #quehacemos-accordion .accordion-item.open .accordion-panel { max-height: 600px; }
  .qh-ph {
    margin-left: auto;
    flex-shrink: 0;
    width: clamp(220px, 45%, 785px);
    aspect-ratio: 16 / 9;
    background: #ececec;
    border: 1px solid rgba(10,10,10,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(10,10,10,0.3);
    overflow: hidden;
  }
  .qh-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
  @media (max-width: 640px) {
    #quehacemos-accordion .accordion-panel { flex-direction: column; gap: 1.25rem; }
    #quehacemos-accordion .accordion-item.open .accordion-panel { max-height: 1200px; }
    .qh-ph { width: 100%; max-width: 480px; margin-left: 0; }
  }

  /* 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: 'Founders Grotesk', '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; }
  /* Control central de TODOS los .dolor-intro: cambia --dolor-intro-size / --dolor-intro-weight y se actualizan todos */
  .dolor-intro {
    --dolor-intro-size: 2.65rem;
    --dolor-intro-weight: 300;
    font-size: var(--dolor-intro-size);
    font-weight: var(--dolor-intro-weight);
    line-height: 1.1; color: rgba(245,243,240,0.45); max-width: 896px; margin-top: 1.5rem; letter-spacing: 0;
  }
  @media (max-width: 600px) { .dolor-intro { --dolor-intro-size: 1.7rem; } }
  .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: clamp(1.5rem, 4vw, 4rem); padding-right: clamp(1.5rem, 4vw, 4rem); }
  .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: #f4f4f4; }
  .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: 'Founders Grotesk', '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: 6rem 0 7rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .clientes-section .container { padding-left: clamp(1.5rem, 4vw, 4rem); padding-right: clamp(1.5rem, 4vw, 4rem); }
  .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: 6rem 0 1rem; background: rgba(255,255,255,0.02); }
  .proceso-section .container { padding-left: clamp(1.5rem, 4vw, 4rem); padding-right: clamp(1.5rem, 4vw, 4rem); }
  .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: 'Founders Grotesk', '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: clamp(1.5rem, 4vw, 4rem); padding-right: clamp(1.5rem, 4vw, 4rem); }

  .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 1rem; }
  .para-quien .container { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; padding-left: clamp(1.5rem, 4vw, 4rem); padding-right: clamp(1.5rem, 4vw, 4rem); }
  .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: 'Founders Grotesk', 'DM Sans', sans-serif; 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: 1.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(10,10,10,0.5); }
  @media (max-width: 600px) { .cta-stat-label { font-size: 1.5rem; letter-spacing: normal; text-transform: none; } }

  .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 clamp(1.5rem, 4vw, 4rem) 11.59rem; } /* al ancho de las secciones */
  .cta-final .container { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; max-width: none; margin: 0 auto; padding-left: 0; padding-right: 0; } /* FULLBLEED: max-width era 1350px */
  .cta-final h2 { font-family: 'Founders Grotesk', 'DM Sans', 'Helvetica Neue', sans-serif; font-size: clamp(2rem, 4vw, 6.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: transparent; border: none; padding: 0; }
  .form-title { font-family: 'Founders Grotesk', 'DM Sans', 'Helvetica Neue', sans-serif; font-size: 2.4rem; font-weight: 300; color: var(--negro); margin-bottom: 0.2rem; line-height: 1.2; }
  .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: transparent; border: none; border-bottom: 1px solid rgba(10,10,10,0.25); color: var(--negro); padding: 0.8rem 0; font-family: var(--sans); font-size: 1.425rem; 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-bottom-color: rgba(10,10,10,0.7); }
  .form-group select { cursor: pointer; padding-right: 1.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a0a0a' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.15rem center; background-size: 0.75rem; }
  .form-group select:invalid { color: rgba(10,10,10,0.4); }
  .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: 1.82rem; font-weight: 500; line-height: 1; 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 — ver bloque "FOOTER SEIS GRADOS 2026" al final del archivo */


  /* 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: 117px; }
  .logo-item:hover { background: rgba(255,255,255,0.05); }
  .logo-wrap { display: flex; align-items: center; justify-content: center; width: 100%; height: 65px; }
  .logo-wrap svg, .logo-wrap img { width: auto; height: 100%; max-width: 143px; 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: 7rem 0 0; background: #0c0c0c; }
  .portfolio-section .container { padding-left: clamp(1.5rem, 4vw, 4rem); padding-right: clamp(1.5rem, 4vw, 4rem); }
  .portfolio-section .section-label::before { background: var(--rojo); }
  .portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 0; row-gap: 0; margin-top: 4rem; background: none; }
  .portfolio-item { position: relative; background: #161616; cursor: pointer; display: flex; flex-direction: column; }

  .portfolio-item:hover .portfolio-info { background: #1a1a1a; }
  .portfolio-placeholder { position: relative; width: 100%; aspect-ratio: 4/3; display: block; overflow: hidden; flex-shrink: 0; }
  .portfolio-placeholder img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
  /* Capas del slideshow: apiladas, fundido entre imágenes de la galería */
  .portfolio-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
  .portfolio-slide.active { opacity: 1; }
  .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: 'Founders Grotesk', 'DM Sans', 'Helvetica Neue', sans-serif; font-size: 3rem; font-weight: 500; 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: 'Founders Grotesk', 'DM Sans', sans-serif; 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 1rem; }
    #portafolio .dolor-intro { padding-left: 0; }
    .portfolio-info { padding-left: 0; }
    .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 1rem; }
  }
  @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: 'Founders Grotesk', 'DM Sans', sans-serif; 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: 'Founders Grotesk', 'DM Sans', sans-serif; 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; }

    .section { padding: 4rem 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: 4rem 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: 4rem 2rem; }
    .testimonios-grid { grid-template-columns: 1fr; }

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

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

  /* 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-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; }
    #servicios { padding-top: 5rem; padding-bottom: 1rem; }
    .section-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
    .impacto-section { padding: 4rem 0 1rem; }
    .numeros-section { padding: 4rem 0 1rem; }
    .gallery-section { padding: 4rem 0 1rem; }

    .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 3rem; }
    .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 1rem; 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 6.62rem; gap: 2.5rem; }
    .cta-final .container { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .cta-left, .cta-right { min-width: 0; }
    .cta-tel { overflow-wrap: anywhere; }
    .cta-final h2 { font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.2; color: var(--negro); }
	   .form-title { font-family: 'Founders Grotesk', '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: 0; width: 100%; }
    .form-grid { grid-template-columns: 1fr; }
    .btn-form { font-size: 0.75rem; }
  }

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

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-row .form-group { margin-bottom: 0.9rem; }
  .form-error { display: none; font-size: 0.78rem; color: var(--rojo); margin-top: 0.3rem; }
  .form-error.visible { display: block; }
  .form-group input.error { border-color: var(--rojo); }
  .form-privacy { font-size: 0.9375rem; color: rgba(10,10,10,0.45); margin-top: 1rem; text-align: center; line-height: 1.5; }
  .form-success { display: none; padding: 1.5rem; background: rgba(234,34,39,0.05); border-left: 3px solid var(--rojo); margin-top: 1rem; }
  .form-success.visible { display: block; }
  .form-success strong { display: block; font-family: 'Founders Grotesk', 'DM Sans', 'Helvetica Neue', sans-serif; font-weight: 500; color: var(--negro); font-size: 1rem; margin-bottom: 0.3rem; }
  .form-success span { font-size: 0.9rem; color: rgba(10,10,10,0.6); }
  .btn-form:disabled { opacity: 0.6; cursor: default; }

  @media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
  }

  /* ===================== FOOTER SEIS GRADOS 2026 ===================== */
  .bg-seis-logo { width: 100%; background: linear-gradient(to bottom, var(--blanco) 61%, #000 50%); }
  .container-gral-logo-footer { max-width: 1500px; width: 90%; margin: 0 auto; }
  .img-banner-website { display: block; width: 100%; }


  /* Founders Grotesk — familia unificada (display) */
  @font-face { font-family: 'Founders Grotesk'; src: url('../fonts/founders-grotesk-light.woff2'); font-weight: 300; font-display: swap; }
  @font-face { font-family: 'Founders Grotesk'; src: url('../fonts/founders-grotesk-regular.woff2'); font-weight: 400; font-display: swap; }
  @font-face { font-family: 'Founders Grotesk'; src: url('../fonts/founders-grotesk-semibold.woff2'); font-weight: 600; font-display: swap; }
  @font-face { font-family: 'Founders Grotesk'; src: url('../fonts/founders-grotesk-bold.woff2'); font-weight: 700; font-display: swap; }

  @font-face {
    font-family: GotezRegular;
    src: url('../fonts/founders-grotesk-regular.woff2');
    font-display: swap;
  }
  @font-face {
    font-family: GotezLight;
    src: url('../fonts/founders-grotesk-light.woff2');
    font-display: swap;
  }

  footer[role="contentinfo"] { background: #161616; padding: 4rem 0; overflow: hidden; border: none; }

  .website__footer {
    max-width: 1500px;
    background: #161616;
    width: 90%;
    margin: 0 auto;
  }

  .lineHover { position: relative; overflow: hidden; margin-top: 10px; padding: 0 0 7px; }
  .lineHover:after {
    content: ""; position: absolute; bottom: 0; left: -100%;
    width: 100%; height: 1px; background: red; transition: left .5s;
  }
  .lineHover:hover:after { left: 0; }

  .grid-column-nav-text {
    display: inline-block; font-family: GotezRegular; text-transform: uppercase;
    font-size: 1.1rem; letter-spacing: 0.1rem; color: #fff;
  }

  .website__footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
  .website__footer-grid-column-nav { display: flex; flex-direction: column; font-family: GotezLight; }
  .website__footer-grid-column1 { display: flex; align-items: end; }
  .website__footer-grid-column2 { display: flex; justify-content: start; align-items: flex-end; }
  .website__footer-grid-column-nav-end { display: flex; justify-content: flex-end; align-items: flex-end; }

  .website__footer__footer-direction {
    margin-bottom: 0.5rem; text-align: start; color: white;
    font-size: 1.2rem; line-height: 120%; font-family: GotezRegular;
  }

  .footer-ancord { text-decoration: none; display: inline-block; color: white; margin: 0 0 1rem 0; }
  .footer-ancord:last-child { margin: 0; }

  .website__footer-ancord { text-decoration: none; display: flex; align-items: baseline; }
  .website__footer-mail { color: red; display: inline-block; font-size: 1.4rem; font-family: GotezLight; margin-bottom: -8px; }
  .website__footer-arrow { width: 100%; max-width: 15px; margin: 0 0 0 0.3rem; }

  .website__footer-containerLogo {
    align-items: flex-end; display: flex; flex-direction: column;
    height: 133px; justify-content: flex-end;
  }
  .website__footer__description { color: white !important; font-family: GotezRegular; font-size: 1.1rem; margin: 1.1rem 0 0 0; line-height: 1.3; }
  .website__footer-privacity { color: white; font-family: GotezLight; font-size: 1rem; margin: 1rem 0 0 0; }
  .website__footer-anccord { text-decoration: none; width: 100%; }

  .container-redes { display: flex; flex-direction: column; }
  .container-img-redes-sociales { width: 100%; }
  .anccord-redes-sociales-seis-grados { display: inline-block; text-decoration: none; color: #7c7c7c; font-size: 2rem; }
  .container-grid-redes { display: flex; align-items: center; grid-template-columns: 90% 10%; }
  .container-grid-redes img { width: 15px; }

  .mobile-redes { display: none; }
  .mobile { display: grid; grid-template-columns: 1fr 1fr; }
  .desk-redes-footer { display: block; }
  .d-sm-none { display: inline; }

  .menu-movil-sociales-email {
    display: flex; align-items: center; overflow: hidden; text-decoration: none;
    background: #161616; box-shadow: none; border: none; cursor: pointer; padding: 0;
  }

  @media (max-width: 991px) {
    .website__footer-grid { grid-template-columns: .8fr 1fr 1fr 1fr; column-gap: 1.5rem; }
    .website__footer__footer-direction { font-size: 1rem; }
    .website__footer__description,
    .website__footer-privacity,
    .grid-column-nav-text { font-size: 1rem !important; }
    .anccord-redes-sociales-seis-grados { font-size: 1.375rem; margin: .3rem 0; }
  }

  @media (max-width: 768px) {
    .website__footer-grid { grid-template-columns: 1fr .8fr; column-gap: 1.5rem; }
    .website__footer-grid-column2 { justify-content: flex-start; }
    .website__footer-grid-column-nav-end { justify-content: flex-start; }
  }

  @media screen and (max-width: 450px) {
    .website__footer__description { text-align: start; margin-top: 2rem !important; }
    .website__footer-grid { grid-template-columns: 1fr !important; }
    .mobile-redes { display: flex; margin-bottom: -6px; margin-top: 3rem; }
    .d-sm-none { display: none; }
    .desk-redes-footer { display: none; }
    .website__footer-mail { margin: 0; padding: 0; }
    .website__footer-grid-column2 { display: flex; justify-content: flex-start; align-items: flex-end; margin: 4rem 0 0 0; }
    .footer-ancord { margin: 0 0 2rem 0; }
    .website__footer-containerLogo { justify-content: flex-start; }
    .website__footer-grid-column3 { display: flex; width: 100%; }
  }

  @media (max-width: 270px) {
    .mobile { grid-template-columns: 1fr; }
  }

  /* ===================== TEMA CLARO (todo blanco excepto hero, navbar y footer) ===================== */
  body { background: var(--blanco); color: var(--negro); }

  /* HERO se mantiene oscuro */
  .hero { background: var(--negro); color: var(--blanco); }

  /* Títulos de sección */
  .section-title em { color: rgba(10,10,10,0.35); }

  /* DOLOR / PROBLEMA */
  .dolor-grid { border-color: rgba(10,10,10,0.12); }
  .dolor-item { border-right-color: rgba(10,10,10,0.12); border-bottom-color: rgba(10,10,10,0.12); }
  .dolor-item:hover { background: rgba(234,34,39,0.04); }
  .dolor-num { color: rgba(10,10,10,0.15); }
  .dolor-intro { color: var(--negro); }
  .dolor-text { color: rgba(10,10,10,0.7); }
  .dolor-text strong { color: var(--negro); }

  /* CLIENTES */
  .clientes-section { border-bottom-color: rgba(10,10,10,0.1); }
  .clientes-grid { background: rgba(10,10,10,0.1); }
  .cliente-item { background: var(--blanco); color: rgba(10,10,10,0.5); }
  .cliente-item:hover { color: var(--negro); }

  /* PROCESO */
  .proceso-section { background: var(--blanco); }
  .paso-dot { border-color: rgba(10,10,10,0.15); background: var(--blanco); }
  .paso-num { color: rgba(10,10,10,0.35); }
  .paso-title { color: rgba(10,10,10,0.4); }
  .paso-desc { color: rgba(10,10,10,0.4); }
  .proceso-step:hover .paso-dot { border-color: rgba(10,10,10,0.4); }
  .proceso-step:hover .paso-num { color: rgba(10,10,10,0.6); }
  .proceso-step:hover .paso-title { color: rgba(10,10,10,0.75); }
  .proceso-step:hover .paso-desc { color: rgba(10,10,10,0.6); }
  .proceso-step.active .paso-dot { border-color: var(--rojo); background: var(--blanco); }
  .proceso-step.active .paso-title { color: var(--negro); }
  .proceso-step.active .paso-desc { color: rgba(10,10,10,0.75); }
  .proceso-footer { border-top-color: rgba(10,10,10,0.1); }
  .proceso-footer p { color: rgba(10,10,10,0.5); }
  .proceso-footer strong { color: var(--negro); }

  /* TESTIMONIOS */
  .testimonios-section { background: var(--blanco); }
  .testimonio-card { background: var(--blanco); border-color: rgba(10,10,10,0.08); }
  .testimonio-card:hover { background: #f4f4f4; }
  .testimonio-quote { color: rgba(10,10,10,0.8); }
  .testimonio-author strong { color: var(--negro); }
  .testimonios-arrow { border-color: rgba(10,10,10,0.2); color: var(--negro); }
  .testimonios-arrow:disabled:hover { border-color: rgba(10,10,10,0.2); color: var(--negro); }
  .testimonios-dot { background: rgba(10,10,10,0.2); }

  /* PARA QUIÉN */
  .para-quien-intro { color: rgba(10,10,10,0.6); }
  .criterio-item { color: rgba(10,10,10,0.7); border-bottom-color: rgba(10,10,10,0.1); }
  .industrias-block { border-color: rgba(10,10,10,0.12); }
  .industria-item { color: rgba(10,10,10,0.55); border-bottom-color: rgba(10,10,10,0.08); border-right-color: rgba(10,10,10,0.08); }
  .industria-item:hover { color: var(--negro); background: rgba(10,10,10,0.03); }

  /* LOGOS (legacy) */
  .logos-grid { background: rgba(10,10,10,0.08); }
  .logo-item { background: var(--blanco); }
  .logo-item:hover { background: rgba(10,10,10,0.04); }

  /* PORTFOLIO */
  .portfolio-section { background: var(--blanco); }
  .portfolio-item { background: var(--blanco); }
  .portfolio-info { background: var(--blanco); border-top-color: rgba(10,10,10,0.08); }
  .portfolio-item:hover .portfolio-info { background: #f4f4f4; }
  .portfolio-name { color: var(--negro); }
  .portfolio-link { color: rgba(10,10,10,0.5); }
  .portfolio-item:hover .portfolio-link { color: var(--negro); }
  .btn-secondary { border-color: rgba(10,10,10,0.2); color: var(--negro); }

  /* FORM — corrige texto/borde claros que quedaban invisibles sobre blanco */
  .form-disclaimer { color: rgba(10,10,10,0.4); }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(10,10,10,0.5); }

  /* Bordes claros forzados en mobile (dolor) */
  @media (max-width: 900px) {
    .dolor-item { border-right-color: rgba(10,10,10,0.12) !important; border-bottom-color: rgba(10,10,10,0.12) !important; }
    .dolor-item:nth-child(3), .dolor-item:nth-child(4) { border-bottom: none !important; }
    .dolor-item:nth-child(even) { border-right: none !important; }
  }

  /* ===================== TESTIMONIOS — formato Firmalt (una cita centrada a la vez, rotando) ===================== */
  .testimonios-section { text-align: left; }
  .testimonios-header { display: block; text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

  /* Grid-stack: todas las citas ocupan la misma celda → sin saltos de altura, crossfade limpio */
  .testimonios-list { display: grid; }
  .testimonio {
    grid-area: 1 / 1;
    margin: 0;
    padding: 0 clamp(0rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }
  .testimonio.active { opacity: 1; visibility: visible; pointer-events: auto; }

  .testimonio .testimonio-quote {
    font-family: 'Founders Grotesk', 'DM Sans', 'Helvetica Neue', sans-serif;
    font-size: clamp(1.92rem, 4.32vw, 3.6rem);
    font-weight: 500;
    font-style: normal;
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: var(--negro);
    max-width: 24ch;
    margin: 0 auto 2rem;
    padding-top: 0;
  }
  .testimonio .testimonio-quote::before { content: '\0022'; position: static; font-size: inherit; color: inherit; top: auto; left: auto; }
  .testimonio .testimonio-quote::after { content: '\0022'; }

  .testimonio .testimonio-author { font-size: 1.2rem; color: rgba(10,10,10,0.45); }
  .testimonio .testimonio-author strong { display: block; color: var(--negro); font-size: 1.5rem; margin-bottom: 0.2rem; }

  @media (max-width: 600px) {
    .testimonio .testimonio-quote { max-width: 100%; }
  }

  /* ===================== SEIS GRADOS EN NÚMEROS (estilo R/GA, fondo negro) ===================== */
  .numeros-section { padding: 7rem 0; background: #000; }
  .numeros-section .container { padding-left: clamp(1.5rem, 4vw, 4rem); padding-right: clamp(1.5rem, 4vw, 4rem); }
  .numeros-section .section-title { color: var(--blanco); }
  .numeros-section .dolor-intro { color: rgba(255,255,255,0.6); }
  .numeros-grid {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(255,255,255,0.15);
    margin-top: clamp(2.5rem, 4vw, 4rem);
  }
  .numeros-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.15);
  }
  .numero-cell {
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem 2.2rem;
  }
  .numero-val {
    font-family: 'Founders Grotesk', 'DM Sans', 'Helvetica Neue', sans-serif;
    font-size: 6rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--blanco);
  }
  .numero-val sup { font-size: 0.45em; color: var(--rojo); top: -0.7em; }
  .numero-label {
    margin-top: 0.7rem;
    text-align: left;
    font-size: 2.4vw;
    line-height: 1.25;
    color: rgba(255,255,255,0.85);
    max-width: 14ch;
    min-height: 3.75em; /* reserva 3 líneas para igualar la altura de todas las celdas */
  }
  @media (max-width: 600px) { .numero-label { font-size: 7.4vw; } }
  .numero-foot {
    margin-top: clamp(3rem, 11vh, 8rem);
    align-self: flex-end;
    width: 100%;
    text-align: right;
    font-size: 1.3rem;
    line-height: 1.3;
    color: rgba(255,255,255,0.5);
    position: relative;
    /* 2 líneas por defecto; abre/cierra con ease suave vía max-height */
    min-height: 2.6em;
    max-height: 2.6em; /* 2 líneas × line-height 1.3 */
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  /* "…" solo donde el texto desborda (clase puesta por JS) */
  .numero-foot.has-more::after {
    content: '…';
    position: absolute;
    right: 0;
    bottom: 0;
    background: #000;
    padding-left: 0.35em;
    color: rgba(255,255,255,0.5);
    transition: opacity 0.3s ease;
  }
  .numeros-row:hover .numero-foot { max-height: 20em; }
  .numeros-row:hover .numero-foot.has-more::after { opacity: 0; }
  /* en touch (sin hover) no recortar */
  @media (hover: none) {
    .numero-foot { max-height: 20em; }
    .numero-foot::after { display: none; }
  }

  @media (max-width: 900px) {
    .numeros-row { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 560px) {
    .numeros-row { grid-template-columns: 1fr; }
  }

  /* ===================== ESQUEMA DESIGN BY RESEARCH ===================== */
  .dbr-scheme { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: clamp(2.5rem, 4vw, 4rem); align-items: stretch; }
  .dbr-col { display: flex; flex-direction: column; gap: 1.1rem; }
  .dbr-card { border-radius: 14px; padding: 1.7rem 1.6rem 1.9rem; }
  /* Todas las tarjetas llenan su columna → 2 y 3 (y 4 y 5) quedan de alto uniforme */
  .dbr-card { flex: 1 1 0; }

  .dbr-head { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 1.2rem; }
  .dbr-num { font-family: 'Founders Grotesk', 'DM Sans', 'Helvetica Neue', sans-serif; font-size: 3.4rem; line-height: 0.82; font-weight: 300; }
  .dbr-title { font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; padding-top: 0.55rem; line-height: 1.25; }

  .dbr-desc { font-size: 1.7rem; line-height: 1.45; margin: 0; opacity: 0.9; }
  .dbr-sub { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin: 1.1rem 0 0.1rem; opacity: 0.8; }
  .dbr-list { list-style: none; margin: 0; padding: 0; }
  .dbr-list li { font-size: 0.88rem; line-height: 1.3; padding: 0.6rem 0; border-bottom: 1px solid; }

  /* Paleta por fase (claro -> oscuro) */
  .dbr-l1 { background: #ECEBE9; }
  .dbr-l2 { background: #D7D6D3; }
  .dbr-l3 { background: #9C9C99; }
  .dbr-d1 { background: #7C7C79; }
  .dbr-d2 { background: #3D3D3B; }
  .dbr-d3 { background: #1B1B19; }

  /* Texto oscuro en cards claras */
  .dbr-l1, .dbr-l2 { color: #44504f; }
  .dbr-l1 .dbr-num, .dbr-l2 .dbr-num { color: rgba(45,60,60,0.45); }
  .dbr-l1 .dbr-list li, .dbr-l2 .dbr-list li { border-bottom-color: rgba(45,60,60,0.16); }

  /* Texto claro en cards medias/oscuras */
  .dbr-l3, .dbr-d1, .dbr-d2, .dbr-d3 { color: #eef1f0; }
  .dbr-l3 .dbr-num, .dbr-d1 .dbr-num, .dbr-d2 .dbr-num, .dbr-d3 .dbr-num { color: rgba(255,255,255,0.55); }
  .dbr-l3 .dbr-list li, .dbr-d1 .dbr-list li, .dbr-d2 .dbr-list li, .dbr-d3 .dbr-list li { border-bottom-color: rgba(255,255,255,0.2); }

  @media (max-width: 900px) {
    .dbr-scheme { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 560px) {
    .dbr-scheme { grid-template-columns: 1fr; }
  }

  /* ===================== FORMULARIO — estilo oscuro (campos redondeados, placeholder = pregunta) ===================== */
  .form-block { background: transparent; border: none; padding: 0; border-radius: 0; }
  .lead-form .form-group { margin-bottom: 1.15rem; }
  .lead-form .form-group label { display: none; }
  .lead-form .form-group input,
  .lead-form .form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(10,10,10,0.25);
    border-radius: 0;
    color: var(--negro);
    padding: 0.9rem 0;
    font-family: var(--sans);
    font-size: 1.425rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.25s ease;
    -webkit-appearance: none;
  }
  .lead-form .form-group input::placeholder,
  .lead-form .form-group textarea::placeholder { color: rgba(10,10,10,0.4); }
  .lead-form .form-group input:focus,
  .lead-form .form-group textarea:focus { border-bottom-color: rgba(10,10,10,0.7); }
  .lead-form .form-group textarea { resize: vertical; min-height: 130px; }
  .lead-form .form-group input.error { border-bottom-color: var(--rojo); }
  .lead-form .btn-form { border-radius: 0; margin-top: 0.6rem; padding: 1.15rem; }
  .lead-form .form-privacy { color: rgba(10,10,10,0.4); }
  .lead-form .form-success { background: rgba(234,34,39,0.05); border-left-color: var(--rojo); }
  .lead-form .form-success strong { color: var(--negro); }
  .lead-form .form-success span { color: rgba(10,10,10,0.6); }

  /* ===================== FOOTER — 3 columnas (¿hablar? ¿escribir? ¿conocernos?) ===================== */
  footer[role="contentinfo"] { background: #000; padding: clamp(4rem, 9vh, 7rem) 0 3rem; border: none; overflow: hidden; }
  .footer-grid { max-width: 1500px; width: 90%; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; text-align: center; }
  .footer-grid--single { grid-template-columns: 1fr; }
  .footer-col { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
  .footer-q { margin: 0; font-family: 'GotezLight', 'DM Sans', sans-serif; font-size: clamp(0.89rem, 1.36vw, 1.19rem); color: #fff; }
  .footer-a { margin: 0; font-family: 'GotezLight', 'DM Sans', sans-serif; font-size: clamp(0.89rem, 1.36vw, 1.19rem); color: #fff; text-decoration: none; transition: color 0.3s; }
  a.footer-a:hover { color: var(--rojo); }
  .footer-redes { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
  .footer-redes a { color: #fff; text-decoration: none; text-transform: uppercase; transition: color 0.3s; }
  .footer-redes a:hover { color: var(--rojo); }
  .footer-aviso { display: block; text-align: center; margin: clamp(3rem, 7vh, 5rem) auto 0; color: rgba(255,255,255,0.75); font-family: 'GotezLight', 'DM Sans', sans-serif; font-size: 0.9rem; text-decoration: none; transition: color 0.3s; }
  .footer-aviso:hover { color: #fff; }

  @media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  }

  /* ===================== ASÍ CREAMOS IMPACTO — grid 3×2 con hairlines ===================== */
  .impacto-section { padding: 7rem 0; background: #000; }
  .impacto-section .section-title { color: var(--blanco); }
  .impacto-section .dolor-intro { color: rgba(255,255,255,0.6); }
  .impacto-section .container { padding-left: clamp(1.5rem, 4vw, 4rem); padding-right: clamp(1.5rem, 4vw, 4rem); }
  .impacto-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.15);
    border-left: 1px solid rgba(255,255,255,0.15);
    border-right: 1px solid rgba(255,255,255,0.15);
    margin-top: clamp(2.5rem, 4vw, 4rem);
  }
  .impacto-cell {
    background: #000;
    padding: clamp(1.4rem, 1.6vw, 1.9rem);
    padding-top: clamp(3.63rem, 8.47vw, 7.25rem); /* empuja el contenido hacia abajo hasta la "línea roja" — ajustable */
    min-height: clamp(220px, 24vw, 340px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .impacto-cell h3 {
    font-family: 'Founders Grotesk', 'DM Sans', sans-serif;
    font-size: 2.1rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--blanco);
    margin: 0 0 0.7rem;
  }
  .impacto-cell p {
    font-size: 1.3rem;
    line-height: 1.2;
    color: rgba(255,255,255,0.6);
    margin: 0;
  }
  @media (max-width: 1100px) {
    .impacto-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 700px) {
    .impacto-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    /* Carrusel en teléfono: una celda visible, las demás con swipe lateral */
    .impacto-grid {
      display: flex;
      grid-template-columns: none;
      gap: 0.75rem;
      background: none;
      border: none;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      margin-left: calc(-1 * clamp(1.5rem, 4vw, 4rem));
      margin-right: calc(-1 * clamp(1.5rem, 4vw, 4rem));
      padding-left: clamp(1.5rem, 4vw, 4rem);
      padding-right: clamp(1.5rem, 4vw, 4rem);
      scroll-padding-left: clamp(1.5rem, 4vw, 4rem);
    }
    .impacto-grid::-webkit-scrollbar { display: none; }
    .impacto-cell {
      flex: 0 0 85%;
      scroll-snap-align: center;
      border: none;
      border-right: 1px solid rgba(255,255,255,0.15); /* solo divisor vertical entre celdas */
    }
    .impacto-cell:last-child { border-right: none; }
    .impacto-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
    .impacto-dots .dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: rgba(255,255,255,0.25);
      border: none; padding: 0; cursor: pointer;
      transition: background 0.3s, transform 0.3s;
    }
    .impacto-dots .dot.active { background: var(--blanco); transform: scale(1.3); }
  }
  .impacto-dots { display: none; }

  /* ===================== TESTIMONIOS — panel rojo + paginación (estilo AREA 17) ===================== */
  .testimonios-section { background: #d33533; position: relative; }
  .testimonios-section .section-title { color: var(--blanco); }
  .testimonios-section .testimonio .testimonio-quote { color: var(--blanco); }
  .testimonios-section .testimonio .testimonio-author { color: rgba(255,255,255,0.7); }
  .testimonios-section .testimonio .testimonio-author strong { color: var(--blanco); }
  .testimonios-nav { position: absolute; right: clamp(1.5rem, 4vw, 4rem); bottom: clamp(2rem, 5vh, 4rem); display: flex; gap: 0.6rem; z-index: 2; }
  .t-arrow {
    width: 3rem; height: 3rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.14); border: none; color: #fff;
    border-radius: 8px; cursor: pointer; font-size: 1.5rem; line-height: 1;
    transition: background 0.25s; font-family: inherit;
  }
  .t-arrow:hover { background: rgba(255,255,255,0.28); }

  /* ===================== NUESTROS CLIENTES — marquee con unfold ===================== */
  .clientes-marquee { overflow: hidden; margin-top: clamp(2.5rem, 4vw, 4rem); }
  .marquee-track { display: flex; width: max-content; will-change: transform; }
  .marquee-track.is-marquee { animation: clientes-marquee 70s linear infinite; }
  @keyframes clientes-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  .client-card {
    flex: 0 0 auto;
    margin-right: 1.2rem;
    width: clamp(195px, 19.5vw, 273px);
    aspect-ratio: 1 / 1;
    background: #EAEAEA;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i) * 0.04s);
  }
  .marquee-track.is-stacked .client-card {
    transform: translateX(calc(var(--i) * -100% - var(--i) * 1.2rem)) scale(0.97);
  }
  .client-logo {
    display: block;
    width: 62%;
    height: 50%;
    object-fit: contain;
    /* recolorea cualquier logo a gris #999 (negro -> invertido 60%) */
    filter: brightness(0) invert(0.6);
  }
  @media (prefers-reduced-motion: reduce) {
    .marquee-track.is-marquee { animation: none; }
    .marquee-track.is-stacked .client-card { transform: none; }
  }

  /* ===================== GALERÍA (entre FAQs y formulario) ===================== */
  .gallery-section { padding: 7rem 0 1rem; background: #fff; } /* FULLBLEED: padding lateral era clamp(1.5rem,4vw,4rem) */
  .gallery-band {
    max-width: 100%; /* FULLBLEED: original 1350px */
    aspect-ratio: 1350 / 750;
    max-height: 750px;
    margin: 0 auto;
    background: #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(10,10,10,0.3);
    overflow: hidden;
  }
  .gallery-band { position: relative; }
  .gallery-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .gallery-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
  .gallery-slide.is-active { opacity: 1; }
