/* ST Future — Contact Us page & live chat widget */
.st-contact-page {
  min-height: 55vh;
  padding: 40px 16px 72px;
  background: #f8fafb;
}
.st-contact-hero {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}
.st-contact-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display, Marcellus, Georgia, serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.45rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #212121;
}
.st-contact-hero p {
  margin: 0;
  color: #607d8b;
  line-height: 1.65;
  font-size: 12pt;
}
.st-contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
@media (min-width: 960px) {
  .st-contact-layout {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
}
.st-contact-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.st-contact-channels {
  display: grid;
  gap: 16px;
}
@media (min-width: 600px) {
  .st-contact-channels {
    grid-template-columns: 1fr 1fr;
  }
}
.st-channel-card {
  background: #fff;
  border: 1px solid #e0e6ea;
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.st-channel-card h2 {
  margin: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.st-channel-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0;
  line-height: 0;
  color: #fff;
  overflow: hidden;
}
.st-channel-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.st-channel-icon--wa {
  background: #25d366;
}
.st-channel-icon--wx {
  background: #07c160;
}
.st-channel-card p {
  margin: 0;
  color: #607d8b;
  font-size: 12pt;
  line-height: 1.55;
}
.st-channel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 12pt;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}
.st-btn:hover {
  opacity: 0.88;
  text-decoration: none;
}
.st-btn--wa {
  background: #25d366;
  color: #fff;
}
.st-btn--wx {
  background: #07c160;
  color: #fff;
}
.st-btn--outline {
  background: #fff;
  color: #37474f;
  border: 1px solid #cfd8dc;
}
.st-btn--dark {
  background: #263238;
  color: #fff;
}
.st-wechat-qr {
  display: flex;
  align-items: center;
  gap: 16px;
}
.st-wechat-qr img {
  width: 100px;
  height: 100px;
  border: 1px solid #e0e6ea;
  border-radius: 4px;
  background: #fff;
}
.st-wechat-id {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12pt;
  font-weight: 600;
  color: #263238;
}
.st-contact-info {
  background: #fff;
  border: 1px solid #e0e6ea;
  border-radius: 4px;
  padding: 20px 24px;
}
.st-contact-info h2 {
  margin: 0 0 14px;
  font-size: 18px;
}
.st-contact-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 12pt;
}
.st-contact-info dt {
  color: #90a4ae;
  font-weight: 600;
}
.st-contact-info dd {
  margin: 0;
  color: #37474f;
}
.st-contact-info a {
  color: #212121;
  font-weight: 700;
  text-decoration: none;
}
.st-contact-info a:hover {
  color: #212121;
  text-decoration: underline;
}
.st-contact-form-box {
  background: #fff;
  border: 1px solid #e0e6ea;
  border-radius: 4px;
  padding: 24px;
}
.st-contact-form-box h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.st-contact-form-box .st-form-lead {
  margin: 0 0 20px;
  color: #607d8b;
  font-size: 12pt;
}
.st-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.st-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12pt;
  font-weight: 600;
  color: #455a64;
}
.st-contact-form input,
.st-contact-form select,
.st-contact-form textarea {
  padding: 10px 12px;
  border: 1px solid #cfd8dc;
  border-radius: 2px;
  font-size: 12pt;
  font-family: inherit;
}
.st-contact-form textarea {
  min-height: 110px;
  resize: vertical;
}
.st-contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .st-contact-form-row {
    grid-template-columns: 1fr;
  }
}
.st-contact-message {
  padding: 10px 14px;
  border-radius: 2px;
  font-size: 12pt;
  display: none;
}
.st-contact-message.is-visible {
  display: block;
}
.st-contact-message--ok {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.st-contact-message--err {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}
/* Live chat panel */
.st-chat-panel {
  background: #fff;
  border: 1px solid #e0e6ea;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  height: 520px;
  position: sticky;
  top: 56px;
}
.st-chat-header {
  padding: 14px 16px;
  background: #212121;
  color: #fff;
  border-radius: 4px 4px 0 0;
}
.st-chat-header h2 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}
.st-chat-header p {
  margin: 4px 0 0;
  font-size: 12pt;
  opacity: 0.75;
}
.st-chat-thread {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafbfc;
}
.st-chat-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12pt;
  line-height: 1.5;
  word-break: break-word;
}
.st-chat-bubble--visitor {
  align-self: flex-end;
  background: #212121;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.st-chat-bubble--agent {
  align-self: flex-start;
  background: #fff;
  color: #37474f;
  border: 1px solid #e0e6ea;
  border-bottom-left-radius: 4px;
}
.st-chat-bubble time {
  display: block;
  font-size: 12pt;
  opacity: 0.65;
  margin-top: 4px;
}
.st-chat-empty {
  text-align: center;
  color: #90a4ae;
  font-size: 12pt;
  margin: auto;
  padding: 20px;
}
.st-chat-compose {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e0e6ea;
  background: #fff;
  border-radius: 0 0 4px 4px;
  align-items: flex-start;
}
.st-chat-compose__fields {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.st-chat-compose input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cfd8dc;
  border-radius: 2px;
  font-size: 12pt;
  font-family: inherit;
}
.st-chat-compose button {
  padding: 10px 14px;
  background: #212121;
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12pt;
  align-self: stretch;
}
.st-chat-compose button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.st-contact-privacy {
  flex: 1 0 100%;
  margin: 4px 0 0;
  font-size: 12pt;
  line-height: 1.45;
  color: #78909c;
}
.st-contact-form .st-contact-privacy {
  margin-top: 12px;
}
.st-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 10px;
  background: #fff;
}
.st-chat-quick button {
  padding: 5px 10px;
  font-size: 12pt;
  border: 1px solid #cfd8dc;
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  color: #546e7a;
}
.st-chat-quick button:hover {
  background: #f5f5f5;
}
/* Floating widget */
.st-contact-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1700;
  font-family: var(--font-sans, "Segoe UI", sans-serif);
}
.st-contact-float-panel {
  width: 300px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  margin-bottom: 12px;
  display: none;
  animation: stFloatIn 0.2s ease;
}
.st-contact-float-panel.is-open {
  display: block;
}
@keyframes stFloatIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.st-contact-float-head {
  background: #263238;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.st-contact-float-head h3 {
  margin: 0;
  font-size: 12pt;
}
.st-contact-float-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.st-contact-float-body {
  padding: 12px 0;
}
.st-contact-float-body a,
.st-contact-float-body button.st-float-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #37474f;
  text-decoration: none;
  font-size: 12pt;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.st-contact-float-body a:hover,
