/* ==========================================================================
   Shorr Kan - foglio di stile unico
   Palette e tipografia derivate dal sito originale (Betheme/WPBakery),
   riscritte da zero in CSS moderno, mobile-first.
   ========================================================================== */

/* --- Token ------------------------------------------------------------- */
:root{
  --blue:#0095eb;
  --blue-dark:#007cc3;
  --blue-soft:#e8f5fe;
  --ink:#161922;
  --ink-soft:#232735;
  --body:#5a6270;
  --muted:#8a919e;
  --line:#e6e9ee;
  --bg:#ffffff;
  --bg-soft:#f6f8fa;
  --white:#ffffff;

  --font-head:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-body:'Open Sans',system-ui,-apple-system,'Segoe UI',sans-serif;

  --wrap:1200px;
  --gut:clamp(1.25rem,4vw,2rem);
  --radius:16px;
  --shadow:0 1px 3px rgba(22,25,34,.06),0 8px 24px rgba(22,25,34,.06);
  --shadow-lg:0 2px 6px rgba(22,25,34,.08),0 16px 48px rgba(22,25,34,.10);
  --header-h:76px;
  --ease:cubic-bezier(.4,0,.2,1);
}

/* --- Reset ------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:1rem;
  line-height:1.7;
  color:var(--body);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-wrap:break-word;
}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:var(--blue);text-decoration:none;transition:color .2s var(--ease)}
a:hover{color:var(--blue-dark)}
button{font:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:3px}

h1,h2,h3,h4,h5{
  font-family:var(--font-head);
  color:var(--ink);
  line-height:1.22;
  margin:0 0 .6em;
  font-weight:600;
  letter-spacing:-.015em;
}
h1{font-size:clamp(2rem,1.3rem + 3vw,3.25rem);font-weight:700}
h2{font-size:clamp(1.6rem,1.15rem + 1.9vw,2.5rem)}
h3{font-size:clamp(1.25rem,1.05rem + .9vw,1.75rem)}
h4{font-size:clamp(1.05rem,.98rem + .4vw,1.25rem)}
p{margin:0 0 1.15em}
ul,ol{margin:0 0 1.15em;padding-left:1.35em}
li{margin-bottom:.4em}
strong{color:var(--ink);font-weight:600}
hr{border:0;border-top:1px solid var(--line);margin:2.5rem 0}

/* --- Layout ------------------------------------------------------------ */
.wrap{width:min(100% - var(--gut)*2,var(--wrap));margin-inline:auto}
.wrap--narrow{width:min(100% - var(--gut)*2,860px);margin-inline:auto}
.section{padding:clamp(3.5rem,7vw,6rem) 0}
.section--tight{padding:clamp(2.5rem,5vw,4rem) 0}
.section--soft{background:var(--bg-soft)}
.section--dark{background:var(--ink);color:#c9cede}
.section--dark h2,.section--dark h3,.section--dark h4{color:#fff}
/* La misura va data al PARAGRAFO, non al titolo: "ch" si calcola sul font
   del contenitore (Open Sans 16px), quindi un max-width in ch qui sopra
   strozzerebbe un titolo da 40px costringendolo su 4 righe. */
.section-head{margin-bottom:clamp(2rem,4vw,3rem)}
.section-head h2,.section-head h3{max-width:52rem}
.section-head p{font-size:1.0625rem;margin-bottom:0;max-width:62ch}
.section-head--center{margin-inline:auto;text-align:center;max-width:min(100%,56rem)}
.section-head--center h2,.section-head--center h3,.section-head--center p{margin-inline:auto}
.eyebrow{
  font-family:var(--font-head);font-size:.75rem;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--blue);
  margin:0 0 .85rem;display:block;
}
.lead{font-size:clamp(1.0625rem,1rem + .35vw,1.25rem);line-height:1.65}

.grid{display:grid;gap:clamp(1.25rem,2.5vw,2rem)}
@media(min-width:640px){ .grid--2{grid-template-columns:repeat(2,1fr)} }
@media(min-width:900px){
  .grid--3{grid-template-columns:repeat(3,1fr)}
  .grid--4{grid-template-columns:repeat(4,1fr)}
}
@media(min-width:640px) and (max-width:899px){ .grid--3,.grid--4{grid-template-columns:repeat(2,1fr)} }

.split{display:grid;gap:clamp(2rem,5vw,4rem);align-items:center}
@media(min-width:900px){ .split{grid-template-columns:1fr 1fr} .split--wide-left{grid-template-columns:1.15fr .85fr} }

/* --- Bottoni ----------------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--font-head);font-weight:600;font-size:.9375rem;
  padding:.85rem 1.75rem;border-radius:var(--radius);border:2px solid transparent;
  background:var(--blue);color:#fff;
  transition:background .2s var(--ease),transform .2s var(--ease),box-shadow .2s var(--ease),color .2s var(--ease),border-color .2s var(--ease);
  text-align:center;
}
.btn:hover{background:var(--blue-dark);color:#fff;transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,149,235,.28)}
.btn:active{transform:translateY(0)}
.btn--ghost{background:transparent;border-color:var(--blue);color:var(--blue)}
.btn--ghost:hover{background:var(--blue);color:#fff}
.btn--light{background:#fff;color:var(--ink)}
.btn--light:hover{background:#fff;color:var(--blue-dark);box-shadow:0 8px 20px rgba(0,0,0,.2)}
.btn--outline-light{background:transparent;border-color:rgba(255,255,255,.75);color:#fff}
.btn--outline-light:hover{background:#fff;color:var(--ink);border-color:#fff}
.btn-row{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:1.5rem}
.btn-row--center{justify-content:center}

.arrow-link{
  font-family:var(--font-head);font-weight:600;font-size:.9375rem;
  display:inline-flex;align-items:center;gap:.45rem;
}
.arrow-link::after{content:"\2192";transition:transform .2s var(--ease)}
.arrow-link:hover::after{transform:translateX(4px)}

/* --- Header ------------------------------------------------------------ */
.site-header{
  position:sticky;top:0;z-index:100;
  /* Sfondo OPACO e senza backdrop-filter: backdrop-filter renderebbe l'header
     il blocco contenitore del pannello di navigazione position:fixed,
     riducendolo ai soli padding invece di coprire il viewport. */
  background:#fff;
  border-bottom:1px solid var(--line);
}
.site-header__inner{
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  min-height:var(--header-h);
}
.brand{display:flex;align-items:center;flex-shrink:0}
.brand img{height:34px;width:auto}

.nav-toggle{
  display:inline-flex;flex-direction:column;justify-content:center;gap:5px;
  width:44px;height:44px;padding:0 10px;background:none;border:0;
}
.nav-toggle span{display:block;height:2px;background:var(--ink);border-radius:2px;transition:transform .25s var(--ease),opacity .2s var(--ease)}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.nav__list{list-style:none;margin:0;padding:0}
.nav__link{
  font-family:var(--font-head);font-weight:500;font-size:.9375rem;
  color:var(--ink);display:block;padding:.6rem 0;
}
.nav__link:hover,.nav__link[aria-current="page"]{color:var(--blue)}
.nav__sub{list-style:none;margin:0;padding:0}

@media(max-width:1023px){
  .nav{
    position:fixed;inset:var(--header-h) 0 0;background:#fff;
    padding:1.5rem var(--gut) 3rem;overflow-y:auto;
    visibility:hidden;opacity:0;pointer-events:none;transform:translateY(-8px);
    transition:opacity .25s var(--ease),transform .25s var(--ease),visibility .25s;
  }
  .nav.is-open{visibility:visible;opacity:1;pointer-events:auto;transform:none}
  .nav__item{border-bottom:1px solid var(--line)}
  .nav__link{padding:.9rem 0;font-size:1.0625rem}
  .nav__sub{padding:0 0 .75rem .9rem}
  .nav__sub .nav__link{font-size:.9375rem;padding:.5rem 0;color:var(--body);font-weight:400}
  .nav__sub .nav__link:hover{color:var(--blue)}
}
@media(min-width:1024px){
  .nav-toggle{display:none}
  .nav__list{display:flex;align-items:center;gap:.35rem}
  .nav__item{position:relative}
  .nav__link{padding:.6rem .8rem;border-radius:6px;white-space:nowrap}
  .nav__item--has-sub > .nav__link::after{content:"";display:inline-block;margin-left:.4rem;border:4px solid transparent;border-top-color:currentColor;transform:translateY(2px)}
  .nav__sub{
    position:absolute;top:100%;left:0;min-width:230px;background:#fff;
    border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-lg);
    padding:.5rem;opacity:0;visibility:hidden;transform:translateY(8px);
    transition:opacity .2s var(--ease),transform .2s var(--ease),visibility .2s;
  }
  .nav__item--has-sub:hover .nav__sub,
  .nav__item--has-sub:focus-within .nav__sub{opacity:1;visibility:visible;transform:translateY(0)}
  .nav__sub .nav__link{padding:.55rem .75rem;font-weight:400;color:var(--body)}
  .nav__sub .nav__link:hover{background:var(--blue-soft);color:var(--blue)}
}

