/* ===================================================================
   Mirella Spinosa — Portfolio d'artista
   =================================================================== */

:root {
  --bg: #FBF7F1;
  --bg-alt: #F2E9DC;
  --surface: #FFFFFF;
  --text: #2B241D;
  --text-soft: #6B5F52;
  --primary: #3E5C50;
  --primary-dark: #2A4038;
  --accent: #BD8F4E;
  --accent-dark: #9C7238;
  --border: #E4D9C7;
  --shadow: 0 10px 30px rgba(43, 36, 29, 0.08);
  --shadow-lg: 0 20px 50px rgba(43, 36, 29, 0.16);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
  --font-signature: 'Playfair Display', Georgia, serif;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
}

.eyebrow {
  font-family: var(--font-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--accent-dark);
  font-weight: 500;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-top: .5rem;
}

.section-head .divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 1.1rem auto 0;
}

section { padding: 6rem 1.5rem; }

.container { max-width: 1180px; margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2.1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: transparent;
  cursor: pointer;
  transition: all .3s ease;
}

.btn:hover { background: var(--accent); color: #fff; }

.btn-solid {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-solid:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* ---------- Header / Nav ---------- */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: linear-gradient(180deg, rgba(20,16,12,.4) 0%, rgba(20,16,12,0) 100%);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}

header::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 4%, var(--accent) 50%, transparent 96%);
  opacity: 0;
  transition: opacity .4s ease;
}

header.scrolled::after { opacity: .9; }

header.scrolled {
  background: rgba(251, 247, 241, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(43,36,29,.06);
  padding: .7rem 2.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  transition: opacity .35s ease;
}

.brand img { height: 54px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }

.brand-name {
  font-family: var(--font-signature);
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: .01em;
  color: var(--primary-dark);
  transition: color .4s ease;
}

.brand-name span { display: block; font-size: .62rem; letter-spacing: .3em; color: var(--text-soft); font-family: var(--font-body); text-transform: uppercase; transition: color .4s ease; }

nav ul {
  list-style: none;
  display: flex;
  gap: .3rem;
  margin: 0; padding: 0;
}

nav a {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  padding: .6rem 1.1rem;
  border-radius: 999px;
  transition: background-color .3s ease, color .3s ease;
}

nav a:hover { background-color: rgba(189, 143, 78, .16); }

nav a.active {
  color: var(--accent-dark);
  background-color: rgba(189, 143, 78, .16);
}

nav a.active::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

@media (min-width: 861px) {
  header:not(.scrolled) .brand-name { color: #fff; }
  header:not(.scrolled) .brand-name span { color: rgba(255,255,255,.78); }
  header:not(.scrolled) nav a { color: #fff; }
  header:not(.scrolled) nav a.active { color: #fff; }
}

.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.6rem;
  color: var(--primary-dark);
  cursor: pointer;
}

.nav-brand { display: none; }
.nav-overlay { display: none; }

@media (max-width: 860px) {
  .nav-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(20, 16, 12, 0);
    backdrop-filter: blur(0);
    pointer-events: none;
    z-index: 190;
    transition: background .35s ease, backdrop-filter .35s ease;
  }
  .nav-overlay.open {
    background: rgba(20, 16, 12, .18);
    backdrop-filter: blur(2px);
    pointer-events: auto;
  }

  nav {
    z-index: 195;
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 82%);
    background: linear-gradient(160deg, var(--surface) 0%, var(--bg-alt) 100%);
    box-shadow: var(--shadow-lg);
    border-left: 3px solid var(--accent);
    transition: right .35s ease;
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 2.4rem;
  }
  nav.open { right: 0; }

  header.menu-open .brand { opacity: 0; pointer-events: none; }
  header.menu-open .nav-toggle { color: transparent; }
  header.menu-open { background: transparent; box-shadow: none; backdrop-filter: none; }
  header.menu-open::after { opacity: 0; }

  nav ul { flex-direction: column; gap: 0; width: 100%; }
  nav ul li { width: 100%; border-bottom: 1px solid var(--border); }
  nav ul li a { display: block; padding: 1.15rem .2rem; border-radius: var(--radius); }
  nav ul li a.active { color: var(--accent-dark); }
  .nav-toggle { display: block; }

  .nav-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    width: 100%;
    margin-bottom: 2.2rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-brand img { height: 96px; width: auto; filter: drop-shadow(0 4px 10px rgba(43,36,29,.15)); }
  .nav-brand strong {
    font-family: var(--font-signature);
    font-style: italic;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--primary-dark);
    letter-spacing: .01em;
  }
  .nav-brand small {
    display: block;
    font-size: .62rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-top: .2rem;
  }
}

