.footer-3 {
  position: relative;
  background: var(--color-accent);
  color: var(--color-text-dark);
  margin-top: 0;
  padding: 0 0 42px;
  overflow: hidden;
}

.floating-call-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  font-family: var(--font-family-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(var(--color-black-rgb), 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-call-button:hover {
  color: var(--color-cta-text);
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(var(--color-black-rgb), 0.24);
}

.footer-3__edge {
  position: relative;
  height: 118px;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-subtle) 26%, var(--color-accent) 27%, var(--color-accent) 100%);
}

.footer-3__edge::before,
.footer-3__edge::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 0;
  height: 92px;
  background: var(--color-surface-subtle);
  pointer-events: none;
}

.footer-3__edge::before {
  clip-path: polygon(
    0 0,
    100% 0,
    100% 58%,
    97% 55%,
    94% 48%,
    90% 52%,
    86% 39%,
    81% 45%,
    76% 36%,
    71% 44%,
    66% 31%,
    61% 37%,
    56% 29%,
    51% 40%,
    46% 34%,
    40% 43%,
    34% 35%,
    28% 47%,
    23% 38%,
    18% 46%,
    13% 41%,
    8% 49%,
    4% 43%,
    0 48%
  );
  box-shadow: 0 10px 18px color-mix(in srgb, var(--color-accent) 24%, transparent);
}

.footer-3__edge::after {
  top: 10px;
  height: 78px;
  background: rgba(var(--color-white-rgb), 0.9);
  clip-path: polygon(
    0 0,
    100% 0,
    100% 60%,
    98% 52%,
    95% 57%,
    91% 45%,
    87% 50%,
    82% 42%,
    77% 48%,
    72% 40%,
    67% 46%,
    61% 39%,
    56% 47%,
    50% 41%,
    45% 48%,
    39% 43%,
    33% 50%,
    27% 45%,
    21% 52%,
    16% 46%,
    11% 51%,
    6% 47%,
    0 54%
  );
  opacity: 0.85;
}

.footer-3__inner {
  padding-top: 28px;
}

.footer-3__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.7fr);
  gap: 56px;
  align-items: start;
}

.footer-3__extras {
  margin-top: 34px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: 34px;
  color: var(--color-text-dark);
  border: 2px solid color-mix(in srgb, var(--color-text-dark) 18%, transparent);
}

.footer-3__extras :is(.footer-hours__heading, .footer-map__heading) {
  color: var(--color-text-dark);
  font-family: var(--font-family-display);
}

.footer-3__extras .footer-map__frame { border-radius: 0; }

@media (max-width: 767px) {
  .footer-3__extras {
    padding: 22px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-3__column--brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.footer-3__brand img {
  width: 164px;
  display: block;
}

.footer-3__business {
  font-size: var(--font-size-body);
  line-height: 1.55;
}

.footer-3__business p {
  margin: 0 0 7px;
}

.footer-3__business a {
  color: inherit;
  text-decoration: none;
}

.footer-3__social {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.footer-3__social a {
  width: 20px;
  height: 20px;
  color: var(--color-text-dark);
}

.footer-3__social svg {
  width: 100%;
  height: 100%;
}

.footer-3__heading {
  margin: 4px 0 24px;
  font-family: var(--font-family-display);
  font-size: var(--section-heading-size);
  font-weight: 800;
  color: var(--color-text-dark);
  text-transform: uppercase;
}

.footer-3__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-3__nav a {
  color: var(--color-text-dark);
  font-family: var(--font-family-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.footer-3__divider {
  margin: 44px 0 34px;
  border-top: 4px dotted var(--color-primary);
}

.footer-3__copyright {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-dark);
}

.footer-3__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-3__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

.footer-3__legal a {
  color: var(--color-text-dark);
  font-family: var(--font-family-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .footer-3__grid {
    gap: 48px;
  }

  .footer-3__business,
  .footer-3__nav a {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .footer-3__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-3__column--brand {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-3__brand {
    display: inline-flex;
  }

  .footer-3__social {
    justify-content: center;
  }

  .footer-3__heading,
  .footer-3__nav {
    align-items: center;
    text-align: center;
  }

  .footer-3__heading {
    margin-bottom: 18px;
  }

  .footer-3__divider {
    margin: 40px 0 28px;
  }
}

@media (max-width: 767px) {
  .footer-3__edge {
    height: 96px;
  }

  .footer-3__edge::before {
    height: 76px;
  }

  .footer-3__edge::after {
    top: 8px;
    height: 64px;
  }

  .footer-3__business,
  .footer-3__nav a,
  .footer-3__copyright {
    font-size: 12px;
  }

  .footer-3__heading {
    font-size: var(--section-heading-size);
  }

  .floating-call-button {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    font-size: 12px;
  }
}

@media (max-width: 479px) {
  .floating-call-button {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 48px;
    padding-inline: 16px;
    text-align: center;
  }
}