/* --- Hero (home) ------------------------------------------------------- */
.hero{
  position:relative;isolation:isolate;color:#fff;
  min-height:clamp(460px,72vh,660px);
  display:grid;align-items:center;
  background:var(--ink) center/cover no-repeat;
}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;
  /* velo nei toni del brand: piu' scuro a sinistra dove sta il testo, blu verso destra */
  background:linear-gradient(105deg,rgba(13,18,28,.88) 0%,rgba(13,18,28,.72) 45%,rgba(0,90,160,.45) 100%)}
.hero__slides{position:relative;display:grid}
.hero__slide{
  grid-area:1/1;opacity:0;visibility:hidden;
  transform:translateY(14px);
  transition:opacity .6s var(--ease),transform .6s var(--ease),visibility .6s;
  padding:clamp(3rem,7vw,5rem) 0;
}
.hero__slide.is-active{opacity:1;visibility:visible;transform:none}
.hero__eyebrow{
  font-family:var(--font-head);font-size:.8125rem;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:#7fd0ff;margin:0 0 .9rem;
}
.hero__title{color:#fff;font-size:clamp(2rem,1.2rem + 3.4vw,3.5rem);margin:0 0 .5rem;font-weight:700}
.hero__sub{font-size:clamp(1.0625rem,1rem + .5vw,1.375rem);color:rgba(255,255,255,.88);margin:0 0 1.75rem;max-width:38ch}
.hero__dots{display:flex;gap:.6rem;margin-top:clamp(1.5rem,3vw,2.5rem)}
.hero__dot{
  width:36px;height:4px;border-radius:2px;border:0;padding:0;
  background:rgba(255,255,255,.35);transition:background .25s var(--ease);
}
.hero__dot.is-active{background:var(--blue)}
.hero__dot:hover{background:rgba(255,255,255,.7)}
.hero__tags{
  margin-top:clamp(1.5rem,3vw,2.25rem);display:flex;flex-wrap:wrap;gap:.4rem 1.25rem;
  font-family:var(--font-head);font-size:.875rem;color:rgba(255,255,255,.65);
}

/* --- Page header (pagine interne) --------------------------------------
   Grigio chiaro piatto, fedele al #Subheader dell'originale Betheme
   (background-color: rgba(247,247,247,1)), niente immagini di sfondo. */
.page-head{background:#f7f7f7;color:var(--body);padding:clamp(2.75rem,6vw,4.5rem) 0 clamp(2.25rem,5vw,3.5rem)}
.page-head h1{color:var(--ink);margin-bottom:.35rem}
.page-head__sub{font-size:clamp(1rem,.95rem + .35vw,1.1875rem);color:var(--body);margin:0;max-width:62ch}
.breadcrumb{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;padding:0;margin:0 0 1.1rem;font-size:.8125rem;color:var(--muted)}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:var(--blue)}
.breadcrumb li+li::before{content:"/";margin-right:.4rem;color:#c7cbcf}
/* .hero__eyebrow è pensato per lo sfondo scuro dell'hero (colore chiaro
   #7fd0ff): dentro il banner chiaro delle pagine interne serve il blu pieno. */
.page-head .hero__eyebrow{color:var(--blue)}

/* --- Card -------------------------------------------------------------- */
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(1.5rem,3vw,2rem);display:flex;flex-direction:column;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease),border-color .25s var(--ease);
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:transparent}
.card__eyebrow{font-family:var(--font-head);font-size:.75rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);margin:0 0 .6rem}
.card h3{font-size:1.3125rem;margin-bottom:.3rem}
.card__meta{font-family:var(--font-head);font-size:.875rem;color:var(--muted);margin:0 0 .9rem}
.card p{font-size:.9375rem;margin-bottom:1.25rem}
.card > :last-child{margin-top:auto;margin-bottom:0}
.card--flat{background:var(--bg-soft);border-color:transparent}
.card--flat:hover{background:#fff;border-color:var(--line)}

.card__icon{
  width:52px;height:52px;border-radius:12px;background:var(--blue-soft);color:var(--blue);
  display:grid;place-items:center;margin-bottom:1.1rem;flex-shrink:0;
}
.card__icon svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}

