/* Piemme Nord Oftalmica — responsive one-page prototype */
:root {
  --ink: #12283b;
  --ink-deep: #0d2135;
  --navy: #092f49;
  --blue: #087bb5;
  --blue-deep: #006caa;
  --orange: #f28a41;
  --ice: #e5f5fc;
  --sky: #eaf6fb;
  --cloud: #f6fbfd;
  --muted: #597083;
  --line: #dbe9f0;
  --white: #fff;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 15px 45px rgba(12, 57, 82, .07);
  --container: 1232px;
  --header-height: 104px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 14px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
.icon { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
::selection { background: #bceaf8; color: #0b3553; }
:focus-visible { outline: 3px solid #ee9450; outline-offset: 4px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(var(--container), calc(100% - 88px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: -70px; left: 18px; background: var(--white); padding: 12px 20px; border-radius: 6px; }
.skip-link:focus { top: 15px; }

/* Navigation */
.site-header { position: sticky; z-index: 40; top: 0; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(174, 199, 211, .25); transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 35px rgba(9, 47, 73, .09); background: rgba(255,255,255,.97); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: clamp(20px, 2.1vw, 40px); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
/* Logo orizzontale (marchio, nome e slogan): l'altezza va regolata insieme a --header-height */
.brand-mark { width: auto; height: 72px; flex: 0 0 auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(15px, 1.65vw, 28px); margin-left: auto; white-space: nowrap; }
.main-nav a { color: #344a5b; font-size: 12px; font-weight: 650; position: relative; padding: 14px 0; transition: color .2s ease; }
.main-nav a::after { content: ""; position: absolute; height: 2px; left: 0; bottom: 7px; right: 100%; background: var(--blue); transition: right .23s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.scroll-progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--blue), #22bee4); transform: scaleX(0); transform-origin: left; transition: transform .07s linear; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 17px; width: fit-content; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 13px; line-height: 1.2; border: 1px solid transparent; transition: background .22s ease, color .22s ease, transform .22s ease, border-color .22s ease, box-shadow .22s ease; white-space: nowrap; }
.button svg, .text-link svg, .solution-link svg, .contact-aside a svg { width: 17px; height: 17px; transition: transform .2s ease; }
.button:hover svg, .text-link:hover svg, .solution-link:hover svg, .contact-aside a:hover svg { transform: translateX(3px); }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: linear-gradient(120deg, var(--blue-deep), #077cb3); box-shadow: 0 10px 24px rgba(8, 123, 181, .18); }
.button-primary:hover { background: linear-gradient(120deg, #005b8f, var(--blue-deep)); box-shadow: 0 12px 28px rgba(8, 123, 181, .25); }
.button-outline { border-color: #96b7c9; background: rgba(255,255,255,.34); color: #164159; }
.button-outline:hover { border-color: var(--blue); background: #fff; }
.header-cta { min-height: 42px; padding: 0 17px; gap: 10px; font-size: 11.5px; flex: 0 0 auto; box-shadow: none; }
.header-cta svg { width: 14px; height: 14px; }
/* Selettore di lingua IT | EN: la lingua corrente è in blu */
.lang-switch { display: flex; align-items: center; flex: 0 0 auto; font-size: 12px; font-weight: 750; letter-spacing: .06em; }
.lang-switch a { position: relative; display: grid; place-items: center; min-width: 34px; min-height: 34px; padding: 0 6px; color: var(--muted); transition: color .2s ease; }
.lang-switch a + a::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.lang-switch a:hover, .lang-switch a[aria-current="true"] { color: var(--blue); }
.menu-toggle { display: none; cursor: pointer; width: 44px; height: 44px; background: transparent; border: 1px solid #cee1ea; border-radius: 12px; justify-content: center; align-items: center; flex-direction: column; gap: 5px; padding: 9px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Global headings and section titles */
.section { padding: 112px 0; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 22px; text-transform: uppercase; font-size: 11px; font-weight: 780; letter-spacing: .15em; color: #3e6277; }
.eyebrow-rule { flex: 0 0 auto; display: block; width: 27px; height: 3px; background: var(--blue); border-radius: 5px; }
h1, h2, h3, p { margin-top: 0; }
h2 { color: var(--ink-deep); font-size: clamp(32px, 3.8vw, 48px); line-height: 1.12; font-weight: 780; letter-spacing: -.02em; margin-bottom: 0; }
h3 { color: var(--ink-deep); line-height: 1.19; font-weight: 760; letter-spacing: -.035em; }
.text-blue { color: var(--blue); }
.section-intro { margin-bottom: 43px; }
.section-intro-split, .partners-intro, .solutions-intro { display: grid; align-items: end; grid-template-columns: 1.2fr .8fr; gap: 80px; }
.section-description { max-width: 440px; margin: 0 0 4px; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* Hero */
.hero { position: relative; background: linear-gradient(110deg, #fbfeff 4%, #eff9fc 43%, #ddf0f8 76%, #ecf9fd 100%); isolation: isolate; overflow: hidden; }
.hero-halo { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero-halo-one { background: #bceaf5; filter: blur(100px); width: 340px; height: 340px; top: -220px; right: 10%; opacity: .45; }
.hero-halo-two { background: #d6f2fa; filter: blur(84px); width: 380px; height: 340px; left: -230px; bottom: -190px; }
.hero-inner { display: grid; grid-template-columns: 52% 48%; min-height: 610px; position: relative; }
.hero-copy { padding: 123px 0 90px; position: relative; z-index: 4; }
.hero-copy .eyebrow { margin-bottom: 30px; }
.hero h1 { font-weight: 800; font-size: clamp(58px, 5.8vw, 80px); line-height: 1.02; letter-spacing: -.035em; color: #0c2539; margin: 0 0 28px; }
.hero h1 > span { color: var(--blue); }
.hero-dot { color: var(--orange); }
.hero-lead { color: #324f62; font-size: clamp(18px, 1.58vw, 21px); font-weight: 450; line-height: 1.61; max-width: 497px; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.hero-actions .button { min-height: 52px; }
.hero-footnote { color: var(--muted); margin: 48px 0 0; font-size: 12px; display: flex; align-items: center; gap: 10px; }
.small-dot { display: inline-block; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.hero-art { position: relative; min-width: 0; overflow: visible; }
.hero-image-frame { position: absolute; z-index: 0; inset: 27px -110px -4px -30px; border-radius: 50% 0 0 43% / 45% 0 0 52%; overflow: hidden; box-shadow: -20px 15px 70px rgba(17, 104, 147, .1); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 100%); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 54% 41%; transform: scale(1.045); }
.orbit { position: absolute; z-index: 2; pointer-events: none; left: 51%; top: 47%; transform: translate(-50%,-50%); width: 480px; height: 480px; border: 1px solid rgba(255,255,255,.47); border-radius: 50%; }
.orbit-two { width: 350px; height: 350px; border-color: rgba(255,255,255,.55); }
.orbit-three { width: 220px; height: 220px; border-color: rgba(255,255,255,.44); }
.image-cross { position: absolute; z-index: 2; color: #fff; opacity: .65; font-size: 24px; font-weight: 200; }
.image-cross-one { left: 31%; top: 22%; }
.image-cross-two { right: 6%; bottom: 30%; }
.hero-annotation { position: absolute; z-index: 3; left: -31px; bottom: 79px; padding: 15px 19px; border: 1px solid var(--line); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 14px; box-shadow: 0 14px 44px rgba(4, 74, 111, .12); display: flex; align-items: center; gap: 13px; }
.annotation-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--ice); color: var(--blue); }
.annotation-mark svg { width: 23px; height: 23px; stroke-width: 1.6; }
.hero-annotation strong { display: block; font-size: 12px; margin-bottom: 3px; }
.hero-annotation small { display: block; color: var(--muted); font-size: 10px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; position: absolute; bottom: 23px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.hero-bottom a { display: flex; align-items: center; gap: 10px; font-weight: 680; letter-spacing: .015em; color: #47687c; }
.hero-bottom svg { width: 17px; height: 17px; }
.trust-strip { background: #fff; border-bottom: 1px solid #ecf0f3; }
.trust-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-around; gap: 20px; font-size: 12px; color: #5c7282; font-weight: 650; }
.trust-dot { height: 4px; width: 4px; flex: 0 0 auto; border-radius: 50%; background: #4fb9db; }

/* Value cards */
.section-values { background: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.value-card { padding: 28px 27px 33px; min-height: 284px; background: linear-gradient(145deg, #f8fcfe, #fff 67%); border: 1px solid #e4eef3; border-radius: 16px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cde5f1; }
.value-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.icon-circle { width: 59px; height: 59px; background: var(--ice); color: var(--blue); border-radius: 50%; display: grid; place-items: center; }
.icon-circle svg { width: 29px; height: 29px; stroke-width: 1.55; }
.card-number { font-size: 11px; color: var(--muted); font-weight: 700; }
.value-card h3 { font-size: 20px; margin-bottom: 15px; }
.value-card p { font-size: 13px; color: var(--muted); line-height: 1.58; margin-bottom: 0; }

/* Partner cards */
.section-partners { background: linear-gradient(135deg, #e9f5fa, #f4f9fc 48%, #eaf5f9); }
.partners-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.partner-card { background: #fff; overflow: hidden; border-radius: 17px; border: 1px solid #e5eef4; box-shadow: 0 12px 32px rgba(11,67,103,.04); transition: transform .25s ease, box-shadow .25s ease; }
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(11,67,103,.1); }
.partner-card-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px 0; }
.small-label { color: var(--blue-deep); background: #eff9fc; padding: 7px 11px; border-radius: 100px; font-size: 10px; letter-spacing: .035em; font-weight: 750; }
.partner-serial { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.partner-card-body { padding: 26px 28px 30px; position: relative; min-height: 298px; display: flex; align-items: stretch; }
.partner-copy { position: relative; z-index: 2; width: 65%; display: flex; flex-direction: column; align-items: flex-start; }
.partner-logo { height: 53px; display: flex; align-items: center; font-weight: 830; font-size: 31px; line-height: .95; margin-bottom: 23px; letter-spacing: -.03em; }
.partner-logo small { font-weight: 500; font-size: 11px; letter-spacing: .26em; display: block; margin-top: 4px; }
.sbm-logo img { width: auto; height: 46px; max-width: 100%; }
.optopol-logo img { width: auto; height: 36px; max-width: 100%; }
.partner-copy h3 { font-size: 19px; margin-bottom: 12px; }
.partner-copy p { color: var(--muted); font-size: 12.5px; line-height: 1.55; max-width: 260px; margin-bottom: 20px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--blue); font-size: 12px; font-weight: 750; margin-top: auto; }
.text-link svg { width: 15px; height: 15px; }
.product-image { position: absolute; z-index: 1; width: 36%; height: 76%; bottom: 7px; right: 14px; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; filter: drop-shadow(0 9px 13px rgba(30,66,78,.12)); transition: transform .3s ease; }
.partner-card:hover .product-image { transform: translateY(-4px) scale(1.03); }
.optopol-device { right: 9px; width: 35%; }

/* Full-bleed dry eye feature */
.section-dry { position: relative; overflow: hidden; background: linear-gradient(105deg, #052840, #075174 65%, #0b6382); color: #fff; min-height: 530px; isolation: isolate; }
.dry-visual { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 57%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 24%); mask-image: linear-gradient(90deg, transparent 0%, black 24%); }
.dry-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(5,40,64,.24), transparent 50%), linear-gradient(0deg, rgba(2,24,48,.35), transparent 37%); }
.dry-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.dry-rings { position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(204,241,250,.12); width: 700px; height: 700px; left: 48%; top: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.dry-rings::after { content: ""; position: absolute; border: 1px solid rgba(204,241,250,.1); width: 78%; height: 78%; border-radius: 50%; inset: 11%; }
.dry-container { min-height: 530px; display: flex; align-items: center; }
.dry-content { max-width: 562px; padding: 76px 0 79px; position: relative; z-index: 2; }
.eyebrow-light { color: #a9d7e9; }
.eyebrow-light .eyebrow-rule { background: #4bc5ed; }
.dry-content h2 { color: white; font-size: clamp(37px,4vw,54px); }
.dry-content h2 .text-accent { color: #8ae5ff; }
.dry-content > p:not(.eyebrow) { color: #d2e9f2; font-size: 17px; line-height: 1.65; max-width: 480px; margin: 22px 0; }
.dry-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin: 31px 0 33px; }
.dry-keywords span { padding: 8px 13px; border: 1px solid rgba(181,225,241,.26); border-radius: 60px; font-size: 11px; color: #cce9f5; background: rgba(255,255,255,.055); }
.button-white-outline { border-color: rgba(255,255,255,.66); color: #fff; background: rgba(255,255,255,.04); }
.button-white-outline:hover { background: #fff; color: var(--navy); }

/* Segments / professionals */
.section-solutions { background: white; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 21px; }
.solution-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #e3edf2; border-radius: var(--radius); overflow: hidden; transition: transform .26s ease, box-shadow .26s ease; }
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.solution-body { position: relative; flex: 1 0 275px; padding: 30px 29px 21px; display: flex; flex-direction: column; align-items: flex-start; }
.solution-number { position: absolute; top: 32px; right: 29px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.solution-icon { width: 43px; height: 43px; border-radius: 11px; display: grid; place-items: center; background: #ecf8fb; color: var(--blue); margin-bottom: 22px; }
.solution-icon svg { width: 25px; height: 25px; stroke-width: 1.5; }
.solution-body h3 { margin-bottom: 14px; font-size: 24px; }
.solution-body p { color: var(--muted); max-width: 310px; line-height: 1.6; font-size: 13px; margin-bottom: 23px; }
.solution-link { margin-top: auto; display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 12px; font-weight: 750; }
.solution-link svg { width: 15px; height: 15px; }
.solution-picture { position: relative; height: 184px; overflow: hidden; background: #e7f1f5; }
.solution-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transition: transform .5s ease; }
.solution-card:hover .solution-picture img { transform: scale(1.035); }
.solution-picture-yellow { background: #fce775; }
.solution-picture-yellow img { object-position: center 50%; }
/* Il soggetto è a sinistra del centro: nei riquadri stretti il ritaglio laterale deve risparmiarlo */
.solution-picture-left img { object-position: 35% 55%; }

/* Academy */
.section-academy { background: linear-gradient(180deg, var(--cloud), #fff); padding-top: 110px; padding-bottom: 113px; }
.academy-grid { display: grid; grid-template-columns: 47% 53%; align-items: center; gap: 0; }
.academy-copy { padding-right: 65px; }
.academy-copy h2 { font-size: clamp(33px,3.65vw,47px); }
.academy-lead { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 460px; margin: 22px 0 23px; }
.check-list { margin: 0 0 32px; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: start; gap: 12px; color: #40596b; font-size: 13px; }
.check-list li svg { width: 19px; height: 19px; stroke: var(--blue); stroke-width: 2.1; }
.academy-visual { position: relative; height: 472px; border-radius: 20px; background: #cfe5ee; }
.academy-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; border-radius: inherit; }
.academy-caption { position: absolute; left: -42px; bottom: 24px; padding: 15px 20px; background: #fff; box-shadow: 0 14px 38px rgba(5,61,96,.15); border-radius: 13px; display: flex; align-items: center; gap: 13px; color: #4f6a7b; font-size: 12px; line-height: 1.55; }
.academy-caption strong { color: var(--ink); }
.caption-icon { display: grid; place-items: center; width: 42px; height: 42px; background: var(--sky); border-radius: 50%; }
.caption-icon svg { width: 23px; height: 23px; stroke: var(--blue); stroke-width: 1.65; }

/* Contact */
.section-contact { padding: 0 0 90px; background: #fff; }
.contact-panel { position: relative; overflow: hidden; background: linear-gradient(110deg, #e8f7fc 0%, #d9f1fa 70%, #e5f9fe); border: 1px solid #e0f1f7; border-radius: 22px; padding: 66px 75px; display: grid; grid-template-columns: 1fr 330px; gap: 60px; align-items: center; }
.contact-copy { position: relative; z-index: 2; }
.contact-copy h2 { font-size: clamp(37px,4vw,53px); }
.contact-copy p:not(.eyebrow) { color: #526e80; font-size: 15.5px; line-height: 1.65; max-width: 600px; margin: 20px 0 27px; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-aside { padding: 33px 29px; position: relative; z-index: 2; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line); box-shadow: 0 10px 34px rgba(9,74,113,.07); border-radius: 16px; }
.contact-aside-eyebrow { color: var(--blue); font-weight: 750; letter-spacing: .16em; font-size: 10px; }
.contact-aside p { font-size: 20px; font-weight: 780; line-height: 1.35; letter-spacing: -.045em; margin: 16px 0 20px; }
.contact-aside a { color: var(--blue); font-weight: 720; font-size: 12px; display: inline-flex; align-items: center; gap: 9px; }
.contact-aside a svg { width: 15px; height: 15px; }
.contact-aside-lines { height: 3px; width: 38px; display: block; background: var(--blue); border-radius: 2px; margin-top: 24px; }
.contact-curve { position: absolute; border: 1px solid rgba(9,136,187,.2); border-radius: 50%; pointer-events: none; }
.contact-curve-a { width: 470px; height: 470px; right: -260px; top: -90px; }
.contact-curve-b { width: 600px; height: 600px; right: -325px; top: -154px; }

/* Footer */
.footer { background: #092b43; color: #d0e2ea; padding-top: 70px; }
.footer-main { display: grid; grid-template-columns: .91fr 1.28fr .8fr; gap: 60px; padding-bottom: 62px; }
.brand-footer { display: inline-block; }
.footer-logo { width: 240px; }
.footer h2 { color: var(--white); font-size: 13px; line-height: 1.19; font-weight: 760; letter-spacing: .015em; margin: 0 0 18px; }
.footer-contact-col p, .footer-address-col p { color: #a8c5d4; font-size: 12px; line-height: 1.85; margin-bottom: 16px; }
.footer strong { color: #dbeaf0; font-weight: 700; }
.footer a:not(.brand-footer):hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 22px 0 14px; border-top: 1px solid rgba(194,223,236,.17); }
.footer-bottom p { margin: 0; color: #88aabd; font-size: 10.5px; line-height: 1.9; }
.footer-disclaimer { max-width: 760px; margin: 0; padding-bottom: 29px; color: #88aabd; font-size: 10px; line-height: 1.6; }
.back-to-top { font-size: 11px; font-weight: 750; color: #cce9f6; white-space: nowrap; }
/* Link alla pagina privacy: sottolineato anche senza hover, perché nel testo legale non si distinguerebbe */
.footer-bottom p a { text-decoration: underline; text-underline-offset: 3px; }

/* Pagina privacy (privacy/index.html, en/privacy/index.html) */
.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); background: linear-gradient(180deg, var(--cloud), var(--white) 320px); }
.legal-inner { max-width: 760px; }
.legal h1 { margin-bottom: 10px; color: var(--ink-deep); font-size: clamp(32px, 4.2vw, 48px); line-height: 1.12; font-weight: 780; letter-spacing: -.02em; }
.legal-updated { margin-bottom: 36px; color: var(--muted); font-size: 14px; }
.legal h2 { margin: 36px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: clamp(20px, 2.2vw, 24px); line-height: 1.25; letter-spacing: -.01em; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal code { padding: 1px 6px; border-radius: 5px; background: var(--sky); color: var(--ink-deep); font-family: ui-monospace, Consolas, "Courier New", monospace; font-size: .92em; }

/* Tablet */
@media (max-width: 1190px) {
  :root { --header-height: 96px; }
  .container { width: min(var(--container), calc(100% - 64px)); }
  .header-inner { gap: 20px; }
  .brand-mark { height: 64px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 11.5px; }
  .header-cta { font-size: 10.5px; padding: 0 14px; }
  .hero-image-frame { right: -74px; }
  .hero-annotation { left: -14px; }
  .section-intro-split, .partners-intro, .solutions-intro { gap: 36px; }
  .partner-copy { width: 68%; }
  .product-image { right: 4px; width: 32%; }
  .contact-panel { padding: 58px 55px; grid-template-columns: 1fr 295px; gap: 34px; }
}
@media (max-width: 1050px) {
  .header-inner { justify-content: space-between; }
  .main-nav { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 0; background: #fff; box-shadow: 0 18px 30px rgba(10,58,89,.1); border-top: 1px solid #e8f1f6; padding: 20px max(32px, calc((100vw - var(--container))/2)); display: none; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-size: 14px; padding: 12px 6px; border-bottom: 1px solid #edf4f7; }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: flex; }
  .hero-inner { min-height: 575px; }
  .hero-copy { padding-top: 112px; }
  .hero h1 { font-size: clamp(55px,6vw,72px); }
  .hero-lead { font-size: 18px; }
  .hero-art { margin-right: -10px; }
  .values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .value-card { min-height: 230px; }
  .solutions-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .solution-card:last-child { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
  .solution-card:last-child .solution-picture { height: 100%; min-height: 310px; }
  .academy-grid { grid-template-columns: 49% 51%; }
  .academy-copy { padding-right: 42px; }
  .academy-visual { height: 440px; }
}
@media (max-width: 780px) {
  :root { --header-height: 84px; }
  .brand-mark { height: 56px; }
  .container { width: calc(100% - 44px); }
  .section { padding: 79px 0; }
  .hero-inner { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 73px 0 35px; }
  .hero h1 { font-size: clamp(53px,9vw,77px); }
  .hero-lead { max-width: 540px; }
  .hero-art { margin: 0 auto; width: min(100%,650px); height: 425px; }
  .hero-image-frame { inset: 0 -35px 0 10px; border-radius: 40% 40% 8% 42% / 43% 40% 10% 46%; -webkit-mask-image: linear-gradient(90deg, transparent, black 10%); mask-image: linear-gradient(90deg, transparent, black 10%); }
  .orbit { left: 56%; top: 46%; }
  .hero-annotation { bottom: 24px; left: 0; }
  .hero-footnote { margin-top: 28px; }
  .hero-bottom { display: none; }
  .trust-inner { flex-wrap: wrap; gap: 9px 17px; justify-content: center; padding: 21px 0; min-height: 65px; }
  .trust-inner span { white-space: nowrap; }
  .section-intro-split, .partners-intro, .solutions-intro { grid-template-columns: 1fr; gap: 18px; }
  .section-description { max-width: 600px; }
  .partners-grid { grid-template-columns: 1fr; }
  .partner-card-body { min-height: 295px; }
  .product-image { width: 35%; right: 35px; }
  .section-dry, .dry-container { min-height: 595px; }
  .dry-visual { width: 85%; right: -22%; opacity: .7; }
  .dry-container { position: relative; }
  .dry-container::before { content: ""; position: absolute; z-index: 1; inset: 0 -40px; background: linear-gradient(90deg, rgba(5,40,64,.83), rgba(5,40,64,.53) 65%, transparent); }
  .dry-content { max-width: 550px; }
  .academy-grid { grid-template-columns: 1fr; gap: 43px; }
  .academy-copy { padding-right: 0; }
  .academy-visual { height: 390px; }
  .academy-caption { left: 18px; }
  .contact-panel { grid-template-columns: 1fr; padding: 50px 39px; gap: 30px; }
  .contact-aside { width: min(100%,480px); }
  .footer-main { grid-template-columns: repeat(2,1fr); gap: 30px; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 610px) {
  .container { width: calc(100% - 36px); }
  .header-inner { gap: 12px; }
  .brand-mark { height: 48px; }
  .footer-logo { width: 200px; }
  .header-cta { display: none; }
  .lang-switch { margin-left: auto; }
  .hero-copy { padding-top: 59px; }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: .11em; margin-bottom: 27px; }
  .hero h1 { font-size: clamp(47px, 10.2vw, 61px); }
  .hero-lead { font-size: 17px; line-height: 1.55; margin-bottom: 27px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { min-height: 48px; padding: 0 17px; }
  .hero-art { height: 345px; }
  .hero-image-frame { right: -18px; }
  .orbit { width: 310px; height: 310px; }
  .orbit-two { width: 230px; height: 230px; }
  .orbit-three { width: 150px; height: 150px; }
  .hero-annotation { bottom: 16px; padding: 10px 14px; }
  .trust-inner { display: none; }
  .trust-strip { height: 1px; }
  .section { padding: 73px 0; }
  .eyebrow { font-size: 10px; margin-bottom: 17px; }
  h2 { font-size: clamp(31px,8.7vw,40px); }
  .section-intro { margin-bottom: 31px; }
  .section-description { font-size: 14px; line-height: 1.6; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .value-card { padding: 20px 18px; min-height: 245px; }
  .value-top { margin-bottom: 18px; }
  .icon-circle { width: 47px; height: 47px; }
  .icon-circle svg { width: 23px; height: 23px; }
  .value-card h3 { font-size: 17px; }
  .value-card p { font-size: 12px; }
  .partner-card-head { padding: 22px 20px 0; }
  .partner-card-body { padding: 24px 20px 26px; min-height: 295px; }
  .partner-copy { width: 67%; }
  .partner-copy h3 { font-size: 17px; }
  .partner-copy p { font-size: 12px; }
  .partner-logo { font-size: 26px; }
  .product-image { width: 35%; right: 5px; }
  .section-dry, .dry-container { min-height: 555px; }
  .dry-content { padding: 70px 0; }
  .dry-content h2 { font-size: clamp(35px, 8vw, 45px); }
  .dry-content > p:not(.eyebrow) { font-size: 15px; max-width: 410px; }
  .dry-visual { right: -32%; width: 100%; }
  .solutions-grid { grid-template-columns: 1fr; gap: 17px; }
  .solution-card:last-child { grid-column: auto; display: flex; }
  .solution-card:last-child .solution-picture { height: 184px; min-height: 0; }
  .solution-body { flex-basis: auto; min-height: 275px; }
  .academy-visual { height: 300px; }
  .academy-caption { left: 12px; bottom: 12px; padding: 10px 14px; }
  .contact-panel { padding: 38px 24px; }
  .contact-copy p:not(.eyebrow) { font-size: 14px; }
  .contact-actions { flex-wrap: wrap; }
  .contact-actions .button { font-size: 12px; min-height: 47px; }
  .contact-aside { padding: 24px 19px; }
  .section-contact { padding-bottom: 62px; }
  .footer { padding-top: 47px; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; padding-bottom: 32px; }
  .footer-brand-col { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: start; }
}
@media (max-width: 390px) {
  /* sui telefoni più stretti «Uno sguardo» non sta su una riga a 47 px */
  .hero h1 { font-size: min(47px, 13.5vw); }
  .hero-actions .button { width: 100%; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 0; }
  .partner-copy { width: 72%; }
  .partner-card-body { min-height: 335px; }
  .product-image { width: 33%; right: -3px; }
  .partner-logo { font-size: 25px; }
  .contact-actions .button { width: 100%; }
}
@media (max-width: 359px) {
  /* telefoni molto stretti: logo, selettore di lingua e menu devono stare su una riga */
  .header-inner { gap: 8px; }
  .brand-mark { height: 40px; }
  .lang-switch a { min-width: 30px; padding: 0 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
