.contact-card {
  padding: 8px 0 8px 24px;
  background: transparent;
  color: var(--ink);
  border-left: 3px solid var(--green);
  text-align: left;
}

.contact-card strong {
  color: var(--blue-dark);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.12;
}

.contact-card span {
  margin-top: 9px;
  color: var(--green-dark);
  font-size: 17px;
  font-weight: 800;
}

.contact-card small {
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

/* Put the homepage messaging directly on the main photo. */
.masthead {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
}

.masthead .logo {
  width: 126px;
  height: 126px;
}

.hero {
  height: 620px;
  background-image: url("assets/hero.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::after {
  background: linear-gradient(180deg, rgba(5, 38, 25, .68) 0%, rgba(5, 38, 25, .22) 45%, rgba(5, 38, 25, .72) 100%);
}

.hero-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 180px 1fr 280px;
  align-items: center;
  gap: 34px;
  padding-top: 24px;
  color: #fff;
}

.hero-logo {
  width: 172px;
  height: 172px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35));
}

.hero-motto {
  margin: 0;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .8);
}

.hero-motto span:first-child { color: #65b84e; }
.hero-motto span:last-child { color: #35b8e5; }

.hero-contact {
  display: flex;
  flex-direction: column;
  color: #fff;
  text-align: left;
  text-decoration: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .85);
}

.hero-contact strong { font-size: 19px; }
.hero-contact b { color: #8fe0f5; font-size: 31px; line-height: 1.05; }
.hero-contact span { margin-top: 7px; font-size: 16px; font-weight: 800; }
.hero-contact small { margin-top: 3px; font-size: 14px; font-weight: 700; }

.hero-overlay {
  top: auto;
  bottom: auto;
  transform: none;
  bottom: 48px;
  max-width: 820px;
}

.hero-kicker {
  margin: 0 0 8px;
  color: #8fe0f5;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .09em;
}

.hero-overlay h1 {
  max-width: 820px;
  margin: 16px 0 0;
  color: #fff;
  font-size: 43px;
  line-height: 1.06;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .65);
}

.hero-overlay h2 {
  margin: 18px 0 10px;
  font-size: 27px;
  line-height: 1.18;
}

.hero-brands {
  margin: 0 0 15px;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px #000;
}

.hero-overlay strong {
  font-size: 13px;
  line-height: 1.35;
}

.hero > img.hero-service-map {
  position: absolute;
  z-index: 2;
  right: max(4vw, calc((100vw - 1180px) / 2));
  top: auto;
  bottom: 24px;
  width: 240px;
  height: 240px;
  max-width: 240px;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .42));
}

@media (max-width: 850px) {
  .hero { height: 620px; }
  .hero-header { grid-template-columns: 125px 1fr 235px; gap: 18px; }
  .hero-logo { width: 120px; height: 120px; }
  .hero-motto { font-size: 20px; }
  .hero-contact b { font-size: 25px; }
  .hero-overlay { max-width: 700px; }
  .hero-overlay h1 { font-size: 37px; }
  .hero > img.hero-service-map { right: 4vw; top: auto; bottom: 24px; width: 240px; height: 240px; opacity: .94; }
}

@media (max-width: 560px) {
  .hero { height: 650px; }
  .hero-header { grid-template-columns: 88px 1fr; gap: 12px; padding-top: 14px; }
  .hero-logo { width: 86px; height: 86px; }
  .hero-motto { font-size: 15px; text-align: left; }
  .hero-contact { grid-column: 1 / -1; align-items: center; margin-top: -4px; text-align: center; }
  .hero-contact strong { font-size: 15px; }
  .hero-contact b { font-size: 27px; }
  .hero-contact span { font-size: 14px; }
  .hero-contact small { font-size: 12px; }
  .hero-overlay { left: 5vw; right: 5vw; top: auto; bottom: 30px; transform: none; }
  .hero-overlay h1 { font-size: 30px; }
  .hero-brands { font-size: 15px; }
  .hero-overlay strong { font-size: 11px; }
  .hero > img.hero-service-map { display: none; }
}

.service-area {
  width: min(760px, 88vw);
  padding: 8px 0 26px;
  text-align: center;
}

.service-area img {
  display: block;
  width: 100%;
  max-height: 390px;
  object-fit: cover;
  border: 8px solid #f3f7fa;
  box-shadow: 0 12px 28px rgba(8, 46, 32, .18);
}

.service-area p {
  margin: 12px 0 0;
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 800;
}

@media (max-width: 560px) {
  .service-area { width: 94vw; padding: 2px 0 22px; }
  .service-area img { border-width: 5px; }
  .service-area p { font-size: 15px; line-height: 1.4; }
}
