/* ph-mdv3: new main navigation (10 entries, client's mail 28/10/2026) and the new landing pages. */

/* ---------- header: logo + actions on the first row, the full main bar on the second (wide screens) ---------- */
@media (min-width: 1361px) {
  .head-v3 .head-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo . cta" "nav nav nav"; align-items: center; column-gap: 20px; min-height: 0; padding-top: 12px; }
  .head-v3 .logo { grid-area: logo; }
  .head-v3 .head-cta { grid-area: cta; }
  .head-v3 .head-cta .btn-ghost { display: inline-flex; }
  .head-v3 .menu { grid-area: nav; margin: 10px 0 0; border-top: 1px solid var(--line); }
  .head-v3 .nav { justify-content: space-between; padding: 4px 0; }
  .head-v3 .nav a, .head-v3 .nav summary { padding: 9px 5px; font-size: .8rem; font-weight: 600; letter-spacing: -.01em; }
  .head-v3 .nav { width: 100%; min-width: 0; }
  .head-v3 .nav summary::after { width: 5px; height: 5px; margin-left: 5px; }
  .head-v3 .nav > li:first-child > details > summary, .head-v3 .nav > li:first-child > a { padding-left: 0; }
  .head-v3 .nav > li > a[aria-current="page"]::after, .head-v3 .nav summary.is-on::before { bottom: -5px; left: 5px; right: 5px; }
  .head-v3 .has-sub ul { top: calc(100% + 6px); min-width: 280px; }
  .head-v3 .has-sub.is-wide ul { columns: 2; column-gap: 8px; min-width: 560px; }
  .head-v3 .has-sub li { break-inside: avoid; }
  .head-v3 .nav > li:nth-last-child(-n+4) ul { left: auto; right: -6px; }
  .head-v3 .has-sub ul a { padding: 9px 12px; font-size: .92rem; font-weight: 500; white-space: normal; }
  .head-v3 .sub-all { column-span: all; margin-bottom: 4px !important; border-bottom: 1px solid var(--line); }
  .head-v3 .sub-all a { font-weight: 700 !important; color: var(--blue) !important; }
  .head-v3 .sub-all a::before { content: none !important; }
}

/* ---------- 1041–1360 px: ten entries do not fit, the menu becomes the mobile panel ---------- */
@media (min-width: 1041px) and (max-width: 1360px) {
  .head-v3 .menu { order: 3; margin-left: 0; }
  .head-v3 .head-cta { margin-left: auto; }
  .head-v3 .menu > summary { display: grid; gap: 5px; width: 48px; height: 48px; place-content: center; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; list-style: none; }
  .head-v3 .menu > summary::-webkit-details-marker { display: none; }
  .head-v3 .menu > summary span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .head-v3 .menu[open] > summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .head-v3 .menu[open] > summary span:nth-child(2) { opacity: 0; }
  .head-v3 .menu[open] > summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .head-v3 .menu > nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); max-height: calc(100vh - 80px); overflow: auto; padding: 8px max(var(--gutter), calc((100% - 1240px) / 2)) 24px; }
  .head-v3 .menu:not([open]) > nav { display: none; }
  .head-v3 .nav { flex-direction: column; align-items: stretch; }
  .head-v3 .nav a, .head-v3 .nav summary { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .head-v3 .nav > li > a[aria-current="page"]::after, .head-v3 .nav summary.is-on::before { display: none; }
  .head-v3 .has-sub ul { position: static; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; columns: 2; }
  .head-v3 .nav-mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
}
/* phones and tablets: dropdown lists stay one column, the overview link is highlighted */
.head-v3 .sub-all a { font-weight: 700; color: var(--blue); }
@media (max-width: 1360px) { .head-v3 .has-sub ul a { white-space: normal; } }

