/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { color: var(--white); }

.footer-main {
  background: var(--primary);
  border-top: 12px solid var(--secondary);
  padding: 40px 0px;
}
.footer-title {
  font-size: 37px;
  line-height: 1;
  margin-bottom: 6px;
}
.footer-sub {
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 20px;
}

.footer-connect-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.footer-connect { text-align: left; }
.footer-connect .footer-sub { margin-bottom: 26px; }

.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 3px solid var(--white);
  border-radius: 8px;
  color: var(--white);
  font-size: 22px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.socials a:hover, .socials a:focus-visible { background: var(--white); color: var(--primary); }

.footer-bottom {
  background: var(--black);
  padding: 16px 0;
  font-size: 14px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 32px;
  margin: 0;
  padding: 0;
}
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover,
.footer-links a.active { color: var(--secondary); }
.copyright { margin: 0; opacity: .8; text-align: center; }

/* Contact emails */
.footer-contact { text-align: right; }
.footer-contact-title {
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 22px;
}
.footer-contact p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.4;
}
.footer-contact p:last-child { margin-bottom: 0; }
.footer-contact span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
  opacity: .8;
}
.footer-contact a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
.footer-contact a:hover,
.footer-contact a:focus-visible { color: var(--secondary); }

/* WhatsApp – fixed round chat button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1030;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: transform .2s, background .2s;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #1ebe5b;
  color: var(--white);
  transform: translateY(-3px);
}
/* Back to top – sits above the WhatsApp button, hidden until scrolled */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 94px;
  z-index: 1030;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background-color .2s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus-visible { background: var(--secondary); }

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .back-to-top { transition: none; }
  .whatsapp-float:hover { transform: none; }
}
