/* Exekon — pagina istituzionale statica.
   Nessun font esterno, nessuna immagine remota, nessuno script.
   Colore del marchio: #22b8f0, il "preset1_major" del template del sito
   precedente. Per i testi si usa una variante piu' scura, perche' il colore
   originale su bianco non raggiunge il contrasto minimo di leggibilita'. */

:root {
  --marchio:        #22b8f0;
  --marchio-testo:  #0b6f9b;
  --marchio-scuro:  #084a68;
  --sfondo:         #ffffff;
  --sfondo-alt:     #f4f7f9;
  --sfondo-scuro:   #0d2430;
  --bordo:          #dde5ea;
  --testo:          #16232b;
  --testo-tenue:    #5b6b76;
}

@media (prefers-color-scheme: dark) {
  :root {
    --marchio:        #34c3f7;
    --marchio-testo:  #5ccdf8;
    --marchio-scuro:  #9adcfa;
    --sfondo:         #0e1519;
    --sfondo-alt:     #151f26;
    --sfondo-scuro:   #060f14;
    --bordo:          #26343d;
    --testo:          #e8eef2;
    --testo-tenue:    #9aabb6;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sfondo);
  color: var(--testo);
  font: 400 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

.riga { max-width: 60rem; margin: 0 auto; padding: 0 1.6rem; }

/* ---- testata ---- */

.testata {
  border-top: 4px solid var(--marchio);
  background: var(--sfondo);
  padding: 2.2rem 0 1.8rem;
}

.marchio {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--marchio-testo);
}

.claim {
  margin: .3rem 0 0;
  color: var(--testo-tenue);
  font-size: .95rem;
}

/* ---- apertura ---- */

.apertura {
  background: var(--sfondo-alt);
  border-top: 1px solid var(--bordo);
  border-bottom: 1px solid var(--bordo);
  padding: 3.2rem 0 3rem;
}

.apertura h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.01em;
  max-width: 34ch;
}

.occhiello {
  margin: 0;
  font-size: 1.08rem;
  color: var(--testo-tenue);
  max-width: 62ch;
}

/* ---- nota sul rinnovo ---- */

.nota {
  border-left: 3px solid var(--marchio);
  padding: .1rem 0 .1rem 1.15rem;
  margin: 2rem 0 0;
  max-width: 62ch;
}

.nota p { margin: 0; font-size: .97rem; color: var(--testo-tenue); }
.nota strong { color: var(--testo); font-weight: 600; }

/* ---- numeri ---- */

.numeri {
  list-style: none;
  margin: 0;
  padding: 2.6rem 0;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  border-bottom: 1px solid var(--bordo);
}

.numeri b {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--marchio-testo);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.numeri span { font-size: .9rem; color: var(--testo-tenue); }

/* ---- sezioni ---- */

section { padding: 3rem 0; }
section + section { border-top: 1px solid var(--bordo); }

h2 {
  margin: 0 0 1.6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--testo-tenue);
}

h2::after {
  content: "";
  display: block;
  width: 2.2rem;
  height: 3px;
  background: var(--marchio);
  margin-top: .55rem;
}

/* ---- soluzioni ---- */

.soluzioni {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--bordo);
  border: 1px solid var(--bordo);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.soluzioni li { background: var(--sfondo); padding: 1.3rem 1.4rem; }

.soluzioni b {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--marchio-testo);
  margin-bottom: .3rem;
}

.soluzioni em {
  display: block;
  font-style: normal;
  font-weight: 600;
  margin-bottom: .35rem;
}

.soluzioni span { font-size: .93rem; color: var(--testo-tenue); }

/* ---- contatti ---- */

.contatti {
  margin: 0;
  display: grid;
  gap: 1.4rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.contatti > div > dt {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--testo-tenue);
  margin-bottom: .3rem;
}

.contatti dd { margin: 0; }
address { font-style: normal; }

a { color: var(--marchio-testo); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover, a:focus { color: var(--marchio-scuro); }

/* ---- inglese ---- */

.en { background: var(--sfondo-alt); }
.en p { margin: 0; max-width: 68ch; color: var(--testo-tenue); }
.en strong { color: var(--testo); font-weight: 600; }

/* ---- chiusura ---- */

.chiusura {
  background: var(--sfondo-scuro);
  color: #a9bcc7;
  padding: 2rem 0 2.4rem;
  font-size: .85rem;
}

.chiusura p { margin: 0 0 .4rem; }
.chiusura p:last-child { margin: 0; }
.chiusura strong { color: #e8eef2; font-weight: 600; letter-spacing: .1em; }

@media (max-width: 34rem) {
  body { font-size: 16px; }
  .riga { padding: 0 1.15rem; }
  .apertura { padding: 2.4rem 0 2.2rem; }
  section { padding: 2.2rem 0; }
}

/* ==========================================================================
   Sito ponte — elementi che la pagina di cortesia non ha: menu, corpo delle
   pagine, elenco prodotti, contatti in coda.
   ========================================================================== */

.testata .riga { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.4rem; }

a.marchio { text-decoration: none; }
a.marchio:hover { color: var(--marchio-scuro); }

.testata nav { flex: 1 1 100%; margin-top: 1.1rem; }

.testata nav ul {
  list-style: none;
  margin: 0;
  padding: .9rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.6rem;
  border-top: 1px solid var(--bordo);
}

.testata nav a {
  text-decoration: none;
  font-size: .93rem;
  font-weight: 600;
  color: var(--testo);
  padding-bottom: .2rem;
  border-bottom: 2px solid transparent;
}

.testata nav a:hover { color: var(--marchio-testo); }
.testata nav a.attiva { color: var(--marchio-testo); border-bottom-color: var(--marchio); }
.testata nav .lingua { margin-left: auto; }
.testata nav .lingua a { font-weight: 400; color: var(--testo-tenue); }

main { padding: 2.6rem 0 3.2rem; }

main h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  max-width: 34ch;
}

main .nota { margin: 0 0 2.4rem; }

.corpo { max-width: 68ch; }
.corpo > *:first-child { margin-top: 0; }

.corpo h2 {
  margin: 2.6rem 0 1rem;
  font-size: 1.15rem;
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 700;
  color: var(--testo);
}

.corpo h2::after { width: 1.8rem; margin-top: .5rem; }

.corpo h3 {
  margin: 2rem 0 .6rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--marchio-testo);
}

.corpo p { margin: 0 0 1.1rem; }
.corpo ul { margin: 0 0 1.3rem; padding-left: 1.2rem; }
.corpo li { margin-bottom: .35rem; }

.corpo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.6rem 0;
  border: 1px solid var(--bordo);
}

.prodotti {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--bordo);
  border: 1px solid var(--bordo);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.prodotti a {
  display: block;
  background: var(--sfondo);
  padding: 1.1rem 1.3rem;
  text-decoration: none;
  color: var(--testo);
  height: 100%;
}

.prodotti a:hover { background: var(--sfondo-alt); }

.prodotti b {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--marchio-testo);
  margin-bottom: .25rem;
}

.prodotti span { font-size: .93rem; color: var(--testo-tenue); }

.coda {
  background: var(--sfondo-alt);
  border-top: 1px solid var(--bordo);
  padding: 2.6rem 0 3rem;
}

.coda h2 { margin-bottom: 1.4rem; }
.contatti dt, .contatti dd { margin: 0; }

@media (max-width: 34rem) {
  .testata nav ul { gap: .2rem 1.1rem; }
  .testata nav .lingua { margin-left: 0; }
  main { padding: 1.8rem 0 2.4rem; }
}
