/* Demo de Aura en WhatsApp: el teléfono con la conversación real a la derecha, el porqué a la izquierda.
   Colores de la interfaz de WhatsApp para que se reconozca al instante; el resto sigue el sistema del sitio. */
.wa-pagina { min-height: 100dvh; padding: calc(var(--nav) + 40px) 0 48px; display: grid; grid-template-columns: 1fr minmax(320px, 400px); gap: clamp(28px, 6vw, 96px); align-items: center; }
.wa-texto .bajada { margin-bottom: 26px; }
.wa-puntos { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; max-width: 520px; }
.wa-puntos li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; color: var(--tinta-2); font-size: .98rem; }
.wa-puntos strong { display: block; color: var(--tinta); font-stretch: 110%; font-size: 1.05rem; }
.wa-puntos span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #e7f8ee; color: #128c4b; }
.wa-puntos .i { width: 22px; height: 22px; }
.wa-nota { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--superficie-2); color: var(--tinta-2); font-size: .92rem; max-width: 520px; }

.telefono { position: relative; width: 100%; max-width: 400px; justify-self: center; height: min(780px, calc(100dvh - var(--nav) - 64px)); min-height: 560px; border-radius: 52px; padding: 12px; background: #111214; box-shadow: 0 0 0 2px #2a2c30, 0 40px 90px -30px rgb(0 0 0 / .55); }
/* La pantalla queda fija dentro del marco (Safari no resolvía la altura y el chat se salía del teléfono). */
.telefono__pantalla { position: absolute; inset: 12px; border-radius: 42px; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #efeae2; position: relative; }

.wa-cabeza { display: flex; align-items: center; gap: 10px; padding: 34px 14px 10px; background: #008069; color: #fff; }
.wa-cabeza > .i { width: 22px; height: 22px; flex: none; }
.wa-avatar { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.wa-avatar__logo { width: 30px; aspect-ratio: 720 / 117; background: #131416; -webkit-mask: url('/img/marca/jetour.webp') center / contain no-repeat; mask: url('/img/marca/jetour.webp') center / contain no-repeat; }
.wa-cabeza__nombre { flex: 1; min-width: 0; line-height: 1.2; }
.wa-cabeza__nombre strong { display: flex; align-items: center; gap: 5px; font-size: 1rem; font-weight: 650; }
.wa-cabeza__nombre span { font-size: .78rem; opacity: .85; }
.wa-verificado { width: 16px; height: 16px; flex: none; }

.wa-chat {
  min-height: 0; overflow-y: auto; padding: 12px 10px 16px; display: flex; flex-direction: column; gap: 4px; overscroll-behavior: contain;
  background-color: #efeae2;
  background-image: radial-gradient(rgb(0 0 0 / .035) 1px, transparent 1.4px);
  background-size: 18px 18px;
  font-family: -apple-system, 'Helvetica Neue', 'Segoe UI', Roboto, sans-serif; font-stretch: 100%;
}
.wa-aviso { align-self: center; max-width: 88%; margin: 0 0 8px; padding: 6px 10px; border-radius: 8px; background: #ffeecd; color: #54656f; font-size: .72rem; text-align: center; line-height: 1.35; }
.wa-burbuja { position: relative; max-width: 84%; padding: 6px 9px 18px; border-radius: 9px; font-size: .9rem; line-height: 1.4; color: #111b21; box-shadow: 0 1px .5px rgb(11 20 26 / .13); white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 4px; }
.wa-burbuja a { color: #027eb5; }
.wa-burbuja--entra { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
.wa-burbuja--sale { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 0; }
.wa-hora { position: absolute; right: 8px; bottom: 3px; font-size: .66rem; color: #667781; display: inline-flex; align-items: center; gap: 3px; }
.wa-hora svg { width: 15px; height: 11px; }
.wa-escribiendo { align-self: flex-start; display: inline-flex; gap: 4px; padding: 11px 13px; border-radius: 9px; border-top-left-radius: 0; background: #fff; margin-top: 4px; box-shadow: 0 1px .5px rgb(11 20 26 / .13); }
.wa-escribiendo i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: punto 1.2s infinite ease-in-out; }
.wa-escribiendo i:nth-child(2) { animation-delay: .15s; } .wa-escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes punto { 0%, 80%, 100% { opacity: .35; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wa-escribiendo i { animation: none; } }

/* Botones de respuesta rápida, como los mensajes interactivos de WhatsApp Business. */
.wa-botones { align-self: flex-start; width: 84%; display: grid; gap: 4px; margin-top: 2px; }
.wa-botones button, .wa-botones a { border: 0; border-radius: 9px; background: #fff; color: #027eb5; font: 600 .88rem/1.2 -apple-system, 'Helvetica Neue', sans-serif; padding: 10px; cursor: pointer; text-align: center; text-decoration: none; box-shadow: 0 1px .5px rgb(11 20 26 / .13); }
.wa-botones button:hover, .wa-botones a:hover { background: #f5f6f6; }
.wa-tarjeta { align-self: flex-start; width: 84%; border-radius: 9px; background: #fff; overflow: hidden; box-shadow: 0 1px .5px rgb(11 20 26 / .13); margin-top: 4px; font-family: -apple-system, 'Helvetica Neue', sans-serif; }
.wa-tarjeta img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; background: #fff; }
.wa-tarjeta div { padding: 8px 10px 10px; display: grid; gap: 2px; background: #f7f8fa; }
.wa-tarjeta strong { font-size: .88rem; color: #111b21; }
.wa-tarjeta span { font-size: .76rem; color: #667781; }
.wa-tarjeta--cita div { background: #fff; }
.wa-tarjeta--cita b { font-size: 1.15rem; letter-spacing: .04em; color: #111b21; }

.wa-escribir { display: flex; gap: 6px; padding: 8px 8px 14px; background: #efeae2; }
.wa-escribir input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 22px; padding: 0 16px; background: #fff; font: 400 .95rem -apple-system, 'Helvetica Neue', sans-serif; color: #111b21; box-shadow: 0 1px .5px rgb(11 20 26 / .13); }
.wa-escribir input:focus { outline: 2px solid #00a884; }
.wa-escribir button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: #00a884; color: #fff; display: grid; place-items: center; cursor: pointer; }
.wa-escribir button[disabled] { opacity: .5; }

@media (max-width: 900px) {
  .wa-pagina { grid-template-columns: 1fr; padding-top: calc(var(--nav) + 24px); }
  .telefono { height: 82dvh; border-radius: 40px; padding: 8px; }
  .telefono__pantalla { inset: 8px; border-radius: 33px; }
}
