/* Hover-only motion. Content, geometry, palette and click handlers stay intact. */
:root{--feedback-time:.3s;--feedback-ease:ease-out}
@media (hover:hover) and (pointer:fine){
  /* Retire the layered scale rules; grow one real line from its midpoint. */
  #main-nav>a:after,
  #main-nav>a[aria-current]:after,
  #main-nav .nav-parent-link:after,
  #main-nav .nav-parent-link[aria-current]:after,
  #main-nav .nav-product:after,
  #main-nav .nav-product.active:after{
    content:none;
  }
  #main-nav>a:before,
  #main-nav .nav-parent-link:before,
  #main-nav .nav-product:before{
    content:"";position:absolute;pointer-events:none;
    height:2px;width:0;left:50%;bottom:20px;
    background:var(--blue);transform:translateX(-50%);
    transition:width .3s ease-out!important;opacity:1;
  }
  #main-nav .nav-product:before{left:calc(50% - 9px)}
  #main-nav>a:hover:before,
  #main-nav .nav-dropdown:hover>.nav-parent-link:before{
    width:100%;
  }
  #main-nav .nav-dropdown:hover>.nav-product:before{
    width:calc(100% - 18px);
  }

  /* Keep the existing hover colors and endpoints; normalize both directions. */
  a:not(.will-reveal),button:not(.will-reveal),summary{
    transition-property:color,background-color,border-color,box-shadow,opacity,transform,filter,gap!important;
    transition-duration:.3s!important;
    transition-timing-function:ease-out!important;
    transition-delay:0s!important;
  }
  /* Reveal cards retain their scroll-entry transform and opacity timing. */
  a.will-reveal,button.will-reveal{
    transition-property:opacity,transform,translate,color,background-color,border-color,box-shadow,filter!important;
    transition-duration:.55s,.75s,.3s,.3s,.3s,.3s,.3s,.3s!important;
    transition-timing-function:var(--ease),var(--ease),ease-out,ease-out,ease-out,ease-out,ease-out,ease-out!important;
    transition-delay:var(--reveal-delay,0s),var(--reveal-delay,0s),0s,0s,0s,0s,0s,0s!important;
    translate:0 0;
  }
  .page-index a.will-reveal,.page-index button.will-reveal{
    transition-duration:1s,1.25s,.3s,.3s,.3s,.3s,.3s,.3s!important;
    transition-timing-function:var(--scene-ease),var(--scene-ease),ease-out,ease-out,ease-out,ease-out,ease-out,ease-out!important;
  }
  .certificate.will-reveal.visible:hover,.brochure-download.will-reveal.visible:hover{
    transform:none;translate:0 -2px;
  }
  .dropdown-menu{
    transition:opacity .3s ease-out,transform .3s ease-out,visibility .3s!important;
  }
  #main-nav .nav-dropdown>.nav-toggle>span{transform:none;transition:color .3s ease-out}
  a .icon-arrow,button .icon-arrow,.round-arrow,.company-more-label,
  .scene-rail span,.scene-rail i,.scene-rail i:after,
  .footer-links a:after,.footer-bottom a:after,.text-link:after,
  .product-selector>button:after,.feature-tabs button:after,
  .stage-features>div,.support-row{
    transition-property:color,background-color,border-color,box-shadow,opacity,transform,filter,gap,width!important;
    transition-duration:.3s!important;
    transition-timing-function:ease-out!important;
    transition-delay:0s!important;
  }
  .product-selector>button:after,.feature-tabs button:after,
  .footer-links a:after,.footer-bottom a:after{transform-origin:center}
  .company-more-label{transition:gap .3s ease-out,color .3s ease-out!important}

  /* Explicit allowlist: only the two scene images linked to partner sections. */
  .page-index .training-tile .support-scene,
  .page-index .service-tile .support-scene{
    transform-origin:center center;
    transform:scale(1);
    transition:transform .3s ease-out!important;
  }
  .page-index .training-tile:hover .support-scene,
  .page-index .service-tile:hover .support-scene{
    transform:scale(1.07);
  }
  /* Remove pre-existing hover zoom on static pictures. No generic image rule. */
  .spotlight-panel:hover .spotlight-image>img,
  .about-tech:hover .about-product-img,
  .wide-photo:hover img,.tech-image:hover>img,.product-visual:hover>img,
  .page-index .new-about-image:hover>img,
  .page-index .partner-tile:hover .training-art>img,
  .page-index .partner-tile:hover .training-photo>img{
    transform:none;
  }
  .brochure-download:hover .icon-arrow{transform:translateX(3px)}
}

/* Requested consultation controls only; other completed effects stay unchanged. */
@media (hover:hover) and (pointer:fine){
  .sales-list>.sales-person{
    transition:padding-left .3s ease-out,color .3s ease-out!important;
  }
  .sales-list>.sales-person .round-arrow{
    transition:background-color .3s ease-out,color .3s ease-out!important;
  }
  .page-jaundice #faq .faq-list summary,
  .page-phototherapy .faq-list summary,
  .page-partners .faq-grid .faq-list summary{
    transition:color .3s ease-out,padding-left .3s ease-out!important;
  }
  .page-jaundice #faq .faq-list summary:hover,
  .page-phototherapy .faq-list summary:hover,
  .page-partners .faq-grid .faq-list summary:hover{
    padding-left:6px;
  }
  .page-index .product-bottom-line>a .icon-arrow,
  .page-index .more-support>a .icon-arrow{
    transition:transform .3s ease-out!important;
  }
  .page-index .product-bottom-line>a:hover .icon-arrow,
  .page-index .more-support>a:hover .icon-arrow{
    transform:translateX(4px);
  }
}

/* Product-section links only: transient hover line, independent of active track. */
@media (hover:hover) and (pointer:fine){
  :is(.page-jaundice,.page-phototherapy) .product-subnav a{
    transition:color .3s ease-out!important;
  }
  :is(.page-jaundice,.page-phototherapy) .product-subnav a:before{
    content:"";position:absolute;pointer-events:none;
    left:50%;bottom:-5px;width:0;height:2px;
    background:var(--blue);transform:translateX(-50%);
    transition:width .3s ease-out!important;
  }
  :is(.page-jaundice,.page-phototherapy) .product-subnav a:hover:before{
    width:100%;
  }
}
