/* VALTRIS V4.6.9 — MOBILE QUALITY CONTROL ONLY. No API/voice/booking changes. */
:root{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:767px){
 html,body{max-width:100%;overflow-x:clip}
 :is(.wrap,.section,.container,.footer-main,.footer-links,.footer-bottom,.ap-widget,.ap-booking,.ap-booking-grid){min-width:0}
 :is(h1,h2,h3,p,.footer-links a,.footer-bottom span,.footer-bottom a){overflow-wrap:break-word}
 .site-header__inner{min-width:0;max-width:100%;gap:10px}
 .site-header .brand{min-width:0;max-width:min(77vw,330px);flex:0 1 auto}
 .site-header .brand img{display:block;max-width:100%;height:auto;object-fit:contain}
 .site-footer .footer-main{grid-template-columns:minmax(0,1fr);gap:30px}
 .site-footer .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 16px}
 .site-footer .footer-links>div{min-width:0}
 .site-footer .footer-links>div:last-child{grid-column:1/-1}
 .site-footer .footer-links a{display:block;max-width:100%;white-space:normal;line-height:1.5}
 .site-footer .footer-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
 .site-footer .footer-bottom>*{display:block;max-width:100%;white-space:normal;line-height:1.6}
 .site-footer .footer-tag{max-width:100%;white-space:normal;line-height:1.7}
 .resource-grid,.guide-grid,.help-grid{min-width:0;grid-template-columns:minmax(0,1fr)}
 .guide-card,.resource-card,.help-grid>a{min-width:0;max-width:100%}
 .guide-card img,.resource-card img{max-width:100%;object-fit:cover}
 .page-agenda :is(.ap-main,.ap-booking,.ap-widget,.ap-col,.ap-calendar,.ap-service,.ap-interest,.ap-booking-grid,.ap-hero-content){min-width:0;max-width:100%}
 .page-agenda :is(.ap-booking,.ap-widget,.ap-service,.ap-calendar,.ap-interest){box-sizing:border-box}
 .page-agenda :is(.ap-service strong,.ap-service small,.ap-booking p,.ap-hero-content p,.ap-hero-content h1){overflow-wrap:break-word}
 .page-agenda :is(.ap-form-col,.ap-widget,.ap-booking-grid){grid-template-columns:minmax(0,1fr)}
 .page-agenda :is(input,textarea,select){min-width:0;max-width:100%;font-size:16px}
 .page-agenda .ap-hero-actions{align-items:stretch;gap:12px}
 .page-agenda .ap-hero-actions>*{min-width:0;max-width:100%}
 .page-agenda .ap-watch{display:inline-flex;align-items:center;gap:12px;min-height:44px;white-space:normal}
 .page-agenda .v469-play-wrap{display:inline-grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;border:1px solid currentColor}
 .page-agenda .v469-ui-play{width:19px;height:19px;display:block}
 .page-agenda .v469-ui-chevron{display:block;width:20px;height:20px;margin:auto}
 .page-agenda #ap-prev-month,.page-agenda #ap-next-month{display:grid;place-items:center;min-width:40px;min-height:40px}
 .page-agenda .ap-calendar{max-width:100%;overflow:hidden}
 .page-agenda .ap-cal-grid,.page-agenda .ap-days{min-width:0}
 .page-agenda .ap-cal-grid>*{min-width:0}
 .page-agenda .ap-service *{max-width:100%}
}
@media(max-width:380px){
 .site-footer .footer-links{column-gap:12px}
 .page-agenda .ap-hero-actions{width:100%}
 .page-agenda .ap-watch{font-size:13px}
}
/* The approved portrait is used on the desktop bubble. An old ::after overlay obscured it on touch screens. */
@media(max-width:767px),(hover:none){
 html body #helper.v153-ready > button.helper-launch,
 html body #helper.v153-ready.v160-ready > button.helper-launch,
 html body #helper.v153-ready.v160-ready.v161-ready > button.helper-launch{
  background:#031525 url('/assets/images/valentin-retrato-oficial-v173.png') 50% 48%/cover no-repeat!important;
 }
 html body #helper.v153-ready > button.helper-launch::after,
 html body #helper.v153-ready.v160-ready > button.helper-launch::after,
 html body #helper.v153-ready.v160-ready.v161-ready > button.helper-launch::after{
  content:none!important;display:none!important;background:none!important;
 }
}
/* On iPhone, visualViewport provides the available height when the keyboard appears. */
@media(max-width:767px){
 html body #helper.v153-ready.v160-ready.v160-open{
  position:fixed!important;inset:calc(var(--v469-vv-top,0px) + 8px) 8px auto 8px!important;
  transform:none!important;left:8px!important;right:8px!important;
  width:calc(100vw - 16px)!important;max-width:none!important;
  height:calc(var(--v469-vv-height,100dvh) - 16px)!important;
  max-height:calc(var(--v469-vv-height,100dvh) - 16px)!important;
  min-height:0!important;overflow:visible!important;align-items:stretch!important;
 }
 html body #helper.v153-ready.v160-ready.v160-open>.helper-panel:not([hidden]){
  width:100%!important;height:100%!important;max-height:100%!important;
  display:flex!important;gap:7px!important;min-height:0!important;
  padding:0!important;overflow:hidden!important;
 }
 html body #helper.v153-ready.v160-ready .helper-panel__top{
  flex:0 0 56px!important;height:56px!important;min-height:56px!important;max-height:56px!important;
  padding:6px 9px!important;border-radius:15px!important;overflow:hidden!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background:#2078b1!important;
 }
 html body #helper.v153-ready.v160-ready .helper-panel__top>div:first-child{min-width:0!important;gap:0 8px!important}
 html body #helper.v153-ready.v160-ready .helper-panel__top strong{font-size:16px!important;line-height:1.05!important}
 html body #helper.v153-ready.v160-ready .helper-panel__top small{font-size:8px!important;letter-spacing:.055em!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}
 html body #helper.v153-ready.v160-ready .v153-header-pic{width:34px!important;height:34px!important;flex-basis:34px!important}
 html body #helper.v153-ready.v160-ready .v129-controls{gap:4px!important;min-width:0!important}
 html body #helper.v153-ready.v160-ready .helper-panel__top .v129-controls button{width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;flex-basis:32px!important}
 html body #helper.v153-ready.v160-ready .v130-stage{
  flex:0 0 clamp(110px,23dvh,168px)!important;
  height:clamp(110px,23dvh,168px)!important;
  max-height:168px!important;min-height:0!important;
  border-radius:15px!important;overflow:hidden!important;
 }
 html body #helper.v153-ready.v160-ready .v160-chat-card{
  flex:1 1 auto!important;min-height:0!important;height:auto!important;
  background:#f2f9fd!important;border-radius:16px!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  padding:7px 9px 9px!important;overflow:hidden!important;
 }
 html body #helper.v153-ready.v160-ready .v160-chat-card .helper-panel__messages{
  min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
 }
 html body #helper.v153-ready.v160-ready .v160-chat-card .helper-panel__actions{
  flex-shrink:0!important;max-height:40px!important;min-height:0!important;
  overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;
 }
 html body #helper.v153-ready.v160-ready .v160-chat-card .helper-form{
  display:flex!important;box-sizing:border-box!important;flex:0 0 auto!important;
  min-height:48px!important;max-height:116px!important;width:100%!important;
  margin:3px 0 0!important;overflow:hidden!important;
  background:#fff!important;position:relative!important;
 }
 html body #helper.v153-ready.v160-ready .v160-chat-card .helper-form :is(input,textarea){
  font-size:16px!important;line-height:1.35!important;min-width:0!important;
  max-height:90px!important;scroll-margin-bottom:10px!important;
 }
 html body #helper.v153-ready.v160-ready .v160-chat-card .helper-form button[type=submit]{flex-shrink:0!important}
 html body .v160-backdrop{background:rgba(2,14,28,.82)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}
