/* Sanocea Canonical Site Footer */
.sanocea-site-footer,
.hfoot {
  --b: #2447ff;
  --c: #11c6dc;
  --v: #8b4dff;
  --m: #ff4f7b;
  --o: #ff6a3d;
  --l: #cdef3a;
  --flow: linear-gradient(100deg, var(--b) 0%, var(--c) 24%, var(--v) 48%, var(--m) 68%, var(--o) 82%, var(--l) 100%);
  z-index: 2;
  background: #ffffff;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
  padding: clamp(48px, 6vw, 84px) 32px 32px;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #111111;
  box-sizing: border-box;
}

.sanocea-site-footer *,
.hfoot * {
  box-sizing: border-box;
}

.hfoot-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(32px, 5vw, 72px);
  max-width: 1360px;
  margin: 0 auto;
  padding-bottom: clamp(36px, 4.5vw, 60px);
}

.hfoot-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hfoot-logo {
  line-height: 0;
  display: inline-block;
  text-decoration: none;
}

.hfoot-logo img {
  width: 148px;
  height: auto;
  display: block;
}

.hfoot-tagline {
  color: #111111;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.hfoot-sub {
  color: #666666;
  max-width: 38ch;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
}

.hfoot-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}

.hfoot-contact-lbl {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888888;
  font-size: 11px;
  font-weight: 700;
  font-family: Archivo, "Space Grotesk", sans-serif;
}

.hfoot-contact-mail {
  color: #2b5be0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hfoot-contact-mail:hover {
  text-decoration: underline;
  color: #1a42b8;
}

.hfoot-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.hfoot-col-title {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 800;
  font-family: Archivo, "Space Grotesk", sans-serif;
  line-height: 1.3;
}

.hfoot-col:first-child .hfoot-col-title {
  color: #2b5be0;
}

.hfoot-col:nth-child(2) .hfoot-col-title {
  color: #7a3fd1;
}

.hfoot-col:nth-child(3) .hfoot-col-title {
  color: #0a8aa0;
}

.hfoot-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hfoot-list li {
  margin: 0;
  padding: 0;
}

.hfoot-list li a {
  color: #555555;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
  display: inline-block;
  line-height: 24px;
  min-height: 24px;
}

.hfoot-list li a:hover {
  color: #0d0d0d;
  transform: translateX(2px);
}

.hfoot-bar {
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 24px;
}

.hfoot-bar .hlegal {
  color: #777777;
  text-align: left;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
}

.hfoot-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hfoot-legal-links a {
  color: #777777;
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.15s ease;
  line-height: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

.hfoot-legal-links a:hover {
  color: #111111;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .sanocea-site-footer,
  .hfoot {
    padding: 40px 20px 24px;
  }
  .hfoot-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 36px;
  }
  .hfoot-nav-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hfoot-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Global Floating WhatsApp Contact Widget ── */
.sanocea-floating-whatsapp,
.wf-floating-wa-btn,
.wf-floating-whatsapp {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  z-index: 990 !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
  text-decoration: none !important;
  cursor: pointer !important;
  outline: none !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.sanocea-floating-whatsapp:hover,
.wf-floating-wa-btn:hover,
.wf-floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55), 0 3px 8px rgba(0, 0, 0, 0.15) !important;
  color: #ffffff !important;
}

.sanocea-floating-whatsapp:focus-visible,
.wf-floating-wa-btn:focus-visible,
.wf-floating-whatsapp:focus-visible {
  outline: 3px solid #25d366 !important;
  outline-offset: 3px !important;
}

.sanocea-floating-whatsapp svg,
.wf-floating-wa-btn svg,
.wf-floating-whatsapp svg {
  width: 28px !important;
  height: 28px !important;
  fill: #ffffff !important;
  flex-shrink: 0 !important;
}

@media (max-width: 899px) {
  .sanocea-floating-whatsapp,
  .wf-floating-wa-btn,
  .wf-floating-whatsapp {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
    width: 50px !important;
    height: 50px !important;
  }
  .sanocea-floating-whatsapp svg,
  .wf-floating-wa-btn svg,
  .wf-floating-whatsapp svg {
    width: 26px !important;
    height: 26px !important;
  }
}

/* Hide floating WhatsApp when assistant drawer is open to prevent overlap */
body:has(.sanocea-assistant-root.is-open) .sanocea-floating-whatsapp,
body:has(.sanocea-assistant-root.is-open) .wf-floating-wa-btn,
body:has(.sanocea-assistant-root.is-open) .wf-floating-whatsapp {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
