/* Tu Salud Conversion Suite - frontend additions */
.tts-popup[hidden]{display:none!important}
.tts-popup{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:16px;isolation:isolate}
.tts-popup__backdrop{position:absolute;inset:0;background:rgba(4,28,47,.7);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.tts-popup__dialog{position:relative;z-index:1;width:min(900px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid rgba(7,53,91,.12);border-radius:28px;box-shadow:0 28px 90px rgba(3,30,50,.34);padding:30px 34px 32px;animation:ttsPopupIn .28s cubic-bezier(.2,.8,.2,1) both}
.tts-popup__close{position:sticky;float:right;top:0;margin:-8px -8px 0 12px;width:42px;height:42px;border:0;border-radius:50%;background:#eef7fc;color:#07355b;font:700 28px/1 Arial,sans-serif;display:grid;place-items:center;cursor:pointer;z-index:2;transition:.18s}
.tts-popup__close:hover{transform:scale(1.05);background:#dff1fb}
.tts-popup__head{text-align:center;max-width:720px;margin:0 auto 22px}
.tts-popup__eyebrow{display:inline-block;color:#0a79bd;font-size:.76rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase;margin-bottom:7px}
.tts-popup__head h2{margin:0;color:#062b47;font-size:clamp(2rem,4.2vw,3.2rem);line-height:1.04;letter-spacing:-.035em}
.tts-popup__head p{margin:10px auto 0;color:#60717e;max-width:680px;line-height:1.5}
.tts-popup__microcopy{display:inline-flex;margin-top:12px;padding:7px 12px;border-radius:999px;background:#eaf6fc;color:#086b9f;font-size:.82rem;font-weight:800}
.tts-popup-form{max-width:780px;margin:0 auto}
.tts-popup-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}
.tts-popup .field--full{grid-column:1/-1}
.tts-popup .field label{margin-bottom:6px}
.tts-popup .field input,.tts-popup .field select,.tts-popup .phone-input{min-height:52px}
.tts-popup .field textarea{width:100%;min-height:96px;resize:vertical}
.tts-popup .consent{margin-top:15px;padding:12px 13px;font-size:.84rem}
.tts-popup__submit{margin-top:10px!important}
.tts-popup .form-status{margin-top:12px}
body.tts-popup-open{overflow:hidden}
body.tts-popup-open .mobile-sticky{visibility:hidden}
@keyframes ttsPopupIn{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:700px){
  .tts-popup{padding:10px}
  .tts-popup__dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:22px;padding:22px 17px 18px}
  .tts-popup__close{width:38px;height:38px;font-size:25px;margin:-5px -2px 0 8px}
  .tts-popup__head{margin-bottom:18px;padding:0 8px}
  .tts-popup__head h2{font-size:clamp(1.75rem,8vw,2.25rem)}
  .tts-popup__head p{font-size:.92rem}
  .tts-popup-form__grid{grid-template-columns:1fr;gap:10px}
  .tts-popup .field--full{grid-column:auto}
  .tts-popup .field input,.tts-popup .field select,.tts-popup .phone-input,.tts-popup .phone-input>span,.tts-popup .phone-input input{height:50px;min-height:50px;font-size:16px}
  .tts-popup .field textarea{font-size:16px;min-height:92px}
  .tts-popup .consent{font-size:.8rem;line-height:1.35}
}
@media(max-height:760px) and (min-width:701px){
  .tts-popup__dialog{max-height:calc(100dvh - 18px);padding:20px 26px}
  .tts-popup__head{margin-bottom:14px}
  .tts-popup__head h2{font-size:2rem}
  .tts-popup__head p{font-size:.9rem;margin-top:6px}
  .tts-popup__microcopy{margin-top:8px}
  .tts-popup-form__grid{gap:10px 14px}
  .tts-popup .field input,.tts-popup .field select,.tts-popup .phone-input{min-height:48px;height:48px}
  .tts-popup .field textarea{min-height:76px}
}
@media(prefers-reduced-motion:reduce){.tts-popup__dialog{animation:none}.tts-popup__close{transition:none}}
