/* ── Variables de paleta ── */
:root {
  --black:         #0A0A0A;
  --indigo-dark:   #1F1F35;
  --indigo:        #3730A3;
  --indigo-light:  #818CF8;
  --ivory:         #F5F5F0;
  --white:         #FFFFFF;
}

/* ── Reset base ── */
body {
  background-color: var(--ivory);
  color: var(--black);
  font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ════════════════════════════
   NAVBAR
════════════════════════════ */
.navbar {
  background-color: var(--indigo-dark) !important;
  border-bottom: 1px solid rgba(129,140,248,0.15);
}
.navbar-brand .brand-name {
  color: var(--indigo-light);
  font-weight: 600;
}
.navbar-brand .brand-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.navbar .nav-link {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--indigo-light) !important;
}

/* ════════════════════════════
   BOTONES
════════════════════════════ */
.btn-indigo {
  background-color: var(--indigo);
  color: var(--white) !important;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}
.btn-indigo:hover {
  background-color: #4338CA;
}
.btn-outline-indigo {
  border: 1.5px solid var(--indigo);
  color: var(--indigo) !important;
  background: transparent;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.btn-outline-indigo:hover {
  background-color: var(--indigo);
  color: var(--white) !important;
}

/* ════════════════════════════
   SECCIONES
════════════════════════════ */
section {
  padding: 90px 0;
}
.section-ivory {
  background-color: var(--ivory);
}
.section-white {
  background-color: var(--white);
}
/* ════════════════════════════
   SECCIONES (sin texturas)
════════════════════════════ */
/* Base: color morado oscuro */
.section-dark {
  background-color: var(--indigo-dark);
  color: var(--white);
  background-image:
    linear-gradient(135deg, rgba(31, 31, 53, 0.82), rgba(31, 31, 53, 0.55)),
    url("../img/textures-services-dots.svg");
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 160px 160px;
  background-position: center, center;
}

/* Texturas globales (SOLO DOTS) para TODAS las secciones moradas */
.section-dark--noise,
.section-dark--grid,
.section-dark--dots,
.section-dark--kintsugi,
.section-dark--waves {
  background-color: var(--indigo-dark);
  color: var(--white);

  background-image:
    linear-gradient(135deg, rgba(31, 31, 53, 0.82), rgba(31, 31, 53, 0.55)),
    url("../img/textures-services-dots.svg");
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 160px 160px;
  background-position: center, center;
}

.section-label {
  color: var(--indigo);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ════════════════════════════
   CARDS ¿QUÉ TE ESTÁ PASANDO?
════════════════════════════ */
.card-human {
  background: linear-gradient(
    180deg,
    #fcfcff 0%,
    #f5f6ff 100%
  );

  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 16px;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 12px 30px rgba(55, 48, 163, 0.10);

  padding: 2rem;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;

  transition: all 0.3s ease;
}

.card-human:hover {
  transform: translateY(-6px);

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.06),
    0 22px 48px rgba(55, 48, 163, 0.18);

  border-color: rgba(129, 140, 248, 0.35);
}


.card-human-dark {
  background: linear-gradient(
    180deg,
    #2a2a47 0%,
    #1f1f35 100%
  );

  color: white;

  border: 1px solid rgba(129, 140, 248, 0.20);
  border-radius: 16px;

  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.22),
    0 18px 42px rgba(31, 31, 53, 0.35);

  padding: 2rem;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;

  transition: all .3s ease;
}

.card-human-dark:hover {
  transform: translateY(-6px);

  border-color: rgba(129, 140, 248, 0.45);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.30),
    0 24px 52px rgba(31, 31, 53, 0.45);
}

/* ════════════════════════════
   CARDS SERVICIOS
════════════════════════════ */
.card-servicio {
  background: var(--white);
  border-radius: 16px;
  border: 1.5px solid rgba(55,48,163,0.12);
  padding: 2rem;
  height: 100%;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}
.card-servicio:hover {
  box-shadow: 0 10px 36px rgba(55,48,163,0.18);
  transform: translateY(-5px);
}
.card-servicio .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(129,140,248,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.6rem;
}
.card-servicio h5 {
  color: var(--indigo-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.card-servicio p {
  color: #555;
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ════════════════════════════
   ANIMACIONES (Reveal suave)
════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ════════════════════════════
   FOOTER
════════════════════════════ */
.site-footer {
  background-color: var(--indigo-dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 30px;
}
.site-footer h6 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1rem;
}
.site-footer .footer-brand {
  color: var(--indigo-light);
}
.site-footer a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover {
  color: var(--indigo-light);
}
.site-footer .footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2rem 0 1.5rem;
}
