@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/bodoni-moda-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/bodoni-moda-latin-wght-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --carta: #ffffff;
  --lastra: #f6f8f8;
  --ardesia: #22333a;
  --petrolio: #0a6e8c;
  --petrolio-scuro: #075570;
  --acqua: #01a4a6;
  --grafite: #5e6b70;
  --filo: #e3e9ea;
  --su-petrolio: #ffffff;

  color-scheme: light dark;

  --sans: "Inter", system-ui, sans-serif;
  --serif: "Bodoni Moda", Didot, Georgia, serif;

  --t-small: 0.95rem;
  --t-body: 1.0625rem;
  --t-h4: 1.2rem;
  --t-h3: 1.45rem;
  --t-h2: clamp(1.8rem, 1.45rem + 1.25vw, 2.25rem);
  --t-h1: clamp(2.25rem, 1.55rem + 2.9vw, 3.5rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --wide: 76rem;
  --measure: 40rem;
  --radius: 2px;
  --header-h: 4.6rem;

  --icona-telefono: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.37 2.3.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
  --icona-whatsapp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.9 19.4A8.5 8.5 0 1 0 4.6 16.1L3.5 20.5z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath transform='translate(6.96 6.96) scale(.42)' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.37 2.3.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
  --icona-web: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3z'/%3E%3C/svg%3E");
  --icona-ricovero: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3.5' width='14' height='17' rx='2'/%3E%3Cpath d='M12 7.5v5M9.5 10h5M9 16h6'/%3E%3C/svg%3E");
  --icona-passi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3.5c1.7 0 2.6 1.9 2.6 4.3S9.7 12 8 12 5.4 10.2 5.4 7.8 6.3 3.5 8 3.5z'/%3E%3Cpath d='M6 14.5h4V16a2 2 0 0 1-4 0z'/%3E%3Cpath d='M16 7.5c1.7 0 2.6 1.9 2.6 4.3S17.7 16 16 16s-2.6-1.8-2.6-4.2.9-4.3 2.6-4.3z'/%3E%3Cpath d='M14 18.5h4V20a2 2 0 0 1-4 0z'/%3E%3C/svg%3E");
  --icona-calendario: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M8 14h.01M12 14h.01M16 14h.01M8 17.5h.01M12 17.5h.01'/%3E%3C/svg%3E");
  --icona-riabilitazione: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='2.5'/%3E%3Cpath d='M7 15l3.2-3.5 3 2.5L17 9'/%3E%3C/svg%3E");
  --icona-tutore: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2 19 6v5.2c0 4.4-2.9 8-7 9.6-4.1-1.6-7-5.2-7-9.6V6z'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --carta: #13232b;
    --lastra: #1b2f38;
    --ardesia: #e2ebed;
    --petrolio: #6cc7d8;
    --petrolio-scuro: #9adbe6;
    --acqua: #3ccacc;
    --grafite: #a5b5ba;
    --filo: #2d4650;
    --su-petrolio: #0c1a20;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --carta: #13232b;
  --lastra: #1b2f38;
  --ardesia: #e2ebed;
  --petrolio: #6cc7d8;
  --petrolio-scuro: #9adbe6;
  --acqua: #3ccacc;
  --grafite: #a5b5ba;
  --filo: #2d4650;
  --su-petrolio: #0c1a20;
}

:root[data-theme="light"] {
  color-scheme: light;
}

@media (max-width: 559px) {
  :root {
    --header-h: 4.1rem;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--carta);
  color: var(--ardesia);
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 350;
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ardesia);
  text-wrap: balance;
}

p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3,
h4,
.intro-role,
.place h3,
.contact-list dt,
.toc-title,
.plate figcaption,
.footer-name {
  font-variant-numeric: lining-nums;
}

a {
  color: var(--petrolio);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--petrolio-scuro);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--acqua);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--ardesia);
  color: var(--carta);
}

.skip-link:focus {
  top: 1rem;
}

