/* Animaciones de Texto */

/* blur de entrada */

.reveal-words span {
  display: inline-block;
  opacity: 0;
  filter: blur(20px);
  transform: translateY(30px);
}

body.is-loaded .reveal-words span {
  animation: wordReveal 1.6s cubic-bezier(.22, 1, .36, 1) forwards;
}

body.is-loaded .reveal-words span:nth-child(1) { animation-delay: 0.2s; }
body.is-loaded .reveal-words span:nth-child(2) { animation-delay: 0.45s; }
body.is-loaded .reveal-words span:nth-child(3) { animation-delay: 0.7s; }
body.is-loaded .reveal-words span:nth-child(4) { animation-delay: 0.95s; }
body.is-loaded .reveal-words span:nth-child(5) { animation-delay: 1.2s; }
body.is-loaded .reveal-words span:nth-child(6) { animation-delay: 1.45s; }

@keyframes wordReveal {
  0% {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

/* End blur de entrada */

/* fadeInUp */

.fadeInUp {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  filter: blur(8px);

  animation: fadeInUp 1.2s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

/* End fadeInUp */

/* fadeInUp-scroll */

.fadeInUp-scroll {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  filter: blur(5px);

  transition:
    opacity 1.25s cubic-bezier(.22,1,.36,1),
    transform 1.25s cubic-bezier(.22,1,.36,1),
    filter 1.25s cubic-bezier(.22,1,.36,1);

  will-change: transform, opacity, filter;
}

.fadeInUp-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* delays */
/* delays globales */

.delay-1,
.fadeInUp-scroll.delay-1 {
  transition-delay: 0.18s;
}

.delay-2,
.fadeInUp-scroll.delay-2 {
  transition-delay: 0.42s;
}

.delay-3,
.fadeInUp-scroll.delay-3 {
  transition-delay: 0.66s;
}

.delay-4,
.fadeInUp-scroll.delay-4 {
  transition-delay: 0.9s;
}

.delay-5,
.fadeInUp-scroll.delay-5 {
  transition-delay: 1.14s;
}

.delay-6,
.fadeInUp-scroll.delay-6 {
  transition-delay: 1.38s;
}

/* End fadeInUp-scroll */

/* typewriter */

.typewriter {
  position: relative;
  width: fit-content;

  overflow: hidden;
  white-space: nowrap;

  border-right: 1px solid rgba(255,255,255,0.75);

  opacity: 0;

  animation:
    typewriterReveal 0.2s forwards,
    typing 3.2s steps(42, end) 0.2s forwards,
    blinkCursor 0.8s step-end infinite;

  filter: blur(6px);
}

/* aparece suavemente */
@keyframes typewriterReveal {
  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* typing */
@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* cursor */
@keyframes blinkCursor {
  0%, 100% {
    border-color: rgba(255,255,255,0.75);
  }

  50% {
    border-color: transparent;
  }
}

/* End typewriter */

/* typewriter-scroll */

.typewriter-scroll {
  width: 0;
  opacity: 0;

  overflow: hidden;
  white-space: nowrap;

  border-right: 1px solid rgba(255,255,255,0.75);

  filter: blur(6px);
}

.typewriter-scroll.is-visible {
  opacity: 1;

  animation:
    typing 3.2s steps(42, end) forwards,
    blinkCursor 0.8s step-end infinite;
}

/* End typewriter-scroll */

/* fadeInLeft-scroll */

.fadeInLeft-scroll {
  opacity: 0;
  transform: translate3d(-60px, 0, 0);
  filter: blur(8px);

  transition:
    opacity 1.2s cubic-bezier(.22,1,.36,1),
    transform 1.2s cubic-bezier(.22,1,.36,1),
    filter 1.2s cubic-bezier(.22,1,.36,1);

  will-change: transform, opacity, filter;
}

.fadeInLeft-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* delays */

.fadeInLeft-scroll.delay-1 {
  transition-delay: 0.18s;
}

.fadeInLeft-scroll.delay-2 {
  transition-delay: 0.42s;
}

.fadeInLeft-scroll.delay-3 {
  transition-delay: 0.66s;
}

.fadeInLeft-scroll.delay-4 {
  transition-delay: 0.9s;
}

.fadeInLeft-scroll.delay-5 {
  transition-delay: 1.14s;
}
.fadeInLeft-scroll.delay-6 {
  transition-delay: 1.38s;
}

/* End fadeInLeft-scroll */

/* parallax img */

.people-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.people-bg-parallax {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.people-bg-parallax img {
  position: absolute;
  right: 0;
  bottom: -10%;

  width: 57%;
  max-width: none;
  height: auto;

  transform: translate3d(0,0,0);

  will-change: transform;

  transition: transform 0.08s linear;
}

.people-content {
  position: relative;
  z-index: 2;
}


/* End parallax img */

/* parallax img footer */

.footer {
  position: relative;
  overflow: hidden;
}

.footer-flash-parallax {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.footer-flash-parallax img {
  position: absolute;

  top: 55%;
  left: -1%;

  transform: translate3d(0, -50%, 0) scale(1);

  width: 85%;
  max-width: none;
  height: auto;

  opacity: 0.9;

  will-change: transform;

  transition: transform 0.08s linear;
}

.footer .container {
  position: relative;
  z-index: 2;
}

/* End parallax img footer */

/* mobile ambos parallax */

@media (max-width: 991px) {
  .people-bg-parallax img,
  .footer-flash-parallax img {
    transition: none;
    will-change: transform;
  }

  .people-bg-parallax img {
    width: 120%;
    right: -10%;
    bottom: 0;
  }

      .footer-flash-parallax img {
        width: 200%;
        left: -11%;
        /* opacity: 0.55; */
        top: 350px;
    }
}

/* End mobile ambos parallax */

/* entrada titulos */

/* TITULO HERO / SECTION */

.section-title-load {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  filter: blur(10px);

  transition:
    opacity 1.2s cubic-bezier(.22,1,.36,1),
    transform 1.2s cubic-bezier(.22,1,.36,1),
    filter 1.2s cubic-bezier(.22,1,.36,1);

  will-change: opacity, transform, filter;
}

/* cuando termina loader */

body.is-loaded .section-title-load {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* End entrada titulos */


  
/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-words span,
  .fadeInUp,
  .fadeInUp-scroll,
  .fadeInLeft-scroll,
  .typewriter,
  .typewriter-scroll {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    width: auto !important;
    border-right: 0 !important;
  }

  .people-bg-parallax img,
  .footer-flash-parallax img {
    transform: none !important;
    transition: none !important;
  }
}

/* hr divider */

.animated-divider {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 2s cubic-bezier(.16,1,.3,1) .25s,
    opacity .6s ease .25s;
}

.animated-divider.in-view {
  opacity: .25; /* conserva tu opacity-25 */
  transform: scaleX(1);
}

/* End hr divider */

/* divider accordion */

#accordionExample .accordion-item {
  position: relative;
  border: 0;
  background: transparent;
}

/* Línea animada */
#accordionExample .accordion-item::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: rgba(33, 37, 41, 0.18);

  transform: scaleX(0);
  transform-origin: left center;

  transition: transform 1s ease;
}

/* Cuando aparece */
#accordionExample .accordion-item.line-visible::after {
  transform: scaleX(1);
}

/* Enddivider accordion */

/* list */

/* =========================
   LISTA ESTILO INDEVAL
========================= */

.list-group-flush {
  background: transparent;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.list-group-flush .list-group-item {
  position: relative;

  background: transparent;
  border: 0;

  color: #212529;

  padding: 2rem 0;
  padding-left: 0;

  opacity: 0;
  transform: translateY(10px);

  list-style: none;

  transition:
    opacity .5s ease,
    transform .5s ease;
}

/* Quitar bullet elegante */
.list-group-flush .list-group-item::before {
  content: none !important;
  display: none !important;
}

/* Línea inferior */
.list-group-flush .list-group-item::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: rgba(33, 37, 41, 0.18);

  transform: scaleX(0);
  transform-origin: left center;

  transition: transform 1s ease;
}

/* Estado visible */
.list-group-flush .list-group-item.line-visible {
  opacity: 1;
  transform: translateY(0);
}

.list-group-flush .list-group-item.line-visible::after {
  transform: scaleX(1);
}

/* End list */


/* =========================
   ACCORDION BLANCO
========================= */

.dark-section #accordionExample {
  --bs-accordion-active-color: #fff;
  --bs-accordion-btn-color: #fff;
}

.dark-section #accordionExample .accordion-button,
.dark-section #accordionExample .accordion-button h2,
.dark-section #accordionExample .accordion-body {
  color: #fff !important;
}

.dark-section #accordionExample .accordion-button::before {
  color: #fff;
}

