/* ==========================================================================
   Romano Santi – Soluzioni per Farmacie · tema "A+ Impatto"
   ========================================================================== */

/* ---------- Font locali (nessuna richiesta a Google) ---------- */
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
	--ink: #102A43;
	--ink-2: #16324D;
	--ink-3: #1E3A55;
	--ink-4: #2A4A68;
	--green: #12A06A;
	--green-d: #0E7A52;
	--green-dd: #0A5A3C;
	--mint: #2CC98C;
	--menta: #DDF5EA;
	--mint-bg: #EEF6F2;
	--soft: #F7FBF9;
	--line: #E3ECE8;
	--line-2: #D3E6DC;
	--txt: #102A43;
	--txt-2: #3E5468;
	--txt-3: #6B8196;
	--on-ink: #C9D6E3;
	--on-ink-2: #A9BBCB;
	--sky: #E4F3FF;
	--sand: #FFF4E0;
	--r: 26px;
	--r-sm: 16px;
	--wrap: 1280px;
	--shadow: 0 20px 50px rgba(16, 42, 67, .08);
	--shadow-2: 0 30px 80px rgba(16, 42, 67, .18);
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--font); color: var(--txt); background: #fff; line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--green-d); }
a:hover { color: var(--green-dd); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; }
.wrap--mid { max-width: 1080px; }
.center { text-align: center; }
.pt0 { padding-top: 0 !important; }
.txt-green { color: var(--green); }

/* ---------- Tipografia ---------- */
.h1 { font-size: clamp(34px, 4.2vw, 54px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -.03em; }
.h3 { font-size: 20px; font-weight: 800; }
.h2--light, .night .h1 { color: #fff; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--txt-2); max-width: 720px; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }
.lead--light { color: var(--on-ink); }
.lead-xl { font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--txt); font-weight: 600; }
.eyebrow { display: block; margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-d); }
.eyebrow--mint { color: var(--mint); }
.eyebrow--light { color: var(--menta); }
.small-muted { font-size: 13px; color: var(--txt-3); }
.small-muted--light { color: var(--on-ink-2); margin-top: 14px; }
.link-arrow { font-weight: 800; font-size: 17px; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Bottoni ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.btns.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 24px; border-radius: 16px; font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; line-height: 1.2; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; border-radius: 14px; }
.btn--lg { min-height: 58px; padding: 16px 30px; font-size: 18px; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #0B1E30; color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-d); color: #fff; }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: #7FE3BC; color: var(--ink); }
.btn--line { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--shadow { box-shadow: 0 12px 30px rgba(16, 42, 67, .25); }
.btn--glow { box-shadow: 0 12px 30px rgba(18, 160, 106, .32); }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ---------- Pallino di stato ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(44, 201, 140, .7); } 100% { box-shadow: 0 0 0 12px rgba(44, 201, 140, 0); } }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); display: inline-block; flex: 0 0 auto; animation: pulse 1.8s ease-out infinite; }
.dot--sm { width: 7px; height: 7px; }
.dot--xs { width: 7px; height: 7px; }
.dot--off, .is-closed .dot { background: #F3B04A; animation: none; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #D3E9DE; border-radius: 999px; padding: 8px 16px 8px 14px; font-size: 14px; font-weight: 700; color: #0E5E43; margin: 0 0 26px; }

/* ---------- Barra superiore ---------- */
.topbar { background: var(--ink); color: var(--on-ink); font-size: 13px; }
.topbar__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar__info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--mint); }
.topbar .topbar__cta { color: var(--mint); font-weight: 800; }
.topbar__status { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; }
.topbar__status .dot { width: 8px; height: 8px; }
.topbar__sep { opacity: .5; }

/* ---------- Header con medaglione ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); transition: box-shadow .3s ease; }
.admin-bar .hdr { top: 32px; }
.hdr.is-scrolled { box-shadow: 0 10px 30px rgba(16, 42, 67, .08); }
.hdr__in { --hs: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 24px; padding-bottom: 24px; transition: padding .3s ease; }
/* Voci di menu e pulsanti allineati al centro del logo, non al centro della fascia. */
.hdr__nav--l, .hdr__r, .hdr__burger { transform: translateY(var(--hs)); transition: transform .3s ease; }
.hdr.is-scrolled .hdr__in { --hs: 16px; padding-top: 12px; padding-bottom: 12px; }
.hdr__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.hdr__nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 2px; border-bottom: 2px solid transparent; transition: border-color .2s; }
.hdr__nav a:hover, .hdr__nav .current-menu-item a { border-bottom-color: var(--mint); color: var(--ink); }
.hdr__nav .has-mega > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .55; transition: transform .2s ease; }
.hdr__nav .has-mega.is-open > a { border-bottom-color: var(--mint); }
.hdr__nav .has-mega.is-open > a::after { transform: translateY(3px) rotate(-135deg); }