button {
  font: inherit;
  border: 0;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--petrolio);
  border-radius: var(--radius);
  background: var(--petrolio);
  color: var(--su-petrolio);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.25;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.button:hover {
  border-color: var(--petrolio-scuro);
  background: var(--petrolio-scuro);
  color: var(--su-petrolio);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--grafite);
}

.site-header {
  border-bottom: 1px solid var(--filo);
  background: var(--carta);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: color-mix(in srgb, var(--carta) 88%, transparent);
    backdrop-filter: blur(12px);
  }
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.75rem var(--gutter);
}

.brand {
  margin-right: auto;
}

.brand img {
  width: auto;
  height: 3rem;
}

.nav-desktop {
  display: none;
}

.nav-desktop > ul {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  padding: 0;
  list-style: none;
}

.nav-desktop a,
.nav-toggle,
.nav-mobile a {
  color: var(--ardesia);
  text-decoration: none;
}

.nav-desktop a,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.3rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.55em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current],
.nav-toggle:hover,
.nav-toggle[aria-current],
.nav-toggle[aria-expanded="true"] {
  color: var(--petrolio);
  text-decoration-color: currentColor;
}

.nav-group {
  position: relative;
}

.nav-toggle {
  gap: 0.45rem;
  background: none;
}

.nav-toggle::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-20%) rotate(45deg);
  transition: transform 0.2s;
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(20%) rotate(-135deg);
}

.nav-sub {
  position: absolute;
  top: 100%;
  left: -1.25rem;
  z-index: 10;
  display: none;
  min-width: 13rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  border: 1px solid var(--filo);
  border-radius: var(--radius);
  background: var(--carta);
  box-shadow: 0 0.75rem 2rem rgba(10, 30, 40, 0.08);
}

.nav-sub a {
  display: flex;
  padding: 0.55rem 1.25rem;
  text-decoration: none;
}

.nav-sub a:hover {
  background: var(--lastra);
}

.nav-desktop:not(.has-js) .nav-group:is(:hover, :focus-within) > .nav-sub,
.nav-toggle[aria-expanded="true"] + .nav-sub {
  display: block;
}

@media (hover: hover) {
  .nav-desktop.has-js .nav-group:hover > .nav-sub {
    display: block;
  }
}

.header-cta {
  min-height: 2.75rem;
  margin-left: 0.75rem;
  padding: 0.3rem 1.25rem;
}

.nav-mobile summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile-icon,
.nav-mobile-icon::before,
.nav-mobile-icon::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
}

.nav-mobile-icon {
  position: relative;
}

.nav-mobile-icon::before,
.nav-mobile-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-mobile-icon::before {
  top: -6px;
}

.nav-mobile-icon::after {
  top: 6px;
}

.nav-mobile[open] .nav-mobile-icon {
  background: transparent;
}

.nav-mobile[open] .nav-mobile-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-mobile[open] .nav-mobile-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-mobile nav {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  max-height: calc(100svh - var(--header-h));
  overflow-y: auto;
  border-bottom: 1px solid var(--filo);
  background: var(--carta);
}

.nav-mobile ul {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.5rem var(--gutter) 1.25rem;
  list-style: none;
}

.nav-mobile li a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--filo);
  font-size: 1.15rem;
}

.nav-mobile a[aria-current] {
  color: var(--petrolio);
  font-weight: 600;
}

.nav-mobile .nav-mobile-cta {
  padding-top: 1.25rem;
}

.nav-mobile .nav-mobile-cta a {
  display: inline-flex;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--petrolio);
  font-size: 0.9rem;
  color: var(--su-petrolio);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  view-transition-name: site-header;
}

.brand img {
  transform-origin: left center;
}

.logo-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light {
    display: none;
  }
  :root:not([data-theme="light"]) .logo-dark {
    display: block;
  }
}

:root[data-theme="dark"] .logo-light {
  display: none;
}

:root[data-theme="dark"] .logo-dark {
  display: block;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ardesia);
}

.theme-toggle:hover {
  background: var(--lastra);
  color: var(--petrolio);
}

