/* =========================================================
   CUTLER BAY PLUMBING - SHARED FOOTER STYLES
   Load this file on every page after styles.css
   ========================================================= */

.site-footer {
  padding: 0;
  background: var(--navy-dark);
  color: rgba(255,255,255,.72);
}

/* MAIN FOUR-COLUMN FOOTER */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr .9fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 56px;
}

.footer-grid h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
}

.footer-grid a {
  display: block;
  margin: 10px 0;
  color: rgba(255,255,255,.74);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand p {
  max-width: 420px;
  color: rgba(255,255,255,.74);
}

.footer-logo img {
  max-width: 240px;
  height: auto;
  display: block;
  background: #fff;
  border-radius: 10px;
}

.footer-phone {
  margin-top: 18px !important;
  color: #fff !important;
  font-size: 28px;
  font-weight: 900;
}

/* HOURS + SOCIAL ROW */
.footer-social-row {
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-social-row-inner {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer-hours-inline h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 18px;
}

.footer-hours-inline p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 16px;
}

.footer-social-area {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-follow-label {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 800;
}

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-icon {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 50%;
  background: var(--green);
  color: #fff !important;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.footer-social-icon:hover {
  background: #fff;
  color: var(--green) !important;
  transform: translateY(-3px);
}

.footer-social-icon svg {
  display: block !important;
  width: 21px !important;
  height: 21px !important;
  max-width: 21px !important;
  max-height: 21px !important;
  fill: currentColor !important;
}

.footer-social-icon:first-child svg {
  width: 24px !important;
  height: 19px !important;
  max-width: 24px !important;
  max-height: 19px !important;
}

.footer-social-bbb span {
  color: inherit;
  font-size: 9px;
  font-weight: 900;
}

/* BOTTOM COPYRIGHT ROW */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-bottom-inner {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.footer-bottom-inner p,
.footer-bottom-inner span,
.footer-bottom-inner a {
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

.footer-bottom-inner div {
  display: flex;
  gap: 24px;
}

/* TABLET */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-social-row-inner {
    align-items: flex-start;
  }
}

/* MOBILE */
@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 46px;
  }

  .footer-social-row-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .footer-social-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bottom-inner,
  .footer-bottom-inner div {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom-inner {
    padding: 22px 0;
  }
}
