/* CSS rules used in at least one covered page
   Source: http://localhost:8080/assets/css/style.css?v=20250218
   Pages covered: 24
   Generated from: 25 JSON files
*/

:root {
    --elen-white: #ffffff;
    --elen-white-soft: #e5e7eb;
    --elen-blue: #38bdf8;
    --elen-blue-strong: #0ea5e9;
    --elen-dark: #0b1220;
    --elen-dark-soft: rgba(11, 18, 32, 0.7);
    --elen-blue-band: #1f63ff;
}

html,
body {
    font-family: 'Montserrat', system-ui, Arial, sans-serif;
    margin: 0;
}

* {
    box-sizing: border-box
}

body {
    font-family: 'Montserrat', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 18px
}

.brand-link {
    display: flex;
    align-items: center
}

.brand-logo {
    height: 108px;
    width: auto;
    display: block
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: .2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nav a,
.nav button {
    font-weight: 800;
    padding: 10px 12px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav--desktop .nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav--desktop .nav-submenu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.nav-submenu-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
}

.nav--desktop .nav-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    padding: 6px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav--desktop .nav-submenu a {
    color: inherit !important;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 0;
    font-weight: 700;
    white-space: nowrap;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.nav--desktop .nav-submenu a:hover {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.nav--desktop .nav-item--has-submenu:hover .nav-submenu,
.nav--desktop .nav-item--has-submenu:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: inherit;
}

.lang-switch a {
    text-decoration: none;
    padding: 4px 6px;
    border-radius: 8px;
}

.lang-switch a.is-active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-search-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 999px;
}

.nav-search-link svg {
    width: 22px;
    height: 22px;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 900;
    border: 1px solid var(--border);
    background: #fff;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    border: none;
}

.hero {
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #ffffff, #eef4ff);
    padding: 30px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
}

.hero h1 {
    margin: 0 0 10px 0;
    font-size: 38px;
    line-height: 1.05
}

.hero p {
    margin: 0 0 18px 0;
    color: var(--muted);
    max-width: 70ch
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr
    }

    .hero h1 {
        font-size: 32px
    }
}

/* Mega menu: nascosto di default */
.header {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: #fff;
}

.navbar {
    position: relative;
}

.header {
    position: relative;
    z-index: 2001;
}

.header {
    background: #0b1b3a;
    /* blu scuro */
    color: #fff;
}

.nav a,
.nav .nav-dd {
    color: #fff;
}

/* =========================
   HERO VIDEO
========================= */

.hero {
    position: relative;
    height: 78vh;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 18px;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 32px;
}

/* BOTTONI */

.btn-primary {
    background: #1f63ff;
    color: #fff;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
}

/* Font globale coerente */
html,
body {
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* Tutto il sito sopra il video */


/* Header sopra video: trasparente */
.header {
    background: transparent;
}

/* Navbar: colore e tipografia uniforme */
.nav a,
.nav button {
    color: #fff;
    font-weight: 700;
    letter-spacing: .2px;
}

/* Logo */
.brand-logo {
    height: 108px;
    width: auto;
    display: block;
}

/* sito sopra il video */
.header,
main,
footer {
    position: relative;
    z-index: 2;
}

/* HERO sopra video */
.hero {
    position: relative;
    z-index: 2;
    padding: 56px 0 24px;
}

.hero__content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 16px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .45);
}

.hero__content h1 {
    margin: 0 0 10px;
    font-size: clamp(34px, 4.2vw, 56px);
    font-weight: 800;
    letter-spacing: .5px;
}

/* HERO video full width */
.hero--video {
    position: relative;
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    margin: 18px auto 26px;
    max-width: 1200px;
    /* o 100% se vuoi full */
}

/* Video dietro */
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

/* Overlay scuro per contrasto */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 10, 25, .78) 0%, rgba(3, 10, 25, .45) 55%, rgba(3, 10, 25, .25) 100%);
}

/* Copertura completa solo quando la hero usa il video */
.hero--video .hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero--video .hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero--video .hero__content {
    position: relative;
    z-index: 2;
}

/* Contenuto sopra */
.hero__content {
    position: relative;
    z-index: 2;
    padding: 90px 28px 36px;
    color: #fff;
}

.hero__kicker {
    font-weight: 700;
    letter-spacing: .18em;
    font-size: 14px;
    opacity: .92;
}

.hero__announcement {
    display: block;
    margin-bottom: 2px;
    letter-spacing: .14em;
}

.hero__title {
    margin: 14px 0 14px;
    font-size: clamp(34px, 4.8vw, 64px);
    line-height: 1.02;
    font-weight: 800;
    color: #fff;
}

.hero__text {
    max-width: 640px;
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 1.5;
    opacity: .92;
    color: #fff;
}

.hero__cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* Bottone ghost su video */
.btn-ghost {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
}

/* ===== HERO TYPO ===== */
.hero__content {
    color: #fff;
}

.hero__kicker {
    color: rgba(255, 255, 255, .85);
    letter-spacing: .18em;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
}

/* titolo: stretto + più alto, “thin” */
.hero__title {
    font-family: "Roboto Condensed", "Montserrat", Arial, sans-serif;
    font-weight: 300;
    /* sottile */
    font-stretch: condensed;
    letter-spacing: .02em;
    line-height: .96;
    /* più “alto” visivamente */
    font-size: clamp(44px, 6vw, 72px);
    margin: 10px 0 14px;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

/* testo sotto: stesso stile, più piccolo e bianco */
.hero__text {
    font-family: "Roboto Condensed", "Montserrat", Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(16px, 2.0vw, 20px);
    line-height: 1.35;
    color: rgba(255, 255, 255, .9);
    max-width: 60ch;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .30);
    margin: 0 0 22px;
}

