/* =========================================================
   YES I CAN ROOFING — TEAM CONTACT STRIP
   TEMPORARY PORTRAITS FROM PROVIDED REFERENCE
   ========================================================= */

.contact-strip {
  position: relative;
  background:
    radial-gradient(circle at 22% 50%, rgba(225, 232, 238, 0.52), transparent 26%),
    linear-gradient(90deg, #f7f9fb 0%, #ffffff 48%, #f6f8fa 100%);
  border-top: 1px solid #dfe6ec;
  border-bottom: 1px solid #dfe6ec;
}

.contact-strip__inner {
  width: min(calc(100% - 56px), var(--content-max-width));
  margin: 0 auto;
  min-height: 154px;
  display: grid;
  grid-template-columns: minmax(250px, 1.15fr) minmax(520px, 1.7fr) minmax(310px, 1fr);
  align-items: stretch;
}

.contact-strip__intro,
.contact-strip__people,
.contact-strip__channels {
  min-width: 0;
}

.contact-strip__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 28px 26px 0;
}

.contact-strip__eyebrow {
  position: relative;
  margin-bottom: 7px;
  padding-left: 34px;
  color: #07182b;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-strip__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: #ef111b;
  transform: translateY(-50%);
}

.contact-strip__title {
  margin: 0;
  color: #07182b;
  font-size: clamp(30px, 2.2vw, 42px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.contact-strip__copy {
  margin: 8px 0 0;
  color: #33485b;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.45;
}

.contact-strip__people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid #dbe3e9;
  border-right: 1px solid #dbe3e9;
}

.contact-person {
  min-width: 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
}

.contact-person + .contact-person {
  border-left: 1px solid #dbe3e9;
}

.contact-person__photo {
  width: 92px;
  height: 92px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  background: #e6ebef;
}

.contact-person__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.contact-person__name {
  color: #07182b;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.1;
}

.contact-person__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: #07182b;
  text-decoration: none;
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.contact-person__phone svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: #ef111b;
}

.contact-strip__channels {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px 0 22px 28px;
}

.contact-channel {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  color: #07182b;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-channel svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: #07182b;
}

.contact-strip__social-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-strip__follow {
  color: #07182b;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.contact-strip__socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-strip__socials a,
.contact-strip__socials span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #07182b;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.contact-strip__socials a:hover,
.contact-strip__socials a:focus-visible {
  transform: translateY(-1px);
  background: #ef111b;
  color: #ffffff;
}

.contact-strip__socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 1180px) {
  .contact-strip__inner {
    width: min(calc(100% - 40px), var(--content-max-width));
    grid-template-columns: 1fr 1.9fr;
  }

  .contact-strip__intro {
    padding-right: 22px;
  }

  .contact-strip__people {
    border-right: 0;
  }

  .contact-strip__channels {
    grid-column: 1 / -1;
    min-height: 76px;
    padding: 16px 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid #dbe3e9;
  }
}

@media (max-width: 820px) {
  .contact-strip__inner {
    width: calc(100% - 28px);
    display: block;
  }

  .contact-strip__intro {
    padding: 24px 0 20px;
    text-align: left;
  }

  .contact-strip__people {
    border: 1px solid #dbe3e9;
    border-radius: 8px;
    overflow: hidden;
  }

  .contact-person {
    grid-template-columns: 78px minmax(0, 1fr);
    padding: 18px;
  }

  .contact-person__photo {
    width: 78px;
    height: 78px;
  }

  .contact-strip__channels {
    padding: 18px 0 24px;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .contact-strip__people {
    grid-template-columns: 1fr;
  }

  .contact-person + .contact-person {
    border-left: 0;
    border-top: 1px solid #dbe3e9;
  }

  .contact-person__name {
    font-size: 16px;
  }

  .contact-person__phone {
    font-size: 15px;
  }

  .contact-strip__channels {
    display: grid;
    gap: 12px;
  }

  .contact-strip__social-row {
    flex-wrap: wrap;
  }
}
