/* ================================
   PALETA DE COLORES – RUNAWA
================================ */
:root {
  --accent-1: #8A76A8;     /* Morado medio */
  --accent-2: #4B3360;     /* Morado oscuro */
  --accent-3: #C8C4DA;     /* Morado claro */
  --accent-4: #F3EEFF;     /* Lila super suave */
  --mint: #E8FFF6;
  --text-muted: #7c7f92;
  --bg-light: #fbfbff;
  --glass: rgba(255, 255, 255, 0.65);
}

/* ================================
   RESET Y BASE
================================ */
* {
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
  color: #2b2d33;
  overflow-x: hidden;
}
img {
  border-radius: 8px;
}

/* ================================
   NAVBAR
================================ */
.navbar {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-link {
  font-weight: 500;
  color: #4B3360 !important;
  transition: 0.3s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent-1) !important;
  transform: translateY(-2px);
}

/* Badge del logo */
.brand-badge {
  width: 36px;
  height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(75, 51, 96, 0.25);
}

/* ================================
   HERO (INDEX)
================================ */
.hero-section {
  padding: 90px 0 140px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
  color: #fff;
  position: relative;
}
.hero-section h1,
.hero-section p {
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.hero-card {
  background: var(--glass);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  padding: 28px;
  transition: 0.35s;
}
.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Ondas */
.hero-waves svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

/* ================================
   ANIMACIONES
================================ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards ease-out;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ================================
   CARDS GENERALES
================================ */
.feature-card,
.canvas-card,
.service-card,
.perfil-card,
.contact-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: 0.25s;
}
.feature-card:hover,
.canvas-card:hover,
.service-card:hover,
.perfil-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(75,51,96,0.18);
}

/* ================================
   BOTONES
================================ */
.btn-primary {
  background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
  border: none;
}
.btn-primary:hover {
  opacity: 0.88;
}
.btn-outline-primary {
  border-color: var(--accent-2);
  color: var(--accent-2);
}
.btn-outline-primary:hover {
  background: var(--accent-2);
  color: #fff;
}

/* Botón premium (WhatsApp) */
.btn-premium {
  background: linear-gradient(90deg, #4cca60, #2daa48);
  color: #fff;
}

/* ================================
   SERVICIOS – HERO
================================ */
.hero-services {
  height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  position: relative;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-services-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}

/* ================================
   PERFILES (TARJETAS)
================================ */
.perfil-card img {
  border-radius: 14px;
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.perfil-card {
  padding: 18px;
  background: #fff;
  border-radius: 18px;
}

/* ================================
   CONTACTO (WHATSAPP FORM)
================================ */
.contact-card {
  border: 1px solid rgba(75,51,96,0.10);
  background: #ffffff;
}
.glow-border {
  animation: glow 3s infinite alternate;
}
@keyframes glow {
  0% { box-shadow: 0 0 10px rgba(138,118,168,0.2); }
  100% { box-shadow: 0 0 25px rgba(138,118,168,0.45); }
}

/* ================================
   WHATSAPP FLOTANTE
================================ */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #13b855);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 26px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
  transition: 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ================================
   FOOTER
================================ */
.footer-soft {
  background: #f6f3ff;
  padding: 30px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}