.theme-toggle svg {
  width: 1.4rem;
  height: 1.4rem;
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .brand img {
      animation: logo-compact linear both;
      animation-timeline: scroll();
      animation-range: 0 8rem;
    }
  }
}

@keyframes logo-compact {
  to {
    transform: scale(0.85);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.22s;
  }
}

@media (max-width: 559px) {
  .brand img {
    height: 2.5rem;
  }
}

@media (max-width: 679px) {
  .header-cta {
    display: none;
  }
}

@media (min-width: 1200px) {
  .nav-desktop {
    display: block;
  }
  .nav-mobile {
    display: none;
  }
  .brand {
    margin-right: 0;
  }
  .nav-desktop {
    margin-left: auto;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--petrolio);
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.eyebrow--grande {
  gap: 1rem;
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.12em;
}

.eyebrow--grande::before {
  flex: none;
  width: 3.5rem;
}

.section-head:has(> .eyebrow--grande) {
  max-width: none;
}

.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}

@media (max-width: 859px) {
  .section-head .eyebrow::before,
  .intro .eyebrow::before {
    display: none;
  }
  .intro-head {
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }
}

.section-head h2:not(.eyebrow),
.intro h2 {
  font-size: clamp(2rem, 1.55rem + 1.6vw, 2.8rem);
  letter-spacing: -0.01em;
}

.section-head p:not(.eyebrow) {
  margin-top: 1rem;
  text-wrap: balance;
  color: var(--grafite);
}

.section-head .eyebrow + p {
  margin-top: 0;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-photo {
  display: block;
  position: relative;
  height: max(20rem, 58vh);
  height: max(20rem, 58svh);
}

@media (min-width: 600px) and (max-width: 1023px) and (max-height: 780px) {
  .hero-photo {
    height: max(17rem, 52vh);
    height: max(17rem, 52svh);
  }
}

@media (max-width: 599px) {
  .hero-photo {
    height: auto;
    aspect-ratio: 1;
  }
  .hero-photo::after {
    display: none;
  }
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 0%;
  opacity: 0.7;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--carta) 0%,
    color-mix(in srgb, var(--carta) 60%, transparent) 17.5%,
    transparent 35.5%
  );
}

.hero-inner {
  position: relative;
  max-width: var(--wide);
  margin: -5.5rem auto 0;
  padding: 0 var(--gutter) clamp(1rem, 3vw, 2rem);
}

@media (max-width: 599px) {
  .hero-inner {
    margin-top: 1.75rem;
  }
}

.hero-text {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.hero-spec {
  display: block;
}

.hero-spec + .hero-spec {
  margin-top: 1.75rem;
}

.hero-spec > a,
.hero-spec > a:hover {
  display: inline-block;
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--petrolio);
  text-decoration: none;
}

.hero-joints {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--ardesia);
}

@media (min-width: 1024px) {
  .hero-photo {
    position: absolute;
    inset: 0;
    height: auto;
  }
  .hero-photo img {
    object-position: 15% 15%;
    opacity: 0.45;
  }
  .hero-photo::after {
    background: radial-gradient(
      ellipse 42% 65% at 50% 50%,
      var(--carta) 0%,
      color-mix(in srgb, var(--carta) 85%, transparent) 55%,
      transparent 100%
    );
  }
  .hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(34rem, 40vw, 48rem);
    margin-top: 0;
    padding-block: 4rem;
  }
}

@media (min-width: 1280px) {
  .hero-photo img {
    object-position: 0% 15%;
    transform: scale(1.12);
    transform-origin: 0% 15%;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-photo img {
    opacity: 0.55;
  }
}

:root[data-theme="dark"] .hero-photo img {
  opacity: 0.55;
}

@media (min-width: 1024px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-photo img {
    opacity: 0.3;
  }
}

@media (min-width: 1024px) {
  :root[data-theme="dark"] .hero-photo img {
    opacity: 0.3;
  }
}

.intro {
  display: grid;
  gap: 1.5rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter);
}

.intro-photo {
  margin: 0;
}

