/* ==========================================================================
   MNT CONNECT - Design system
   Palette: antracite + blu elettrico. Accento ambra solo su badge/urgenza.
   ========================================================================== */

:root {
  --ink:        #0B0F16;
  --ink-2:      #121826;
  --surface:    #182030;
  --line:       rgba(255,255,255,.10);
  --line-solid: #E3E8EF;

  --paper:      #F6F8FB;
  --paper-2:    #FFFFFF;

  --text-dark:  #0B0F16;
  --text-mid:   #4A5568;
  --text-light: #EDF1F7;
  --text-muted: rgba(237,241,247,.66);

  --accent:     #2D7DFF;
  --accent-dk:  #1A5FD6;
  --accent-sf:  rgba(45,125,255,.12);
  --amber:      #FFB020;
  --green:      #22C55E;

  --radius:     14px;
  --radius-lg:  22px;
  --maxw:       1180px;

  --shadow:     0 10px 40px rgba(11,15,22,.10);
  --shadow-lg:  0 24px 70px rgba(11,15,22,.18);

  --ease:       cubic-bezier(.2,.7,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  line-height: 1.12;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
p  { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Sezioni ---------- */
.sec { padding: clamp(60px, 8vw, 110px) 0; position: relative; }
.sec--dark  { background: var(--ink);   color: var(--text-light); }
.sec--dark2 { background: var(--ink-2); color: var(--text-light); }
.sec--paper { background: var(--paper); }
.sec--tight { padding: clamp(44px, 5vw, 70px) 0; }

.sec--dark p, .sec--dark2 p { color: var(--text-muted); }
.sec--dark h2, .sec--dark2 h2, .sec--dark h3, .sec--dark2 h3 { color: var(--text-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}
.sec--dark .eyebrow, .sec--dark2 .eyebrow { color: #74A9FF; }
.sec--dark .eyebrow::before, .sec--dark2 .eyebrow::before { background: #74A9FF; }

.sec-head { max-width: 680px; margin-bottom: clamp(34px, 4vw, 54px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { font-size: 1.1rem; color: var(--text-mid); margin-bottom: 0; }
.sec--dark .sec-head p, .sec--dark2 .sec-head p { color: var(--text-muted); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: rgba(11,15,22,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo__mark { display: block; width: 96px; height: auto; }

.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  color: rgba(255,255,255,.80); text-decoration: none; font-size: .95rem; font-weight: 600;
  padding: 9px 14px; border-radius: 9px; transition: .18s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.14); }

.hdr .btn { padding: 11px 20px; font-size: .92rem; }
.nav .btn { display: none; }

.burger {
  display: none; margin-left: auto; background: transparent; border: 1px solid var(--line);
  color: #fff; width: 44px; height: 42px; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center; padding: 0;
}
.burger span { display: block; width: 19px; height: 2px; background: #fff; position: relative; border-radius: 2px; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 19px; height: 2px; background: #fff; border-radius: 2px;
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: 11px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  font-family: inherit; line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(45,125,255,.32); }
.btn--primary:hover { background: var(--accent-dk); box-shadow: 0 12px 30px rgba(45,125,255,.42); }
.btn--ghost { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.22); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1DA851; }
.btn--wa svg { width: 20px; height: 20px; flex: none; }
.btn--wa.btn--lg svg { width: 22px; height: 22px; }
.btn--lg { padding: 18px 34px; font-size: 1.06rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 13px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--text-light); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,15,22,.95) 0%, rgba(11,15,22,.78) 38%, rgba(11,15,22,.30) 72%, rgba(11,15,22,.18) 100%);
}
.hero__in { position: relative; z-index: 2; padding-top: clamp(70px, 10vw, 128px); padding-bottom: clamp(50px, 6vw, 84px); }
.hero__copy { max-width: 700px; }
.hero h1 { color: #fff; margin-bottom: .38em; text-wrap: balance; }
/* la parte evidenziata non si spezza a metà */
.hero h1 em { white-space: nowrap; }
@media (max-width: 420px) { .hero h1 em { white-space: normal; } }
.hero h1 em { font-style: normal; color: #74A9FF; }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: rgba(237,241,247,.86); max-width: 590px; margin-bottom: 30px; }
.hero--sm .hero__in { padding-top: clamp(54px, 7vw, 90px); padding-bottom: clamp(54px, 7vw, 90px); }
.hero--sm h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }

/* Trust strip */
.trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.trust li {
  list-style: none; display: flex; align-items: center; gap: 9px;
  font-size: .93rem; font-weight: 600; color: rgba(237,241,247,.88);
}
.trust svg { flex: none; width: 17px; height: 17px; color: var(--green); }

/* ---------- Griglie ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Card servizio ---------- */
.card {
  background: var(--paper-2); border: 1px solid var(--line-solid); border-radius: var(--radius-lg);
  padding: 30px 28px; transition: .22s var(--ease); display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(45,125,255,.35); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--text-mid); font-size: .99rem; margin-bottom: 1em; }
.card__ico {
  width: 50px; height: 50px; border-radius: 13px; background: var(--accent-sf); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card__ico svg { width: 25px; height: 25px; }
.card__link {
  margin-top: auto; font-weight: 700; color: var(--accent); text-decoration: none;
  font-size: .96rem; display: inline-flex; align-items: center; gap: 7px;
}
.card__link:hover { gap: 11px; }

.card--dark { background: var(--surface); border-color: var(--line); }
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--text-muted); }
.card--dark:hover { border-color: rgba(116,169,255,.45); }

/* ---------- Biforcazione Casa / Azienda ---------- */
.fork { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.fork__item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 330px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px; text-decoration: none; color: #fff; isolation: isolate;
  border: 1px solid var(--line);
}
.fork__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s var(--ease); }
.fork__item::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(11,15,22,.95) 12%, rgba(11,15,22,.55) 55%, rgba(11,15,22,.28) 100%);
}
.fork__item:hover img { transform: scale(1.05); }
.fork__tag {
  align-self: flex-start; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 6px 12px; border-radius: 99px; margin-bottom: 14px;
}
.fork__item h3 { font-size: 1.6rem; color: #fff; margin-bottom: .3em; }
.fork__item p { color: rgba(237,241,247,.82); font-size: 1rem; margin-bottom: 1em; }
.fork__go { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; color: #74A9FF; }
.fork__item:hover .fork__go { gap: 12px; }

/* ---------- Lista vantaggi ---------- */
.plist { list-style: none; padding: 0; margin: 0; display: grid; gap: 15px; }
.plist li { display: flex; gap: 13px; align-items: flex-start; font-size: 1.02rem; }
.plist svg { flex: none; width: 21px; height: 21px; color: var(--accent); margin-top: 3px; }
.sec--dark .plist svg, .sec--dark2 .plist svg { color: #74A9FF; }

/* ---------- Split immagine + testo ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 66px); align-items: center; }
.split__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split--rev .split__img { order: 2; }

/* ---------- Perche MNT Connect ---------- */
.lead { font-size: 1.1rem; color: var(--text-dark); }
.sec--dark .lead, .sec--dark2 .lead { color: var(--text-light); }
.why-more { margin-top: clamp(36px, 5vw, 62px); max-width: 880px; }
.why-more h3 { font-size: clamp(1.22rem, 2.2vw, 1.55rem); margin-bottom: .55em; }
.why-payoff {
  margin-top: 22px; padding: 17px 22px; background: var(--paper);
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
}
.why-payoff strong { color: var(--text-dark); }

/* ---------- Abilitazioni secondarie ---------- */
.certs__lead { margin: 28px 0 13px; font-weight: 700; font-size: .95rem; color: var(--text-light); }
.cert-more { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
.cert-more li {
  display: flex; align-items: center; gap: 13px; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.03); color: var(--text-muted); font-size: .94rem; line-height: 1.35;
}
.cert-more b {
  flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(116,169,255,.14); color: #74A9FF; font-size: .88rem; font-weight: 800;
}

/* ---------- Numeri / passi ---------- */
.steps { counter-reset: s; display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.sec--paper .step { border-top-color: var(--line-solid); }
.step::before {
  counter-increment: s; content: '0' counter(s);
  font-size: .82rem; font-weight: 800; letter-spacing: .1em; color: var(--accent);
  display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1.16rem; margin-bottom: .35em; }
.step p { font-size: .98rem; color: var(--text-mid); margin: 0; }
.sec--dark .step p, .sec--dark2 .step p { color: var(--text-muted); }

/* ---------- Recensioni ---------- */
.rev {
  background: var(--paper-2); border: 1px solid var(--line-solid); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.rev__stars { display: flex; gap: 3px; margin-bottom: 14px; }
.star { width: 17px; height: 17px; color: var(--amber); flex: none; }
.h2-star { display: flex; align-items: center; gap: 12px; }
.h2-star .star { width: 1em; height: 1em; }
.rev p { font-size: 1.02rem; color: var(--text-dark); margin-bottom: 18px; }
.rev__who { margin-top: auto; font-size: .92rem; color: var(--text-mid); font-weight: 600; }
.rev__who strong { display: block; color: var(--text-dark); font-size: 1rem; }

/* ---------- Zone servite ---------- */
.zones { display: flex; flex-wrap: wrap; gap: 10px; }
.zones li {
  list-style: none; padding: 9px 17px; border-radius: 99px;
  border: 1px solid var(--line); font-size: .93rem; font-weight: 600; color: rgba(237,241,247,.86);
}
.sec--paper .zones li { border-color: var(--line-solid); color: var(--text-mid); background: #fff; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line-solid); padding: 6px 0;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 1.08rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--text-mid); padding-bottom: 18px; margin: 0; max-width: 700px; }

/* ---------- CTA banda ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent-dk) 0%, var(--accent) 60%, #4F92FF 100%);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 62px);
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; max-width: 16ch; }
.cta-band p { color: rgba(255,255,255,.90); margin: 0; max-width: 46ch; }
.cta-band .btn--primary { background: #fff; color: var(--accent-dk); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.cta-band .btn--primary:hover { background: #F0F5FF; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.55); }

/* ---------- Form ---------- */
.form-card {
  background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-solid);
}
.field { margin-bottom: 20px; }
.field > label {
  display: block; font-weight: 700; font-size: .95rem; margin-bottom: 9px; color: var(--text-dark);
}
.field .hint { font-weight: 500; color: var(--text-mid); font-size: .87rem; display: block; margin-top: 2px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line-solid); border-radius: 11px;
  font-family: inherit; font-size: 1rem; color: var(--text-dark); background: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-sf);
}
.choice { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice label {
  position: relative; border: 1.5px solid var(--line-solid); border-radius: 11px;
  padding: 14px 15px; cursor: pointer; font-weight: 600; font-size: .96rem;
  transition: .16s var(--ease); display: flex; align-items: center; gap: 10px;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:hover { border-color: var(--accent); }
.choice input:checked + span { color: var(--accent-dk); }
.choice label:has(input:checked) { border-color: var(--accent); background: var(--accent-sf); box-shadow: 0 0 0 2px var(--accent-sf); }
.form-note { font-size: .86rem; color: var(--text-mid); margin: 14px 0 0; }
.form-note a { color: var(--accent); }

.fs-steps { display: flex; gap: 8px; margin-bottom: 28px; }
.fs-steps div { flex: 1; height: 4px; border-radius: 99px; background: var(--line-solid); transition: background .3s var(--ease); }
.fs-steps div.on { background: var(--accent); }
.fstep[hidden] { display: none; }
.fstep__n { font-size: .82rem; font-weight: 800; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--text-muted); padding: clamp(50px, 6vw, 78px) 0 26px; font-size: .95rem; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; margin-bottom: 44px; }
.ftr h4 { color: #fff; font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.ftr a { color: var(--text-muted); text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr__legal {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; font-size: .86rem;
}
.ftr__logo { display: block; margin-bottom: 18px; }
.ftr__logo .logo__mark { width: 116px; }

/* ---------- Barra mobile fissa ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none;
  background: rgba(11,15,22,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); gap: 9px;
}
.mbar a { flex: 1; padding: 13px 8px; font-size: .95rem; border-radius: 10px; }

/* ---------- Animazioni scroll ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv, .rv-off .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .fork__item:hover img { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps   { grid-template-columns: 1fr; gap: 20px; }
  .split   { grid-template-columns: 1fr; }
  .split--rev .split__img { order: 0; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 780px) {
  .logo__mark { width: 88px; }
  body { padding-bottom: 68px; }
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 70px 0 auto; background: var(--ink); flex-direction: column;
    padding: 14px 18px 24px; gap: 4px; border-bottom: 1px solid var(--line);
    /* deve superare la propria altezza PIU' i 70px di offset dall'alto:
       -120% non basta e lasciava il fondo del menu sopra l'header */
    transform: translateY(calc(-100% - 74px)); visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s var(--ease); margin-left: 0;
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; width: 100%; }
  .nav .btn { display: inline-flex; margin-top: 10px; width: 100%; }
  .hdr__in > .btn { display: none; }
  .mbar { display: flex; }
  .grid--3, .grid--4, .grid--2, .fork { grid-template-columns: 1fr; }
  .fork__item { min-height: 260px; padding: 26px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { width: 100%; }
  .trust { gap: 10px 18px; }
  .trust li { font-size: .88rem; }
}

@media (max-width: 480px) {
  .logo__mark { width: 80px; }
  body { font-size: 16px; }
  .ftr__grid { grid-template-columns: 1fr; }
}


/* ---------- Zone servite: due aree con foto ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.area {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; border: 1px solid var(--line); isolation: isolate;
}
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.area::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(11,15,22,.93) 10%, rgba(11,15,22,.50) 60%, rgba(11,15,22,.25) 100%);
}
.area h3 { font-size: 1.45rem; color: #fff; margin-bottom: .25em; }
.area p { color: rgba(237,241,247,.86); font-size: .98rem; margin: 0; }

/* ---------- Certificazioni ---------- */
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 18px; }
.cert {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; gap: 15px; align-items: flex-start; background: rgba(255,255,255,.03);
}
.cert svg { flex: none; width: 24px; height: 24px; color: #74A9FF; margin-top: 2px; }
.cert strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 4px; }
.cert span { color: var(--text-muted); font-size: .92rem; line-height: 1.5; }
.sec--paper .cert { background: #fff; border-color: var(--line-solid); }
.sec--paper .cert strong { color: var(--text-dark); }
.sec--paper .cert span { color: var(--text-mid); }
.sec--paper .cert svg { color: var(--accent); }

@media (max-width: 780px) {
  .areas { grid-template-columns: 1fr; }
  .area { min-height: 210px; padding: 24px; }
}