/* Mega menu */
.mega { position: absolute; left: 50%; top: calc(100% + 14px); z-index: 60; width: min(1180px, calc(100vw - 48px)); transform: translate(-50%, 10px); opacity: 0; transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1); }
.mega.is-open { opacity: 1; transform: translate(-50%, 0); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px; }
.mega__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 30px 80px rgba(16, 42, 67, .2); overflow: hidden; }
.mega__main { padding: 26px 26px 22px; }
.mega__eyebrow { margin: 0 0 14px 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.mega__srv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.mega__srv a { display: flex; align-items: flex-start; gap: 12px; padding: 12px 10px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background .15s ease; height: 100%; }
.mega__srv a:hover, .mega__srv a:focus-visible { background: var(--soft); }
.mega__ico { flex: 0 0 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: #E3F6EE; color: var(--green); }
.mega__t { display: block; font-weight: 800; font-size: 15px; line-height: 1.3; }
.mega__d { display: block; font-size: 13.5px; line-height: 1.45; color: var(--txt-2); margin-top: 2px; }
.mega__srv .mega__all { align-items: center; justify-content: space-between; border: 1px dashed #BFE6D4; background: #F2FBF7; font-size: 18px; }
.mega__side { background: var(--ink); color: #fff; padding: 28px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mega__side .eyebrow { margin: 0; }
.mega__h { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.25; color: #fff; }
.mega__p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.mega__link { color: var(--mint); font-weight: 700; font-size: 14.5px; text-decoration: none; margin-top: 4px; }
.mega__link:hover { color: #fff; }
.mega__works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mega__works a { display: block; padding: 10px; border-radius: 16px; color: var(--ink); text-decoration: none; transition: background .15s ease; }
.mega__works a:hover, .mega__works a:focus-visible { background: var(--soft); }
.mega__shot { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); margin-bottom: 10px; }
.mega__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.mega__works a:hover .mega__shot img { transform: scale(1.03); }
.hdr__r { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.hdr__burger, .hdr__wa { display: none; }

.medal { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 16px 30px 24px; margin: 0 0 -44px; box-shadow: 0 24px 50px rgba(16, 42, 67, .18); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, padding .3s ease, margin .3s ease; z-index: 2; }
.medal:hover { transform: translateY(-4px) rotate(-1.5deg) scale(1.03); box-shadow: 0 34px 70px rgba(16, 42, 67, .26); }
.medal__logo { height: 78px; width: auto; position: relative; transition: transform .35s cubic-bezier(.2, .8, .2, 1), height .3s ease; }
.medal:hover .medal__logo { transform: scale(1.04); }
.medal__ring { position: absolute; inset: -6px; border-radius: 36px; border: 2px solid var(--mint); opacity: 0; animation: ring 3.2s ease-out infinite; pointer-events: none; }
@keyframes ring { 0% { opacity: .7; transform: scale(.98); } 70%, 100% { opacity: 0; transform: scale(1.06); } }
.medal__ribbon { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; padding: 7px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 18px rgba(16, 42, 67, .25); transition: background .3s; }
.medal:hover .medal__ribbon { background: var(--green); }
.hdr.is-scrolled .medal { padding: 10px 22px 18px; margin-bottom: -40px; }
.hdr.is-scrolled .medal__logo { height: 54px; }

/* ---------- Menu mobile ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(16, 42, 67, .45); }
.drawer[hidden] { display: none; }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(380px, 92vw); background: #fff; padding: 20px 22px 28px; overflow-y: auto; box-shadow: 20px 0 60px rgba(16, 42, 67, .25); animation: slidein .28s ease-out; }
@keyframes slidein { from { transform: translateX(-100%); } to { transform: none; } }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer__top img { height: 46px; width: auto; }
.drawer__close { background: var(--menta); border: 0; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.drawer__nav { list-style: none; margin: 0; padding: 0; }
.drawer__nav a { display: block; padding: 13px 4px; font-size: 19px; font-weight: 800; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer__srv { margin-top: 22px; }
.drawer__srv ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.drawer__srv a { display: flex; gap: 10px; align-items: center; padding: 9px 4px; color: var(--txt-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.drawer__srv a svg { color: var(--green); }
.drawer__cta { display: grid; gap: 10px; margin-top: 22px; }

/* ---------- Sezioni ---------- */
.sec { padding: 104px 0; }
.sec--white { background: #fff; }
.sec--soft { background: var(--soft); }
.sec--mint { background: var(--mint-bg); }
.sec--ink { background: var(--ink); color: #fff; }
.sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.sec__head .h1 { max-width: 760px; margin: 0; }
.sec__head .lead { max-width: 420px; margin: 0; }
.sec__head--row { align-items: center; }
.sec__head--row .h1, .sec__head--row .h2 { margin: 0; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(900px 500px at 12% 0%, var(--menta) 0%, rgba(221, 245, 234, 0) 70%), radial-gradient(800px 520px at 92% 30%, var(--sky) 0%, rgba(228, 243, 255, 0) 70%), var(--soft); overflow: hidden; }
.hero__in { padding-top: 112px; text-align: center; }
.hero__t { font-size: clamp(44px, 6.4vw, 86px); line-height: 1.04; font-weight: 800; letter-spacing: -.045em; max-width: 1100px; margin: 0 auto 26px; }
.hero__lead { margin: 0 auto 36px; font-size: clamp(18px, 1.8vw, 21px); color: var(--txt-2); max-width: 760px; }
@keyframes rot { 0%, 17% { transform: translateY(0); } 22%, 39% { transform: translateY(-20%); } 44%, 61% { transform: translateY(-40%); } 66%, 83% { transform: translateY(-60%); } 88%, 100% { transform: translateY(-80%); } }
.rot { display: inline-block; height: 1.08em; overflow: hidden; vertical-align: bottom; color: var(--green); }
.rot > span { display: flex; flex-direction: column; animation: rot 11s cubic-bezier(.7, 0, .2, 1) infinite; }
.rot > span > span { height: 1.08em; line-height: 1.08em; }

/* Palco: browser + telefono + notifiche */
.stage { position: relative; max-width: 1080px; height: 620px; margin: 64px auto 0; text-align: left; }
.stage__browser { position: absolute; left: 0; right: 150px; top: 40px; bottom: -40px; background: #fff; border-radius: 22px 22px 0 0; box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid var(--line); }
.bwr__bar { height: 42px; background: #EEF3F1; display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.bwr__bar i { width: 11px; height: 11px; border-radius: 50%; background: #F2A3A3; }
.bwr__bar i:nth-child(2) { background: #F3D58A; }
.bwr__bar i:nth-child(3) { background: #9AD9B5; }
.bwr__bar span { margin-left: 16px; background: #fff; border-radius: 8px; padding: 4px 14px; font-size: 12px; color: var(--txt-3); }
.bwr__nav { padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; }
.bwr__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--green); }
.bwr__brand { color: var(--ink); }
.bwr__brand svg { color: var(--green); fill: var(--green); }
.bwr__links { display: flex; gap: 18px; font-size: 13px; color: var(--txt-3); font-weight: 600; }
.bwr__hero { margin: 0 28px; height: 210px; border-radius: 18px; background: linear-gradient(120deg, var(--green), var(--mint)); padding: 30px; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.bwr__hero strong { font-size: 28px; max-width: 380px; line-height: 1.15; }
.bwr__btns { display: flex; gap: 10px; }
.bwr__btns span { background: #fff; color: #0E5E43; font-weight: 800; font-size: 13px; padding: 9px 14px; border-radius: 10px; }
.bwr__btns span + span { background: transparent; color: #fff; border: 1.5px solid #fff; }
.bwr__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 28px; }
.bwr__cards span { background: #F2FAF6; border-radius: 14px; padding: 14px; font-size: 13px; font-weight: 700; }
.stage__phone { position: absolute; right: 0; top: 0; width: 300px; height: 570px; background: var(--ink); border-radius: 46px; padding: 12px; box-shadow: 0 40px 90px rgba(16, 42, 67, .35); }
.phone__screen { height: 100%; background: var(--soft); border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; }
.phone__head { background: #fff; padding: 26px 16px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.phone__head img { width: 34px; height: auto; }
.phone__head strong { display: block; font-size: 14px; }
.phone__head small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); }
.phone__chat { flex: 1 1 auto; padding: 14px; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.phone__day { align-self: center; font-size: 11px; color: var(--txt-3); background: #E9F1ED; border-radius: 999px; padding: 3px 10px; }
.bub { padding: 9px 12px; max-width: 86%; line-height: 1.4; }
.bub--me { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 14px 14px 4px 14px; }
.bub--bot { align-self: flex-start; background: var(--menta); border-radius: 14px 14px 14px 4px; }
.phone__input { margin: 0 12px 14px; background: #fff; border: 1px solid #DCE9E2; border-radius: 999px; padding: 10px 14px; font-size: 12px; color: #8A9DAF; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.b1 { animation: pop .5s ease-out .6s both; } .b2 { animation: pop .5s ease-out 1.8s both; } .b3 { animation: pop .5s ease-out 3.2s both; } .b4 { animation: pop .5s ease-out 4.4s both; }
.note { position: absolute; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(16, 42, 67, .16); width: 280px; }
.note strong { display: block; font-size: 14px; }
.note small { display: block; font-size: 12px; color: var(--txt-3); }
.note--1 { left: -40px; top: 120px; }
.note--2 { left: 330px; bottom: 30px; }
.note--3 { right: 330px; top: -6px; }
.note--dark { background: var(--ink); color: #fff; }
.note--dark small { color: var(--on-ink-2); }
.note__ico { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.note__ico--mint { background: var(--menta); color: var(--green-d); }
.note__ico--sky { background: var(--sky); color: #1F6FB2; }
.note__ico--ink { background: var(--ink-3); color: var(--mint); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.f1 { animation: float 6s ease-in-out infinite; } .f2 { animation: float 7s ease-in-out 1s infinite; } .f3 { animation: float 6.5s ease-in-out 2s infinite; }

/* ---------- Fascia clienti ---------- */
.clients { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.clients .h2 { margin-bottom: 8px; }
.clients .lead { margin-bottom: 36px; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-bottom: 18px; }
.mq { display: flex; gap: 18px; width: max-content; animation: mq 46s linear infinite; }
.mq--rev { animation-direction: reverse; animation-duration: 52s; }
.mq-wrap:hover .mq { animation-play-state: paused; }
.tile { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #DCE9E2; border-radius: 18px; padding: 18px 26px; min-width: 240px; box-shadow: 0 2px 0 rgba(16, 42, 67, .04); }
.tile img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.tile__mark { color: var(--green); display: flex; }
.tile__name { display: block; line-height: 1.1; }
.tile__city { display: block; font-size: 12px; color: var(--txt-3); margin-top: 3px; }
.tile--s0 .tile__name { font-family: Georgia, serif; font-style: italic; font-weight: 700; font-size: 21px; }
.tile--s1 .tile__name { font-weight: 800; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--green); }
.tile--s1 .tile__mark { color: var(--ink); }
.tile--s2 .tile__name { font-weight: 800; font-size: 20px; letter-spacing: -.5px; }
.tile--s3 .tile__name { font-family: Georgia, serif; font-size: 20px; color: #0E5E43; }

.statbar { max-width: 1180px; margin: 64px auto 0; }
@keyframes sheen { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
.statbar__glow { border-radius: 30px; padding: 2px; background: linear-gradient(90deg, var(--mint), var(--ink), #7FC4F5, var(--green), var(--mint)); background-size: 300% 100%; animation: sheen 8s linear infinite; box-shadow: 0 30px 70px rgba(16, 42, 67, .28); }
.statbar__in { background: var(--ink); border-radius: 28px; padding: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.float-bar { animation: float 7s ease-in-out infinite; }
.stat { background: var(--ink-2); border-radius: 20px; padding: 24px 22px; display: flex; gap: 16px; align-items: center; text-align: left; }
.stat__ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: #1E4A6A; display: flex; align-items: center; justify-content: center; color: var(--mint); }
.stat__v { display: block; font-size: 32px; font-weight: 800; letter-spacing: -1px; line-height: 1.05; color: #fff; }
.stat__v--green { color: var(--mint); }
.stat__l { display: block; font-size: 14px; color: #B7C7D6; margin-top: 4px; }

/* ---------- Servizi a mosaico ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 16px; }
.bento a { text-decoration: none; border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; transition: transform .2s ease, box-shadow .2s ease; color: var(--ink); }
.bento a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 42, 67, .12); }
.bento__big { grid-column: span 2; grid-row: span 2; background: var(--ink); color: #fff !important; position: relative; overflow: hidden; }
.bento__mock { position: absolute; right: -30px; bottom: -30px; width: 330px; height: 250px; background: var(--ink-3); border-radius: 22px; transform: rotate(-6deg); padding: 18px; }
.bento__mock > i { display: block; height: 12px; width: 120px; background: var(--mint); border-radius: 6px; margin-bottom: 14px; }
.bento__mock > b { display: block; height: 80px; background: linear-gradient(120deg, var(--green), var(--mint)); border-radius: 12px; margin-bottom: 12px; }
.bento__mock > span { display: flex; gap: 8px; }
.bento__mock > span i { flex: 1; height: 50px; background: var(--ink-4); border-radius: 10px; }
.bento__txt { position: relative; max-width: 340px; display: block; }
.bento__h { display: block; font-size: 32px; font-weight: 800; line-height: 1.1; margin-bottom: 10px; }
.bento__p { display: block; font-size: 16px; color: var(--on-ink); margin-bottom: 14px; }
.bento__go { font-weight: 800; color: var(--mint); }
.bento__wide { grid-column: span 2; background: var(--green); color: #fff !important; }
.bento__wide .bento__h { font-size: 26px; margin-bottom: 6px; }
.bento__wide .bento__p { color: #E6F7EF; margin: 0; }
.bento__tile { background: #fff; border: 1px solid var(--line-2); box-shadow: 0 6px 18px rgba(16, 42, 67, .07); }
.bento__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--menta); color: var(--green); display: flex; align-items: center; justify-content: center; }
.bento__h3 { display: block; font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.bento__p3 { display: block; font-size: 15px; color: var(--txt-2); }
.bento__check { background: var(--menta); border: 2px dashed var(--green); }
.bento__go2 { font-weight: 800; color: #0E5E43; font-size: 15px; }

/* ---------- Una notte qualunque ---------- */
.night .h1 { max-width: 860px; }
.night .lead { margin-bottom: 56px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, var(--mint), var(--ink-3)); }
.timeline li { position: relative; display: flex; flex-direction: column; }
.tl__ico { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); border: 2px solid var(--mint); display: flex; align-items: center; justify-content: center; color: var(--mint); margin-bottom: 18px; }
.timeline .is-day .tl__ico { background: var(--mint); color: var(--ink); }
.tl__h { font-size: 30px; font-weight: 800; color: var(--mint); }
.timeline .is-day .tl__h { color: #fff; }
.timeline strong { font-size: 17px; margin: 4px 0; }
.timeline li > span:last-child { font-size: 15px; color: var(--on-ink-2); }
.night .btns { margin-top: 56px; }
.night .small-muted { color: #7F95AA; }

/* ---------- Lavori ---------- */
.works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.work { grid-column: span 5; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.work:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(16, 42, 67, .14); color: var(--ink); }
.works--vetrina .work, .works--vetrina .work--big { grid-column: span 4; }
.works--griglia .work { grid-column: span 4; }
.work__frame { display: flex; flex-direction: column; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); flex: 0 0 auto; background: #fff; }
.work__frame--single { margin-bottom: 8px; box-shadow: var(--shadow-2); }
.work__bar { height: 30px; background: #EEF3F1; display: flex; align-items: center; gap: 6px; padding: 0 12px; flex: 0 0 auto; }
.work__bar i { width: 9px; height: 9px; border-radius: 50%; background: #F2A3A3; }
.work__bar i:nth-child(2) { background: #F3D58A; }
.work__bar i:nth-child(3) { background: #9AD9B5; }
.work__bar span { margin-left: 10px; font-size: 11px; color: var(--txt-3); }
.work__img { display: block; width: 100%; height: auto; object-fit: cover; object-position: top; aspect-ratio: 16 / 10; }
.work__ph { flex: 1 1 auto; min-height: 220px; aspect-ratio: 16 / 10; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; color: var(--txt-2); font-size: 14px; }
.work__ph--mint { background: var(--menta); } .work__ph--sky { background: var(--sky); } .work__ph--sand { background: var(--sand); }
.work__meta { padding: 16px 6px 4px; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px 12px; }
.work__meta > span:first-child { flex: 1 1 100%; }
.work__t { display: block; font-weight: 800; font-size: 20px; }
.work__d { display: block; font-size: 14px; color: var(--txt-2); }
.work__badge { background: var(--menta); color: #0E5E43; font-weight: 800; font-size: 13px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
/* Archivio compatto dei lavori */
.arch { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.arch__i { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 10px 14px; height: 100%; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.arch__i:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.arch__i img, .arch__ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin-bottom: 8px; background: #fff; }
.arch__ph { display: flex; align-items: center; justify-content: center; color: var(--txt-2); }
.arch__t { font-weight: 800; font-size: 16px; line-height: 1.25; padding: 0 4px; }
.arch__d { font-size: 13.5px; color: var(--txt-2); padding: 0 4px; }

/* ---------- Fascia cinetica ---------- */
.kinetic { background: var(--green); padding: 34px 0; overflow: hidden; }
.kinetic__track { display: flex; gap: 56px; width: max-content; animation: mq 30s linear infinite; font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -2px; color: #fff; white-space: nowrap; }
.kinetic__track i { font-style: normal; color: var(--ink); }

/* ---------- Check-up ---------- */
.checkbox { background: radial-gradient(600px 300px at 85% 20%, #1E4A6A 0%, rgba(30, 74, 106, 0) 70%), var(--ink); color: #fff; border-radius: 36px; padding: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.checkbox__txt { flex: 1 1 520px; min-width: 0; }
.checkbox__gauges { flex: 0 1 340px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: center; }
.gauge { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--on-ink); }
.gauge text { font-family: var(--font); }
.urlform { display: flex; flex-wrap: wrap; gap: 10px; background: #fff; border-radius: 18px; padding: 8px; max-width: 640px; }
.urlform input { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 17px; padding: 14px 16px; border: 0; color: var(--ink); background: transparent; border-radius: 12px; }
.urlform input:focus { outline: none; }
.urlform:focus-within { box-shadow: 0 0 0 3px var(--mint); }
.urlform .btn { border-radius: 12px; }
.urlform--big { margin: 28px auto 0; }

/* ---------- Passi ---------- */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.step { background: #F2FAF6; border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; }
.step__n { font-size: 56px; font-weight: 800; color: var(--mint); line-height: 1; letter-spacing: -2px; }
.step__t { font-size: 20px; margin: 14px 0 6px; line-height: 1.25; }
.step__d { font-size: 15px; color: var(--txt-2); }
.step--ink { background: var(--ink); color: #fff; }
.step--ink .step__d { color: var(--on-ink); }

/* ---------- Schede articoli ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pcard { text-decoration: none; color: var(--ink); background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(16, 42, 67, .06); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(16, 42, 67, .12); color: var(--ink); }
.pcard__img { display: block; width: 100%; height: 170px; object-fit: cover; }
.pcard__img--g1 { background: linear-gradient(135deg, var(--menta), #B8EBD3); }
.pcard__img--g2 { background: linear-gradient(135deg, var(--ink), #1E4A6A); }
.pcard__img--g3 { background: linear-gradient(135deg, var(--sky), #C4E2F8); }
.pcard__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.pcard__body .eyebrow { margin: 0; font-size: 12px; }
.pcard__t { font-size: 20px; font-weight: 800; line-height: 1.3; }
.pcard__d { font-size: 15px; color: var(--txt-2); }
.pcard__meta { margin-top: auto; font-size: 13px; color: var(--txt-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.pager { margin-top: 40px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pager .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); text-decoration: none; font-weight: 700; color: var(--ink); }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Invito finale ---------- */
.cta-end { background: radial-gradient(700px 400px at 50% 0%, var(--menta) 0%, rgba(221, 245, 234, 0) 75%), #fff; padding: 112px 0; }
.cta-end__sym { width: 92px; height: auto; margin: 0 auto 18px; }
.cta-end .h1 { font-size: clamp(40px, 5vw, 68px); letter-spacing: -.045em; }
.cta-end .btns { margin: 30px 0 36px; }
.cta-end__info { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-size: 15px; color: var(--txt-2); }
.cta-end__info strong { color: var(--ink); margin-right: 4px; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--on-ink-2); font-size: 15px; padding: 72px 0 28px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { color: var(--mint); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.ftr__brand img { height: 60px; width: auto; margin-bottom: 18px; }
.ftr__brand p { max-width: 320px; }
.ftr__social { display: flex; gap: 10px; }
.ftr__social a { width: 44px; height: 44px; border-radius: 50%; background: var(--ink-2); border: 1px solid var(--ink-4); display: inline-flex; align-items: center; justify-content: center; }
.ftr__social a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.ftr__h { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 16px; }
.ftr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr__list--ico li { display: flex; gap: 10px; align-items: flex-start; }
.ftr__list--ico svg { color: var(--mint); margin-top: 3px; flex: 0 0 auto; }
.ftr__bottom { border-top: 1px solid var(--ink-3); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr__legal a, .ftr__legal .linkbtn { color: var(--on-ink-2); text-decoration: underline; }

/* Bottone WhatsApp fluttuante */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; text-decoration: none; padding: 14px; border-radius: 999px; box-shadow: 0 16px 36px rgba(16, 42, 67, .3); font-weight: 800; transition: transform .2s ease, padding .25s ease; }
.fab:hover { color: #fff; transform: translateY(-3px); }
.fab__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease; }
.fab:hover .fab__label, .fab:focus-visible .fab__label { max-width: 120px; }
.fab__pulse { position: absolute; inset: 0; border-radius: inherit; animation: fabpulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes fabpulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }

/* ---------- Testata delle pagine interne ---------- */
.phero { background: radial-gradient(800px 420px at 10% 0%, var(--menta) 0%, rgba(221, 245, 234, 0) 70%), var(--soft); padding: 104px 0 72px; }
.phero--center { padding-bottom: 56px; }
.phero--slim { padding-bottom: 40px; }
.phero--ink { background: radial-gradient(700px 380px at 85% 10%, #1E4A6A 0%, rgba(30, 74, 106, 0) 70%), var(--ink); color: #fff; padding-bottom: 88px; }
.phero--ink .crumbs a, .phero--ink .crumbs li { color: var(--on-ink-2); }
.phero--ink .phero__t { color: #fff; }
.phero__in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.phero__txt { flex: 999 1 560px; min-width: 0; }
.phero__t { margin-bottom: 18px; }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--txt-3); }
.center .crumbs ol { justify-content: center; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--txt-3); }
.crumbs a { color: var(--txt-3); text-decoration: none; }
.crumbs a:hover { color: var(--green-d); text-decoration: underline; }
.why { flex: 1 1 320px; min-width: 0; background: #fff; border-radius: var(--r); padding: 30px; box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.why__ico { width: 64px; height: 64px; border-radius: 18px; background: var(--ink); color: var(--mint); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.why__t { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-d); margin-bottom: 12px; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 700; }
.why__list li { display: flex; gap: 10px; align-items: flex-start; }
.why__list svg { color: var(--green); flex: 0 0 auto; margin-top: 3px; }

.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.feat__item { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 28px; box-shadow: 0 6px 18px rgba(16, 42, 67, .06); }
.feat__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--menta); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat__t { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.feat__d { font-size: 16px; color: var(--txt-2); margin: 0; }
.prose-lg p { font-size: 19px; color: var(--txt-2); }
.prose-lg .lead-xl { color: var(--txt); }

.faq { display: grid; gap: 12px; margin-top: 36px; }
.faq__item { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { color: var(--green); transition: transform .25s ease; flex: 0 0 auto; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 24px 20px; color: var(--txt-2); font-size: 16px; }
.faq__a p { margin: 0; }
.sec--faq { background: var(--soft); }

.srv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.srv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
.card-srv { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 22px; padding: 22px; text-decoration: none; color: var(--ink); box-shadow: 0 6px 18px rgba(16, 42, 67, .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card-srv:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16, 42, 67, .12); border-color: var(--mint); color: var(--ink); }
.card-srv__ico { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; background: var(--menta); color: var(--green); display: flex; align-items: center; justify-content: center; }
.card-srv__body { flex: 1 1 auto; min-width: 0; }
.card-srv__t { display: block; font-weight: 800; font-size: 18px; }
.card-srv__d { display: block; font-size: 14.5px; color: var(--txt-2); }
.card-srv__go { color: var(--green); flex: 0 0 auto; }
.card-srv--check { background: var(--menta); border: 2px dashed var(--green); }
.card-srv--check .card-srv__ico { background: #fff; }

/* ---------- Contatti ---------- */
.book { background: var(--ink); color: #fff; border-radius: 36px; padding: 48px; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; box-shadow: var(--shadow-2); }
.book__txt { flex: 1 1 360px; min-width: 0; }
.book__ui { flex: 1 1 460px; min-width: 0; display: grid; gap: 14px; }
.book__row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 15px; font-weight: 700; border-radius: 14px; padding: 11px 16px; cursor: pointer; min-height: 44px; background: transparent; color: #fff; border: 2px solid var(--ink-4); transition: background .2s, color .2s, border-color .2s; }
.chip[aria-pressed="true"] { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.chip--link { color: var(--ink); border-color: var(--line-2); background: #fff; text-decoration: none; display: inline-flex; align-items: center; }
.chip--link:hover { border-color: var(--green); color: var(--ink); }
.book__sum { margin: 0; color: var(--on-ink); font-size: 15px; min-height: 1.4em; }
.book__sum strong { color: #fff; }
.book .btn { justify-self: start; }
.contact { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.contact__form { flex: 999 1 560px; min-width: 0; background: #fff; border-radius: var(--r); padding: 40px; box-shadow: var(--shadow); }
.contact__side { flex: 1 1 300px; min-width: 0; display: grid; gap: 12px; }
.ccard { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 18px; text-decoration: none; color: var(--ink); }
a.ccard:hover { border-color: var(--mint); color: var(--ink); }
.ccard strong { display: block; }
.ccard span span { display: block; font-size: 15px; color: var(--txt-2); }
.ccard__ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: var(--menta); color: var(--green); display: flex; align-items: center; justify-content: center; }
.ccard__ico--green { background: #25D366; color: #fff; }
.form { display: grid; gap: 4px; margin-top: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid #C9D6E3; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(44, 201, 140, .25); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--green); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 14px; padding: 14px 18px; font-weight: 700; margin: 16px 0; }
.alert--ok { background: var(--menta); color: #0E5E43; }
.alert--err { background: #FDECEC; color: #8A1C1C; }

/* ---------- Check-up: risultati ---------- */
.cu[hidden] { display: none; }
.cu__loading { text-align: center; padding: 24px 0; }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 5px solid var(--menta); border-top-color: var(--green); display: inline-block; animation: spin .9s linear infinite; margin-bottom: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.cu__err { text-align: center; display: grid; gap: 10px; justify-items: center; }
.scores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 36px 0; }
.score { background: var(--soft); border-radius: 22px; padding: 24px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.score svg text { font-family: var(--font); }
.score__l { font-weight: 800; }
.score__v { font-size: 13px; color: var(--txt-3); }
.cu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cu__box { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 28px; }
.metrics { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0; }
.metrics dt { color: var(--txt-2); }
.metrics dd { margin: 0; font-weight: 800; text-align: right; }
.metrics .is-good { color: var(--green-d); } .metrics .is-mid { color: #B7791F; } .metrics .is-bad { color: #C53030; }
.opps { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.opps li small { display: block; color: var(--txt-3); }
.cu__cta { margin-top: 28px; text-align: center; background: var(--menta); border-radius: var(--r); padding: 36px 24px; }

/* ---------- Chi sono ---------- */
.portrait { flex: 1 1 340px; max-width: 440px; margin: 0 auto; position: relative; }
.portrait img, .portrait__ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow-2); }
.portrait__ph { background: linear-gradient(160deg, var(--menta), #fff); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; color: var(--txt-2); font-weight: 700; }
.portrait .portrait__ph img { width: 120px; height: auto; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.portrait__ph { padding-bottom: 70px; }
.portrait__cap { position: absolute; left: 20px; bottom: 20px; background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 16px; font-size: 14px; display: flex; flex-direction: column; }

/* ---------- Testi (articoli, pagine, legali) ---------- */
.prose { font-size: 18px; color: #243B53; }
.prose h2 { font-size: 30px; font-weight: 800; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 22px; font-weight: 800; margin: 1.4em 0 .4em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 18px; height: auto; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; background: var(--mint-bg); border-radius: 18px; font-size: 19px; }
.prose a { text-decoration: underline; }
.prose .wp-block-image { margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--mint-bg); }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.legal { font-size: 17px; }
.legal h2 { font-size: 24px; }
.legal h3 { font-size: 19px; }
.legal__kicker { font-weight: 800; color: var(--green-d); }
.legal__box { background: var(--mint-bg); border-radius: 20px; padding: 22px 24px; margin: 1.6em 0; }
.legal__box p:last-child { margin-bottom: 0; }
.legal__date { margin-top: 2em; font-size: 15px; color: var(--txt-3); }
.post__meta { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--txt-3); }
.post__img img { border-radius: 26px; width: 100%; height: auto; box-shadow: var(--shadow); margin-bottom: 48px; }
.post__body { padding-bottom: 32px; }
.author { display: flex; gap: 18px; align-items: flex-start; background: var(--mint-bg); border-radius: 24px; padding: 26px; margin: 16px 0 72px; }
.author img { width: 64px; height: auto; flex: 0 0 auto; }
.author__n { font-weight: 800; font-size: 18px; margin-bottom: 4px; }

/* ---------- Banner cookie ---------- */
.ck { position: fixed; left: 20px; bottom: 20px; z-index: 95; width: min(460px, calc(100vw - 40px)); background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 30px 80px rgba(16, 42, 67, .3); border: 1px solid var(--line); }
.ck[hidden] { display: none; }
.ck__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ck__head { display: flex; gap: 10px; align-items: center; color: var(--green); padding-right: 40px; }
.ck__t { font-size: 19px; margin: 0; color: var(--ink); }
.ck__d { font-size: 14.5px; color: var(--txt-2); margin: 12px 0 14px; }
.ck__prefs { display: grid; gap: 10px; margin-bottom: 14px; }
.ck__prefs[hidden] { display: none; }
.ck__opt { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; background: var(--soft); border-radius: 12px; padding: 10px 12px; }
.ck__opt input { width: 20px; height: 20px; accent-color: var(--green); margin-top: 1px; flex: 0 0 auto; }
.ck__opt strong { display: block; }
.ck__opt.is-off { opacity: .6; }
.ck__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ck__btns [hidden] { display: none; }

/* ---------- Comparsa allo scorrimento ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.stage { transform: scale(.86); transform-origin: top center; margin-bottom: -80px; }
	.hdr__nav ul { gap: 6px 18px; }
	.hdr__r { gap: 14px; }
	.mega__in { grid-template-columns: minmax(0, 1fr) 250px; }
	.mega__srv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.hdr__nav, .hdr__cta { display: none; }
	.mega { display: none !important; }
	.hdr__burger, .hdr__wa { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--menta); color: var(--ink); cursor: pointer; }
	.hdr__wa { background: #25D366; color: #fff; }
	.hdr__in { grid-template-columns: auto 1fr auto; }
	.hdr__in, .hdr.is-scrolled .hdr__in { --hs: 13px; padding-top: 18px; padding-bottom: 18px; }
	.medal, .hdr.is-scrolled .medal { justify-self: center; padding: 10px 20px 18px; margin: 0 0 -34px; }
	.medal__logo { height: 52px; }
	.hdr.is-scrolled .medal__logo { height: 44px; }
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); }
	.timeline { grid-template-columns: 1fr; gap: 26px; }
	.timeline::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--mint), var(--ink-3)); }
	.timeline li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
	.tl__ico { grid-row: span 3; margin: 0; }
	.works .work, .works--vetrina .work--big, .works--griglia .work { grid-column: span 6; grid-row: auto; }
	.arch { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cards3, .feat, .srv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftr__grid { grid-template-columns: 1fr 1fr; }
	.scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.stage { display: none; }
	.hero__in { padding-bottom: 80px; }
	.sec { padding: 80px 0; }
	.checkbox, .book { padding: 36px 24px; border-radius: 28px; }
	.cu__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.topbar__hide, .topbar .topbar__cta { display: none; }
	.topbar__in { justify-content: center; text-align: center; }
	.hdr__in, .hdr.is-scrolled .hdr__in { gap: 10px; padding-top: 16px; padding-bottom: 16px; }
	.medal, .hdr.is-scrolled .medal { padding: 8px 14px 16px; border-radius: 22px; margin-bottom: -34px; }
	.medal__logo { height: 40px; }
	.medal__ribbon { font-size: 9.5px; letter-spacing: 1px; padding: 5px 10px; bottom: -11px; }
	.hero__in { padding-top: 88px; }
	.hero__t { letter-spacing: -.035em; }
	.btns .btn--lg { width: 100%; }
	.bento, .cards3, .feat, .srv-grid, .srv-grid--2, .steps, .form__row, .ftr__grid { grid-template-columns: 1fr; }
	.bento__big, .bento__wide { grid-column: auto; grid-row: auto; }
	.bento { grid-auto-rows: auto; }
	.bento a { padding: 22px; gap: 18px; }
	.bento__big { min-height: 0; }
	.bento__mock { display: none; }
	.bento__h { font-size: 26px; }
	.work__meta { flex-wrap: wrap; }
	.works .work { grid-column: span 12 !important; }
	.arch { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.statbar__in { grid-template-columns: 1fr; }
	.sec { padding: 64px 0; }
	.phero { padding: 88px 0 48px; }
	.contact__form { padding: 26px 20px; }
	.urlform .btn { width: 100%; }
	.scores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.fab { right: 14px; bottom: 14px; }
	.ck { left: 10px; right: 10px; bottom: 10px; width: auto; }
	.ck__btns { grid-template-columns: 1fr; }
	.ftr__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.rot > span, .dot, .medal__ring, .mq, .kinetic__track, .statbar__glow, .float-bar, .f1, .f2, .f3, .fab__pulse, .b1, .b2, .b3, .b4 { animation: none !important; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.medal:hover, .btn:hover, .bento a:hover, .work:hover, .pcard:hover, .card-srv:hover { transform: none; }
}

@media print {
	.topbar, .hdr, .drawer, .fab, .ck, .kinetic, .ftr__social { display: none !important; }
	.sec { padding: 24px 0; }
}
