:root {
  --primary: #1a2634;
  --accent: #e8533c;
  --accent-hover: #d4432e;
  --text: #2c3e50;
  --text-muted: #7a8a97;
  --bg: #ffffff;
  --bg-soft: #faf9f7;
  --border: #eeebe6;
  --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

/* ── BASE ── */
html{
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 19px;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary); }

img{
  max-width: 100%;
}

.text-accent { color: var(--accent) !important; }
.bg-soft { background: var(--bg-soft); }

.section-label {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--primary);
}

.section-title em { font-style: normal; color: var(--accent); }

/* ── BUTTONS ── */
.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  transition: all .25s;
}
.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232,83,60,.25);
}

.btn-outline-dark {
  border: 1.5px solid var(--border);
  color: var(--bg);
  padding: 12px 32px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  transition: all .25s;
}
.btn-outline-dark:hover {
  border-color: var(--bg);
  color: var(--primary);
  background-color: var(--bg);
}

/* ── NAVBAR ── */
.navbar {
  padding: 18px 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(26,38,52,.04);
}
.navbar-brand {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  height: 34px;
  width: auto;
}
.brand-logo-footer {
  height: 30px;
}
.nav-link {
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-muted) !important;
  padding: 8px 16px !important;
  transition: color .2s;
}
.nav-link:hover { color: var(--primary) !important; }

/* ── HERO ── */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  background-image: url(../img/hero.jpg);
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,83,60,.05), transparent 70%);
  border-radius: 50%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-soft);
}
.hero-badge i { font-size: 6px; }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
}
.hero .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 400;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: .88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── CARDS ── */
.card-modern {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 26px;
  transition: all .3s ease;
  height: 100%;
}
.card-modern:hover {
  border-color: rgba(232,83,60,.25);
  box-shadow: 0 12px 40px rgba(26,38,52,.06);
  transform: translateY(-3px);
}
.card-modern .icon-box {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.card-modern h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.card-modern p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* soft bg variant */
.card-soft {
  background: var(--bg-soft);
  border-color: transparent;
}
.card-soft:hover { background: #fff; }

/* ── QUOTE ── */
.quote-block {
  border-left: 3px solid var(--accent);
  padding: 28px 36px;
  background: var(--bg-soft);
  border-radius: 0 14px 14px 0;
}
.quote-block p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--primary);
  margin: 0;
}

/* ── PHASE ── */
.phase-badge {
  display: inline-block;
  padding: 3px 14px;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 1rem;
  color: var(--text);
}
.check-list li::before {
  content: '\F26A';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .85rem;
  top: 10px;
}
.phase-visual {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  font-size: 4rem;
  opacity: .12;
}

/* ── VANTAGGI STATS ── */
.stat-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  height: 100%;
}
.stat-card .stat-value { font-size: 1.8rem; }

/* ── VANTAGGI ITEMS ── */
.vantaggio-item {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
  transition: box-shadow .3s;
}
.vantaggio-item:hover { box-shadow: 0 4px 20px rgba(26,38,52,.05); }
.vantaggio-item h5 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; font-family: var(--font-body); color: var(--primary); }
.vantaggio-item p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

.roi-box {
  padding: 20px;
  background: rgba(232,83,60,.05);
  border: 1px solid rgba(232,83,60,.12);
  border-radius: 12px;
}
.roi-box p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.roi-box h5 { color: var(--accent); }

/* ── CONFORMITA BADGE ── */
.conformita-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ── STRATEGICO ── */
.strategico-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
}
.strategico-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--accent);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.2rem;
}

/* ── CONTATTI ── */
.contatti {
  background: var(--primary);
  color: #fff;
}
.contatti-label {
  display: inline-block;
  padding: 4px 16px;
  border: 1px solid rgba(232,83,60,.45);
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.contatti h2 { color: #fff; }
.contatti h2 em { font-style: normal; color: var(--accent); }
.contatti h5 { color: #fff; font-family: var(--font-body); }
.contatti .text-white-50 { color: rgba(255,255,255,.5) !important; }

.contatti .form-control {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #fff;
  padding: 12px 16px;
  font-size: .95rem;
}
.contatti .form-control::placeholder { color: rgba(255,255,255,.28); }
.contatti .form-control:focus {
  background: rgba(255,255,255,.08);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,83,60,.15);
  color: #fff;
}
.contatti .form-label {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  margin-bottom: 6px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .25s;
}
.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232,83,60,.3);
}

