/* Web Chat: a practice website and its conversation, in one compact scene. */
.service-web-chat .web-chat-hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 48px;
}
.web-chat-browser {
  border: 1px solid #d7c9e5;
  border-radius: 16px;
  background: #f0ebf5;
  box-shadow: 0 20px 40px -32px #302b3b66;
  overflow: hidden;
}
.web-chat-browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 17px;
  border-bottom: 1px solid #dcd2e6;
  background: #e9e3f1;
  font-size: 0.875rem;
  color: #675676;
}
.web-chat-browser-bar > svg {
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: var(--purple);
}
.web-chat-browser-dots {
  display: flex;
  gap: 5px;
}
.web-chat-browser-dots i {
  display: block;
  width: 6px;
  height: 6px;
  background: #b9a9ca;
  border-radius: 50%;
}
.web-chat-browser-body {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 18px;
  padding: 24px 20px;
}
.web-chat-site-copy {
  padding-top: 5px;
  min-width: 0;
}
.web-chat-site-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #76618b;
  font-weight: 700;
}
.web-chat-site-mark svg {
  width: 20px;
  height: 20px;
}
.web-chat-site-copy > strong {
  display: block;
  margin-top: 31px;
  color: #5b466f;
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.web-chat-site-copy > p {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #7f6e8d;
}
.web-chat-site-rule {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: #e0d7e9;
  margin-top: 30px;
  width: 90%;
}
.web-chat-site-rule.short {
  width: 65%;
  margin-top: 9px;
}
.web-chat-site-caption {
  margin-top: 37px;
  font-size: 0.875rem;
  color: #7c698b;
  line-height: 1.6;
}
.web-chat-window {
  min-width: 0;
  background: #fff;
  border: 1px solid #d2c3e0;
  border-radius: 13px;
  box-shadow: 0 12px 22px -19px #302b3b88;
  overflow: hidden;
}
.web-chat-window-head {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 17px;
  background: #faf8fc;
  border-bottom: 1px solid #e8e0ee;
}
.web-chat-window-head img {
  flex-shrink: 0;
}
.web-chat-window-head strong {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.web-chat-window-head span {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}
.web-chat-conversation {
  padding: 19px 15px 17px;
}
.web-chat-question {
  border-radius: 10px 10px 3px 10px;
  padding: 13px 14px;
  background: #f4f1ec;
  color: #504751;
  margin-left: 22px;
  font-size: 1rem;
  line-height: 1.6;
}
.web-chat-answer {
  margin: 15px 18px 0 0;
  padding: 13px 14px;
  border-radius: 10px 10px 10px 3px;
  background: #eee7f6;
}
.web-chat-answer > span {
  display: block;
  margin-bottom: 6px;
  color: #79608f;
  font-size: 0.875rem;
  line-height: 1.5;
}
.web-chat-answer p {
  font-size: 1rem;
  line-height: 1.6;
  color: #54425f;
}
.web-chat-next {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid #eee8f2;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #586e5b;
}
.web-chat-next svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
}
.web-chat-browser figcaption {
  padding: 0 20px 15px;
  font-size: 0.75rem;
  color: #796c85;
  line-height: 1.6;
}
@media (max-width: 1100px) {
  .service-web-chat .web-chat-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 30px;
  }
  .web-chat-browser-body {
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
    gap: 12px;
    padding: 20px 15px;
  }
  .web-chat-site-copy > strong {
    font-size: 1.125rem;
  }
  .web-chat-site-mark {
    flex-direction: column;
    align-items: flex-start;
  }
  .web-chat-window-head {
    padding: 14px 12px;
  }
  .web-chat-conversation {
    padding-inline: 12px;
  }
  .web-chat-question {
    margin-left: 10px;
  }
  .web-chat-answer {
    margin-right: 8px;
  }
}
@media (max-width: 900px) {
  .service-web-chat .web-chat-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
  }
  .web-chat-browser {
    max-width: 650px;
  }
  .web-chat-browser-body {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    padding: 23px;
    gap: 23px;
  }
  .web-chat-site-mark {
    flex-direction: row;
    align-items: center;
  }
  .web-chat-site-copy > strong {
    font-size: 1.375rem;
  }
}
@media (max-width: 600px) {
  .service-web-chat .web-chat-hero {
    gap: 24px;
  }
  .web-chat-browser-bar {
    padding: 11px 13px;
    gap: 12px;
  }
  .web-chat-browser-body {
    display: block;
    padding: 14px;
  }
  .web-chat-site-copy {
    display: none;
  }
  .web-chat-window-head {
    padding: 14px;
  }
  .web-chat-conversation {
    padding: 16px 13px;
  }
  .web-chat-question {
    margin-left: 20px;
  }
  .web-chat-answer {
    margin-right: 15px;
  }
  .web-chat-browser figcaption {
    padding-inline: 16px;
  }
}
@media (max-width: 360px) {
  .web-chat-browser-bar {
    gap: 8px;
    font-size: 0.8125rem;
  }
  .web-chat-browser-dots {
    gap: 3px;
  }
  .web-chat-browser-dots i {
    width: 4px;
    height: 4px;
  }
  .web-chat-browser-body {
    padding: 10px;
  }
  .web-chat-question,
  .web-chat-answer {
    margin-inline: 0;
    padding: 12px;
  }
}