.intro-photo img {
  width: 100%;
  max-width: 15rem;
  margin-inline: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.intro-head,
.intro-body {
  max-width: var(--measure);
}

.intro-role {
  margin-top: 0.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 400;
  color: var(--grafite);
}

.intro-body,
.prose {
  line-height: 1.75;
}

.intro-body p + p {
  margin-top: 1rem;
}

@media (min-width: 860px) {
  .intro {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas:
      "photo head"
      "photo body";
    column-gap: clamp(2.5rem, 6vw, 5rem);
  }
  .intro-photo {
    grid-area: photo;
    align-self: center;
  }
  .intro-photo img {
    max-width: 30rem;
  }
  .intro-head {
    grid-area: head;
    align-self: end;
  }
  .intro-body {
    grid-area: body;
    align-self: start;
  }
}

.surgery-inner,
.ultrasound-inner,
.places-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter);
}

.surgery-inner,
.ultrasound-inner,
.places-inner,
.cta-band-inner {
  border-top: 1px solid var(--filo);
}

.page-hero {
  display: grid;
  gap: 2rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--gutter);
  align-items: center;
}

.page-hero h1 {
  font-size: var(--t-h1);
  letter-spacing: -0.01em;
}

.page-hero .lead {
  max-width: 32rem;
  margin-top: 1.25rem;
}

@media (max-width: 719px) {
  .page-hero--raccordo .lead {
    font-size: var(--t-body);
  }
}

.page-hero-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (min-width: 860px) {
  .page-hero {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}

.page-hero--plain {
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 860px) {
  .page-hero--plain {
    grid-template-columns: none;
  }
}

.page-hero-photo--crop {
  object-position: 80% 30%;
}

.page-hero-text > p:not(.lead) {
  max-width: 32rem;
  margin-top: 1rem;
}

.contact-list {
  margin: 1.5rem 0 0;
}

.contact-list dt {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--grafite);
}

.contact-list dd {
  margin: 0;
  font-size: 1.2rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0;
  list-style: none;
  font-size: var(--t-small);
  color: var(--grafite);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--filo);
}

.atlas-layout {
  display: grid;
  gap: 2rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem);
}

.toc {
  font-size: var(--t-small);
}

.toc-title {
  display: block;
  margin-bottom: 0.75rem;
  list-style: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--grafite);
}

.toc ul {
  padding: 0;
  list-style: none;
}

.toc ul ul {
  margin: 0.25rem 0 0.75rem;
  padding-left: 0.9rem;
  border-left: 1px solid var(--filo);
}

.toc li {
  padding: 0.2rem 0;
}

.toc a {
  color: var(--ardesia);
  text-decoration: none;
}

.toc a:hover {
  color: var(--petrolio);
  text-decoration: underline;
}

.toc-title::-webkit-details-marker {
  display: none;
}

.toc > details > ul > li > a {
  font-weight: 500;
}

.toc ul ul a {
  display: block;
  margin-left: calc(-0.9rem - 1px);
  padding-left: calc(0.9rem - 1px);
  border-left: 2px solid transparent;
}

.toc a[aria-current="location"] {
  color: var(--petrolio);
  font-weight: 500;
}

.toc ul ul a[aria-current="location"] {
  border-left-color: var(--petrolio);
}

@media (max-width: 1023px) {
  .toc {
    padding: 1rem 1.5rem;
    border: 1px solid var(--filo);
    border-radius: var(--radius);
  }
  .toc-title {
    position: relative;
    margin: 0;
    cursor: pointer;
  }
  .toc-title::after {
    content: "";
    position: absolute;
    right: 0.3rem;
    top: 0.45rem;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--petrolio);
    border-bottom: 2px solid var(--petrolio);
    transform: rotate(45deg);
  }
  .toc details[open] > .toc-title {
    margin-bottom: 0.75rem;
  }
  .toc details[open] > .toc-title::after {
    top: 0.7rem;
    transform: rotate(-135deg);
  }
}

@media (min-width: 1024px) {
  .atlas-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 6rem);
  }
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
    max-height: calc(100vh - var(--header-h) - 4rem);
    overflow-y: auto;
  }
  .toc-title {
    pointer-events: none;
  }
}

