/* Páginas públicas: index y citas.
   Paleta clínica: azul profundo como color principal, blancos y azules muy suaves de fondo,
   y el rosa solo como acento (íconos, detalles). El panel conserva su propio rosado suave. */
body.sitio {
  --rosa: #B24F6B; --rosa-fuerte: #8F3F58;
  --rosa-50: #FFF9FB; --rosa-100: #FBEEF2; --rosa-200: #F4DCE4; --rosa-300: #E8BFCC;
  --acento: #C8718B; --acento-suave: #FBEAF0;
  --linea: #F1E3E8; --linea-fuerte: #E6CFD8;
  --tinta: #2A1D23; --tinta-2: #5A4650; --tinta-3: #6E5A64;
  --sombra: 0 1px 2px rgba(143, 63, 88, .05), 0 8px 24px rgba(143, 63, 88, .07);
  background: #fff; color: var(--tinta);
}
body.sitio .btn:hover { box-shadow: 0 8px 18px rgba(143, 63, 88, .22); }
body.sitio h1, body.sitio h2, body.sitio h3 { color: var(--tinta); }
:root { --max: 1120px; }
.contenedor { width: min(var(--max), 100% - 2 * var(--e5)); margin-inline: auto; }
.firma { font-family: var(--f-firma); font-weight: 400; color: var(--rosa); line-height: 1; }

/* Franja superior y barra */
.franja { background: var(--rosa-100); border-bottom: 1px solid var(--rosa-200); color: var(--tinta-2); font-size: 13px; }
.franja-in { display: flex; align-items: center; justify-content: space-between; gap: var(--e4); min-height: 38px; }
.franja a { color: var(--rosa-fuerte); text-decoration: none; font-weight: 600; }
.franja [data-ico], .franja-der { display: inline-flex; align-items: center; gap: var(--e2); }
.franja svg { width: 15px; height: 15px; opacity: .85; }
.franja-sep { width: 1px; height: 14px; background: var(--rosa-300); margin: 0 var(--e2); }
.franja-der { gap: var(--e3); }
.barra { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.barra-in { display: flex; align-items: center; justify-content: space-between; gap: var(--e4); min-height: 72px; }
.marca { display: flex; flex-direction: column; text-decoration: none; color: var(--tinta); line-height: 1.05; }
.marca small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-3); }
.marca .firma { font-size: 34px; }
.menu { display: flex; align-items: center; gap: var(--e5); }
.menu a { color: var(--tinta-2); font-weight: 500; text-decoration: none; transition: color var(--t); }
.menu a:hover { color: var(--rosa); }
.menu .btn { color: #fff; }
.hamb { display: none; }

/* Portada */
.portada { position: relative; overflow: hidden; padding: var(--e8) 0 var(--e7); background: radial-gradient(900px 520px at 88% -10%, var(--acento-suave), transparent 62%), linear-gradient(180deg, #fff 0%, #FEF5F8 100%); }
.portada-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--e7); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: var(--e2); margin-bottom: var(--e4); padding: var(--e1) var(--e3); border-radius: 999px; background: #fff; border: 1px solid var(--rosa-200); font-size: 13px; font-weight: 600; color: var(--rosa-fuerte); }
.kicker svg { color: var(--acento); width: 18px; height: 18px; }
.portada h1 { font-size: clamp(34px, 4.8vw, 54px); margin-bottom: var(--e4); }
.portada h1 em { font-style: italic; color: var(--rosa); }
.portada p.lead { max-width: 54ch; font-size: 18px; color: var(--tinta-2); }
.acciones { display: flex; flex-wrap: wrap; gap: var(--e3); margin-top: var(--e5); }
.confianza { display: flex; flex-wrap: wrap; gap: var(--e3) var(--e5); margin-top: var(--e6); color: var(--tinta-2); font-size: 14px; }
.confianza span { display: inline-flex; align-items: center; gap: var(--e2); }
.confianza svg { color: var(--rosa); }
.arco-caja { position: relative; width: min(400px, 88%); margin-inline: auto; }
.arco { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r4) var(--r4); background: linear-gradient(175deg, var(--acento-suave) 0%, #fff 48%, var(--rosa-100) 100%); border: 1px solid var(--rosa-200); box-shadow: var(--sombra); display: grid; place-items: end center; overflow: hidden; }
.arco svg.dibujo { position: absolute; inset: 0; width: 100%; height: 100%; }
.arco .nombre { position: relative; text-align: center; padding: 0 var(--e5) var(--e6); }
.arco .nombre .firma { display: block; font-size: 52px; }
.arco .nombre span:not(.firma) { display: block; margin-top: var(--e2); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--tinta-3); }
.chip-flota { position: absolute; display: inline-flex; align-items: center; gap: var(--e2); padding: var(--e2) var(--e4); border-radius: 999px; background: #fff; border: 1px solid var(--rosa-200); box-shadow: var(--sombra); font-size: 13px; font-weight: 600; color: var(--rosa-fuerte); white-space: nowrap; }
.chip-flota svg { color: var(--acento); }
.chip-flota.c1 { top: 12%; left: -10%; }
.chip-flota.c2 { top: 46%; right: -12%; }
.chip-flota.c3 { bottom: 30%; left: -9%; }

/* Qué esperar */
.esperar { background: #fff; border-bottom: 1px solid var(--linea); }
.esperar-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--e5); padding: var(--e5) 0; }
.esperar-in > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px var(--e3); align-items: start; }
.esperar-in svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--rosa-100); color: var(--rosa); }
.esperar-in b { font-size: 15px; }
.esperar-in span { color: var(--tinta-3); font-size: 13.5px; line-height: 1.45; }