.dark-section #accordionExample .accordion-item::after {
  background: rgba(255,255,255,.18);
}


/* =========================
   LISTA BLANCA
========================= */

.dark-section .list-group-flush .list-group-item {
  color: #fff;
}

.dark-section .list-group-flush .list-group-item::after {
  background: rgba(255,255,255,.18);
}


/* =========================
   TEXTO BLANCO GENERAL
========================= */

.theme-light-text {
  color: #fff;
}

.theme-light-text h1,
.theme-light-text h2,
.theme-light-text h3,
.theme-light-text h4,
.theme-light-text h5,
.theme-light-text h6,
.theme-light-text p,
.theme-light-text li,
.theme-light-text a,
.theme-light-text span {
  color: #fff;
}

.theme-light-text .accordion-item::after,
.theme-light-text .list-group-item::after {
  background: rgba(255,255,255,.18);
}

.theme-light-text .accordion-button::before {
  color: #fff;
}

/* footer fadeInUp */

footer .fadeInUp-scroll {
    opacity: 0;
    transform: translateY(30px);
    filter: none;
    transition:
        opacity .8s ease,
        transform .8s ease;
}

footer .fadeInUp-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: none;
}

footer .fadeInUp-scroll {
  opacity: 0;
  transform: translateY(30px);
  filter: none;
  transition:
    opacity .8s ease,
    transform .8s ease;
}

footer .fadeInUp-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: none;
}

/* delays */
.fadeInUp-scroll.delay-1 { transition-delay: 0.18s; }
.fadeInUp-scroll.delay-2 { transition-delay: 0.42s; }
.fadeInUp-scroll.delay-3 { transition-delay: 0.66s; }
.fadeInUp-scroll.delay-4 { transition-delay: 0.9s; }
.fadeInUp-scroll.delay-5 { transition-delay: 1.14s; }
.fadeInUp-scroll.delay-6 { transition-delay: 1.38s; }