/* ==========================================================================
   Prof. Marcello Zappia — stile ispirato al tema "MD Hospital" (Axiom Themes)
   ========================================================================== */

:root {
  --primary: #00a8bc;
  --primary-dark: #0091a3;
  --accent: #008cf3;
  --dark: #08363b;
  --dark-bg: #0a2e32;
  --dark-line: #134a50;
  --text: #67787a;
  --muted: #849a9c;
  --footer-text: #a8bfc1;
  --light: #edf9fc;
  --border: #cadbdd;
  --white: #fbfeff;

  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 10px;

  --container: 1290px;
  --container-wide: 1780px;
  --gutter: 24px;

  --font-head: "Urbanist", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;

  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--dark);
  font-family: var(--font-head);
  font-weight: 600;
}

p { margin: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { width: 100%; max-width: calc(var(--container-wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 150px 0; }
.section-sm { padding: 100px 0; }
.bg-light { background: var(--light); }
.center { text-align: center; }

/* ---- Typography ---------------------------------------------------------- */
.eyebrow {
  display: block;
  margin-bottom: 22px;
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.h-display { font-size: 90px; line-height: .95; letter-spacing: -.01em; }
.h1 { font-size: 57px; line-height: 1.105; letter-spacing: -.01em; }
.h2 { font-size: 45px; line-height: 1; letter-spacing: -.008em; }
.h3 { font-size: 35px; line-height: 1.115; letter-spacing: -.01em; }
.h4 { font-size: 28px; line-height: 1.215; letter-spacing: -.01em; }
.h5 { font-size: 23px; line-height: 1.215; letter-spacing: -.01em; }
.h6 { font-size: 19px; line-height: 1.265; letter-spacing: -.01em; }
.lead { font-size: 20px; line-height: 1.25; }
.text-primary { color: var(--primary); }
.text-sm { font-size: 15px; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 48px; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 55px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--dark-bg); }
.btn-dark { background: var(--dark-bg); }
.btn-dark:hover { background: var(--primary); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--dark); }
.btn-outline:hover { background: var(--dark-bg); border-color: var(--dark-bg); color: #fff; }
.btn-soft { height: 42px; padding: 0 18px; border-radius: 6px; background: var(--light); color: var(--dark); font-size: 14px; }
.btn-soft:hover { background: var(--primary); color: #fff; }
.btn-sm { height: 43px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px rgba(8, 54, 59, .06); }
.site-header .inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  padding: 0 70px;
}
.logo { flex: none; display: block; width: 61px; }
.logo img { width: 61px; height: 28px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 32px; list-style: none; }
.main-nav a {
  display: block;
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
  transition: color .2s;
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--primary); }
.header-actions { flex: none; display: flex; align-items: center; gap: 30px; }
.header-phone { display: flex; align-items: center; gap: 13px; color: var(--dark); font-family: var(--font-head); font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.header-phone img { width: 20px; height: 20px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--dark); transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--dark-bg); color: var(--footer-text); }
.site-footer .top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr .9fr;
  gap: 40px;
  padding: 102px 0 66px;
}
.footer-logo { width: 107px; height: 49px; margin-bottom: 22px; }
.site-footer h4 { margin-bottom: 24px; color: var(--white); font-size: 19px; letter-spacing: -.01em; }
.site-footer p,
.site-footer li { font-size: 16px; line-height: 26px; }
.site-footer ul { list-style: none; }
.site-footer a:hover { color: var(--white); }
.footer-about { max-width: 368px; }
.socials { display: flex; gap: 10px; margin-top: 30px; }
.socials a { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid var(--dark-line); border-radius: 50%; transition: background .25s, border-color .25s; }
.socials a:hover { background: var(--primary); border-color: var(--primary); }
.socials img { width: 15px; height: 15px; }
.site-footer .bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--dark-line);
  font-size: 15px;
  line-height: 21px;
}
.site-footer .bottom strong { color: var(--white); font-weight: 400; }

/* ---- Back to top --------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #0e3b40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top img { width: 10px; height: 12px; transform: scaleY(-1); filter: brightness(0) invert(1); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---- Marquee ------------------------------------------------------------- */
.marquee { overflow: hidden; height: 140px; background: var(--primary); }
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 33px;
  padding-right: 33px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 47px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 19px;
  height: 21px;
  background: url("../img/ico-asterisk.svg") center / contain no-repeat;
  transform: rotate(135deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Forms --------------------------------------------------------------- */
.field { display: block; }
.field label { display: block; margin-bottom: 8px; color: var(--dark); font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.field label .req { color: #e2483d; }
.input,
.textarea {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
}
.textarea { height: 140px; padding: 13px 14px; resize: vertical; line-height: 21px; }
.input::placeholder,
.textarea::placeholder { color: var(--muted); }
.input:focus,
.textarea:focus { border-color: var(--primary); }
.form-grid { display: grid; gap: 22px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 16px;
  cursor: pointer;
}
.check input { flex: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--border); border-radius: 4px; accent-color: var(--primary); }
.check a { color: var(--primary); }
.form-note { display: none; margin-top: 14px; color: var(--primary); font-size: 15px; }
.form-note.is-visible { display: block; }

/* ---- Pills / checklists -------------------------------------------------- */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 48px; list-style: none; }
.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 32px;
}
.pill::before {
  content: "";
  flex: none;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--accent) url("../img/ico-check-small.svg") center / 9px no-repeat;
}

/* ---- Accordion ----------------------------------------------------------- */
.accordion { display: grid; gap: 30px; }
.acc-item { border-bottom: 1px solid var(--border); padding-bottom: 30px; }
.acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -.01em;
  text-align: left;
}
.acc-head::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: url("../img/ico-faq-plus.svg") center / contain no-repeat;
}
.acc-item.is-open .acc-head::after { background-image: url("../img/ico-faq-minus.svg"); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.acc-body > div { overflow: hidden; }
.acc-body p { padding-top: 16px; padding-right: 46px; font-size: 15px; line-height: 22px; }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }

/* boxed variant (Prestazioni) */
.accordion.boxed { gap: 10px; }
.accordion.boxed .acc-item { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0; background: #fff; }
.accordion.boxed .acc-head { padding: 18px 20px; }
.accordion.boxed .acc-body p { padding: 0 60px 18px 20px; }

.todo { color: #c27c0e; font-style: italic; }

/* ---- Cards --------------------------------------------------------------- */
.media { overflow: hidden; border-radius: var(--radius-lg); }
.media img { width: 100%; height: 100%; object-fit: cover; }

.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.info-card {
  display: flex;
  flex-direction: column;
  padding: 39px 50px 39px;
  border-radius: var(--radius-lg);
  background: var(--light);
}
.info-card h3 { margin-bottom: 14px; }
.info-card p { flex: 1; }
.info-card .thumb { overflow: hidden; height: 245px; margin-top: 24px; border-radius: var(--radius-sm); }
.info-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.info-card:hover .thumb img { transform: scale(1.04); }

/* ---- Page hero (pagine interne con 2 immagini laterali) ------------------ */
.side-hero { position: relative; display: grid; grid-template-columns: 465px 1fr 465px; align-items: center; gap: 40px; padding-top: 90px; }
.side-hero .img-l,
.side-hero .img-r { overflow: hidden; aspect-ratio: 465 / 660; }
.side-hero .img-l { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.side-hero .img-r { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.side-hero img { width: 100%; height: 100%; object-fit: cover; }
.side-hero .copy { max-width: 800px; margin: 0 auto; text-align: center; }
.side-hero .copy .btn { margin-top: 32px; }

.page-title { padding: 120px 0 80px; text-align: center; }

/* ---- Logos row ----------------------------------------------------------- */
.logos-strip { padding: 80px 0 150px; text-align: center; }
.logos-strip .h6 { margin-bottom: 30px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.logos img { width: 190px; height: 80px; object-fit: contain; mix-blend-mode: luminosity; opacity: .9; }

/* ---- Split rows (testo + immagine alternati) ----------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.split + .split { margin-top: 150px; }
.split .media { aspect-ratio: 629 / 599; }
.split .copy { max-width: 560px; }
.split .copy p { margin-top: 26px; }
.split .copy .btn { margin-top: 40px; }
.split.reverse .media { order: -1; }
.split.reverse .copy { justify-self: end; width: 100%; max-width: 540px; }

/* ---- Stats --------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 80px; padding: 150px 0; }
.stats-intro p { max-width: 380px; margin-top: 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 40px; }
.stats-all { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px 40px; grid-column: 1 / -1; }
.stat .num { color: var(--dark); font-family: var(--font-head); font-size: 121px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.stat .label { margin-top: 12px; color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 24px; }

/* ---- Video banner -------------------------------------------------------- */
.video-banner { position: relative; display: grid; place-items: center; height: 768px; background: center / cover no-repeat; }
.play-btn { display: grid; place-items: center; width: 98px; height: 98px; border: 1px solid #fff; border-radius: 50%; transition: background .25s; }
.play-btn:hover { background: var(--primary); border-color: var(--primary); }
.play-btn img { width: 16px; height: 16px; }

/* ---- Newsletter / callback ---------------------------------------------- */
.callback { padding: 150px 0; text-align: center; }
.callback .h1 { margin-bottom: 18px; }
.callback > .container > p { max-width: 664px; margin: 0 auto; }
.callback .pills { margin-top: 26px; gap: 14px 40px; }
.callback form { display: grid; grid-template-columns: 1fr auto; gap: 7px; max-width: 580px; margin: 40px auto 0; }
.callback .input { height: 56px; padding-left: 43px; background: url("../img/ico-envelope.svg") 15px center / 18px no-repeat; }
.callback .btn { height: 56px; padding: 0 60px; }
.callback .check { grid-column: 1 / -1; justify-content: center; margin-top: 16px; }

/* =========================================================================
   HOME
   ========================================================================= */
.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 980px;
  padding: 120px 0;
  background: url("../img/foto/knee360-podio.jpg") 92% 15% / auto 130% no-repeat; background-color: #3b3f8f;
}
.home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 54, 59, .85) 0%, rgba(8, 54, 59, .6) 35%, rgba(8, 54, 59, .15) 55%, rgba(8, 54, 59, .05) 70%); }
.home-hero .container-wide { position: relative; display: grid; grid-template-columns: 1fr 530px; align-items: center; gap: 60px; }
.home-hero h1 { max-width: 810px; color: var(--white); }
.home-hero .lead { max-width: 727px; margin-top: 34px; color: var(--white); }
.home-hero .big { margin-top: 40px; color: var(--primary); font-family: var(--font-head); font-size: 130px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.home-hero .big-note { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.home-hero .big-note img { width: 167px; height: auto; }
.home-hero .big-note p { max-width: 350px; color: var(--white); font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 24px; }
.hero-form { padding: 50px 30px 45px; border-radius: var(--radius-lg); background: #fff; }
.hero-form h2 { max-width: 460px; margin-bottom: 36px; }
.hero-form .btn { margin-top: 0; }

.home-about { padding: 150px 0; }
.home-about .row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.home-about .row + .row { margin-top: 80px; }
.author { display: flex; align-items: center; gap: 15px; margin-top: 28px; }
.author img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.author strong { display: block; color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.author span { display: block; font-size: 16px; line-height: 20px; }
.home-about .img-a { aspect-ratio: 520 / 600; max-width: 520px; }
.home-about .img-b { aspect-ratio: 629 / 479; margin-top: 40px; }
.home-about p + p { margin-top: 22px; }
.home-about .lead-text { margin-top: 30px; max-width: 560px; }

.features { padding: 150px 0 123px; }
.features .head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 64px; }
.features .head .ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; margin-top: 10px; border-radius: 50%; background: var(--primary); }
.features .head .ico img { width: 22px; height: 22px; }
.feature {
  padding: 50px 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
  transition: transform .35s, box-shadow .35s;
}
.feature:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(8, 54, 59, .08); }
.feature h3 { min-height: 76px; font-size: 30px; line-height: 38px; }
.feature .visual { overflow: hidden; width: 282px; max-width: 100%; height: 239px; margin: 22px auto 30px; border-radius: var(--radius-md); }
.feature .visual img { width: 100%; height: 100%; object-fit: cover; }

.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding: 150px 0 0; }
.cta-split .panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 850px;
  padding: 60px 54px;
  border-radius: var(--radius-lg);
  background: var(--light);
  text-align: center;
}
.cta-split .panel .middle { margin: auto 0; }
.cta-split .panel .btn { margin-top: 40px; }
.cta-split .panel small { color: var(--text); font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: 1.12px; text-transform: uppercase; }
.cta-split .media { min-height: 850px; }

.olympics { position: relative; display: flex; align-items: flex-end; min-height: 760px; padding: 100px 0; background: url("../img/home-olimpiadi.jpg") center / cover no-repeat; }
.olympics::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .1); }
.olympics .container-wide { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.olympics h2 { max-width: 830px; color: var(--white); }

.list-rows .head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 50px; }
.list-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: start; padding: 30px 0; border-top: 1px solid var(--border); }
.list-row .media { width: 297px; max-width: 100%; height: 222px; }
.list-row h3 { max-width: 420px; }