/* ===== TOP NAV CONSISTENCY ===== */
.nav a,
.nav button.nav-dd {
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    padding: 14px 10px;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.nav a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* ===== HERO: force typography (robust selectors) ===== */
.hero,
.hero * {
    font-family: "Montserrat", Arial, sans-serif;
}

/* trova il titolo grande dentro la hero */
.hero h1,
.hero .title,
.hero .hero-title,
.hero [class*="title"] {
    font-family: "Roboto Condensed", "Montserrat", Arial, sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: .02em !important;
    line-height: .96 !important;
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

/* testo descrizione sotto titolo */
.hero p,
.hero .subtitle,
.hero .hero-text,
.hero [class*="text"],
.hero [class*="subtitle"] {
    font-family: "Roboto Condensed", "Montserrat", Arial, sans-serif !important;
    font-weight: 300 !important;
    font-size: clamp(16px, 2vw, 20px) !important;
    line-height: 1.35 !important;
    color: rgba(255, 255, 255, .9) !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .30);
}

/* “kicker” tipo ELECTRONIC SENSORS & CONTROL */
.hero .kicker,
.hero small,
.hero [class*="kicker"] {
    color: rgba(255, 255, 255, .85) !important;
    letter-spacing: .18em !important;
    text-transform: uppercase;
}

/* ===== MEGA MENU: always on top ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ============================================================
   pages.css  (sovrascrive elen.css)
   - page-home  : video background + header trasparente
   - page-light : pagine interne bianche + header bianco
   ============================================================ */

:root {
    --elen-blue: #0b2c5f;
    --text-dark: #0b1220;
    --text-mid: #334155;
    --text-light: rgba(255, 255, 255, .92);
    --line: rgba(255, 255, 255, .22);
    --line-dark: rgba(15, 23, 42, .12);
}

/* ------------------------------------------------------------
   LAYOUT BASE
------------------------------------------------------------ */

.page-light {
    background: #fff;
    color: var(--text-dark);
}

.page-home {
    background: transparent;
    color: #fff;
}

/* evita che qualche regola di elen.css “impazzisca” */
.wrap {
    position: relative;
    z-index: 2;
}

/* ------------------------------------------------------------
   HEADER / NAV
------------------------------------------------------------ */



/* HOME: header trasparente sopra video */
.page-home .header {
    background: transparent;
    color: #fff;
    border-bottom: 1px solid var(--line);
}

/* INTERNE: header con gradiente azzurro */
.page-light .header {
    background: #1f63ff;
    color: #fff;
    border-bottom: 0;
}

body.page-light .header {
    background: #1f63ff !important;
    color: #fff !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

body.page-light .header .navbar,
body.page-light .header .container {
    background: transparent !important;
}

.page-light .nav a,
.page-light .nav button {
    color: rgba(255, 255, 255, .92);
}

body.page-light .nav a,
body.page-light .nav button {
    color: rgba(255, 255, 255, .92) !important;
}

.page-light .nav-toggle span,
.page-light .nav-toggle::before,
.page-light .nav-toggle::after {
    background: rgba(255, 255, 255, .92);
}

body.page-light .nav-toggle span,
body.page-light .nav-toggle::before,
body.page-light .nav-toggle::after {
    background: rgba(255, 255, 255, .92) !important;
}

/* container barra */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
}

/* logo */
.brand img {
    height: 28px;
    width: auto;
    display: block;
}

/* menu: font omogeneo */
.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .2px;
}

.nav a,
.nav button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 4px 1px;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
}

/* ------------------------------------------------------------
   HERO (solo home): testo bianco e “sottile/alto”
------------------------------------------------------------ */

.page-home .hero {
    padding: 56px 0 18px;
    position: relative;
    z-index: 2;
}

.page-home .hero__content {
    max-width: 980px;
}

.page-home .hero__kicker {
    color: rgba(255, 255, 255, .75);
    font-weight: 700;
    letter-spacing: .22em;
    font-size: 12px;
}

.page-home .hero__title {
    margin: 10px 0 10px;
    color: #fff;
    font-weight: 300;
    /* più sottile */
    letter-spacing: .01em;
    line-height: 1.05;
    font-size: 56px;
    /* grande */
}

.page-home .hero__text {
    color: rgba(255, 255, 255, .88);
    font-weight: 300;
    font-size: 18px;
    line-height: 1.5;
    max-width: 720px;
}

.page-home .hero__text p {
    margin: 0 0 14px;
}

.page-home .hero__text p:last-child {
    margin-bottom: 0;
}

.page-home .hero__text a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

.page-home .hero__cta {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

/* ------------------------------------------------------------
   PAGINE INTERNE: contenuto su bianco “pulito”
------------------------------------------------------------ */

.page-light main.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 22px 16px 40px;
}

.page-light h1,
.page-light h2,
.page-light h3 {
    color: var(--text-dark);
}

.page-light p,
.page-light label {
    color: var(--text-mid);
}

/* pagine interne: sfondo grigio tenue */


/* home: testo chiaro perché sotto c'è video */


/* pagine interne: header chiaro + testo scuro */




/* pagine interne: sfondo grigio tenue */


/* home: testo chiaro perché sotto c'è video */
body.page-home .header,
body.page-home .nav a,
body.page-home .nav button {
    color: rgba(255, 255, 255, .92);
}

