/* ══════════════════════════════════════════════
   base.css  —  Variables · Reset · Animaciones globales
   ══════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────── */
:root {
  --rose-50:  #fff0f5;
  --rose-100: #ffd6e7;
  --rose-200: #ffadd2;
  --rose-300: #f985b8;
  --rose-400: #e8609a;
  --rose-500: #c2658f;
  --rose-600: #9e3d6b;
  --rose-700: #7a2550;
  --lilac:    #f3eeff;
  --lilac-2:  #e5d6ff;
  --cream:    #fff8f0;
  --text:     #3a1a2e;
  --text-mid: #7a5068;
  --text-soft:#b08090;
  --white:    #ffffff;
  --ff-magic: 'Great Vibes', cursive;
  --ff-serif: 'Lora', serif;
  --ff-body:  'DM Sans', sans-serif;
  --radius:   16px;
  --radius-sm:10px;
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='%23e8609a' opacity='.7'/%3E%3C/svg%3E") 12 12, auto;
}

/* ── Sparkle cursor trail ────────────────────── */
.sparkle-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rose-300);
  opacity: 0;
  animation: sparkle-fade 0.6s ease-out forwards;
}
@keyframes sparkle-fade {
  0%   { transform: scale(1) translateY(0); opacity: 0.8; }
  100% { transform: scale(0) translateY(-20px); opacity: 0; }
}

/* ── Floating particles background ──────────── */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--rose-200);
  opacity: 0;
  animation: float-up linear infinite;
}
@keyframes float-up {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  20%  { opacity: 0.4; }
  80%  { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1.2); }
}

/* ── Fade-in on scroll ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Lang toggle ─────────────────────────────── */
.lang-toggle {
  position: fixed; top: 18px; right: 80px; z-index: 1000;
  background: var(--white);
  border: 1.5px solid var(--rose-200);
  border-radius: 30px;
  display: flex; overflow: hidden;
  font-size: 12px; font-weight: 500;
}
.lang-toggle button {
  padding: 5px 14px; border: none; cursor: pointer;
  background: transparent; color: var(--text-mid);
  font-family: var(--ff-body); font-size: 12px; font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle button.active { background: var(--rose-400); color: var(--white); }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px;
  font-family: var(--ff-body); font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--rose-400); color: var(--white);
  box-shadow: 0 4px 20px rgba(232,96,154,0.35);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(232,96,154,0.45); }
.btn-outline {
  background: transparent; color: var(--rose-600);
  border: 1.5px solid var(--rose-300);
}
.btn-outline:hover { background: var(--rose-50); }

/* ── Section commons ─────────────────────────── */
section { padding: 90px 5%; position: relative; }
.section-tag {
  font-family: var(--ff-serif); font-style: italic;
  font-size: 13px; color: var(--rose-400); letter-spacing: 0.15em;
  display: block; margin-bottom: 10px;
}
.section-title {
  font-family: var(--ff-magic); font-size: clamp(34px, 5vw, 52px);
  color: var(--rose-600); line-height: 1.2; margin-bottom: 14px;
}
.section-sub {
  font-size: 15px; color: var(--text-mid); max-width: 520px;
  line-height: 1.75; font-weight: 300;
}
.section-header { margin-bottom: 56px; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ── WhatsApp float ──────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 1000;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,0.6), 0 0 0 8px rgba(37,211,102,0.1); }
}
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ── Footer ──────────────────────────────────── */
footer {
  background: var(--rose-50); border-top: 1px solid var(--rose-100);
  padding: 40px 5% 24px; text-align: center;
}
.footer-logo { font-family: var(--ff-magic); font-size: 32px; color: var(--rose-500); margin-bottom: 8px; }
.footer-tagline { font-size: 13px; color: var(--text-soft); font-style: italic; margin-bottom: 24px; }
.footer-nav { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.footer-nav a { font-size: 13px; color: var(--text-mid); text-decoration: none; }
.footer-nav a:hover { color: var(--rose-500); }
.footer-copy { font-size: 12px; color: var(--text-soft); }
.pyme-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1.5px solid var(--rose-200);
  border-radius: 10px; padding: 8px 16px; margin-bottom: 20px;
  font-size: 12px; color: var(--rose-600); font-weight: 500;
}
