/* ==========================================================================
   Homepage CSS — Hero section styles only
   Extracted from index.css during homepage redesign.
   All other blocks use their own scoped CSS (new design system).
   ========================================================================== */

/* --- Hero Section --- */

#titleSection {
  background-color: #131217;
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.titleWrapper {
  min-height: calc(94vh - 90px);
  margin-top: 6vh;
  padding-bottom: 3vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

#title {
  margin-top: -15px;
}

#title h1 {
  font: normal normal bold 72px/85px Lato;
  color: #fff;
  text-align: center;
}

#title p {
  font: normal normal normal 30px/50px Lato;
  text-align: center;
  line-height: 39px;
  color: #fff;
}

#title a {
  color: white;
  font: normal normal normal 16px/33px Lato;
}

#titleButton {
  margin: 0 auto;
  padding: 8px 10px;
  width: 193px;
  line-height: 32px;
  letter-spacing: 0.02em;
  text-align: center;
  border-radius: 10px;
}

#titleButton:hover,
.submit-b:hover {
  background-color: #ffffff !important;
  color: #f6583e;
}

#titleButton:hover a {
  color: #f6583e !important;
}

.but-as {
  font: normal normal bold 16px/33px Lato !important;
}

.red {
  color: #f6583e;
}

.red-b {
  background-color: #f6583e;
}

/* --- Hero video --- */

#titleSection video.vs-1 {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

/* --- Responsive: Tablet --- */

@media (max-width: 1400px) {
  #title h1 {
    font: normal normal bold 41px/52px Lato;
  }

  #title p {
    font: normal normal normal 22px/42px Lato;
  }
}

/* --- Responsive: Mobile --- */

@media (max-width: 970px) {
  .titleWrapper {
    justify-content: flex-end !important;
  }

  p.desktop {
    display: none;
  }

  #titleButton .but-as {
    font: normal normal bold 24px/33px Lato !important;
    padding: 12px 9px;
    width: 210px;
  }
}

@media (max-width: 739px) {
  #title {
    max-width: 400px;
    margin: initial;
  }

  #title h1 {
    font-size: 36px;
    line-height: 52px;
  }

  #title p {
    margin: 15px auto;
    font-size: 18px;
    max-width: 300px;
  }
}