/* pagine interne: header chiaro + testo scuro */




/* =========================
   HEADER HOME SU VIDEO
   ========================= */

/* la header deve essere un "contenitore" sopra il video */


/* Solo home: header trasparente */
body.page-home .header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

/* tutto ciò che è contenuto "navbar" deve stare sopra */
.header .navbar,
.header .nav,
.header .brand-link {
    position: relative;
    z-index: 2;
    /* sta sopra il video */
}

/* colori menu in home */


/* =========================
   TIPOGRAFIA UNIFICATA
   ========================= */

html,
body {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main.wrap h1,
main.wrap h2,
main.wrap h3 {
    font-weight: 300;
    /* più sottile */
    letter-spacing: .2px;
}

main.wrap h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
}

main.wrap p,
main.wrap li,
main.wrap label {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #334155;
}

/* Pagine interne: sfondo grigio tenue */
body.page-light {
    background: #f3f5f8;
    color: #0b1220;
}

/* header pagine interne pulito e coerente */
body.page-light .header {
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, .10);
}

body.page-light .nav a,
body.page-light .nav button {
    color: #0b1220;
}

/* hero full width */
.hero.hero--video {
    width: 100%;
    max-width: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

/* HOME: header sopra video */
body.page-home .header {
    position: sticky;
    top: 0;
    z-index: 5000;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

/* contenuti header sopra */
body.page-home .header .navbar,
body.page-home .header .nav {
    position: relative;
    z-index: 2;
}

body.page-home .nav a,
body.page-home .nav button {
    color: rgba(255, 255, 255, .92) !important;
}

/* ===== MEGA MENU: deve stare SOPRA l'hero ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 9000;
}

/* sicurezza: niente parent che taglia il mega menu */
.header,
.navbar,
.nav {
    overflow: visible !important;
}

/* ===== HOME: il contenuto deve partire sotto la navbar ===== */
body.page-home .hero {
    padding-top: 90px;
    /* aumenta se su schermi piccoli serve più aria */
}

body.page-home .nav a,
body.page-home .nav button {
    color: rgba(255, 255, 255, .92) !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

/* ===== LAYOUT: footer sempre in basso ===== */
html,
body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    flex: 0 0 auto;
}

main.wrap {
    flex: 1 0 auto;
}

/* Menu: underline on hover (come elen.srl) */
.nav a {
    text-decoration: none;
    position: relative;
}

/* (Opzionale) Evidenzia la pagina corrente se vuoi:
   aggiungi class="is-active" al link dal PHP */
.nav a.is-active {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

/* Logo più grande */
.brand img,
.brand .brand-logo {
    height: 108px !important;
    width: auto !important;
    display: block;
}

/* ===== MENU: hover SOLO sottolineatura, niente alone ===== */
.nav a,
.nav button {
    background: none !important;
    box-shadow: none !important;
}

.home-sections {
    background: #fff;
    padding: 60px 0;
}

.hs-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hs-card {
    background: #e9e7e4;
    border-radius: 18px;
    padding: 48px;
    margin: 36px 0;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.hs-card--no-bg {
    background: transparent;
}

.hs-left h2 {
    font-size: 56px;
    line-height: 1.02;
    font-weight: 300;
    margin: 0 0 18px;
}

.hs-left p {
    font-size: 18px;
    color: #000;
    line-height: 1.55;
    margin: 0 0 18px;
    max-width: 520px;
    opacity: .9;
}

.hs-left h2 {
    font-size: 38px;
    color: #000;
    line-height: 1.55;
    margin: 0 0 18px;
    max-width: 520px;
    opacity: .9;
}

.hs-right {
    display: grid;

    grid-template-columns: 1fr;
    gap: 18px;
    align-content: start;
}

.hs-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
    width: 100%;
}

.hs-icon-item img {
    width: 80px;
    height: 80px;
    display: block;
    margin-bottom: 12px;
}

.hs-icon-item h3 {
    font-size: 20px;
    margin: 0 0 8px;
    font-weight: 800;
    color: #000;
}

.hs-icon-item p {
    margin: 0;
    font-size: 16px;
    color: #111;
    line-height: 1.45;
    max-width: 240px;
}

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

.hs-list li {
    margin: 10px 0;
}

.hs-list a {
    text-decoration: underline;
    color: inherit;
    letter-spacing: .02em;
}

.hs-media {
    margin-top: 10px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 12px 12px 0 rgba(0, 0, 0, .15);
}

@media (max-width: 980px) {
    .hs-card {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .hs-left h2 {
        font-size: 42px;
    }

    .hs-media img {
        height: 220px;
    }

    .hs-icon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 20px;
    }
}

@media (max-width: 600px) {
    .hs-left h2 {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 14px;
    }
}

/* ===== HOME BANDS ===== */
.home-band {
    padding: 84px 0;
    background: #f3f5f8;
}

.home-band:nth-child(even) {
    background: #ffffff;
}

.home-kicker {
    letter-spacing: .22em;
    font-weight: 700;
    font-size: 12px;
    opacity: .7;
}

.home-title {
    font-size: clamp(26px, 3.8vw, 44px);
    font-weight: 700;
    color: #0b1220;
    margin: 10px 0 14px;
}

.home-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #1f2937;
    max-width: 780px;
}

.home-split {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: center;
}

.home-split--reverse {
    grid-template-columns: .8fr 1.2fr;
}

.home-split--reverse .home-split__text {
    order: 2;
}

.home-split--reverse .home-split__media {
    order: 1;
}

.home-card-media {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .10);
}

.home-card-media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.home-links {
    margin-top: 18px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.home-links a {
    color: #0b2c5f;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.home-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width .2s ease;
}

.home-bullets {
    margin: 18px 0 0;
    padding-left: 18px;
    color: #1f2937;
}

.home-bullets li {
    margin: 8px 0;
}

.home-cta-row {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.product-tile {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
}

.product-tile img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    /* IMPORTANT: NON ritaglia */
    background: #fff;
    display: block;
    padding: 10px;
}

/* ===== PRODUCT HERO (scheda prodotto) ===== */
.product-hero {
    background: #1f63ff;
    color: #fff;
    padding: 64px 0;
}

.product-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.product-hero__text h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 10px 0 12px;
    line-height: 1.1;
}

.product-hero__text p {
    font-size: 18px;
    line-height: 1.5;
    opacity: .95;
    max-width: 520px;
    margin: 0 0 16px;
}

.product-hero__price {
    display: inline-block;
    font-weight: 800;
    font-size: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
}

.product-hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.product-hero__image {
    display: flex;
    justify-content: center;
}

.product-hero__image img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    border-radius: 18px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
}