/* ---------- landing pages ---------- */
.v3-brand { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.v3-brand img { width: 40px; height: 40px; flex: 0 0 auto; }
.v3-brand-mark { width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(from 200deg, #16335c, #2f7fd6, #6aaef0, #2a9d8f, #16335c); -webkit-mask: radial-gradient(circle, transparent 42%, #000 44%); mask: radial-gradient(circle, transparent 42%, #000 44%); }
.v3-brand b { display: block; font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; font-size: 1.9rem; line-height: 1; color: var(--navy); }
.v3-brand b span { color: var(--blue); }
.v3-brand small { display: block; margin-top: 4px; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.v3-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; max-width: 560px; }
.v3-points li, .v3-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 600; color: var(--navy); }
.v3-check { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--sky-50); fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.v3-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.v3-item { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: calc(var(--head-h) + 70px); transition: border-color .18s, box-shadow .18s; }
.v3-item:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.v3-item:target { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47, 127, 214, .18); }
.v3-n { font: 500 .74rem/1 var(--mono); letter-spacing: .12em; color: var(--blue); }
.v3-item h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; color: var(--navy); }
.v3-item p { margin: 0; color: var(--muted); font-size: .98rem; }
.v3-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto !important; padding-top: 8px; }
.v3-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--blue); text-decoration: none; }
.v3-links a:hover { text-decoration: underline; }
.v3-arr { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.v3-group { scroll-margin-top: calc(var(--head-h) + 50px); }
.v3-group-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.v3-group h2 { margin-top: 0; }
.v3-list-h { margin: 0 0 12px; font: 500 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.v3-list { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.v3-list li { font-weight: 500; }
.v3-list li::first-letter { text-transform: uppercase; }
.v3-more { margin: 26px 0 0; }
.v3-pending { margin: 0; padding: 22px 24px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
#approfondimenti-sulla-prevenzione { scroll-margin-top: calc(var(--head-h) + 50px); }

@media (max-width: 1040px) {
  .v3-group-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .v3-points, .v3-list { grid-template-columns: 1fr; }
  .head-v3 .has-sub ul { columns: 1; }
}

/* area pages, Precision Doc network, Per aziende feature card */
.v3-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; margin-top: 22px; max-width: 900px; }
.v3-links-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.v3-links-list li { margin: 0; }
.v3-links-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.v3-links-list a:hover { border-color: var(--blue-500); color: var(--blue); }
.v3-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.v3-chips .chip { text-decoration: none; background: #fff; border-color: var(--line); color: var(--navy); padding: 9px 14px; }
.v3-chips .chip:hover { border-color: var(--blue-500); color: var(--blue); }
.v3-chips .chip small { color: var(--muted); margin-left: 4px; }
.v3-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
a.v3-item { text-decoration: none; }
a.v3-item .v3-links span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--blue); }
.v3-item.is-feature { grid-column: span 2; grid-row: span 2; padding: 0; overflow: hidden; }
.v3-item.is-feature .v3-feature-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.v3-item.is-feature > :not(img) { margin-inline: 24px; }
.v3-item.is-feature h3 { font-size: 1.5rem; }
.v3-item.is-feature > :last-child { margin-bottom: 24px; }
@media (max-width: 1040px) { .v3-how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .v3-cols, .v3-how { grid-template-columns: 1fr; }
  .v3-item.is-feature { grid-column: auto; grid-row: auto; }
}

/* mobile menu opened after scrolling: page scroll is locked, so pin the header to the top */
html.menu-open .site-head { position: fixed; inset: 0 0 auto; }

/* ---------- home hero, first design (ph-md) with the new copy ---------- */
.hero-v3 .hero-lead-2 { margin-top: 12px; font-size: 1.02rem; }
.hero-v3 .hero-photo img, .hero-v3 .hero-photo .hv3-helix { width: 100%; height: 100%; object-fit: cover; object-position: 80% 30%; }
.hero-v3 .hero-photo .hv3-helix { position: absolute; inset: 0; z-index: 0; display: block; }
.hero-v3 .hero-photo::after { z-index: 1; background: linear-gradient(180deg, transparent 62%, rgba(0, 33, 74, .28)); }
.finder-title-2 { margin-top: 22px !important; }
.finder-areas .tile { padding: 12px 14px; }
.finder-areas .tile-ico { width: 40px; height: 40px; border-radius: 12px; }
.finder-areas .tile strong { font-size: .98rem; }
.tile-ico .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Aree mediche: the client's four strategic areas first, highlighted (mail 01/11/2026) ---------- */
.head-v3 .has-sub ul.has-top { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.head-v3 .has-sub ul.has-top > .sub-all, .head-v3 .sub-sep, .head-v3 .sub-note { grid-column: 1 / -1; }
.head-v3 .has-sub .is-top a { font-weight: 700 !important; color: var(--navy) !important; background: var(--sky-50); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 10px; }
.head-v3 .has-sub .is-top a:hover { border-color: var(--blue-500); border-left-color: var(--blue); color: var(--blue) !important; }
.head-v3 .sub-sep { margin-top: 6px !important; padding: 8px 12px 2px; font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.head-v3 .sub-note { padding: 6px 12px 4px; font-size: .84rem; font-style: italic; color: var(--muted); }
@media (max-width: 640px) { .head-v3 .has-sub ul.has-top { grid-template-columns: 1fr; } }
.v3-item.is-top { border-color: var(--blue-500); border-top: 4px solid var(--blue); background: linear-gradient(180deg, var(--sky-50), #fff 70%); }
.v3-item.is-top h3 { font-size: 1.3rem; }
.v3-grid.has-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v3-grid.has-top .v3-item:not(.is-top) { grid-column: span 1; }
.v3-sep { margin: 34px 0 14px; font: 500 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.v3-after { margin: 18px 0 0; color: var(--muted); font-style: italic; }
@media (max-width: 1040px) { .v3-grid.has-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .v3-grid.has-top { grid-template-columns: 1fr; } }
/* longer labels from the mail of 01/11/2026: long entries go on two lines (split in the markup) so the bar stays on one row with even gaps */
@media (min-width: 1361px) {
  .head-v3 .nav { align-items: center; }
  .head-v3 .nav > li > details > summary, .head-v3 .nav > li > a { line-height: 1.2; }
  .head-v3 .nav-lbl > span { display: block; white-space: nowrap; }
}

/* official logos (03/11/2026): Precision Doct wordmark on its pages */
.v3-brand:has(.v3-doct-logo) { flex-direction: column; align-items: flex-start; gap: 8px; }
.v3-brand .v3-doct-logo { width: min(320px, 85%); height: auto; }

/* Doctor photos: all round, same size and framing (client request 04/11) */
.doc-photo { aspect-ratio: auto; display: grid; place-items: center; padding: 26px 20px 4px; background: linear-gradient(180deg, var(--sky-100), #fff 70%); overflow: visible; }
.doc-photo img { width: min(190px, 72%); height: auto; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; object-position: center 22%; background: #fff; box-shadow: 0 0 0 4px #fff, 0 6px 18px rgba(14, 42, 84, .12); }
.doc:hover .doc-photo img { transform: scale(1.03); }
.profile img:not(.icon):not(.is-logo) { width: min(240px, 80%); align-self: center; border-radius: 50%; object-position: center 22%; background: #fff; box-shadow: 0 0 0 4px #fff, 0 6px 18px rgba(14, 42, 84, .12); }
.doct-svg { display: block; height: auto; max-width: 100%; margin-bottom: 22px; }
.logo-row-inline .doct-svg { display: inline-block; margin-bottom: 0; }
.logo-row-inline .doct-svg { height: 30px; width: auto; }
.logo-row-inline .doct-svg[src*="PH_logo"] { height: 40px; }
/* Scientific board: same round portraits as /medici */
.card.card-person > img:first-child:not(.icon) { display: block; width: min(170px, 70%); height: auto; aspect-ratio: 1 / 1 !important; margin: 4px auto 16px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: #fff; box-shadow: 0 0 0 4px #fff, 0 6px 18px rgba(14, 42, 84, .12); }
.card.card-person { background: linear-gradient(180deg, var(--sky-100), #fff 45%); text-align: center; }
@media (max-width: 760px) { .card.card-person > img:first-child:not(.icon) { margin: 0 auto 10px; width: min(130px, 80%); } }

/* Dove ci troviamo (mail 09/11): text cards, video consulto on its own row */
.hub-v3 .hub-photo { aspect-ratio: auto; height: 96px; display: grid; place-items: center; background: linear-gradient(180deg, var(--sky-100), #fff); }
.hub-v3 .hub-ico svg { width: 30px; height: 30px; color: var(--blue); }
.hub-v3 h3 { margin: 4px 0 6px; font-size: 1.12rem; color: var(--navy); }
.hub-v3.is-remote { border-color: var(--line-2); }
.hub-v3.is-remote .btn { margin-top: 10px; align-self: start; }

/* Footer social icons */
.foot-social { display: flex; gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; }
.foot-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); color: #fff; transition: background .2s, border-color .2s; }
.foot-social a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }

/* menu 23/11: invisible bridge over the gap between a label and its dropdown, so the pointer never "leaves" the item */
@media (min-width: 1361px) {
  .head-v3 .has-sub > details > ul::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
}
/* footer social icons: centred glyphs of the same optical size */
.foot-social { align-items: center; }
.foot-social li { display: flex; }
.foot-social a { box-sizing: border-box; line-height: 0; }
.foot-social svg { display: block; width: 18px; height: 18px; }
.site-foot .foot-social a { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; margin: 0; }

/* ===== Launch home, 01/12/2026: seven areas, risks, philosophy ===== */
.la-panel { padding: clamp(20px, 3vw, 40px); }
.la-head { max-width: 760px; margin-bottom: clamp(20px, 3vw, 32px); }
.la-head h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; }
.la-head p { margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.6; }
.la-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: center; }
.la-wheel { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; margin: 0 auto; }
.la-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.la-ring { fill: none; stroke: #cfe0f1; stroke-width: .5; stroke-dasharray: 1.4 1.6; transform-origin: 50px 50px; animation: la-spin 60s linear infinite; }
@keyframes la-spin { to { transform: rotate(360deg); } }
.la-lines line { stroke: #dbe7f3; stroke-width: .4; transition: stroke .3s, stroke-width .3s; }
.la-lines line.is-on { stroke: var(--blue); stroke-width: .9; }
.la-core { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 12px; }
.la-core-n { font: 500 .8rem/1 var(--mono); letter-spacing: .12em; color: #8cc8f5; }
.la-core strong { font-size: 1.06rem; line-height: 1.25; text-wrap: balance; }
.la-node { position: absolute; width: 62px; height: 62px; margin: -31px 0 0 -31px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -16px rgba(0, 33, 74, .5); transition: background .25s, color .25s, transform .25s; }
.la-node .ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.la-node.is-on { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.1); }
.la-node:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.la-cards { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.la-card:last-child { grid-column: 1 / -1; }
.la-card > * { height: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--navy); text-decoration: none; transition: background .25s, border-color .25s; }
.la-card.is-on > * { background: var(--sky-50); border-color: var(--blue-500); }
.la-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100, #e9f3fc); color: var(--blue); font: 600 .9rem/1 var(--sans); transition: background .25s, color .25s; }
.la-card.is-on .la-n { background: var(--blue); color: #fff; }
.la-card strong { display: block; font-size: 1.04rem; line-height: 1.3; }
.la-card small { display: block; margin-top: 4px; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.la-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-top: clamp(20px, 3vw, 32px); padding: clamp(22px, 3vw, 34px); border-radius: 18px; background: var(--navy); color: #fff; }
.la-cta > div { flex: 1 1 320px; min-width: 0; }
.la-cta p { margin: 0; color: #cfe0f1; line-height: 1.5; max-width: none; }
.la-cta .la-cta-t { margin-bottom: 6px; color: #fff; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.25; }
.hs-caps { padding-top: clamp(48px, 6vw, 84px) !important; }
.hs-caps .hs-title { max-width: 20ch; margin-bottom: 32px; }
.hs-caps .hs-caps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hs-caps .hs-cap, .hs-caps .hs-cap:first-child { align-items: start; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.hs-caps .hs-cap strong { font-size: 1.04rem; }
.hs-caps .hs-cap small { font-size: .94rem; line-height: 1.5; margin-top: 6px; }
.la-risks { background: var(--sky-50); }
.la-risk-row { list-style: none; margin: 32px 0 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.la-risk-row li { display: flex; align-items: center; gap: 16px; padding: 20px 0; margin: 0; border-top: 1px solid #cfdeed; color: var(--navy); }
.la-risk-ico { flex: none; color: var(--blue); display: grid; }
.la-risk-ico .ico { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.la-risk-row strong { font-size: 1.1rem; line-height: 1.3; font-weight: 600; }
.la-phil { background: var(--navy); color: #fff; padding: clamp(64px, 9vw, 128px) 0; }
.la-phil p { max-width: none; }
.la-phil-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.la-phil-eyebrow { margin: 0 0 20px; color: #8cc8f5; font-weight: 600; }
.la-phil h2 { margin: 0 0 20px; color: #fff; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.la-phil h2::before { display: none !important; }
.la-phil-sub { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.35; color: #fff; }
.la-phil-intro p { margin: 0 0 16px; font-size: 1.06rem; line-height: 1.65; color: #d5e3f2; }
.la-phil-intro p:last-child { margin: 0; }
.la-phil-quote { margin: clamp(40px, 6vw, 80px) 0; padding: clamp(28px, 4vw, 52px); border-radius: 24px; background: #fff; color: var(--navy); }
.la-phil-quote p { margin: 0; font-size: 1.1rem; line-height: 1.6; color: var(--muted); }
.la-phil-quote .la-q { margin-bottom: 14px; font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; color: var(--navy); }
.la-q span { color: var(--blue); }
.la-phil-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.la-phil-cols p { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .28); line-height: 1.65; color: #d5e3f2; }
.la-phil-cols strong { color: #fff; }
.la-boxes { padding-bottom: 0 !important; }
@media (max-width: 1100px) {
  .la-grid { grid-template-columns: 1fr; }
  .hs-caps .hs-caps-row, .la-risk-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .la-cards, .hs-caps .hs-caps-row, .la-risk-row, .la-phil-top, .la-phil-cols { grid-template-columns: 1fr; }
  .la-node { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
  .la-core strong { font-size: .95rem; }
  .la-cta .btn { width: 100%; justify-content: center; }
  .la-risk-row li { padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) { .la-ring { animation: none; } }
.la-core strong { color: #fff !important; }
/* four main sections while the others are hidden: one line each, grouped */
@media (min-width: 1361px) { .head-v3 .nav { justify-content: flex-start !important; gap: 44px !important; } .head-v3 .nav > li > details > summary { white-space: nowrap; font-size: .98rem; } .head-v3 .nav > li > details > summary br { display: none; } .head-v3 .nav > li > details > summary span { display: inline !important; } }
.hs-caps .hs-cap:nth-child(n) { padding: 22px; border: 1px solid var(--line); }
/* structures: logo on top of the card (01/12/2026) */
.hub.hub-v3 { grid-template-columns: 1fr; grid-template-rows: 150px 1fr; }
.hub.hub-v3 .hub-photo { height: 150px; min-height: 0; border-bottom: 1px solid var(--line); }
.hub.hub-v3 .hub-photo.has-logo { background: #fff; padding: 20px; }
.hub.hub-v3 .hub-photo.has-logo img { position: static; width: auto; height: auto; max-width: min(100%, 220px); max-height: 108px; object-fit: contain; }
/* Precision Doct, lighter page (01/12/2026) */
.pd-head h1 { font-size: clamp(1.9rem, 3.3vw, 2.9rem) !important; line-height: 1.12; text-wrap: balance; }
.pd-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(32px, 5vw, 72px); }
.pd-cols p { margin: 0; max-width: none; line-height: 1.65; color: var(--muted); }
.pd-closing { margin: 36px 0 0; max-width: 34ch; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.28; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.gom-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; align-items: start; }
.gom-card { padding: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.gom-card h3 { margin: 0 0 12px; font-size: 1.35rem; color: var(--navy); }
.gom-card > :last-child { margin-bottom: 0; }
.head-v3 .nav > li > a { white-space: nowrap; }
@media (min-width: 1361px) { .head-v3 .nav > li > a { font-size: .98rem; } }
@media (max-width: 860px) { .pd-cols, .gom-grid { grid-template-columns: 1fr; } }
.pd-how { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; margin-top: 36px; }
.gom-label { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; font-weight: 600; color: var(--blue); }
@media (max-width: 560px) { .pd-how { grid-template-columns: 1fr !important; } }

/* ===== Oncologia, supporto, schede (01/12/2026) ===== */
:root { --on-green: #06332c; --on-mint: #8fe3c4; }
.on-sec p, .on-hero p { max-width: 66ch; }
.on-sec h2 { margin: 0 0 12px; text-wrap: balance; }
.on-sec h2::before { display: none !important; }
.on-tag { margin: 0 0 10px !important; font-weight: 600; font-size: .98rem; line-height: 1.4; color: var(--blue); }
.on-sub { margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.35; font-weight: 500; color: var(--navy); }
.on-text { color: var(--muted); }
.on-n { flex: none; font: 600 clamp(2.2rem, 4vw, 3.4rem)/1 var(--sans); color: #b9d3ec; letter-spacing: -.03em; min-width: 1.9em; }
.on-head { display: flex; gap: clamp(8px, 2vw, 24px); margin-bottom: 28px; }
.on-head > div { min-width: 0; max-width: 820px; }
.on-hero { position: relative; overflow: hidden; background: var(--on-green); color: #fff; padding: 28px 0 clamp(64px, 8vw, 112px); }
.on-helix { position: absolute; inset: 0; width: 100%; height: 100%; }
.on-hero .wrap { position: relative; }
.on-hero .crumbs, .on-hero .crumbs a, .on-hero .crumbs li { color: #cfe9df; }
.on-hero-copy { max-width: 720px; padding-top: clamp(36px, 6vw, 84px); }
.on-hero .on-tag { color: var(--on-mint); }
.on-hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(2.3rem, 4.8vw, 4.1rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.on-hero h1::before { display: none !important; }
.on-hero .on-sub { color: #fff; margin-bottom: 18px; }
.on-hero-copy > p:not(.on-tag):not(.on-sub) { color: #dcefe7; margin: 0 0 28px; line-height: 1.65; }
.on-hero .btn-light, .on-prev .btn-light, .on-phil .btn-light { color: var(--on-green); background: #fff; }
.on-index { background: #fff; border-bottom: 1px solid var(--line); }
.on-index ol { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.on-index li { margin: 0; }
.on-index a { display: block; height: 100%; padding: 18px 10px 18px 0; text-decoration: none; color: var(--navy); }
.on-index a:hover strong { color: var(--blue); }
.on-index span { display: block; font: 600 .85rem/1 var(--sans); color: var(--blue); }
.on-index strong { display: block; margin-top: 8px; font-size: .94rem; line-height: 1.25; }
.on-index small { display: block; margin-top: 4px; font-size: .84rem; line-height: 1.35; color: var(--muted); }
.on-mtb { margin: 8px 0 32px; }
.on-mtb-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.on-mtb-in > div { padding: 22px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--sky-50); color: var(--navy); }
.on-mtb strong { display: block; line-height: 1.3; }
.on-mtb small { display: block; margin-top: 6px; font-size: .94rem; line-height: 1.45; }
.on-mtb-in small { color: var(--muted); }
.on-down { width: 24px; height: 40px; margin: 10px auto; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: on-bob 2s ease-in-out infinite; }
@keyframes on-bob { 50% { transform: translateY(5px); } }
.on-mtb-out { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; padding: 26px 30px; border-radius: 18px; background: var(--navy); color: #fff; }
.on-mtb-out strong { color: #fff; font-size: 1.3rem; }
.on-mtb-out small { color: #cfe0f1; }
.gom-title { margin: 48px 0 0; font-size: 1.5rem; color: var(--navy); }
.on-sec .gom-card h3 { font-size: 1.25rem; }
#mtb .gom-card { background: var(--sky-50); }
.on-innov { list-style: none; margin: 32px 0 0; padding: 0; max-width: none; }
.on-innov li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px 32px; align-items: start; padding: 26px 0; margin: 0; border-top: 1px solid #c9dcee; }
.on-innov h3 { margin: 0; font-size: 1.35rem; line-height: 1.25; color: var(--navy); }
.on-innov .on-tag { margin-bottom: 4px !important; }
.on-innov li > p { margin: 0; color: var(--muted); line-height: 1.6; }
.on-innov .la-n { background: #fff; }
.on-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 5vw, 64px); align-items: center; }
.on-split figure, .on-supp figure { margin: 0; }
.on-split img, .on-supp img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.on-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.on-four > div { padding-top: 18px; border-top: 2px solid var(--blue); }
.on-four h3 { margin: 0 0 8px; font-size: 1.14rem; line-height: 1.3; color: var(--navy); }
.on-four p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.on-prev { background: var(--on-green); color: #fff; }
.on-prev h2, .on-prev h3, .on-prev .on-sub, .on-prev strong { color: #fff; }
.on-prev .on-tag { color: var(--on-mint); }
.on-prev .on-n { color: #3f7f6d; }
.on-prev .on-four > div { border-color: var(--on-mint); }
.on-prev .on-four p, .on-cols3 p { color: #d5ebe2; }
.on-cells { width: 100%; height: clamp(150px, 17vw, 230px); margin: 4px 0 28px; }
.on-cells-img { margin: 4px 0 32px; }
.on-cells-img img { display: block; width: 100%; height: auto; border-radius: 18px; background: #fff; }
.on-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(24px, 4vw, 52px); }
.on-cols3 p { margin: 0; line-height: 1.62; }
.on-prev .btn { margin-top: 40px; }
.on-perc { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.on-perc li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 18px; }
.on-perc h3 { margin: 0 0 8px; font-size: 1.14rem; line-height: 1.3; color: var(--navy); }
.on-perc p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--muted); }
.on-supp { background: #fbf6e9; padding: clamp(64px, 8vw, 112px) 0; }
.on-supp .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.on-supp .on-n { color: #dcc583; display: block; margin-bottom: 14px; }
.on-supp h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; color: var(--navy); margin: 14px 0 16px; }
.on-supp .btn { margin-top: 12px; }
.on-tum { list-style: none; margin: 32px 0 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.on-tum li { margin: 0; }
.on-tum a, .on-tum li > div { display: grid; grid-template-columns: 48px minmax(0, 1fr) 20px; gap: 14px; align-items: center; height: 100%; min-height: 92px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--navy); text-decoration: none; transition: border-color .2s; }
.on-tum a:hover { border-color: var(--blue-500); }
.on-tum strong { line-height: 1.25; font-size: 1.04rem; }
.on-ico { width: 48px; height: 48px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.on-tum .v3-arr { width: 20px; height: 20px; }
.on-phil { background: var(--on-green); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.on-phil .on-tag { color: var(--on-mint); }
.on-phil h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.05; letter-spacing: -.025em; }
.on-phil .on-sub { color: #fff; margin-bottom: 18px; }
.on-phil .on-text { color: #d5ebe2; }
.on-four-words { list-style: none; margin: 32px 0 36px; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.on-four-words li { margin: 0; padding-top: 16px; border-top: 1px solid rgba(143, 227, 196, .5); font-size: 1.2rem; line-height: 1.3; font-weight: 600; }
.on-supp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.on-supp-list article { display: grid; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.on-supp-list article.has-ph { grid-template-columns: 38% minmax(0, 1fr); }
.on-supp-list img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; }
.on-supp-list article > div { padding: 26px; }
.on-supp-list h2 { margin: 14px 0 8px; font-size: 1.3rem; line-height: 1.25; color: var(--navy); }
.on-supp-list p { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.55; }
.on-integ p { margin: 0; font-size: 1.14rem; color: var(--muted); }
.on-organ { justify-self: center; width: min(100%, 300px); aspect-ratio: 1; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.on-organ .on-ico { width: 56%; height: 56%; stroke-width: 1.1; }
.on-sheet { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); }
.on-sheet li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px 18px; align-content: start; margin: 0; padding: 26px 0; border-top: 1px solid var(--line-2); }
.on-sheet h2 { margin: 0; align-self: center; font-size: 1.25rem; line-height: 1.3; color: var(--navy); }
.on-sheet p { grid-column: 2; margin: 0; line-height: 1.62; color: var(--muted); }
.on-sheet-cta { margin: 24px 0 0; }
.on-note { margin: 24px 0 0; font-size: .96rem; color: var(--muted); }
@media (max-width: 1100px) {
  .on-index ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .on-mtb-in, .on-four, .on-four-words, .on-perc, .on-tum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .on-cols3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .on-split, .on-supp .wrap, .on-supp-list, .on-sheet { grid-template-columns: 1fr; }
  .on-innov li { grid-template-columns: 48px minmax(0, 1fr); }
  .on-innov li > p { grid-column: 2; }
  .on-organ { width: 150px; justify-self: start; }
}
@media (max-width: 560px) {
  .on-index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .on-mtb-in, .on-four, .on-four-words, .on-perc, .on-tum, .on-supp-list article.has-ph { grid-template-columns: 1fr; }
  .on-head { flex-direction: column; }
  .on-four { gap: 22px; }
  .on-hero .btn, .on-prev .btn, .on-supp .btn, .on-phil .btn, .on-mtb-out .btn, .on-sheet-cta .btn { width: 100%; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .on-down { animation: none; } }

/* ===== Medici, strutture, pazienti (01/12/2026) ===== */
.sv h2 { text-wrap: balance; } .sv h2::before { display: none !important; }
.sv-who { margin: 0 0 12px; font-weight: 600; color: var(--blue); }
.sv-head h1 { font-size: clamp(1.9rem, 3.5vw, 3rem) !important; line-height: 1.1; text-wrap: balance; }
.sv-head .lead + .lead { margin-top: 12px; }
.sv-cards, .sv-doors, .sv-dev, .sv-steps { list-style: none; margin: 32px 0 0; padding: 0; max-width: none; display: grid; gap: 14px; }
.sv-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sv-cards.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-cards li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--sky-50); }
.sv-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--blue); }
.sv-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sv-cards h3 { margin: 0 0 6px; font-size: 1.1rem; line-height: 1.3; color: var(--navy); }
.sv-cards p { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--muted); }
.sv-dev { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(24px, 4vw, 48px); }
.sv-dev li { margin: 0; padding-top: 20px; border-top: 1px solid var(--line-2); }
.sv-dev .la-n { background: #fff; }
.sv-dev h3 { margin: 14px 0 8px; font-size: 1.25rem; line-height: 1.25; color: var(--navy); }
.sv-dev p { margin: 0; color: var(--muted); line-height: 1.55; }
.sv-band { background: var(--navy); color: #fff; padding: clamp(64px, 8vw, 112px) 0; }
.sv-band h2 { margin: 0 0 20px; max-width: 18ch; color: #fff; font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -.025em; }
.sv-band p { max-width: 68ch; color: #d5e3f2; }
.sv-band .sv-who { color: #8cc8f5; }
.sv-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px 0 32px; }
.sv-steps li { margin: 0; padding-top: 16px; border-top: 2px solid #3c8fd0; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.2; }
.sv-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.sv-cta p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.sv-cta p a { display: inline-flex; align-items: center; min-height: 44px; }
.sv-band .sv-cta p a { color: #fff; }
.sv-conc { background: #fbf6e9; padding: clamp(64px, 8vw, 112px) 0; }
.sv-conc .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sv-conc .sv-who { color: #6a5414; }
.sv-brand { margin: 0 0 24px; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.05; font-weight: 600; letter-spacing: -.025em; color: var(--navy); }
.sv-brand span { color: #8a6a12; }
.sv-conc h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; color: var(--navy); }
.sv-conc p { max-width: 62ch; }
.sv-conc figure { margin: 0; }
.sv-conc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.sv-doors { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-doors li { margin: 0; }
.sv-doors a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; height: 100%; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--sky-50); text-decoration: none; transition: border-color .2s; }
.sv-doors a:hover { border-color: var(--blue-500); }
.sv-doors h2 { margin: 0 0 8px; font-size: 1.5rem; color: var(--navy); }
.sv-doors p { margin: 0; color: var(--muted); line-height: 1.5; }
@media (max-width: 1100px) { .sv-cards, .sv-dev { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sv-cards, .sv-cards.is-two, .sv-dev, .sv-doors, .sv-conc .wrap { grid-template-columns: 1fr; } .sv-cta .btn { width: 100%; justify-content: center; text-align: center; } }
/* video consult: picture instead of the icon (01/12/2026) */
.hub.hub-v3 .hub-photo.has-ph { padding: 0; }
.hub.hub-v3 .hub-photo.has-ph img { position: static; width: 100%; height: 150px; object-fit: cover; object-position: 50% 48%; }
@media (max-width: 760px) { .hub.hub-v3.is-remote { grid-template-rows: auto 1fr; } .hub.hub-v3 .hub-photo.has-ph { height: auto; } .hub.hub-v3 .hub-photo.has-ph img { height: auto; aspect-ratio: 16 / 9; } }
/* contact form on the home: readable privacy note (contrast was 1.5:1) */
main form .gdpr-note, main form label { color: var(--muted) !important; }
main form label { color: var(--ink) !important; }
main form .gdpr-note a, main form label a { color: var(--blue) !important; }