.prose {
  max-width: 44rem;
}

.prose section + section {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--filo);
}

.prose h2 {
  margin-bottom: 1.25rem;
  font-size: var(--t-h2);
}

.prose h3 {
  margin: 2.75rem 0 1rem;
  font-size: var(--t-h3);
}

.prose h2 + h3 {
  margin-top: 1.5rem;
}

.prose h4 {
  margin: 2rem 0 0.75rem;
  font-size: var(--t-h4);
  font-weight: 500;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose li::marker {
  color: var(--petrolio);
}

.prose strong {
  font-weight: 550;
}

.prose .see-also {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--filo);
}

.see-also span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grafite);
}

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

.plate {
  margin: 0;
  padding: 1rem 1rem 0.75rem;
  border-radius: var(--radius);
  background: var(--lastra);
}

.plate img {
  width: 100%;
  border-radius: 2px;
  mix-blend-mode: multiply;
}

.plate figcaption {
  margin-top: 0.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--grafite);
}

.plate-xray {
  max-width: 22rem;
  margin: 1.25rem 0 0;
}

.plate-xray img {
  mix-blend-mode: normal;
}

.plate-single {
  max-width: 28rem;
  margin: 1.5rem 0 2rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .plate {
    background: #e6eef0;
  }
  :root:not([data-theme="light"]) .plate figcaption {
    color: #4d5a5f;
  }
}

:root[data-theme="dark"] .plate {
  background: #e6eef0;
}

:root[data-theme="dark"] .plate figcaption {
  color: #4d5a5f;
}

.faq {
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--filo);
}

.faq details {
  border-bottom: 1px solid var(--filo);
}

.faq summary {
  position: relative;
  padding: 1rem 2.5rem 1rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 450;
  line-height: 1.4;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 1.35rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--petrolio);
  border-bottom: 2px solid var(--petrolio);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq details[open] > summary::after {
  top: 1.6rem;
  transform: rotate(-135deg);
}

.faq summary:hover {
  color: var(--petrolio);
}

.faq details > :not(summary) {
  margin: 0 0 1rem;
}

.faq details > :last-child {
  margin-bottom: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .faq summary::after {
    transition: none;
  }
}

.page-body {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem);
}

.prose-article h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: var(--t-h3);
}

.prose-article h2:first-child {
  margin-top: 0;
}

.topic-group + .topic-group {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.topic-group h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  letter-spacing: -0.01em;
}

.topic-list {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .topic-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 720px) {
  .topic-list--tre {
    grid-template-columns: repeat(3, 1fr);
  }
}

.topic-card {
  position: relative;
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--filo);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.topic-card:hover {
  border-color: var(--petrolio);
}

.surgery .topic-card,
.ultrasound .topic-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.topic-card h3 {
  font-size: var(--t-h4);
}

.topic-card h3 a {
  color: var(--ardesia);
  text-decoration: underline;
  text-decoration-color: var(--filo);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.topic-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.topic-card:hover h3 a,
.topic-card h3 a:focus-visible {
  color: var(--petrolio);
  text-decoration-color: currentColor;
}

@media (max-width: 719px) {
  .topic-group .topic-list {
    gap: 0;
  }
  .topic-group .topic-card {
    padding: 0.55rem 0;
    border: 0;
  }
  .topic-group .topic-card h3 {
    font-size: 1.1rem;
  }
}

.facts {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--filo);
  border-radius: var(--radius);
  background: var(--lastra);
}

.facts h2 {
  margin: 0 0 1.25rem;
  font-size: var(--t-h4);
}

.facts h2 span {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 350;
  color: var(--grafite);
}

.facts-list {
  display: grid;
  gap: 1.25rem 2rem;
  margin: 0;
}

@media (min-width: 560px) {
  .facts-list {
    grid-template-columns: 1fr 1fr;
  }
}

.fact dt {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: var(--t-small);
  color: var(--grafite);
}