/* --- Liste con spunta -------------------------------------------------- */
.check-list{list-style:none;padding:0;margin:0;display:grid;gap:.7rem}
.check-list li{position:relative;padding-left:2rem;margin:0;font-size:.9375rem}
.check-list li::before{
  content:"";position:absolute;left:0;top:.45em;width:18px;height:18px;border-radius:50%;
  background:var(--blue-soft) no-repeat center;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230095eb' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size:11px;
}
@media(min-width:640px){ .check-list--2{grid-template-columns:repeat(2,1fr)} }
@media(min-width:900px){ .check-list--3{grid-template-columns:repeat(3,1fr)} }

.pill-list{list-style:none;display:flex;flex-wrap:wrap;gap:.6rem;padding:0;margin:0}
.pill-list li{
  margin:0;background:var(--bg-soft);border:1px solid var(--line);border-radius:100px;
  padding:.5rem 1.1rem;font-size:.875rem;font-family:var(--font-head);color:var(--ink);
}
.section--dark .pill-list li{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:#e7eaf2}

/* --- Numeri / statistiche ---------------------------------------------- */
.stats{display:grid;gap:2rem;text-align:center}
@media(min-width:640px){ .stats{grid-template-columns:repeat(3,1fr)} }
.stat__num{font-family:var(--font-head);font-size:clamp(2.25rem,1.5rem + 2.6vw,3.25rem);font-weight:700;color:var(--blue);line-height:1;display:block}
.stat__label{font-family:var(--font-head);font-size:.9375rem;color:var(--ink);margin-top:.5rem;display:block}

/* --- Loghi clienti ----------------------------------------------------- */
.logo-strip{overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.logo-strip__track{display:flex;width:max-content;gap:clamp(2rem,5vw,4rem);align-items:center;animation:marquee 60s linear infinite}
.logo-strip:hover .logo-strip__track{animation-play-state:paused}
.logo-strip img{
  height:clamp(38px,6vw,52px);width:auto;flex-shrink:0;object-fit:contain;
  filter:grayscale(1);opacity:.62;transition:filter .3s var(--ease),opacity .3s var(--ease);
}
.logo-strip img:hover{filter:grayscale(0);opacity:1}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){
  .logo-strip{-webkit-mask-image:none;mask-image:none;overflow-x:auto}
  .logo-strip__track{animation:none;flex-wrap:wrap;width:auto;justify-content:center}
}
.logo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:clamp(1.5rem,3vw,2.5rem);align-items:center;justify-items:center}
.logo-grid img{height:46px;width:auto;object-fit:contain;filter:grayscale(1);opacity:.62;transition:filter .3s var(--ease),opacity .3s var(--ease)}
.logo-grid img:hover{filter:grayscale(0);opacity:1}

