/* ==========================================================================
   footer.css - site footer + floating "Book a Call" buttons
   Blocks: .footer, .floating-buttons
   ========================================================================== */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  margin-top: auto;
  position: relative;
  width: 100%;
  padding: clamp(0.75rem, 0.765vw + 0.597rem, 1.25rem) var(--section-padding);
  background-color: #f2f4f6;
}

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: var(--container-width);
  max-width: 100%;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  text-align: center;
}

.footer__rights {
  margin: 0 auto;
  font-size: 0.8125rem;
}

.footer__rights-paragraph {
  margin: 0;
}

.footer__rights-link {
  font-size: inherit;
}

.footer__logo {
  display: block;
  max-width: 290px;
  margin: 2rem auto 20px;
}

.footer__follow {
  align-self: center;
  margin: 0 auto;
  font-size: 0.8125rem;
  text-align: center;
}

.footer__follow-text {
  margin: 0;
}

.footer__social {
  display: flex;
  flex-direction: row;
  align-self: center;
  gap: 10px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer__social-item--x,
.footer__social-item--facebook,
.footer__social-item--linkedin,
.footer__social-item--youtube,
.footer__social-item--pinterest {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
  border-radius: 50px;
}

.footer__social-item--x { background-color: var(--dark); }
.footer__social-item--facebook { background-color: #3b5998; }
.footer__social-item--linkedin { background-color: #0077b5; }
.footer__social-item--youtube { background-color: #ff0000; }
.footer__social-item--pinterest { background-color: #e60023; }

.footer__social-link {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 17px;
  color: #fff;
}

.footer__social-icon {
  width: auto;
  height: 30px;
  margin: 10.5px 0;
  fill: currentcolor;
}

.footer__divider {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  margin: 1rem 0;
  font-size: 30px;
}

.footer__divider-line {
  position: relative;
  width: 100%;
  height: 1px;
  border-top: 1px solid;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.footer__legal {
  margin: 1rem auto;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  opacity: 0.9;
}

.footer__legal-paragraph {
  margin: 0;
}

.footer__legal-link {
  font-size: inherit;
  font-weight: 600;
}

.footer__advertising {
  width: 45rem;
  max-width: 100%;
  margin: 1rem auto;
  font-size: 0.75rem;
  text-align: center;
}

.footer__advertising-paragraph {
  margin: 0;
}

/* ---------- floating phone / book-a-call tab ---------- */
.floating-buttons {
  display: flex;
  position: fixed;
  right: -68px;
  top: 30%;
  z-index: 99;
  transform: rotate(90deg);
  border: 1px solid rgba(13, 7, 7, 0.2);
  border-radius: 3px;
}

.floating-buttons__phone {
  display: flex;
  padding: 8.5px;
  background-image: linear-gradient(#cda627, #d4af37);
  border: 1px solid #d4af37;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  transition: 0.3s;
}

.floating-buttons__phone:hover {
  background-image: linear-gradient(#fff, #fff);
  box-shadow: inset 0 2px 2px 0 rgb(255 255 255 / 22%), 0 233px 233px 0 rgb(255 255 255 / 12%) inset;
}

.floating-buttons__phone-icon {
  display: block;
  width: 20px;
  height: 20px;
  transform: rotate(270deg);
}

.floating-buttons__phone:hover .floating-buttons__phone-icon path {
  fill: #d4af37;
  transition: 0.3s;
}

.floating-buttons__book {
  display: flex;
  padding: 6px 25px;
  background-color: #000;
  color: #fff;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  border: 1px solid #000;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  transition: 0.3s;
}

.floating-buttons__book:hover {
  background-color: #fff;
  color: #000;
  box-shadow: inset 0 2px 2px 0 rgb(255 255 255 / 22%), 0 233px 233px 0 rgb(255 255 255 / 12%) inset;
}
