.faq-laptop__head .section__title { font-size: clamp(1.5rem, 2.4vw, 2.125rem); }
.faq-laptop__head .section__lead { font-size: 1rem; }
.faq-laptop {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.faq-laptop__head { grid-column: 1; grid-row: 1; max-width: none; margin: 0; text-align: right; }
.faq-laptop .chat-count { grid-column: 1; grid-row: 2; }
.faq-laptop .chat-side  { grid-column: 1; grid-row: 3; }
.faq-laptop .chat-laptop     { grid-column: 2; grid-row: 1 / 4; align-self: center; }
.chat-count {
  margin: 0.6rem 0 0;
  font: 600 0.75rem/1.2 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  color: var(--color-primary);
}
.chat-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(0.35rem, 1.1svh, 0.65rem);
  margin-top: clamp(0.75rem, 2.4svh, 1.5rem);
}
.chat__pick {
  flex: 0 0 auto;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(255, 0, 0, 0.35);
  border-radius: 18px;
  border-bottom-right-radius: 4px;   
  background-color: var(--color-surface);
  color: var(--color-text-strong);
  font: 600 0.9375rem/1.3 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), opacity 0.3s var(--ease-out), transform 0.35s var(--ease-out);
}
.chat__pick:hover { transform: translateX(6px); background-color: var(--color-primary); border-color: var(--color-primary); }
.chat__pick:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.chat__pick.is-asked {
  border-color: transparent;
  background-color: rgba(255, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.6);
}
.chat__pick.is-asked::after { content: " ✓"; font-weight: 800; color: var(--color-primary); }
.chat__pick.is-asked:hover { background-color: var(--color-primary); color: var(--color-text-strong); }
.chat__pick.is-asked:hover::after { color: var(--color-text-strong); }
.chat__pick.is-current { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.3); }
.chat__pick:disabled { opacity: 0.5; cursor: wait; }
.chat__pick:disabled:hover { transform: none; }
.chat-laptop {
  --screen-h: clamp(280px, calc(100svh - 88px - 7.5rem), 500px);
  justify-self: center;
  width: min(100%, calc(var(--screen-h) * 1.5 + 30px));
}
.chat-laptop__screen {
  position: relative;
  padding: 16px 15px 15px;
  border: 1px solid #2c2c2c;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(180deg, #1b1b1b, #0f0f0f);
  box-shadow: 0 30px 70px -30px rgba(255, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.chat-laptop__cam {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background-color: #333;
  box-shadow: 0 0 0 1.5px #1a1a1a;
}
.chat-laptop__display {
  position: relative;
  display: flex;
  flex-direction: column;
  height: var(--screen-h);
  overflow: hidden;
  border-radius: 6px;
  background-color: #0b0b0b;
}
.chat-laptop__base {
  position: relative;
  height: 16px;
  margin: 0 -7%;
  border-radius: 2px 2px 16px 16px;
  background: linear-gradient(180deg, #3a3a3a 0%, #232323 45%, #121212 100%);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.8);
}
.chat-laptop__notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background-color: #141414;
}
.chat-laptop__browser {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.75rem;
  background-color: #161616;
  border-bottom: 1px solid #222;
}
.chat-laptop__dots { display: flex; gap: 5px; }
.chat-laptop__dots i { width: 9px; height: 9px; border-radius: 50%; background-color: #3a3a3a; }
.chat-laptop__dots i:first-child { background-color: var(--color-primary); }
.chat-laptop__url {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  max-width: 300px;
  margin-inline: auto;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background-color: #0b0b0b;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
}
.chat-laptop__url svg { width: 11px; height: 11px; flex-shrink: 0; }
.chat__bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.9rem;
  background-color: #121212;
  border-bottom: 1px solid #1f1f1f;
}
.chat__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--color-bg);
  border: 1px solid #2c2c2c;
}
.chat__avatar img { width: 30px; height: auto; }
.chat__who { display: flex; flex-direction: column; min-width: 0; }
.chat__who b { font-size: 0.9375rem; font-weight: 700; color: var(--color-text-strong); }
.chat__who small { font-size: 0.75rem; color: var(--color-whatsapp); transition: color 0.3s var(--ease-out); }
.chat__who small.is-typing { color: var(--color-primary); }
.chat__reply {
  margin-left: auto;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(255, 0, 0, 0.12);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #ff6b6b;
  white-space: nowrap;
}
.chat__log {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem 1.1rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='%23ff0000' fill-opacity='.07'%3E%3Cpath d='M12 6l4 4-4 4-4-4zM20 6l4 4-4 4-4-4zM12 14l4 4-4 4-4-4zM20 14l4 4-4 4-4-4z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 72px 72px,
    #0b0b0b;
}
.chat__day {
  align-self: center;
  padding: 0.2rem 0.7rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  font: 600 0.6875rem/1.4 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.chat__msg {
  position: relative;
  max-width: 78%;
  margin: 0;
  padding: 0.55rem 0.85rem 1.2rem;
  border-radius: 16px;
  font-size: 0.9375rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  animation: chatIn 0.45s var(--ease-out) both;
}
.chat__msg--them { align-self: flex-start; border-top-left-radius: 4px; background-color: #222; color: rgba(255, 255, 255, 0.92); }
.chat__msg--me {
  align-self: flex-end;
  border-top-right-radius: 4px;
  background-color: #8f0f0f;   
  color: var(--color-text-strong);
  font-weight: 600;
}
.chat__time {
  position: absolute;
  right: 0.7rem;
  bottom: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}
.chat__msg--me .chat__time::after { content: " ✓✓"; color: rgba(255, 255, 255, 0.45); letter-spacing: -0.15em; transition: color 0.4s var(--ease-out); }
.chat__msg--me.is-read .chat__time::after { color: #ff8a80; }   
.chat__msg.is-writing > span:first-child::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background-color: var(--color-primary);
  animation: chatCaret 0.8s steps(1) infinite;
}
.chat__typing { display: inline-flex; gap: 4px; padding: 0.85rem 1rem; }
.chat__typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  animation: chatDot 1.1s ease-in-out infinite;
}
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatIn { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes chatDot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes chatCaret { 50% { opacity: 0; } }
.chat__input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-top: 1px solid #1f1f1f;
  background-color: #121212;
}
.chat__field {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background-color: #1f1f1f;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat__send {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-text-strong);
}
.chat__send svg { width: 16px; height: 16px; }
.chat__data { flex: 1; min-height: 0; margin: 0; padding: 0.9rem 1.1rem; overflow-y: auto; font-size: 0.875rem; }
.chat__data dt { margin-top: 0.75rem; font-weight: 700; color: var(--color-text-strong); }
.chat__data dt:first-child { margin-top: 0; }
.chat__data dd { margin: 0.2rem 0 0; }
.chat-laptop.is-ready .chat__data { display: none; }
.chat-laptop:not(.is-ready) .chat__log,
.chat-laptop:not(.is-ready) .chat__input { display: none; }
@media (prefers-reduced-motion: reduce) {
  .chat__msg, .chat__typing i, .chat__msg.is-writing > span:first-child::after { animation: none; }
}
@media (max-width: 1024px) {
  .chat__pick { white-space: normal; text-align: right; }
}
@media (max-width: 768px) {
  .faq-laptop { display: flex; flex-direction: column; }
  .faq-laptop__head,
  .chat-count { text-align: center; }
  .chat-count { margin-top: 0.35rem; font-size: 0.6875rem; }
  .chat-side { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.3rem; margin-top: 0.6rem; }
  .chat__pick { padding: 0.38rem 0.6rem; border-radius: 999px; font-size: 0.75rem; white-space: nowrap; }
  .chat__pick:hover { transform: none; }
  .chat-laptop {
    --screen-h: 380px;
    width: 100%;
    margin-top: 0.8rem;
  }
  .chat-laptop__screen { padding: 10px 8px 8px; border-radius: 14px 14px 5px 5px; }
  .chat-laptop__cam { top: 3px; width: 4px; height: 4px; margin-left: -2px; }
  .chat-laptop__base { height: 10px; margin: 0 -4%; }
  .chat-laptop__browser,
  .chat__reply { display: none; }
  .chat__bar { padding: 0.45rem 0.7rem; }
  .chat__avatar { width: 32px; height: 32px; }
  .chat__avatar img { width: 25px; }
  .chat__log { padding: 0.7rem 0.75rem; }
  .chat__msg { max-width: 88%; font-size: 0.8125rem; }
  .chat__input { padding: 0.45rem 0.6rem; }
  .chat__send { width: 30px; height: 30px; }
}