.fact dt::before {
  content: "";
  width: 1.35rem;
  height: 1.35rem;
  background: var(--petrolio);
  -webkit-mask: var(--icona) center / contain no-repeat;
  mask: var(--icona) center / contain no-repeat;
}

.fact dd {
  margin: 0.1rem 0 0;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.4;
}

.fact--ricovero {
  --icona: var(--icona-ricovero);
}

.fact--passi {
  --icona: var(--icona-passi);
}

.fact--calendario {
  --icona: var(--icona-calendario);
}

.fact--riabilitazione {
  --icona: var(--icona-riabilitazione);
}

.fact--tutore {
  --icona: var(--icona-tutore);
}

.practical {
  margin: 0 0 1.5rem;
  border-top: 1px solid var(--filo);
}

.practical > div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--filo);
}

.practical dt {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrolio);
}

.practical dd {
  margin: 0.35rem 0 0;
}

@media (min-width: 640px) {
  .practical > div {
    display: grid;
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 1.5rem;
  }
  .practical dt {
    padding-top: 0.3rem;
  }
  .practical dd {
    margin: 0;
  }
}

.prose .note {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--petrolio);
  background: var(--lastra);
}

.note strong {
  font-weight: 500;
}

.prep-page > h3:first-child {
  margin-top: 0;
}

.place-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: 3.5rem clamp(2rem, 4vw, 3.5rem);
  padding: 0;
  list-style: none;
}

.place {
  display: flex;
  flex-direction: column;
}

.place img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.place-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 1.5rem;
}

.place h3 {
  font-size: 1.5rem;
}

.place h3 span {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 350;
  color: var(--grafite);
}

@media (max-width: 719px) {
  .place-list {
    gap: 1.5rem;
  }
  .place {
    overflow: hidden;
    border: 1px solid var(--filo);
    border-radius: var(--radius);
    background: var(--lastra);
  }
  .place img {
    border-radius: 0;
  }
  .place-body {
    padding: 1.25rem 1.25rem 0.75rem;
  }
}

.place-name {
  margin-top: 0.3rem;
  line-height: 1.4;
}

.place-name + p {
  color: var(--grafite);
}

.place-label {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--filo);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grafite);
}

.place-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
  margin-top: 0.25rem;
  padding: 0;
  list-style: none;
}

:not(.place-label) + .place-phones {
  margin-top: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--filo);
}

.phone,
.web {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.phone:hover,
.web:hover {
  text-decoration: underline;
}

.phone::before,
.web::before {
  content: "";
  flex: none;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--icona) center / contain no-repeat;
  mask: var(--icona) center / contain no-repeat;
}

.phone {
  --icona: var(--icona-telefono);
}

.phone[href^="https://wa.me/"] {
  --icona: var(--icona-whatsapp);
}

.web {
  --icona: var(--icona-web);
}

.post-list {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--filo);
}

.post {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--filo);
}

.post img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.post h2 {
  font-size: var(--t-h3);
}

.post h2 a {
  text-decoration: none;
}

.post h2 a:hover {
  text-decoration: underline;
}

.post p {
  max-width: var(--measure);
  margin-top: 0.75rem;
  color: var(--grafite);
}

@media (min-width: 760px) {
  .post {
    grid-template-columns: 17rem minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.place-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
}

.cta-band-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  text-align: center;
}

.cta-band h2 {
  font-size: var(--t-h2);
}

.cta-band p {
  max-width: var(--measure);
  margin: 1rem auto 2rem;
  text-wrap: balance;
  color: var(--grafite);
}

main {
  flex: 1;
}

.site-footer {
  color: var(--grafite);
  font-size: var(--t-small);
}

.site-footer a {
  color: var(--ardesia);
}

.site-footer a:hover {
  color: var(--petrolio);
}

.site-footer-inner {
  display: grid;
  gap: 2rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--filo);
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ardesia);
}

.footer-id p + p {
  margin-top: 0.35rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: var(--grafite);
}

@media (min-width: 860px) {
  .site-footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-copy {
    grid-column: 1 / -1;
    padding-top: 1.5rem;
    border-top: 1px solid var(--filo);
  }
}
