/* Shuiman Impression V5: social links and WeChat contact below the hero. */
.social-bar {
  background: #f4f0e6;
  border-top: 1px solid rgba(198, 146, 61, 0.18);
  border-bottom: 1px solid rgba(31, 58, 50, 0.12);
  font-family: Arial, Helvetica, sans-serif;
}
.social-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 84%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 0;
}
main .social-bar-label {
  margin: 0;
  color: #355c4d;
  text-shadow: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social-links li {
  margin: 0;
  padding: 0;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid rgba(31, 58, 50, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.65);
  color: #1f3a32;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  -webkit-tap-highlight-color: rgba(198, 146, 61, 0.15);
}
.social-link svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.social-link:focus-visible {
  outline: 2px solid #1f3a32;
  outline-offset: 4px;
}
@media (hover: hover) {
  .social-link[href]:hover {
    background: #fffaf0;
    border-color: #956817;
    box-shadow: 0 4px 14px rgba(31, 58, 50, 0.08);
  }
}
@media (max-width: 900px) {
  .social-bar-inner {
    width: 88%;
  }
}
@media (max-width: 640px) {
  .social-bar-inner {
    flex-direction: column;
    gap: 14px;
    width: 90%;
    padding: 20px 0;
  }
  .social-bar-label {
    text-align: center;
  }
  .social-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 420px;
  }
  .social-link {
    flex-direction: column;
    gap: 7px;
    width: 100%;
    min-height: 72px;
    padding: 11px 4px;
    border-radius: 14px;
    font-size: 0.78rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .social-link {
    transition: none;
  }
}

/* The four contact options stay readable on narrow phones. */
@media (max-width: 380px) {
  .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .social-link {
    flex-direction: row;
    min-height: 56px;
  }
}
body.wechat-contact-open {
  overflow: hidden;
}
.wechat-dialog {
  width: min(440px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid rgba(31, 58, 50, 0.18);
  border-radius: 20px;
  background: #f4f0e6;
  color: #1f3a32;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
}
.wechat-dialog:not([open]) {
  display: none;
}
.wechat-dialog::backdrop {
  background: rgba(6, 14, 8, 0.72);
}
.wechat-dialog-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.wechat-dialog h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #1f3a32;
  font-size: 1.45rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.wechat-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: rgba(31, 58, 50, 0.06);
  color: #1f3a32;
  cursor: pointer;
}
.wechat-close svg {
  width: 24px;
  height: 24px;
}
.wechat-dialog p {
  margin: 0 0 20px;
  font-size: 0.94rem;
  line-height: 1.6;
}
.wechat-id-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}
.wechat-id {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(31, 58, 50, 0.24);
  border-radius: 12px;
  background: #fffaf0;
  color: #1f3a32;
  font: 1.4rem/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: 0.03em;
}
.wechat-copy {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #1f3a32;
  border-radius: 12px;
  background: #1f3a32;
  color: #fffaf0;
  font: 600 0.95rem/1.4 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.wechat-copy:disabled {
  opacity: 0.7;
  cursor: wait;
}
.wechat-close:focus-visible,
.wechat-copy:focus-visible,
.wechat-id:focus-visible {
  outline: 2px solid #956817;
  outline-offset: 3px;
}
.wechat-dialog .wechat-status {
  margin: 14px 0 0;
  font-size: 0.85rem;
}
.wechat-status[hidden] {
  display: none;
}
@media (max-width: 380px) {
  .wechat-dialog {
    padding: 18px;
  }
}


