/* Home Gigasys: layout chiaro, compatto e circoscritto alla pagina. */
body { background: #f5f7fb; color: #182235; }
.topbar { display: none; }
.site-header { position: relative; top: auto; width: 100%; height: 78px; margin: 0; padding: 0 max(28px, calc((100vw - 1340px) / 2)); gap: 14px; border: 0; border-top: 4px solid #d9364d; border-bottom: 1px solid #e2e7ef; border-radius: 0; background: #fff; box-shadow: none; backdrop-filter: none; }
.site-header.is-scrolled { height: 72px; }
.site-header .brand img { height: 36px; }
.main-nav { gap: 16px; min-width: 0; }
.main-nav a, .main-nav a:visited, .nav-dropdown summary { font-size: 14px; font-weight: 600; }
.header-search input { width: 124px; border-radius: 999px; background: #f3f5f8; border-color: transparent; }
.site-header > .btn.btn-small, .site-header > .btn.btn-small:visited { flex: none; padding: 13px 20px; border: 1px solid #d9364d; border-radius: 10px; background: #d9364d; color: #fff; white-space: nowrap; box-shadow: 0 7px 16px rgba(217,54,77,.16); }
main#top { overflow: clip; }
.home-modern { color: #182235; font-family: var(--sans, Arial, sans-serif); }
.home-modern * { box-sizing: border-box; }
.home-modern a { text-decoration: none; }
.home-modern .home-eyebrow { margin: 0 0 20px; color: #d9364d; font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; }
.home-hero { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(32px,5vw,70px); min-height: 530px; padding: 64px max(28px, calc((100vw - 1276px) / 2)); background: #f5f7fb; }
.home-hero-copy, .home-hero-visual { min-width: 0; }
.home-hero h1 { max-width: 12ch; margin: 0; color: #182235; font-size: clamp(44px,4.4vw,64px); font-weight: 750; line-height: 1.07; letter-spacing: -.045em; }
.home-hero h1 span { color: #d9364d; }
.home-hero-copy > p:not(.home-eyebrow) { max-width: 54ch; margin: 24px 0 0; color: #5f6b7e; font-size: 17px; line-height: 1.65; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.home-modern .home-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 20px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: background .2s, transform .2s; }
.home-modern .home-button:hover { transform: translateY(-2px); }
.home-modern .home-button-primary, .home-modern .home-button-primary:visited { background: #d9364d; border-color: #d9364d; color: #fff; box-shadow: 0 8px 18px rgba(217,54,77,.16); }
.home-modern .home-button-primary:hover { background: #ba263d; }
.home-modern .home-button-secondary, .home-modern .home-button-secondary:visited { background: #fff; border-color: #cbd4e1; color: #263650; }
.home-hero-visual { margin: 0; overflow: hidden; border: 1px solid #d8e0eb; border-radius: 19px; background: #14243a; box-shadow: 0 24px 55px rgba(26,43,68,.16); }
.home-hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; object-position: 57% center; }
.home-value-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0 max(28px, calc((100vw - 1276px) / 2)); border-block: 1px solid #e0e6ef; background: #fff; }
.home-value-strip > div { min-width: 0; padding: 24px; border-right: 1px solid #e8ecf2; }
.home-value-strip > div:first-child { padding-left: 0; }
.home-value-strip > div:last-child { border-right: 0; }
.home-value-strip strong, .home-value-strip span { display: block; }
.home-value-strip strong { margin-bottom: 5px; font-size: 15px; }
.home-value-strip span { color: #647187; font-size: 13px; line-height: 1.5; }
.home-solutions { width: min(1276px,calc(100% - 56px)); margin: 0 auto; padding: 68px 0 76px; scroll-margin-top: 30px; }
.home-section-heading { margin-bottom: 28px; }
.home-section-heading h2, .home-approach h2, .home-cta h2 { margin: 0; font-size: clamp(30px,3vw,40px); font-weight: 700; line-height: 1.16; letter-spacing: -.035em; }
.home-section-heading > p:last-child { margin: 12px 0 0; color: #647187; font-size: 16px; line-height: 1.6; }
.home-solution-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.home-modern .home-solution-card { display: flex; flex-direction: column; min-width: 0; min-height: 245px; padding: 26px; border: 1px solid #e0e6ef; border-radius: 14px; background: #fff; color: #182235; box-shadow: 0 8px 22px rgba(30,45,67,.045); transition: transform .2s, border-color .2s; }
.home-solution-card:hover { transform: translateY(-3px); border-color: #cbd4e1; }
.home-card-index { color: #d9364d; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.home-solution-card h3 { margin: 18px 0 8px; color: #182235; font-size: 21px; font-weight: 700; line-height: 1.25; }
.home-solution-card p { margin: 0 0 22px; color: #647187; font-size: 15px; line-height: 1.55; }
.home-card-link { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid #e8ecf2; color: #b82b3e; font-size: 13px; font-weight: 700; }
.home-approach { width: 100%; background: #14243a; color: #fff; }
.home-approach-inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 8%; width: min(1276px,calc(100% - 56px)); margin: 0 auto; padding: 68px 0; }
.home-approach .home-eyebrow { color: #f16978; }
.home-approach h2 { max-width: 16ch; color: #fff; }
.home-approach p:not(.home-eyebrow) { max-width: 58ch; margin: 20px 0 22px; color: #c5d0df; font-size: 16px; line-height: 1.65; }
.home-approach a { color: #fff; font-size: 14px; font-weight: 700; border-bottom: 1px solid #e97a88; padding-bottom: 4px; }
.home-approach-points { align-self: center; }
.home-approach-points > div { display: flex; gap: 22px; align-items: center; padding: 20px 0; border-bottom: 1px solid #405168; }
.home-approach-points > div:first-child { border-top: 1px solid #405168; }
.home-approach-points strong { color: #f16978; font-size: 13px; }
.home-approach-points span { font-size: 17px; font-weight: 600; }
.home-cta { padding: 64px 24px 74px; background: #fff; text-align: center; }
.home-cta p { margin: 12px auto 24px; color: #647187; font-size: 16px; line-height: 1.6; }
.home-modern a:focus-visible { outline: 3px solid #e0546a; outline-offset: 4px; }
@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; min-height: 0; padding-block: 52px; }
  .home-hero h1 { max-width: 18ch; }
  .home-hero-visual { max-width: 760px; }
  .home-solution-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .site-header { height: 68px; padding-inline: 16px; }
  .site-header .brand img { height: 30px; }
  .home-hero { gap: 34px; padding: 42px 20px 48px; }
  .home-hero h1 { font-size: clamp(39px,10vw,48px); }
  .home-hero-copy > p:not(.home-eyebrow) { font-size: 15px; }
  .home-actions { flex-direction: column; }
  .home-actions .home-button { width: 100%; }
  .home-hero-visual img { object-position: 58% center; }
  .home-value-strip { grid-template-columns: 1fr; padding-inline: 20px; }
  .home-value-strip > div, .home-value-strip > div:first-child { padding: 15px 0; border-right: 0; border-bottom: 1px solid #e8ecf2; }
  .home-value-strip > div:last-child { border-bottom: 0; }
  .home-solutions { width: calc(100% - 40px); padding: 48px 0 52px; }
  .home-solution-grid { grid-template-columns: 1fr; }
  .home-modern .home-solution-card { min-height: 0; padding: 23px; }
  .home-approach-inner { grid-template-columns: 1fr; gap: 34px; width: calc(100% - 40px); padding: 50px 0; }
  .home-cta { padding: 50px 20px 58px; }
  .home-cta .home-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-modern .home-button, .home-solution-card { transition: none; }
}