/* DETTAGLI + 3D */
.product-details-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin: 48px 0;
}

/* BUILD + CONFIGURAZIONI */
.product-build {
    margin: 48px 0;
}

.product-build__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.product-build__image img,
.product-config img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 16px;
    background: #f8fafc;
}

.product-build__image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

/* RELATED */
.product-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-related-card {
    text-align: center;
    text-decoration: none;
    color: #0f172a;
}

.product-related-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 14px;
    margin-bottom: 8px;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {

    .home-split,
    .home-split--reverse {
        grid-template-columns: 1fr;
    }

    .home-split--reverse .home-split__text {
        order: 1;
    }

    .home-split--reverse .home-split__media {
        order: 2;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-tile img {
        height: 160px;
    }

    .product-hero__grid {
        grid-template-columns: 1fr;
    }

    .product-hero__image img {
        max-width: 100%;
    }

    .product-details-grid,
    .product-build__grid,
    .product-build__image-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* DESTRA */






/* MOBILE */
@media (max-width: 900px) {
    .home-applications {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===== HOME – APPLICAZIONI (BLU) ===== */

.home-band--applicazioni-blue {
    background: #1f63ff;
    /* blu stile riferimento */
    padding: 90px 0;
}

.home-applications {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 60px;
    align-items: flex-start;
}

/* SINISTRA */
.home-applications__title {
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
}

.home-applications__titleh4 {
    font-size: clamp(17px, 2vw, 28px);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
}

.home-applications__all {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* DESTRA */
.home-applications__right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.home-applications__right a {
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .02em;
    text-decoration: underline;
    text-underline-offset: 6px;
    opacity: .95;
}

/* MOBILE */
@media (max-width: 900px) {
    .home-applications {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-band--applicazioni-blue {
        background: #1f63ff !important;
        color: #fff;
    }
}

/* ===== HOME – DOCUMENTI SCARICABILI ===== */

.home-band--downloads-blue {
    background: #1f63ff;
    padding: 90px 0;
}

.home-downloads {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-downloads__title {
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 300;
    color: #ffffff;
    margin: 0;
}

.home-downloads__right {
    display: flex;
    justify-content: flex-start;
}

.home-downloads__link {
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 14px;
}

.home-downloads__icon {
    width: 64px;
    height: 64px;
    border: 1.5px dashed rgba(255, 255, 255, .6);
    border-radius: 14px;
    display: grid;
    place-items: center;
}

.home-downloads__icon svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 900px) {
    .home-downloads {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ===== APPLICAZIONI - CAROUSEL ===== */
.app-carousel {
    background: #f5f7fb;
    padding: 34px 0 54px;
}

.app-carousel__header {
    margin-bottom: 24px;
}

.app-carousel__title {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    color: #0b1220;
    margin: 0 0 8px;
}

.app-carousel__subtitle {
    color: #4b5563;
    margin: 0;
    max-width: 720px;
}

.app-carousel__track {
    width: 100%;
    overflow: hidden;
    padding: 8px 18px 24px;
}

.app-carousel {
    overflow-x: hidden;
}

.app-carousel__body {
    overflow-x: hidden;
}

.app-carousel__viewport {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    scrollbar-width: none;
}

@media (max-width: 980px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    .ps-band {
        left: 0;
        right: 0;
        margin-left: -6vw;
        margin-right: -6vw;
        width: 112vw;
    }
}

.app-carousel__slide {
    scroll-snap-align: start;
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
    display: grid;
    grid-template-areas: "media" "content";
}

.app-carousel__content {
    padding: 24px;
    background: rgba(248, 250, 252, .9);
    grid-area: content;
}

.app-carousel__content h3 {
    margin: 0 0 10px;
    font-size: clamp(20px, 5vw, 26px);
    color: #1d4ed8;
    text-transform: uppercase;
    letter-spacing: .02em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.app-carousel__content p {
    margin: 0 0 18px;
    color: #1f2937;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.app-carousel__inline-link {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.app-carousel__media {
    padding: 18px 18px 0;
    grid-area: media;
}

.app-carousel__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.app-carousel__dots {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 6px;
    padding-left: 18px;
}

.app-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .25);
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .18);
    cursor: pointer;
}

.app-carousel__dot.is-active {
    background: #ffffff;
    border-color: #111827;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .35);
    transform: scale(1.15);
}

@media (max-width: 1099px) {
    .app-carousel__dots {
        padding-left: 12px;
    }
}


.hero__kicker {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero__title {
    font-weight: 500;
    line-height: 1.15;
    color: #fff;
}

.hero__content {
    position: relative;
    z-index: 3;
}

.hero__kicker {
    display: block;
    color: rgba(255, 255, 255, .9);
    font-family: "Roboto Condensed", "Montserrat", Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(16px, 2.0vw, 20px);
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 4px;
}

.hero__kicker--top {
    font-weight: 300;
}

.hero__kicker--sub {
    font-weight: 300;
    opacity: .9;
}

.hero__kicker--tight {
    margin-bottom: 2px;
}

.hero__kicker--sub.hero__announcement {
    margin-bottom: 18px;
}

.hero__kicker--sub:not(.hero__announcement) {
    margin-bottom: 2px;
}

/* mobile: non nascondere */
@media (max-width: 768px) {
    .hero__kicker {
        display: block !important;
    }
}

.nav {
    justify-content: flex-end;
}

/* ====== HAMBURGER / MOBILE NAV ====== */

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: currentColor;
    border-radius: 2px;
    transition: transform .18s ease, opacity .18s ease;
}

/* desktop nav visibile, mobile nav nascosta */
.nav--desktop {
    display: flex;
}

.nav-mobile__inner {
    display: flex;
    flex-direction: column;
    padding: 14px 0 18px;
    gap: 10px;
}

.nav-mobile a {
    text-decoration: none;
    padding: 10px 2px;
    font-weight: 600;
    color: #0b1220;
}

/* responsive */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav--desktop {
        display: none;
    }





    /* aperto */
    body.nav-open .nav-mobile {
        max-height: 70vh;
        /* abbastanza grande */
        opacity: 1;
        transform: translateY(0);
    }
}

/* HAMBURGER BIANCO SU HOME (sfondo video) */
.page-home .nav-toggle {
    color: #ffffff;
}

.page-light .nav-toggle,
.page-default .nav-toggle {
    color: #0b1220;
}

.nav-toggle span {
    height: 2.5px;
}

/* HAMBURGER: forza bianco su HOME (vince su elen.css) */
body.page-home .nav-toggle {
    color: #fff !important;
}

/* se le lineette sono span */
body.page-home .nav-toggle span {
    background: #fff !important;
    background-color: #fff !important;
}

.page-home .nav a {
    color: #fff;
}

body:not(.page-home) .nav a {
    color: #111;
}

.page-light .nav a {
    color: #111;
}

.header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

:root {
    --page-bg: #f3f5f8;
}

body.page-light {
    background: var(--page-bg);
}

/* =========================
   HOME: hero video layout
   ========================= */
body.page-home main.wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: transparent !important;
}

/* tutto il contenuto sopra al video */
.page-home .wrap,
.page-home main,
.page-home .hero,
.page-home .header {
    position: relative;
    z-index: 2;
}

/* hero video full */
body.page-home .hero.hero--video {
    position: relative;
    min-height: 100vh;
    margin: 0 !important;
    overflow: visible;
}

body.page-home .hero.hero--video .hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 24, 48, .55);
    pointer-events: none;
}

/* ============================================================
   FIX HEADER HOME vs PAGINE INTERNE (override finale)
   Mettere QUESTO BLOCCO IN FONDO a pages.css
   ============================================================ */

/* ---------- BASE HEADER (tutte le pagine) ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 5000;
}

/* ---------- HOME: header overlay su video ---------- */
body.page-home .header {
    position: absolute;
    /* overlay sul video */
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* IMPORTANTISSIMO: NON usare .header * (rompe menu mobile ecc) */
body.page-home .header .navbar,
body.page-home .header .container {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* HOME: menu bianco */
body.page-home .nav a,
body.page-home .nav button {
    color: rgba(255, 255, 255, .95) !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

/* HOME: hamburger bianco (3 span) */
body.page-home .nav-toggle {
    background: transparent !important;
}

body.page-home .nav-toggle span {
    background: #fff !important;
}

body.page-home .nav-toggle::before,
body.page-home .nav-toggle::after {
    background: #fff !important;
}

/* HOME: logo bianco (stai già usando logo-white.svg) */
body.page-home .brand-logo {
    filter: none !important;
}

body.page-home .brand img {
    filter: none !important;
}

/* HERO: spazio sotto header (adatta se serve) */
body.page-home .hero.hero--video .hero__content {
    position: relative;
    z-index: 2;
    padding-top: 150px;
    padding-bottom: 64px;
}

@media (max-width: 820px) {
    body.page-home .hero.hero--video .hero__content {
        padding-top: 140px;
        padding-bottom: 24px;
    }
}

.page-home .navbar {
    background: transparent !important;
}

/* ---------- PAGINE INTERNE: header blu + testi bianchi ---------- */
body.page-light .header {
    position: sticky;
    background: var(--elen-blue-band) !important;
    border: 0 !important;
    box-shadow: none;
}

body.page-light .nav a,
body.page-light .nav button {
    color: rgba(255, 255, 255, .95) !important;
    text-shadow: none !important;
}

/* hamburger bianco nelle interne */
body.page-light .nav-toggle span {
    background: #fff !important;
}

/* logo bianco sulle interne */
body.page-light .brand-logo {
    filter: none !important;
}

body:has(.hero--video) .header {
    background: transparent !important;
}

body:has(.hero--video) .nav a {
    color: #fff !important;
}

/* HOME: menu senza "pill" */
.page-home .nav a {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    /* se vuoi tenere aria: metti 8px 0 */
}

/* ========= MOBILE MENU: FIX ========= */

.nav-toggle {
    position: relative;
    z-index: 100000;
    pointer-events: auto;
}

.header,
.navbar {
    position: relative;
    z-index: 99999;
}

/* ===== MOBILE NAV (UNICA VERSIONE) ===== */
.nav-mobile {
    display: none;
}

@media (max-width: 900px) {
    body {
        overflow-x: hidden;
    }

    .ps-band--hero {
        overflow-x: hidden;
    }

    .nav-mobile {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #1f63ff;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
        z-index: 9999;

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-6px);
        transition: max-height .25s ease, opacity .18s ease, transform .18s ease;
    }

    body.nav-open .nav-mobile {
        max-height: 70vh;
        overflow: auto;
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .nav-mobile__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 20px 16px 26px;
    }

    .nav-mobile__inner a {
        width: 100%;
        text-align: center;
        color: #ffffff;
        font-weight: 700;
        font-size: 18px;
        padding: 10px 12px;
        border-radius: 10px;
    }

    .nav-mobile-group {
        width: 100%;
        padding: 6px 0 2px;
    }

    .nav-mobile-group__toggle {
        width: 100%;
        text-align: center;
        color: #ffffff;
        font-weight: 800;
        font-size: 18px;
        padding: 10px 12px 4px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .nav-mobile-group__toggle::after {
        content: "";
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-left: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-1px);
        transition: transform .18s ease;
    }

    .nav-mobile-group__toggle[aria-expanded="true"]::after {
        transform: rotate(-135deg) translateY(-1px);
    }

    .nav-mobile-submenu {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-mobile-submenu[hidden] {
        display: none !important;
    }

    .nav-mobile__inner a.nav-mobile-subitem {
        font-size: 16px;
        font-weight: 600;
        padding-top: 8px;
        padding-bottom: 8px;
        opacity: .96;
    }

    .nav-mobile__inner a:active,
    .nav-mobile__inner a:hover {
        background: rgba(255, 255, 255, .12);
        text-decoration: none;
    }

    .nav-mobile__inner .lang-switch {
        margin-top: 6px;
        color: #ffffff;
        font-weight: 700;
    }

    .nav-mobile__inner .lang-switch a {
        width: auto;
        padding: 6px 8px;
        font-size: 16px;
    }

    .nav-mobile__inner .nav-search-link {
        width: 56px;
        height: 56px;
        justify-content: center;
        padding: 0;
        border-radius: 10px;
    }

    .nav-mobile__inner .nav-search-link svg {
        display: block;
        width: 26px;
        height: 26px;
    }
}

/* MOBILE MODIFICA 2 GENNAIO2026su home */
@media (max-width: 768px) {

    .hs {
        grid-template-columns: 1fr;
    }

    .hs-right {
        order: 2;
        /* immagine DOPO il testo */
        display: flex;
        justify-content: center;
    }

    .home-card-media {
        width: 100%;
        max-width: 320px;
        /* limite elegante */
    }

    .home-card-media img {
        width: 100%;
        height: auto;
        border-radius: 16px;
    }
}

/*.APPLICAZIONI IMMAGINI CSS*/
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.application-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #000;
}

.application-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    display: block;
    transition: transform .4s ease;
}

.application-card span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    font-size: 18px;
    font-weight: 500;
    z-index: 2;
}

.application-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .6),
            rgba(0, 0, 0, .1));
}

