/* Gateway Homepage Styles
   ======================= */

/* Hero — full viewport, flexbox layout */
.gateway-hero {
  position: relative;
  height: calc(100vh - 100px);
  min-height: 500px;
  max-height: 900px;
  margin-top: 100px;
  background-color: #8c7b6b;
  background-size: cover;
  background-position: center top;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Content block — right side */
.gateway-content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: 8%;
  text-align: center;
  max-width: 460px;
}

/* Heading */
.gateway-content h1 {
  font-family: "Raleway", sans-serif;
  font-size: 48px;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0 0 40px;
}

.gateway-content h1 strong {
  font-weight: 800;
}

/* CTA container */
.gateway-ctas {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 460px;
  margin: 0 auto;
}

/* CTA buttons */
.gateway-cta {
  display: block;
  padding: 16px 28px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background-color: rgba(120, 100, 75, 0.8);
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition:
    border-color 0.3s,
    background-color 0.3s;
  box-sizing: border-box;
}

.gateway-cta:hover {
  border-color: #fff;
  background-color: rgba(120, 100, 75, 0.7);
}


/* Gateway footer overrides */
.gateway-page footer {padding: 30px 0;background-color: #fff;}
.gateway-page footer .privacy {max-width: 1000px;}
.gateway-page footer > .to-top {display: none;}

/* Override style.css .hp-fold rules that would conflict */
.gateway-hero.hp-fold {
  background-image: url("../images/other/gateway-hero.jpg");
  background-position: center top;
}

/* Match shorter mobile header height */
@media all and (max-width: 1280px) {
  .gateway-hero {
    height: calc(100vh - 76px);
    margin-top: 76px;
  }
}

/* Responsive — tablet */
@media all and (max-width: 900px) {
  .gateway-hero {
    min-height: 500px;
    justify-content: center;
  }

  .gateway-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 100px 20px 40px;
  }

  .gateway-content h1 {
    font-size: 36px;
    margin-bottom: 40px;
  }
}

/* Responsive — mobile */
@media all and (max-width: 600px) {
  .gateway-hero {
    height: 70vh;
    min-height: auto;
    max-height: none;
    margin-top: 76px;
    padding: 0;
  }

  .gateway-hero.hp-fold {
    background-image: url("../images/other/gateway-hero-mobile.jpg");
    background-position: center top;
  }

  .gateway-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

  .gateway-content {
    z-index: 2;
  }

  .gateway-content {
    padding: 0 20px;
  }

  .gateway-content h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .gateway-cta {
    font-size: 15px;
    padding: 14px 30px;
  }
}

/* Responsive — small mobile */
@media all and (max-width: 480px) {
  .gateway-content h1 {
    font-size: 24px;
  }

  .gateway-cta {
    font-size: 14px;
    padding: 13px 20px;
  }
}
