/* ==========================================================================
   Banner Home - Hero + Stats
   Estilos extraidos de dependency/css/style.css para replicar visualmente
   el slider_carousel (hero) y quienes-somos (stats)
   ========================================================================== */

/* ==========================================================================
   HERO BANNER
   ========================================================================== */

.cc--rur-home-hero-carousel {
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.c--rur-home-hero-carousel {
  max-width: 100%;
  overflow: hidden;
}

.banner-home-container {
  position: relative;
}

.cc--rur-home-hero-carousel .slide-background {
  position: relative;
  height: 31.25rem;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
@media screen and (min-width: 768px) {
  .cc--rur-home-hero-carousel .slide-background {
    height: 37.5rem;
  }
}
@media screen and (min-width: 1024px) {
  .cc--rur-home-hero-carousel .slide-background {
    height: 50rem;
  }
}

.cc--rur-home-hero-carousel .slide-background::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.42);
  content: "";
}

.f--image--hidden img {
  display: none;
}

/* ---------- Hero Title ---------- */

.banner-home-text-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0 8%;
}

.banner-home-text-inner {
  text-align: center;
  max-width: 900px;
}

.banner-home-text-inner .f--section-title h2 {
  color: #fff;
  font-family: "Oswald", Georgia, sans-serif;
  font-size: 1.75rem;
  line-height: 1.2858;
  margin-bottom: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
@media screen and (min-width: 768px) {
  .banner-home-text-inner .f--section-title h2 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
}
@media screen and (min-width: 1024px) {
  .banner-home-text-inner .f--section-title h2 {
    font-size: 3.125rem;
    line-height: 1.16;
  }
}

/* ---------- Triangle V-Cut ---------- */

.banner-home-triangle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}
.banner-home-triangle svg {
  display: block;
  width: 100%;
  height: 50px;
}
@media screen and (min-width: 768px) {
  .banner-home-triangle svg {
    height: 65px;
  }
}
@media screen and (min-width: 1024px) {
  .banner-home-triangle svg {
    height: 60px;
  }
}

/* ==========================================================================
   STATS / FACTS-FIGURES SECTION
   ========================================================================== */

.cc--facts-figures .c--facts-figures,
.c--facts-figures.cc--facts-figures {
  max-width: 1440px;
  margin: 0 auto;
}

.cc--facts-figures .inner-wrapper,
.c--facts-figures .inner-wrapper {
  padding-top: 3.125rem;
  padding-right: 8%;
  padding-bottom: 3.125rem;
  padding-left: 8%;
  position: relative;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .cc--facts-figures .inner-wrapper,
  .c--facts-figures .inner-wrapper {
    padding-top: 4.375rem;
    padding-right: 4%;
    padding-bottom: 4.375rem;
    padding-left: 4%;
  }
}
@media screen and (min-width: 1024px) {
  .cc--facts-figures .inner-wrapper,
  .c--facts-figures .inner-wrapper {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media screen and (min-width: 768px) {
  .cc--facts-figures .cards,
  .c--facts-figures .cards {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

@media screen and (min-width: 768px) {
  .cc--facts-figures .cc--stat-item,
  .c--facts-figures .cc--stat-item {
    padding-right: 2.17391%;
    padding-left: 2.17391%;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
  .cc--facts-figures .cc--stat-item:first-child,
  .c--facts-figures .cc--stat-item:first-child {
    padding-left: 0;
  }
  .cc--facts-figures .cc--stat-item:last-child,
  .c--facts-figures .cc--stat-item:last-child {
    padding-right: 0;
  }
}

.cc--stat-item .c--stat-item {
  text-align: center;
}

.stat-item {
  font-family: "Oswald", Georgia, sans-serif;
}

.stat-item .f--field.f--text {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 700;
  color: #ff4f26;
}
@media screen and (min-width: 768px) {
  .stat-item .f--field.f--text {
    font-size: 3.75rem;
  }
}
@media screen and (min-width: 1024px) {
  .stat-item .f--field.f--text {
    font-size: 4.5rem;
  }
}

.cc--stat-item .f--stat-subheading {
  font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.4286;
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
  margin-top: 0.625rem;
  color: #555;
}
@media screen and (min-width: 768px) {
  .cc--stat-item .f--stat-subheading {
    font-size: 1rem;
    line-height: 1.375;
  }
}

.cc--stat-item + .cc--stat-item {
  margin-top: 2.5rem;
}
@media screen and (min-width: 768px) {
  .cc--stat-item + .cc--stat-item {
    margin-top: 0;
  }
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

.bh-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.bh-animate.bh-visible {
  opacity: 1;
  transform: translateY(0);
}
.bh-animate:nth-child(2) {
  transition-delay: 0.15s;
}
.bh-animate:nth-child(3) {
  transition-delay: 0.3s;
}

/* Oswald font loaded via eventslandig.libraries.yml */