/* ===== HOME: hero angolo smussato + contatti icone ===== */
body.page-home {
    --hero-cut: 80px;
    background: #fff;
}

body.page-home .hero.hero--video .hero__video,
body.page-home .hero.hero--video .hero__overlay {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hero-cut)), calc(100% - var(--hero-cut)) 100%, 0 100%);
}

body.page-home .hero.hero--video {
    background: #fff;
}

body.page-home main.wrap {
    background: #fff !important;
}

@media (max-width: 768px) {
    body.page-home {
        --hero-cut: 46px;
    }
}

.hero-contact-strip {
    background: #fff;
    margin-top: -26px;
    padding: 16px 0 12px;
    position: relative;
    z-index: 3;
}

.hero-contact-strip__inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.ps-band--hero + .hero-contact-strip {
    margin-top: 0;
}

.hero-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .18);
    color: #0b1220;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    text-decoration: none;
}

.hero-contact-icon svg {
    width: 20px;
    height: 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .hero-contact-strip {
        margin-top: 0;
        padding: 12px 0 10px;
    }

    .hero-contact-strip__inner {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body.page-home .hero__cta {
        margin-bottom: 24px;
        position: relative;
        z-index: 4;
    }
}

@media (max-width: 768px) {
    body.page-home .hero.hero--video {
        overflow: visible;
    }

    body.page-home .hero__content {
        padding-bottom: 40px;
    }
}

/* ===== HOME: modal video on-click ===== */
.hero-video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hero-video-modal.is-open {
    display: flex;
}

.hero-video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 20, .65);
}

