.sai-visual-showcase {
  grid-column: 1 / -1;
  order: 2;
  width: 100%;
  min-width: 0;
}

.sai-visual-shell {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.75rem;
  background: #071226;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.48);
}

.sai-visual-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.34) 42%, transparent 68%);
}

.sai-visual-shell img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.sai-visual-caption {
  position: absolute;
  z-index: 1;
  left: clamp(1.25rem, 4vw, 3.5rem);
  bottom: clamp(1.25rem, 5vw, 3.5rem);
  max-width: 31rem;
}

.sai-visual-kicker {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(52, 211, 153, 0.36);
  border-radius: 999px;
  background: rgba(6, 78, 59, 0.48);
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sai-visual-caption strong {
  display: block;
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.sai-visual-caption p {
  max-width: 28rem;
  margin: 1rem 0 0;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.65;
}

.sai-social {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.sai-social-label {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sai-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.sai-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.sai-social-link:hover,
.sai-social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.1);
  outline: none;
}

.sai-social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.sai-assistant-section {
  padding: 0 1.25rem 5rem;
}

.sai-assistant-shell {
  display: grid;
  max-width: 72rem;
  margin: 0 auto;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.sai-assistant-copy h2 {
  max-width: 34rem;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.sai-assistant-copy > p {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.75;
}

.sai-assistant-copy ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: #dbeafe;
  list-style: none;
}

.sai-assistant-copy li {
  position: relative;
  padding-left: 1.7rem;
}

.sai-assistant-copy li::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 0.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 0.3rem rgba(52, 211, 153, 0.12);
}

.sai-chat-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.5);
}

.sai-chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.sai-chat-header > div {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.sai-chat-header strong {
  color: #fff;
}

.sai-chat-header div span {
  color: #94a3b8;
  font-size: 0.76rem;
}

.sai-chat-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 0.8rem;
  color: #052e24;
  background: linear-gradient(135deg, #6ee7b7, #22d3ee);
  font-size: 0.78rem;
  font-weight: 900;
}

.sai-chat-status {
  margin-left: auto;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
}

.sai-chat-log {
  display: flex;
  min-height: 12rem;
  max-height: 20rem;
  padding: 1rem;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.sai-chat-message {
  max-width: 88%;
  padding: 0.78rem 0.95rem;
  border-radius: 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.sai-chat-message--assistant {
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem;
  color: #e2e8f0;
  background: #1e293b;
}

.sai-chat-message--user {
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem;
  color: #052e24;
  background: #6ee7b7;
}

.sai-chat-action {
  align-self: flex-start;
  margin-top: -0.25rem;
  padding: 0.62rem 0.82rem;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 0.75rem;
  color: #6ee7b7;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.sai-chat-action:hover,
.sai-chat-action:focus-visible {
  color: #052e24;
  background: #6ee7b7;
  outline: none;
}

.sai-chat-action--whatsapp {
  color: #052e24;
  background: #34d399;
}

.sai-chat-suggestions {
  display: flex;
  padding: 0 1rem 0.8rem;
  gap: 0.45rem;
  overflow-x: auto;
}

.sai-chat-suggestions button {
  flex: 0 0 auto;
  min-height: 2.45rem;
  padding: 0.5rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.sai-chat-suggestions button:hover,
.sai-chat-suggestions button:focus-visible {
  border-color: rgba(52, 211, 153, 0.46);
  color: #a7f3d0;
  outline: none;
}

.sai-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  padding: 0.9rem 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.sai-chat-form input {
  min-width: 0;
  min-height: 2.9rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.8rem;
  color: #fff;
  background: #020617;
  font: inherit;
  font-size: 0.9rem;
}

.sai-chat-form input::placeholder {
  color: #64748b;
}

.sai-chat-form input:focus-visible {
  border-color: #34d399;
  outline: 2px solid rgba(52, 211, 153, 0.2);
}

.sai-chat-form button {
  min-width: 4.6rem;
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 0.8rem;
  color: #052e24;
  background: #34d399;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
}

.sai-chat-form button:hover,
.sai-chat-form button:focus-visible {
  background: #6ee7b7;
  outline: none;
}

.sai-chat-note {
  margin: 0;
  padding: 0.65rem 1rem 1rem;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.5;
}

.sai-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 640px) {
  .sai-social {
    align-items: flex-end;
  }
}

@media (min-width: 900px) {
  .sai-assistant-shell {
    grid-template-columns: 0.88fr 1.12fr;
  }
}

@media (max-width: 767px) {
  .sai-visual-showcase {
    order: 0;
  }

  .sai-visual-shell::after {
    display: none;
  }

  .sai-visual-shell {
    border-radius: 1.25rem;
  }

  .sai-visual-shell img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  .sai-visual-caption {
    position: static;
    max-width: none;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.22), rgba(7, 18, 38, 0.98));
  }

  .sai-visual-caption strong {
    font-size: 1.35rem;
  }

  .sai-visual-caption p {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .sai-assistant-section {
    padding: 0 1rem 4rem;
  }

  .sai-chat-message {
    max-width: 94%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sai-social-link {
    transition: none;
  }
}
