/* Travel Pass v7 — asistente con respuestas visibles y refinamiento responsive */

/* El asistente ahora muestra una respuesta/resumen real al seleccionar cada tema */
.tp-help-panel{width:min(470px,calc(100vw - 32px));max-height:min(780px,calc(100vh - 110px))}
.tp-help-body{padding:18px;scroll-behavior:smooth}
.tp-help-message{padding:16px 17px}
.tp-help-message p{font-size:.91rem;line-height:1.65}
.tp-help-summary{margin-top:12px;padding:17px 17px 16px;border-radius:16px;background:linear-gradient(145deg,#eef7ff 0%,#f8f4ff 100%);border:1px solid #dbe7f5;box-shadow:0 8px 22px rgba(8,31,69,.05)}
.tp-help-summary[hidden]{display:none!important}
.tp-help-summary-title{display:block;color:#0b2b59;font-size:1rem;line-height:1.35;margin-bottom:8px}
.tp-help-summary>p{margin:0;color:#465770;font-size:.82rem;line-height:1.68}
.tp-help-summary ul{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.tp-help-summary li{position:relative;padding-left:21px;color:#364a66;font-size:.8rem;line-height:1.58}
.tp-help-summary li:before{content:"✓";position:absolute;left:0;top:0;color:#08a9d8;font-weight:900}
.tp-help-summary-note{margin-top:12px;padding:10px 11px;border-radius:10px;background:#fff;border:1px solid #e4eaf3;color:#647187;font-size:.73rem;line-height:1.55}
.tp-help-options{margin-top:12px}
.tp-help-option{padding:13px;border-radius:15px}
.tp-help-option-copy strong{font-size:.85rem}
.tp-help-option-copy small{font-size:.69rem;line-height:1.5}
.tp-help-actions{margin-top:12px}
.tp-help-action{min-height:49px;font-size:.81rem;border-radius:13px}
.tp-help-panel.is-changing .tp-help-message,
.tp-help-panel.is-changing .tp-help-summary,
.tp-help-panel.is-changing .tp-help-options,
.tp-help-panel.is-changing .tp-help-actions{animation:tpAssistantRefresh .28s ease both}
@keyframes tpAssistantRefresh{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:none}}

/* Evita que la sección de contacto del home pueda reaparecer por caché/markup antiguo de bloques */
.home .tp-home-contact{display:none!important}

/* El contacto vive en su propia subpágina, donde conserva todo su diseño */
.page-template-template-contacto .tp-contact-page-section{display:block}

@media(max-width:820px){
  .tp-help-panel{width:min(450px,calc(100vw - 24px));max-height:calc(100vh - 96px);bottom:80px}
  .tp-help-body{padding:16px}
  .tp-help-summary{padding:15px}
  .tp-help-summary-title{font-size:.96rem}
  .tp-help-summary>p{font-size:.8rem}
  .tp-help-summary li{font-size:.78rem}
}

@media(max-width:560px){
  .tp-help-widget{right:12px;bottom:12px}
  .tp-help-panel{position:fixed;left:10px;right:10px;bottom:82px;width:auto;max-height:calc(100dvh - 98px);border-radius:20px}
  .tp-help-head{grid-template-columns:46px 1fr 32px;padding:14px}
  .tp-help-avatar{width:46px;height:46px;border-radius:13px}
  .tp-help-avatar .tp-assistant-svg{width:37px;height:37px}
  .tp-help-head strong{font-size:.9rem}
  .tp-help-head span{font-size:.63rem}
  .tp-help-body{padding:13px}
  .tp-help-message{padding:13px 14px}
  .tp-help-message p{font-size:.86rem}
  .tp-help-summary{padding:14px;border-radius:14px}
  .tp-help-summary-title{font-size:.92rem}
  .tp-help-summary>p{font-size:.78rem}
  .tp-help-summary li{font-size:.76rem;padding-left:19px}
  .tp-help-summary-note{font-size:.7rem}
  .tp-help-option{grid-template-columns:39px 1fr 18px;gap:10px;padding:11px}
  .tp-help-option-icon{width:39px;height:39px;border-radius:11px;font-size:18px!important}
  .tp-help-option-copy strong{font-size:.8rem}
  .tp-help-option-copy small{font-size:.65rem}
  .tp-help-fab{min-height:62px;padding:7px}
  .tp-help-icon-wrap{width:48px;height:48px}
  .tp-help-fab-label{display:none}
  .tp-help-footer{padding:10px 12px}
  .tp-help-footer button{font-size:.66rem}
}

@media(prefers-reduced-motion:reduce){
  .tp-help-panel.is-changing .tp-help-message,
  .tp-help-panel.is-changing .tp-help-summary,
  .tp-help-panel.is-changing .tp-help-options,
  .tp-help-panel.is-changing .tp-help-actions{animation:none}
}
