/* Farmacia Torsello — "L'Albero della Salute" (home v2) */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0d1a13;
  --paper: #f4f1e8;
  --deep: #041a12;
  --deep-2: #0a2e20;
  --green: #3aaa35;
  --lime: #c6e36b;
  --lime-2: #9ccc3c;
  --trunk: #8a8c8f;
  --muted: #5d6b62;
  --line: rgba(13, 26, 19, .12);
  --sky-a: #0b3a28;
  --sky-b: #041a12;
  --glow: rgba(198, 227, 107, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --fs: 17px;
}
html[data-tod="alba"] { --sky-a: #2f5e3b; --sky-b: #0b2a1d; --glow: rgba(255, 196, 120, .35); }
html[data-tod="giorno"] { --sky-a: #14583a; --sky-b: #062619; --glow: rgba(198, 227, 107, .3); }
html[data-tod="sera"] { --sky-a: #4a3a22; --sky-b: #0d1f17; --glow: rgba(255, 150, 80, .32); }
html[data-tod="notte"] { --sky-a: #0a2230; --sky-b: #030d0a; --glow: rgba(125, 211, 252, .18); }
html.a11y-large { --fs: 20px; }
html.a11y-contrast { --muted: #1a1a1a; --line: rgba(0, 0, 0, .5); --paper: #fff; }
html.a11y-contrast .hero, html.a11y-contrast .live, html.a11y-contrast .story, html.a11y-contrast .sun, html.a11y-contrast .numbers, html.a11y-contrast .foot { --sky-a: #000; --sky-b: #000; background: #000 !important; }
html.a11y-contrast .muted, html.a11y-contrast .live span { color: #fff !important; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 var(--fs)/1.6 "Inter", system-ui, sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Outfit", sans-serif; font-weight: 600; letter-spacing: -.035em; line-height: 1; margin: 0 0 .4em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
p { margin: 0 0 1em; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--lime); color: var(--deep); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.accent { color: var(--lime); }
.kicker { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; font: 600 .78rem/1 "Outfit"; letter-spacing: .2em; text-transform: uppercase; }
.kicker span { padding: 8px 12px; border-radius: 999px; border: 1px solid currentColor; opacity: .85; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer; background: var(--ink); color: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.btn--lime { background: var(--lime); color: var(--deep); }
.btn--rose { background: #e0679b; color: #fff; }
.btn--sun { background: #f2b84b; color: #2a1a00; }
.btn--sky { background: #7dd3fc; color: #04202e; }

/* Barra */
.bar { position: fixed; z-index: 120; top: 14px; left: 50%; transform: translateX(-50%); width: min(1280px, calc(100% - 24px)); display: flex; align-items: center; gap: 16px; padding: var(--bp); border-radius: 999px; background: rgba(4, 26, 18, .55); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .12); color: #fff; --d: 84px; --ph: 56px; --bp: 10px; transition: background .4s, --d .4s var(--ease), --ph .4s var(--ease), --bp .4s var(--ease); }
.bar.is-compact { --d: 50px; --ph: 44px; --bp: 6px; }
.bar.is-light { background: rgba(244, 241, 232, .82); color: var(--ink); border-color: var(--line); }
/* il cerchio del logo è concentrico all'estremità dell'ovale bianco: nel PNG il cerchio è alto 306 px su 372, parte da y=10 e x=0 */
@property --d { syntax: "<length>"; inherits: true; initial-value: 84px; }
@property --ph { syntax: "<length>"; inherits: true; initial-value: 56px; }
@property --bp { syntax: "<length>"; inherits: true; initial-value: 10px; }
.bar__logo { --m: calc(var(--d) * .075); flex: none; display: block; height: calc(var(--d) + 2 * var(--m)); padding: 0 calc(var(--d) * .3) 0 var(--m); background: #fff; border-radius: 999px; overflow: hidden; }
.bar__logo img { height: calc(var(--d) * 1.2157); width: auto; max-width: none; display: block; margin: calc(var(--m) - var(--d) * .0327) calc(var(--d) * -.114) 0 0; }
.bar__status { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; margin-right: auto; min-width: 0; line-height: 1.25; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa59f; flex: none; }
.dot.is-open { background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: pulse 2s infinite; }
.dot.is-closed { background: #f87171; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.bar__actions { display: flex; gap: 8px; margin-left: auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; height: var(--ph); padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: 1rem; background: rgba(255, 255, 255, .1); }
.bar.is-light .pill { background: rgba(13, 26, 19, .06); }
.pill--wa { background: #25d366 !important; color: #06321a; }
.pill--menu { background: var(--lime) !important; color: var(--deep); }
.aa { font-family: "Outfit"; font-weight: 700; }
.burger, .burger::before { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease); }
.burger::before { content: ""; position: absolute; top: 6px; width: 12px; }
.burger { margin-top: -6px; }
.menu-open .burger { transform: translateY(3px) rotate(45deg); }
.menu-open .burger::before { width: 18px; top: 0; transform: rotate(-90deg); }
.a11y { position: absolute; right: 8px; top: calc(100% + 10px); background: #fff; color: var(--ink); border-radius: 18px; padding: 16px 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); display: grid; gap: 10px; min-width: 220px; }
.a11y[hidden] { display: none; }
.a11y p { margin: 0; font-weight: 700; font-family: "Outfit"; }
.a11y label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.a11y input { width: 20px; height: 20px; accent-color: var(--green); }

.menu { position: fixed; inset: 0; z-index: 110; background: var(--deep); color: #fff; clip-path: circle(0 at calc(100% - 60px) 40px); transition: clip-path .8s var(--ease); display: flex; align-items: center; overflow-y: auto; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 60px) 40px); }
.menu-open { overflow: hidden; }
.menu__inner { width: min(1280px, 100%); margin: 0 auto; padding: 120px var(--gutter) 40px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list a { display: flex; align-items: baseline; gap: 18px; font: 600 clamp(2rem, 5.5vw, 4.4rem)/1.08 "Outfit"; letter-spacing: -.04em; padding: 4px 0; transition: color .25s, transform .4s var(--ease); }
.menu__list a:hover { color: var(--lime); transform: translateX(14px); }
.menu__list small { font-size: .9rem; letter-spacing: .1em; color: var(--lime); font-weight: 500; }
.menu__side { color: #b9cbbf; }
.menu__side a:not(.btn) { color: #fff; }

/* Hero */
.hero { position: relative; min-height: 100svh; color: #fff; overflow: hidden; isolation: isolate; display: grid; align-items: center; padding: 170px var(--gutter) 90px; background: var(--sky-b); }
.hero__video { position: absolute; inset: 0; z-index: -4; }
.hero__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__sky { position: absolute; inset: 0; z-index: -3; opacity: .62; background: radial-gradient(120% 90% at 75% 20%, var(--sky-a), var(--sky-b) 70%); transition: background 1s; }
.hero__glow { position: absolute; z-index: -2; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); left: var(--mx, 70%); top: var(--my, 40%); transform: translate(-50%, -50%); pointer-events: none; transition: left .6s var(--ease), top .6s var(--ease); }
.tree { position: absolute; z-index: -1; right: 2vw; bottom: -3svh; height: 76svh; width: auto; max-width: none; opacity: .5; overflow: visible; filter: drop-shadow(0 0 60px rgba(198, 227, 107, .18)); }
.tree__wood { fill: #6a6a69; }
.tree__grow { transform-box: view-box; transform-origin: 36.5px 67.4px; transform: scale(0); animation: grow 2.6s .2s cubic-bezier(.35, .1, .45, 1) forwards; }
.tree__body .lf { fill: #42aa3f; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .7s var(--ease) forwards; animation-delay: var(--d); }
.tree__body { transform-box: view-box; transform-origin: 36.5px 67.4px; animation: sway 7s 3s ease-in-out infinite alternate; }
@keyframes grow { to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 60% { transform: scale(1.25); } to { transform: scale(1); } }
@keyframes sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
.hero__content { width: min(1280px, 100%); margin: 0 auto; }
.hero .kicker { color: var(--lime); }
.mega { font-size: clamp(3.4rem, 11vw, 10rem); line-height: .9; letter-spacing: -.055em; margin-bottom: 40px; max-width: 9ch; }
.mega .line { display: block; overflow: hidden; padding-bottom: .06em; }
.mega .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.mega .line:nth-child(2) > span { animation-delay: .12s; }
.mega .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }

.ask { max-width: 680px; opacity: 0; animation: fade 1s .6s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }
.ask__label { display: block; font: 600 1.1rem "Outfit"; margin-bottom: 12px; color: #e3eedd; }
.ask__field { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 24px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.ask__field input { flex: 1; min-width: 0; border: 0; background: none; font-size: 1.08rem; padding: 12px 0; }
.ask__field input:focus { outline: 0; }
.ask__field:focus-within { box-shadow: 0 0 0 4px rgba(198, 227, 107, .6), 0 20px 60px rgba(0, 0, 0, .35); }
.ask__go { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--deep); color: var(--lime); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .3s var(--ease); }
.ask__go:hover { transform: rotate(-45deg); }
.ask__go svg { width: 22px; }
.ask__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ask__chips button { border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; padding: 9px 15px; border-radius: 999px; cursor: pointer; font-size: .9rem; transition: background .2s, border-color .2s; }
.ask__chips button:hover { background: rgba(198, 227, 107, .18); border-color: var(--lime); }
.answer { margin-top: 18px; padding: 22px 24px; border-radius: 24px; background: rgba(4, 26, 18, .72); border: 1px solid rgba(198, 227, 107, .35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: fade .4s var(--ease); }
.answer h3 { font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 8px; color: var(--lime); }
.answer p { color: #d6e3da; margin-bottom: 14px; }
.answer ul { margin: 0 0 14px; padding-left: 1.1em; color: #d6e3da; }
.answer .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.answer .acts a { padding: 11px 18px; border-radius: 999px; background: #fff; color: var(--deep); font-weight: 600; font-size: .92rem; }
.answer .acts a.wa { background: #25d366; color: #06321a; }
.answer .acts a.alt { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.answer small { display: block; margin-top: 14px; color: #93a99b; font-size: .8rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(255, 255, 255, .5); transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: #fff; transform: translateX(-50%); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* Striscia viva */
.live { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--deep); color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); }
.live__item { padding: 30px var(--gutter); border-right: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 6px; }
.live__item:last-child { border-right: 0; }
.live small { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: var(--lime); font-weight: 600; }
.live b { font: 600 clamp(1.4rem, 2.3vw, 2rem)/1.1 "Outfit"; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.live span { color: #93a99b; font-size: .88rem; }
.live b span { color: inherit; font-size: inherit; }

/* Manifesto */
.manifesto { padding: clamp(90px, 14vw, 180px) var(--gutter); max-width: 1280px; margin: 0 auto; }
.manifesto__text { font: 500 clamp(1.7rem, 4vw, 3.4rem)/1.18 "Outfit"; letter-spacing: -.03em; margin-bottom: 56px; }
.manifesto__text .w { opacity: .14; transition: opacity .4s; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__foot { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line); }
.manifesto__foot img { height: 54px; width: auto; }
.manifesto__foot p { margin: 0; max-width: 60ch; color: var(--muted); }

/* Rami (orizzontale) */
.branches { position: relative; height: 500vh; background: var(--paper); }
.branches__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.branches__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 100px var(--gutter) 0; max-width: 1280px; width: 100%; margin: 0 auto; }
.branches__head .kicker { margin: 0; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.branches__progress { flex: 1; max-width: 320px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.branches__progress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--green); }
.branches__track { flex: 1; display: flex; width: 500vw; transform: translateX(calc(var(--p, 0) * -400vw)); will-change: transform; }
.branch { width: 100vw; flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 24px max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))) 48px; }
.branch__media { height: min(64vh, 600px); border-radius: 36px; overflow: hidden; position: relative; }
.branch__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 40%, color-mix(in srgb, var(--c) 45%, transparent)); }
.branch__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.branch.is-active .branch__media img { transform: scale(1); }
.branch__media--soft { background: #fff; }
.branch__media--soft::after { display: none; }
.branch__media--soft img { object-fit: cover; object-position: center top; }
.branch__num { display: inline-block; font: 600 1rem "Outfit"; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #000); margin-bottom: 16px; padding-left: 18px; position: relative; }
.branch__num::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--c); transform: translateY(-50%); }
.branch h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.branch p { color: var(--muted); max-width: 54ch; }
.tags { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 7px; }
.tags li { padding: 7px 12px; border-radius: 999px; font-size: .84rem; background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 40%, #000); }

/* Dietro il banco */
.story { position: relative; height: 400vh; background: var(--deep-2); color: #fff; }
.story__sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 90px max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))) 40px; }
.story .kicker { color: var(--lime); }
.story__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.story__steps li { padding: 18px 22px 18px 26px; border-left: 3px solid rgba(255, 255, 255, .12); color: #7f978a; transition: color .4s, border-color .4s, background .4s; border-radius: 0 16px 16px 0; }
.story__steps li b { display: block; font: 600 clamp(1.3rem, 2.4vw, 1.9rem)/1.15 "Outfit"; letter-spacing: -.02em; margin-bottom: 4px; color: #a9bfb1; transition: color .4s; }
.story__steps li.on { color: #d9e7dd; border-color: var(--lime); background: rgba(198, 227, 107, .07); }
.story__steps li.on b { color: #fff; }
.stage svg { width: 100%; height: auto; }
.stage__robot rect { fill: #0d3a29; stroke: rgba(198, 227, 107, .3); stroke-width: 2; }
.stage__shelves rect { fill: rgba(255, 255, 255, .1); transition: fill .4s; }
.stage__shelves rect.hit { fill: var(--lime); }
.stage__arm { fill: #7dd3fc; transition: transform 1s var(--ease); }
.stage__counter { fill: #1c5a3f; }
.stage__box { fill: var(--lime); opacity: 0; transition: transform 1.1s var(--ease), opacity .4s; }
.stage__phone rect { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .3); stroke-width: 2; transition: fill .4s, stroke .4s; }
.stage__phone rect + rect { fill: rgba(255, 255, 255, .25); stroke: none; }
.stage__sun circle { fill: #f2b84b; opacity: .2; transition: opacity .6s; }
.stage__sun .rays path { stroke: #f2b84b; stroke-width: 4; stroke-linecap: round; opacity: 0; transition: opacity .6s; }
.stage__wire { fill: none; stroke: #f2b84b; stroke-width: 3; stroke-dasharray: 8 8; opacity: 0; transition: opacity .6s; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.stage[data-stage="0"] .stage__phone rect:first-child { fill: rgba(198, 227, 107, .15); stroke: var(--lime); }
.stage[data-stage="1"] .stage__arm { transform: translate(155px, 116px); }
.stage[data-stage="1"] .stage__box, .stage[data-stage="2"] .stage__box, .stage[data-stage="3"] .stage__box { opacity: 1; }
.stage[data-stage="2"] .stage__box, .stage[data-stage="3"] .stage__box { transform: translate(120px, 170px); }
.stage[data-stage="2"] .stage__arm, .stage[data-stage="3"] .stage__arm { transform: translate(155px, 116px); }
.stage[data-stage="3"] .stage__sun circle { opacity: 1; }
.stage[data-stage="3"] .stage__sun .rays path, .stage[data-stage="3"] .stage__wire { opacity: 1; }
.stage[data-stage="3"] .stage__robot rect { stroke: #f2b84b; }

/* Sole */
.sun { background: radial-gradient(90% 120% at 90% 0%, #123f2c, var(--deep)); color: #fff; padding: clamp(90px, 12vw, 160px) 0; }
.sun__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.sun .kicker { color: var(--lime); }
.big { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.sun .muted { color: #a9bfb1; max-width: 50ch; }
.sun__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0 34px; }
.sun__facts div { padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.sun__facts b { display: block; font: 600 1.9rem/1 "Outfit"; color: var(--lime); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.sun__facts span { font-size: .84rem; color: #a9bfb1; }
.curve { margin: 0; padding: 26px; border-radius: 32px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.curve svg { width: 100%; height: auto; overflow: visible; }
.curve__grid { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.curve__area { fill: rgba(242, 184, 75, .16); }
.curve__line { fill: none; stroke: #f2b84b; stroke-width: 3; stroke-linecap: round; }
.curve__now { fill: #fde047; stroke: rgba(253, 224, 71, .35); stroke-width: 10; }
.curve figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: .9rem; color: #a9bfb1; }
.curve figcaption b { color: #fff; font-weight: 600; }
.curve small { display: block; margin-top: 12px; color: #7f978a; font-size: .78rem; }

/* App + Carta */
.duo { padding: clamp(90px, 12vw, 160px) 0; }
.duo__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.duo article { border-radius: 40px; padding: clamp(28px, 4vw, 52px); position: relative; overflow: hidden; }
.duo__app { background: var(--deep); color: #fff; padding-right: min(42%, 340px) !important; min-height: 560px; }
.duo__app .kicker { color: var(--lime); }
.duo__app p { color: #b9cbbf; }
.duo__phone { position: absolute; right: 36px; bottom: -80px; width: min(36%, 270px); border-radius: 38px; padding: 10px; background: #111; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: rotate(6deg); transition: transform .8s var(--ease); }
.duo__app:hover .duo__phone { transform: rotate(0) translateY(-30px); }
.duo__phone img { border-radius: 30px; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.stores img { height: 46px; width: auto; }
.duo__card { background: linear-gradient(150deg, #e9efff, #fdfbf4); color: #142a6b; }
.duo__card h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.tilt { perspective: 900px; margin: 26px auto; width: min(100%, 340px); position: relative; }
.tilt img { border-radius: 20px; box-shadow: 0 30px 60px rgba(20, 42, 107, .3); transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)); transition: transform .25s ease-out; }
.tilt__shine { position: absolute; inset: 0; border-radius: 20px; pointer-events: none; background: radial-gradient(circle at var(--sx, 30%) var(--sy, 20%), rgba(255, 255, 255, .55), transparent 45%); mix-blend-mode: soft-light; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)); }
.perks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.perks li { padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .7); font-size: .94rem; }
.duo__card .muted { color: #4a5a8a; font-size: .9rem; }

/* Numeri */
.numbers { background: var(--deep); color: #fff; padding: 0 0 clamp(70px, 10vw, 130px); overflow: hidden; }
.marquee { padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: clamp(50px, 8vw, 100px); white-space: nowrap; }
.marquee div { display: inline-block; font: 600 clamp(1.4rem, 3vw, 2.4rem) "Outfit"; color: rgba(255, 255, 255, .22); animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.numbers__grid div { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 22px; }
.numbers__grid b { font: 600 clamp(4rem, 10vw, 9rem)/.9 "Outfit"; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.numbers__grid i { font: 600 clamp(2rem, 4vw, 3.6rem) "Outfit"; color: var(--lime); font-style: normal; vertical-align: top; }
.numbers__grid span { display: block; margin-top: 10px; color: #a9bfb1; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }

/* Chiusura */
.final { padding: clamp(90px, 12vw, 160px) 0; }
.final__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.final__job h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.final__job p { color: var(--muted); font-size: 1.1rem; }
.final__contact { display: grid; gap: 0; border-top: 1px solid var(--line); }
.final__contact > * { display: block; padding: 22px 0; border-bottom: 1px solid var(--line); font: 600 clamp(1.15rem, 2vw, 1.6rem) "Outfit"; letter-spacing: -.02em; transition: padding .3s var(--ease), color .3s; }
.final__contact a:hover { padding-left: 12px; color: var(--green); }
.final__contact small { display: block; font: 600 .72rem "Inter"; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

.foot { background: #020f0a; color: #93a99b; padding: 44px 0; font-size: .88rem; }
.foot__grid { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot__grid > img { width: 54px; }
.foot__grid p { margin: 0; flex: 1; }
.foot a:hover { color: #fff; }
.foot__links { display: flex; gap: 18px; align-items: center; }
.foot__min img { height: 52px; width: auto; border-radius: 6px; background: #fff; padding: 3px; }

/* Turni scorrevoli */
.ticker { position: relative; height: 48px; display: flex; align-items: center; background: var(--lime); color: var(--deep); font-size: .9rem; font-weight: 600; overflow: hidden; }
.ticker--today { background: #fde047; }
.ticker__label { flex: none; height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--deep); color: var(--lime); font: 700 .74rem "Outfit"; letter-spacing: .14em; text-transform: uppercase; }
.ticker--today .ticker__label { color: #fde047; }
.ticker__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
.ticker__viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: inline-flex; white-space: nowrap; animation: marquee 28s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__dup { display: inline-flex; }
.ticker__item { padding: 0 28px; position: relative; }
.ticker__item::after { content: "✦"; position: absolute; right: -6px; opacity: .5; }
.ticker__item.is-today { text-decoration: underline; text-underline-offset: 3px; }
.ticker__item.is-avviso { font-weight: 700; }
.ticker__item.is-avviso::before { content: "● "; color: var(--deep); }
a.ticker__item { color: inherit; text-decoration: none; }
a.ticker__item:hover { text-decoration: underline; }

/* Pulsante Turni nella barra */
.pill--turni { background: rgba(198, 227, 107, .16) !important; color: inherit; }
.pill--turni svg { width: 18px; height: 18px; }
.pill--turni[aria-current="page"] { background: var(--lime) !important; color: var(--deep); }
.bar.is-light .pill--turni { background: rgba(58, 170, 53, .12) !important; }
a.ticker__label { text-decoration: none; }
a.ticker__label:hover { filter: brightness(1.2); }

/* Calendario turni */
.cal-sec { padding-top: clamp(50px, 7vw, 90px); }
.cal { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; }
.cal__main, .cal__day { background: #fff; border-radius: 32px; padding: clamp(20px, 3vw, 34px); }
.cal__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal__month { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cal__nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__quick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.cal__quick button { border: 1px solid var(--line); background: #fafaf6; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.cal__quick button:hover { border-color: var(--green); }
.cal__head, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__head span { text-align: center; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-bottom: 6px; }
.cal__d { aspect-ratio: 1; border-radius: 16px; border: 1.5px solid transparent; background: #f3f1e8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; font: inherit; transition: transform .2s, background .2s, border-color .2s; }
.cal__d b { font: 600 clamp(1rem, 1.8vw, 1.3rem) "Outfit"; }
.cal__d small { font-size: .7rem; line-height: 1; color: var(--muted); min-height: .7rem; }
.cal__d.has { background: #e4efd5; }
.cal__d.has:hover { transform: translateY(-2px); }
.cal__d.empty { opacity: .45; }
.cal__d.noi { background: var(--lime); }
.cal__d.noi small { color: var(--deep); }
.cal__d.today { border-color: var(--deep); }
.cal__d.sel { background: var(--deep); color: #fff; }
.cal__d.sel small { color: var(--lime); }
.cal__legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: .84rem; color: var(--muted); }
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 5px; vertical-align: -2px; margin-right: 6px; }
.lg--noi { background: var(--lime); } .lg--dati { background: #e4efd5; }
.cal__day { position: sticky; top: 110px; }
.cal__day h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cal__rel { font: 700 .7rem "Inter"; letter-spacing: .12em; text-transform: uppercase; background: var(--lime); color: var(--deep); padding: 4px 10px; border-radius: 99px; }
.cal__noi { background: var(--deep); color: var(--lime); padding: 12px 16px; border-radius: 16px; font-weight: 600; }
.cal__sec { margin-top: 18px; }
.cal__sech { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.cal__sech b { font: 600 1.05rem "Outfit"; }
.cal__sech span { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.cal__sec--notturno .cal__sech b::before { content: "☾ "; }
.cal__sec ul { list-style: none; margin: 0; padding: 0; }
.cal__sec li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cal__sec li b { display: block; font-weight: 600; }
.cal__sec li span { display: block; color: var(--muted); font-size: .88rem; }
.cal__sec li a { flex: none; font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: #f3f1e8; }
.cal__sec li a:hover { background: var(--lime); }
.cal__sec li.is-noi { background: #f1f8e4; margin: 0 -12px; padding: 12px; border-radius: 14px; }
.cal__note { margin: 26px 0 6px; color: var(--muted); font-size: .9rem; max-width: 90ch; }
.cal__src { color: var(--muted); font-size: .82rem; }

/* Banner fotovoltaico */
.sun__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.sun__head h2 { margin: 0; max-width: 14ch; }
.pv-badge { background: rgba(255, 255, 255, .08); }
.pv-badge.is-live { background: #4ade80; color: #04220f; border-color: #4ade80 !important; opacity: 1 !important; }
.sun__now { display: flex; align-items: center; gap: 22px; }
.sun__now b { display: block; font: 600 clamp(3.6rem, 8vw, 6.4rem)/.9 "Outfit"; letter-spacing: -.05em; color: #fde047; font-variant-numeric: tabular-nums; }
.sun__now b small { font-size: .35em; letter-spacing: 0; color: #fff; }
.sun__now > div > span { color: #a9bfb1; font-size: .92rem; }
.sun__orb { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, #fde047 30%, #f59e0b 60%, transparent 62%); position: relative; flex: none; }
.sun__orb::before, .sun__orb i { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed rgba(253, 224, 71, .45); animation: spin 18s linear infinite; }
.sun__orb i { inset: -30px; border-style: dotted; animation-duration: 30s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.pv-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border-radius: 28px; overflow: hidden; margin-bottom: 20px; }
.pv-kpis > div { background: #072a1d; padding: 22px 20px; }
.pv-kpis small { display: block; color: #a9bfb1; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
.pv-kpis b { font: 600 clamp(1.5rem, 2.4vw, 2.1rem)/1 "Outfit"; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.pv-kpis b i { font-style: normal; font-size: .55em; color: #a9bfb1; }
.pv-kpis .is-green b { color: var(--lime); }
.sun__charts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sun__charts:has(.bars[hidden]) { grid-template-columns: 1fr; }
.curve__title { font: 600 .78rem "Outfit" !important; letter-spacing: .14em; text-transform: uppercase; color: var(--lime) !important; margin: 0 0 14px !important; }
.bars { margin: 0; padding: 26px; border-radius: 32px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.bars__plot { display: flex; align-items: flex-end; gap: 6px; height: 240px; }
.bars__col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.bars__col i { display: block; width: 100%; height: var(--h); min-height: 3px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #fde047, #3aaa35); transition: height 1s var(--ease); }
.bars__col:last-child i { background: linear-gradient(180deg, #fff, var(--lime)); }
.bars__col small { color: #a9bfb1; font-size: .72rem; }
.pv-note { color: #7f978a; font-size: .82rem; margin: 18px 0 28px; max-width: 90ch; }

/* Orari + volantino */
.info { padding: clamp(70px, 9vw, 120px) 0 0; }
.info__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; }
.info__grid > * { min-width: 0; }
.hours2__turni .ticker__viewport { min-width: 0; }
.hours2, .flyer { border-radius: 40px; padding: clamp(28px, 4vw, 48px); }
.hours2 { background: #fff; }
.hours2 .kicker { color: var(--green); }
.hours2 h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.hours2__rows { border-top: 1px solid var(--line); margin: 22px 0 18px; }
.hours2__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); font: 500 clamp(1.1rem, 1.8vw, 1.4rem) "Outfit"; }
.hours2__row small { display: block; font: 400 .82rem "Inter"; color: var(--muted); }
.hours2__row b { font-weight: 600; white-space: nowrap; }
.hours2__row.is-today { background: var(--lime); border-radius: 16px; padding-left: 16px; padding-right: 16px; border-color: transparent; }
.hours2__row.is-today small { color: var(--deep); }
.hours2__turni { display: flex; align-items: center; height: 46px; border-radius: 16px; overflow: hidden; background: #fff4d6; color: #5a3d00; font-weight: 600; font-size: .95rem; margin-bottom: 18px; text-decoration: none; }
.hours2__turni[hidden] { display: none; }
.hours2__turni-label { flex: none; height: 100%; display: flex; align-items: center; padding: 0 14px; background: #f2b84b; color: #2a1a00; font: 700 .72rem "Outfit"; letter-spacing: .12em; text-transform: uppercase; }
.hours2__turni .ticker__item::after { opacity: .4; }
.hours2__wa { display: flex; gap: 18px; align-items: center; }
.hours2__wa img { width: 92px; border-radius: 14px; border: 1px solid var(--line); padding: 4px; flex: none; }
.hours2__wa p { margin: 0; color: var(--muted); font-size: .95rem; }
.hours2__wa a { color: var(--green); font-weight: 600; }
.flyer { background: linear-gradient(150deg, #1e3a8a, #12256b); color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.flyer::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(156, 204, 60, .25); }
.flyer__benu { height: 44px; width: auto; background: #fff; border-radius: 12px; padding: 6px 12px; margin-bottom: 26px; align-self: flex-start; }
.flyer .kicker { color: #c7d6ff; }
.flyer h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.flyer .muted { color: #c7d6ff; }
.flyer .btnrow { margin-top: auto; padding-top: 12px; position: relative; z-index: 1; }
.flyer .btn--dark { background: #fff; color: #12256b; }
.flyer__cover { display: block; margin: 8px 0 18px; border-radius: 18px; overflow: hidden; max-height: 340px; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); position: relative; z-index: 1; }
.flyer__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Visione */
.vision { background: var(--deep-2); color: #fff; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.vision__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.vision__logo { position: relative; }
.vision__logo > img:first-child { width: 100%; max-width: 440px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .4)); }
.vision__cn { width: 210px; background: #fff; border-radius: 16px; padding: 10px 14px; margin-top: 24px; }
.vision .kicker { color: var(--lime); }
.vision .readmore__body { color: #c3d4c9; }
.vision .readmore__btn { color: var(--lime); }
.vision__quote { margin: 30px 0; font: 500 clamp(1.2rem, 2vw, 1.6rem)/1.4 "Outfit"; border-left: 3px solid var(--lime); padding-left: 22px; color: #fff; }

/* ===== Pagine interne ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.btn--dark { background: var(--deep); color: var(--lime); }
.btn--wa { background: #25d366; color: #06321a; }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 18px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; }

.phero { position: relative; min-height: 86svh; color: #fff; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: 180px var(--gutter) clamp(56px, 8vw, 100px); background: var(--sky-b); }
.phero--short { min-height: 0; padding-top: 150px; }
.phero__img { position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: 58%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.phero__img img { width: 100%; height: 100%; object-fit: cover; opacity: .8; animation: zoom 14s ease-out forwards; }
@keyframes zoom { from { transform: scale(1.15); } to { transform: scale(1); } }
.phero__in { width: min(1280px, 100%); margin: 0 auto; position: relative; }
.phero .kicker { color: var(--lime); }
.mega--page { font-size: clamp(3rem, 8.6vw, 7.6rem); max-width: 12ch; margin-bottom: 26px; }
.phero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #d3e2d8; max-width: 56ch; margin: 0; opacity: 0; animation: fade 1s .5s var(--ease) forwards; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: #a9bfb1; margin-bottom: 20px; }
.crumbs a:hover { color: #fff; }

.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec--dark { background: var(--deep); color: #e3eee7; }
.sec--dark .kicker { color: var(--lime); }
.sec--dark .muted, .sec--dark .lead { color: #b9cbbf; }
.sec--paper2 { background: #ebe7da; }
.sec--rose { background: linear-gradient(180deg, #fff1f6, #fbe4ee); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--top { align-items: start; }
.sec h2 { max-width: 18ch; }

.rv-on .rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv-on .rv.in { opacity: 1; transform: none; }

.portrait { position: relative; border-radius: 40px; overflow: hidden; background: radial-gradient(circle at 50% 75%, #fff, #e3efcf); aspect-ratio: 4 / 5; }
.portrait > img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.portrait__tag { position: absolute; left: 18px; bottom: 18px; display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-weight: 600; font-size: .88rem; }
.portrait__tag img { width: 28px; }
.photo { border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--white { aspect-ratio: auto; background: #fff; padding: 24px; margin-top: 24px; }
.photo--white img { object-fit: contain; }

.numbers--page { padding: clamp(60px, 9vw, 110px) 0; }
.numbers__grid--2 { grid-template-columns: 1fr 1fr; }
.numbers__grid--2 div { border-color: var(--line); }
.numbers__grid--2 b { font-size: clamp(3rem, 7vw, 6rem); color: var(--deep); }
.numbers__grid--2 span { color: var(--muted); }

.years { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); }
.years li { display: grid; grid-template-columns: minmax(120px, 280px) 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.years b { font: 600 clamp(3rem, 7vw, 6rem)/.9 "Outfit"; letter-spacing: -.06em; color: var(--green); }
.years h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.02em; }
.years p { color: var(--muted); margin: 0; max-width: 60ch; }
.years li.is-future b { color: transparent; -webkit-text-stroke: 2px var(--green); }

.jump { position: sticky; top: 0; z-index: 50; background: rgba(4, 26, 18, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 86px 0 14px; margin-top: -72px; }
.jump .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.jump a { flex: none; padding: 10px 16px; border-radius: 999px; color: #fff; font-size: .9rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .2); display: inline-flex; align-items: center; gap: 8px; }
.jump a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.jump a:hover { border-color: var(--c); }
.svc2__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.svc2__head { position: sticky; top: 150px; }
.svc2__icon { width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; margin-bottom: 24px; color: #fff; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 75%, #fff), color-mix(in srgb, var(--c) 80%, #000)); box-shadow: 0 16px 36px color-mix(in srgb, var(--c) 35%, transparent); }
.svc2__icon svg { width: 42px; height: 42px; }
.svc2 .kicker { color: color-mix(in srgb, var(--c) 65%, #000); }
.svc2__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc2__list li { display: flex; gap: 22px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font: 500 clamp(1.1rem, 1.8vw, 1.45rem)/1.3 "Outfit"; letter-spacing: -.01em; transition: padding .35s var(--ease), color .35s; }
.svc2__list li:hover { padding-left: 12px; color: color-mix(in srgb, var(--c) 70%, #000); }
.svc2__list li span { font: 600 .8rem "Inter"; color: var(--c); flex: none; width: 26px; }
.brands { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.brands span { font: 700 .82rem "Outfit"; letter-spacing: .1em; padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 10px; }

.rose__logo { max-width: 320px; margin-bottom: 28px; border-radius: 12px; }
.rose__info p { color: var(--muted); }
.rose__info b { color: var(--ink); }
.rose__air { padding: 20px 22px; border-radius: 20px; background: #fff1f6; color: #6b3a52 !important; }
.treat { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.treat li { background: rgba(255, 255, 255, .75); border-radius: 26px; padding: 26px; font: 500 1.12rem/1.35 "Outfit"; min-height: 170px; display: flex; flex-direction: column; gap: 18px; transition: transform .4s var(--ease), background .4s; }
.treat li:hover { transform: translateY(-6px); background: #fff; }
.treat li span { font: 600 2.2rem/1 "Outfit"; color: #e0679b; letter-spacing: -.04em; }
.lpg { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 48px; }
.lpg img { height: 54px; width: auto; }
.lpg p { margin: 0; color: #6b3a52; max-width: 52ch; }
.product2 { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.product2__img { border-radius: 40px; overflow: hidden; background: #f6ede8; aspect-ratio: 1; }
.product2__img img { width: 100%; height: 100%; object-fit: cover; }
.price2 { display: flex; align-items: baseline; gap: 14px; margin: 6px 0 20px; }
.price2 b { font: 600 2.6rem "Outfit"; letter-spacing: -.03em; }
.price2 s { color: var(--muted); }
.price2 em { font-style: normal; background: #fde2e2; color: #b42318; padding: 5px 10px; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.fine { display: block; color: var(--muted); font-size: .8rem; line-height: 1.5; }

.cn-logo { max-width: 420px; }
.feats { display: grid; gap: clamp(56px, 9vw, 130px); margin-top: clamp(60px, 9vw, 120px); }
.feat { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.feat:nth-child(even) .feat__media { order: 2; }
.feat__media { border-radius: 40px; overflow: hidden; aspect-ratio: 5 / 4; }
.feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.feat:hover .feat__media img { transform: scale(1.05); }
.feat__num { display: block; font: 700 clamp(4rem, 9vw, 8rem)/.85 "Outfit"; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 2px var(--green); margin-bottom: 18px; }
.feat h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.03em; }
.feat p { color: var(--muted); }
.feats--dark { margin-top: 0; }
.feats--dark .feat__num { -webkit-text-stroke-color: #7dd3fc; }
.feats--dark .feat p { color: #b9cbbf; }

.live--page { border-top: 0; }
.meters { display: grid; gap: 26px; margin: 48px 0; }
.meter2 > div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 12px; }
.meter2 span { color: #b9cbbf; }
.meter2 b { font: 600 clamp(1.4rem, 2.6vw, 2.2rem) "Outfit"; color: #fff; white-space: nowrap; }
.meter2 > i { display: block; height: 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.meter2 > i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--g, linear-gradient(90deg, var(--green), var(--lime))); transition: width 1.8s var(--ease); }
.meters.in .meter2 > i::after { width: var(--w); }
.impact2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.impact2 > div { padding: 24px; border-radius: 26px; background: rgba(198, 227, 107, .07); border: 1px solid rgba(198, 227, 107, .2); }
.impact2 img { width: 60px; background: #fff; border-radius: 16px; padding: 8px; margin-bottom: 16px; }
.impact2 b { display: block; font: 600 1.35rem/1.2 "Outfit"; color: #fff; }
.impact2 span { color: #a9bfb1; font-size: .92rem; }
.shots { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-top: 14px; }
.shots img { background: #fff; border-radius: 22px; padding: 10px; width: 100%; }
.bigquote { margin: 0; font: 500 clamp(1.3rem, 2.4vw, 1.9rem)/1.35 "Outfit"; letter-spacing: -.015em; border-left: 3px solid var(--green); padding-left: 24px; }
.readmore__body { max-height: 13em; overflow: hidden; position: relative; transition: max-height .7s var(--ease); color: var(--muted); }
.readmore__body::after { content: ""; position: absolute; inset: auto 0 0; height: 6em; background: linear-gradient(transparent, var(--fade)); transition: opacity .3s; }
.readmore.is-open .readmore__body { max-height: 200em; }
.readmore.is-open .readmore__body::after { opacity: 0; }
.readmore__btn { margin-top: 12px; border: 0; background: none; padding: 0; font-weight: 700; color: var(--green); cursor: pointer; }
.logos { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.logos img { height: 84px; width: auto; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }

.jobs2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.job2 { background: #fff; border-radius: 32px; padding: 32px; display: flex; flex-direction: column; min-height: 320px; transition: transform .4s var(--ease), box-shadow .4s; position: relative; overflow: hidden; }
.job2::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: color-mix(in srgb, var(--c) 22%, transparent); transition: transform .6s var(--ease); }
.job2:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0, 0, 0, .1); }
.job2:hover::before { transform: scale(1.6); }
.job2__n { font: 600 .85rem "Outfit"; letter-spacing: .14em; color: color-mix(in srgb, var(--c) 70%, #000); }
.job2 h3 { font-size: 2rem; margin: 12px 0; }
.job2 p { color: var(--muted); }
.job2 .btn { margin-top: auto; align-self: flex-start; }

.formcard { background: #fff; color: var(--ink); border-radius: 36px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 80px rgba(0, 0, 0, .2); }
.formcard h3 { font-size: 1.6rem; margin-bottom: 20px; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #dfe5dc; background: #fafaf6; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(58, 170, 53, .15); background: #fff; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.consent a { text-decoration: underline; }
.form-msg { display: none; padding: 14px 16px; border-radius: 14px; font-size: .95rem; }
.form-msg.ok { display: block; background: #dcfce7; color: #14532d; }
.form-msg.err { display: block; background: #fee2e2; color: #991b1b; }
.final__contact--dark { border-color: rgba(255, 255, 255, .12); margin-top: 28px; }
.final__contact--dark > * { border-color: rgba(255, 255, 255, .12); color: #fff; }
.final__contact--dark small { color: #93a99b; }
.final__contact--dark a:hover { color: var(--lime); }

.legal { max-width: 820px; }
.legal h2 { font-size: 1.7rem; margin: 2em 0 .6em; max-width: none; letter-spacing: -.02em; }
.legal h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; }

/* Footer v2 */
.foot { padding: clamp(60px, 8vw, 100px) 0 36px; }
.foot__top { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.foot__brand img { width: 74px; margin-bottom: 18px; }
.foot h4 { color: #fff; font: 600 1rem "Outfit"; margin: 0 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.news__row { display: flex; gap: 8px; margin-bottom: 12px; }
.news__row input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); color: #fff; }
.news__row .btn { padding: 12px 18px; }
.foot .consent { color: #7f978a; font-size: .8rem; }
.foot .consent a { color: #c9d8ce; }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 28px; }
.foot__bottom p { margin: 0; }
.foot__min { display: flex; gap: 14px; align-items: center; }
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .45); transition: transform .3s var(--ease); }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 960px) {
  .hide-sm { display: none !important; }
  .bar { gap: 8px; }
  .bar__status { font-size: .78rem; }
  .bar__status span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; }
  .pill { padding: 0 14px; }
  .tree { height: auto; width: 115vw; right: -25vw; bottom: -2svh; opacity: .3; }
  .live { grid-template-columns: 1fr 1fr; }
  .live__item:nth-child(2) { border-right: 0; }
  .live__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .menu__inner { grid-template-columns: 1fr; }
  /* rami e racconto diventano verticali */
  .branches, .story { height: auto; }
  .branches__sticky, .story__sticky { position: static; height: auto; overflow: visible; }
  .branches__progress { display: none; }
  .branches__track { width: auto; transform: none !important; flex-direction: column; }
  .branch { width: auto; grid-template-columns: 1fr; padding: 28px var(--gutter) 40px; }
  .branch__media { height: 46vh; border-radius: 26px; }
  .story__sticky { grid-template-columns: 1fr; padding: 80px var(--gutter); }
  .stage { order: -1; }
  .pv-kpis { grid-template-columns: repeat(2, 1fr); }
  .cal { grid-template-columns: 1fr; }
  .cal__day { position: static; }
  .sun__charts { grid-template-columns: 1fr; }
  .sun__grid, .duo__grid, .final__grid, .info__grid, .vision__grid { grid-template-columns: 1fr; }
  .vision__logo > img:first-child { max-width: 260px; }
  .duo__app { padding-right: clamp(28px, 4vw, 52px) !important; padding-bottom: 380px !important; }
  .duo__phone { right: 50%; transform: translateX(50%) rotate(4deg); width: 230px; bottom: -120px; }
  .duo__app:hover .duo__phone { transform: translateX(50%) translateY(-20px); }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .phero { min-height: 78svh; }
  .phero__img { width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 50%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 50%, transparent); opacity: .55; }
  .split, .svc2__grid, .feat, .product2 { grid-template-columns: 1fr; }
  .svc2__head { position: static; }
  .feat:nth-child(even) .feat__media { order: 0; }
  .treat, .jobs2, .impact2 { grid-template-columns: 1fr; }
  .years li { grid-template-columns: 1fr; gap: 8px; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr; }
  .portrait { aspect-ratio: 4 / 4.4; }
}
@media (max-width: 560px) {
  .bar { --d: 46px; --ph: 46px; --bp: 7px; gap: 6px; }
  .bar.is-compact { --d: 40px; --ph: 42px; --bp: 5px; }
  .pill { padding: 0 13px; }
  .hero { padding-top: 130px; }
  .ask__field { padding-left: 18px; }
  .ask__field input { font-size: 1rem; }
  .ask__chips button:nth-child(n+5) { display: none; }
  .sun__facts { grid-template-columns: 1fr; }
  .live__item { padding: 22px 16px; }
  .form .row, .foot__top { grid-template-columns: 1fr; }
  .news__row { flex-direction: column; }
  .wa-fab { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
  .branches, .story { height: auto; }
  .branches__sticky, .story__sticky { position: static; height: auto; }
  .branches__track { width: auto; transform: none !important; flex-direction: column; }
  .branch { width: auto; }
  .manifesto__text .w { opacity: 1; }
  .marquee div { animation: none; }
  .ticker__track { animation: none; }
  .hero__video video { display: none; }
  .ticker__dup { display: none; }
  .rv-on .rv { opacity: 1; transform: none; }
  .meter2 > i::after { width: var(--w); }
}
@media (max-width: 440px) {
  .bar__status { display: none; }
  .bar__actions { margin-left: auto; }
}
.hours2__voice { margin-top: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(58, 170, 53, .1); font-size: .9rem; }
.foot__note { display: block; margin-top: 4px; opacity: .7; font-size: .82rem; line-height: 1.4; }
.duo__url { margin-top: 12px; font-size: .85rem; }
.branch__app { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); }
.branch__app p { margin: 0; font-size: .92rem; }
.branch__app .stores { margin-top: 10px; }
.branch__app .stores img { height: 40px; }
/* Il nostro modo di essere farmacia */
.values { padding: clamp(80px, 11vw, 150px) 0; background: var(--paper); }
.values__head { max-width: 860px; }
.values__head .kicker { font-size: clamp(1.1rem, 2vw, 1.5rem); }
.values__head h2 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.045em; line-height: .98; margin: .25em 0 .35em; }
.values__head h2 em { font-style: normal; color: var(--green); }
.values__list { list-style: none; margin: clamp(44px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.values__list li { position: relative; padding: 28px 24px 30px; border-radius: 28px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), background .5s var(--ease), color .5s var(--ease); }
.values__list li:hover { transform: translateY(-8px); background: var(--deep); color: #fff; }
.values__list li:hover p { color: #b9cbbf; }
.values__list span { display: block; font: 700 .8rem "Outfit"; letter-spacing: .14em; color: var(--green); margin-bottom: 38px; }
.values__list li:hover span { color: var(--lime); }
.values__list h3 { font-size: 1.35rem; letter-spacing: -.02em; margin: 0 0 .5em; }
.values__list p { margin: 0; color: var(--muted); font-size: .95rem; transition: color .5s var(--ease); }
@media (max-width: 1100px) { .values__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .values__list { grid-template-columns: 1fr; } .values__list span { margin-bottom: 14px; } }
@media (max-width: 1180px) and (min-width: 961px) { .pill { padding: 0 16px; } .bar__status { font-size: .85rem; } [data-a11y] .hide-sm { display: none; } }
.legal mark.todo { background: #fde68a; color: #422006; padding: 0 4px; border-radius: 4px; }
.legal .todo-note { padding: 12px 16px; border-radius: 12px; background: #fef3c7; color: #713f12; font-weight: 500; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); font-weight: 600; }
.legal td { color: var(--muted); }
.legal__logo img { width: 140px; }
@media (max-width: 720px) { .legal table, .legal tbody, .legal tr, .legal td, .legal th { display: block; } .legal tr { padding: 8px 0; border-bottom: 1px solid var(--line); } .legal td, .legal th { border: 0; padding: 2px 0; } }
.live b em.live__unit { font-style: normal; font-size: .72em; font-weight: 500; letter-spacing: 0; }

/* Avviso cookie (solo informativo) */
.cookie { position: fixed; z-index: 95; left: 20px; bottom: 20px; max-width: 460px; display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 18px 50px rgba(0, 0, 0, .18); border: 1px solid var(--line); font-size: .9rem; line-height: 1.45; animation: cookieIn .5s var(--ease) both; }
.cookie p { margin: 0; }
.cookie a { color: var(--green); font-weight: 600; }
.cookie .btn { flex: none; padding: 11px 18px; font-size: .9rem; }
.cookie.is-out { opacity: 0; transform: translateY(20px); transition: opacity .35s, transform .35s; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } }
@media (max-width: 640px) { .cookie { left: 12px; right: 90px; bottom: 12px; max-width: none; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; font-size: .85rem; } }

/* Assistente vocale (home, dopo gli orari) */
  .voice { background: #000; color: #f5f5f7; padding: clamp(40px, 5vw, 64px) 20px; overflow: hidden; }
  .voice__grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 200px; gap: clamp(24px, 4vw, 56px); align-items: center; }
  .voice__badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: rgba(111, 207, 115, .16); color: var(--lime); font: 700 clamp(1.1rem, 1.7vw, 1.35rem)/1 var(--sys, "Outfit", sans-serif); }
  .voice__badge i { width: 11px; height: 11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(111, 207, 115, .6); animation: ping 1.8s infinite; }
  @keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(111, 207, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 207, 115, 0); } }
  .voice h2 { font: 700 clamp(1.8rem, 3.4vw, 2.8rem)/1.05 var(--sys, "Outfit", sans-serif); letter-spacing: -.035em; margin: 16px 0 12px; }
  .voice h2 em { font-style: normal; color: #c6e36b; }
  .voice__lead { font: 400 clamp(1rem, 1.3vw, 1.15rem)/1.5 var(--sys, "Outfit", sans-serif); color: #a1a1a6; max-width: 40em; margin: 0 0 18px; }
  .voice__lead b { color: #f5f5f7; font-weight: 600; }
  .voice__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
  .voice__chips li { padding: 8px 12px; border-radius: 10px; background: #1d1d1f; font: 500 .95rem/1 var(--sys, "Outfit", sans-serif); color: #f5f5f7; }
  .voice__cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; background: var(--green); color: #fff; font: 600 1.05rem/1 var(--sys, "Outfit", sans-serif); text-decoration: none; }
  .voice__cta svg { width: 22px; height: 22px; }
  .voice__small { margin: 12px 0 0; font: 400 .85rem/1.4 var(--sys, "Outfit", sans-serif); color: #6e6e73; }

  .voice__phone { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
  .voice__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(111, 207, 115, .25); animation: ring 3.6s infinite var(--ease); }
  .voice__ring:nth-child(2) { animation-delay: 1.2s; }
  .voice__ring:nth-child(3) { animation-delay: 2.4s; }
  @keyframes ring { from { transform: scale(.35); opacity: 1; } to { transform: scale(1); opacity: 0; } }
  .voice__core { position: relative; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4cc457, #1f7a2d); display: grid; place-items: center; box-shadow: 0 30px 80px rgba(47, 158, 68, .45); }
  .voice__wave { display: flex; gap: 6px; align-items: center; height: 38%; }
  .voice__wave span { width: 7px; border-radius: 4px; background: #fff; animation: wave 1.1s infinite ease-in-out; }
  .voice__wave span:nth-child(1) { height: 35%; animation-delay: -.9s; }
  .voice__wave span:nth-child(2) { height: 70%; animation-delay: -.6s; }
  .voice__wave span:nth-child(3) { height: 100%; animation-delay: -.3s; }
  .voice__wave span:nth-child(4) { height: 70%; animation-delay: -.5s; }
  .voice__wave span:nth-child(5) { height: 35%; animation-delay: -.8s; }
  @keyframes wave { 50% { transform: scaleY(.35); } }
  @media (prefers-reduced-motion: reduce) { .voice__ring, .voice__wave span, .voice__badge i { animation: none; } }
  @media (max-width: 820px) { .voice__grid { grid-template-columns: 1fr; } .voice__phone { display: none; } }

/* Home: fascia nera solo fotovoltaico, sottile, con orari e BENU subito sotto */
.live--home { grid-template-columns: repeat(3, 1fr); }
.live--home .live__item { padding: 16px var(--gutter); gap: 3px; }
.live--home b { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-top: 4px; }
.live--home small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live--home .live__item:nth-child(n) { border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, .08); }
.live--home .live__item:last-child { border-right: 0; }
.hero + .info { padding: 20px 0; }
@media (max-width: 640px) {
  .live--home .live__item { padding: 12px 10px; }
  .live--home small { font-size: .62rem; letter-spacing: .06em; }
  .live--home b { font-size: 1.4rem; }
  .live--home small { white-space: normal; min-height: 2.5em; }
  .live--home .live__item > span { display: none; }
  .hero + .info { padding: 14px 0; }
}
.live__dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #48484a; vertical-align: 1px; }
.live__dot.is-on { background: var(--lime); animation: liveDot 1.8s infinite; }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 rgba(111, 207, 115, .7); } 70% { box-shadow: 0 0 0 9px rgba(111, 207, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 207, 115, 0); } }
@media (prefers-reduced-motion: reduce) { .live__dot.is-on { animation: none; } }
.hours2 .kicker { font-size: clamp(1.1rem, 2vw, 1.5rem); }

/* Striscia del fotovoltaico in home, sopra i rami */
.live--sun { display: grid; grid-template-columns: minmax(280px, .9fr) 1fr 1fr; grid-template-areas: "now kpis kpis" "btn curve bars"; gap: 28px clamp(24px, 3vw, 48px); align-items: center; padding: clamp(36px, 4vw, 56px) var(--gutter); }
.live--sun > * { min-width: 0; }
.lsun__now { grid-area: now; display: flex; align-items: center; gap: 28px; }
.lsun__now > div:last-child { display: flex; flex-direction: column; gap: 6px; }
.lsun__orb { width: 84px; height: 84px; }
.lsun__orb::before { inset: -12px; }
.lsun__orb i { inset: -24px; }
.live--sun small { font-size: .82rem; letter-spacing: .12em; }
.lsun__now b { font: 600 clamp(3rem, 5vw, 4.4rem)/.95 "Outfit"; color: #fde047; letter-spacing: -.04em; }
.lsun__now b .live__unit { color: #fff; font-size: .4em; }
.live--sun .lsun__lbl { font-size: .95rem; }
.lsun__kpis { grid-area: kpis; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lsun__kpis small { display: block; margin-bottom: 10px; white-space: nowrap; }
.lsun__kpis b { font-size: clamp(2rem, 3.4vw, 3rem); white-space: nowrap; }
.lsun__kpis b i { font-style: normal; font-size: .45em; color: #93a99b; font-weight: 500; letter-spacing: 0; }
.lsun__chart { margin: 0; }
.lsun__chart:not(.bars) { grid-area: curve; }
.lsun__chart.bars { grid-area: bars; padding: 0; border: 0; border-radius: 0; background: none; }
.lsun__chart figcaption { font-size: .85rem; color: #93a99b; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsun__chart figcaption b { font: 600 1em/1 var(--sys); color: #f5f5f7; }
.lsun__chart svg { display: block; width: 100%; height: 110px; }
.lsun__chart .curve__now { display: none; }
.lsun__chart .curve__line { vector-effect: non-scaling-stroke; stroke-width: 3; }
.lsun__chart .bars__plot { height: 110px; gap: 5px; }
.lsun__chart .bars__col { gap: 6px; }
.lsun__chart .bars__col i { border-radius: 4px 4px 2px 2px; }
.lsun__chart .bars__col small { font-size: .62rem; letter-spacing: 0; text-transform: none; color: #93a99b; font-weight: 400; }
.lsun__btn { grid-area: btn; justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px; background: var(--lime); color: #000; font: 600 1.05rem/1 var(--sys); text-decoration: none; white-space: nowrap; }
.lsun__btn:hover { filter: brightness(1.08); }
@media (max-width: 1000px) {
  .live--sun { grid-template-columns: 1fr 1fr; grid-template-areas: "now now" "kpis kpis" "curve bars" "btn btn"; }
  .lsun__btn { justify-self: center; }
}
/* sul telefono: compatta */
@media (max-width: 700px) {
  .live--sun { gap: 14px 16px; padding: 22px 16px; }
  .lsun__now { gap: 14px; }
  .lsun__orb { width: 36px; height: 36px; }
  .lsun__orb::before { inset: -5px; }
  .lsun__orb i { inset: -10px; }
  .live--sun small { font-size: .6rem; letter-spacing: .06em; }
  .lsun__now b { font-size: 1.9rem; }
  .live--sun .lsun__lbl { font-size: .75rem; }
  .lsun__kpis { gap: 8px; }
  .lsun__kpis small { white-space: normal; margin-bottom: 4px; min-height: 2.4em; }
  .lsun__kpis b { font-size: 1.15rem; }
  .lsun__chart figcaption { font-size: .66rem; margin-bottom: 6px; }
  .lsun__chart svg, .lsun__chart .bars__plot { height: 40px; }
  .lsun__chart .bars__plot { gap: 2px; }
  .lsun__chart .bars__col small { display: none; }
  .lsun__btn { padding: 11px 18px; font-size: .9rem; }
}
/* home: meno spazio tra BENU, Click & Collect, fotovoltaico e rami */
.manifesto { padding-bottom: clamp(28px, 3vw, 44px); }
.duo { padding: 12px 0 clamp(28px, 3vw, 44px); }
.lsun__now { padding-left: 26px; }
.branches__sticky { justify-content: center; }
.branches__head { padding-top: 72px; }
.branches__track { flex: none; }
.branch { padding-top: 12px; padding-bottom: 24px; }
@media (max-width: 700px) { .lsun__now { padding-left: 10px; } .branches__head { padding-top: 28px; } }
/* striscia fotovoltaico: unità di misura grandi quanto i numeri */
.lsun__now b .live__unit { font-size: 1em; font-weight: 600; letter-spacing: -.04em; color: #fde047; }
.lsun__kpis { grid-template-columns: repeat(4, auto); justify-content: space-between; }
.lsun__kpis b { font-size: clamp(1.7rem, 2.5vw, 2.6rem); }
.lsun__kpis b i { font-size: 1em; font-weight: 600; color: inherit; letter-spacing: -.03em; }
@media (max-width: 700px) {
  .lsun__kpis { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .lsun__kpis small { min-height: 0; white-space: nowrap; }
  .lsun__kpis b { font-size: 1.35rem; }
}
/* home compatta: tra una sezione e l'altra al massimo mezzo/un centimetro */
.values { padding: 36px 0; }
.manifesto { padding-top: 36px; padding-bottom: 28px; }
.vision { padding: 40px 0; }
.numbers { padding-bottom: 40px; }
.final { padding: 40px 0; }
/* solo dove i rami scorrono fissi: su telefono e tablet la sezione è normale e non deve avere altezza fissa */
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) { .branches__sticky { top: 76px; height: calc(100vh - 76px); justify-content: flex-start; } }
.branches__head { padding-top: 28px; }
@media (max-width: 700px) {
  .values, .vision, .final { padding: 28px 0; }
  .manifesto { padding-top: 28px; padding-bottom: 20px; }
  .numbers { padding-bottom: 28px; }
  .branches__head { padding-top: 22px; }
}
.voice { padding-top: 32px; padding-bottom: 20px; }
.values { padding: 20px 0; }
.values__list { margin-top: 36px; }
.manifesto { padding-top: 20px; }
@media (max-width: 700px) { .voice { padding-bottom: 8px; } .values { padding-top: 12px; } }

/* assistente vocale: testa AI nel tondo verde, onde su tutta la fascia nera */
  .voice { position: relative; isolation: isolate; }
  .voice__grid { grid-template-columns: 1fr 300px; }
  .voice__grid > div:first-child { position: relative; z-index: 2; }
  .voice__phone--face { position: static; display: grid; place-items: center; width: 300px; aspect-ratio: 1; }
  /* i cerchi partono dalla testa e si allargano su tutta la fascia nera */
  .vx-rings { position: absolute; z-index: 0; pointer-events: none; width: 0; height: 0; }
  /* onde che escono dal tondo verde, come il puntino di "Novità", e attraversano tutta la fascia */
  .vx-rings span { position: absolute; left: 0; top: 0; width: 300px; height: 300px; border-radius: 50%; border: 1.5px solid #6fcf73;
    transform: translate(-50%, -50%); opacity: 0; animation: vxWave 15s infinite linear; }
  .vx-rings span:nth-child(2) { animation-delay: 2.5s; }
  .vx-rings span:nth-child(3) { animation-delay: 5s; }
  .vx-rings span:nth-child(4) { animation-delay: 7.5s; }
  .vx-rings span:nth-child(5) { animation-delay: 10s; }
  .vx-rings span:nth-child(6) { animation-delay: 12.5s; }
  @keyframes vxWave { 0% { width: 300px; height: 300px; opacity: .55; } 100% { width: 2400px; height: 2400px; opacity: 0; } }
  .vx-face { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
    box-shadow: 0 0 0 3px rgba(111, 207, 115, .7), 0 0 60px 6px rgba(111, 207, 115, .35); animation: vxGlow 2.4s infinite ease-in-out; }
  .vx-face { background: radial-gradient(circle at 45% 40%, #1d5a35, #06180d 70%); }
  .vx-face img { position: absolute; left: 6%; top: 5%; width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 0 18px rgba(111, 207, 115, .35)); }
  @keyframes vxGlow { 50% { box-shadow: 0 0 0 3px rgba(111, 207, 115, 1), 0 0 90px 14px rgba(111, 207, 115, .5); } }
  .vx-mic { position: absolute; z-index: 2; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4cc457, #1f7a2d);
    display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transform: translate(108px, 108px); }
  .vx-mic .voice__wave { height: 30px; gap: 4px; }
  .vx-mic .voice__wave span { width: 5px; }
  /* posiziona il centro dei cerchi sul centro della testa */
  .voice__phone--face { position: relative; }
  .vx-rings { left: 50%; top: 50%; }
  .voice { overflow: hidden; }
  @media (prefers-reduced-motion: reduce) { .vx-face { animation: none; } .vx-rings { display: none; } }
  @media (max-width: 820px) {
    @keyframes vxWave { 0% { width: 150px; height: 150px; opacity: .55; } 100% { width: 1400px; height: 1400px; opacity: 0; } }
    .voice__grid { grid-template-columns: 1fr; }
    .voice__phone--face { display: grid; width: 150px; order: -1; margin: 0 auto 8px; }
    .vx-mic { width: 44px; height: 44px; transform: translate(54px, 54px); }
    .vx-mic .voice__wave { height: 18px; gap: 3px; }
    .vx-mic .voice__wave span { width: 3px; }
  }
/* testo "Al 099… risponde il nostro assistente vocale" più grande */
.voice__lead { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.45; color: #c7c7cc; max-width: 32em; margin-bottom: 22px; }
@media (max-width: 700px) { .voice__lead { font-size: 1.15rem; } }

/* Volantino da sfogliare in home */
.fbook { background: #000; color: #f5f5f7; padding: 44px 0 36px; overflow: hidden; }
.fbook[hidden] { display: none; }
.fbook__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.fbook .kicker { color: var(--lime); }
.fbook h2 { margin: 0; color: #f5f5f7; }
.fbook__title { margin: 12px 0 0; color: #a1a1a6; font-size: 1.05rem; }
.fbook__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.fbook__stage { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; perspective: 2600px; }
.fbook__book { position: relative; width: min(1040px, calc(100vw - 180px)); aspect-ratio: 1190 / 842; display: flex; transform-style: preserve-3d; outline: none; transition: transform .7s var(--ease); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.fbook__book:focus-visible { box-shadow: 0 0 0 3px var(--lime); border-radius: 6px; }
.fbook__book.is-cover { transform: translateX(-25%); }
.fbook__book.is-end { transform: translateX(25%); }
.fbook__page { position: relative; flex: 1; height: 100%; background: #fff; overflow: hidden; }
.fbook__page:empty, .fbook__page.is-blank { background: transparent; }
.fbook__page--l { border-radius: 6px 0 0 6px; box-shadow: -18px 24px 60px rgba(0, 0, 0, .55); }
.fbook__page--r { border-radius: 0 6px 6px 0; box-shadow: 18px 24px 60px rgba(0, 0, 0, .55); }
.fbook__page.is-blank { box-shadow: none; }
.fbook__page img, .fbook__face img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* piega centrale */
.fbook__page--l:not(.is-blank)::after, .fbook__page--r:not(.is-blank)::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40px; pointer-events: none; }
.fbook__page--l::after { right: 0; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .18)); }
.fbook__page--r::after { left: 0; background: linear-gradient(270deg, transparent, rgba(0, 0, 0, .22)); }
/* foglio che gira */
.fbook__leaf { position: absolute; top: 0; width: 50%; height: 100%; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.45, .05, .25, 1); z-index: 3; }
.fbook__leaf--r { left: 50%; transform-origin: left center; }
.fbook__leaf--l { left: 0; transform-origin: right center; }
.fbook__face { position: absolute; inset: 0; background: #fff; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.fbook__face--back { transform: rotateY(180deg); }
.fbook__face::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .45s; background: linear-gradient(90deg, rgba(0, 0, 0, .28), transparent 60%); }
.fbook__leaf.is-moving .fbook__face::after { opacity: 1; }
.fbook__loading { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; color: #a1a1a6; font-size: 1.05rem; }
.fbook__nav { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 0; background: #1d1d1f; color: #f5f5f7; display: grid; place-items: center; cursor: pointer; transition: background .2s, opacity .2s; }
.fbook__nav:hover { background: var(--green); }
.fbook__nav:disabled { opacity: .3; cursor: default; background: #1d1d1f; }
.fbook__nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fbook__bar { display: flex; justify-content: center; gap: 22px; margin-top: 20px; color: #a1a1a6; font-size: .95rem; font-variant-numeric: tabular-nums; }
.fbook__bar a { color: var(--lime); font-weight: 600; text-decoration: none; }
@media (max-width: 760px) {
  .fbook { padding: 30px 0 26px; }
  .fbook__head { margin-bottom: 20px; }
  .fbook__stage { gap: 0; }
  .fbook__book { width: min(420px, calc(100vw - 32px)); aspect-ratio: 595 / 842; }
  .fbook__book.is-cover, .fbook__book.is-end { transform: none; }
  .fbook__page--l { display: none; }
  .fbook__page--r { border-radius: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
  .fbook__page--r::after { display: none; }
  .fbook__leaf--r { left: 0; width: 100%; }
  .fbook__nav { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(0, 0, 0, .55); }
  .fbook__nav--prev { left: 6px; }
  .fbook__nav--next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) { .fbook__leaf, .fbook__book { transition: none; } }
.fbook h2.big { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; }
.fbook .kicker { font-size: clamp(1rem, 1.4vw, 1.2rem); margin-bottom: 10px; }
.fbook__book { width: min(1040px, calc(100vw - 180px), calc((100vh - 230px) * 1190 / 842)); }
@media (max-width: 760px) { .fbook__book { width: min(420px, calc(100vw - 32px)); } }
.fbook__head > div:first-child { flex: 1 1 520px; }
.fbook__head { margin-bottom: 22px; }
.fbook__book { width: min(1040px, calc(100vw - 180px), calc((100vh - 290px) * 1190 / 842)); }
@media (max-width: 760px) { .fbook__book { width: min(420px, calc(100vw - 32px)); } }
.fbook { padding-top: 28px; }
.fbook__book { width: min(1040px, calc(100vw - 180px), calc((100vh - 300px) * 1190 / 842)); }
@media (max-width: 760px) { .fbook__book { width: min(420px, calc(100vw - 32px)); } }
@media (max-width: 760px) { .fbook__ctas { flex-wrap: nowrap; gap: 8px; } .fbook__ctas .btn { padding: 12px 16px; font-size: .9rem; } }
/* volantino con la piega (libreria StPageFlip) */
.fbook__book.is-ready { aspect-ratio: auto; display: block; cursor: default; transform: none; }
.fbook__book .stf__parent { margin: 0 auto; }
.fbook__sheet { background: #fff; overflow: hidden; }
.fbook__sheet img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-select: none; }
.fbook__book { width: min(1040px, calc(100vw - 180px), calc((100vh - 340px) * 1190 / 842)); }
@media (max-width: 760px) { .fbook__book { width: min(420px, calc(100vw - 32px)); } }
/* striscia fotovoltaico: meteo di oggi a Taranto */
.live--sun { grid-template-areas: "now kpis kpis" "btn curve bars" "wx wx wx"; }
.lsun__wx { grid-area: wx; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.lsun__wx[hidden] { display: none; }
.lsun__wxico { flex: none; width: 34px; height: 34px; color: #fde047; }
.lsun__wxico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lsun__wx p { margin: 0; font-size: 1.05rem; color: #f5f5f7; }
.lsun__wx p b { color: var(--lime); font-weight: 600; }
.lsun__wxnote { display: inline; margin-left: 10px; color: #93a99b; font-size: .95rem; }
@media (max-width: 1000px) { .live--sun { grid-template-areas: "now now" "kpis kpis" "curve bars" "wx wx" "btn btn"; } }
@media (max-width: 700px) {
  .lsun__wx { gap: 10px; padding-top: 12px; align-items: flex-start; }
  .lsun__wxico { width: 26px; height: 26px; }
  .lsun__wx p { font-size: .9rem; }
  .lsun__wxnote { display: block; margin: 2px 0 0; font-size: .8rem; }
}
.lsun__wx p b { font: 600 1em/1.35 var(--sys); letter-spacing: 0; margin: 0; }
.lsun__wx p span { font-size: inherit; color: #f5f5f7; }
.lsun__wx p .lsun__wxnote { color: #93a99b; font-size: .92em; }
/* striscia fotovoltaico più compatta: il meteo sta a sinistra, sopra il pulsante */
.live--sun { grid-template-areas: "now kpis kpis" "wx curve bars" "btn curve bars"; gap: 14px clamp(20px, 2.6vw, 40px); padding-top: clamp(24px, 2.6vw, 34px); padding-bottom: clamp(24px, 2.6vw, 34px); }
.lsun__wx { padding-top: 0; border-top: 0; gap: 10px; align-self: end; }
.lsun__wxico { width: 28px; height: 28px; }
.lsun__wx p { font-size: .95rem; }
.lsun__btn { align-self: start; padding: 12px 20px; font-size: .95rem; }
.lsun__chart svg, .lsun__chart .bars__plot { height: 92px; }
.lsun__orb { width: 70px; height: 70px; }
@media (max-width: 1000px) { .live--sun { grid-template-areas: "now now" "kpis kpis" "curve bars" "wx btn"; } .lsun__btn { align-self: center; justify-self: end; } .lsun__wx { align-self: center; } }
@media (max-width: 700px) {
  .live--sun { grid-template-areas: "now now" "kpis kpis" "curve bars" "wx wx" "btn btn"; gap: 10px 14px; padding: 18px 16px; }
  .lsun__wx { padding-top: 0; }
  .lsun__btn { justify-self: center; }
  .lsun__chart svg, .lsun__chart .bars__plot { height: 36px; }
  .lsun__orb { width: 34px; height: 34px; }
}

/* Turni: i giorni in cui siamo di turno noi */
.cal__d { position: relative; overflow: hidden; }
.cal__d > * { position: relative; z-index: 1; }
.cal__d.noi::before { content: ""; position: absolute; inset: 8%; background: url(../assets/img/logo-tree.webp) center / contain no-repeat; opacity: .28; z-index: 0; pointer-events: none; }
.cal__d.noi.sel::before { opacity: .4; }
.cal__d.noi b { color: var(--deep); }
.cal__d.noi.sel b { color: #fff; }
/* nella lista del giorno: riga verde che pulsa */
.cal__sec li.is-noi { background: var(--green); color: #fff; margin: 4px -12px; padding: 14px 12px; border-radius: 14px; border-bottom: 0; animation: noiPulse 2s ease-in-out infinite; }
.cal__sec li.is-noi span { color: rgba(255, 255, 255, .85); }
.cal__sec li.is-noi a { background: #fff; color: var(--deep); }
.cal__sec li.is-noi a:hover { background: var(--lime); }
@keyframes noiPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(58, 170, 53, .55); } 50% { box-shadow: 0 0 0 8px rgba(58, 170, 53, 0); filter: brightness(1.08); } }
@media (prefers-reduced-motion: reduce) { .cal__sec li.is-noi { animation: none; } }
/* nostri giorni: il quadratino batte come un cuore */
.cal__d.noi { animation: noiHeart 1.6s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(58, 170, 53, .5); }
.cal__d.noi.sel { animation-name: noiHeartSel; }
@keyframes noiHeart {
  0%, 40%, 100% { transform: scale(1); background-color: var(--lime); box-shadow: 0 0 0 0 rgba(58, 170, 53, .45); }
  12% { transform: scale(1.08); background-color: #5cc957; box-shadow: 0 0 0 6px rgba(58, 170, 53, .25); }
  24% { transform: scale(1); }
  32% { transform: scale(1.05); background-color: #5cc957; box-shadow: 0 0 0 10px rgba(58, 170, 53, 0); }
}
@keyframes noiHeartSel { 0%, 40%, 100% { transform: scale(1); } 12% { transform: scale(1.08); } 24% { transform: scale(1); } 32% { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .cal__d.noi { animation: none; } }
/* nostri giorni: sfondo chiaro con bordo verde, così l'alberello si vede bene */
.cal__d.noi { background: #fff; border: 2px solid var(--green); }
.cal__d.noi::before { opacity: .42; inset: 6%; }
.cal__d.noi b { color: #1f7a2d; font-weight: 700; }
.cal__d.noi small { color: #1f7a2d; }
.cal__d.noi.sel { background: var(--deep); border-color: var(--green); }
.cal__d.noi.sel::before { opacity: .5; }
@keyframes noiHeart {
  0%, 40%, 100% { transform: scale(1); background-color: #fff; box-shadow: 0 0 0 0 rgba(58, 170, 53, .5); }
  12% { transform: scale(1.08); background-color: #e3f6dd; box-shadow: 0 0 0 6px rgba(58, 170, 53, .3); }
  24% { transform: scale(1); background-color: #fff; }
  32% { transform: scale(1.05); background-color: #e3f6dd; box-shadow: 0 0 0 10px rgba(58, 170, 53, 0); }
}
.lg--noi { background: #fff url(../assets/img/logo-tree.webp) center / 80% no-repeat; box-shadow: inset 0 0 0 2px var(--green); }
/* il quadratino resta fermo: è l'alberello che batte come un cuore */
.cal__d.noi, .cal__d.noi.sel { animation: none; transform: none; box-shadow: none; }
.cal__d.noi::before { inset: 4%; opacity: .6; animation: treeHeart 1.6s ease-in-out infinite; transform-origin: center; }
.cal__d.noi.sel::before { opacity: .6; }
.cal__d.noi b { text-shadow: 0 0 6px #fff, 0 0 2px #fff; }
.cal__d.noi.sel b { text-shadow: 0 0 6px rgba(0, 0, 0, .7); }
@keyframes treeHeart { 0%, 40%, 100% { transform: scale(.82); } 12% { transform: scale(1.04); } 24% { transform: scale(.86); } 32% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .cal__d.noi::before { animation: none; transform: none; } }
/* turni: alberello fermo grande quanto il quadratino, e onde quadrate verdi sul calendario */
.cal__d.noi::before { inset: 3px; opacity: .45; animation: none; transform: none; background-size: contain; }
.cal__d.noi.sel::before { opacity: .5; }
/* alberello ben visibile, fermo */
.cal__d.noi::before { opacity: .8; inset: 3px; }
.cal__d.noi.sel::before { opacity: .65; }
/* sabati, domeniche e festivi: un altro colore */
.cal__d.fest.has { background: #fbe9c6; }
.cal__d.fest.has b { color: #8a5a00; }
.cal__d.fest.empty { background: #fbefd9; }
.lg--fest { background: #fbe9c6; }
/* se siamo di turno in un festivo vince il nostro quadratino bianco con l'alberello */
.cal__d.noi.fest { background: #fff; }
.cal__d.noi.fest b { color: #1f7a2d; }
.cal__d.noi.fest.sel { background: var(--deep); }
.cal__d.noi.fest.sel b { color: #fff; }
/* alberello grande quanto tutto il quadratino */
.cal__d.noi::before { inset: 0; background-size: cover; background-position: center; }
.cal__btns { flex: none; display: flex; gap: 6px; }
.cal__sec li span.cal__btns { display: flex; gap: 6px; flex: none; font-size: inherit; }
/* "La Farmacia Torsello è di turno": verde che pulsa, scritta bianca (non più nero) */
.cal__noi { background: var(--green); color: #fff; animation: noiPulse 2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .cal__noi { animation: none; } }
/* il nostro giorno selezionato: verde invece di nero */
.cal__d.noi.sel, .cal__d.noi.fest.sel { background: var(--green); border-color: #1f7a2d; }
.cal__d.noi.sel::before { opacity: .38; }
.cal__d.noi.sel b, .cal__d.noi.fest.sel b { color: #fff; text-shadow: 0 0 6px rgba(0, 0, 0, .35); }
.cal__d.noi.sel small { color: #fff; }
/* solo l'albero (senza tondo e senza "dal 1969") */
.cal__d.noi::before { background-image: url(../assets/img/albero.webp); background-size: contain; inset: 6%; opacity: .55; }
.cal__d.noi.sel::before { opacity: .45; }
.lg--noi { background: #fff url(../assets/img/albero.webp) center / 78% no-repeat; }
/* nostri giorni: solo l'albero; il segno del notturno va nell'angolo in alto a sinistra */
.cal__d.noi > small { position: absolute; top: 5px; left: 7px; min-height: 0; font-size: .75rem; }
.cal__d.noi > small { top: auto; bottom: 5px; left: 7px; }
/* nostri giorni: il numero sta in basso, sul tronco, così non si confonde con i rami */
.cal__d.noi > b { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); font-size: clamp(.85rem, 1.3vw, 1rem); line-height: 1; padding: 1px 5px; border-radius: 6px; background: rgba(255, 255, 255, .85); text-shadow: none; }
.cal__d.noi.sel > b { background: rgba(31, 122, 45, .9); }
.cal__d.noi::before { inset: 4% 6% 18%; }
/* sabato e domenica arancione, festivi rosa */
.cal__d.we.has { background: #fdd3a6; }
.cal__d.we.has b { color: #8f4300; }
.cal__d.we.empty { background: #fde2c4; }
.cal__d.fest.has { background: #f8cfd9; }
.cal__d.fest.has b { color: #9b2346; }
.cal__d.fest.empty { background: #fadbe3; }
.cal__d.noi.we, .cal__d.noi.fest { background: #fff; }
.cal__d.noi.we.sel, .cal__d.noi.fest.sel { background: var(--green); }
/* legenda più grande */
.cal__legend { gap: 12px 26px; font-size: 1rem; color: var(--ink); margin-top: 20px; }
.cal__legend span { display: inline-flex; align-items: center; }
.lg { width: 30px; height: 30px; border-radius: 9px; margin-right: 10px; vertical-align: middle; flex: none; }
.lg--noi { background: #fff url(../assets/img/albero.webp) center / 82% no-repeat; box-shadow: inset 0 0 0 2px var(--green); }
.lg--we { background: #fdd3a6; }
.lg--fest { background: #f8cfd9; }
/* numero sul tronco, senza riquadro bianco */
.cal__d.noi::before { inset: 6%; opacity: .8; }
.cal__d.noi > b { background: none; padding: 0; bottom: 14%; color: #fff; font-weight: 800; text-shadow: 0 0 3px rgba(0, 0, 0, .55), 0 1px 1px rgba(0, 0, 0, .35); }
.cal__d.noi.sel > b { background: none; }
.cal__d.noi.sel::before { opacity: .55; }
.cal__d.noi.has > b, .cal__d.noi.we.has > b, .cal__d.noi.fest.has > b { color: #fff; }
/* nostri giorni: albero da solo (colori pieni), numero in basso a destra, mezzaluna in basso a sinistra */
.cal__d.noi::before { inset: 8% 8% 22%; opacity: .95; }
.cal__d.noi.sel::before { opacity: .7; }
.cal__d.noi > b, .cal__d.noi.has > b, .cal__d.noi.we.has > b, .cal__d.noi.fest.has > b { left: auto; right: 7px; bottom: 4px; transform: none; color: #1f7a2d; text-shadow: none; font-weight: 700; font-size: clamp(.8rem, 1.2vw, .95rem); }
.cal__d.noi.sel > b, .cal__d.noi.has.sel > b { color: #fff; }
.cal__d.noi > small { bottom: 4px; left: 7px; }
/* turni: ogni fascia oraria in un riquadro con il suo colore */
.cal__sec { margin-top: 16px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.cal__sech { padding: 12px 16px; border-bottom: 0; align-items: center; }
.cal__sech b { font-size: 1.08rem; }
.cal__sech span { font-weight: 600; color: inherit; opacity: .85; }
.cal__sec ul { padding: 4px 16px 6px; }
.cal__sec li:last-child { border-bottom: 0; }
.cal__sec--aperte { background: #f2f7fd; border-color: #cfe0f3; }
.cal__sec--aperte .cal__sech { background: #dcebfa; color: #1b4f86; }
.cal__sec--continuato { background: #f3f9ee; border-color: #cfe6bf; }
.cal__sec--continuato .cal__sech { background: #dff0d2; color: #24662a; }
.cal__sec--notturno { background: #f1f2f8; border-color: #ccd1e6; }
.cal__sec--notturno .cal__sech { background: #232c52; color: #fff; }
.cal__sec li.is-noi { margin: 6px -8px; }
/* pagine con fascia nera corta (Turni, Privacy, Cookie, Note legali): molto più compatta */
.phero.phero--short { min-height: 0; padding: 100px var(--gutter) 26px; }
.phero--short .crumbs { margin-bottom: 6px; }
.phero--short .kicker { margin-bottom: 6px; }
.phero--short .mega--page { margin-bottom: 18px; }
.phero--short + .sec { padding-top: 26px; }
.cal-sec { padding-bottom: 30px; }
.cal__note { margin-top: 16px; }
@media (max-width: 700px) {
  .phero.phero--short { padding: 84px 16px 16px; }
  .phero--short .crumbs { display: none; }
  .phero--short .kicker { font-size: .7rem; margin-bottom: 4px; }
  .phero--short .mega--page { font-size: 1.85rem; line-height: 1; margin-bottom: 6px; max-width: none; }
  .phero--short .mega--page .line { display: inline; }
  .phero--short .phero__lead { font-size: .88rem; line-height: 1.4; }
  .phero--short + .sec { padding-top: 16px; }
  .cal-sec { padding-bottom: 20px; }
}
.voice__small a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
/* finestra "Come funziona l'assistente virtuale" */
.aidlg { width: min(680px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: clamp(24px, 4vw, 40px); border: 0; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 30px 90px rgba(0, 0, 0, .45); overflow: auto; }
.aidlg::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.aidlg[open] { animation: aidlgIn .25s var(--ease); }
@keyframes aidlgIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.aidlg .kicker { color: var(--green); margin-bottom: 6px; }
.aidlg h2 { font: 700 clamp(1.5rem, 3vw, 2rem)/1.1 var(--sys); letter-spacing: -.02em; margin: 0 40px 14px 0; }
.aidlg h3 { font: 700 1.05rem/1.3 var(--sys); margin: 20px 0 6px; color: #1f7a2d; }
.aidlg p, .aidlg li { font-size: 1rem; line-height: 1.55; color: #3a3a3c; margin: 0 0 8px; }
.aidlg ul { margin: 0; padding-left: 20px; }
.aidlg b { color: var(--ink); }
.aidlg__x { position: sticky; top: 0; float: right; margin: -10px -10px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #f2f2f4; color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; z-index: 1; }
.aidlg__x:hover { background: var(--lime); }
.aidlg__more { margin-top: 18px !important; }
.aidlg__more a { color: var(--green); font-weight: 600; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .aidlg[open] { animation: none; } }
/* avviso cookie rinnovato */
.cookie { display: block; left: 50%; right: auto; transform: translateX(-50%); bottom: 20px; width: min(520px, calc(100vw - 24px)); max-width: none; padding: 20px 22px 18px; border-radius: 20px; font-size: .92rem; animation: cookieUp .5s var(--ease) both; }
@keyframes cookieUp { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookie.is-out { opacity: 0; transform: translate(-50%, 20px); }
.cookie__x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f2f2f4; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cookie__x:hover { background: var(--lime); }
.cookie__head { display: flex; align-items: center; gap: 10px; margin: 0 40px 10px 0; font-size: 1.05rem; }
.cookie__ico { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #e3f6dd; color: var(--green); display: grid; place-items: center; }
.cookie__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cookie ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 5px; }
.cookie li { position: relative; padding-left: 22px; color: #3a3a3c; }
.cookie li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 9px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.cookie__note { margin: 0 0 14px !important; font-size: .84rem; color: #6e6e73; }
.cookie .cookie__ok { width: 100%; justify-content: center; padding: 13px 18px; font-size: .95rem; }
@media (max-width: 640px) { .cookie { left: 50%; right: auto; bottom: 10px; width: calc(100vw - 20px); flex-direction: column; padding: 16px 16px 14px; font-size: .86rem; } }
@media (prefers-reduced-motion: reduce) { .cookie { animation: none; } }
/* banner di consenso: tre pulsanti dello stesso peso */
.cookie__txt { margin: 0 0 10px !important; color: #3a3a3c; font-size: .9rem; line-height: 1.5; }
.cookie__opts { display: grid; gap: 8px; margin: 4px 0 10px; }
.cookie__opts[hidden] { display: none; }
.cookie__opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #f5f5f7; cursor: pointer; font-size: .86rem; line-height: 1.35; }
.cookie__opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.cookie__opt small { color: #6e6e73; font-size: .78rem; }
.cookie__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cookie .cookie__b { width: 100%; justify-content: center; padding: 12px 8px; font-size: .9rem; background: var(--ink); color: #fff; border-radius: 10px; }
.cookie .cookie__b:hover { background: var(--green); }
@media (max-width: 640px) { .cookie__btns { grid-template-columns: 1fr; gap: 6px; } .cookie .cookie__b { padding: 11px 8px; } .cookie__txt { font-size: .82rem; } }
.cookie { max-height: calc(100vh - 20px); overflow: auto; }
/* banner cookie: barra stretta e lunga in fondo alla pagina */
.cookie { left: 0; right: 0; bottom: 0; transform: none; width: auto; max-width: none; border-radius: 18px 18px 0 0; padding: 14px max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "head txt btns" "opts opts opts" "note note note"; column-gap: 22px; row-gap: 6px; align-items: center; animation: cookieBar .45s var(--ease) both; box-shadow: 0 -10px 40px rgba(0, 0, 0, .18); border: 0; border-top: 1px solid var(--line); }
@keyframes cookieBar { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.cookie.is-out { opacity: 0; transform: translateY(20px); }
.cookie__x { top: 50%; right: 12px; transform: translateY(-50%); width: 30px; height: 30px; font-size: 1.2rem; }
.cookie__head { grid-area: head; margin: 0; font-size: .98rem; white-space: nowrap; }
.cookie__txt { grid-area: txt; margin: 0 !important; font-size: .84rem; line-height: 1.4; }
.cookie__opts { grid-area: opts; grid-template-columns: repeat(3, 1fr); margin: 6px 0 2px; }
.cookie__note { grid-area: note; margin: 0 !important; font-size: .78rem; }
.cookie__btns { grid-area: btns; grid-template-columns: repeat(3, auto); gap: 8px; margin-right: 34px; }
.cookie .cookie__b { width: auto; min-width: 118px; padding: 10px 16px; font-size: .86rem; }
@media (max-width: 1100px) {
  .cookie { grid-template-columns: 1fr; grid-template-areas: "head" "txt" "opts" "btns" "note"; padding: 12px 16px 10px; }
  .cookie__x { top: 10px; transform: none; }
  .cookie__head { margin-right: 36px; }
  .cookie__btns { margin-right: 0; grid-template-columns: repeat(3, 1fr); }
  .cookie .cookie__b { min-width: 0; width: 100%; padding: 10px 6px; font-size: .84rem; }
  .cookie__opts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .cookie { left: 0; right: 0; width: auto; bottom: 0; border-radius: 16px 16px 0 0; } .cookie__txt { font-size: .78rem; } .cookie__opt { padding: 8px 10px; } }
.cookie { grid-template-areas: "head txt btns" "opts opts opts"; padding-top: 12px; padding-bottom: 12px; }
.cookie__txt a { white-space: nowrap; }
@media (max-width: 1100px) { .cookie { grid-template-areas: "head" "txt" "opts" "btns"; } }
/* lista turni: "Farmacia" sopra il nome, per tutte */
.cal__sec li b .cal__f { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
.cal__sec li.is-noi b .cal__f { color: rgba(255, 255, 255, .8); }
