/* ==============================================================
   NV MARKETING DIGITAL — Reset Global, Animaciones y Componentes Reutilizables
   Archivo: css/base.css
============================================================== */

  /* HERO */
  .hero {
    position: relative; padding: 5rem 3.5rem 4.5rem;
    min-height: 88vh; display: flex; flex-direction: column;
    justify-content: center; overflow: hidden;
  }
  .hero::before {
    content: ''; position: absolute;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(207,42,177,0.18) 0%, transparent 65%);
    right: -40px; top: 50%; transform: translateY(-50%); pointer-events: none;
  }
  .hero::after {
    content: ''; position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(90,37,207,0.22) 0%, transparent 65%);
    right: 180px; top: 35%; transform: translateY(-50%); pointer-events: none;
  }

  .ring {
    position: absolute; border-radius: 50%; right: 0; top: 50%;
    animation: spin linear infinite; pointer-events: none;
  }
  .ring-1 { width: 620px; height: 620px; border: 1px solid rgba(207,42,177,0.13); animation-duration: 50s; }
  .ring-2 { width: 440px; height: 440px; border: 1px solid rgba(90,37,207,0.16); animation-duration: 34s; animation-direction: reverse; }
  .ring-3 { width: 270px; height: 270px; border: 1px solid rgba(240,19,102,0.18); animation-duration: 22s; }
  @keyframes spin {
    from { transform: translateY(-50%) translateX(28%) rotate(0deg); }
    to   { transform: translateY(-50%) translateX(28%) rotate(360deg); }
  }

  .diamond {
    position: absolute; border: 1.5px solid rgba(207,42,177,0.3);
    right: 310px; top: 16%; transform: rotate(45deg);
    animation: floatY 8s ease-in-out infinite; pointer-events: none;
    width: 100px; height: 100px;
  }
  .diamond-sm {
    position: absolute; width: 52px; height: 52px;
    border: 1.5px solid rgba(90,37,207,0.38);
    right: 160px; bottom: 20%; transform: rotate(45deg);
    animation: floatY 5.5s ease-in-out 1.2s infinite; pointer-events: none;
  }
  @keyframes floatY {
    0%,100%{ transform: rotate(45deg) translateY(0); }
    50%{ transform: rotate(45deg) translateY(-14px); }
  }

  .dot-grid {
    position: absolute; right: 3.5rem; bottom: 3.5rem;
    display: grid; grid-template-columns: repeat(12, 1fr);
    gap: 15px; opacity: 0.1; pointer-events: none;
  }
  .dot-grid span { width: 3px; height: 3px; background: #fff; border-radius: 50%; display: block; }

  .deco-line { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

  /* CONTENT */
  .hero-content { position: relative; z-index: 2; max-width: 640px; }

  .hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(207,42,177,0.38); background: rgba(207,42,177,0.08);
    color: #e08ed5; font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.4rem 1rem; border-radius: 100px; margin-bottom: 2rem;
    animation: fadeUp 0.5s ease both;
  }
  .tag-dot { width: 6px; height: 6px; background: var(--fucsia); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.35; transform:scale(0.65); } }

  h1 {
    font-family: 'Space Grotesk', sans-serif; font-weight: 800;
    font-size: clamp(2.8rem, 4.5vw, 4.4rem); line-height: 1.0;
    letter-spacing: -0.035em; margin-bottom: 1.7rem;
    animation: fadeUp 0.5s 0.08s ease both;
  }
  .grad {
    background: linear-gradient(100deg, var(--fucsia) 10%, var(--violeta) 90%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  }
  .accent-red { color: var(--acento); }

  .hero-sub {
    font-size: 1.05rem; color: var(--muted); line-height: 1.75;
    max-width: 470px; margin-bottom: 2.6rem;
    animation: fadeUp 0.5s 0.16s ease both;
  }

  .hero-actions { display: flex; align-items: center; gap: 1.2rem; animation: fadeUp 0.5s 0.24s ease both; }

  .btn-primary {
    background: linear-gradient(135deg, var(--fucsia), var(--violeta));
    color: #fff; font-family: 'Poppins', sans-serif; font-weight: 500;
    font-size: 0.95rem; padding: 0.85rem 2rem; border-radius: 100px;
    border: none; cursor: pointer; display: inline-flex; align-items: center;
    gap: 8px; transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(207,42,177,0.4); }

  .btn-ghost {
    color: var(--muted); font-family: 'Poppins', sans-serif;
    font-size: 0.9rem; font-weight: 500; background: none; border: none;
    cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s;
  }
  .btn-ghost:hover { color: var(--white); }

  .drag-label { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

  .fc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 1.1rem; }
  .fc-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--fucsia), var(--violeta));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 800;
    color: #fff; flex-shrink: 0;
  }
  .fc-name { font-size: 0.85rem; font-weight: 500; color: #fff; }
  .fc-role { font-size: 0.7rem; color: var(--muted); margin-top: 2px; }

  .fc-metric {
    border-radius: 13px; padding: 0.9rem 1rem; margin-bottom: 0.8rem;
    background: rgba(90,37,207,0.15); border: 1px solid rgba(90,37,207,0.28);
  }
  .fc-metric-label { font-size: 0.67rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
  .fc-metric-val {
    font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; font-weight: 800;
    background: linear-gradient(90deg, var(--fucsia), var(--violeta));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1;
  }
  .fc-delta { font-size: 0.68rem; color: #6ee99a; margin-top: 4px; }

  .fc-pills { display: flex; flex-wrap: wrap; gap: 5px; }
  .pill {
    font-size: 0.66rem; font-weight: 500; padding: 4px 9px; border-radius: 100px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: rgba(210,195,255,0.65);
  }
  .pill.hot { background: rgba(207,42,177,0.14); border-color: rgba(207,42,177,0.3); color: #e08ed5; }

  /* STATS */
  .hero-stats {
    position: relative; z-index: 2; display: flex; gap: 3.5rem;
    margin-top: 5rem; padding-top: 2.2rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    animation: fadeUp 0.5s 0.32s ease both;
  }
  .stat-num {
    font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--fucsia), var(--violeta));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1;
  }
  .stat-label { font-size: 0.77rem; color: var(--muted); margin-top: 4px; }

  /* WHATSAPP BUTTON */
  .wa-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 200;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,0.45);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    animation: fadeUp 0.6s 0.8s ease both;
  }
  .wa-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 14px 36px rgba(37,211,102,0.55);
  }
  .wa-btn svg { width: 30px; height: 30px; }

  .wa-tooltip {
    position: fixed;
    bottom: 2.5rem;
    right: 5.2rem;
    z-index: 199;
    background: rgba(7,15,30,0.92);
    border: 1px solid rgba(37,211,102,0.25);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
    backdrop-filter: blur(8px);
  }
  .wa-btn:hover + .wa-tooltip { opacity: 1; transform: translateX(0); }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

  /* ── CLIENTS CAROUSEL ── */
  .clients-section {
    background: var(--bg);
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
  }

  .clients-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 36px 0 28px;
  }

  .clients-label span {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(241,233,255,0.30);
    white-space: nowrap;
  }

  .clients-label::before,
  .clients-label::after {
    content: '';
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: rgba(255,255,255,0.08);
  }

  /* Track wrapper — clips overflow, shows fade edges */
  .carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
  }

  .carousel-wrapper::before,
  .carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
  }

  .carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #040c1a 0%, transparent 100%);
  }

  .carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #040c1a 0%, transparent 100%);
  }

  /* Two tracks scrolling in opposite directions */
  .carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    margin-bottom: 16px;
  }

  .carousel-track.row1 { animation: scrollLeft 32s linear infinite; }
  .carousel-track.row2 { animation: scrollRight 28s linear infinite; }

  @keyframes scrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  @keyframes scrollRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
  }

  /* Pause on hover of the whole wrapper */
  .carousel-wrapper:hover .carousel-track { animation-play-state: paused; }

  /* Logo card */
  

  .logo-card:hover {
    transform: scale(1.12) translateY(-3px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.16);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    z-index: 10;
    position: relative;
  }

  /* Icon dot — white by default, color on hover */
  

  

  /* Logo name — white/muted by default, brand color on hover */
  

  /* Per-brand hover colors */
  