.centers { padding: 150px 0; }
.centers .tabs { display: grid; grid-template-columns: 318px 1fr; gap: 12px; margin-top: 58px; }
.tab-list { display: grid; align-content: start; gap: 6px; }
.tab-btn {
  height: 60px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  text-align: left;
  letter-spacing: -.01em;
  transition: background .2s, color .2s;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.is-active { background: var(--primary); color: #fff; }
.tab-panel { display: none; padding: 40px; border-radius: var(--radius-lg); background: #fff; }
.tab-panel.is-active { display: block; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.contact-line { display: flex; align-items: flex-start; gap: 15px; }
.contact-line + .contact-line { margin-top: 30px; }
.contact-line .ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--light); }
.contact-line .ico img { width: 22px; height: 22px; }
.contact-line small { display: block; color: var(--text); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.contact-line strong { display: block; margin-top: 6px; color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.tab-panel .map { overflow: hidden; height: 391px; margin-top: 40px; border-radius: var(--radius-sm); }
.tab-panel .map img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   CHI SONO
   ========================================================================= */
.about-intro { display: grid; grid-template-columns: 560px 1fr; gap: 30px; }
.about-intro .sticky-col { position: relative; }
.about-intro .sticky-col .media { position: sticky; top: calc(var(--header-h) + 20px); aspect-ratio: 560 / 442; }
.about-intro .big-img { aspect-ratio: 1190 / 716; }
.about-intro .bio { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 60px; }
.about-intro .bio p { padding-top: 40px; border-top: 2px solid var(--dark); }
.about-intro .name { padding-top: 40px; }

.edu { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; }
.edu-item { padding: 136px 50px 100px; border: 1px solid var(--border); border-left-width: 0; }
.edu-item:first-child { border-left-width: 1px; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.edu-item:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.edu-item img { width: 70px; height: 70px; margin-bottom: 40px; }
.edu-item h3 { min-height: 68px; }
.edu-item p { margin-top: 10px; }

.roles .head { padding-bottom: 40px; border-bottom: 1px solid var(--dark); }
.role { display: grid; grid-template-columns: 300px 120px 1fr; gap: 40px; padding: 50px 0; border-bottom: 1px solid var(--border); }
.role .media { aspect-ratio: 300 / 210; }
.role .num { color: var(--dark); font-family: var(--font-head); font-size: 35px; font-weight: 600; text-align: right; }
.role h3 { font-size: 30px; line-height: 39px; }
.role p { margin-top: 14px; }

.wide-img { aspect-ratio: 1920 / 760; overflow: hidden; }
.wide-img img { width: 100%; height: 100%; object-fit: cover; }

.society { display: grid; grid-template-columns: 516px 1fr; gap: 30px; margin-top: 60px; }
.society .media { height: 520px; }
.slider { position: relative; padding: 55px 50px 45px; border-radius: var(--radius-lg); background: var(--light); }
.slide { display: none; height: 100%; flex-direction: column; }
.slide.is-active { display: flex; animation: fade .4s ease; }
.slide blockquote { margin: 0; color: var(--dark); font-family: var(--font-head); font-size: 23px; font-weight: 600; line-height: 28px; letter-spacing: -.01em; }
.slide .who { margin-top: auto; }
.slide .who strong { display: block; color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.slide .who span { font-size: 15px; }
.dots { position: absolute; right: 50px; bottom: 65px; display: flex; gap: 23px; }
.dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--border); }
.dots button.is-active { background: var(--accent); }

.gallery { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery .ig { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--white); transform: translate(-50%, -50%); }
.gallery .ig img { width: 24px; height: 24px; aspect-ratio: auto; }

/* =========================================================================
   PRESTAZIONI
   ========================================================================= */
.services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; padding: 150px 0 60px; }
.services-intro h1 { grid-column: 1 / -1; max-width: 1117px; }
.services-intro p { grid-column: 2; max-width: 690px; margin-top: 30px; }
.service-box { position: relative; min-height: 408px; padding: 68px 30px 40px; border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color .3s, box-shadow .3s; }
.service-box:hover { border-color: var(--primary); box-shadow: 0 20px 40px rgba(8, 54, 59, .06); }
.service-box .badge { position: absolute; top: 16px; right: 20px; overflow: hidden; width: 147px; height: 131px; border-radius: var(--radius-md); background: var(--light); }
.service-box .badge img { width: 100%; height: 100%; object-fit: cover; }
.service-box h3 { display: flex; align-items: flex-end; max-width: 200px; min-height: 84px; font-size: 25px; line-height: 28px; }
.service-box ul { margin-top: 22px; padding-left: 24px; }

.book { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 110px; padding: 95px 0 150px; }
.book .media { min-height: 850px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.book .copy { max-width: 500px; }
.book .copy p { margin-top: 26px; }
.book .copy .btn { margin-top: 32px; }

.volumes { padding: 100px 0 150px; text-align: center; }
.volumes .h1 { max-width: 870px; margin: 0 auto; }
.seg { display: inline-flex; gap: 0; margin: 40px auto 60px; padding: 3px; border-radius: var(--radius-sm); background: var(--light); }
.seg button { padding: 7px 22px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--dark); font-family: var(--font-head); font-size: 14px; font-weight: 600; }
.seg button.is-active { background: #fff; }
.volume-panel { display: none; text-align: left; }
.volume-panel.is-active { display: grid; animation: fade .4s ease; }
.vol-card { display: flex; flex-direction: column; min-height: 476px; padding: 52px 30px 56px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.vol-card h3 { font-size: 30px; line-height: 1.1; }
.vol-card .figure { margin-top: 30px; color: var(--dark); font-family: var(--font-head); font-size: 47px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.vol-card .figure span { color: var(--muted); }
.vol-card .desc { display: flex; gap: 9px; margin-top: 30px; font-size: 20px; line-height: 26px; }
.vol-card .desc img { flex: none; width: 19px; height: 19px; margin-top: 4px; }
.vol-card .btn { margin-top: auto; height: 51px; font-size: 15px; }

.faq-block { padding: 150px 0; }
.faq-block .head { max-width: 810px; margin: 0 auto 50px; text-align: center; }
.faq-block .head p { margin-top: 30px; }
.faq-block .accordion { max-width: 630px; margin: 0 auto; }
.faq-block .btn { margin-top: 50px; }

/* =========================================================================
   RADIOLOGIA SPORTIVA / RICERCA
   ========================================================================= */
.quote-box { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: var(--radius-lg); background: var(--dark-bg); }
.quote-box .copy { display: flex; flex-direction: column; padding: 55px 60px; }
.quote-box .copy img { width: 107px; height: auto; }
.quote-box blockquote { margin: auto 0; padding: 40px 0; color: var(--white); font-family: var(--font-head); font-size: 35px; font-weight: 600; line-height: 39px; letter-spacing: -.01em; }
.quote-box strong { color: var(--white); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.quote-box span { margin-top: 6px; color: var(--footer-text); font-size: 15px; line-height: 20px; }
.quote-box .media { margin: 20px 20px 20px 15px; border-radius: 15px; }

.numbers { padding: 0 0 150px; text-align: center; }
.numbers h2 { margin-bottom: 50px; font-size: 35px; }
.numbers .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.numbers .grid p { color: var(--dark); font-family: var(--font-head); font-size: 30px; line-height: 34px; letter-spacing: -.01em; }

.research-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 150px 0; }
.research-areas p { max-width: 520px; margin-top: 30px; }

.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 70px; max-width: 1200px; margin: 0 auto; }
.timeline-grid .item { text-align: center; }
.timeline-grid .item::before {
  content: "";
  display: block;
  width: 23px;
  height: 23px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent) url("../img/ico-check-small.svg") center / 9px no-repeat;
}
.timeline-grid p { color: var(--dark); font-family: var(--font-head); font-size: 30px; line-height: 34px; letter-spacing: -.01em; }

/* =========================================================================
   CONGRESSI
   ========================================================================= */
.blog-layout { display: grid; grid-template-columns: 1fr 370px; gap: 40px; padding-bottom: 150px; }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-content: start; }
.post .media { height: 230px; }
.post .media img { transition: transform .6s; }
.post:hover .media img { transform: scale(1.05); }
.post .cat { display: block; margin-top: 30px; color: var(--dark); font-size: 14px; font-weight: 600; letter-spacing: .56px; text-transform: uppercase; }
.post h3 { margin-top: 12px; }
.post time { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.post p { margin-top: 12px; }
.post.is-hidden { display: none; }
.sidebar { align-self: start; position: sticky; top: calc(var(--header-h) + 20px); padding-left: 40px; border-left: 1px solid var(--border); }
.sidebar h4 { margin-bottom: 20px; font-size: 19px; }
.sidebar h4:not(:first-child) { margin-top: 48px; }
.search-box { position: relative; }
.search-box .input { padding-left: 42px; background: var(--light) url("../img/ico-search.svg") 18px center / 16px no-repeat; }
.cat-list { list-style: none; display: grid; gap: 15px; }
.cat-list button { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 16px; }
.cat-list button::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.cat-list button:hover,
.cat-list button.is-active { color: var(--primary); }
.recent { display: grid; gap: 26px; }
.recent a { display: grid; grid-template-columns: 100px 1fr; gap: 22px; align-items: center; }
.recent img { width: 100px; height: 100px; border-radius: var(--radius-sm); object-fit: cover; }
.recent small { color: var(--dark); font-size: 14px; font-weight: 600; letter-spacing: .56px; text-transform: uppercase; }
.recent strong { display: block; margin: 4px 0; color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 24px; }
.recent time { color: var(--muted); font-size: 14px; }
.no-results { display: none; grid-column: 1 / -1; }
.no-results.is-visible { display: block; }

/* =========================================================================
   FAQ / CONTATTI
   ========================================================================= */
.faq-page { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 150px 0; }
.faq-page .intro p { max-width: 426px; margin-top: 30px; }

.counter-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.counter-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 390px; overflow: hidden; border-radius: var(--radius-lg); background: #fff; }
.counter-card .num { padding: 30px; color: var(--dark); font-family: var(--font-head); font-size: 90px; font-weight: 600; line-height: 1.1; }
.counter-card .foot { display: flex; align-items: center; justify-content: space-between; padding: 25px 30px; border-top: 1px solid var(--border); color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.counter-card .foot a { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid var(--border); border-radius: 50%; transition: background .25s; }
.counter-card .foot a:hover { background: var(--primary); border-color: var(--primary); }
.counter-card .foot img { width: 9px; height: 9px; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 150px 0; }
.contact-info dl { margin: 40px 0 0; }
.contact-info dt { margin-top: 30px; color: var(--text); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 8px 0 0; color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 24px; }
.contact-info dd a:hover { color: var(--primary); }
.contact-form h2 { margin-bottom: 28px; }

.locations { padding: 150px 0; }
.locations .h1 { margin-bottom: 60px; }
.location { display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; align-items: center; gap: 30px; padding: 40px 0; border-top: 1px solid var(--border); }
.location:last-child { border-bottom: 1px solid var(--border); }
.location h3 { font-size: 35px; }
.location p { color: var(--dark); font-size: 16px; line-height: 26px; }
.location .dir { display: flex; align-items: center; gap: 10px; color: var(--dark); font-family: var(--font-head); font-size: 16px; font-weight: 600; white-space: nowrap; }
.location .dir img { width: 22px; height: 22px; transition: transform .25s; }
.location .dir:hover img { transform: translateX(4px); }

.cta-band { padding: 148px 0; background: var(--primary); }
.cta-band p { max-width: 1060px; color: var(--white); font-family: var(--font-head); font-size: 47px; font-weight: 600; line-height: 53px; letter-spacing: -.01em; }
.cta-band a { text-decoration: underline; text-underline-offset: 6px; }

/* ---- Reveal on scroll ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1600px) {
  .site-header .inner { padding: 0 32px; gap: 24px; }
  .main-nav ul { gap: 22px; }
  .main-nav a { font-size: 15px; }
  .header-actions { gap: 18px; }
  .side-hero { grid-template-columns: 300px 1fr 300px; }
}

@media (max-width: 1500px) {
  .header-phone span { display: none; }
}

@media (max-width: 1360px) {
  .main-nav ul { gap: 18px; }
  .h-display { font-size: 72px; }
  .home-hero .big { font-size: 100px; }
}

@media (max-width: 1200px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .header-phone span { display: inline; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: block;
    padding: 30px var(--gutter);
    overflow-y: auto;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 20px; }
  .header-actions { margin-left: auto; }

  .section, .home-about, .features, .centers, .callback, .faq-block, .faq-page, .contact-wrap, .locations, .research-areas { padding: 100px 0; }
  .stats { padding: 100px 0; }
  .h1 { font-size: 46px; }
  .h-display { font-size: 60px; }
  .stat .num { font-size: 90px; }

  .home-hero .container-wide { grid-template-columns: 1fr; }
  .hero-form { max-width: 560px; }
  .home-about .row,
  .stats,
  .split,
  .book,
  .about-intro,
  .society,
  .faq-page,
  .contact-wrap,
  .research-areas,
  .quote-box,
  .blog-layout { grid-template-columns: 1fr; }
  .split .copy, .split.reverse .copy { max-width: none; justify-self: stretch; }
  .split.reverse .media { order: 0; }
  .split + .split { margin-top: 100px; }
  .book { gap: 60px; padding: 80px 0 100px; }
  .book .media { min-height: 500px; border-radius: var(--radius-lg); margin: 0 var(--gutter); }
  .book .copy { max-width: none; padding: 0 var(--gutter); }
  .about-intro .sticky-col .media { position: static; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-all { grid-template-columns: repeat(2, 1fr); }
  .edu { grid-template-columns: 1fr 1fr; }
  .edu-item { padding: 60px 40px; border-left-width: 1px; border-radius: 0 !important; margin: -1px 0 0 -1px; }
  .list-row { grid-template-columns: 240px 1fr; gap: 20px 40px; }
  .list-row .btn { grid-column: 2; justify-self: start; }
  .list-row .media { height: 180px; }
  .list-rows .head { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; gap: 20px; padding: 100px var(--gutter) 0; }
  .cta-split .panel, .cta-split .media { min-height: 520px; }
  .role { grid-template-columns: 240px 1fr; }
  .role .num { display: none; }
  .side-hero { grid-template-columns: 1fr; padding-top: 60px; }
  .side-hero .img-l, .side-hero .img-r { display: none; }
  .side-hero .copy { padding: 0 var(--gutter); }
  .numbers .grid, .timeline-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; padding-left: 0; border-left: 0; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .location { grid-template-columns: 1fr 1fr; }
  .centers .tabs { grid-template-columns: 1fr; }
  .tab-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .video-banner { height: 520px; }
  .olympics { min-height: 560px; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .site-header .inner { padding: 0 var(--gutter); }
  .header-phone { display: none; }
  .section, .home-about, .features, .centers, .callback, .faq-block, .faq-page, .contact-wrap, .locations, .stats, .research-areas, .volumes { padding: 70px 0; }
  .h-display { font-size: 42px; line-height: 1; }
  .h1 { font-size: 34px; }
  .h2 { font-size: 32px; }
  .h3 { font-size: 26px; }
  .h4 { font-size: 22px; }
  .lead { font-size: 17px; }
  .home-hero { min-height: 0; padding: 70px 0; }
  .home-hero .big { font-size: 70px; }
  .home-hero .big-note { flex-direction: column; align-items: flex-start; }
  .hero-form { padding: 30px 20px; }
  .card-grid-2, .card-grid-3, .posts, .counter-cards, .form-grid.two, .stats-grid, .stats-all, .numbers .grid, .timeline-grid, .site-footer .top, .location { grid-template-columns: 1fr; }
  .stat .num { font-size: 64px; }
  .stats-all, .stats-grid { gap: 40px; }
  .edu { grid-template-columns: 1fr; }
  .about-intro .bio { grid-template-columns: 1fr; }
  .info-card { padding: 30px 24px; }
  .marquee { height: 90px; }
  .marquee-track span { font-size: 30px; gap: 20px; padding-right: 20px; }
  .list-row { grid-template-columns: 1fr; }
  .list-row .btn { grid-column: 1; }
  .role { grid-template-columns: 1fr; gap: 20px; padding: 30px 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .olympics .container-wide { flex-direction: column; align-items: flex-start; }
  .cta-split { padding-top: 70px; }
  .cta-split .panel { min-height: 420px; padding: 40px 24px; }
  .cta-split .media { min-height: 360px; }
  .quote-box .copy { padding: 36px 24px; }
  .quote-box blockquote { font-size: 24px; line-height: 30px; }
  .quote-box .media { min-height: 320px; }
  .callback form { grid-template-columns: 1fr; }
  .tab-panel { padding: 24px; }
  .tab-panel .map { height: 220px; }
  .contact-line small, .contact-line strong { font-size: 16px; }
  .cta-band { padding: 80px 0; }
  .cta-band p { font-size: 28px; line-height: 34px; }
  .site-footer .top { padding: 70px 0 40px; }
  .site-footer .bottom { flex-direction: column; }
  .video-banner { height: 360px; }
  .seg { flex-wrap: wrap; justify-content: center; }
  .service-box .badge { width: 110px; height: 100px; }
  .acc-body p { padding-right: 0; }
  .features .head { flex-direction: column; }
  .page-title { padding: 70px 0 50px; }
  .logos-strip { padding: 50px 0 70px; }
  .logos img { width: 140px; height: 60px; }
  .slider { padding: 36px 24px 60px; }
  .dots { right: 24px; bottom: 30px; }
  .society .media { height: 320px; }
  .counter-card { min-height: 280px; }
  .counter-card .num { font-size: 64px; }
  .vol-card { min-height: 0; }
  .vol-card .btn { margin-top: 30px; }
}

/* ---- Ritocchi ---- */
.stats-intro h2 { max-width: 420px; }
.site-footer .bottom { padding-right: 64px; }
.cta-band p, .contact-info dd, .contact-line strong, .location p { overflow-wrap: anywhere; }

/* ---- Galleria eventi ---- */
.stage { padding: 0 0 120px; }
.stage-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 20px; }
.stage-grid figure { position: relative; overflow: hidden; margin: 0; border-radius: var(--radius-md); }
.stage-grid figure.tall { grid-row: span 2; }
.stage-grid figure.wide { grid-column: span 2; }
.stage-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.stage-grid figure:hover img { transform: scale(1.05); }
.stage-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; background: linear-gradient(transparent, rgba(8, 54, 59, .85)); color: var(--white); font-family: var(--font-head); font-size: 16px; font-weight: 600; }
@media (max-width: 1200px) { .stage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .stage-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; } .stage-grid figure.tall { grid-row: span 1; } .stage-grid figure.wide { grid-column: span 1; } .stage { padding-bottom: 70px; } }
@media (max-width: 760px) { .home-hero::before { background: rgba(8, 54, 59, .7); } }
@media (max-width: 1200px) { .home-hero { background-size: cover; background-position: 70% 20%; } }
.home-hero h1, .home-hero .lead { text-shadow: 0 2px 18px rgba(8, 54, 59, .45); }

/* =========================================================================
   ADATTAMENTO AI BLOCCHI WORDPRESS
   ========================================================================= */
.wp-site-blocks { padding: 0; }
.site-main { display: block; }
.site-main figure.wp-block-image,
.site-footer figure.wp-block-image { margin: 0; }
.wp-block-image.media img,
.wp-block-image.wide-img img,
.wp-block-image.img-l img,
.wp-block-image.img-r img,
.wp-block-image.thumb img,
.wp-block-image.visual img,
.wp-block-image.badge img,
.wp-block-image.map img,
.gallery .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.focus-top img { object-position: center 25% !important; }
.focus-x45 img { object-position: 45% center !important; }
.focus-x62 img { object-position: 62% center !important; }
.w-610 { max-width: 610px; }
.w-760 { max-width: 760px; margin-bottom: 50px; }
.w-1141 { max-width: 1141px; }
:where(.site-main) :is(h1, h2, h3) + p:not(.eyebrow) { margin-top: 22px; }
:where(.site-main) .wp-block-buttons { margin-top: 32px; }
.center-btns { justify-content: center; }
.section-head { max-width: 900px; margin: 0 auto 80px; }

/* ---- Pulsanti ---- */
.wp-block-button .wp-block-button__link,
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 55px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--radius-sm);
  background: var(--primary); color: #fff; font-family: var(--font-head); font-size: 16px; font-weight: 600;
  line-height: 1; white-space: nowrap; text-decoration: none; transition: background .25s, color .25s, border-color .25s;
}
.wp-block-button .wp-block-button__link:hover { background: var(--dark-bg); color: #fff; }
.wp-block-button.is-style-dark .wp-block-button__link { background: var(--dark-bg); }
.wp-block-button.is-style-dark .wp-block-button__link:hover { background: var(--primary); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border-color: var(--border); color: var(--dark); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--dark-bg); border-color: var(--dark-bg); color: #fff; }
.wp-block-button.is-style-soft .wp-block-button__link { height: 42px; padding: 0 18px; border-radius: 6px; background: var(--light); color: var(--dark); font-size: 14px; }
.wp-block-button.is-style-soft .wp-block-button__link:hover { background: var(--primary); color: #fff; }
.wp-block-button.is-style-play .wp-block-button__link { width: 98px; height: 98px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; font-size: 22px; }
.wp-block-button.is-style-play .wp-block-button__link:hover { background: var(--primary); border-color: var(--primary); }
.wp-block-button.is-style-circle .wp-block-button__link { width: 45px; height: 45px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--dark); font-size: 16px; }
.wp-block-button.is-style-circle .wp-block-button__link:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---- Header + navigazione ---- */
.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; height: auto; background: #fff; }
.site-header .header-inner { height: var(--header-h); padding: 0 70px; gap: 32px; align-items: center; }
.site-header .logo img { display: block; width: 61px; height: 28px; }
.main-nav.wp-block-navigation { flex: 1; font-family: var(--font-head); font-size: 16px; font-weight: 600; }
.main-nav .wp-block-navigation__container { gap: 32px; }
.main-nav .wp-block-navigation-item__content { color: var(--dark); white-space: nowrap; transition: color .2s; }
.main-nav .wp-block-navigation-item__content:hover,
.main-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--primary); }
.main-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 30px 24px; background: #fff; }
.main-nav .is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; }
.main-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--border); }
.main-nav .is-menu-open .wp-block-navigation-item__content { padding: 14px 0; font-size: 20px; }
.main-nav .wp-block-navigation__responsive-container-open { padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
@media (max-width: 1600px) {
  .site-header .header-inner { padding: 0 32px; gap: 24px; }
  .main-nav .wp-block-navigation__container { gap: 22px; }
  .main-nav.wp-block-navigation { font-size: 15px; }
}
@media (max-width: 1360px) { .main-nav .wp-block-navigation__container { gap: 18px; } }
@media (max-width: 1200px) {
  .main-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .main-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .main-nav.wp-block-navigation { flex: 0 0 auto; order: 3; }
  .site-header .header-actions { margin-left: auto; }
}
@media (max-width: 760px) { .site-header .header-inner { padding: 0 16px; gap: 12px; } }

/* ---- Footer ---- */
.site-footer ul.plain { padding: 0; list-style: none; }
.site-footer .wp-block-heading { margin-bottom: 24px; color: var(--white); font-size: 19px; }
.site-footer .socials { gap: 10px; margin-top: 30px; }
.site-footer .socials .wp-social-link { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid var(--dark-line); border-radius: 50%; background: transparent !important; }
.site-footer .socials .wp-social-link svg { width: 16px; height: 16px; }
.site-footer .socials .wp-social-link:hover { background: var(--primary) !important; border-color: var(--primary); }
.site-footer .footer-logo { margin-bottom: 22px; }

/* ---- Hero e sfondi (immagine modificabile dal blocco Gruppo > Sfondo) ---- */
.home-hero { background-color: #3b3f8f; }
@media (min-width: 1201px) { .home-hero { background-size: auto 130% !important; } }
.home-hero .hero-copy { position: relative; }
.home-hero .big { margin-top: 40px; }
.home-hero .big-note .badge { width: 167px; flex: none; }
.home-hero .big-note .badge img { width: 167px; height: auto; }
.home-hero .big-note p { color: var(--white); }
.olympics { background-size: cover; background-position: center; }
.olympics .wp-block-buttons { margin-top: 0; }
.video-banner .wp-block-buttons { margin: 0; }

/* ---- Home ---- */
.home-about .row > .wp-block-group > .eyebrow { margin-bottom: 22px; }
.author .avatar { flex: none; width: 80px; height: 80px; overflow: hidden; border-radius: 50%; }
.author .avatar img { width: 80px; height: 80px; object-fit: cover; }
.author p { color: var(--text); font-size: 16px; line-height: 20px; }
.author p strong { display: inline-block; margin-bottom: 4px; color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.home-about .lead-text p + p { margin-top: 22px; }
.features .head .ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; margin-top: 10px; border-radius: 50%; background: var(--primary); }
.features .head .ico img { width: 22px; height: 22px; }
.feature .visual { overflow: hidden; width: 282px; max-width: 100%; height: 239px; margin: 22px auto 30px !important; border-radius: var(--radius-md); }
.feature .wp-block-buttons { justify-content: center; margin-top: 24px; }
.cta-split .panel .middle .wp-block-buttons { justify-content: center; margin-top: 40px; }
.cta-split .small-caps { color: var(--text); font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: 1.12px; text-transform: uppercase; }
.cta-split > .media { min-height: 850px; border-radius: var(--radius-lg); overflow: hidden; }
.list-row .wp-block-buttons { margin-top: 0; }
.list-row > .media { width: 297px; max-width: 100%; height: 222px; }
.list-rows .head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 50px; }
.list-rows .head .eyebrow { margin: 0; }

/* Tab (centri e volumi): i pulsanti sono generati dai titoli dei pannelli */
.tabs { display: grid; grid-template-columns: 318px 1fr; gap: 12px; margin-top: 58px; }
.tabs .tab-title { display: none; }
.tabs:not(.is-ready) .tab-panel + .tab-panel { margin-top: 20px; }
.tabs.is-ready .tab-panel { display: none; }
.tabs.is-ready .tab-panel.is-active { display: block; animation: fade .4s ease; }
.tab-panel { padding: 40px; border-radius: var(--radius-lg); background: #fff; }
.contact-line .ico { flex: none; display: grid !important; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--light); }
.contact-line .ico img { width: 22px; height: 22px; }
.contact-line .small { color: var(--text); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.contact-line .strong { margin-top: 6px !important; color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.tab-panel .map { overflow: hidden; height: 391px; margin-top: 40px !important; border-radius: var(--radius-sm); }
.seg-tabs { display: block; margin-top: 0; }
.seg-tabs .tab-list { display: inline-flex; gap: 0; margin: 40px auto 60px; padding: 3px; border-radius: var(--radius-sm); background: var(--light); }
.seg-tabs .tab-btn { height: auto; padding: 7px 22px; background: transparent; font-size: 14px; }
.seg-tabs .tab-btn.is-active { background: #fff; color: var(--dark); }
.seg-tabs .tab-panel { padding: 0; background: transparent; text-align: left; }

/* ---- Marquee ---- */
.marquee .marquee-words { display: none; }

/* ---- Chi sono ---- */
.about-intro .bio { margin-top: 0; padding-top: 59px; }
.about-intro .bio p { margin: 0; }
.edu-item .ico { margin-bottom: 40px !important; }
.edu-item .ico img { width: 70px; height: 70px; }
.role > div > p { margin-top: 14px; }
.role .num { color: var(--dark); font-family: var(--font-head); font-size: 35px; font-weight: 600; text-align: right; }
.wide-img { aspect-ratio: 1920 / 760; overflow: hidden; }
.society-wrap { padding-bottom: 150px; }
.slider .slide { display: none; flex-direction: column; height: 100%; }
.slider:not(.is-ready) .slide:first-child,
.slider .slide.is-active { display: flex; animation: fade .4s ease; }
.slide .quote { color: var(--dark); font-family: var(--font-head); font-size: 23px; font-weight: 600; line-height: 28px; letter-spacing: -.01em; }
.slide .who { margin-top: auto !important; font-size: 15px; }
.slide .who strong { color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.gallery figure img { aspect-ratio: 1; }

/* ---- Prestazioni ---- */
.services-intro p { grid-column: 2; }
.service-box .badge { position: absolute !important; top: 16px; right: 20px; overflow: hidden; width: 147px; height: 131px; border-radius: var(--radius-md); }
.service-box .wp-block-heading { display: flex; align-items: flex-end; max-width: 200px; min-height: 84px; font-size: 25px; line-height: 28px; }
.service-box ul { margin-top: 22px; padding-left: 24px; }
.book .copy .eyebrow { margin-bottom: 22px; }
.vol-card .figure { margin-top: 30px !important; color: var(--dark); font-family: var(--font-head); font-size: 47px; font-weight: 600; line-height: 1; }
.vol-card .desc { position: relative; margin-top: 30px !important; padding-left: 28px; font-size: 20px; line-height: 26px; }
.vol-card .desc::before { content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; background: url("../img/ico-check-circle.svg") center / contain no-repeat; }
.vol-card .wp-block-buttons { margin-top: auto; padding-top: 30px; }
.vol-card .wp-block-button, .vol-card .wp-block-button__link { width: 100%; }
.vol-card .wp-block-button__link { height: 51px; font-size: 15px; }
.faq-block .wp-block-buttons { margin-top: 50px; }

/* ---- Accordion (blocco Dettagli) ---- */
.accordion { display: grid; gap: 30px; }
.accordion .wp-block-details { padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.wp-block-details summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 24px; letter-spacing: -.01em;
  list-style: none; cursor: pointer;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; flex: none; width: 12px; height: 12px; background: url("../img/ico-faq-plus.svg") center / contain no-repeat; }
.wp-block-details[open] summary::after { background-image: url("../img/ico-faq-minus.svg"); }
.wp-block-details > p { padding-top: 16px; padding-right: 46px; font-size: 15px; line-height: 22px; }
.accordion.boxed { gap: 10px; max-width: 630px; margin: 0 auto; text-align: left; }
.accordion.boxed .wp-block-details { padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.accordion.boxed summary { padding: 18px 20px; }
.accordion.boxed .wp-block-details > p { padding: 0 60px 18px 20px; }

/* ---- Pills ---- */
ul.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 40px; max-width: 1100px; margin: 0 auto; padding: 0; list-style: none; }
ul.pills > li { display: flex; align-items: center; gap: 8px; color: var(--dark); font-family: var(--font-head); font-size: 16px; font-weight: 600; line-height: 32px; }
ul.pills > li::before { content: ""; flex: none; width: 23px; height: 23px; border-radius: 50%; background: var(--accent) url("../img/ico-check-small.svg") center / 9px no-repeat; }
.athletes .intro, .editorial .intro { max-width: 840px; margin: 26px auto 40px !important; }
.callback .intro { max-width: 664px; margin: 0 auto !important; }
.callback ul.pills { margin-top: 26px; }
.callback .callback-form { display: grid; grid-template-columns: 1fr auto; gap: 7px; max-width: 580px; margin: 40px auto 0; }
.callback .callback-form .form-note { grid-column: 1 / -1; }

/* ---- Info card, quote ---- */
.info-card .thumb { overflow: hidden; height: 245px; margin-top: 24px !important; border-radius: var(--radius-sm); }
.info-card > p { flex: 1; }
.h4.bold { font-size: 30px; font-weight: 700; line-height: 35px; }
.quote-box { margin-top: 150px; }
.quote-box .quote-logo img { width: 107px; height: auto; }
.quote-box .quote { margin: auto 0 !important; padding: 40px 0; color: var(--white); font-family: var(--font-head); font-size: 35px; font-weight: 600; line-height: 39px; }
.quote-box .who { color: var(--footer-text); font-size: 15px; line-height: 20px; }
.quote-box .who strong { color: var(--white); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.quote-box > .media { margin: 20px 20px 20px 15px !important; border-radius: 15px; }

/* ---- Side hero, loghi ---- */
.side-hero .copy .eyebrow { margin-bottom: 22px; }
.side-hero .copy .wp-block-buttons { justify-content: center; }
.logos .wp-block-image { margin: 0; }
.logos img { width: 190px; height: 80px; object-fit: contain; mix-blend-mode: luminosity; opacity: .9; }
.numbers h2 { margin-bottom: 50px; font-size: 35px; }

/* ---- Congressi: Query Loop + sidebar ---- */
.posts-query .posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 30px; margin: 0; padding: 0; list-style: none; }
.post .wp-block-post-featured-image { height: 230px; margin: 0; overflow: hidden; border-radius: var(--radius-lg); }
.post .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.post .wp-block-post-terms { margin-top: 30px; font-size: 14px; font-weight: 600; letter-spacing: .56px; text-transform: uppercase; }
.post .wp-block-post-terms a { color: var(--dark); }
.post .wp-block-post-title { margin-top: 12px; font-size: 28px; line-height: 34px; }
.post .wp-block-post-title a:hover { color: var(--primary); }
.post .wp-block-post-date { margin-top: 8px; color: var(--muted); font-size: 14px; }
.post .wp-block-post-excerpt { margin-top: 12px; }
.post .wp-block-post-excerpt__more-text { display: none; }
.pagination { margin-top: 50px; gap: 6px; }
.pagination .page-numbers { display: inline-grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--light); color: var(--dark); }
.pagination .page-numbers.current { background: var(--dark-bg); color: #fff; }
.sidebar .wp-block-heading { margin: 48px 0 20px; font-size: 19px; }
.sidebar .wp-block-heading:first-child { margin-top: 0; }
.sidebar .wp-block-search__input { height: 50px; padding: 0 14px 0 42px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--light) url("../img/ico-search.svg") 18px center / 16px no-repeat; font-family: var(--font-body); font-size: 15px; }
.sidebar .wp-block-categories { display: grid; gap: 15px; padding: 0; list-style: none; }
.sidebar .wp-block-categories a { color: var(--muted); }
.sidebar .wp-block-categories a:hover { color: var(--primary); }
.sidebar .wp-block-latest-posts { display: grid; gap: 26px; padding: 0; }
.sidebar .wp-block-latest-posts li { display: grid; grid-template-columns: 100px 1fr; column-gap: 22px; align-items: center; }
.sidebar .wp-block-latest-posts__featured-image { grid-row: span 2; margin: 0 !important; }
.sidebar .wp-block-latest-posts__featured-image img { width: 100px !important; height: 100px !important; border-radius: var(--radius-sm); object-fit: cover; }
.sidebar .wp-block-latest-posts__post-title { color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 24px; }
.sidebar .wp-block-latest-posts__post-date { color: var(--muted); font-size: 14px; }
.stage-grid .stage-item { position: relative; overflow: hidden; border-radius: var(--radius-md); }
.stage-grid .stage-item.tall { grid-row: span 2; }
.stage-grid .stage-item.wide { grid-column: span 2; }
.stage-grid .stage-item .media { position: absolute !important; inset: 0; border-radius: 0; }
.stage-grid .stage-item .media img { transition: transform .6s; }
.stage-grid .stage-item:hover .media img { transform: scale(1.05); }
.stage-grid .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; background: linear-gradient(transparent, rgba(8, 54, 59, .85)); color: var(--white); font-family: var(--font-head); font-size: 16px; font-weight: 600; }
.single-wrap { padding: 100px 0 150px; }
.container.narrow { max-width: 900px; }
.single-wrap .post-date { margin: 10px 0 30px; color: var(--muted); }
.single-wrap .single-thumb { margin: 0 0 40px; overflow: hidden; border-radius: var(--radius-lg); }
.entry-content > * + * { margin-top: 1em; }

/* ---- FAQ / contatti ---- */
.counter-card .foot { display: flex; align-items: center; justify-content: space-between; }
.counter-card .foot .wp-block-buttons { margin: 0; }
.contact-info .dl-row { margin-top: 30px; }
.contact-info .dl-row:first-of-type { margin-top: 40px; }
.contact-info .dt { color: var(--text); font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.contact-info .dd { margin-top: 8px !important; color: var(--dark); font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 24px; overflow-wrap: anywhere; }
.location .dir { color: var(--dark); font-family: var(--font-head); font-weight: 600; white-space: nowrap; }
.location .dir:hover { color: var(--primary); }
.location > p:last-child { text-align: right; }

@media (max-width: 1200px) {
  .tabs { grid-template-columns: 1fr; }
  .cta-split > .media { min-height: 520px; }
  .list-rows .head { grid-template-columns: 1fr; }
  .services-intro p { grid-column: 1; }
}
@media (max-width: 760px) {
  .posts-query .posts { grid-template-columns: 1fr; }
  .callback .callback-form { grid-template-columns: 1fr; }
  .cta-split > .media { min-height: 360px; }
  .quote-box { margin-top: 70px; }
  .quote-box .quote { font-size: 24px; line-height: 30px; }
  .location > p:last-child { text-align: left; }
  .tab-panel { padding: 24px; }
  .stage-grid .stage-item.tall { grid-row: span 1; }
  .stage-grid .stage-item.wide { grid-column: span 1; }
}