.hero-video-panel {
    position: relative;
    z-index: 1;
    width: min(920px, 92vw);
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.hero-video-frame {
    border-radius: 14px;
    overflow: hidden;
    background: #0b1220;
}

.hero-video-player {
    width: 100%;
    height: auto;
    display: block;
    max-height: 70vh;
}

.hero-video-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 0;
    background: #f3f4f6;
    color: #111;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 640px) {
    .hero-video-panel {
        padding: 16px;
        width: min(640px, 94vw);
    }

    .hero-video-player {
        max-height: 60vh;
    }
}

/* =========================
   CSS AGGIUNTI DOPO RISOLTO PROBLEMA VISTA PAGINA HOME E HAMBURGER
   ========================= */
.btn-ghost {
    color: #000;
    font-weight: 100;

}

/* Fix dimensioni bottone "Guarda il video" su mobile */
.hero-video-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    min-height: 52px;
    font-size: 16px;
    line-height: 1.3;
}

body.page-home .hero__cta .hero-video-trigger {
    padding: 0 26px !important;
    min-height: 56px !important;
    height: 56px !important;
    font-size: 17px !important;
    line-height: 56px !important;
}

button.hero-video-trigger.btn.btn-primary,
body.page-home button.hero-video-trigger {
    padding: 0 26px !important;
    min-height: 56px !important;
    height: 56px !important;
    line-height: 56px !important;
    box-sizing: border-box !important;
}

