/* ==========================================================================
   Contact section
   ========================================================================== */

.contact-section {
  --contact-blue: #1a4ad1;
  --contact-yellow: #FAB72A;
  --contact-radius: 10px;
  /* Figma rating group: 338×265 review card + badge above */
  --contact-rating-w: 338px;
  --contact-rating-h: 265px;
  --contact-gbadge-h: 72px;
  --contact-rating-top: 20px;
  position: relative;
  background: var(--contact-blue);
  color: #fff;
  padding: 64px 0 72px;
  overflow: hidden;
}

.contact-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-rows: auto auto;
  gap: 40px;
  align-items: start;
}

.contact-section__main {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.contact-section__servicing {
  grid-column: 1;
  grid-row: 2;
}

.contact-section__side {
  grid-column: 2;
  grid-row: 1 / -1;
}

.contact-section__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 16px;
  font-family: 'Gilroy-ExtraBoldItalic', var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: clamp(36px, 2.8vw, 54px);
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
}

.contact-section__title-line {
  display: block;
  white-space: nowrap;
}

.contact-section__title-line {
  display: block;
}

.contact-section__title-mobile {
  display: none;
}

.contact-section__title-desktop {
  display: contents;
}

.contact-section__badge {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 4px 14px 4px 12px;
  background: var(--contact-yellow);
  color: #fff;
  font-style: italic;
  font-weight: 900;
  /* clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%); */
  line-height: 1.1;
  vertical-align: middle;
  transform: skewX(-8deg);
}

.contact-section__lead {
  margin: 0 0 24px;
  max-width: 520px;
  color: rgba(255, 255, 255, .94);
  font-family: 'Gilroy-Medium', var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
}

.contact-section__form-wrap {
  max-width: 560px;
}

.contact-section__form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-section__form .form-grid .full {
  grid-column: 1 / -1;
}

.contact-section__form .field:not(textarea) {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--contact-radius);
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
  font-family: var(--font);
  box-shadow: 0 1px 4px rgba(11, 27, 52, .06);
  box-sizing: border-box;
}

.contact-section__form textarea.field {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--contact-radius);
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
  font-family: var(--font);
  box-shadow: 0 1px 4px rgba(11, 27, 52, .06);
  box-sizing: border-box;
}

.contact-section__form .field::placeholder {
  color: #9aa3b5;
}

.contact-section__form .field:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 180, 0, .35);
}

.contact-section__form textarea.field {
  height: 100px;
  min-height: 100px;
  resize: none;
}

.contact-section__form select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6678' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.contact-section__form .field-date-wrap {
  position: relative;
  height: 52px;
}

.contact-section__form .field-date-wrap .field {
  height: 100%;
  padding-right: 38px;
}

.contact-section__form .date-ico {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.contact-section__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  margin-top: 2px;
  padding: 15px 24px;
  border: 0;
  border-radius: var(--contact-radius);
  background: var(--contact-yellow);
  color: var(--navy);
  font-family: 'Baloo Chettan', var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 180, 0, .32);
  transition: background .15s;
}

.contact-section__submit:hover {
  background: #e8a50f;
}

.contact-section__submit svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.contact-section__servicing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  margin-top: 0;
  padding: 12px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Gilroy-SemiBold', var(--font);
  font-size: .88rem;
  font-weight: 400;
  color: #fff;
}

.contact-section__servicing-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-section__servicing .ic {
  width: 18px;
  height: 18px;
  color: #fff;
  flex-shrink: 0;
}

.contact-section__servicing-label {
  font-family: 'Gilroy-SemiBold', var(--font);
  font-weight: 400;
}

.contact-section__servicing-locs {
  font-family: 'Gilroy-SemiBold', var(--font);
  font-weight: 400;
  color: rgba(255, 255, 255, .92);
}

.contact-section__side {
  position: relative;
  align-self: stretch;
  min-height: 620px;
}

