/* =============================================
   BASE — Utilidades, tipografía, botones, animaciones
============================================= */

/* Contenedor */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Etiquetas de sección ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,207,197,0.08);
  border: 1px solid rgba(0,207,197,0.2);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}
.section-title.light { color: var(--text-light); }

.section-sub {
  font-size: 1rem;
  color: var(--text-soft);
  margin-top: 12px;
  max-width: 580px;
  line-height: 1.7;
}
.section-sub.light { color: rgba(255, 255, 255, 0.65); }

.section-header          { margin-bottom: 50px; }
.section-header.center   { text-align: center; }
.section-header.center .section-sub { margin: 10px auto 0; }

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: #19D9D2;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 207, 197, 0.45);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 207, 197, 0.35);
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ── Animaciones de entrada ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scrollbar ── */
::-webkit-scrollbar               { width: 6px; }
::-webkit-scrollbar-track         { background: var(--bg-dark); }
::-webkit-scrollbar-thumb         { background: rgba(0,207,197,0.3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover   { background: rgba(0,207,197,0.55); }

/* ── Keyframes ── */
@keyframes gridMove {
  0%   { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
