/* Bragg footer hierarchy and responsive layout */
#FooterV1 .bragg-footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(360px, 2fr) minmax(250px, 1.15fr);
  grid-template-areas:
    "brand navigation contact"
    "brand navigation social";
  column-gap: clamp(2rem, 4vw, 5rem);
  row-gap: 2rem;
  align-items: start;
}

#FooterV1 .bragg-footer-brand {
  grid-area: brand;
}

#FooterV1 .bragg-footer-navigation {
  grid-area: navigation;
}

#FooterV1 .bragg-footer-contact {
  grid-area: contact;
}

#FooterV1 .bragg-footer-social {
  grid-area: social;
}

#FooterV1 .bragg-footer-serving,
#FooterV1 .bragg-footer-emergency {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

#FooterV1 .bragg-footer-serving {
  margin-top: 2rem;
}

#FooterV1 .bragg-footer-serving .icn,
#FooterV1 .bragg-footer-emergency .icn {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
}

#FooterV1 .bragg-footer-serving-text {
  max-width: 24rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
}

#FooterV1 .bragg-footer-heading {
  display: block;
  margin-bottom: 1.25rem;
}

#FooterV1 .bragg-footer-nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 2.5rem;
  margin-top: 0;
}

#FooterV1 .bragg-footer-nav-list li {
  width: auto;
  margin: 0;
}

#FooterV1 .bragg-footer-call-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}

#FooterV1 .bragg-footer-phone {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
  font-weight: 800;
  white-space: nowrap;
}

#FooterV1 .bragg-footer-emergency {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

#FooterV1 .bragg-footer-social .bragg-footer-heading {
  margin-bottom: 1rem;
}

#FooterV1 .bragg-footer-social-list {
  gap: 0.85rem;
  margin-top: 0;
}

#FooterV1 .bragg-footer-social .so-lk .icn {
  width: 1.75rem;
  height: 1.75rem;
}

@media screen and (max-width: 1279px) {
  #FooterV1 .bragg-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand contact"
      "navigation navigation"
      "social social";
    column-gap: 3rem;
    row-gap: 2.75rem;
  }

  #FooterV1 .bragg-footer-social-list {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 699px) {
  #FooterV1 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  #FooterV1 .bragg-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "contact"
      "navigation"
      "social";
    row-gap: 2.25rem;
    text-align: left;
  }

  #FooterV1 .bragg-footer-brand,
  #FooterV1 .bragg-footer-contact,
  #FooterV1 .bragg-footer-navigation,
  #FooterV1 .bragg-footer-social {
    width: 100%;
  }

  #FooterV1 .bragg-footer-serving {
    margin-top: 1.5rem;
  }

  #FooterV1 .bragg-footer-phone {
    min-height: 3.25rem;
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  #FooterV1 .bragg-footer-nav-list {
    gap: 1rem 1.5rem;
  }
}

@media screen and (max-width: 420px) {
  #FooterV1 .bragg-footer-nav-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Reviews page platform links */
#ReviewSystemS1 .bragg-review-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  max-width: 50rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

#ReviewSystemS1 .bragg-review-platform {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 7.25rem;
  padding: 1.1rem 1.35rem;
  color: #27323a;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(39, 50, 58, 0.14);
  border-radius: 0.75rem;
  box-shadow: 0 0.6rem 1.5rem rgba(22, 34, 44, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

#ReviewSystemS1 .bragg-review-platform:hover {
  color: #27323a;
  border-color: #c92f35;
  box-shadow: 0 0.8rem 1.8rem rgba(22, 34, 44, 0.17);
  transform: translateY(-2px);
}

#ReviewSystemS1 .bragg-review-platform:focus-visible {
  outline: 3px solid #c92f35;
  outline-offset: 3px;
}

#ReviewSystemS1 .bragg-review-platform-mark {
  display: grid;
  flex: 0 0 4.25rem;
  width: 4.25rem;
  height: 4.25rem;
  place-items: center;
}

#ReviewSystemS1 .bragg-review-platform-mark img {
  display: block;
  width: 4rem;
  height: auto;
}

#ReviewSystemS1 .bragg-review-platform-yelp-mark {
  color: #d32323;
}

#ReviewSystemS1 .bragg-review-platform-yelp-mark svg {
  width: 3.5rem;
  height: 3.5rem;
  fill: currentColor;
}

#ReviewSystemS1 .bragg-review-platform-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1.35;
}

#ReviewSystemS1 .bragg-review-platform-copy strong {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
}

#ReviewSystemS1 .bragg-review-platform-copy span {
  font-size: 0.95rem;
}

@media screen and (max-width: 699px) {
  #ReviewSystemS1 .bragg-review-platforms {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 2.5rem;
  }

  #ReviewSystemS1 .bragg-review-platform {
    min-height: 6.5rem;
  }
}
