:root {
  --zq-contact-navy: #071f3d;
  --zq-contact-cyan: #0796bd;
  --zq-contact-line: #d9e3ec;
  --zq-whatsapp: #25d366;
}

.zq-contact-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--zq-contact-line);
  border-bottom: 1px solid var(--zq-contact-line);
  background: #fff;
  color: #0b2340;
}

.zq-contact-strip-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 64px);
  padding-block: 13px;
}

.zq-contact-strip-direct,
.zq-contact-strip-social,
.zq-footer-social,
.zq-contact-follow > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.zq-contact-strip-direct > span {
  white-space: nowrap;
}

.zq-contact-strip a {
  color: #0b2340;
  font-weight: 700;
  text-decoration: none;
}

.zq-contact-strip a:hover,
.zq-contact-strip a:focus-visible {
  color: #006ea3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zq-social-link {
  min-height: 40px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  color: inherit;
  text-decoration: none;
}

.zq-social-link img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
  border-radius: 8px;
  padding: 5px;
  background: #263547;
}

.zq-social-link-whatsapp img { background: var(--zq-whatsapp); }
.zq-social-link-instagram img { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 58%, #fcb045 100%); }
.zq-social-link-facebook img { padding: 0; background: #0866ff; border-radius: 50%; }
.zq-social-link-tiktok img { padding: 0; background: #050505; border-radius: 50%; }

.zq-footer-contact-lines {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}

.zq-footer-contact-lines a {
  display: block !important;
  margin: 0 !important;
  overflow-wrap: anywhere;
  color: #e6eef6 !important;
  font-size: .88rem !important;
  text-decoration: none;
}

.zq-footer-contact-lines a:hover,
.zq-footer-contact-lines a:focus-visible { color: #67d5e7 !important; }

.zq-footer-social {
  gap: 9px;
}

.zq-footer-social .zq-social-link {
  width: 42px;
  height: 42px;
  min-height: 42px;
  justify-content: center;
  border-radius: 10px;
}

.zq-footer-social .zq-social-link img {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.zq-footer-contact-section h2 { margin-bottom: 20px; }

.zq-footer-contact-dock {
  width: 100%;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.zq-footer-contact-dock-inner {
  width: min(100% - 40px, 1180px);
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
  padding-block: 16px;
}

.zq-footer-contact-dock-inner > strong {
  color: #fff;
  font-size: .92rem;
}

.zq-footer-contact-dock .zq-footer-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.zq-footer-contact-dock .zq-footer-contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
}

.zq-contact-prompt {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid #cbd8e4;
  border-left: 4px solid var(--zq-contact-cyan);
  background: #f4f8fb;
  color: #17324d;
}

.zq-contact-prompt > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.zq-contact-prompt-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #9cb3c7;
  background: #fff;
  color: #0a4166;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.zq-contact-prompt-whatsapp {
  border-color: #148c46;
  background: #148c46;
  color: #fff;
}

.zq-contact-prompt-whatsapp img { width: 20px; height: 20px; }

.zq-contact-page-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.zq-contact-page-heading h2 { margin-bottom: 12px; }
.zq-contact-page-heading p { max-width: 760px; margin-block: 8px; }
.zq-contact-no-form { color: #5b6e82; font-size: .88rem; }

.zq-contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.zq-contact-method {
  min-width: 0;
  min-height: 144px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid #cfdae5;
  border-top: 4px solid var(--zq-contact-cyan);
  background: #fff;
  color: #102d49;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(16, 43, 70, .08);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.zq-contact-method:hover,
.zq-contact-method:focus-visible {
  transform: translateY(-3px);
  border-color: #73a9c2;
  box-shadow: 0 18px 38px rgba(16, 43, 70, .13);
}

.zq-contact-method span { color: #52677c; font-size: .84rem; font-weight: 800; }
.zq-contact-method strong { overflow-wrap: anywhere; font-size: clamp(1rem, 1.55vw, 1.25rem); }
.zq-contact-method-whatsapp { border-top-color: var(--zq-whatsapp); }

.zq-contact-follow {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--zq-contact-line);
}

.zq-contact-follow h2 { margin-bottom: 16px; font-size: 1.15rem; }
.zq-contact-follow .zq-social-link { color: #17324d; font-weight: 800; }

.zq-contact-methods-quote { grid-template-columns: 1fr; margin-top: 24px; }
.zq-contact-methods-quote .zq-contact-method { min-height: 104px; }
.zq-selected-context dl { display: grid; gap: 0; margin: 18px 0 0; }
.zq-selected-context dl > div { grid-template-columns: minmax(110px, .45fr) 1fr; gap: 18px; padding: 10px 0; border-bottom: 1px solid #d7e1ea; }
.zq-selected-context dt { font-weight: 800; }
.zq-selected-context dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }

.zq-whatsapp-float {
  position: fixed;
  z-index: 160;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--zq-whatsapp);
  box-shadow: 0 12px 30px rgba(4, 27, 49, .28);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.zq-whatsapp-float:hover,
.zq-whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 36px rgba(4, 27, 49, .34);
}

.zq-whatsapp-float:focus-visible { outline: 3px solid #062b4c; outline-offset: 3px; }
.zq-whatsapp-float img { width: 30px; height: 30px; }

.zq-whatsapp-float-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  width: max-content;
  max-width: 240px;
  padding: 8px 11px;
  border-radius: 6px;
  background: #071f3d;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity .18s ease, transform .18s ease;
}

.zq-whatsapp-float:hover .zq-whatsapp-float-label,
.zq-whatsapp-float:focus-visible .zq-whatsapp-float-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.back-to-top { bottom: 94px !important; }

@media (max-width: 860px) {
  .zq-contact-strip-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .zq-contact-strip-direct { gap: 8px 20px; }
  .zq-contact-methods { grid-template-columns: 1fr; }
  .zq-contact-method { min-height: 112px; }
  .zq-footer-contact-dock-inner,
  .zq-footer-contact-dock .zq-footer-contact { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 560px) {
  .zq-contact-strip-inner { min-height: 0; padding-block: 16px; }
  .zq-contact-strip-direct { display: grid; gap: 7px; }
  .zq-contact-strip-social { gap: 8px; }
  .zq-contact-strip-social .zq-social-link { width: 40px; padding: 0; justify-content: center; }
  .zq-contact-strip-social .zq-social-link span:not(.sr-only) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .zq-contact-prompt { align-items: flex-start; flex-direction: column; padding: 18px; }
  .zq-contact-prompt > div, .zq-contact-prompt-link { width: 100%; }
  .zq-contact-prompt-link { justify-content: center; }
  .zq-whatsapp-float { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 56px; height: 56px; }
  .zq-whatsapp-float-label { display: none; }
  .back-to-top { bottom: 82px !important; right: 18px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .zq-contact-method,
  .zq-whatsapp-float,
  .zq-whatsapp-float-label { transition: none; }
}
