/* GL ITALIA LAB v1.31.4.60 | Header one-line + visible provider ecosystem.
   A layout change, NOT browser zoom. Respect user font scaling and small screens. */
@media (min-width:1220px) {
  .site-header .container.header-inner {
    width:min(1630px,calc(100% - 36px));
    max-width:none; height:80px; gap:clamp(10px,1.0vw,18px);
  }
  .site-header .brand-v2 {width:clamp(230px,21vw,315px);max-width:none;min-width:0;flex:0 1 auto}
  .site-header .brand-v2 img {width:100%!important;height:auto!important;max-height:65px;object-fit:contain}
  .site-header .main-nav {display:flex;flex:0 1 auto;flex-wrap:nowrap;gap:clamp(10px,.95vw,19px);margin-left:auto;min-width:0}
  .site-header .main-nav a {white-space:nowrap;flex:0 0 auto;font-size:clamp(12.5px,.88vw,15px);line-height:1.25;padding:8px 0}
  .site-header .header-actions {display:flex;flex:0 0 auto;gap:9px;margin-left:0;align-items:center;white-space:nowrap}
  .site-header .header-actions .search-btn {padding:3px;flex-shrink:0}
  .site-header .header-actions .appointment-header-btn {display:inline-flex!important;white-space:nowrap;padding:10px 12px!important;font-size:12.5px;min-height:41px;line-height:1.15;border-radius:10px}
  .site-header .header-actions .gl-area-riservata {display:inline-flex;white-space:nowrap;font-size:12.5px;padding:9px 10px;min-height:41px;align-items:center;opacity:1}
  .site-header .nav-toggle {display:none}
}
/* When there's insufficient room, use a real menu instead of wrapping words. */
@media (min-width:981px) and (max-width:1219px) {
  .site-header .header-inner {height:76px;gap:12px}
  .site-header .brand-v2 {width:245px;max-width:39vw}
  .site-header .main-nav {display:none;position:absolute;top:76px;left:0;right:0;z-index:99;background:white;padding:16px 24px;flex-direction:column;gap:0;border-bottom:1px solid #dfe6f1;box-shadow:0 12px 20px rgba(6,31,80,.1)}
  .site-header .main-nav.open {display:flex}
  .site-header .main-nav a {white-space:nowrap;padding:11px 4px}
  .site-header .nav-toggle {display:block;margin-left:auto}
  .site-header .header-actions {margin-left:0;gap:9px}
  .site-header .header-actions .appointment-header-btn,.site-header .header-actions .gl-area-riservata {white-space:nowrap}
}
@media (max-width:980px) {
  .site-header .main-nav a {white-space:nowrap}
}
/* Do not apply a page-wide 80% transform: retain legible copy and a compact hero. */
@media (min-width:981px) {
  .home-hero-static,.home-hero-static .hero-slider-inner {min-height:326px!important}
  .home-hero-static .hero-slider-inner {padding:18px 0 19px!important}
  .home-hero-static h1 {font-size:clamp(41px,3.65vw,54px)!important;line-height:1!important;margin:5px 0 9px!important}
  .home-hero-static .hero-sub {font-size:15px!important;line-height:1.37!important}
  .home-hero-static .hero-philosophy {font-size:13px;line-height:1.28;margin-top:6px}
  .home-hero-static .hero-actions {margin-top:10px!important}
  .home-hero-static .hero-actions .btn {min-height:42px;padding:9px 15px}
  .home-ecosystem {padding:18px 0 20px}
  .home-ecosystem .container {width:min(1560px,calc(100% - 44px));max-width:none}
  .home-ecosystem-inner {display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  .home-ecosystem-copy .eyebrow {margin:0 0 2px}
  .home-ecosystem-copy h2 {font-size:clamp(25px,2.1vw,31px);margin:0 0 4px}
  .home-ecosystem-copy p {font-size:13.5px;line-height:1.32;margin:0 0 3px;max-width:none}
  .home-ecosystem-copy .text-link {font-size:13px}
  .home-brand-strip {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:stretch}
  .home-brand-strip img {width:100%;height:84px;min-width:0;object-fit:contain;padding:7px 10px;border-radius:13px}
}
/* Better-sized brand marks on laptops/tablets without horizontal overflow. */
@media (min-width:651px) and (max-width:980px) {
  .home-ecosystem {padding:18px 0}
  .home-ecosystem-inner {gap:14px}
  .home-brand-strip {grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
  .home-brand-strip img {height:78px;padding:8px 10px}
}
@media (max-width:650px) {
  .home-brand-strip {gap:10px;padding-bottom:8px}
  .home-brand-strip img {min-width:135px;height:73px;padding:7px 9px;border-radius:12px}
}
