/* Hero Banner Modern Styles */

.hero-banner {
  position: relative;
  background: #222;
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  overflow: hidden;
  width: 100%;
  height: 440px;
}
.hero-banner__inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-banner__left {
  flex: 1 1 40%;
  padding: 60px 40px 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
  position: relative;
  background: var(--gray-300);
}

.hero-banner__right {
  flex: 1 1 60%;
}

.hero-banner__background {
  height: 100%;
  position: absolute;
  right: 0;
}
.hero-banner__background__part_1 {
  position: absolute;
  left: 0;
  width: 45px;
  height: 100%;
  background: var(--gray-400);
  transform: skew(-9deg);
}

.hero-banner__background__part_2 {
  position: absolute;
  left: -40px;
  width: 70px;
  height: 100%;
  background: var(--gray-300);
  transform: skew(-9deg);
}

.hero-banner__headline {
  font-size: 5.5rem;
  font-weight: 800;
  margin: 0 0 28px 0;
  color: #fff;
  line-height: 1.08;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
  text-align: left;
  text-transform: uppercase;
}
.hero-banner__desc {
  color: #ccc;
  font-size: 16px;
  margin-bottom: 38px;
  font-weight: 400;
  max-width: 520px;
  text-align: left;
}
.hero-banner__btn {
  display: inline-block;
  background: #00aeef;
  color: #fff;
  border-radius: 28px;
  padding: 14px 44px 14px 32px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  position: relative;
  margin-top: 16px;
  text-align: left;
  cursor: pointer;
}
.hero-banner__btn::after {
  content: '\2192';
  display: inline-block;
  margin-left: 14px;
  font-size: 1.15em;
  vertical-align: middle;
  transition: margin-left 0.2s;
}
.hero-banner__btn:hover,
.hero-banner__btn:focus {
  background: #008fc6;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,174,239,0.18);
}
.hero-banner__btn:hover::after {
  margin-left: 22px;
}

.hero-banner__images {
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.hero-banner__img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s cubic-bezier(.4,0,.2,1);
  z-index: 1;
}
.hero-banner__img.is-active {
  opacity: 1;
  z-index: 2;
}
.hero-banner__images::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(34,34,34,0.78) 0%, rgba(34,34,34,0.22) 80%, rgba(34,34,34,0) 100%);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .hero-banner__headline {
    font-size: 4rem;
  }
}

@media (max-width: 900px) {
  .hero-banner__inner {
    display: block;
    position: relative;
  }
  .hero-banner__content {
    padding: 28px 14px 20px 14px;
    text-align: center;    
    box-shadow: none;
    background: transparent;
  }

  .hero-banner__left {
    z-index: 1;
    background: rgba(0,0,0,0.5);
    padding: 0;
    height: 100%;
    display:flex;
    align-items: center;
    justify-content: center;
  }

  .hero-banner__right {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }


  .hero-banner__background {
    display: none;
  }

  .hero-banner__headline {
    font-size: 2rem;
    text-align: center;
  }
  .hero-banner__desc {
    font-size: 1rem;
    margin-left: auto; margin-right: auto;
    max-width: 95vw;
    text-align: center;
  }
  
  .hero-banner__images {
    min-height: 440px;
    height: 440px;
  }
}

@media (max-width: 600px) {
  .hero-banner {
    height: 350px;
  }

  .hero-banner__headline {
    font-size: 3.5rem;
  }
  .hero-banner__desc {
    font-size: 1.3rem;
  }
  .hero-banner__images {
    min-height: 350px;
    height: 350px;
  }
}
