/*
 * theme.css - nuovo layout gigasys.it (topbar + header bianco, hero a immagine, fasce grigio antracite, accenti rossi).
 * Caricato DOPO styles.css: ridefinisce chrome condiviso e riveste i componenti legacy; i blocchi della home sono sotto .hx.
 */
:root {
  --ink: #292929;
  --deep: #980b00;
  --petrol: #980b00;
  --petrol-soft: #b3200f;
  --paper: #f4f5f7;
  --white: #ffffff;
  --sand: #e4263f;
  --line: rgba(41, 41, 41, .15);
  --serif: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: min(1180px, calc(100vw - 64px));
  --graphite: linear-gradient(110deg, #1f2023 0%, #3a3c40 100%);
  --radius-lg: 0;
  --radius-md: 0;
  --shadow: 0 14px 34px rgba(34, 34, 34, .08);
  --stroke: rgba(41, 41, 41, .15);
}
html, body { font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif; background: var(--paper); font-size: 15px; line-height: 1.6; }
body { overflow-x: hidden; }
h1, h2, h3, h4 { font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif; }
.section-shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px; background: #fff; color: var(--ink); transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---------- topbar ---------- */
.topbar { position: relative; z-index: 60; height: 34px; background: #1f2023; color: #d9dadd; font-size: 12px; }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 max(32px, calc((100vw - 1360px) / 2)); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 26px; }
.topbar a, .topbar a:visited { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topbar-note { color: #a3a5aa; }
.topbar .topbar-link, .topbar .topbar-link:visited { font-weight: 700; color: var(--sand); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; width: 100%; height: 76px; margin: 0; padding: 0 max(32px, calc((100vw - 1360px) / 2)); display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 28px; background: #fff; border: 0; border-bottom: 1px solid #ececec; border-radius: 0; backdrop-filter: none; transition: height .25s, box-shadow .25s; }
.site-header.is-scrolled { height: 66px; box-shadow: 0 8px 24px rgba(34, 34, 34, .1); }
.brand img { width: auto; height: 40px; transition: height .25s; }
.site-header.is-scrolled .brand img { height: 34px; }
.main-nav { display: flex; align-items: center; flex: 1; justify-content: flex-end; gap: 26px; flex-wrap: nowrap; }
.main-nav a, .main-nav a:visited, .nav-dropdown summary { min-height: 0; padding-block: 10px; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); text-decoration: none; transition: color .2s; white-space: nowrap; }
.main-nav a:hover, .nav-dropdown summary:hover, .nav-dropdown[open] summary { color: var(--petrol); }
.nav-dropdown summary::after { color: #8d8f94; }
/* voci di menu: peso pieno e indicatore rosso (hover e pagina corrente) */
@media (min-width: 1041px) {
  .main-nav > a, .main-nav > a:visited, .nav-dropdown summary { position: relative; font-weight: 600; letter-spacing: .01em; }
  .main-nav > a::after, .nav-dropdown summary::before { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--petrol); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
  .main-nav > a:hover::after, .nav-dropdown summary:hover::before, .nav-dropdown[open] summary::before,
  .main-nav > a[aria-current="page"]::after, .nav-dropdown[data-current] summary::before { transform: scaleX(1); }
  .main-nav > a[aria-current="page"], .nav-dropdown[data-current] summary { color: var(--petrol); }
}
.nav-dropdown-menu a[aria-current="page"] { color: var(--petrol); font-weight: 600; }
.nav-dropdown-menu { top: calc(100% + 6px); border: 0; border-top: 3px solid var(--petrol); border-radius: 0; background: #fff; box-shadow: 0 18px 40px rgba(34, 34, 34, .16); padding: 6px; min-width: 14rem; }
.nav-dropdown-menu a, .nav-dropdown-menu a:visited { color: var(--ink); padding: 10px 14px; font-size: 14px; text-transform: none; letter-spacing: 0; }
.nav-dropdown-menu a:hover { background: #f4f5f7; color: var(--petrol); }
.header-search { margin: 0; }
.header-search input { width: 8rem; padding: 8px 12px; border: 1px solid #d4d4d4; border-radius: 0; background: #fff; font-size: 14px; font-weight: 500; color: var(--ink); }
.header-search input:focus { outline: 0; border-color: var(--petrol); }
.site-header .btn.btn-small, .site-header .btn.btn-small:visited { flex: none; display: inline-flex; align-items: center; gap: 8px; height: auto; min-height: 0; padding: 13px 20px; border: 1px solid var(--petrol); border-radius: 0; background: var(--petrol); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; box-shadow: none; transform: none; }
.site-header .btn.btn-small:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.nav-toggle { border: 0; background: none; width: 44px; height: 44px; border-radius: 0; }
.nav-toggle span { background: var(--ink); height: 2px; }

@media (max-width: 1100px) { .main-nav { gap: 18px; } .header-search input { width: 6.5rem; } }
@media (max-width: 1040px) {
  .site-header { height: 68px; padding-inline: 20px; position: sticky; flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-header .btn.btn-small { display: none; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: #1f2023; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); border: 0; border-radius: 0; max-height: calc(100vh - 110px); overflow: auto; }
  .site-header.menu-open .main-nav { display: flex; }
  .main-nav a, .main-nav a:visited, .nav-dropdown summary { display: flex; padding: 14px 4px; font-size: 16px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .main-nav a:hover, .nav-dropdown summary:hover, .nav-dropdown[open] summary { color: var(--sand); background: none; }
  .nav-dropdown-menu { position: static; box-shadow: none; background: transparent; border-top: 0; padding: 0 0 0 14px; }
  .nav-dropdown-menu a, .nav-dropdown-menu a:visited { color: #d9dadd; border-bottom: 0; padding: 10px 4px; font-size: 15px; }
  .nav-dropdown-menu a:hover { background: none; color: var(--sand); }
  .header-search { order: 0; flex: none; margin-top: 12px; }
  .header-search input { width: 100%; padding: 12px 14px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
}
@media (max-width: 760px) { .topbar-right { display: none; } .topbar-inner { padding: 0 20px; } .topbar-left { gap: 18px; } }

/* ---------- footer ---------- */
.site-footer { margin: 0; padding: 0; border: 0; border-radius: 0; background: #1f2023; color: #c9cacd; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; padding-block: 56px 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand { display: flex; flex-direction: column; gap: 26px; }
.footer-company { display: flex; gap: 18px; align-items: flex-start; max-width: 380px; }
.footer-company img { width: 64px; height: 64px; border-radius: 6px; background: #fff; padding: 4px; }
.footer-company strong { display: block; margin-bottom: 6px; color: #fff; font-size: 16px; }
.footer-company span { display: block; font-size: 13px; line-height: 1.6; }
.footer-certifications { align-self: flex-start; display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #fff; border-radius: 10px; }
.footer-certifications a { display: block; }
.footer-certifications img { display: block; width: 52px; height: auto; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 56px; }
.footer-cols h3 { margin: 0 0 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--sand); }
.footer-cols ul { margin: 0; padding: 0; list-style: none; }
.footer-cols li { margin-bottom: 10px; font-size: 14px; }
.site-footer a, .site-footer a:visited { color: #e6e7e9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-socket { padding-block: 22px; }
.footer-socket p { margin: 0; font-size: 13px; color: #8d8f94; }
@media (max-width: 900px) { .footer-top { flex-direction: column; gap: 36px; } .footer-cols { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- pulsanti ---------- */
.btn, .btn:visited { height: auto; min-height: 0; padding: 14px 24px; border: 1px solid var(--petrol); border-radius: 0; background: var(--petrol); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; box-shadow: none; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: none; }
.btn-ghost, .btn-ghost:visited { background: transparent; color: var(--petrol); border: 1px solid var(--petrol); box-shadow: none; }
.btn-ghost:hover { background: var(--petrol); border-color: var(--petrol); color: #fff; box-shadow: none; }
.mobile-sticky-cta { background: var(--petrol); border-radius: 0; box-shadow: 0 14px 24px rgba(0, 0, 0, .25); letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }

/* ---------- sezioni e card (pagine interne) ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--petrol); }
.eyebrow::before { content: ""; width: 42px; height: 1px; background: currentColor; flex: none; }
main#top > .section:not(.hero):not(.cta):not(.section-fullbleed):not(.section-no-panel) { width: var(--shell); margin: 0 auto; padding: 72px 0 8px; }
main#top > .section:not(.hero):not(.cta):not(.section-fullbleed):not(.section-no-panel):last-of-type { padding-bottom: 72px; }
.section-head { padding: 0; border: 0; margin-bottom: 32px; }
.section-head h2 { margin: 14px 0 0; font-size: clamp(28px, 3.2vw, 42px); font-weight: 300; line-height: 1.15; letter-spacing: -.01em; }
.section-lead { color: #666; }
.card { padding: 28px 26px; border: 1px solid var(--line); border-top: 3px solid var(--petrol); border-radius: 0; background: #fff; box-shadow: none; transition: transform .25s, box-shadow .25s; }
.grid > .card:hover, .grid > article.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-weight: 500; }
.section-head .card, .home-content-inner .card { border: 0; box-shadow: none; }
.mini-link-list { list-style: none; padding: 0; }
.mini-link-list li { margin: 0; border-top: 1px solid var(--line); }
.mini-link-list a, .mini-link-list a:visited { display: flex; justify-content: space-between; padding: 10px 0; border: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.mini-link-list a::after { content: "→"; color: var(--petrol); }
.mini-link-list a:hover { color: var(--petrol); }

/* hero delle pagine interne: immagine con overlay grigio */
.legacy-home-hero, .hero { border: 0; border-radius: 0; box-shadow: none; }
.legacy-home-hero { width: 100%; margin: 0; text-align: left; justify-items: start; align-content: center; min-height: clamp(380px, 52vh, 560px); padding: 72px max(32px, calc((100vw - 1180px) / 2)); background: #1f2023 !important; color: #fff; }
.legacy-home-hero::before { background: linear-gradient(90deg, rgba(58, 60, 65, .86) 0%, rgba(68, 70, 75, .62) 48%, rgba(90, 92, 98, .2) 100%), linear-gradient(0deg, rgba(20, 21, 23, .28), transparent 50%); }
.legacy-home-hero .hero-media img { filter: none; object-position: center; }
.legacy-home-hero .eyebrow { color: var(--sand); }
.legacy-home-hero h1 { max-width: 820px; font-size: clamp(34px, 4vw, 54px); font-weight: 300; line-height: 1.05; letter-spacing: -.02em; }
.legacy-home-hero h1 span { color: var(--sand); font-weight: 400; }
.legacy-home-hero .hero-copy { color: rgba(255, 255, 255, .85); max-width: 60ch; }
.legacy-home-hero .hero-actions { justify-content: flex-start; }
.legacy-home-hero .btn, .legacy-home-hero .btn:visited { background: #fff; color: var(--ink); border-color: #fff; }
.legacy-home-hero .btn:hover { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.legacy-home-hero .btn-ghost, .legacy-home-hero .btn-ghost:visited { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.legacy-home-hero .btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }

/* banda CTA finale */
.cta { width: 100%; margin: 72px 0 0; padding: 70px max(32px, calc((100vw - 1180px) / 2)); text-align: left; border: 0; border-top: 3px solid var(--petrol); border-radius: 0; background: var(--graphite); box-shadow: none; }
.cta h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 300; }
.cta p { margin: 0; max-width: 60ch; }
.cta .cta-actions { justify-content: flex-start; }
.cta .cta-actions::after { text-align: left; }
.cta .btn, .cta .btn:visited { min-height: 0; padding: 15px 26px; border-radius: 0; font-size: 12px; background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.cta .btn:hover { background: var(--petrol); border-color: var(--petrol); color: #fff; box-shadow: none; transform: translateY(-2px); }
.cta .btn-ghost, .cta .btn-ghost:visited { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
@media (max-width: 760px) { .cta, .legacy-home-hero { padding-inline: 20px; } :root { --shell: calc(100vw - 40px); } }

/* FAQ condivise */
.faq-section { width: var(--shell); margin-inline: auto; }
.faq-list { max-width: none; margin: 0; gap: 0; }
.faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { padding: 22px 8px 22px 0; font-size: 17px; font-weight: 500; }
.faq-item[open] summary { border-bottom: 0; }
.faq-answer { padding: 0 0 22px; max-width: 70ch; }

/* form */
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--petrol); outline: 0; box-shadow: 0 0 0 3px rgba(152, 11, 0, .12); }
.reveal { transition: opacity .6s ease, transform .6s ease; }

/* =========================================================
   HOME (.hx): componenti ricavati dal layout di prova home2
   ========================================================= */
.hx .section-shell { width: var(--shell); margin-inline: auto; }
.hx .eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; }
.hx .eyebrow span { width: 42px; height: 1px; background: currentColor; }
.hx .eyebrow-dark { color: var(--petrol); }
.hx .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-width: 190px; padding: 15px 18px; border: 0; cursor: pointer; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; transition: transform .2s, background .2s, color .2s; }
.hx .button:hover { transform: translateY(-2px); }
.hx .button-light { background: var(--white); color: var(--ink); }
.hx .button-dark { background: var(--ink); color: var(--white); }
.hx .text-link { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; border-bottom: 1px solid rgba(255,255,255,.45); padding: 10px 0; }
.hx .orbit { position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; pointer-events: none; }
.hx .orbit::before, .orbit::after { content: ""; position: absolute; inset: 13%; border: inherit; border-radius: inherit; transform: rotate(18deg); }
.hx .orbit::after { inset: 27%; transform: rotate(-21deg); }
.hx .arrow-link { display: flex; justify-content: space-between; margin-top: 32px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.hx .orbit-values { width: 650px; height: 260px; right: -420px; bottom: -10px; transform: rotate(-20deg); }
.hx .button-ghost { min-width: 0; border: 1px solid rgba(255,255,255,.55); background: transparent; color: #ffffff; }
.hx .button-ghost:hover { background: rgba(255,255,255,.12); }
.hx .button-outline { border: 1px solid rgba(255,255,255,.6); color: var(--white); background: transparent; }
.hx .button-outline:hover { background: var(--white); color: var(--ink); }
.hx .orbit-page { width: 700px; height: 260px; right: -320px; top: 90px; transform: rotate(-16deg); }
.hx .button-card { width: 100%; margin-top: 20px; border-radius: 6px; background: #ffffff; color: var(--ink); }
.hx .button-light:hover { background: #ffffff; color: var(--petrol); }
.hx a { color: inherit; text-decoration: none; }

.hx img { display: block; max-width: 100%; }

.hx button, .hx input, .hx textarea { font: inherit; }

.hx .hero { position: relative; display: block; padding-block: 44px 52px; overflow: hidden; background: var(--deep); color: var(--white); }

.hx .hero-media, .hx .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }

.hx .hero-media { object-fit: cover; object-position: center; }

.hx .hero-shade { background: linear-gradient(90deg, rgba(58,60,65,.84) 0%, rgba(68,70,75,.62) 45%, rgba(90,92,98,.22) 100%), linear-gradient(0deg, rgba(20,21,23,.28), transparent 50%); }

.hx .hero-inner { position: relative; z-index: 2; width: var(--shell); margin-inline: auto; display: grid; grid-template-columns: 1.25fr .75fr; gap: 6%; align-items: center; }

.hx .hero-content { position: relative; z-index: 2; }

.hx .hero h1, .hx .page-hero h1 { max-width: 850px; margin: 0; font-family: var(--serif); font-size: clamp(34px, 3.6vw, 52px); font-weight: 300; line-height: 1.02; letter-spacing: -.02em; }

.hx .hero h1 em, .hx .page-hero h1 em, .hx .display-title em, .hx .services-heading h2 em { font-weight: 400; color: var(--sand); }

.hx .hero-copy { max-width: 500px; margin: 20px 0 0; font-size: 16px; color: rgba(255,255,255,.78); }

.hx .section-number { padding-top: 28px; border-top: 1px solid var(--line); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .21em; }

.hx .section-number-light { border-color: rgba(255,255,255,.25); }

.hx .intro { padding-block: 100px 120px; }

.hx .intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 9%; margin-top: 76px; }

.hx .display-title { margin: 0; font-family: var(--serif); font-size: clamp(48px, 5.3vw, 78px); line-height: 1.02; font-weight: 400; letter-spacing: -.015em; }

.hx .display-title em { color: var(--petrol); }

.hx .intro-copy { padding-top: 8px; }

.hx .intro-copy p { color: #444444; }

.hx .intro-copy .lead { margin-top: 0; color: var(--ink); font-family: var(--serif); font-size: 25px; line-height: 1.35; }

.hx .trust-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 100px; border-block: 1px solid var(--line); }

.hx .trust-item { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 30px 28px; border-right: 1px solid var(--line); }

.hx .trust-item:last-child { border-right: 0; }

.hx .trust-item strong { font-family: var(--serif); font-size: 34px; font-weight: 400; color: var(--petrol); }

.hx .trust-item span { font-size: 11px; line-height: 1.45; text-transform: uppercase; letter-spacing: .08em; }

.hx .services-preview { padding-block: 100px 120px; background: var(--deep); color: var(--white); }

.hx .services-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 11%; align-items: end; padding: 74px 0 80px; }

.hx .services-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(50px, 5.5vw, 82px); font-weight: 400; line-height: 1; letter-spacing: -.015em; }

.hx .services-heading p { max-width: 390px; margin: 0 0 8px; color: rgba(255,255,255,.65); }

.hx .service-list { border-top: 1px solid rgba(255,255,255,.2); }

.hx .service-row { display: grid; grid-template-columns: 70px 1.1fr .9fr 32px; gap: 20px; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.2); transition: padding .25s, background .25s; }

.hx .service-row:hover { padding-inline: 18px; background: rgba(255,255,255,.05); }

.hx .service-no { font-size: 11px; color: var(--sand); }

.hx .service-row h3 { margin: 0; font-family: var(--serif); font-size: 29px; font-weight: 400; }

.hx .service-row p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }

.hx .service-arrow { font-size: 20px; }

.hx .method { padding-block: 110px 130px; }

.hx .method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; margin-top: 72px; }

.hx .method-sticky { align-self: start; position: sticky; top: 120px; }

.hx .method-sticky > p:last-child { max-width: 470px; margin-top: 28px; color: #666666; }

.hx .steps { margin: 0; padding: 0; list-style: none; }

.hx .steps li { display: grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 12px 0 44px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }

.hx .steps li > span { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--petrol); border-radius: 50%; font-size: 11px; }

.hx .steps h3 { margin: 2px 0 10px; font-family: var(--serif); font-size: 31px; font-weight: 400; }

.hx .steps p { margin: 0; color: #666666; }

.hx .values { position: relative; overflow: hidden; padding-block: 110px; background: var(--petrol); color: var(--white); }

.hx .values-grid { display: grid; grid-template-columns: .35fr 1.3fr .35fr; gap: 5%; align-items: start; }

.hx .values blockquote { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.6vw, 68px); line-height: 1.1; letter-spacing: -.015em; }

.hx .value-tags { display: flex; flex-direction: column; gap: 10px; }

.hx .value-tags span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; text-align: center; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }

.hx .contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-block: 120px; }

.hx .contact-copy .section-number { margin-bottom: 62px; }

.hx .contact-copy > p { max-width: 450px; color: #666666; }

.hx .contact-form { padding: 38px; background: var(--white); box-shadow: 0 22px 70px rgba(34,34,34,.08); }

.hx .contact-form label { display: block; margin-bottom: 26px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }

.hx .contact-form input:not([type="checkbox"]), .hx .contact-form textarea { display: block; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #aaaaaa; outline: none; resize: vertical; background: transparent; color: var(--ink); }

.hx .contact-form input:focus, .hx .contact-form textarea:focus { border-color: var(--petrol); }

.hx .contact-form .privacy { display: flex; gap: 10px; align-items: flex-start; font-size: 9px; font-weight: 400; line-height: 1.5; text-transform: none; letter-spacing: .03em; }

.hx .privacy input { margin-top: 3px; accent-color: var(--petrol); }

.hx .form-status { min-height: 1.4em; margin: 12px 0 0; font-size: 12px; color: var(--petrol); }

.hx .contact-form select { display: block; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #aaaaaa; outline: none; background: transparent; color: var(--ink); font: inherit; text-transform: none; letter-spacing: 0; font-weight: 400; }

.hx .contact-form select:focus { border-color: var(--petrol); }

.hx .hero-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 0 28px; padding: 4px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }

.hx .hero-tabs a { padding: 10px 18px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); transition: background .2s, color .2s; }

.hx .hero-tabs a:hover { color: #ffffff; }

.hx .hero-tabs a.is-active { background: rgba(255,255,255,.2); color: #ffffff; }

.hx .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

.hx .hero-facts { display: flex; flex-wrap: wrap; gap: 30px; margin: 30px 0 0; padding: 0; list-style: none; }

.hx .hero-facts li { padding-left: 16px; border-left: 2px solid var(--sand); }

.hx .hero-facts strong { display: block; font-size: 20px; font-weight: 600; line-height: 1.1; }

.hx .hero-facts span { display: block; margin-top: 3px; font-size: 12px; color: rgba(255,255,255,.68); }

.hx .hero-card { padding: 22px 24px 20px; background: rgba(44,46,50,.72); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.16); border-radius: 6px; color: #ffffff; box-shadow: 0 30px 80px rgba(0,0,0,.4); }

.hx .card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }

.hx .card-head strong { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }

.hx .card-head strong::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3ecf8e; }

.hx .card-head span { color: rgba(255,255,255,.6); letter-spacing: .04em; text-transform: none; }

.hx .hero-card label { margin-bottom: 14px; font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,.9); }

.hx .hero-card input:not([type="checkbox"]), .hx .hero-card select { margin-top: 6px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; background: rgba(255,255,255,.07); color: #ffffff; font-size: 14px; }

.hx .hero-card input::placeholder { color: rgba(255,255,255,.45); }

.hx .hero-card select option { color: #292929; }

.hx .hero-card input:focus, .hx .hero-card select:focus { border-color: #ffffff; background: rgba(255,255,255,.12); }

.hx .hero-card .privacy { margin-top: -2px; margin-bottom: 16px; font-size: 11px; color: rgba(255,255,255,.72); }

.hx .hero-card .privacy input { margin-top: 2px; accent-color: #ffffff; }

.hx .hero-card .button { width: 100%; border-radius: 6px; background: #ffffff; color: var(--ink); }

.hx .hero-card .form-status { color: var(--sand); }

.hx .card-foot { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); text-align: center; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); }

.hx .stats-strip { background: var(--white); border-bottom: 1px solid var(--line); }

.hx .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.hx .stat { padding: 38px 28px; border-right: 1px solid var(--line); }

.hx .stat:first-child { padding-left: 0; }

.hx .stat:last-child { border-right: 0; }

.hx .stat strong { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 300; color: var(--petrol); line-height: 1.1; }

.hx .stat span { display: block; margin-top: 10px; font-size: 11px; line-height: 1.45; text-transform: uppercase; letter-spacing: .08em; color: #666666; }

.hx .services-block, .hx .clients-block, .hx .process-block, .hx .faq-block { padding-block: 100px; }

.hx .clients-block, .hx .faq-block { background: var(--white); }

.hx .block-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 8%; align-items: end; margin-bottom: 56px; }

.hx .block-head .eyebrow { margin-bottom: 18px; }

.hx .block-title { margin: 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; line-height: 1.12; letter-spacing: -.01em; }

.hx .block-lead { margin: 0; color: #666666; }

.hx .block-head .arrow-link { margin-top: 0; justify-self: end; min-width: 220px; }

.hx .service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.hx .service-card { position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 28px 26px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--petrol); transition: transform .25s, box-shadow .25s; }

.hx .service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(34,34,34,.1); }

.hx .service-no { font-size: 11px; font-weight: 700; color: var(--petrol); letter-spacing: .12em; }

.hx .service-card h3 { margin: 30px 0 12px; font-size: 22px; font-weight: 500; line-height: 1.2; }

.hx .service-card p { margin: 0; color: #666666; font-size: 14px; }

.hx .service-card .service-arrow { margin-top: auto; padding-top: 24px; font-size: 20px; color: var(--petrol); }

.hx .client-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }

.hx .client-tile { padding: 34px 28px; border-right: 1px solid var(--line); background: var(--paper); }

.hx .client-tile:last-child { border-right: 0; }

.hx .client-tile h3 { margin: 0; font-size: 19px; font-weight: 500; color: var(--petrol); }

.hx .client-tile p { margin: 12px 0 0; color: #666666; font-size: 14px; }

.hx .step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }

.hx .step-card { padding: 34px 30px 38px; background: var(--white); border: 1px solid var(--line); }

.hx .step-card span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--petrol); color: var(--white); font-size: 12px; font-weight: 600; }

.hx .step-card h3 { margin: 28px 0 10px; font-size: 24px; font-weight: 500; }

.hx .step-card p { margin: 0; color: #666666; }

.hx .values-duo { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 8%; }

.hx .values-duo blockquote { margin: 0; font-size: clamp(24px, 2.6vw, 36px); font-weight: 300; line-height: 1.25; }

.hx .values-duo .eyebrow { color: var(--sand); }

.hx .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; }

.hx .faq-list details { border-bottom: 1px solid var(--line); }

.hx .faq-list details:first-child { border-top: 1px solid var(--line); }

.hx .faq-list summary { position: relative; padding: 22px 40px 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; }

.hx .faq-list summary::-webkit-details-marker { display: none; }

.hx .faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 300; color: var(--petrol); }

.hx .faq-list details[open] summary::after { content: "−"; }

.hx .faq-list details p { margin: 0 0 24px; color: #666666; max-width: 620px; }

.hx .cta-band { padding-block: 70px; background: linear-gradient(100deg, #1f2023 0%, #34363a 100%); border-top: 3px solid var(--petrol); color: var(--white); }

.hx .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }

.hx .cta-inner h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 300; }

.hx .cta-inner p { margin: 8px 0 0; color: rgba(255,255,255,.75); }

.hx .cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hx .page-hero { position: relative; overflow: hidden; padding: 96px 0 90px; background: var(--deep); color: var(--white); }

.hx .page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr .6fr; gap: 9%; align-items: end; }

.hx .page-hero-grid > p { max-width: 400px; margin: 0 0 10px; color: rgba(255,255,255,.7); font-size: 18px; }

.hx .services-image { padding-top: 90px; }

.hx .services-image img { width: 100%; max-height: 640px; object-fit: cover; }

.hx .image-caption { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }

.hx .detail-kicker { margin: 0 0 16px; font-size: 10px; font-weight: 700; color: var(--petrol); text-transform: uppercase; letter-spacing: .16em; }

.hx .service-detail { padding-block: 70px 100px; }

.hx .detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.hx .detail-card { padding: 38px 36px 34px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--petrol); scroll-margin-top: 110px; }

.hx .detail-card h2 { margin: 6px 0 14px; font-size: 28px; font-weight: 500; line-height: 1.15; }

.hx .detail-text { margin: 0; color: #444444; }

.hx .detail-card ul { margin: 24px 0 0; padding: 0; list-style: none; }

.hx .detail-card li { position: relative; padding: 11px 0 11px 24px; border-top: 1px solid var(--line); font-size: 14px; }

.hx .detail-card li::before { content: "→"; position: absolute; left: 0; color: var(--petrol); }

.hx .step-grid-4 { grid-template-columns: repeat(4, 1fr); }

.hx .step-grid-4 .step-card h3 { font-size: 20px; line-height: 1.25; }

@media (max-width: 900px) {
.hx .hero { padding-block: 48px 56px; }

.hx .hero-inner, .hx .block-head, .hx .faq-grid, .hx .values-duo { grid-template-columns: 1fr; gap: 36px; }

.hx .stats-grid, .hx .service-grid, .hx .client-grid { grid-template-columns: repeat(2, 1fr); }

.hx .stat:nth-child(2) { border-right: 0; }

.hx .stat:nth-child(3) { padding-left: 0; }

.hx .client-tile:nth-child(2) { border-right: 0; }

.hx .client-tile:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

.hx .step-grid, .hx .step-grid-4 { grid-template-columns: repeat(2, 1fr); }

.hx .detail-grid { grid-template-columns: 1fr; }

.hx .block-head .arrow-link { justify-self: start; }

.hx .cta-inner { flex-direction: column; align-items: flex-start; }

.hx .hero-media { object-position: 64% center; }

.hx .hero h1, .hx .page-hero h1 { font-size: clamp(40px, 8vw, 56px); }

.hx .hero-copy { max-width: 440px; }

.hx .intro-grid, .hx .services-heading, .hx .method-grid, .hx .contact, .hx .page-hero-grid { grid-template-columns: 1fr; gap: 42px; }

.hx .trust-row { grid-template-columns: 1fr; }

.hx .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }

.hx .trust-item:last-child { border-bottom: 0; }

.hx .service-row { grid-template-columns: 45px 1fr 30px; }

.hx .service-row p { display: none; }

.hx .method-sticky { position: static; }

.hx .values-grid { grid-template-columns: 1fr; gap: 35px; }

.hx .value-tags { flex-direction: row; flex-wrap: wrap; }

}

@media (max-width: 560px) {
.hx .hero { padding-block: 130px 50px; }

.hx .stats-grid, .hx .service-grid, .hx .client-grid { grid-template-columns: 1fr; }

.hx .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }

.hx .stat:last-child { border-bottom: 0; }

.hx .client-tile { border-right: 0; border-bottom: 1px solid var(--line); }

.hx .client-tile:last-child { border-bottom: 0; }

.hx .step-grid, .hx .step-grid-4 { grid-template-columns: 1fr; }

.hx .detail-card { padding: 30px 24px; }

.hx .services-block, .hx .clients-block, .hx .process-block, .hx .faq-block { padding-block: 70px; }

.hx .hero-card { padding: 26px 22px; }

.hx .hero h1, .hx .page-hero h1 { font-size: clamp(34px, 10vw, 46px); }

.hx .hero-copy { font-size: 16px; }

.hx .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }

.hx .intro, .hx .method, .hx .contact, .hx .service-cta { padding-block: 80px; }

.hx .intro-grid { margin-top: 48px; }

.hx .display-title { font-size: 45px; }

.hx .trust-row { margin-top: 65px; }

.hx .services-preview { padding-block: 80px; }

.hx .services-heading { padding-block: 50px; }

.hx .services-heading h2 { font-size: 46px; }

.hx .service-row h3 { font-size: 23px; }

.hx .values { padding-block: 80px; }

.hx .contact-form { padding: 28px 22px; }

.hx .page-hero { padding: 70px 0 60px; }

.hx .services-image { padding-top: 45px; }

.hx .services-image img { height: 390px; object-position: 36% center; }

}

.hx /* --- home2: specifiche Gigasys --- */
.brand-logo { height: 40px; }

.hx .client-grid.two { grid-template-columns: repeat(2, 1fr); }

.hx .service-grid.three { grid-template-columns: repeat(3, 1fr); }

.hx .service-card { min-height: 0; }

.hx .link-list { margin: auto 0 0; padding: 22px 0 0; list-style: none; }

.hx .link-list li { border-top: 1px solid var(--line); }

.hx .link-list a { display: flex; justify-content: space-between; padding: 11px 0; font-size: 14px; font-weight: 600; transition: color .2s, padding .2s; }

.hx .link-list a::after { content: "→"; color: var(--petrol); }

.hx .link-list a:hover { color: var(--petrol); padding-left: 6px; }

.hx .quick-link { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 500; }

.hx .quick-link i { font-style: normal; transition: transform .2s; }

.hx .quick-link:hover i { transform: translateX(4px); }

.hx .card-head strong::before { background: #e4263f; }

@media (max-width: 900px) {
.hx .service-grid.three, .hx .client-grid.two { grid-template-columns: 1fr; }

.hx .client-tile { border-right: 0 !important; border-bottom: 1px solid var(--line); }

}

.hx .values { background: linear-gradient(110deg, #2a2b2e 0%, #3d3f43 100%); }

.hx .values .eyebrow { color: var(--sand); }

.hx .values blockquote { color: #f1f1f2; }

.hx .hero h1 em { color: var(--sand); }

.hx .hero-facts li { border-left-color: var(--sand); }

.hx .faq-list summary:hover { color: var(--petrol); }

.hx .stat strong, .hx .client-tile h3 { color: var(--petrol); }

.hx .cta-actions { align-items: center; }

.hx .cta-phone { font-size: 14px; color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; }

.hx .cta-phone:hover { color: #fff; border-color: #fff; }

.hx .hero-media { opacity: 1; z-index: 0; }
.hx .hero { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.hx h1 { margin: 0; }
.hx .eyebrow::before { display: none; }
.legacy-home-hero .eyebrow { color: #fff; }
.legacy-home-hero .eyebrow::before { background: var(--sand); height: 2px; }
h1 { font-weight: 300; letter-spacing: -.02em; }

/* ---------- riallineamento componenti legacy (via blu/azzurro) ---------- */
.hero-points li { background: rgba(152, 11, 0, .06); border-radius: 0; }
.slider-dot { background: rgba(41, 41, 41, .22); }
.card-gradient { background: var(--graphite); color: #fff; border-top-color: var(--sand); }
.card-gradient h3, .card-gradient p, .card-gradient li { color: #fff; }
.log-manager-bg { background: linear-gradient(110deg, rgba(31, 32, 35, .92), rgba(58, 60, 65, .8)), url("../images/sfondo-ufficio.jpg") center / cover no-repeat; border-radius: 0; }
.log-manager-bg::before { background: linear-gradient(180deg, rgba(10, 10, 11, .08), rgba(10, 10, 11, .3)); }
main#top > .article-band:nth-of-type(even) .article-inner { background: #fff; }
.step-badge, .article-section-band .step-badge { border-radius: 0; box-shadow: none; }
.article-section-band .step-badge { background: rgba(152, 11, 0, .1); color: var(--petrol); }
.spec-table { border-radius: 0; }
.spec-table th { background: rgba(152, 11, 0, .08); font-family: inherit; }
.quality-graph .quality-track::before { background: linear-gradient(90deg, #980b00, #e4263f); }
@media (max-width: 760px) { .quality-graph .quality-track::before { background: linear-gradient(180deg, #980b00, #e4263f); } }
.quality-milestone .node, .quality-milestone:nth-child(2n) .node { box-shadow: 0 0 0 3px rgba(152, 11, 0, .16); }
.timeline li { border: 1px solid var(--line); border-top: 3px solid var(--petrol); border-radius: 0; background: #fff; }
.timeline li span { border-radius: 0; color: #fff; }
.note-card { border-left: 4px solid var(--petrol); }
.cookie-modal-section.is-required .cookie-modal-row, .cookie-modal-table th { background: #f4f5f7; }
.cookie-modal-panel, .cookie-banner-inner { border-radius: 0; }
.mobile-sticky-cta { background: var(--petrol); }
.breadcrumbs a { color: var(--petrol); }
.legacy-home-hero h2 { max-width: 820px; margin: 0 0 1rem; font-size: clamp(28px, 3.4vw, 46px); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; position: relative; z-index: 2; }
.legacy-home-hero h2 span { display: block; margin-top: .4rem; color: var(--sand); font-weight: 400; font-size: .62em; line-height: 1.3; }
.legacy-home-hero ~ .legacy-home-hero { min-height: 340px; }
.legacy-home-hero ~ .legacy-home-hero::before { background: linear-gradient(90deg, rgba(31, 32, 35, .9) 0%, rgba(45, 46, 50, .74) 55%, rgba(60, 62, 66, .5) 100%); }

/* ---------- ritmo a fasce alternate (bianco / grigio) per le pagine interne ---------- */
main#top > .section:not(.hero):not(.cta):not(.section-fullbleed):not(.section-no-panel) { padding: 72px 0; clip-path: inset(0 -100vmax); }
main#top > .section:not(.hero):not(.cta):not(.section-fullbleed):not(.section-no-panel):last-of-type { padding-bottom: 72px; }
main#top > .section:not(.hero):not(.cta):not(.section-fullbleed):not(.section-no-panel):nth-of-type(even) { background: #fff; box-shadow: 0 0 0 100vmax #fff; }
main#top > .section:nth-of-type(even):not(.hero):not(.cta):not(.section-fullbleed):not(.section-no-panel) .card { background: var(--paper); }
.cta { margin-top: 0; }
.card img + h3, .card img + h2 { margin-top: 1rem; }

/* pagine con sezioni "senza pannello" (contatti): stessa larghezza del resto del sito */
main#top > .section.section-no-panel { width: var(--shell); max-width: none; margin-inline: auto; padding-inline: 0; }
main#top > .section.section-no-panel.contact-hero { padding-top: 72px; }
.legacy-home-hero h1 span { display: block; margin-top: .6rem; font-size: .48em; font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.lead-form input, .lead-form select, .lead-form textarea { border-radius: 0; }
.legacy-home-hero h1 span { color: rgba(255, 255, 255, .88); }
.cta .cta-actions::after { content: "Senza impegno"; }
.section > .card + .grid, .section > .grid + .card, .section > .card + .card, .section > .grid + .grid { margin-top: 1.25rem; }
.card .spec-table { margin-top: 1.25rem; }
.card .spec-table td, .card .spec-table th { padding: .85rem 1rem; }
.section > .card + .media-gallery, .section > .grid + .media-gallery { margin-top: 1.25rem; }