/* Secciones */
.seccion { padding: var(--e8) 0; }
.seccion.suave { background: #FEF5F8; }
.encabezado { max-width: 640px; margin: 0 auto var(--e6); text-align: center; }
.encabezado .kicker { margin-bottom: var(--e3); }
.encabezado h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: var(--e3); }
.encabezado p { color: var(--tinta-2); font-size: 17px; }
.servicios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e5); }
.servicio { display: flex; flex-direction: column; gap: var(--e3); padding: var(--e6) var(--e5); background: #fff; border: 1px solid var(--linea); border-radius: var(--r4); box-shadow: var(--sombra); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.servicio:hover { transform: translateY(-3px); border-color: var(--rosa-300); }
.servicio .ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--acento-suave); color: var(--acento); }
.servicio .ico svg { width: 28px; height: 28px; }
.servicio h3 { font-size: 22px; }
.servicio > p { margin: 0; color: var(--tinta-2); }
.incluye { flex: 1; display: grid; gap: var(--e2); margin: var(--e2) 0 var(--e3); padding: var(--e4) 0 0; border-top: 1px solid var(--linea); list-style: none; }
.incluye li { display: flex; gap: var(--e2); align-items: flex-start; font-size: 14.5px; color: var(--tinta-2); }
.incluye svg { margin-top: 3px; color: var(--rosa); flex: none; }
.servicio > a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: var(--e2); }

.sobre { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--e7); align-items: center; }
.sobre .retrato { position: relative; aspect-ratio: 3/4; border-radius: var(--r4); background: linear-gradient(160deg, var(--rosa-100), var(--acento-suave)); border: 1px solid var(--rosa-200); overflow: hidden; }
.sobre .retrato img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge-exp { position: absolute; bottom: 16px; right: 16px; background: rgba(45, 45, 60, .88); backdrop-filter: blur(8px); color: #fff; padding: 14px 18px; border-radius: 14px; font-size: 13px; line-height: 1.35; text-align: left; }
.badge-exp b { display: block; font-family: var(--f-titulo); font-size: 32px; line-height: 1; margin-bottom: 2px; }
.sobre h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: var(--e4); }
.valores { display: grid; gap: var(--e3); margin: var(--e5) 0 0; padding: 0; list-style: none; }
.valores li { display: flex; gap: var(--e3); align-items: flex-start; }
.valores svg { margin-top: 3px; color: var(--rosa); }

.pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e5); counter-reset: paso; }
.paso { padding: var(--e5); background: #fff; border-radius: var(--r3); border: 1px solid var(--linea); }
.paso::before { counter-increment: paso; content: counter(paso); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: var(--e3); border-radius: 50%; background: var(--rosa); color: #fff; font-family: var(--f-titulo); font-size: 18px; }
.paso h3 { font-size: 18px; margin-bottom: var(--e1); }
.paso p { margin: 0; color: var(--tinta-2); }

.ubi-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--e5); align-items: start; }
.mapa-tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: var(--r3); overflow: hidden; box-shadow: var(--sombra); min-height: 400px; }
.mapa-tarjeta iframe { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; }
.ubi-info { display: flex; flex-direction: column; gap: var(--e3); }
.ubi-card { background: #fff; border: 1px solid var(--linea); border-radius: var(--r3); padding: var(--e4) var(--e5); }
.ubi-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rosa); margin-bottom: var(--e1); }
.ubi-tel { color: var(--tinta); text-decoration: none; font-weight: 500; font-size: 17px; }
.ubi-tel:hover { color: var(--rosa); }
.ubi-btn { width: 100%; text-align: center; }
.horario-lista-card .horario-lista { margin-top: var(--e2); }
.horario-fila { display: flex; justify-content: space-between; gap: var(--e3); padding: var(--e2) 0; border-bottom: 1px solid var(--linea); font-size: 14px; }
.horario-fila:last-child { border-bottom: 0; }
.horario-fila.hoy { color: var(--rosa-fuerte); font-weight: 600; }
.horario-fila.cerrado span:last-child { color: var(--tinta-3); }
.estado-ahora { display: inline-flex; align-items: center; gap: var(--e2); font-weight: 600; font-size: 13px; }
.estado-ahora i { width: 8px; height: 8px; border-radius: 50%; background: var(--tinta-3); }
.estado-ahora.abierto i { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-fondo); }