.tag-pill {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* ── FOOTER ── */
.footer {
  background: #141e29;
  color: rgba(255,255,255,.45);
}
.footer h6 {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 18px;
}
.footer a {
  display: block;
  font-size: .92rem;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  padding: 3px 0;
  transition: color .2s;
}
.footer a:hover { color: var(--accent); }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
}


/* Custom checkbox */
.custom-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin: 0;
}
.custom-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.custom-check-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  color: transparent;
  font-size: .85rem;
}
.custom-check-box .bi-check{
  font-size: 1.3em;
}
.custom-check input:focus-visible ~ .custom-check-box {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,83,60,.15);
}
.custom-check:hover .custom-check-box {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
}
.custom-check input:checked ~ .custom-check-box {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.custom-check-text {
  font-size: .85rem;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

.hide{
  display: none!important;
}

.link_txt{
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
}
.link_txt:hover{
  text-decoration: underline;
}

.legalLinksDiv a{display: inline-block!important;}

.legalLinksDiv a{color:inherit;}
.legalLinksDiv a:hover{color: var(--accent);}

@media screen and (min-width:992px){
  .mob-incol br{display: none;}
}
@media screen and (max-width:991px){
  .hero{
    background-image: url(../img/hero-mobile.jpg);
  }
  .hero::after {
    content: "";
    height: 70%;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: -moz-linear-gradient(bottom, #000000a0 0%, #0000 100%);
    background: -webkit-linear-gradient(bottom, #000000a0 0%, #00000000 100%);
    background: linear-gradient(to top, #000000a0 0%, #0000 100%);
    z-index: 0;
  }
  .hero .container{
    position: relative;
    z-index: 2;
  }
  .scrolling-row{
    flex-wrap: nowrap;
    overflow-x: scroll;
    padding-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
    display: flex;
  }
  .center-scrolling{
    align-items: center;
  }

  .scrolling-row .vantaggio-item{
    flex: 0 0 auto;
    /*width: 83.33333333%;*/
    width: 75%;
    margin-right: calc(var(--bs-gutter-x) * .5);
    margin-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
  }
  .scrolling-row .vantaggio-item:first-child{
    margin-left: 0;
  }
  .scrolling-row .vantaggio-item:last-child{
    margin-right: 0;
  }
  .strategico-box{
    flex-direction: column;
  }
  .mob-incol{
    display: block!important;
  }
  .mob-incol .btn{
    display: inline-block;
    margin-top: 10px;
  }
  .nav-item {
    margin-bottom: 0;
    margin-top: 10px;
  }
  .nav-item.ms-lg-3 {
    margin-top: 20px;
  }
}

/* ══════════════════════════════════════════════════════════════
   AIRALEX — Stili sezione Partner
   Da aggiungere al foglio di stile principale del sito

   NOTA: sostituire #1a56a0 con il valore esatto del blu brand
   usato nel resto del sito (verificare nel CSS esistente).
   ══════════════════════════════════════════════════════════ */

/* ── Layout sezione ─────────────────────────────────────────── */
.partner-section {
/*  background-color: #f4f7fb;
  border-top: 3px solid #1a56a0; */
  padding: 80px 0;
}

.partner-section .container {
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Testi intro ─────────────────────────────────────────────── */
.partner-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.partner-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #0d1f3c;
  margin-bottom: 12px;
  line-height: 1.2;
}

.partner-heading em {
  font-style: italic;
  color: var(--accent);
}

.partner-sub {
  font-size: 1rem;
  color: #4a6070;
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── Griglia card ────────────────────────────────────────────── */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.partner-card {
  background: #ffffff;
  border: 1px solid #d0dce8;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.partner-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.partner-logo {
  display: flex;
  align-items: center;
  min-height: 36px;
}

/* ── Badge ruolo ─────────────────────────────────────────────── */
.partner-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.badge-partner {
  background-color: #e6f1fb;
  color: #1a56a0;
}

.badge-infra {
  background-color: #eaf3de;
  color: #3b6d11;
}

/* ── Contenuto card ──────────────────────────────────────────── */
.partner-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1f3c;
  margin: 0;
}

.partner-divider {
  border: none;
  border-top: 1px solid #d0dce8;
  margin: 0;
}

.partner-desc {
  font-size: 0.9rem;
  color: #4a6070;
  line-height: 1.7;
  margin: 0;
}

/* ── Responsive mobile (≤768px) ──────────────────────────────── */
@media (max-width: 768px) {
  .partner-section {
    padding: 56px 0;
  }

  .partner-heading {
    font-size: 1.5rem;
  }

  .partner-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .partner-card {
    padding: 24px;
  }
  .stat-card .stat-value { font-size: 1.5rem; }
}