.st-contact-float-body button.st-float-link:hover {
  background: #f5f7f8;
}
.st-contact-float-launch {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #CFB080;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: transform 0.15s;
}
.st-contact-float-launch:hover {
  transform: scale(1.05);
}
.st-contact-float-launch.has-unread::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #e53935;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* Back to top — sits above the contact bubble */
.st-back-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 1699;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #CFB080;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.st-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.st-back-top:hover,
.st-back-top:focus {
  transform: translateY(-2px);
  outline: none;
}
.st-back-top svg {
  width: 20px;
  height: 20px;
  display: block;
}
@media (max-width: 767px) {
  .st-back-top {
    right: 14px;
    bottom: 82px;
    width: 44px;
    height: 44px;
  }
}

/* Right-side contact bar — matches st-future.com onlinebox_one */
.st-onlinebox.onlinebox {
  position: fixed;
  top: 300px;
  right: 8px;
  z-index: 1699;
  width: 68px;
  background: transparent !important;
  box-shadow: none !important;
}

.st-onlinebox .onlinebox_one_list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.st-onlinebox .onlinebox_one_list .st-onlinebox-close-wrap {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
}

.st-onlinebox .onlinebox_one_list .close {
  display: block;
  width: 68px;
  height: 24px;
  line-height: 24px;
  font-style: normal;
  color: #fff;
  font-size: 12pt;
  cursor: pointer;
  background: #CFB080 !important;
}

.st-onlinebox .online-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 60px;
  padding: 0;
  margin: 0;
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  box-sizing: border-box;
  background: #CFB080 !important;
  flex-shrink: 0;
}

.st-onlinebox .onlinebox-open {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 40px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  background: #CFB080 !important;
}

.st-onlinebox .online-item .st-online-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  color: #fff;
  flex-shrink: 0;
}

.st-onlinebox .online-item .st-online-item-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* Optical size normalization — icons share the same visual footprint */
.st-onlinebox .st-online-item-icon--whatsapp svg {
  transform: scale(0.9);
  transform-origin: center;
}

.st-onlinebox .st-online-item-icon--contact svg {
  transform: scale(0.92);
  transform-origin: center;
}

.st-onlinebox .st-online-item-icon--email svg {
  transform: scale(0.92);
  transform-origin: center;
}

.st-onlinebox .st-online-item-icon--linkedin svg {
  transform: scale(0.84);
  transform-origin: center;
}

.st-onlinebox .onlinebox-open .st-online-item-icon {
  margin: 0 auto;
}

.st-onlinebox .onlinebox-open .st-online-item-icon--menu svg {
  transform: scale(1.02);
  transform-origin: center;
}

.st-onlinebox .online-item .fa {
  display: block;
  font-size: 18px;
  line-height: 18px;
  color: #fff;
}

.st-onlinebox .online-item p {
  margin: 3px 0 0;
  padding: 0;
  width: 100%;
  font-size: 12pt;
  line-height: 1.15;
  color: #fff;
  text-align: center;
}

.st-onlinebox .online-item:hover,
.st-onlinebox .online-item:focus {
  opacity: 0.92;
  text-decoration: none !important;
}

.st-onlinebox .st-online-wa {
  position: relative;
}

.st-onlinebox .st-online-wa-pop {
  display: none;
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.st-onlinebox .st-online-wa-pop::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #fff;
}

.st-onlinebox .st-online-wa-pop img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.st-onlinebox .st-online-wa:hover .st-online-wa-pop,
.st-onlinebox .st-online-wa:focus .st-online-wa-pop,
.st-onlinebox .st-online-wa:focus-within .st-online-wa-pop {
  display: block;
}

@media (max-width: 767px) {
  .st-onlinebox.onlinebox {
    top: auto;
    bottom: 120px;
    right: 8px;
  }
}

/* Shared inquiry — contact form intent chips */
.st-contact-intent-row,
.st-contact-form-box .st-inq-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.st-contact-intent-row button,
.st-contact-form-box .st-inq-quick button {
  border: 1px solid #cfd8dc;
  background: #fff;
  color: #37474f;
  padding: 8px 12px;
  font-size: 12pt;
  cursor: pointer;
  border-radius: 2px;
}
.st-contact-intent-row button.is-active,
.st-contact-form-box .st-inq-quick button.is-active {
  border-color: #212121;
  background: #212121;
  color: #fff;
}
