.ca-faq { position: fixed; right: 18px; bottom: 18px; z-index: 900; font-family: inherit; }
.ca-faq__boton { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border: 0; border-radius: 99px; background: #14532d; color: #fff; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 6px 22px rgba(15, 50, 28, .3); }
.ca-faq__boton:hover { background: #0f4023; }
.ca-faq__boton:focus-visible, .ca-faq button:focus-visible, .ca-faq a:focus-visible, .ca-faq input:focus-visible { outline: 3px solid #b9e45a; outline-offset: 2px; }
.ca-faq__panel { position: absolute; right: 0; bottom: 60px; width: min(380px, calc(100vw - 36px)); max-height: min(600px, calc(100vh - 110px)); max-height: min(600px, calc(100dvh - 110px)); display: flex; flex-direction: column; background: #fff; color: #1b2a20; border-radius: 16px; box-shadow: 0 18px 50px rgba(15, 40, 25, .28); overflow: hidden; }
.ca-faq__panel[hidden] { display: none; }
.ca-faq__cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: #14532d; color: #fff; }
.ca-faq__cab h2 { margin: 0; font-size: 17px; line-height: 1.25; color: #fff; }
.ca-faq__cerrar { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.ca-faq__cuerpo { flex: 1; overflow-y: auto; padding: 14px 16px; font-size: 15px; line-height: 1.5; overscroll-behavior: contain; }
.ca-faq__saludo { margin: 0 0 12px; color: #46564b; }
.ca-faq__temas { display: flex; flex-wrap: wrap; gap: 8px; }
.ca-faq__temas button { min-height: 40px; padding: 6px 14px; border: 1px solid #c9d8c2; border-radius: 99px; background: #f3f8ee; color: #14532d; font: inherit; font-weight: 600; cursor: pointer; }
.ca-faq__temas button:hover { background: #e3f0d9; }
.ca-faq__lista { list-style: none; margin: 10px 0 0; padding: 0; }
.ca-faq__lista li { margin: 0; border-top: 1px solid #edf0ea; }
.ca-faq__lista li:first-child { border-top: 0; }
.ca-faq__lista button { width: 100%; min-height: 44px; padding: 10px 2px; border: 0; background: none; text-align: left; font: inherit; color: #1b2a20; cursor: pointer; }
.ca-faq__lista button:hover { color: #14532d; text-decoration: underline; }
.ca-faq__volver { border: 0; background: none; padding: 4px 0; margin: 0 0 6px; color: #14532d; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ca-faq__h { margin: 4px 0 8px; font-size: 16px; line-height: 1.3; color: #14532d; }
.ca-faq__resp p { margin: 0 0 10px; }
.ca-faq__resp a { color: #14532d; font-weight: 600; }
.ca-faq__contacto { margin-top: 14px; padding: 12px; border-radius: 12px; background: #f1eee7; font-size: 14px; }
.ca-faq__contacto p { margin: 0 0 8px; }
.ca-faq__enlaces { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ca-faq__enlaces a { color: #14532d; font-weight: 600; padding: 6px 0; }
.ca-faq__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #e3e8df; background: #fafbf8; }
.ca-faq__form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 1px solid #c3ccc0; border-radius: 99px; font: inherit; font-size: 16px; background: #fff; color: #1b2a20; }
.ca-faq__form button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 99px; background: #b9e45a; color: #14321f; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 480px) {
  .ca-faq { right: 12px; bottom: 12px; }
  .ca-faq__boton span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ca-faq__boton { padding: 0; width: 52px; height: 52px; justify-content: center; }
  .ca-faq__panel { position: fixed; left: 8px; right: 8px; bottom: 74px; width: auto; }
}
@media print { .ca-faq { display: none; } }

/* Movimiento: el panel nace del botón; el botón responde al pulsar. */
.ca-faq__boton { transition: background .2s ease, transform .16s cubic-bezier(.23, 1, .32, 1); }
.ca-faq__boton:active { transform: scale(.95); }
.ca-faq__panel { transform-origin: bottom right; }
.ca-faq__panel:not([hidden]) { animation: ca-faq-abre .24s cubic-bezier(.23, 1, .32, 1) both; }
@keyframes ca-faq-abre { from { opacity: 0; transform: translateY(10px) scale(.95); } }
.ca-faq__temas button, .ca-faq__lista button { transition: background .15s ease, color .15s ease, transform .16s cubic-bezier(.23, 1, .32, 1); }
.ca-faq__temas button:active { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) { .ca-faq__panel:not([hidden]) { animation: none; } }
