/* Demo de WhatsApp (whatsapp-demo.html). Página independiente, con la paleta de NomiClock. */
:root { --az: #16325b; --azo: #001d41; --am: #fea619; --fondo: #f4f7fb; --texto: #16325b; --suave: #4b5a75; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--texto); background: var(--fondo); }
a { color: var(--az); }
.wd-top { display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(16px, 4vw, 40px); background: #fff; border-bottom: 1px solid #dbe3ef; }
.wd-top nav { display: flex; gap: 18px; align-items: center; font-weight: 600; font-size: 14px; }
.wd-top nav a:not(.wd-btn) { text-decoration: none; }
.wd-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; border-radius: 999px; background: var(--am); color: var(--azo) !important; font-weight: 700; text-decoration: none; }
.wd-btn-grande { padding: 14px 26px; font-size: 16px; }
.wd-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(24px, 5vw, 64px); align-items: start; max-width: 1080px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 40px); }
.wd-etiqueta { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: #e7eefb; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
h1 { margin: 0 0 12px; font: 700 clamp(28px, 4vw, 42px)/1.1 'Space Grotesk', sans-serif; }
.wd-texto p { line-height: 1.55; color: var(--suave); }
.wd-pasos { padding-left: 20px; display: grid; gap: 8px; line-height: 1.45; }
.wd-nota { font-size: 14px; }
.wd-cta { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin: 22px 0 14px; }
.wd-link { font-weight: 700; }
.wd-otras { font-size: 14px; }
.wd-cel { display: flex; flex-direction: column; height: min(78vh, 680px); border: 10px solid #101a2c; border-radius: 36px; overflow: hidden; background: #ece5dd; box-shadow: 0 24px 60px rgba(0, 29, 65, .28); }
.wd-cab { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #075e54; color: #fff; }
.wd-cab strong { display: block; font-size: 15px; }
.wd-cab small { opacity: .85; font-size: 12px; }
.wd-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--am); color: var(--azo); display: grid; place-items: center; font: 700 18px 'Space Grotesk', sans-serif; }
.wd-chat { flex: 1; overflow-y: auto; padding: 12px 12px 4px; display: flex; flex-direction: column; gap: 6px; }
.wd-dia { align-self: center; padding: 3px 12px; border-radius: 8px; background: #fff; font-size: 12px; color: var(--suave); }
.wd-msg { max-width: 82%; padding: 7px 10px 5px; border-radius: 10px; font-size: 14.5px; line-height: 1.35; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.wd-msg small { display: block; text-align: right; font-size: 10.5px; opacity: .6; margin-top: 2px; }
.wd-in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.wd-out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.wd-escribe { align-self: flex-start; background: #fff; border-radius: 10px; padding: 9px 14px; display: flex; gap: 4px; }
.wd-escribe i { width: 7px; height: 7px; border-radius: 50%; background: #9aa5b5; animation: wd-salto 1s infinite; }
.wd-escribe i:nth-child(2) { animation-delay: .15s; } .wd-escribe i:nth-child(3) { animation-delay: .3s; }
@keyframes wd-salto { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
.wd-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 10px; background: #ece5dd; }
.wd-chip { padding: 7px 12px; border: 1px solid #c9c2b8; border-radius: 999px; background: #fff; color: var(--az); font: 600 13px 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.wd-chip.wd-chip-ub { background: #e1f3ff; border-color: #9ed3f5; }
.wd-form { display: flex; gap: 8px; padding: 8px 10px 10px; background: #ece5dd; }
.wd-form input { flex: 1; min-width: 0; padding: 11px 14px; border: 0; border-radius: 999px; font: 15px 'Plus Jakarta Sans', sans-serif; }
.wd-form button { width: 44px; border: 0; border-radius: 50%; background: #075e54; color: #fff; font-size: 16px; cursor: pointer; }
@media (max-width: 860px) { .wd-main { grid-template-columns: 1fr; } .wd-cel { height: 72vh; } .wd-telefono { order: -1; } }
.wd-btn-sec { border: 2px solid var(--az); background: #fff; color: var(--az) !important; cursor: pointer; font: 700 14px 'Plus Jakarta Sans', sans-serif; }
.wd-btn-sec:disabled { opacity: .55; cursor: wait; }
