/* Keep the complete quarry fleet visible before the quote console begins. */
.hero {
  grid-template-rows: min(62.5vw, 1200px) auto;
  min-height: 0;
  padding-top: 0;
  background: #09131d;
}

.hero-image {
  height: min(62.5vw, 1200px);
  object-fit: cover;
  object-position: center bottom;
  filter: saturate(0.9) contrast(1.02) brightness(0.94);
}

.hero::before {
  bottom: auto;
  height: min(62.5vw, 1200px);
  background:
    linear-gradient(90deg, rgba(5, 10, 15, 0.86), rgba(5, 10, 15, 0.5) 32%, transparent 68%),
    linear-gradient(0deg, rgba(5, 10, 15, 0.26), transparent 42%);
}

.hero::after {
  top: calc(min(62.5vw, 1200px) - 110px);
  bottom: auto;
  height: 110px;
  background: linear-gradient(0deg, #09131d, transparent);
}

.hero-content {
  align-self: start;
  margin: 0;
  padding-top: clamp(178px, 14vw, 250px);
}

.quote-custom-address {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.quote-custom-address[hidden] {
  display: none;
}

.quote-custom-address label {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.quote-custom-address input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  outline: none;
  background: rgba(9, 19, 29, 0.72);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
}

.quote-custom-address input:focus-visible {
  border-color: #82aaff;
  box-shadow: 0 0 0 3px rgba(69, 118, 228, 0.28);
}

.quote-custom-address input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.quote-custom-address small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  line-height: 1.4;
}

@media (max-width: 1240px) {
  .hero {
    grid-template-rows: auto auto auto;
    gap: 0;
    padding-top: 140px;
  }

  .hero::before {
    inset: 0;
    height: auto;
    background: linear-gradient(180deg, rgba(5, 10, 15, 0.35), rgba(5, 10, 15, 0.88));
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    grid-row: 1;
    min-height: 0;
    padding-top: 0;
    margin-bottom: 28px;
  }

  .hero-image {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
  }

  .hero-console {
    grid-row: 3;
  }

  .delivery-choice[data-quote-delivery-id="other-address"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 120px;
  }
}

@media (max-width: 600px) {
  .hero-image {
    grid-row: 1;
    margin-bottom: 24px;
  }

  .hero-content {
    grid-row: 2;
  }
}