/* ---------- Hero carousel ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,.15) 0%, rgba(20,16,12,.15) 40%, rgba(20,16,12,.72) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 3rem 5rem;
  max-width: 900px;
}

.hero-content .eyebrow { color: #EAD9AF; }

.hero-content h1 {
  font-family: var(--font-signature);
  font-style: italic;
  font-weight: 600;
  color: #fff;
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  line-height: 1.15;
  margin: .3rem 0 1.4rem;
  text-shadow: 0 3px 18px rgba(0,0,0,.35);
}

.hero-dots {
  position: absolute;
  bottom: 2rem; right: 3rem;
  z-index: 2;
  display: flex;
  gap: .6rem;
}

.hero-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  opacity: .7;
}

.hero-dots button.active { background: #fff; opacity: 1; }

.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 3rem;
  z-index: 2;
  color: #fff;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: .6rem;
}

.scroll-cue::before {
  content: '';
  width: 30px; height: 1px;
  background: #fff;
  display: inline-block;
}

/* ---------- Home intro (artist teaser) ---------- */

.intro {
  background: var(--surface);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-photo { position: relative; }

.intro-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
}

.intro-photo .frame {
  position: absolute;
  top: 18px; left: 18px;
  width: 100%; height: 100%;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
}

.intro-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }

.intro-text p { color: var(--text-soft); margin-bottom: 1.6rem; }

.signature {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--primary-dark);
  font-size: 1.15rem;
}

@media (max-width: 780px) {
  .intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-photo { max-width: 340px; margin: 0 auto; }
}

/* ---------- Quote banner ---------- */

.quote-banner {
  background: var(--primary);
  color: #F3ECDD;
  text-align: center;
  padding: 3.2rem 1.5rem;
}

.quote-banner p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  max-width: 820px;
  margin: 0 auto;
}

/* ---------- Opere preview (home) ---------- */

.preview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.8rem;
}

.preview-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.preview-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}

.preview-card:hover img { transform: scale(1.08); }

.preview-card[data-preview="figurativi"] img { transform: scale(1.1); }
.preview-card[data-preview="figurativi"]:hover img { transform: scale(1.18); }

.preview-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0) 40%, rgba(20,16,12,.75) 100%);
}

.preview-card span {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .03em;
}

.preview-card.cutout {
  border-radius: 0;
  overflow: visible;
  aspect-ratio: auto;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.preview-card.cutout img {
  width: 100%; height: auto;
  object-fit: contain;
}

.preview-card.cutout::after { content: none; }

.preview-card.cutout span {
  position: static;
  color: var(--text);
  margin-top: .8rem;
  text-align: center;
}

@media (max-width: 1000px) {
  .preview-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
}

.center-cta { text-align: center; margin-top: 3rem; }

/* ---------- Chi Sono (full) ---------- */

.chisono {
  background: var(--bg-alt);
}

.chisono .container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4.5rem;
  align-items: center;
}

.chisono-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.chisono-text p { color: var(--text-soft); margin-bottom: 1.3rem; text-align: justify; }

@media (max-width: 860px) {
  .chisono .container { grid-template-columns: 1fr; }
  .chisono-photo { max-width: 380px; margin: 0 auto; }
}

/* ---------- Opere ---------- */

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: .75rem 1.7rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .25s ease;
}

.tab-btn:hover { border-color: var(--accent); color: var(--accent-dark); }

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.category-panel { display: none; }

.category-panel.active { display: block; animation: fadeIn .5s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }

.category-desc {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-soft);
}

.category-desc h3 {
  color: var(--primary-dark);
  font-size: 1.5rem;
}

.gallery-grid {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
}

.gallery-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.gallery-item {
  cursor: pointer;
  display: block;
}

.gallery-item .thumb {
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery-item .thumb img {
  width: 100%; display: block;
  transition: transform .5s ease;
}

.gallery-item:hover .thumb img { transform: scale(1.05); }

.gallery-item.item-round .thumb {
  border: none;
  border-radius: 50%;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-lg);
}

.gallery-item.item-round .thumb img { border-radius: 50%; height: 100%; object-fit: cover; }

.gallery-item.item-cutout .thumb { border: none; }

.gallery-item .cap { display: none; }

.section-split {
  max-width: 640px;
  margin: 3.5rem auto;
  border-top: 1px solid var(--border);
}

.empty-note {
  text-align: center;
  color: var(--text-soft);
  font-style: italic;
  padding: 2rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}


/* ---------- Percorso Arte Sacra ---------- */

.path-gallery {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 3.2rem;
}

.path-gallery::before {
  content: '';
  position: absolute;
  left: 1.15rem; top: .5rem; bottom: 2.5rem;
  width: 2px;
  background: var(--border);
}

.path-step {
  position: relative;
  margin-bottom: 3.5rem;
  cursor: pointer;
}

.path-step:last-child { margin-bottom: 0; }

.path-step::before {
  content: attr(data-step);
  position: absolute;
  left: -3.2rem; top: 0;
  width: 2.3rem; height: 2.3rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--accent);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: .85rem; font-weight: 600;
  z-index: 2;
}

