/* Tipografía */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f7f6f5;
  color: #000;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  color: #111;
}

.chat-powered-by { /* n8n powered */
  display: none;
}

/* Logo */
.logo-img {
  max-height: 34px;
  width: auto;
  display: block;
  padding-top: 2px;
}

/* Avatares */
.avatar {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
}

/* Botones corporativos */
.btn-pink {
  background-color: #FF0066;
  color: #fff;
  border-radius: 5px;
  font-weight: 500;
  padding: 12px 25px;
  transition: background 0.3s ease;
}

.btn-pink:hover {
  background-color: #cc0052;
  color: #fff;
}

/* Rosa corporativo para header */
.bg-corporativo {
  background-color: #FF0066 !important;
  color: #fff !important;
}

/* Alineación de los mensajes de chat a la izquierda */
#mi-chat,
#mi-chat p,
#mi-chat div {
    text-align: left !important;
}

.chat-header {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.benefits-box {

}

/* Hover sutil en links */
.navbar-nav .nav-link {
  position: relative;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #d63384; /* un rosa similar al btn-pink */
}

/* Línea decorativa al pasar hover */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #d63384;
  transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

b, strong {
  font-weight: 500;
  color: #111;
}

/* Ajuste para mobile: más espacio entre items */
@media (max-width: 767.98px) {
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }

  nav-link {
    font-size: 20px; /* más grande en móvil */
  }
}

/* ========================= */
/* Botón flotante de WhatsApp */
:root{
  --wa-size: 65px;          /* Tamaño del botón */
  --wa-gap: 15px;           /* Separación del borde */
  --wa-bg: #25D366;         /* Color WhatsApp */
  --wa-bg-hover: #1EBE5D;   /* Hover */
  --wa-shadow: 0 10px 18px rgba(0,0,0,.18), 0 6px 6px rgba(0,0,0,.12);
}

/* Por defecto oculto */
.wa-fab,
.wa-bubble {
  display: none;
}

/* Solo visible en móvil */
@media (max-width: 767.98px) {
  .wa-fab { display: inline-flex; }
  .wa-bubble { display: block; }
}

.wa-fab{
  position: fixed;
  right: var(--wa-gap);
  bottom: var(--wa-gap);
  width: var(--wa-size);
  height: var(--wa-size);
  border-radius: 999px;
  background: var(--wa-bg);
  align-items: center;
  justify-content: center;
  box-shadow: var(--wa-shadow);
  text-decoration: none;
  transition: transform .1s ease, background .2s ease;
  z-index: 9999;
}

.wa-fab:hover{ background: var(--wa-bg-hover); transform: translateY(-1px); }
.wa-fab:active{ transform: translateY(0); }
.wa-fab svg{ width: 80%; height: 80%; fill: #fff; }

/* Burbuja opcional de texto */
.wa-bubble{
  position: fixed;
  right: calc(var(--wa-gap) + var(--wa-size) + 10px);
  bottom: calc(var(--wa-gap) + 6px);
  background: #111827; /* gris muy oscuro */
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  font: 500 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  box-shadow: var(--wa-shadow);
  max-width: 240px;
}

.wa-bubble em{ font-style: normal; opacity: .85; }
.wa-bubble.hide{ display: none; }

@media (prefers-color-scheme: light){ .wa-bubble{ background:#111827; color:#fff; } }




