@font-face {
  font-family: "Museo Sans Rounded";
  src:
    url("../fonts/MuseoSansRounded-300-webfont.woff2") format("woff2"),
    url("../fonts/MuseoSansRounded-300-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans Rounded";
  src:
    url("../fonts/MuseoSansRounded-700-webfont.woff2") format("woff2"),
    url("../fonts/MuseoSansRounded-700-webfont.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --gm-green: #16914d;
  --gm-blue: #0f7cba;
  --gm-text: #424242;
  --gm-muted: #767676;
  --gm-border: #d7d7d7;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--gm-text);
  background: #fff;
  font-family: "Museo Sans Rounded", Verdana, "Lucida Grande", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
}

button,
input {
  font: inherit;
}

img {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Welcome */

.welcome-page {
  overflow: hidden;
}

.welcome-hero {
  position: relative;
  min-height: 700px;
  isolation: isolate;
}

.welcome-hero__slides,
.welcome-hero__slide,
.welcome-hero__overlay {
  position: absolute;
  inset: 0;
}

.welcome-hero__slide {
  opacity: 0;
  background-position: center 60%;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity 1.5s ease-in-out;
}

.welcome-hero__slide.is-active {
  opacity: 1;
}

.welcome-hero__slide--one {
  background-image: url("../images/welcome/farmer.jpg");
}

.welcome-hero__slide--two {
  background-image: url("../images/welcome/farmer2.jpg");
}

.welcome-hero__slide--three {
  background-image: url("../images/welcome/pears.jpg");
}

.welcome-hero__slide--four {
  background-image: url("../images/welcome/veggiechop.jpg");
}

.welcome-hero__overlay {
  z-index: 1;
  background: rgba(0, 0, 0, 0.1);
}

.welcome-zipcode-card {
  position: relative;
  z-index: 2;
  width: min(500px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 95px;
  text-align: center;
}

.welcome-zipcode-card__header {
  padding: 15px;
  background: rgba(22, 145, 77, 0.9);
  border-radius: 10px 10px 0 0;
}

.welcome-zipcode-card__logo {
  display: block;
  width: 140px;
  margin: 0 auto;
}

.welcome-zipcode-card__body {
  padding: 25px 40px 30px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0 0 10px 10px;
}

.welcome-zipcode-card__title {
  margin: 0 0 15px;
  color: var(--gm-green);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.welcome-zipcode-card__description {
  margin: 0 0 15px;
  color: var(--gm-green);
  font-size: 16.4px;
  letter-spacing: 0.6px;
  line-height: 25px;
}

.zipcode-form input,
.zipcode-form button {
  display: block;
  width: 80%;
  height: 54px;
  margin-right: auto;
  margin-left: auto;
  border-radius: 13px;
  text-align: center;
}

.zipcode-form input {
  border: 2px solid #c1decd;
  outline: none;
  color: #3a3d43;
  background: #fff;
  font-size: 18px;
}

.zipcode-form input::placeholder {
  color: var(--gm-green);
}

.zipcode-form input:focus {
  box-shadow: 0 0 8px rgba(81, 203, 238, 1);
}

.zipcode-form input.is-invalid {
  border-color: #eb8787;
}

.zipcode-form button {
  margin-top: 15px;
  border: 0;
  color: #fff;
  background: var(--gm-blue);
  cursor: pointer;
  font-size: 18px;
  transition: background 0.15s ease-in-out;
}

.zipcode-form button:hover,
.zipcode-form button:focus-visible {
  background: #19537d;
}

.zipcode-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.zipcode-form__error {
  min-height: 24px;
  margin: 10px 0 0;
  color: #a52626;
  font-size: 14px;
}

.welcome-testimonial {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  min-height: 160px;
  align-items: center;
  justify-content: center;
  padding: 22px 80px;
  color: #fff;
  background: rgba(129, 64, 154, 0.85);
  text-align: center;
}

.welcome-testimonial__quote {
  max-width: 720px;
  margin: 0;
  font-size: 17px;
  letter-spacing: 0.6px;
  line-height: 25px;
}

.welcome-testimonial__quote strong {
  display: block;
  margin-top: 4px;
}

.welcome-testimonial__mark {
  width: auto;
  height: 80px;
  margin-bottom: 50px;
}

.welcome-marketing {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background: url("../images/welcome/woodback.jpg") center / cover no-repeat;
}

.welcome-marketing__copy {
  width: 48%;
  padding: 20px;
  margin-top: 125px;
  font-size: 35px;
}

.welcome-marketing__copy strong {
  font-weight: 700;
}

.welcome-marketing__badges {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.welcome-marketing__badges img {
  width: auto;
  height: 42px;
}

.welcome-marketing__phones {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  max-width: 700px;
  max-height: 400px;
  object-fit: contain;
  object-position: right bottom;
}

.welcome-marketing__phone-mobile {
  display: none;
}

.welcome-press {
  padding: 50px 24px;
  text-align: center;
}

.welcome-press__grid {
  display: flex;
  max-width: 1188px;
  flex-wrap: wrap;
  gap: 10px 25px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.welcome-press__grid img {
  width: auto;
  max-width: 210px;
  max-height: 70px;
  object-fit: contain;
}

/* Nationwide landing */

.nationwide-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.nationwide-header {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.nationwide-header img {
  width: 250px;
  max-height: 72px;
}

.nationwide-main {
  position: relative;
  min-height: 800px;
  height: calc(100vh - 112px);
  color: #fff;
  background: url("../images/nationwide/background.jpg") center / cover no-repeat;
}

.nationwide-card {
  position: absolute;
  top: 45%;
  left: 50%;
  width: min(630px, calc(100% - 40px));
  padding: 40px 60px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
  transform: translate(-50%, -50%);
}

.nationwide-card__map {
  width: 130px;
}

.nationwide-card__title {
  margin: 17px 0;
  color: #02af5a;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.nationwide-card__text {
  margin-bottom: 20px;
  color: #3e3e3e;
  font-size: 19px;
  letter-spacing: 0.5px;
}

.nationwide-email-form {
  display: flex;
  justify-content: center;
}

.nationwide-email-form input {
  width: 330px;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #c5c5c5;
  border-radius: 5px 0 0 5px;
  background: #fff;
  font-size: 18px;
}

.nationwide-email-form button {
  height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 0 5px 5px 0;
  color: #fff;
  background: #8a8f93;
  cursor: not-allowed;
}

.nationwide-card__note {
  margin-top: 20px;
  color: #000;
}

.nationwide-footer {
  padding: 34px 24px 22px;
  background: #fff;
  text-align: center;
}

.nationwide-footer__logo {
  width: 220px;
}

.nationwide-footer__social {
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.nationwide-footer a {
  color: #267ab5;
}

.nationwide-footer__copyright {
  color: #7c8589;
  font-size: 13px;
}

/* Jobs */

.jobs-page {
  background: #fff;
  color: var(--gm-text);
}

.jobs-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2e7fba;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.jobs-back::before {
  content: "‹";
  font-size: 24px;
  line-height: 1;
}

.jobs-back:hover,
.jobs-back:focus-visible {
  text-decoration: underline;
}

.jobs-page__back-row {
  max-width: 1080px;
  padding: 24px 20px 10px;
  margin: 0 auto;
}

.career-home,
.career-openings {
  padding-bottom: 100px;
  border-bottom: 1px solid #f5f5f5;
  background: #fff;
  text-align: center;
}

.career-banner {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.career-content {
  padding: 0 10px;
}

.career-description {
  max-width: 680px;
  padding-top: 48px;
  margin: 0 auto;
}

.career-description--border {
  padding-bottom: 42px;
  margin-bottom: 48px;
  border-bottom: 1px solid #424242;
}

.career-description h1,
.career-description h2 {
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 500;
}

.career-description p {
  max-width: 580px;
  margin: 0 auto;
}

.career-values {
  display: flex;
  max-width: 650px;
  justify-content: space-around;
  margin: 0 auto;
}

.career-value {
  width: 30%;
  font-weight: 700;
}

.career-value img {
  display: block;
  width: 112px;
  margin: 0 auto 12px;
}

.career-excited {
  max-width: 560px;
  margin: 40px auto;
}

.career-images {
  display: grid;
  max-width: 1080px;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin: 0 auto;
}

.career-images__large,
.career-images__small {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.career-images__large {
  min-height: 500px;
  background-image: url("../images/jobs/open-office.jpg");
}

.career-images__stack {
  display: grid;
  gap: 40px;
}

.career-images__small:first-child {
  background-image: url("../images/jobs/working.jpg");
}

.career-images__small:last-child {
  background-image: url("../images/jobs/team-lunch.jpg");
}

.career-benefits {
  padding: 40px 0;
}

.career-benefits h2,
.career-categories h2 {
  margin: 0 0 32px;
  font-size: 24px;
  font-weight: 500;
}

.career-benefits ul {
  max-width: 500px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.career-benefits li {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  border: 1px solid var(--gm-border);
}

.career-categories {
  padding: 50px 20px 54px;
  color: #fff;
  background: #1f8f4f;
}

.career-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  justify-content: center;
}

.career-category-links a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

.career-category-links a:hover,
.career-category-links a:focus-visible {
  text-decoration: underline;
}

.career-cta {
  display: inline-block;
  padding: 12px 56px;
  margin-top: 40px;
  color: #1f8f4f;
  background: #fff;
  text-decoration: none;
}

.career-openings-list {
  max-width: 500px;
  margin: 40px auto 0;
}

.career-department {
  margin-bottom: 20px;
  border: 1px solid #c5dcdd;
}

.career-department summary {
  position: relative;
  padding: 14px 48px 14px 24px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  list-style: none;
}

.career-department summary::-webkit-details-marker {
  display: none;
}

.career-department summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  content: "›";
  color: #1d97cb;
  font-size: 30px;
  transform: translateY(-50%);
}

.career-department[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.career-department ul {
  padding: 20px 24px 28px;
  margin: 0;
  border-top: 1px solid #424242;
  list-style: none;
}

.career-department li + li {
  margin-top: 10px;
}

.career-department a {
  color: #3791b1;
}

.job-listing-header {
  padding: 80px 20px 40px;
  background: #fff;
}

.job-listing-header-container {
  max-width: 1000px;
  margin: 0 auto;
}

.job-listing-title {
  margin: 50px 0 0;
  text-transform: uppercase;
}

.job-listing-title__department {
  display: block;
  margin-bottom: 16px;
  color: #808080;
  font-size: 22px;
}

.job-listing-title__role {
  display: block;
  color: #313131;
  font-size: 36px;
  line-height: 1.2;
}

.job-listing-page__content {
  padding: 0 10px;
  background: #f7f7f7;
}

.job-listing-content {
  max-width: 800px;
  padding: 84px 0;
  margin: 0 auto;
}

.job-section {
  padding-bottom: 56px;
}

.job-section h2,
.job-application h2 {
  margin: 0 0 52px;
  color: #313131;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.job-section p {
  margin: 0 0 32px;
  color: var(--gm-muted);
}

.job-section p:last-child {
  margin-bottom: 0;
}

.job-section ul {
  padding-left: 30px;
  margin: 0;
  color: var(--gm-muted);
  list-style: disc;
}

.job-section li {
  padding-left: 10px;
  margin-bottom: 12px;
}

.job-application {
  padding-top: 66px;
  border-top: 1px solid #313131;
}

.job-application__notice {
  padding: 12px 16px;
  margin: -28px 0 34px;
  color: #666;
  background: #ececec;
}

.job-field {
  margin-bottom: 38px;
}

.job-field label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
}

.job-field input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid #ddd;
  outline: none;
  background: #fff;
}

.job-field input:focus {
  border-color: #2e7fba;
  box-shadow: 0 0 0 2px rgba(46, 127, 186, 0.15);
}

.job-submit {
  padding: 16px 100px;
  border: 0;
  color: #fff;
  background: #8a8f93;
  cursor: not-allowed;
}

@media (max-width: 805px) {
  .welcome-press__grid img {
    max-width: 180px;
  }
}

@media (max-width: 700px) {
  .career-values {
    display: block;
  }

  .career-value {
    width: 100%;
    margin-bottom: 28px;
  }

  .career-images {
    display: block;
  }

  .career-images__large {
    min-height: 300px;
  }

  .career-images__stack {
    display: none;
  }
}

@media (max-width: 624px) {
  .welcome-hero {
    min-height: 700px;
  }

  .welcome-zipcode-card {
    padding-top: 30px;
  }

  .welcome-zipcode-card__body {
    padding: 24px 22px 28px;
  }

  .zipcode-form input,
  .zipcode-form button {
    width: 100%;
  }

  .welcome-testimonial {
    min-height: 175px;
    padding: 22px 16px;
  }

  .welcome-testimonial__mark {
    display: none;
  }

  .welcome-testimonial__quote {
    font-size: 15px;
    line-height: 19px;
  }

  .welcome-marketing {
    min-height: 520px;
  }

  .welcome-marketing__copy {
    width: 100%;
    padding: 28px 24px;
    margin: 0;
    font-size: 27px;
    text-align: center;
  }

  .welcome-marketing__badges {
    justify-content: center;
  }

  .welcome-marketing__phones {
    display: none;
  }

  .welcome-marketing__phone-mobile {
    display: block;
    max-height: 300px;
    margin: 0 auto;
  }

  .welcome-press {
    padding: 25px 16px;
  }

  .welcome-press__grid {
    gap: 18px;
  }

  .welcome-press__grid img {
    max-width: 145px;
    max-height: 55px;
  }

  .nationwide-header {
    height: 92px;
  }

  .nationwide-main {
    min-height: 720px;
    height: calc(100vh - 92px);
  }

  .nationwide-card {
    top: 50%;
    padding: 32px 20px;
  }

  .nationwide-card__title {
    font-size: 25px;
  }

  .nationwide-card__text {
    font-size: 16px;
  }

  .nationwide-email-form {
    display: block;
  }

  .nationwide-email-form input,
  .nationwide-email-form button {
    width: 100%;
    border-radius: 5px;
  }

  .nationwide-email-form button {
    margin-top: 8px;
  }

  .job-listing-header {
    padding-top: 36px;
  }

  .job-listing-title {
    margin-top: 34px;
  }

  .job-listing-title__department {
    font-size: 18px;
  }

  .job-listing-title__role {
    font-size: 28px;
  }

  .job-listing-content {
    padding: 54px 10px;
  }

  .job-submit {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }
}