/* --- CTA banner -------------------------------------------------------- */
.cta{background:var(--blue);color:#fff;border-radius:var(--radius);padding:clamp(2rem,5vw,3.5rem);text-align:center}
.cta h2{color:#fff;margin-bottom:.5rem}
.cta p{color:rgba(255,255,255,.9);max-width:56ch;margin:0 auto 1.5rem;font-size:1.0625rem}
.cta-tiles{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
@media(min-width:768px){ .cta-tiles{grid-template-columns:repeat(3,1fr)} }
.cta-tile{background:#fff;padding:clamp(1.75rem,3.5vw,2.5rem);text-align:center;transition:background .25s var(--ease)}
.cta-tile:hover{background:var(--bg-soft)}
.cta-tile h3{font-size:1.1875rem;margin-bottom:.2rem}
.cta-tile p{font-size:.9375rem;color:var(--muted);margin-bottom:1rem}

/* --- Prosa (pagine legali) --------------------------------------------- */
.prose{max-width:78ch}
.prose h2{margin-top:2.5rem;font-size:1.625rem}
.prose h3{margin-top:2.25rem;font-size:1.3125rem}
.prose h4{margin-top:2rem;font-size:1.0625rem}
.prose h2:first-child,.prose h3:first-child,.prose h4:first-child{margin-top:0}
.prose ul,.prose ol{padding-left:1.5em}
.prose li{margin-bottom:.55em}
.prose a{text-decoration:underline;text-underline-offset:3px}
.prose table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.9375rem}
.prose th,.prose td{border:1px solid var(--line);padding:.7rem .9rem;text-align:left}
.prose th{background:var(--bg-soft);font-family:var(--font-head);color:var(--ink);font-weight:600}

/* --- Form -------------------------------------------------------------- */
.form{display:grid;gap:1.15rem}
@media(min-width:640px){ .form__row{display:grid;grid-template-columns:1fr 1fr;gap:1.15rem} }
.field{display:grid;gap:.45rem}
.field label{font-family:var(--font-head);font-size:.875rem;font-weight:600;color:var(--ink)}
.field .req{color:var(--blue)}
.field input,.field textarea,.field select{
  font:inherit;font-size:.9375rem;color:var(--ink);
  padding:.8rem 1rem;border:1px solid var(--line);border-radius:8px;background:#fff;
  transition:border-color .2s var(--ease),box-shadow .2s var(--ease);width:100%;
}
.field input:focus,.field textarea:focus,.field select:focus{
  outline:0;border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,149,235,.14);
}
.field textarea{min-height:150px;resize:vertical}
.field input[type=file]{padding:.6rem;background:var(--bg-soft)}
.field__hint{font-size:.8125rem;color:var(--muted)}
.form__note{font-size:.8125rem;color:var(--muted);margin:0}
.form-status{padding:.9rem 1.1rem;border-radius:8px;font-size:.9375rem;display:none}
.form-status.is-ok{display:block;background:#e8f7ee;color:#1c6b3c;border:1px solid #b9e5cb}
.form-status.is-err{display:block;background:#fdecec;color:#a02020;border:1px solid #f5c2c2}

/* --- Blocco contatti --------------------------------------------------- */
.contact-list{list-style:none;padding:0;margin:0;display:grid;gap:1.25rem}
.contact-list li{display:flex;gap:.9rem;align-items:flex-start;margin:0}
.contact-list svg{width:20px;height:20px;flex-shrink:0;margin-top:.25rem;stroke:var(--blue);fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.contact-list__label{display:block;font-family:var(--font-head);font-size:.75rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:.15rem}

/* --- Certificazioni ---------------------------------------------------- */
.cert{display:grid;gap:1.25rem;align-items:start;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.5rem,3vw,2rem)}
@media(min-width:768px){ .cert{grid-template-columns:auto 1fr} }
.cert__badge{
  font-family:var(--font-head);font-weight:700;font-size:.8125rem;letter-spacing:.04em;
  background:var(--ink);color:#fff;border-radius:8px;padding:1rem 1.15rem;text-align:center;
  min-width:132px;line-height:1.35;
}
.cert__badge span{display:block;font-size:1.0625rem;color:var(--blue)}
.cert h3{font-size:1.1875rem;margin-bottom:.25rem}
.cert__en{font-size:.875rem;color:var(--muted);font-style:italic;margin-bottom:.8rem}

/* --- Offerte di lavoro ------------------------------------------------- */
.job{
  border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.5rem,3vw,2rem);
  display:grid;gap:1rem;transition:border-color .25s var(--ease),box-shadow .25s var(--ease);
}
.job:hover{border-color:var(--blue);box-shadow:var(--shadow)}
.job__top{display:flex;flex-wrap:wrap;gap:.75rem;align-items:baseline;justify-content:space-between}
.job h3{margin:0;font-size:1.3125rem}
.job__place{font-family:var(--font-head);font-size:.8125rem;color:var(--muted);background:var(--bg-soft);border-radius:100px;padding:.3rem .85rem}
.job p{margin:0;font-size:.9375rem}

/* --- Footer ------------------------------------------------------------ */
.site-footer{background:var(--ink);color:#9aa3b5;padding:clamp(3rem,6vw,4.5rem) 0 2rem;font-size:.9375rem}
.site-footer a{color:#c9cede}
.site-footer a:hover{color:#fff}
.footer-grid{display:grid;gap:2.5rem}
@media(min-width:768px){ .footer-grid{grid-template-columns:1.4fr 1fr 1fr} }
.site-footer h4{color:#fff;font-size:.8125rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:1.1rem}
.footer-list{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}
.footer-list li{margin:0}
.footer-brand img{height:32px;margin-bottom:1.15rem;filter:brightness(0) invert(1);opacity:.95}
.footer-brand p{font-size:.9375rem;margin-bottom:.4rem;line-height:1.65}
.footer-iso{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.25rem}
.footer-iso span{
  font-family:var(--font-head);font-size:.6875rem;font-weight:600;letter-spacing:.05em;
  border:1px solid rgba(255,255,255,.2);border-radius:100px;padding:.3rem .75rem;color:#c9cede;
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);margin-top:clamp(2.5rem,5vw,3.5rem);padding-top:1.75rem;
  display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;justify-content:space-between;font-size:.8125rem;color:#79839a;
}
.footer-bottom ul{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;padding:0;margin:0}
.footer-bottom li{margin:0}

/* --- Cookie banner ----------------------------------------------------- */
.cookie{
  position:fixed;left:var(--gut);right:var(--gut);bottom:var(--gut);z-index:200;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-lg);
  padding:1.25rem 1.5rem;max-width:560px;font-size:.875rem;
  display:none;
}
.cookie.is-visible{display:block}
.cookie p{margin:0 0 1rem}
.cookie .btn{padding:.6rem 1.25rem;font-size:.875rem}

/* --- Utility ----------------------------------------------------------- */
.text-center{text-align:center}
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:0;top:0;transform:translateY(-130%);background:var(--blue);color:#fff;padding:.75rem 1.25rem;z-index:300;border-radius:0 0 8px 0;transition:transform .2s var(--ease)}
.skip-link:focus{transform:none;color:#fff}
.media-frame{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){ .reveal{opacity:1;transform:none} }

/* --- Immagini di prodotto e illustrazioni ------------------------------ */
.card__illu{width:clamp(88px,26%,132px);height:auto;margin:0 0 1.15rem}
.card__logo{height:30px;width:auto;object-fit:contain;object-position:left center;margin:0 0 1.1rem}
.product-logo{height:clamp(34px,5vw,46px);width:auto;object-fit:contain;object-position:left center;margin:0 0 1.5rem}
.img-center{margin-inline:auto}
.prose + .prose,.form + .prose{margin-top:2.5rem}
.pill-list--center{justify-content:center}

/* --- Nastro certificazioni (home) --------------------------------------- */
.trust{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg-soft)}
.trust__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.75rem 1rem;padding:1.4rem 0}
.trust__label{font-family:var(--font-head);font-size:.8125rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-right:.5rem}
.trust a{display:inline-flex;align-items:center;gap:.45rem;font-family:var(--font-head);font-size:.8125rem;font-weight:600;color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:100px;padding:.45rem 1rem;transition:border-color .2s var(--ease),color .2s var(--ease),transform .2s var(--ease)}
.trust a:hover{border-color:var(--blue);color:var(--blue);transform:translateY(-1px)}
.trust a::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue)}

/* --- Selettore lingua ---------------------------------------------------- */
.nav__link--lang{
  border:1px solid var(--line);border-radius:100px;
  font-size:.8125rem;font-weight:600;letter-spacing:.06em;
  padding:.4rem .95rem !important;color:var(--muted);
}
.nav__link--lang:hover{border-color:var(--blue);color:var(--blue)}
@media(max-width:1023px){
  .nav__item--lang{border-bottom:0;padding-top:1.25rem}
  .nav__link--lang{display:inline-block}
}
@media(min-width:1024px){ .nav__item--lang{margin-left:.5rem} }

/* --- Nota di cortesia sulle traduzioni legali ----------------------------- */
.notice{
  background:var(--blue-soft);border:1px solid #cfe9fb;border-radius:var(--radius);
  padding:1rem 1.25rem;font-size:.875rem;color:var(--ink);margin-bottom:2rem;
}

/* --- Andata a capo dei titoli --------------------------------------------
   Senza questo il browser spezza le righe solo in base allo spazio
   disponibile e lascia parole orfane sull'ultima riga ("...digitale").
   'balance' distribuisce le righe in modo uniforme sui titoli; 'pretty'
   evita l'orfano sui paragrafi guida. Nei browser che non li supportano
   vengono semplicemente ignorati.
   --------------------------------------------------------------------- */
h1,h2,h3,h4,h5{text-wrap:balance}
.hero__sub,.page-head__sub,.lead,.section-head p,.cta p,.card p,.job p,.cta-tile p{text-wrap:pretty}

/* ========================================================================
   Editorial refinement 2026
   Product engineering, security and software craft in one visual system.
   ===================================================================== */
body{background:linear-gradient(180deg,#fff 0%,#fff 74%,#f7faff 100%)}
.site-header{box-shadow:0 12px 38px rgba(21,31,50,.065)}
.site-header__inner{min-height:86px}
.brand img{height:38px}
.nav__link{letter-spacing:-.012em}

.hero{min-height:clamp(560px,72vh,660px);overflow:clip;background-position:center 45%}
.hero::before{background:linear-gradient(100deg,rgba(10,18,34,.98) 0%,rgba(15,30,54,.94) 44%,rgba(0,74,132,.62) 72%,rgba(0,149,235,.22) 100%)}
.hero::after{content:"";position:absolute;z-index:-1;width:540px;height:540px;border-radius:50%;right:-170px;top:-210px;border:1px solid rgba(127,208,255,.28);box-shadow:0 0 0 72px rgba(0,149,235,.05),0 0 0 144px rgba(0,149,235,.028)}
.hero .wrap{position:relative;z-index:1}
.hero__slide{max-width:820px;padding:clamp(3.5rem,6vw,4.75rem) 0}
.hero__eyebrow{color:#8bd7ff}
.hero__title{font-size:clamp(2.55rem,1.55rem + 3.2vw,4.25rem);line-height:1.05;letter-spacing:-.045em;max-width:18ch;text-shadow:0 2px 24px rgba(0,0,0,.18)}
.hero__sub{font-size:clamp(1.1rem,1rem + .55vw,1.42rem);line-height:1.58}
.hero .btn{min-height:54px;border-radius:12px;padding-inline:1.9rem}
.hero__controls{position:relative;z-index:3;display:flex;align-items:center;gap:.5rem;margin-top:clamp(1.4rem,2.5vw,2rem)}
.hero__dots{margin-top:0;gap:.15rem}
.hero__dot{width:44px;height:44px;background:transparent;display:grid;place-items:center;border-radius:10px}
.hero__dot::before{content:"";width:30px;height:4px;border-radius:4px;background:rgba(255,255,255,.38);transition:width .2s var(--ease),background .2s var(--ease)}
.hero__dot.is-active,.hero__dot:hover{background:rgba(255,255,255,.07)}
.hero__dot.is-active::before{width:34px;background:#fff}
.hero__dot:hover::before{background:rgba(255,255,255,.8)}
.hero__pause{height:40px;border:1px solid rgba(255,255,255,.35);border-radius:100px;background:rgba(10,18,34,.28);color:#fff;padding:.3rem .9rem;font-family:var(--font-head);font-size:.75rem;font-weight:600}
.hero__pause:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.68)}
.hero__tags{position:relative;z-index:3;margin-top:1rem;color:rgba(255,255,255,.72)}
.hero__tags span{display:inline-flex;align-items:center;min-height:32px;padding:.25rem .8rem;border:1px solid rgba(255,255,255,.15);border-radius:100px;background:rgba(255,255,255,.055)}

.trust{position:relative;z-index:4;width:min(calc(100% - 2rem),1120px);margin:-22px auto 0;border:1px solid rgba(0,149,235,.12);border-radius:16px;background:rgba(255,255,255,.97);box-shadow:0 18px 54px rgba(17,43,70,.12)}
.trust__inner{padding:1.05rem 1.25rem}
.trust a{border-color:#dbe8f1;box-shadow:0 4px 14px rgba(17,52,80,.045)}

.section{position:relative}
.section-head h2{letter-spacing:-.04em}
.section-head--center{max-width:64rem}
.trust + .section{padding-top:clamp(5.5rem,9vw,8rem)}
.trust + .section::before{content:"";position:absolute;inset:0 0 auto;height:78%;z-index:-1;background:radial-gradient(circle at 50% 0,rgba(0,149,235,.08),transparent 64%)}
.section--soft{background:linear-gradient(145deg,#f3f7fb 0%,#fbfdff 100%)}
.card{border-color:rgba(27,52,78,.10);box-shadow:0 16px 46px rgba(21,47,73,.07);overflow:hidden}
.card:hover{transform:translateY(-7px);box-shadow:0 25px 65px rgba(21,47,73,.14)}
.card__visual{height:176px;margin:calc(-1*clamp(1.5rem,3vw,2rem)) calc(-1*clamp(1.5rem,3vw,2rem)) 1.5rem;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#eaf6fd,#f8fbff 72%);border-bottom:1px solid rgba(0,149,235,.09)}
.card__visual::before{content:"";position:absolute;width:180px;height:180px;border-radius:50%;border:1px solid rgba(0,149,235,.11);box-shadow:0 0 0 38px rgba(0,149,235,.035)}
.card__visual{position:relative}
.card__visual img{position:relative;z-index:1;max-width:72%;max-height:128px;width:auto;object-fit:contain;transition:transform .55s var(--ease)}
.card:hover .card__visual img{transform:scale(1.055)}
.split img{border-radius:24px;box-shadow:0 28px 74px rgba(18,46,73,.14)}
.cta-tiles{border:0;border-radius:22px;box-shadow:0 24px 70px rgba(19,42,65,.13);background:#1a2432}
.cta-tile{position:relative;overflow:hidden;background:#1a2432;color:#bbc6d4;padding-block:3rem}
.cta-tile:nth-child(2){background:linear-gradient(145deg,#007cc3,#0095eb)}
.cta-tile h3{color:#fff}
.cta-tile p{color:#bbc6d4}
.cta-tile:nth-child(2) p{color:rgba(255,255,255,.82)}
.cta-tile .btn--ghost{border-color:rgba(255,255,255,.42);color:#fff}
.cta-tile .btn--ghost:hover{background:#fff;color:var(--ink);border-color:#fff}
.page-head{background:linear-gradient(145deg,#f1f7fb,#fff);border-bottom:1px solid #e4edf4}
.site-footer{border-top:5px solid var(--blue);background:linear-gradient(145deg,#101722,#161922)}

@media(max-width:1023px){
  .nav{top:var(--nav-top,var(--header-h));right:0;bottom:0;left:0;padding-top:1.5rem;border-top:1px solid var(--line);box-shadow:0 24px 60px rgba(13,31,49,.17)}
}

@media(max-width:719px){
  .site-header__inner{min-height:76px}
  .brand img{height:31px}
  .hero{min-height:660px;background-position:62% center}
  .hero::before{background:linear-gradient(105deg,rgba(10,18,34,.97),rgba(15,30,54,.91) 66%,rgba(0,90,160,.58))}
  .hero::after{width:340px;height:340px;right:-220px;top:-120px}
  .hero__slide{padding:4rem 0 2.25rem}
  .hero__title{font-size:clamp(2.25rem,10vw,2.9rem);max-width:14ch}
  .hero__sub{font-size:1.08rem}
  .hero__controls{justify-content:space-between;gap:.25rem}
  .hero__dots{gap:0}
  .hero__dot{width:40px}
  .hero__dot::before{width:26px}
  .hero__dot.is-active::before{width:30px}
  .hero__tags{gap:.4rem;font-size:.72rem}
  .hero__tags span{min-height:28px;padding:.2rem .6rem}
  .trust{width:calc(100% - 1rem);margin-top:-18px}
  .trust__inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;padding:1rem}
  .trust__label{grid-column:1/-1;text-align:center;margin:0 0 .15rem}
  .trust a{justify-content:center;padding:.55rem .5rem;font-size:.72rem;text-align:center}
  .section{padding:4.5rem 0}
  .section-head h2{font-size:clamp(1.9rem,8vw,2.45rem)}
  .card{border-radius:16px}
  .split img{border-radius:18px}
  .cta-tiles{border-radius:18px}
}