.testimonios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e4); }
.testimonio { display: flex; flex-direction: column; gap: var(--e3); padding: var(--e5); background: #fff; border: 1px solid var(--linea); border-radius: var(--r3); }
.testimonio blockquote { margin: 0; flex: 1; font-family: var(--f-titulo); font-size: 17px; line-height: 1.5; }
.testimonio .estrellas { color: #C9892B; display: flex; gap: 2px; }
.testimonio .estrellas svg { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.testimonio footer { font-weight: 600; color: var(--tinta-2); font-size: 14px; }
.centro { text-align: center; margin-top: var(--e5); }

.cta-final { padding: var(--e7) 0; background: linear-gradient(120deg, #FBEAF0, #F4D6E0); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: var(--e5); flex-wrap: wrap; }
body.sitio .cta-final h2 { color: var(--tinta); font-size: clamp(26px, 3.2vw, 34px); margin-bottom: var(--e1); }
.cta-final p { margin: 0; color: var(--tinta-2); }
body.sitio .btn.claro { background: var(--rosa); color: #fff; }
body.sitio .btn.claro:hover { background: var(--rosa-fuerte); }

.pie-sitio { padding: var(--e6) 0; border-top: 1px solid var(--linea); background: #FEF5F8; color: var(--tinta-2); font-size: 14px; }
.pie-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--e3); }
.pie-sitio a { color: var(--tinta-2); }
.wa-flotante { position: fixed; right: var(--e4); bottom: calc(var(--e4) + var(--fab-subir, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: var(--e2); padding: var(--e3) var(--e4); border-radius: 999px; background: #1E7A4C; color: #fff; font-weight: 600; text-decoration: none; box-shadow: var(--sombra-alta); transition: bottom .25s ease; }
.wa-flotante:hover { background: #17613c; }

/* Agenda en línea (citas.html) */
.citas-wrap { padding: var(--e6) 0 var(--e8); background: linear-gradient(180deg, #FEF5F8 0%, #fff 320px); }
.citas-cab { text-align: center; max-width: 620px; margin: 0 auto var(--e5); }
.citas-cab h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: var(--e2); }
.citas-cab p { color: var(--tinta-2); }
.progreso { display: flex; justify-content: center; gap: var(--e2); margin-bottom: var(--e5); list-style: none; padding: 0; }
.progreso li { display: flex; align-items: center; gap: var(--e2); font-size: 13px; font-weight: 600; color: var(--tinta-3); }
.progreso li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rosa-200); color: var(--rosa-fuerte); transition: background var(--t), color var(--t); }
.progreso li.activo { color: var(--rosa-fuerte); }
.progreso li.activo span, .progreso li.hecho span { background: var(--rosa); color: #fff; }
.progreso li:not(:last-child)::after { content: ""; width: 24px; height: 2px; background: var(--rosa-200); margin-left: var(--e1); }
.panel-cita { max-width: 760px; margin: 0 auto; padding: var(--e6); background: #fff; border: 1px solid var(--linea); border-radius: var(--r4); box-shadow: var(--sombra); }
.panel-cita h2 { font-size: 24px; margin-bottom: var(--e1); }
.panel-cita > p.ayuda-top { color: var(--tinta-3); margin-bottom: var(--e5); }
.opciones-serv { display: grid; gap: var(--e3); }
.opcion-serv { display: flex; gap: var(--e4); align-items: center; width: 100%; padding: var(--e4); border: 1.5px solid var(--linea-fuerte); border-radius: var(--r3); background: #fff; text-align: left; cursor: pointer; transition: border-color var(--t), background var(--t); }
.opcion-serv:hover { border-color: var(--rosa-300); background: var(--rosa-50); }
.opcion-serv[aria-pressed="true"] { border-color: var(--rosa); background: var(--rosa-100); }
.opcion-serv .ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 16px; background: var(--acento-suave); color: var(--acento); }
.opcion-serv b { display: block; font-size: 17px; }
.opcion-serv span.d { color: var(--tinta-3); font-size: 14px; }
.fecha-hora { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e6); }
.sugerencia { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); flex-wrap: wrap; margin-bottom: var(--e5); padding: var(--e4); border-radius: var(--r3); background: var(--rosa-100); }
.sugerencia b { color: var(--rosa-fuerte); }
.horas-grupo { margin-bottom: var(--e4); }
.horas-grupo h3 { margin-bottom: var(--e2); font-family: var(--f-texto); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-3); }
.horas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e2); }
.hora { min-height: 44px; border: 1.5px solid var(--linea-fuerte); border-radius: var(--r2); background: #fff; font-weight: 600; cursor: pointer; transition: border-color var(--t), background var(--t), color var(--t); }
.hora:hover { border-color: var(--rosa); color: var(--rosa); }
.hora[aria-pressed="true"] { background: var(--rosa); border-color: var(--rosa); color: #fff; }
.citas-ayuda { margin: var(--e5) 0 0; text-align: center; color: var(--tinta-3); }
.pasos-nav { display: flex; justify-content: space-between; gap: var(--e3); margin-top: var(--e5); }
.resumen { display: grid; gap: var(--e3); padding: var(--e4); margin-bottom: var(--e5); border-radius: var(--r3); background: var(--rosa-100); }
.resumen div { display: flex; justify-content: space-between; gap: var(--e3); }
.resumen span:first-child { color: var(--tinta-3); }
.listo { text-align: center; padding: var(--e4) 0; }
.listo .ok-circulo { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto var(--e4); border-radius: 50%; background: var(--ok-fondo); color: var(--ok); }
.listo .ok-circulo svg { width: 36px; height: 36px; }
.listo h2 { margin-bottom: var(--e2); }

@media (max-width: 900px) {
  .franja-in { justify-content: center; }
  .franja-in > span:first-child, .franja-sep, .franja-der > span:last-child { display: none; }
  .portada { padding: var(--e6) 0; }
  .portada-in, .sobre, .ubi-grid, .fecha-hora { grid-template-columns: minmax(0, 1fr); }
  .mapa-tarjeta, .mapa-tarjeta iframe { min-height: 260px; }
  .portada-in { gap: var(--e6); }
  .arco-caja { width: min(300px, 78%); }
  .chip-flota.c1 { left: -14%; } .chip-flota.c2 { right: -16%; } .chip-flota.c3 { left: -12%; }
  .esperar-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .servicios, .pasos, .testimonios { grid-template-columns: minmax(0, 1fr); }
  .seccion { padding: var(--e7) 0; }
  .hamb { display: inline-grid; }
  .menu { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: var(--e3) var(--e5) var(--e5); background: #fff; border-bottom: 1px solid var(--linea); box-shadow: var(--sombra); }
  .menu.abierto { display: flex; }
  .menu a { padding: var(--e3) 0; border-bottom: 1px solid var(--linea); }
  .menu .btn { margin-top: var(--e3); border: 0; }
  .progreso li b { display: none; }
  .panel-cita { padding: var(--e5) var(--e4); }
  .wa-flotante span { display: none; }
}
@media (max-width: 520px) {
  .esperar-in { grid-template-columns: minmax(0, 1fr); }
  .chip-flota { font-size: 12px; padding: var(--e1) var(--e3); }
  .badge-exp { bottom: 12px; right: 12px; padding: 10px 14px; font-size: 12px; border-radius: 12px; }
  .badge-exp b { font-size: 26px; }
}

/* ── Chat público flotante ────────────────────────────────── */
.chat-fab {
  position: fixed; right: 20px; bottom: calc(80px + var(--fab-subir, 0px)); z-index: 70;
  width: 54px; height: 54px; border-radius: 50%; border: none;
  background: var(--rosa); color: #fff; padding: 0; cursor: pointer;
  box-shadow: 0 4px 16px rgba(143,63,88,.28);
  transition: transform 200ms ease, box-shadow 200ms ease, bottom .25s ease;
  display: grid; place-items: center;
}
.chat-fab:hover { transform: scale(1.07); box-shadow: 0 6px 24px rgba(143,63,88,.38); }
.chat-fab.activo { transform: scale(.88); opacity: .6; }
.chat-fab svg { width: 24px; height: 24px; }

.chat-panel {
  position: fixed; right: 20px; bottom: 144px; z-index: 71;
  width: min(360px, calc(100vw - 32px));
  max-height: min(480px, calc(100vh - 170px));
  display: flex; flex-direction: column;
  border-radius: 16px; background: #fff;
  border: 1px solid var(--rosa-200);
  box-shadow: 0 8px 40px rgba(143,63,88,.16), 0 1px 3px rgba(0,0,0,.06);
  animation: chat-aparecer 200ms ease; overflow: hidden;
}
@keyframes chat-aparecer { from { opacity: 0; transform: translateY(12px) scale(.97); } }

.chat-panel-cab {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--rosa-50);
  border-bottom: 1px solid var(--linea);
}
.chat-panel-ico {
  width: 36px; height: 36px; flex: none;
  border-radius: 10px; background: var(--rosa-100);
  display: grid; place-items: center;
}
.chat-panel-ico svg { width: 18px; height: 18px; color: var(--rosa-fuerte); }
.chat-panel-info { flex: 1; min-width: 0; }
.chat-panel-info b { display: block; font-size: 14px; color: var(--tinta); line-height: 1.2; }
.chat-panel-info span { display: block; font-size: 11px; color: var(--tinta-3); }
.chat-panel-cerrar {
  width: 28px; height: 28px; border-radius: 50%; border: none;
  background: transparent; font-size: 20px; line-height: 1;
  cursor: pointer; color: var(--tinta-3); flex: none;
  transition: background var(--t), color var(--t);
}
.chat-panel-cerrar:hover { background: var(--rosa-100); color: var(--tinta); }

.chat-panel-nota {
  padding: 6px 16px; font-size: 11px; color: var(--tinta-3);
  background: var(--rosa-50); border-bottom: 1px solid var(--linea);
  line-height: 1.4;
}
.chat-panel-nota a { color: var(--rosa-fuerte); font-weight: 600; }

.chat-panel-msgs {
  flex: 1; overflow-y: auto;
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  min-height: 80px;
}
.chat-burbuja { display: flex; max-width: 88%; animation: chat-msg-in 200ms ease; }
.chat-burbuja.yo { align-self: flex-end; }
@keyframes chat-msg-in { from { opacity: 0; transform: translateY(6px); } }
.chat-burbuja-txt {
  padding: 10px 14px; border-radius: 16px;
  font-size: 14px; line-height: 1.6; word-break: break-word;
}
.chat-burbuja.ia .chat-burbuja-txt { background: var(--rosa-100); color: var(--tinta); border-bottom-left-radius: 4px; }
.chat-burbuja.yo .chat-burbuja-txt { background: var(--rosa); color: #fff; border-bottom-right-radius: 4px; }
.chat-burbuja-txt p { margin: 0 0 4px; }
.chat-burbuja-txt p:last-child { margin-bottom: 0; }
.chat-burbuja-txt ul { margin: 4px 0; padding-left: 18px; }
.chat-burbuja-txt li { margin-bottom: 2px; }
.chat-burbuja-txt a { color: var(--rosa-fuerte); font-weight: 600; }
.chat-burbuja.yo .chat-burbuja-txt a { color: #fff; text-decoration: underline; }

.chat-typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--rosa-300); animation: chat-dot 1.2s ease infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 60% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.chat-panel-sug {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 16px 12px;
}
.chat-panel-sug button {
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--rosa-200); background: var(--rosa-50);
  font-size: 12.5px; color: var(--rosa-fuerte); font-weight: 500;
  cursor: pointer; transition: background var(--t), border-color var(--t);
  line-height: 1.25;
}
.chat-panel-sug button:hover { background: var(--rosa-100); border-color: var(--rosa-300); }
.chat-panel-sug:empty { display: none; }

.chat-panel-form {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 10px 12px; border-top: 1px solid var(--linea);
}
.chat-panel-form textarea {
  flex: 1; resize: none;
  border: 1px solid var(--linea); border-radius: 14px;
  padding: 10px 16px; font: inherit; font-size: 13px; line-height: 1.4;
  height: 44px; min-height: 44px; max-height: 88px;
  box-sizing: border-box; overflow-y: hidden;
  outline: none; transition: border-color var(--t);
  background: #fff;
}
.chat-panel-form textarea:focus { border-color: var(--rosa); }
.chat-panel-form textarea::placeholder { color: var(--tinta-3); }
.chat-panel-env {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%; border: none;
  background: var(--rosa); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--t), transform var(--t);
}
.chat-panel-env:hover { background: var(--rosa-fuerte); transform: scale(1.05); }
.chat-panel-env:disabled { opacity: .4; cursor: default; transform: none; }

@media (max-width: 768px) {
  .chat-fab { right: 16px; bottom: calc(72px + var(--fab-subir, 0px)); }
  .chat-panel { right: 16px; bottom: 136px; }
}
@media (max-width: 520px) {
  .chat-fab { width: 48px; height: 48px; right: 12px; bottom: calc(64px + var(--fab-subir, 0px)); }
  .chat-fab svg { width: 22px; height: 22px; }
  .chat-panel {
    left: 8px; right: 8px; width: auto;
    bottom: 120px; max-height: calc(100vh - 140px);
    border-radius: 14px;
  }
  .chat-panel-cab { padding: 10px 14px; }
  .chat-panel-nota { padding: 6px 14px; }
  .chat-panel-msgs { padding: 12px 14px; }
  .chat-panel-sug { padding: 0 14px 10px; }
  .chat-panel-form { padding: 8px 10px; }
}
