/* moncreative — quienes-somos.css
   /wp-content/themes/everhue/assets/css/quienes-somos.css */

:root {
      --sky: #0fbcd4;
      --sky-light: #7ee8fa;
      --orange: #ff6b2b;
      --orange-light: #ff9966;
      --bg: #080808;
      --bg2: #0d0d0d;
      --bg3: #121212;
      --white: #f0f0f0;
      --muted: rgba(240,240,240,0.55);
      --glass: rgba(255,255,255,0.04);
      --glass-border: rgba(255,255,255,0.08);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      background: var(--bg) !important;
      color: var(--white) !important;
      font-family: 'DM Sans', sans-serif;
      font-size: 16px;
      line-height: 1.7;
      overflow-x: hidden;
      cursor: none;
    }

    /* ── CUSTOM CURSOR ── */
    #cursor {
      width: 12px; height: 12px;
      background: var(--sky);
      border-radius: 50%;
      position: fixed;
      top: 0; left: 0;
      pointer-events: none;
      z-index: 9999;
      transition: transform 0.15s, background 0.3s, width 0.3s, height 0.3s;
      box-shadow: 0 0 20px var(--sky), 0 0 40px rgba(15,188,212,0.4);
      mix-blend-mode: screen;
    }
    #cursor-ring {
      width: 36px; height: 36px;
      border: 1px solid rgba(15,188,212,0.4);
      border-radius: 50%;
      position: fixed;
      top: 0; left: 0;
      pointer-events: none;
      z-index: 9998;
      transition: all 0.08s;
    }
    body:has(a:hover) #cursor, body:has(button:hover) #cursor {
      width: 20px; height: 20px;
      background: var(--orange);
      box-shadow: 0 0 25px var(--orange), 0 0 50px rgba(255,107,43,0.4);
    }

    /* ── ANIMATED BACKGROUND ── */
    #bg-canvas {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      pointer-events: none;
      z-index: 0;
      opacity: 0.35;
    }

    .mesh-bg {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }
    .mesh-blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      animation: float-blob 18s ease-in-out infinite;
    }
    .blob-1 {
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(15,188,212,0.15) 0%, transparent 70%);
      top: -200px; left: -200px;
      animation-duration: 20s;
    }
    .blob-2 {
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(255,107,43,0.12) 0%, transparent 70%);
      top: 30%; right: -150px;
      animation-duration: 25s;
      animation-delay: -8s;
    }
    .blob-3 {
      width: 700px; height: 700px;
      background: radial-gradient(circle, rgba(126,232,250,0.08) 0%, transparent 70%);
      bottom: -200px; left: 30%;
      animation-duration: 22s;
      animation-delay: -4s;
    }
    @keyframes float-blob {
      0%,100% { transform: translate(0,0) scale(1); }
      33% { transform: translate(40px,-30px) scale(1.05); }
      66% { transform: translate(-20px,50px) scale(0.95); }
    }

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

    /* ── LAYOUT ── */
    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 40px;
      position: relative;
      z-index: 2;
    }

    /* ── HERO SECTION WITH STICKY ── */
    .about-hero {
      min-height: 100vh;
      padding: 40px 0 80px;
      position: relative;
    }
    .about-grid {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 100px;
      align-items: start;
    }
    
    /* Sticky Image Column */
    .about-sticky-col {
      position: sticky;
      top: 140px;
      height: calc(100vh - 280px);
      min-height: 500px;
    }
    .about-img-wrap {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 20px;
      overflow: hidden;
    }
    .about-img-wrap::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(15,188,212,0.2) 0%, rgba(255,107,43,0.15) 100%);
      z-index: 1;
      mix-blend-mode: screen;
    }
    .about-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 20px;
      filter: saturate(0.8) contrast(1.1);
    }
    .about-img-border {
      position: absolute;
      inset: -1px;
      border-radius: 21px;
      background: linear-gradient(135deg, rgba(15,188,212,0.4), rgba(255,107,43,0.3), transparent);
      pointer-events: none;
      z-index: 2;
    }

    /* Decorative Sticker */
    .about-sticker {
      position: absolute;
      bottom: 30px;
      right: 30px;
      width: 140px;
      height: 140px;
      z-index: 3;
      animation: float-sticker 6s ease-in-out infinite;
    }
    .about-sticker svg {
      width: 100%;
      height: 100%;
    }
    @keyframes float-sticker {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-10px) rotate(5deg); }
    }

    /* Scrollable Content Column */
    .about-content-col {
      display: flex;
      flex-direction: column;
      gap: 60px;
    }
    .about-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 16px; /* ← De 10px a 16px para más espacio del puntito */
      padding: 6px 16px;
      border: 1px solid rgba(15,188,212,0.25);
      border-radius: 100px;
      font-size: 11px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--sky);
      background: rgba(15,188,212,0.05);
      width: fit-content;
    }
    .about-eyebrow::before {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--sky);
      box-shadow: 0 0 10px var(--sky);
      animation: pulse 2s ease-in-out infinite;
      margin-left: 8px; /* ← Espacio para que no toque el borde izquierdo */
    }
    @keyframes pulse {
      0%,100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.7); }
    }
    .about-title {
      font-family: 'Unbounded', sans-serif;
      font-size: clamp(40px, 5vw, 64px);
      font-weight: 700;
      line-height: 1.1; /* ← De 1 a 1.1 para dos líneas */
      letter-spacing: -2px;
      text-transform: uppercase;
      margin-bottom: 24px;
      color: var(--white); /* ← SOMOS en blanco */
      word-break: normal; /* ← Evitar cortes raros */
      overflow-wrap: normal; /* ← Forzar salto natural */
    }
    
    /* ← Forzar "SOMOS" en una línea y "MONCREATIVE" en otra */
    .about-title {
      white-space: nowrap; /* ← SOMOS no se corta */
    }
    
    .about-title .grad {
      white-space: normal; /* ← MONCREATIVE puede ir en otra línea */
      display: block; /* ← Fuerza salto de línea */
      margin-top: 8px; /* ← Espacio entre SOMOS y MONCREATIVE */
    }
    .about-title .grad {
      background: linear-gradient(135deg, var(--sky-light) 0%, var(--sky) 40%, var(--orange) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .about-tagline {
      font-size: 18px;
      color: var(--muted);
      font-weight: 300;
      line-height: 1.8;
      max-width: 500px;
    }
    .about-text-block {
      padding-top: 40px;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .about-text {
      color: var(--muted);
      font-size: 17px;
      line-height: 1.9;
      margin-bottom: 24px;
      font-weight: 300;
    }
    .about-text strong {
      color: var(--white);
      font-weight: 500;
    }

    /* ── STATS BAR ── */
    .stats-section {
      padding: 80px 0;
      background: var(--bg2);
    }
    .stats-inner {
      max-width: 1200px;
      margin: 0 auto;
      /* padding: 0 40px; ← ELIMINADO - El padding va en stat-block */
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 24px;
      overflow: hidden;
      background: rgba(255,255,255,0.02);
      backdrop-filter: blur(10px);
    }
    .stat-block {
      padding: 50px 40px;
      text-align: center;
      border-right: 1px solid rgba(255,255,255,0.06);
      position: relative;
      overflow: hidden;
      transition: background 0.4s;
      cursor: none;
    }
    .stat-block:last-child { border-right: none; }
    .stat-block::after {
      content: '';
      position: absolute;
      bottom: 0; left: 50%;
      transform: translateX(-50%);
      width: 0; height: 1px;
      background: linear-gradient(90deg, var(--sky), var(--orange));
      transition: width 0.4s;
    }
    .stat-block:hover::after { width: 80%; }
    .stat-block:hover { background: rgba(15,188,212,0.04); }
    .stat-num {
      font-family: 'Unbounded', sans-serif;
      font-size: 52px;
      font-weight: 700;
      line-height: 1;
      margin-bottom: 14px;
      background: linear-gradient(135deg, var(--sky-light) 0%, var(--sky) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .stat-block:nth-child(even) .stat-num {
      background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .stat-lbl {
      font-size: 11px;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--muted);
      font-weight: 400;
    }

    /* ── CLIENTS SECTION ── */
    .clients-section {
      padding: 120px 0;
      background: var(--bg2);
    }
    .clients-header {
      text-align: center;
      margin-bottom: 60px;
    }
    .clients-header .section-tag {
      justify-content: center;
    }
    .clients-header .section-tag::before { display: none; }
    .clients-header .section-title {
      font-family: 'Unbounded', sans-serif;
      font-size: clamp(28px, 3.5vw, 44px);
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.5px;
      margin: 0 auto 16px;
      color: #fff;  /* ← Blanco puro */
    }
    .clients-header .section-body {
      color: var(--muted);
      font-size: 16px;
      font-weight: 300;
      line-height: 1.8;
      max-width: 600px;
      margin: 0 auto;
    }
    .clients-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 40px;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
    }
    .client-logo {
      background: var(--glass);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      padding: 32px 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
      cursor: none;
      min-height: 120px;
    }
    .client-logo:hover {
      background: rgba(15,188,212,0.06);
      border-color: rgba(15,188,212,0.2);
      transform: translateY(-4px);
    }
    .client-logo svg {
      width: 100%;
      max-width: 140px;
      height: auto;
      filter: grayscale(100%) brightness(1.5);
      transition: all 0.4s;
    }
    .client-logo:hover svg {
      filter: grayscale(0%) brightness(1);
    }

    /* ── VALUES SECTION ── */
    .values-section {
      padding: 120px 0;
    }
    .values-header {
      text-align: center;
      margin-bottom: 60px;
    }
    .values-header .section-tag {
      justify-content: center;
    }
    .values-header .section-tag::before { display: none; }
    .values-header .section-title {
      font-family: 'Unbounded', sans-serif;
      font-size: clamp(28px, 3.5vw, 44px);
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: -0.5px;
      margin: 0 auto 16px;
      color: #fff;  /* ← Blanco puro */
    }
    .values-header .section-body {
      color: var(--muted);
      font-size: 16px;
      font-weight: 300;
      line-height: 1.8;
      max-width: 600px;
      margin: 0 auto;
    }
    .values-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .value-card {
      padding: 40px 32px;
      background: var(--glass);
      border: 1px solid var(--glass-border);
      border-radius: 20px;
      text-align: center;
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
      cursor: none;
    }
    .value-card:hover {
      background: rgba(15,188,212,0.06);
      border-color: rgba(15,188,212,0.2);
      transform: translateY(-8px);
    }
    .value-icon {
      width: 64px; height: 64px;
      margin: 0 auto 24px;
      border-radius: 16px;
      background: rgba(15,188,212,0.1);
      border: 1px solid rgba(15,188,212,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      transition: all 0.4s;
    }
    .value-card:hover .value-icon {
      background: var(--sky);
      border-color: var(--sky);
      transform: scale(1.1) rotate(-5deg);
    }
    .value-title {
      font-family: 'Unbounded', sans-serif;
      font-size: 16px;
      font-weight: 600;
      color: #fff;  /* ← Blanco puro */
      margin-bottom: 12px;
    }
    .value-desc {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
    }

    /* ── CTA SECTION ── */
.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(15,188,212,0.05) 60deg, transparent 120deg, rgba(255,107,43,0.04) 180deg, transparent 240deg, rgba(15,188,212,0.03) 300deg, transparent 360deg);
  animation: rotate-conic 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes rotate-conic {
  to { transform: rotate(360deg); }
}
.cta-inner > * { position: relative; z-index: 1; }

.cta-section {
      padding: 140px 0;
      text-align: center;
    }
    .cta-inner {
      position: relative;
      overflow: hidden;
      max-width: 800px;
      margin: 0 auto;
      padding: 60px 40px;
      background: linear-gradient(160deg, rgba(15,188,212,0.08) 0%, rgba(255,107,43,0.05) 100%);
      border: 1px solid rgba(15,188,212,0.15);
      border-radius: 32px;
      backdrop-filter: blur(20px);
    }
    .cta-title {
      font-family: 'Unbounded', sans-serif;
      font-size: clamp(28px, 3.5vw, 42px);
      font-weight: 700;
      margin-bottom: 20px;
      color: #fff;  /* ← Blanco puro */
    }
    .cta-body {
      color: var(--muted);
      font-size: 16px;
      line-height: 1.8;
      margin-bottom: 40px;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
    }

    /* ── DIVIDER ── */
    .divider {
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 30%, rgba(15,188,212,0.2) 50%, rgba(255,255,255,0.08) 70%, transparent 100%);
      margin: 0;
    }

    /* ── BUTTONS ── */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 15px 32px;
      background: linear-gradient(135deg, var(--sky) 0%, var(--orange) 100%);
      border: none;
      border-radius: 100px;
      color: #fff;
      font-family: 'Unbounded', sans-serif;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      text-decoration: none;
      cursor: none;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
    }
    .btn-primary::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, var(--orange) 0%, var(--sky) 100%);
      opacity: 0;
      transition: opacity 0.4s;
    }
    .btn-primary:hover::before { opacity: 1; }
    .btn-primary span { position: relative; z-index: 1; }
    .btn-primary:hover {
      box-shadow: 0 0 30px rgba(15,188,212,0.35), 0 0 60px rgba(255,107,43,0.2);
      transform: translateY(-2px);
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 1200px) {
      .clients-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    @media (max-width: 1024px) {
      .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
      }
      .about-sticky-col {
        position: relative;
        top: auto;
        height: 500px;
      }
      .about-sticker {
        width: 100px;
        height: 100px;
        bottom: 20px;
        right: 20px;
      }
      .stats-inner {
        grid-template-columns: repeat(2, 1fr);
      }
      .stat-block:nth-child(2) { border-right: none; }
      .stat-block:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.06); }
      .values-grid {
        grid-template-columns: 1fr;
      }
      .clients-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 900px) { /* ← 900px como branding.php */
      
      /* ← CRÍTICO: Prevenir overflow horizontal */
      body {
        overflow-x: hidden;
      }
      
      .container {
        padding: 0 24px; /* ← Padding lateral para móvil */
        width: 100%;
        max-width: 100%;
      }
      
      /* Hero section */
      .about-hero {
        padding: 100px 0 60px;
      }
      .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
      }
      .about-sticky-col {
        height: 400px;
      }
      .about-sticker {
        width: 80px;
        height: 80px;
      }
      
      /* Imágenes responsive - CRÍTICO */
      .about-img-wrap,
      .about-img-wrap img {
        max-width: 100%;
        width: 100%;
      }
      
      /* Stats */
      .stats-inner {
        grid-template-columns: repeat(2,1fr); /* ← 2 columnas como branding.php */
        max-width: 100%;
      }
      .stat-block:nth-child(2) { border-right: none; }
      .stat-block:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.06); }
      
      /* Números más chicos para que se lean completos en móvil */
      .stat-num {
        font-size: 29px !important; /* De 52px a 38px - suficiente para 3 dígitos */
      }
      .stat-lbl {
        font-size: 9px; /* Un poco más chico */
        letter-spacing: 1.5px;
      }
      
      /* Sections padding */
      section {
        padding: 80px 0;
      }
      
      /* Values & Clients */
      .values-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
      }
      .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
      }
      
      /* CTA */
      .cta-inner {
        padding: 50px 30px;
      }
      
      /* Textos largos */
      .about-text,
      .about-tagline,
      .section-body {
        word-wrap: break-word;
        overflow-wrap: break-word;
      }
    }
    
    /* ← IPHONE SE / GALAXY S8+ (≤375px) - Padding reducido */
    @media (max-width: 375px) {
      
      /* ← CRÍTICO: Prevenir overflow en body */
      body {
        overflow-x: hidden;
      }
      
      .container {
        padding: 0 16px; /* ← De 24px a 16px para más espacio */
        width: 100%;
        max-width: 100%;
      }
      
      /* ← CRÍTICO: Asegurar que about-grid respete el padding */
      .about-grid {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
      }
      
      .about-sticky-col,
      .about-content-col {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
      }
      
      /* ← Imagen con box-sizing correcto */
      .about-img-wrap {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 16px; /* ← De 20px a 16px para móviles chicos */
        margin-left: 0;
        margin-right: 0;
      }
      
      .about-img-wrap img {
        width: 100%;
        max-width: 100%;
        border-radius: 16px; /* ← Mismo que el padre */
        margin-left: 0;
        margin-right: 0;
      }
      
      /* ← TÍTULOS Y TEXTOS - CRÍTICO */
      .about-eyebrow,
      .about-title,
      .about-tagline {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
      }
      
      /* ← H1 específicamente */
      h1.about-title {
        font-size: clamp(28px, 8vw, 36px); /* ← Más chico en móviles */
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
      }
      
      .about-tagline {
        font-size: 15px; /* ← De 17px a 15px */
        line-height: 1.6;
      }
      
      .about-hero {
        padding: 80px 0 50px;
      }
      
      .about-sticky-col {
        height: 350px; /* ← Imagen más chica */
      }
      
      .about-sticker {
        width: 70px;
        height: 70px;
        bottom: 15px;
        right: 15px;
      }
      
      /* Stats - números aún más chicos */
      .stat-num {
        font-size: 29px !important; /* De 38px a 34px para +100, +150 */
      }
      .stat-lbl {
        font-size: 8px; /* De 9px a 8px */
        letter-spacing: 1px;
      }
      
      section {
        padding: 60px 0;
      }
      
      .cta-inner {
        padding: 40px 20px;
      }
      
      .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }
      
      /* ← Textos debajo de la imagen con padding controlado */
      .about-content-col {
        padding-right: 0; /* ← Eliminar cualquier padding derecho extra */
      }
      
      .about-title,
      .about-tagline,
      .about-text {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
      }
      
      /* ← Padding lateral para el bloque de texto */
      .about-text-block {
        padding-left: 0; /* ← Ya hay padding en el container */
        padding-right: 0;
      }
    }