/* PV FASE 1 — ajuste progresivo y aislado de portada. No altera lógica. */
:root{--pv67-space:clamp(16px,3vw,32px)}
html{scroll-padding-top:92px}
body{overflow-x:clip}
#contenido{min-width:0}
#contenido img{max-width:100%}
#contenido :is(h1,h2,h3,p,a,small){overflow-wrap:break-word}
#contenido :is(.wrap,.section,.grid,.hero,.pv-shortcuts__inner){min-width:0}
/* Dar prioridad visual a las cuatro necesidades del visitante, sin quitar enlaces. */
.pv-shortcuts__grid{display:grid;gap:clamp(9px,1.5vw,18px)}
.pv-shortcuts__grid>.pv-shortcut{min-width:0;min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;padding:14px 10px;transition:transform .18s ease,box-shadow .18s ease}
.pv-shortcuts__grid>.pv-shortcut:hover{transform:translateY(-2px)}
.pv-shortcuts__grid>.pv-shortcut[href="#buscar"]{order:-4}
.pv-shortcuts__grid>.pv-shortcut[href="#vitrina"]{order:-3}
.pv-shortcuts__grid>.pv-shortcut[href="#domicilios"]{order:-2}
.pv-shortcuts__grid>.pv-shortcut[href="#sucursales"]{order:-1}
.pv-shortcuts__grid>.pv-shortcut strong{line-height:1.22}
.pv-shortcuts__grid>.pv-shortcut small{line-height:1.3}
/* Mantener proporciones de logos sin cortar el arte institucional. */
.pv-sucursal-logo-superior img,.pv-sedes-logo-top img,.pv-sedes-head-2026 img{object-fit:contain;max-width:100%;height:auto}
/* Separación consistente entre tarjetas y controles. */
#servicios .grid>article,#pv-descubre article,#sucursales article{min-width:0}
#servicios .grid>article a,#empleo-oportunidades a,#vacantes-destacadas a{max-width:100%}
#vitrina :is(input,select,button),#buscar :is(input,select,button){max-width:100%}
#vitrina img,#sucursales img{height:auto}
/* Previene saltos de diseño y evita animaciones no esenciales en móviles reducidos. */
@media(max-width:760px){
  html{scroll-padding-top:74px}
  #contenido{max-width:100vw}
  .hero-shell .hero{gap:16px}
  .hero-shell .hero .actions{display:flex;flex-wrap:wrap;gap:10px}
  .hero-shell .hero .actions>a{flex:1 1 180px;text-align:center}
  .pv-shortcuts{padding-block:14px}
  .pv-shortcuts__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .pv-shortcuts__grid>.pv-shortcut{min-height:103px;padding:12px 8px}
  .pv-shortcuts__grid>.pv-shortcut strong{font-size:clamp(.84rem,3.6vw,1rem)}
  .pv-shortcuts__grid>.pv-shortcut small{font-size:.75rem}
  #servicios .grid{gap:12px}
  #vitrina .section-head,#sucursales .section-head{gap:12px}
  #vitrina :is(input,select){min-width:0}
  #sucursales .pv-sedes-head-2026{padding-inline:12px}
}
@media(max-width:360px){
  .pv-shortcuts__grid>.pv-shortcut{min-height:98px}
  .pv-shortcuts__grid>.pv-shortcut strong{font-size:.82rem}
  .hero-shell .hero .actions>a{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){.pv-shortcuts__grid>.pv-shortcut{transition:none}.pv-shortcuts__grid>.pv-shortcut:hover{transform:none}}