.path-step img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}

.path-step:hover img { transform: scale(1.01); box-shadow: var(--shadow-lg); }

.path-step .path-cap {
  margin-top: .9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
}

.path-step .path-desc {
  margin-top: .8rem;
}

.path-step .path-desc p {
  color: var(--text-soft);
  font-size: .96rem;
  line-height: 1.75;
  margin-bottom: .9rem;
  text-align: justify;
}

.path-step .path-desc p:last-child { margin-bottom: 0; }

.path-step.path-final::before {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.path-step.path-final img {
  border: 3px solid var(--accent);
}

.path-step.path-substep {
  margin-left: 1.4rem;
  margin-bottom: 2.4rem;
}

.path-step.path-substep::before {
  content: '';
  width: .7rem; height: .7rem;
  left: -2.9rem; top: .55rem;
  background: var(--border);
  border: none;
}

.path-step.path-substep .path-cap {
  font-size: 1rem;
  font-style: normal;
  color: var(--text-soft);
}

.path-step.path-cutout img {
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.path-step.path-small img {
  width: 65%;
  display: block;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .path-gallery { padding-left: 2.6rem; }
  .path-step::before { left: -2.6rem; width: 2rem; height: 2rem; font-size: .78rem; }
}

/* ---------- Lightbox modal ---------- */

.lightbox {
  position: fixed; inset: 0;
  background: rgba(20,16,12,.92);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  overflow: hidden;
}

.lightbox-img {
  background: #10100E;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 90vh;
}

.lightbox-img img { max-height: 90vh; width: 100%; object-fit: contain; }

.lightbox-info { padding: 2.4rem; position: relative; }

.lightbox-info .eyebrow { display: block; margin-bottom: .6rem; }

.lightbox-info h3 { font-size: 1.6rem; color: var(--primary-dark); }

.lightbox-info dl { margin-top: 1.5rem; }
.lightbox-info dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.lightbox-info dd { margin: .15rem 0 1.2rem; font-family: var(--font-display); font-size: 1.05rem; }

.lightbox-info.no-meta h3,
.lightbox-info.no-meta .meta-optional { display: none; }

.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-soft);
}

.lightbox-close:hover { border-color: var(--accent); color: var(--accent-dark); }

@media (max-width: 760px) {
  .lightbox-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .lightbox-img img { max-height: 50vh; }
}

/* ---------- Novita / Contatti ---------- */

.novita { background: var(--surface); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--bg);
}

.news-card .eyebrow { display: block; margin-bottom: .8rem; }

.news-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }

.news-card p { color: var(--text-soft); font-size: .95rem; }

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

.contact-block {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.contact-items {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
  color: var(--text);
}

.contact-item img { width: 26px; height: 26px; }

.contact-section {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact-items-centered {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: .95rem;
  color: var(--text);
  transition: border-color .25s ease, background .25s ease;
}

.contact-pill:hover { border-color: var(--accent); background: var(--bg-alt); }

.contact-pill img { width: 22px; height: 22px; }

/* ---------- Footer ---------- */

footer {
  background: var(--primary-dark);
  color: #E9E2D2;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

footer .brand-name, footer .brand-name span { color: #E9E2D2; }

footer .foot-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.6rem 0;
  flex-wrap: wrap;
}

footer .foot-nav a { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

footer .foot-nav a:hover { opacity: 1; }

footer small { opacity: .6; font-size: .78rem; }

/* ---------- Biografia / Formazione / Curriculum ---------- */

.bio-block { margin-top: 3rem; }

.bio-block h3 { color: var(--primary-dark); font-size: 1.4rem; margin-bottom: 1rem; }

.bio-block p { color: var(--text-soft); margin-bottom: 1.1rem; text-align: justify; }

.formazione-list { list-style: none; margin: 0 0 1rem; padding: 0; }

.formazione-list li { position: relative; padding-left: 1.4rem; margin-bottom: .6rem; color: var(--text-soft); }

.formazione-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.cv-wrap {
  max-height: 420px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: .3rem 0;
}

.cv-item { display: flex; gap: 1.2rem; padding: .6rem 0; border-bottom: 1px dashed var(--border); }

.cv-item:last-child { border-bottom: none; }

.cv-year { flex: 0 0 100px; font-family: var(--font-display); color: var(--accent-dark); font-weight: 600; font-size: .95rem; }

.cv-desc { color: var(--text-soft); font-size: .92rem; }

.bio-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1rem;
}

.fact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: var(--surface);
}

.fact-card h4 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  font-size: 1.05rem;
  margin: 0 0 .7rem;
}

.fact-card h4 + .formazione-list { margin-bottom: 1.6rem; }

.fact-card .formazione-list:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .bio-grid { grid-template-columns: 1fr; }
}