@media(max-width:767px) and (max-height:570px){
 html body #helper.v153-ready.v160-ready .v130-stage{flex-basis:98px!important;height:98px!important;max-height:98px!important}
 html body #helper.v153-ready.v160-ready .helper-panel__top{flex-basis:48px!important;height:48px!important;min-height:48px!important}
 html body #helper.v153-ready.v160-ready .v160-chat-card .helper-panel__actions{max-height:32px!important}
}
@media(prefers-reduced-motion:reduce){html body #helper.v153-ready.v160-ready.v160-open>.helper-panel:not([hidden]){animation:none!important}}
/* GMM: same hero image, patient in right side of the original photograph. */
.v468-showcase .v468-card[href="/seguros/gastos-medicos/"] .v468-card__image img{object-position:94% 50%!important}
@media(max-width:767px){.v468-showcase .v468-card[href="/seguros/gastos-medicos/"] .v468-card__image img{object-position:93% 50%!important}}

@media(max-width:767px){.site-footer .footer-bottom{padding-bottom:70px;padding-right:min(75px,18vw)}.site-footer .footer-bottom>*{overflow-wrap:anywhere}.page-agenda .ap-step-arrow .v469-ui-chevron{width:17px;height:17px;display:block}}
/* Highest-priority material correction: V1.73 contains a more specific
   translucent-glass declaration. On phones the conversation must be opaque. */
@media(max-width:767px){
 html body #helper.v153-ready.v160-ready.v162-ready.v160-open .v160-chat-card,
 html body #helper.v153-ready.v160-ready.v161-ready.v162-ready.v160-open .v160-chat-card{
  background:#f2f9fd!important;background-image:none!important;opacity:1!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 }
 html body #helper.v153-ready.v160-ready.v162-ready.v160-open .v160-chat-card::before,
 html body #helper.v153-ready.v160-ready.v161-ready.v162-ready.v160-open .v160-chat-card::before{
  content:none!important;display:none!important;opacity:0!important;
 }
 html body #helper.v153-ready.v160-ready.v162-ready.v160-open .helper-panel__top{
  background:#227db5!important;background-image:none!important;opacity:1!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 }
}
