/* Encabezado móvil compacto: logo y menú en una sola fila */
@media only screen and (max-width: 900px) {
  header.page_header .header_bottom .container_inner { height: 86px !important; min-height: 86px !important; }
  header.page_header .header_inner_left { position: relative !important; display: block !important; float: none !important; width: 100% !important; height: 86px !important; }
  header.page_header .header_inner_right { display: none !important; }
  header.page_header .logo_wrapper { left: auto !important; right: 8px !important; top: 0 !important; width: min(170px, 48vw) !important; height: 86px !important; min-height: 86px !important; background-color: transparent !important; background-position: right center !important; background-size: contain !important; background-repeat: no-repeat !important; }
  header.page_header .logo_wrapper img { display: none !important; }
  header.page_header .mobile_menu_button { display: table !important; position: absolute !important; left: 0 !important; top: 0 !important; width: 48px !important; height: 86px !important; margin: 0 !important; z-index: 3 !important; }
  header.page_header nav.mobile_menu { position: absolute !important; top: 86px !important; left: 0 !important; width: 100% !important; z-index: 1000 !important; }
}
@media only screen and (max-width: 480px) {
  .helsia-hero-row { height: 480px !important; min-height: 480px !important; background-color: #f7f4f0 !important; background-image: linear-gradient(to bottom, #f7f4f0 0, rgba(247,244,240,0) 28px), url("https://helsiasalud.com/wp-content/uploads/2026/10/ensalada-hero.jpg") !important; background-size: 100% 100%, auto 64% !important; background-position: left top, right bottom !important; background-repeat: no-repeat !important; }
  .helsia-hero-row .helsia-hero-layout { height: 480px !important; }
  .helsia-hero-copy { top: 20px !important; left: 18px !important; width: calc(100% - 36px) !important; }
  .helsia-hero-copy h1 { max-width: 390px !important; font-size: clamp(36px, 9.3vw, 40px) !important; line-height: 1.12 !important; }
}
@media only screen and (max-width: 360px) {
  .helsia-hero-row { height: 550px !important; min-height: 550px !important; background-size: 100% 100%, auto 60% !important; }
  .helsia-hero-row .helsia-hero-layout { height: 550px !important; }
  .helsia-hero-copy { left: 16px !important; width: calc(100% - 32px) !important; }
  .helsia-hero-copy h1 { font-size: clamp(34px, 10vw, 36px) !important; }
}
/* Refuerzo para que el hero móvil prevalezca sobre los estilos generales */
@media only screen and (max-width: 480px) {
  body.home .helsia-hero-row { height: 480px !important; min-height: 480px !important; background-color: #f7f4f0 !important; background-image: linear-gradient(to bottom, #f7f4f0 0%, #f7f4f0 38%, rgba(247,244,240,0) 46%, rgba(247,244,240,0) 100%), url("https://helsiasalud.com/wp-content/uploads/2026/10/ensalada-hero.jpg") !important; background-size: 100% 100%, 100% auto !important; background-position: left top, right bottom !important; background-repeat: no-repeat !important; }
  body.home .helsia-hero-row .helsia-hero-layout { height: 480px !important; }
  body.home .helsia-hero-copy { top: 20px !important; left: 18px !important; width: calc(100% - 36px) !important; }
  body.home .helsia-hero-copy h1 { max-width: 390px !important; font-size: clamp(36px, 9.3vw, 40px) !important; line-height: 1.12 !important; }
}
@media only screen and (max-width: 360px) {
  body.home .helsia-hero-row { height: 520px !important; min-height: 520px !important; }
  body.home .helsia-hero-row .helsia-hero-layout { height: 520px !important; }
  body.home .helsia-hero-copy { left: 16px !important; width: calc(100% - 32px) !important; }
  body.home .helsia-hero-copy h1 { font-size: clamp(34px, 10vw, 36px) !important; }
}