/* ── Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--grey-5);
}

/* ── Hero section ── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 54.375em; /* 870px */
  padding-top: 14.625em;   /* 12px */
  padding-bottom: 2.25em; /* 36px */
  overflow: hidden;
  background: #F5F6F7;
}

/* ── Background image ── */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: calc(100% - 24px);
  left: 12px;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ── Dark overlay ── */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* ── Header sits above bg ── */
.hero .header {
  position: relative;

}

/* ── Content wrappers above bg ── */
.hero > .wrapper {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 0;
}

/* ── Factoids section ── */
.factoids {
  background: var(--grey-5);
}

/* ── Tablet (max-width: 1023.98px) ── */
@media (max-width: 1023.98px) {
  .hero {
    min-height: 45em; /* 870px */
    padding-top: 8em;   /* 12px */
  }
}

/* ── Request Bid section ── */
.request-bid {
  background: var(--grey-5);
}

.request-bid__tag {
  color: var(--red);
}

.request-bid__title {
  max-width: 35.8125em; /* 573px */
}

.request-bid__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-grid-gap);
}

.request-bid__form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 2.25em; /* 36px + 24px gap = 60px */
}

.request-bid .btn.primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.request-bid .btn.primary:hover{
  background: 0 0;
  color: var(--blue);
}

.request-bid__form .layout-col-grid .form-input {
  flex: 1;
}

.request-bid__check-group {
  display: flex;
  flex-direction: column;
  gap: 0.75em; /* 12px */
  flex: 1;
}

/* ── Grow With Us section ── */
.grow-with-us {
  background: var(--white);
}


.grow-with-us__grid {
  align-items: center;
  display: flex;
}

.grow-with-us__image-wrap {
  width: 50%;
  aspect-ratio: 630 / 784;
  overflow: hidden;
}

.grow-with-us__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 2.25em; /* 36px */
  padding: var(--space-card-small);
}

.grow-with-us__text-group {
  display: flex;
  flex-direction: column;
  gap: 0.75em; /* 12px */
}

.grow-with-us__tag {
  color: var(--red);
}

.grow-with-us__heading-group {
  display: flex;
  flex-direction: column;
  gap: 1.25em; /* 20px */
}

.grow-with-us__btn {
  border-color: var(--black);
  color: var(--black);
  background: transparent;
  border: 1px solid var(--black);
}

.grow-with-us__btn:hover{
  box-shadow: inset 0 0 0 1px var(--black);
  transform: translateY(-6px);
}

@media (max-width: 1435.98px) {
  .grow-with-us__content {
    grid-column: span 1;
  }
}

@media (max-width: 1023.98px) {
 .grow-with-us__content {
  padding: 0;
}
.hero__bg{
  width: 100%;
  left: 0;
}
.grow-with-us__content {
  grid-column: span 2;
}
.grow-with-us .layout-main{
  gap: 2em;
}
}

@media (max-width: 800px) {
  .grow-with-us__btn{
    min-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: auto;
    padding-bottom: 2em;
    gap: 2em;
  }

  .request-bid__title br{
    display: none;
  }

  .grow-with-us__grid {
    flex-direction: column;
  }

  .grow-with-us__image-wrap {
    aspect-ratio: 630 / 784;
    width: 100%;
  }
  .grow-with-us__content {
   width: 100%;
 }



}


