/* Home first screen v2 (merge of client mockups V1 + V2) */
@font-face { font-family: "PJS"; src: url("/fonts/pjs-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "PJS"; src: url("/fonts/pjs-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "PJS"; src: url("/fonts/pjs-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "SerifSoft"; src: url("/fonts/serif-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
.hv2 { --n: #16335c; --b: #2f7fd6; --b2: #6aaef0; --sky: #eef5fc; --line: #dde8f3; --mut: #55657c;
  position: relative; overflow: hidden; color: var(--n); font-family: "PJS", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, #f5f9fe 0%, #fff 100%); padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.hv2-wrap { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* person image behind, fading into the copy side */
.hv2-media { position: absolute; z-index: 0; top: 0; right: 0; width: 64%; height: min(780px, 100%); pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 78%, transparent 100%), linear-gradient(180deg, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 78%, transparent 100%); }
.hv2-media img, .hv2-media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 25%; opacity: .95; }
/* client photo (woman on the right of the frame): keep her face in the gap between headline and areas menu */
.hv2-media-donna { left: 0; width: auto; right: calc(max(clamp(16px, 4vw, 40px), (100% - 1320px) / 2 + clamp(16px, 4vw, 40px)) + 140px);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, rgba(0,0,0,.45) 46%, #000 60%, #000 88%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, rgba(0,0,0,.45) 46%, #000 60%, #000 88%, transparent 100%); }
.hv2-media-donna img, .hv2-media-donna video { object-position: 100% 30%; opacity: 1; }
.hv2-dna { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: min(780px, 100%); pointer-events: none; }

.hv2-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .42fr) 300px; gap: 24px; align-items: start; min-height: 600px; }
.hv2-copy { grid-column: 1; padding-top: 18px; }
.hv2-areas { grid-column: 3; }
.hv2-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font: 600 12.5px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--b); }
.hv2-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--n); opacity: .6; }
.hv2-title { margin: 0 0 22px; font-family: "SerifSoft", Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(2.7rem, 4.7vw, 4.7rem); line-height: 1; letter-spacing: -.02em; color: var(--n); }
.hv2-title span { display: block; white-space: nowrap; }
@media (max-width: 600px) { .hv2-title span { white-space: normal; } }
.hv2-accent { color: var(--b); }
.hv2-sub { margin: 0 0 16px; font-family: "SerifSoft", Georgia, serif; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.32; color: var(--n); max-width: 32ch; }
.hv2-lead { margin: 0; font-size: 1.04rem; line-height: 1.65; color: var(--mut); max-width: 46ch; font-weight: 500; text-shadow: 0 0 14px rgba(255,255,255,.9), 0 0 3px #fff; }
.hv2-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hv2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px; border-radius: 10px; background: var(--b); color: #fff !important; font: 700 1rem/1 "PJS", system-ui, sans-serif; text-decoration: none !important; border: 1.5px solid var(--b); box-shadow: 0 10px 24px -14px rgba(47, 127, 214, .9); transition: background .2s, transform .2s; }
.hv2-btn:hover { background: var(--n); border-color: var(--n); transform: translateY(-1px); }
.hv2-btn-ghost { background: rgba(255, 255, 255, .9); color: var(--b) !important; border-color: #bcd5f1; box-shadow: none; }
.hv2-btn-ghost:hover { background: #fff; color: var(--n) !important; }
.hv2-btn-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* areas menu (V2) */
.hv2-areas { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); border: 1px solid rgba(221, 232, 243, .95); border-radius: 18px; padding: 16px 12px; box-shadow: 0 24px 50px -30px rgba(22, 51, 92, .45); }
.hv2-areas-title { display: flex; align-items: center; justify-content: space-between; margin: 2px 8px 10px; font-weight: 700; font-size: .95rem; color: var(--n); }
.hv2-areas-arr { width: 18px; height: 18px; fill: none; stroke: var(--n); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hv2-area { display: grid; grid-template-columns: 38px 1fr 14px; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--n) !important; text-decoration: none !important; font-size: .9rem; font-weight: 600; transition: background .15s; }
a.hv2-area:hover { background: var(--sky); }
.hv2-area-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--b); }
.hv2-area .hv2-ico { width: 21px; height: 21px; }
/* desktop: compact glass panel, lowered to neck height so it stays clear of the woman's face */
@media (min-width: 1181px) {
  .hv2-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, .62fr) 250px; }
  .hv2-media-donna { right: calc(max(clamp(16px, 4vw, 40px), (100% - 1320px) / 2 + clamp(16px, 4vw, 40px)) + 60px); }
  .hv2-areas { margin-top: 285px; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .7); backdrop-filter: blur(3px) saturate(1.1); -webkit-backdrop-filter: blur(3px) saturate(1.1); box-shadow: 0 20px 44px -32px rgba(22, 51, 92, .4); padding: 10px 8px; }
  .hv2-areas-title { font-size: .84rem; margin: 2px 6px 4px; }
  .hv2-area { grid-template-columns: 28px 1fr 12px; gap: 9px; padding: 4px 6px; font-size: .82rem; }
  .hv2-area-ico { width: 28px; height: 28px; }
  .hv2-area .hv2-ico { width: 16px; height: 16px; }
}
.hv2-t-rose .hv2-area-ico { background: #fdeef2; color: #c2577a; }
.hv2-t-red .hv2-area-ico { background: #fdecec; color: #d0504c; }
.hv2-t-navy .hv2-area-ico { background: #e8eef7; color: var(--n); }
.hv2-t-teal .hv2-area-ico { background: #e6f6f4; color: #2a9d8f; }
.hv2-t-green .hv2-area-ico { background: #eaf6ea; color: #4c9a52; }
.hv2-ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hv2-chev { width: 14px; height: 14px; fill: none; stroke: #8aa0bb; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* service boxes (V1) */
.hv2-svcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.hv2-svc { display: grid; grid-template-columns: 46px minmax(0, 1fr) 14px; gap: 12px; align-items: center; padding: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; color: var(--n) !important; text-decoration: none !important; box-shadow: 0 14px 30px -24px rgba(22, 51, 92, .5); transition: border-color .2s, transform .2s; }
a.hv2-svc:hover { border-color: var(--b2); transform: translateY(-2px); }
.hv2-svc-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--sky); color: var(--b); display: grid; place-items: center; }
.hv2-svc strong, .hv2-card strong { display: block; font-size: .96rem; font-weight: 700; line-height: 1.25; color: var(--n); }
.hv2-svc small, .hv2-card small { display: block; font-size: .8rem; line-height: 1.38; color: var(--mut); margin-top: 3px; font-weight: 500; }

/* macro-area cards (V2) */
.hv2-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.hv2-card { position: relative; display: grid; grid-template-columns: 42% 1fr; min-height: 132px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--n) !important; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
a.hv2-card:hover { box-shadow: 0 20px 40px -26px rgba(22, 51, 92, .55); transform: translateY(-2px); }
.hv2-card-img { position: relative; overflow: hidden; background: var(--sky); }
.hv2-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.hv2-card:hover .hv2-card-img img { transform: scale(1.05); }
.hv2-card-txt { padding: 16px 30px 16px 16px; align-self: center; }
.hv2-card-arr { position: absolute; right: 12px; bottom: 12px; width: 16px; height: 16px; fill: none; stroke: var(--n); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1180px) {
  .hv2-row { grid-template-columns: minmax(0, 1fr) 280px; min-height: 0; }
  .hv2-areas { grid-column: 2; }
  .hv2-media { width: 58%; opacity: .55; }
  /* client photo: a band above the copy, so the face never sits behind the text */
  .hv2:has(.hv2-media-donna) { padding-top: 0; }
  .hv2-media-donna { position: relative; left: auto; right: auto; width: 100%; height: 380px; opacity: 1;
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
  .hv2-media-donna img, .hv2-media-donna video { object-position: 92% 30%; }
  .hv2-media-donna ~ .hv2-dna { height: 380px; }
  .hv2-media-donna ~ .hv2-row { margin-top: -40px; }
  .hv2-svcs, .hv2-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hv2 { padding-top: 0; }
  .hv2-media { position: relative; width: 100%; height: 300px; opacity: 1; mask-image: linear-gradient(180deg, #000 60%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .hv2-media img, .hv2-media video { object-position: 65% 20%; }
  .hv2-media-donna, .hv2-media-donna ~ .hv2-dna { height: 300px; }
  .hv2-media-donna img, .hv2-media-donna video { object-position: 92% 30%; }
  .hv2-dna { height: 300px; }
  .hv2-row { grid-template-columns: 1fr; margin-top: -40px; }
  .hv2-areas { grid-column: 1; }
  .hv2-copy { padding-top: 0; }
}
@media (max-width: 600px) {
  .hv2-title { font-size: 2.7rem; }
  .hv2-actions .hv2-btn { flex: 1 1 100%; }
  .hv2-svcs, .hv2-cards { grid-template-columns: 1fr; }
  .hv2-card { min-height: 112px; grid-template-columns: 38% 1fr; }
}

/* v3: fal.ai (Kling) glass helix, keyed from green, framed like the photo: it sits in the same box with the same
   object-fit/position (rules above), so it wraps the woman exactly as in the generated video. */
.hv2-media .hv3-helix { position: absolute; inset: 0; z-index: 1; }

.hv2-media video { display: block; }
/* ===== Home v2 sections (client mockup 23/10/2026) ===== */
.hs { --n: var(--navy, #00214a); --b: var(--blue, #0067b8); --b2: var(--blue-500, #0486da); --sky: var(--sky-100, #e9f3fc); --line: #d9e4ef; --mut: var(--muted, #4d5f77);
  position: relative; overflow: hidden; color: var(--n); font-family: var(--sans);
  padding: clamp(56px, 7vw, 104px) 0; }
.hs-wrap { position: relative; z-index: 1; max-width: var(--wrap, 1240px); margin: 0 auto; padding: 0 var(--gutter, clamp(16px, 4vw, 40px)); }
.hs-n { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 500 .8rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .14em; color: var(--b); }
.hs-n::before { content: ""; width: 18px; height: 2px; background: var(--b); opacity: .7; }
.hs-title { margin: 0 0 18px; font-family: var(--sans); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.025em; color: var(--n); }
.hs-title::before { display: none !important; }
.hs-title-xl { font-size: clamp(2.8rem, 5.2vw, 4.9rem); line-height: .98; }
.hs-accent { color: var(--b); }
.hs-sub { margin: 0 0 16px; font-family: var(--sans); font-weight: 500; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.35; color: var(--n); max-width: 34ch; }
.hs-lead, .hs-text { margin: 0; font-size: 1.04rem; line-height: 1.68; color: var(--mut); font-weight: 500; max-width: 60ch; }
.hs-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; margin-top: 28px; padding: 0 24px; border-radius: 10px; background: var(--b); color: #fff !important; font: 600 .98rem/1 var(--sans); text-decoration: none !important; box-shadow: 0 10px 24px -14px rgba(47, 127, 214, .9); transition: background .2s, transform .2s; }
.hs-btn:hover { background: var(--n); transform: translateY(-1px); }
.hs-btn-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-ico { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hs-chev { width: 14px; height: 14px; fill: none; stroke: #8aa0bb; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hs-arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* gentle reveal on scroll (only when JS runs and motion is allowed) */
.hs-js .hs-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.hs-js .hs-reveal.is-in { opacity: 1; transform: none; }

/* strip: six capabilities */
.hs-caps { padding: 8px 0 clamp(28px, 4vw, 48px); background: #fff; }
.hs-caps-row { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hs-cap { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px 16px; border-left: 1px solid var(--line); }
.hs-cap:first-child { border-left: 0; padding-left: 0; }
.hs-cap-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--b); }
.hs-cap strong { display: block; font-size: .88rem; font-weight: 700; line-height: 1.25; color: var(--n); }
.hs-cap small { display: block; margin-top: 3px; font-size: .78rem; line-height: 1.38; color: var(--mut); font-weight: 500; }

/* 01 percorso */
.hs-path { background: linear-gradient(180deg, #fff 0%, #f5f9fe 100%); }
.hs-path-dna { position: absolute; z-index: 0; right: -6%; top: -4%; width: min(62%, 860px); opacity: .5; pointer-events: none; mix-blend-mode: multiply;
  mask-image: linear-gradient(90deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); animation: hs-float 14s ease-in-out infinite alternate; }
@keyframes hs-float { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-24px, 14px, 0) rotate(-2.5deg); } }
.hs-head { max-width: 760px; }
.hs-steps { position: relative; list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.hs-steps::before { content: ""; position: absolute; left: 36px; right: 10%; top: 36px; border-top: 2px dashed #c9dcf1; transform-origin: left; transition: transform 1.6s ease .2s; }
.hs-js .hs-steps:not(.is-in)::before { transform: scaleX(0); }
.hs-step { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-content: start; }
.hs-step-ico { grid-column: 1 / -1; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--b); border: 1px solid var(--line); box-shadow: 0 14px 30px -18px rgba(22, 51, 92, .45); }
.hs-step-ico .hs-ico { width: 30px; height: 30px; }
.hs-step-n { grid-row: 2 / 4; padding-top: 3px; font: 500 .75rem/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--b); letter-spacing: .1em; }
.hs-step strong { font-size: 1.04rem; font-weight: 700; color: var(--n); }
.hs-step small { grid-column: 2; margin-top: 6px; font-size: .86rem; line-height: 1.45; color: var(--mut); font-weight: 500; }
.hs-js .hs-step { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.hs-js .hs-steps.is-in .hs-step { opacity: 1; transform: none; }
.hs-js .hs-steps.is-in .hs-step:nth-child(2) { transition-delay: .15s; }
.hs-js .hs-steps.is-in .hs-step:nth-child(3) { transition-delay: .3s; }
.hs-js .hs-steps.is-in .hs-step:nth-child(4) { transition-delay: .45s; }
.hs-js .hs-steps.is-in .hs-step:nth-child(5) { transition-delay: .6s; }

/* 02 PrecisionDoc */
.hs-doc { background: radial-gradient(1000px 500px at 70% 30%, #e7f1fc 0%, rgba(231, 241, 252, 0) 70%), #f7fafe; }
.hs-doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) 270px; gap: clamp(20px, 3vw, 40px); align-items: center; }
.hs-brand { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.hs-brand-logo { width: 40px; height: 40px; flex: 0 0 auto; }
.hs-brand-doct { flex-direction: column; align-items: flex-start; gap: 8px; }
.hs-doct-logo { width: min(300px, 80%); height: auto; }
.hs-brand-doct small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.hs-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%); }
.hs-brand b { display: block; font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; font-size: 1.9rem; line-height: 1; color: var(--n); }
.hs-brand b span { color: var(--b); }
.hs-brand small { display: block; margin-top: 4px; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.hs-doc-img { margin: 0; aspect-ratio: 4 / 3.2; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(22, 51, 92, .55); }
.hs-doc-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.hs-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hs-point { display: grid; grid-template-columns: 40px 1fr 14px; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 14px; font-size: .92rem; font-weight: 700; color: var(--n); box-shadow: 0 12px 26px -22px rgba(22, 51, 92, .5); }
.hs-point-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--b); }
.hs-point-ico .hs-ico { width: 22px; height: 22px; }

/* 03 Oncologia personalizzata */
.hs-onco { background: linear-gradient(180deg, #fff 0%, #f3f8fe 100%); }
.hs-onco-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hs-onco-img { position: relative; margin: 0; aspect-ratio: 16 / 11; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -44px rgba(22, 51, 92, .6); }
.hs-onco-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; display: block; animation: hs-zoom 18s ease-in-out infinite alternate; }
@keyframes hs-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hs-boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.hs-box { display: grid; grid-template-columns: 46px minmax(0, 1fr) 14px; gap: 12px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--n) !important; text-decoration: none !important; box-shadow: 0 14px 30px -24px rgba(22, 51, 92, .5); transition: border-color .2s, transform .2s; }
a.hs-box:hover { border-color: var(--b2); transform: translateY(-2px); }
.hs-box-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--sky); color: var(--b); display: grid; place-items: center; }
.hs-box strong, .hs-card strong { display: block; font-size: .96rem; font-weight: 700; line-height: 1.25; color: var(--n); }
.hs-box small, .hs-card small { display: block; margin-top: 3px; font-size: .8rem; line-height: 1.4; color: var(--mut); font-weight: 500; }

/* 04 Aree cliniche */
.hs-areas { background: #fff; }
.hs-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.hs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: var(--n) !important; text-decoration: none !important; transition: box-shadow .25s, transform .25s; }
a.hs-card:hover { box-shadow: 0 24px 44px -28px rgba(22, 51, 92, .55); transform: translateY(-3px); }
.hs-card-img { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); }
.hs-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
a.hs-card:hover .hs-card-img img { transform: scale(1.05); }
.hs-card-badge { position: absolute; left: 14px; top: -22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--b); box-shadow: 0 8px 20px -10px rgba(22, 51, 92, .5); }
.hs-card-badge .hs-ico { width: 22px; height: 22px; }
.hs-card-txt { position: relative; display: flex; flex-direction: column; flex: 1; padding: 30px 16px 18px; }
.hs-card em { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-size: .86rem; font-weight: 700; color: var(--b); }

/* v3: seven clinical areas in one row on wide screens */
@media (min-width: 1181px) {
  .hs-cards { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
  .hs-card-txt { padding: 28px 12px 14px; }
  .hs-card strong { font-size: .88rem; }
  .hs-card small { font-size: .74rem; }
  .hs-card em { font-size: .78rem; }
}

/* 05 per professionisti e organizzazioni + cross-service strip */
.hs-pros { background: linear-gradient(180deg, #f5f9fe 0%, #fff 100%); }
.hs-pro-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.hs-pro { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--n) !important; text-decoration: none !important; box-shadow: 0 14px 30px -24px rgba(22, 51, 92, .5); transition: border-color .2s, transform .2s, box-shadow .2s; }
.hs-pro:hover { border-color: var(--b2); transform: translateY(-2px); box-shadow: 0 24px 44px -28px rgba(22, 51, 92, .55); }
.hs-pro-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sky); color: var(--b); }
.hs-pro strong { display: block; font-size: 1.04rem; font-weight: 700; color: var(--n); }
.hs-pro small { display: block; margin-top: 6px; font-size: .88rem; line-height: 1.5; color: var(--mut); font-weight: 500; }
.hs-pro em { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-style: normal; font-size: .86rem; font-weight: 700; color: var(--b); }
.hs-trasv { list-style: none; margin: 18px 0 0; padding: 14px 18px; max-width: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.hs-trasv li { margin: 0; }
.hs-trasv a { display: flex; align-items: center; gap: 10px; padding: 6px 4px; font-size: .86rem; font-weight: 700; line-height: 1.25; color: var(--n); text-decoration: none; }
.hs-trasv a:hover { color: var(--b); }
.hs-tr-ico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sky); color: var(--b); }
.hs-tr-ico .hs-ico { width: 19px; height: 19px; }

@media (max-width: 1180px) {
  .hs-pro-row { grid-template-columns: 1fr; }
  .hs-trasv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hs-caps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .hs-cap:nth-child(4) { border-left: 0; padding-left: 0; }
  .hs-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .hs-steps::before { display: none; }
  .hs-doc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hs-points { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hs-onco-grid { grid-template-columns: 1fr; }
  .hs-boxes { grid-template-columns: 1fr 1fr; }
  .hs-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-left: calc(-1 * clamp(16px, 4vw, 40px)); margin-right: calc(-1 * clamp(16px, 4vw, 40px)); padding: 0 clamp(16px, 4vw, 40px) 8px; scroll-padding-inline: clamp(16px, 4vw, 40px); scrollbar-width: none; }
  .hs-cards::-webkit-scrollbar { display: none; }
  .hs-card { flex: 0 0 min(34%, 300px); scroll-snap-align: start; }
  .hs-path-dna { opacity: .3; }
}
@media (max-width: 820px) {
  .hs-path-dna { width: 120%; right: -40%; top: auto; bottom: 0; opacity: .3; }
  .hs-steps { grid-template-columns: 1fr; row-gap: 0; }
  .hs-step { grid-template-columns: 56px auto 1fr; column-gap: 14px; padding: 0 0 22px; }
  .hs-step::before { content: ""; position: absolute; left: 27px; top: 58px; bottom: 4px; border-left: 2px dashed #c9dcf1; }
  .hs-step:last-child::before { display: none; }
  .hs-step-ico { grid-column: 1; grid-row: 1 / 3; width: 56px; height: 56px; margin: 0; }
  .hs-step-n { grid-column: 2; grid-row: 1; padding-top: 6px; }
  .hs-step strong { grid-column: 3; grid-row: 1; }
  .hs-step small { grid-column: 2 / 4; grid-row: 2; }
  .hs-doc-grid { grid-template-columns: 1fr; }
  .hs-points { grid-template-columns: 1fr 1fr; }
  .hs-card { flex-basis: min(72%, 280px); }
}
@media (max-width: 600px) {
  .hs-trasv { grid-template-columns: 1fr 1fr; padding: 10px 12px; }
  .hs-caps-row { grid-template-columns: 1fr 1fr; row-gap: 16px; column-gap: 12px; }
  .hs-cap, .hs-cap:nth-child(4) { grid-template-columns: 1fr; gap: 8px; align-items: start; border-left: 0; padding: 0; }
  .hs-cap-ico { width: 44px; height: 44px; }
  .hs-points, .hs-boxes { grid-template-columns: 1fr; }
  .hs-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-path-dna, .hs-onco-img img { animation: none; }
}
