.brand-symbol.logo-tile,
.brand-mark.logo-tile {
  width: 47px;
  height: 47px;
  padding: 4px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 30px rgba(15, 44, 112, 0.3),
    0 0 28px rgba(98, 112, 255, 0.22);
  overflow: hidden;
}

.brand-symbol.logo-tile img,
.brand-mark.logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-lockup {
  gap: 14px;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.05em;
}

.brand-copy small {
  margin-top: 6px;
  font-size: 9.5px;
}

.site-contact-dock {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 36px;
  display: grid;
  gap: 10px;
}

.site-contact-action {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 19, 26, 0.1);
  border-radius: 50%;
  color: var(--ink, #171a1f);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(20, 22, 45, 0.18);
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.site-contact-action:hover {
  transform: translateY(-3px);
}

.site-contact-action.phone {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #5674ff, #7654ee);
}

.site-contact-action.wechat {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #00b96b, #17a96a);
}

.site-contact-action.lead {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #ff9a2e, #f2743d);
}

.site-contact-action svg {
  width: 21px;
  height: 21px;
}

.site-contact-action .action-label {
  position: absolute;
  right: 61px;
  top: 50%;
  transform: translateY(-50%) translateX(5px);
  padding: 7px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 7, 13, 0.9);
  font-size: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-contact-action:hover .action-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

body.site-widget-ready .back-top {
  bottom: 156px;
}

.wechat-modal {
  position: fixed;
  z-index: 140;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 4, 10, 0.62);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.wechat-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.wechat-dialog {
  position: relative;
  width: min(430px, 100%);
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(24, 195, 113, 0.2), transparent 34%),
    linear-gradient(145deg, #0c1016, #111828);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.5);
}

.wechat-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.wechat-dialog > * {
  position: relative;
  z-index: 2;
}

.wechat-close {
  position: absolute;
  z-index: 3;
  right: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.wechat-logo {
  width: 54px;
  height: 54px;
  padding: 4px;
  border-radius: 15px;
  background: #fff;
}

.wechat-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wechat-kicker {
  display: block;
  margin-top: 22px;
  color: #6effb5;
  font-size: 9px;
  letter-spacing: 0.19em;
}

.wechat-dialog h3 {
  margin: 10px 0 0;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.wechat-dialog > p {
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  line-height: 1.8;
}

.wechat-id-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 21px;
  padding: 10px 10px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.wechat-id-box span {
  flex: 1;
  color: rgba(255, 255, 255, 0.9);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.wechat-copy-button,
.wechat-open-button {
  height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.wechat-copy-button {
  color: #052d1b;
  border-color: transparent;
  background: #6cffb5;
  font-weight: 600;
}

.wechat-copy-status {
  min-height: 18px;
  margin-top: 10px;
  color: #7cffbb;
  font-size: 10px;
}

.wechat-copy-status.is-error {
  color: #ffb0bf;
}

.wechat-copy-status textarea {
  width: 100%;
  min-height: 60px;
  margin-top: 8px;
  padding: 9px;
  resize: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
}

.wechat-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.wechat-steps div {
  padding: 11px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.025);
  font-size: 9px;
  line-height: 1.55;
}

.wechat-steps b {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 530;
}

.wechat-actions {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.wechat-actions > * {
  flex: 1;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
}

.wechat-open-button {
  background: rgba(255, 255, 255, 0.08);
}

.wechat-actions .wechat-tel {
  color: #fff;
  background: linear-gradient(135deg, #5674ff, #7654ee);
  font-size: 10px;
}

.site-lead-panel {
  position: fixed;
  z-index: 100;
  right: 84px;
  bottom: 30px;
  width: min(410px, calc(100vw - 110px));
  max-height: min(720px, calc(100vh - 120px));
  padding: 0;
  overflow-y: auto;
  border: 1px solid rgba(16, 19, 26, 0.1);
  border-radius: 20px;
  color: #171a1f;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 28px 80px rgba(20, 24, 55, 0.22);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(15px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-lead-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lead-panel-head {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 19px 13px;
  border-bottom: 1px solid #eef0f4;
  border-radius: 20px 20px 0 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
}

.lead-panel-head span {
  color: #1677ff;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.lead-panel-head b {
  display: block;
  margin-top: 7px;
  font-size: 19px;
  font-weight: 580;
}

.lead-panel-head button {
  min-width: 58px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid #e7eaf0;
  border-radius: 999px;
  color: #6f757e;
  background: #f7f8fa;
  font: inherit;
  font-size: 9px;
  cursor: pointer;
}

.lead-panel-head button span {
  color: #171a1f;
  font-size: 15px;
  line-height: 1;
}

.lead-panel-form {
  padding: 0 19px 19px;
}

.lead-panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.lead-panel-row label,
.lead-panel-full {
  display: block;
  margin-bottom: 9px;
  color: #6d727b;
  font-size: 9px;
}

.lead-panel-form input,
.lead-panel-form select,
.lead-panel-form textarea {
  width: 100%;
  margin-top: 5px;
  border: 1px solid #e4e7ec;
  border-radius: 9px;
  outline: none;
  color: #171a1f;
  background: #f7f8fb;
  font: inherit;
  font-size: 10px;
}

.lead-panel-form input,
.lead-panel-form select {
  height: 38px;
  padding: 0 10px;
}

.lead-panel-form textarea {
  min-height: 72px;
  padding: 10px;
  resize: vertical;
}

.lead-panel-form input:focus,
.lead-panel-form select:focus,
.lead-panel-form textarea:focus {
  border-color: rgba(22, 119, 255, 0.4);
  background: #fff;
}

.lead-consent {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7b818b;
  font-size: 9px;
  line-height: 1.5;
}

.lead-consent input {
  width: auto;
  height: auto;
  margin: 0;
}

.lead-panel-error {
  min-height: 18px;
  margin-top: 8px;
  color: #d84d5d;
  font-size: 9px;
}

.lead-panel-error.is-success {
  color: #008f59;
}

.lead-panel-submit {
  width: 100%;
  min-height: 41px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #6655ef);
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.18);
  font: inherit;
  font-size: 10.5px;
  cursor: pointer;
}

.nav-staff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 17px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(84, 105, 255, 0.9), rgba(124, 86, 240, 0.9));
  text-decoration: none;
  font-size: 12px;
  box-shadow: 0 10px 27px rgba(95, 76, 230, 0.23);
}

.mobile-access-only {
  display: none;
}

body.wechat-modal-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .nav-staff {
    display: none;
  }

  .main-nav.is-open .mobile-access-only {
    display: block;
    color: #a99cff;
  }
}

@media (max-width: 560px) {
  .site-contact-dock {
    right: 14px;
    bottom: 28px;
  }

  .site-contact-action {
    width: 46px;
    height: 46px;
  }

  body.site-widget-ready .back-top {
    bottom: 148px;
    right: 14px;
  }

  .wechat-dialog {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .wechat-steps {
    grid-template-columns: 1fr;
  }

  .site-lead-panel {
    right: 14px;
    bottom: 86px;
    width: calc(100vw - 28px);
    max-height: calc(100vh - 108px);
    padding: 0;
  }

  .lead-panel-row {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .lead-panel-head {
    padding: 15px 15px 11px;
  }

  .lead-panel-form {
    padding: 0 15px 15px;
  }

  .lead-panel-row label,
  .lead-panel-full {
    margin-bottom: 7px;
    font-size: 8.5px;
  }

  .lead-panel-form input,
  .lead-panel-form select {
    height: 35px;
    margin-top: 4px;
    font-size: 9.5px;
  }

  .lead-panel-form textarea {
    min-height: 58px;
    margin-top: 4px;
    font-size: 9.5px;
  }

}