.page-home h4 {
    background: transparent;
    color: #010101;
}

/* ===============================
   PAGINE STATICHE
   =============================== */

.pagina-statica {
    padding: 64px 0;
}

.pagina-statica h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 32px;
}

.pagina-statica h2 {
    font-size: 26px;
    margin-bottom: 14px;
}

.pagina-statica p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 70ch;
}

/* sezioni */
.pagina-statica section {
    margin-bottom: 64px;
    scroll-margin-top: 120px;
}

/* offset per scroll alle ancore */
.pagina-statica section {
    scroll-margin-top: 120px;
}

/* ===== STRUTTURA SEZIONI ===== */
.ps-section {
    min-height: 90vh;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== MENU VERTICALE ===== */
.ps-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.ps-menu a {
    text-decoration: none;
    font-weight: 500;
    color: #1e293b;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .ps-grid {
        grid-template-columns: 1fr;
    }

    .ps-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* ===== FULL WIDTH "escape" dalla wrap/container ===== */
.ps-band {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

body.page-hero-unified .header {
    background: #1f63ff !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

body.page-hero-unified .header .navbar,
body.page-hero-unified .header .container {
    background: transparent !important;
}

body.page-hero-unified .ps-band--blue {
    background: #1f63ff;
}

body.page-hero-unified .ps-band--hero {
    margin-top: 0;
}

body.page-hero-unified {
    position: relative;
    overflow-x: hidden;
    display: block;
    min-height: auto;
    height: auto;
}

body.page-hero-unified main.wrap {
    padding-top: 0;
}

body.page-hero-unified::before {
    content: none;
}

body.page-hero-unified .header {
    position: relative;
    z-index: 20;
}

body.page-hero-unified main.wrap {
    position: relative;
    z-index: 10;
}

@media (max-width: 980px) {
    .application-hero-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

.ps-band--light {
    background: transparent;
    color: inherit;
}

/* blu stile prodotto (gradiente) */
.ps-band--blue {
    background: var(--elen-blue-band);
    color: #fff;
}

.ps-band--blue h1,
.ps-band--blue h2,
.ps-band--blue h3,
.ps-band--blue p,
.ps-band--blue li {
    color: #fff;
}

.ps-band--blue a {
    color: #fff;
}

/* ===== “una schermata” ===== */
.ps-section {
    min-height: 92vh;
    padding: 72px 0;
    display: flex;
    align-items: center;
    scroll-margin-top: 120px;
}

/* ===== HERO ===== */
.ps-hero {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 36px;
    align-items: start;
    /* menu non sale sopra l'immagine */
    margin-top: 10px;
}

.ps-hero__img {
    margin: 0;
}

.ps-hero__img img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.ps-hero__text {
    margin-top: 24px;
}

.ps-title {
    font-size: clamp(42px, 6vw, 86px);
    font-weight: 400;
    margin: 0 0 14px 0;
    letter-spacing: -0.02em;
}

.ps-lead {
    font-size: 20px;
    line-height: 1.6;
    max-width: 80ch;
    opacity: .9;
}

/* ===== layout contenuto + menu laterale ===== */
.ps-twoCol {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 36px;
    align-items: start;
}

.ps-content {
    min-width: 0;
}

/* menu laterale: verticale, allineato in alto, sempre visibile in ogni sezione */
.ps-side {
    align-self: start;
}

.ps-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

/* menu: stile “pulito” come nel tuo screenshot */
.ps-menu a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    opacity: .75;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.ps-band--blue .ps-menu a {
    border-bottom-color: rgba(255, 255, 255, .22);
}

/* IMPORTANT: non superare il top del contenuto */
.ps-menu {
    margin-top: 0;
}

.ps-hero__side .ps-menu {
    margin-top: 0;
}

/* titoli testo */
.ps-h2 {
    font-size: clamp(34px, 4.2vw, 56px);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0 0 16px 0;
}

.ps-p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 85ch;
    opacity: .92;
}

/* liste */
.ps-list {
    margin-top: 22px;
    padding-left: 18px;
    line-height: 1.7;
}

/* griglie */
.ps-grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 26px;
}

.ps-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 26px;
}

.ps-grid3__item--stack {
    grid-column: 1;
    grid-row: 2;
}

.ps-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 26px;
}

/* card */
.ps-card {
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 18px;
    padding: 18px;
    background: #fff;
}

