/* Shared site footer — contact + map */
.site-footer {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 calc(36px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(7, 95, 230, 0.12);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.85fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
}

.site-footer-brand strong {
  display: block;
  color: #06152f;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.site-footer-brand p {
  margin: 0;
  color: #66778d;
  line-height: 1.65;
  font-size: 0.94rem;
  max-width: 420px;
}

.site-footer-contact h3 {
  margin: 0 0 14px;
  color: #06152f;
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #075fe6;
  font-weight: 800;
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer-contact a:hover {
  color: #13a8ff;
}

.site-footer-contact a::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-color: #075fe6;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  transition: background-color 0.18s ease;
}

.site-footer-contact a:hover::before {
  background-color: #13a8ff;
}

.site-footer-contact .footer-phone-link::before,
.site-footer-contact a[href^="tel:"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.site-footer-contact .footer-email-link::before,
.site-footer-contact a[href^="mailto:"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.site-footer-contact .footer-map-link::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.site-footer-map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(7, 95, 230, 0.14);
  box-shadow: 0 16px 44px rgba(6, 21, 47, 0.1);
  background: #dcecff;
  min-height: 220px;
}

.site-footer-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.site-footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(7, 95, 230, 0.1);
  text-align: center;
  color: #6f8095;
  font-size: 0.88rem;
}

@media (max-width: 1024px) {
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer-map {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 36px;
  }
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .site-footer-map iframe {
    height: 200px;
  }
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #20bd5a;
  box-shadow: 0 20px 48px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: currentColor;
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    min-height: 50px;
    min-width: 50px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-label { display: none; }
}