.contact-section__top {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: var(--contact-rating-w);
  min-height: calc(var(--contact-rating-h) + var(--contact-gbadge-h) + 16px);
  top: calc(var(--contact-rating-top) - 64px);
  right: calc(30px - max(18px, (100vw - var(--container)) / 2) - 18px);
  opacity: 1;
}

.contact-section__gbadge {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 20px;
  width: auto;
  max-width: 100%;
  min-height: var(--contact-gbadge-h);
  padding: 20px 30px;
  border: 1px solid rgba(0, 39, 78, .12);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(11, 27, 52, .1);
}

.contact-section__gbadge-logo {
  flex: 0 0 auto;
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1;
  white-space: nowrap;
}

.contact-section__gbadge-logo .g-blue { color: #4285f4; }
.contact-section__gbadge-logo .g-red { color: #ea4335; }
.contact-section__gbadge-logo .g-yellow { color: #fbbc05; }
.contact-section__gbadge-logo .g-green { color: #34a853; }

.contact-section__gbadge-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.15;
  min-width: 0;
}

.contact-section__gbadge-stars {
  color: #fbbb00;
  font-size: .8rem;
  letter-spacing: 1px;
  line-height: 1;
}

.contact-section__gbadge-text {
  font-family: 'Gilroy-SemiBold', var(--font);
  font-size: .75rem;
  font-weight: 600;
  color: #0c1018;
  line-height: 1.2;
  white-space: nowrap;
}

.contact-section__review {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: var(--contact-rating-w);
  height: var(--contact-rating-h);
  min-height: var(--contact-rating-h);
  max-height: var(--contact-rating-h);
  padding: 30px 30px 36px;
  border: 0;
  border-radius: 30px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(8, 20, 50, .1);
  overflow: hidden;
}

.contact-section__review-slide {
  display: none;
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.contact-section__review-slide.is-active {
  display: flex;
  flex-direction: column;
}

.contact-section__review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  min-height: 30px;
}

.contact-section__review-name {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: 'Gilroy-SemiBold', var(--font);
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0;
  color: #040a10;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-section__review-stars {
  flex: 0 0 auto;
  color: #fbbb00;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.contact-section__review-rule {
  display: block;
  width: 100%;
  max-width: 278px;
  height: 1px;
  margin: 0 0 10px;
  flex-shrink: 0;
}

.contact-section__review-text {
  flex: 1 1 auto;
  margin: 0;
  padding-right: 8px;
  font-family: 'Gilroy-Medium', var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
  color: #464646;
  overflow: hidden;
}

.contact-section__review-g {
  position: absolute;
  right: -18px;
  bottom: -20px;
  width: 39px;
  height: 39px;
  opacity: 0.4;
}

.contact-section__nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.contact-section__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}

.contact-section__nav-btn svg {
  width: 18px;
  height: 18px;
}

.contact-section__nav-btn--prev {
  background: rgba(255, 255, 255, .3);
  color: #fff;
  box-shadow: 0 2px 10px rgba(11, 27, 52, .12);
}

.contact-section__nav-btn--next {
  background: var(--contact-yellow);
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(255, 180, 0, .28);
}

.contact-section__nav-btn:hover {
  transform: scale(1.05);
}

.contact-section__plumber {
  position: absolute;
  left: -160px;
  bottom: -72px; /* flush with section bottom (cancels section padding) */
  width: min(60vw, 540px);
  margin: 0;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.contact-section__plumber img {
  width: 100%;
  height: auto;
  max-height: 800px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, .22));
}

@media (max-width: 768px) {
  .contact-section {
    --contact-m-side: 20px;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    margin-inline: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #1c45c2;
    padding: 0 0 0;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
  }

  .contact-section .container {
    width: 100%;
    max-width: none;
    height: 100%;
    padding: 0 var(--contact-m-side);
    box-sizing: border-box;
    position: static;
  }

  .contact-section__grid {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .contact-section__main,
  .contact-section__servicing,
  .contact-section__side {
    grid-column: auto;
    grid-row: auto;
  }

  /* ---- Header ---- */
  .contact-section__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 50px 0 20px;
    font-family: 'Gilroy-ExtraBoldItalic', var(--display);
    font-size: 30px;
    line-height: 40px;
    letter-spacing: 0;
    text-align: center;
  }

  .contact-section__title-desktop {
    display: none;
  }

  .contact-section__title-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .contact-section__title-mobile .contact-section__title-line {
    font-family: 'Gilroy-ExtraBoldItalic', var(--display);
    font-size: 30px;
    line-height: 40px;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
  }

  .contact-section__badge {
    margin-left: 0;
    padding: 2px 12px 2px 10px;
    color: #fff;
  }

  .contact-section__lead {
    margin: 0 0 20px;
    max-width: none;
    padding: 0;
    text-align: center;
    font-family: 'Gilroy-Medium', var(--font);
    font-weight: 400;
    font-size: clamp(14px, 3.5vw, 18px);
    line-height: 28px;
    letter-spacing: 0;
    color: rgba(255, 255, 255, .96);
  }

  /* ---- Form ---- */
  .contact-section__form-wrap {
    max-width: none;
    width: 100%;
    margin-bottom: 0;
  }

  .contact-section__form .form-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
  }

  .contact-section__form .form-grid .field,
  .contact-section__form .form-grid .field-date-wrap {
    width: 100%;
  }

  .contact-section__form .form-grid .full {
    grid-column: auto;
  }

  .contact-section__form .field:not(textarea) {
    height: 50px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: .88rem;
  }

  .contact-section__form textarea.field {
    min-height: 110px;
    height: 110px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: .88rem;
  }

  .contact-section__form .field-date-wrap {
    height: 50px;
  }

  .contact-section__submit {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0 0 16px;
    padding: 16px 24px;
    border-radius: 50px;
    background: #fab72a;
    color: #0b1b34;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(250, 183, 42, .45);
  }

  /* ---- Servicing bar ---- */
  .contact-section__servicing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: .84rem;
    line-height: 1.4;
    text-align: center;
    box-sizing: border-box;
  }

  .contact-section__servicing-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .contact-section__servicing .ic {
    width: 16px;
    height: 16px;
  }

  .contact-section__servicing-locs {
    display: block;
    padding-left: 0;
    color: rgba(255, 255, 255, .95);
    font-family: 'Gilroy-SemiBold', var(--font);
    font-weight: 400;
    font-size: .82rem;
  }

  /* ---- Reviews left, plumber right ---- */
  .contact-section__side {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(130px, 42vw);
    grid-template-areas: "reviews plumber";
    align-items: end;
    gap: 12px 10px;
    overflow: visible;
    pointer-events: none;
  }

  .contact-section__side * {
    pointer-events: auto;
  }

  .contact-section__top {
    grid-area: reviews;
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .contact-section__gbadge {
    position: static;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    min-height: 0;
    height: auto;
    padding: 10px 14px;
    border: 1px solid rgba(0, 39, 78, .12);
    border-radius: 100px;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(11, 27, 52, .1);
  }

  .contact-section__gbadge-logo {
    font-size: .95rem;
  }

  .contact-section__gbadge-stars {
    font-size: .68rem;
    letter-spacing: 1px;
  }

  .contact-section__gbadge-meta {
    min-width: 0;
  }

  .contact-section__gbadge-text {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .contact-section__review {
    position: relative;
    width: 100%;
    max-width: min(100%, 280px);
    align-self: center;
    height: auto;
    min-height: 180px;
    max-height: none;
    padding: 14px 14px 28px;
    border: 0;
    border-radius: 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 18px rgba(8, 20, 50, .1);
    overflow: hidden;
  }

  .contact-section__review-slide {
    min-width: 0;
    overflow: hidden;
  }

  .contact-section__review-head {
    margin-bottom: 4px;
    gap: 8px;
    min-height: 0;
    min-width: 0;
  }

  .contact-section__review-name {
    font-size: .85rem;
    line-height: 1.2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .contact-section__review-stars {
    font-size: .68rem;
    letter-spacing: .5px;
    flex-shrink: 0;
  }

  .contact-section__review-rule {
    width: 100%;
    max-width: 100%;
    margin-bottom: 6px;
  }

  .contact-section__review-text {
    font-size: .72rem;
    line-height: 1.45;
    min-width: 0;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .contact-section__review-g {
    width: 22px;
    height: 22px;
    right: 10px;
    bottom: 8px;
    opacity: 1;
  }

  .contact-section__nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 10px;
    width: 100%;
    max-width: min(100%, 280px);
    height: auto;
    margin: 0;
    padding: 0;
  }

  .contact-section__nav-btn {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .contact-section__nav-btn--prev {
    background: #1c45c2;
    color: #fff;
    box-shadow: 0 2px 10px rgba(11, 27, 52, .25);
  }

  .contact-section__nav-btn--next {
    background: #fab72a;
    color: #0b1b34;
    box-shadow: 0 2px 10px rgba(250, 183, 42, .35);
  }

  .contact-section__plumber {
    grid-area: plumber;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 3;
    width: 100%;
    max-width: min(42vw, 250px);
    margin: 0;
    justify-self: end;
    align-self: end;
    pointer-events: none;
  }

  .contact-section__plumber img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: bottom right;
    filter:
      drop-shadow(2px 0 0 #fff)
      drop-shadow(-2px 0 0 #fff)
      drop-shadow(0 2px 0 #fff)
      drop-shadow(0 -2px 0 #fff)
      drop-shadow(0 0 8px rgba(255, 255, 255, .9));
  }
}

/* Small phones — 425px */
@media (max-width: 425px) {
  .contact-section__side {
    grid-template-columns: minmax(0, 1fr) minmax(96px, 35vw);
    gap: 8px 6px;
  }

  .contact-section__top {
    gap: 10px;
  }

  .contact-section__gbadge {
    gap: 6px;
    padding: 8px 10px;
    max-width: 100%;
  }

  .contact-section__gbadge-logo {
    font-size: .82rem;
  }

  .contact-section__gbadge-stars {
    font-size: .58rem;
    letter-spacing: .5px;
  }

  .contact-section__gbadge-text {
    font-size: .52rem;
    line-height: 1.2;
  }

  .contact-section__review {
    max-width: 100%;
    min-height: 0;
    padding: 12px 10px 24px;
    border-radius: 16px;
  }

  .contact-section__review-name {
    font-size: .78rem;
  }

  .contact-section__review-stars {
    font-size: .58rem;
  }

  .contact-section__review-text {
    font-size: .65rem;
    line-height: 1.4;
    -webkit-line-clamp: 4;
    padding-right: 20px;
  }

  .contact-section__review-g {
    width: 18px;
    height: 18px;
    right: 8px;
    bottom: 6px;
  }

  .contact-section__nav {
    max-width: 100%;
  }

  .contact-section__plumber {
    max-width: min(35vw, 190px);
  }

  .contact-section__plumber img {
    max-height: 250px;
  }
}

/* Small phones — 375px */
@media (max-width: 375px) {
  .contact-section {
    --contact-m-side: 16px;
  }

  .contact-section__side {
    grid-template-columns: minmax(0, 1fr) minmax(88px, 33vw);
    gap: 8px 4px;
  }

  .contact-section__gbadge {
    padding: 7px 8px;
    gap: 5px;
    border-radius: 12px;
  }

  .contact-section__gbadge-logo {
    font-size: .75rem;
  }

  .contact-section__gbadge-stars {
    font-size: .54rem;
  }

  .contact-section__gbadge-text {
    font-size: .48rem;
  }

  .contact-section__review {
    padding: 10px 8px 22px;
    border-radius: 14px;
  }

  .contact-section__review-name {
    font-size: .72rem;
  }

  .contact-section__review-stars {
    font-size: .52rem;
    letter-spacing: 0;
  }

  .contact-section__review-text {
    font-size: .6rem;
    line-height: 1.35;
    -webkit-line-clamp: 4;
  }

  .contact-section__nav-btn {
    width: 36px;
    height: 36px;
  }

  .contact-section__plumber {
    max-width: min(33vw, 170px);
  }

  .contact-section__plumber img {
    max-height: 230px;
  }
}

/* Very small screens — 320px */
@media (max-width: 320px) {
  .contact-section {
    --contact-m-side: 10px;
  }

  .contact-section__side {
    grid-template-columns: minmax(0, 1fr) minmax(78px, 30vw);
    gap: 6px 4px;
    margin-top: 12px;
  }

  .contact-section__top {
    gap: 8px;
  }

  .contact-section__gbadge {
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px 8px;
    border-radius: 10px;
  }

  .contact-section__gbadge-logo {
    font-size: .68rem;
  }

  .contact-section__gbadge-meta {
    align-items: center;
    text-align: center;
  }

  .contact-section__gbadge-stars {
    font-size: .5rem;
  }

  .contact-section__gbadge-text {
    font-size: .44rem;
    line-height: 1.15;
  }

  .contact-section__review {
    padding: 8px 8px 20px;
    min-height: 0;
  }

  .contact-section__review-head {
    gap: 4px;
  }

  .contact-section__review-name {
    font-size: .66rem;
  }

  .contact-section__review-stars {
    font-size: .48rem;
  }

  .contact-section__review-text {
    font-size: .54rem;
    line-height: 1.3;
    -webkit-line-clamp: 3;
    padding-right: 18px;
  }

  .contact-section__review-g {
    width: 16px;
    height: 16px;
    right: 6px;
    bottom: 6px;
  }

  .contact-section__nav {
    gap: 8px;
  }

  .contact-section__nav-btn {
    width: 34px;
    height: 34px;
  }

  .contact-section__plumber {
    max-width: min(30vw, 150px);
  }

  .contact-section__plumber img {
    max-height: 210px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .contact-section {
    padding: 48px 0 0;
    overflow: hidden;
  }

  .contact-section__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 28px;
  }

  .contact-section__main,
  .contact-section__servicing,
  .contact-section__side {
    grid-column: 1;
    grid-row: auto;
  }

  /* Reviews left, plumber right */
  .contact-section__side {
    display: grid;
    grid-template-columns: minmax(280px, var(--contact-rating-w)) minmax(0, 1fr);
    grid-template-areas: "reviews plumber";
    align-items: end;
    gap: 16px 24px;
    min-height: 0;
    width: 100%;
    padding-bottom: 0;
  }

  .contact-section__top {
    grid-area: reviews;
    position: static;
    top: auto;
    right: auto;
    width: 100%;
    max-width: var(--contact-rating-w);
    min-height: 0;
    align-items: center;
    justify-self: start;
    align-self: start;
  }

  .contact-section__gbadge {
    padding: 16px 24px;
    align-self: center;
  }

  .contact-section__review {
    width: min(100%, var(--contact-rating-w));
    align-self: center;
    height: auto;
    min-height: var(--contact-rating-h);
    max-height: none;
  }

  .contact-section__nav {
    justify-content: center;
    align-self: center;
    width: min(100%, var(--contact-rating-w));
  }

  .contact-section__plumber {
    grid-area: plumber;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(100%, 320px);
    max-width: 320px;
    margin: 0;
    justify-self: end;
    align-self: end;
    line-height: 0;
  }

  .contact-section__plumber img {
    width: 100%;
    height: auto;
    max-height: 420px;
    margin: 0;
    object-fit: contain;
    object-position: bottom right;
    display: block;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, .22));
  }

  .contact-section__form-wrap,
  .contact-section__submit {
    max-width: none;
  }
}
