/* ═══════════════════════════════════════════════
   WEBLIFT Agency — global.css (v3 — CORREGIDO)
   Paleta unificada extraída del logo:
   Azul marino profundo + acento azul brillante
═══════════════════════════════════════════════ */

:root {
  /* ── Paleta principal (del logo) ── */
  --ink:          #0d1b35;
  --ink-deep:     #070f20;
  --ink-mid:      #12264a;
  --ink-light:    #1c3561;

  /* ── Navy aliases (para compatibilidad con archivos existentes) ── */
  --navy:         #0d1b35;
  --navy-deep:    #070f20;
  --navy-light:   #1c3561;

  /* ── Acento azul brillante ── */
  --blue:         #3d8ef0;
  --blue-hover:   #60a8f8;
  --cyan:         #3d8ef0;
  --cyan-glow:    #60a8f8;
  --cyan-soft:    rgba(61,142,240,0.12);

  /* ── Neutros ── */
  --white:        #ffffff;
  --off-white:    #f4f6f9;
  --surface:      #f8f9fc;
  --section-bg:   #f4f7fc;
  --border:       rgba(14,28,58,0.10);
  --border-card:  rgba(14,28,58,0.10);
  --border-dark:  rgba(255,255,255,0.08);

  /* ── Texto ── */
  --text-primary:   #0d1b35;
  --text-body:      #4a5a7a;
  --text-secondary: #4a5a7a;
  --text-muted:     #8090b0;
  --text-light:     #c8d4e8;
  --text-on-dark:   #e0e8f4;

  /* ── Tipografía ── */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* ── Espaciado & radios ── */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-pill: 100px;

  /* ── Sombras ── */
  --shadow-sm:    0 2px 12px rgba(14,28,58,0.08);
  --shadow-card:  0 4px 20px rgba(14,28,58,0.10);
  --shadow-md:    0 8px 32px rgba(14,28,58,0.12);
  --shadow-lg:    0 20px 60px rgba(14,28,58,0.16);
  --shadow-hover: 0 16px 48px rgba(14,28,58,0.18);
  --shadow-cyan:  0 8px 32px rgba(61,142,240,0.25);

  /* ── Transición global ── */
  --t:          0.3s cubic-bezier(0.4,0,0.2,1);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  max-width: 100%;
}
img  { max-width:100%; height:auto; display:block; }
a    { text-decoration:none; color:inherit; }
ul   { list-style:none; }
button { border:none; background:none; cursor:pointer; font-family:var(--font-body); }

/* ── Tipografía base ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem);  font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

/* ── Contenedor ── */
.container { max-width:1200px; margin:0 auto; padding:0 5%; }
section    { padding:110px 5%; }

/* ── Etiqueta de sección ── */
.section-label,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}
.section-label::before,
.section-tag::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}
.center-label,
.center-tag { justify-content: center; }

.section-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 1rem auto 0;
}

/* ── Botones globales ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-primary:hover {
  background: var(--ink-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-cyan,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-cyan:hover,
.btn-secondary:hover {
  background: var(--cyan-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
  color: white;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--t);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  background: white;
  transition: all var(--t);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.15);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--t);
}
.btn-ghost-dark:hover {
  border-color: rgba(255,255,255,0.4);
  color: white;
  background: rgba(255,255,255,0.06);
}

/* ── Dots ventana mock ── */
.dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.dot.red    { background:#ff5f57; }
.dot.yellow { background:#febc2e; }
.dot.green  { background:#28c840; }

/* ── Cursor personalizado ── */
.cursor {
  width:10px; height:10px;
  background: var(--cyan);
  border-radius:50%;
  position:fixed; top:0; left:0;
  pointer-events:none; z-index:9999;
  transition: transform 0.08s;
}
.cursor-ring {
  width:34px; height:34px;
  border: 1.5px solid var(--cyan);
  border-radius:50%;
  position:fixed; top:0; left:0;
  pointer-events:none; z-index:9998;
  transition: transform 0.3s ease, width 0.2s, height 0.2s, opacity 0.2s;
  opacity:0.45;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity:0;
  transform:translateY(28px);
  transition:opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible          { opacity:1; transform:none; }
.reveal-delay-1          { transition-delay:0.1s; }
.reveal-delay-2          { transition-delay:0.2s; }
.reveal-delay-3          { transition-delay:0.3s; }
.reveal-delay-4          { transition-delay:0.4s; }

/* ── Animaciones base ── */
@keyframes fadeUp   { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:none} }
@keyframes fadeIn   { from{opacity:0} to{opacity:1} }
@keyframes floatBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
@keyframes pulse    { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.75)} }
@keyframes spinSlow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

@media (prefers-reduced-motion:reduce) {
  .reveal { animation:none; opacity:1; transform:none; transition:none; }
}

/* ── Boton de Whatsapp ── */
.whatsapp {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 90px;
  right: 75px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 42px;
  z-index: 100;
  transition: all 0.3s ease;
  animation: pulse 1s infinite alternate; /* animación siempre activa */
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.6); /* sombra fija */
}

.whatsapp-icon {
  margin-top: 13px;
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.08); } /* pulso suave */
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  body {
    position: relative;
  }

  section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .cursor,
  .cursor-ring {
    display: none !important;
  }

  .whatsapp {
    width: 58px;
    height: 58px;
    right: 14px;
    bottom: 18px;
    font-size: 34px;
  }

  .whatsapp-icon {
    margin-top: 11px;
  }
}

@media (max-width: 480px) {
  .whatsapp {
    width: 52px;
    height: 52px;
    right: 12px;
    bottom: 14px;
    font-size: 30px;
  }

  .whatsapp-icon {
    margin-top: 10px;
  }
}
