:root {
  --bg: #070b14;
  --bg-alt: #0b1120;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --fg: #e9eef7;
  --muted: #93a1bb;
  --accent: #1e7bff;
  --accent-2: #56b8ff;
  --dark: #2f3336;
  --radius: 16px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


h1,
h2,
h3,
h4,
.nav__brand {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.15rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(30, 123, 255, 0.22), transparent 65%),
    radial-gradient(700px 420px at 5% 20%, rgba(86, 184, 255, 0.1), transparent 60%),
    linear-gradient(transparent 95%, rgba(255, 255, 255, 0.045) 96%) 0 0 / 100% 46px,
    linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.045) 96%) 0 0 / 46px 100%,
    var(--bg);
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.nav.is-stuck {
  background: rgba(7, 11, 20, 0.82);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.95rem;
  letter-spacing: -0.01em;
}

.nav__brand b {
  color: var(--accent-2);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav__links a {
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--fg);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 14px 34px -14px rgba(30, 123, 255, 0.9);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px -14px rgba(30, 123, 255, 1);
}

.btn--sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
  color: var(--fg);
}

.btn--ghost:hover {
  border-color: var(--accent);
  box-shadow: none;
}

.tag,
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
}

.tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  background: var(--surface);
}

.grad {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
  margin-top: 1rem;
}

.lead--center {
  margin-inline: auto;
}

/* hero */
.hero {
  padding: clamp(3.5rem, 9vw, 7rem) 0 4rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  margin: 1.1rem 0 0;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
}

.hero__stats dt {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-2);
}

.hero__stats dd {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.hero__logo {
  width: min(78%, 340px);
  filter: brightness(0) invert(1) drop-shadow(0 0 40px rgba(30, 123, 255, 0.35));
  opacity: 0.95;
}

.orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(86, 184, 255, 0.5), transparent 62%);
  filter: blur(28px);
  animation: float 9s ease-in-out infinite;
}

.chip {
  position: absolute;
  font-size: 0.8rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(11, 17, 32, 0.85);
  border: 1px solid var(--border);
  color: var(--muted);
  animation: float 7s ease-in-out infinite;
}

.chip--1 {
  bottom: 6%;
  left: 0;
}

.chip--2 {
  bottom: 12%;
  right: 0;
  animation-delay: 1.4s;
}

.chip--3 {
  bottom: 0;
  left: 35%;
  animation-delay: 2.6s;
}

.chip--4 {
  top: 5px;
  left: 32%;
  animation-delay: 3.6s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* sections */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(11, 17, 32, 0.85), transparent);
}

.section__head {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section__head h2 {
  margin-top: 0.7rem;
}

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards--5 {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 123, 255, 0.5);
  background: rgba(30, 123, 255, 0.06);
}

.card:hover::after {
  opacity: 1;
}

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 123, 255, 0.28), rgba(86, 184, 255, 0.12));
  color: var(--accent-2);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.card p {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.card ul {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.4rem;
}

.card ul li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.card ul li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.card--sm {
  text-align: center;
}

/* split / automation */
.split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.split h2 {
  margin-top: 0.6rem;
}

.split .btn {
  margin-top: 2rem;
}

.check {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.7rem;
}

.check li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
}

.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-2);
  font-weight: 700;
}

.flow {
  display: grid;
  gap: 0.4rem;
}

.flow__step {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  transition: border-color 0.25s, transform 0.25s;
}

.flow__step:hover {
  border-color: rgba(30, 123, 255, 0.55);
  transform: translateX(5px);
}

.flow__num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  color: var(--accent-2);
  letter-spacing: 0.1em;
}

.flow__step p {
  color: var(--muted);
  font-size: 0.9rem;
}

.flow__arrow {
  text-align: center;
  color: var(--accent);
  opacity: 0.6;
}

/* pipeline */
.pipeline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pipeline__node {
  flex: 1 1 160px;
  min-width: 150px;
  text-align: center;
  padding: 1.1rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.pipeline__node b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
}

.pipeline__node span {
  font-size: 0.8rem;
  color: var(--muted);
}

.pipeline__node--end {
  border-color: rgba(30, 123, 255, 0.6);
  background: rgba(30, 123, 255, 0.1);
}

.pipeline__link {
  flex: 0 0 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  background-size: 200% 100%;
  animation: dataflow 2.2s linear infinite;
}

@keyframes dataflow {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

/* stack */
.stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stack__col h4 {
  color: var(--accent-2);
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pills span {
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  transition: 0.2s;
}

.pills span:hover {
  color: var(--fg);
  border-color: var(--accent);
}

/* cta + form */
.cta__inner {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(30, 123, 255, 0.18), transparent 70%), var(--bg-alt);
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.contact__visual img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -20px rgba(30, 123, 255, 0.25);
}

.contact__info {
  text-align: center;
}

.contact__info .eyebrow {
  margin-bottom: 0.5rem;
}

.contact__info h2 {
  margin-bottom: 0.6rem;
}

.contact__info p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 1.5rem;
}

.contact__email-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  max-width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact__email-box:hover {
  border-color: rgba(30, 123, 255, 0.5);
  box-shadow: 0 0 24px rgba(30, 123, 255, 0.18);
}

.contact__email-link {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}

.contact__email-link:hover {
  color: var(--accent-2);
}