.ps-card h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.ps-card ul {
    margin: 0;
    padding-left: 18px;
    line-height: 1.65;
}

/* card “ghost” per sezioni blu */
.ps-card--ghost {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .22);
}

/* bottone */
.ps-btn {
    display: inline-block;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .14);
    text-decoration: none;
}

/* responsive */
@media (max-width: 980px) {

    .ps-hero,
    .ps-twoCol {
        grid-template-columns: 1fr;
    }

    .ps-hero__img img {
        height: 360px;
    }

    .ps-section {
        min-height: auto;
        padding: 52px 0;
        align-items: stretch;
    }

    .ps-grid4 {
        grid-template-columns: 1fr 1fr;
    }

    .ps-grid3,
    .ps-grid2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .ps-grid4 {
        grid-template-columns: 1fr;
    }
}

/* ===== BLU: forza testo bianco (vince su pages.css) ===== */
.ps-band--blue,
.ps-band--blue * {
    color: #fff !important;
}

.ps-band--blue a {
    color: #fff !important;
    text-decoration-color: rgba(255, 255, 255, .7);
}

/* ===============================
   VANTAGGI
   =============================== */
.page-vantaggi main.wrap {
    max-width: none;
    padding: 0;
}

.page-vantaggi .pagina-statica {
    padding: 0;
}

.page-vantaggi {
    --vantaggi-hero-bg: #1f63ff;
}

.vantaggi-page .vantaggi-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 48px;
    align-items: start;
    padding: 72px 0;
}

.vantaggi-title {
    font-size: clamp(42px, 6vw, 86px);
    font-weight: 400;
    margin: 0 0 14px 0;
    letter-spacing: -0.02em;
}

.vantaggi-lead {
    font-size: 20px;
    line-height: 1.6;
    max-width: 80ch;
    opacity: .92;
}

.vantaggi-index {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
    border-radius: 0;
    border: 0;
    background: transparent;
}

.vantaggi-index a {
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 6px 0;
    opacity: .8;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.vantaggi-section {
    padding: 80px 0;
    scroll-margin-top: 120px;
    --vantaggi-cut-bg: #f3f5f8;
}

.vantaggi-section__inner {
    display: flex;
    gap: 48px;
    align-items: center;
}

.vantaggi-section--reverse .vantaggi-section__inner {
    flex-direction: row-reverse;
}

.vantaggi-media {
    flex: 1;
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    min-height: 320px;
    background: #f3f5f8;
}

.vantaggi-media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%, 0 82%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%, 0 82%);
}

.vantaggi-copy {
    flex: 1;
    min-width: 0;
}

.vantaggi-copy h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 400;
    margin: 0 0 14px 0;
}

.vantaggi-copy p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 70ch;
    opacity: .9;
}

@media (max-width: 980px) {
    .vantaggi-page .vantaggi-hero {
        grid-template-columns: 1fr;
    }

    .vantaggi-index {
        position: relative;
        top: 0;
        order: -1;
    }

    .vantaggi-section__inner,
    .vantaggi-section--reverse .vantaggi-section__inner {
        flex-direction: column;
    }

    .vantaggi-media img {
        height: 320px;
    }
}

/* header blu come hero */
.page-vantaggi .header,
.page-vantaggi .header .navbar,
.page-vantaggi .header .container {
    background: var(--vantaggi-hero-bg) !important;
    border-bottom: 0;
    box-shadow: none;
}

.page-vantaggi .nav a,
.page-vantaggi .nav button {
    color: rgba(255, 255, 255, .92);
}

.page-vantaggi .nav-toggle span {
    background: rgba(255, 255, 255, .92);
}

.page-vantaggi .header .navbar,
.page-vantaggi .header .container {
    background: transparent !important;
}

.page-vantaggi .header {
    border-bottom: none !important;
}

.ps-band--hero {
    position: relative;
    margin-top: -22px;
    padding: 96px 0 72px;
}

.ps-band--hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 54px;
    height: 54px;
    background: var(--page-bg);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

@media (max-width: 980px) {
    .ps-band--hero {
        margin-top: -22px;
        padding: 84px 0 64px;
    }
    .ps-band--hero::after {
        width: 48px;
        height: 48px;
    }
}

.page-vantaggi .ps-band--hero {
    margin-top: 0;
    padding-top: 72px;
}

.page-chi-siamo .ps-hero__img img {
    height: auto;
    max-height: 360px;
    object-fit: contain;
}

.page-chi-siamo .ps-section {
    min-height: auto;
    padding: 52px 0;
}

.page-chi-siamo .ps-band--hero {
    padding: 72px 0 56px;
}

@media (max-width: 980px) {
    .page-chi-siamo .ps-hero__img img {
        height: 280px;
    }
}

/* Fix mobile: evita taglio bottone hero */
@media (max-width: 768px) {
    body.page-home .hero.hero--video {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        padding-bottom: 48px !important;
    }

    body.page-home .hero__content {
        position: relative;
        z-index: 5;
        padding-bottom: 56px !important;
    }

    body.page-home .hero__cta {
        position: relative;
        z-index: 6;
    }
}

/* ===== HOME: override finale per kicker (stile come hero__text) ===== */
body.page-home .hero__kicker:not(.hero__announcement) {
    font-family: "Roboto Condensed", "Montserrat", Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(16px, 2.0vw, 20px);
    line-height: 1.35;
    color: rgba(255, 255, 255, .9);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 2px;
}

body.page-home .hero__kicker--sub.hero__announcement {
    margin-bottom: 18px;
}