.btn--copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.copy-msg {
  font-size: 0.88rem;
  color: var(--accent-2);
  min-height: 1.4em;
  margin-top: 0.75rem;
  text-align: center;
}

/* footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.2rem 0;
  margin-top: 2rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__logo {
  width: 130px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer p {
  color: var(--muted);
  font-size: 0.85rem;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {

  .hero__inner,
  .split {
    grid-template-columns: 1fr;
  }

  .cards,
  .cards--4,
  .cards--5,
  .stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav__links {
    position: absolute;
    top: 100%;
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(7, 11, 20, 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem;
    display: none;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }
}

@media (max-width: 620px) {

  .cards,
  .cards--4,
  .cards--5,
  .stack {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .contact__visual {
    order: 1;
  }

  .contact__info {
    order: 0;
  }

  .contact__email-box {
    flex-direction: column;
    border-radius: 16px;
    padding: 1rem;
    gap: 0.8rem;
    width: 100%;
  }

  .btn--copy {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ════════════════════════════════════════
   CHATBOT FLOTANTE
════════════════════════════════════════ */
.chatbot {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.75rem;
}

/* ── FAB button ── */
.chatbot__fab {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 32px -8px rgba(30, 123, 255, 0.85);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  animation: chatPulse 3.5s ease-in-out infinite;
}

.chatbot__fab:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 44px -8px rgba(30, 123, 255, 1);
  animation: none;
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 8px 32px -8px rgba(30, 123, 255, 0.85); }
  50% { box-shadow: 0 8px 44px -4px rgba(86, 184, 255, 0.95); }
}

.chatbot__fab-icon {
  color: #fff;
  transition: opacity 0.2s, transform 0.3s;
  position: absolute;
}

.chatbot__fab-icon--chat  { opacity: 1; transform: scale(1) rotate(0deg); }
.chatbot__fab-icon--close { opacity: 0; transform: scale(0.6) rotate(-45deg); }

.chatbot.is-open .chatbot__fab-icon--chat  { opacity: 0; transform: scale(0.6) rotate(45deg); }
.chatbot.is-open .chatbot__fab-icon--close { opacity: 1; transform: scale(1) rotate(0deg); }

/* Badge de notificación */
.chatbot__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff4b4b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
  animation: badgePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transition: opacity 0.2s, transform 0.2s;
}

.chatbot__badge.is-hidden {
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

@keyframes badgePop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* ── Ventana del chat ── */
.chatbot__window {
  width: min(360px, calc(100vw - 2rem));
  background: rgba(10, 16, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(30, 123, 255, 0.25);
  border-radius: 20px;
  box-shadow:
    0 32px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 -1px 0 0 rgba(30,123,255,0.15) inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  /* Animación de entrada/salida */
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom right;
}

.chatbot.is-open .chatbot__window {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ── Header ── */
.chatbot__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(30,123,255,0.22), rgba(86,184,255,0.08));
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.chatbot__avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.chatbot__online {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid rgba(10,16,30,0.95);
  animation: onlinePulse 2.5s ease-in-out infinite;
}

@keyframes onlinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

.chatbot__header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.chatbot__header-info strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  color: var(--fg);
}

.chatbot__header-info span {
  font-size: 0.75rem;
  color: var(--muted);
}

.chatbot__close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  display: grid;
  place-items: center;
}

.chatbot__close:hover {
  color: var(--fg);
  background: rgba(255,255,255,0.07);
}

/* ── Mensajes ── */
.chatbot__messages {
  flex: 1;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  min-height: 220px;
  max-height: 320px;
  scrollbar-width: thin;
  scrollbar-color: rgba(30,123,255,0.3) transparent;
}

.chatbot__messages::-webkit-scrollbar { width: 4px; }
.chatbot__messages::-webkit-scrollbar-thumb { background: rgba(30,123,255,0.35); border-radius: 4px; }

/* Burbuja de bot */
.chat-bubble {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  animation: bubbleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-bubble--bot .chat-bubble__text {
  background: rgba(30, 123, 255, 0.14);
  border: 1px solid rgba(30, 123, 255, 0.22);
  border-bottom-left-radius: 4px;
  color: var(--fg);
  margin-right: auto;
}

.chat-bubble--user {
  flex-direction: row-reverse;
}

.chat-bubble--user .chat-bubble__text {
  background: linear-gradient(135deg, var(--accent), #1a6de0);
  border: none;
  border-bottom-right-radius: 4px;
  color: #fff;
  margin-left: auto;
}

.chat-bubble__text {
  max-width: 78%;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Indicador de escritura */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.65rem 0.9rem;
  background: rgba(30, 123, 255, 0.14);
  border: 1px solid rgba(30, 123, 255, 0.22);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
  animation: bubbleIn 0.35s both;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: typingDot 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* ── Área de input ── */
.chatbot__input-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.15);
}

.chatbot__input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  color: var(--fg);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.chatbot__input::placeholder { color: var(--muted); }

.chatbot__input:focus {
  border-color: rgba(30, 123, 255, 0.55);
  background: rgba(30, 123, 255, 0.06);
}

.chatbot__input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chatbot__send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  cursor: pointer;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px -4px rgba(30,123,255,0.7);
}

.chatbot__send:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px -4px rgba(30,123,255,1);
}

.chatbot__send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .chatbot {
    bottom: 1rem;
    right: 1rem;
  }

  .chatbot__window {
    width: calc(100vw - 2rem);
    border-radius: 16px;
  }
}