/* ==========================================================================
   LAIMA – stile principale
   ========================================================================== */

:root {
	--c-navy-950: #061a33;
	--c-navy-900: #0b2545;
	--c-navy-800: #13315c;
	--c-navy-700: #1d4477;
	--c-primary: #0284c7;
	--c-primary-600: #0369a1;
	--c-sky: #0ea5e9;
	--c-cyan: #22d3ee;
	--c-red: #e11d2a;
	--c-green: #16a34a;
	--c-wa: #25d366;

	--c-text: #1e293b;
	--c-muted: #5b6b80;
	--c-line: #e2e8f0;
	--c-soft: #f2f7fb;
	--c-white: #fff;

	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgb(11 37 69 / 6%), 0 2px 8px rgb(11 37 69 / 6%);
	--shadow: 0 10px 30px -10px rgb(11 37 69 / 25%);
	--shadow-lg: 0 30px 60px -20px rgb(6 26 51 / 45%);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

/* Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--c-text); background: var(--c-white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary-600); }
h1, h2, h3, h4 { color: var(--c-navy-900); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-cyan); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text, .hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--c-navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 16px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.narrow--center { margin-inline: auto; }

/* Buttons -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-size: .975rem; line-height: 1.2; border: 2px solid transparent; transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1em 1.7em; font-size: 1.03rem; }
.btn--primary { background: linear-gradient(135deg, var(--c-sky), var(--c-primary)); color: #fff; box-shadow: 0 8px 20px -6px rgb(2 132 199 / 55%); }
.btn--primary:hover { color: #fff; box-shadow: 0 12px 26px -6px rgb(2 132 199 / 65%); }
.btn--outline { border-color: var(--c-line); color: var(--c-navy-900); background: #fff; }
.btn--outline:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--light { background: #fff; color: var(--c-navy-900); }
.btn--light:hover { color: var(--c-primary); }
.btn--ghost-light { border-color: rgb(255 255 255 / 35%); color: #fff; background: rgb(255 255 255 / 6%); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgb(255 255 255 / 12%); }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow .icon + * , .eyebrow:has(.icon)::before { display: none; }
.eyebrow--light { color: var(--c-cyan); }

/* Topbar --------------------------------------------------------------- */
.topbar { background: var(--c-navy-950); color: rgb(255 255 255 / 75%); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar ul { list-style: none; display: flex; align-items: center; gap: 22px; }
.topbar li { display: flex; align-items: center; gap: 7px; }
.topbar .icon { width: 15px; height: 15px; color: var(--c-cyan); }
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.topbar__social { gap: 6px !important; }
.topbar__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background .2s; }
.topbar__social a:hover { background: rgb(255 255 255 / 10%); }
.topbar__social .icon { color: inherit; width: 17px; height: 17px; }

/* Header --------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgb(255 255 255 / 88%); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--c-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--c-navy-900); }
.brand:hover { color: var(--c-navy-900); }
.brand__logo { width: 48px; height: 48px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.45rem; letter-spacing: .04em; }
.brand__tag { font-size: .74rem; font-weight: 600; color: var(--c-muted); letter-spacing: .02em; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__tag { color: rgb(255 255 255 / 60%); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav .menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.main-nav .menu > li { position: relative; display: flex; align-items: center; }
.main-nav .menu a { display: block; padding: 10px 14px; font-weight: 600; font-size: .95rem; color: var(--c-navy-900); border-radius: 999px; }
.main-nav .menu > li > a:hover, .main-nav .menu > li:hover > a { color: var(--c-primary); background: var(--c-soft); }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a, .main-nav .current_page_ancestor > a { color: var(--c-primary) !important; }
.submenu-toggle { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -10px; padding: 0; border: 0; background: none; color: var(--c-navy-900); border-radius: 50%; }
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.main-nav .sub-menu, .main-nav .children { list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 8px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--ease); }
.main-nav .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu, .main-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav li:hover > .submenu-toggle .icon, .main-nav li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.main-nav .sub-menu a { padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.main-nav .sub-menu a:hover { background: var(--c-soft); color: var(--c-primary); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--c-line); background: #fff; border-radius: 12px; place-items: center; color: var(--c-navy-900); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* Hero ----------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, #1d5a9a 0%, transparent 60%), linear-gradient(160deg, var(--c-navy-950) 0%, var(--c-navy-900) 45%, var(--c-navy-800) 100%); padding: clamp(56px, 9vw, 110px) 0 clamp(110px, 12vw, 160px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid { position: absolute; inset: 0; color: rgb(255 255 255 / 4.5%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero__blob--1 { width: 460px; height: 460px; background: var(--c-sky); top: -120px; right: -80px; opacity: .35; }
.hero__blob--2 { width: 380px; height: 380px; background: var(--c-cyan); bottom: -140px; left: -120px; opacity: .18; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.9rem); margin-bottom: .45em; }
.text-gradient { background: linear-gradient(90deg, var(--c-cyan), #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgb(255 255 255 / 80%); max-width: 36em; }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 30px; }
.hero__checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .93rem; color: rgb(255 255 255 / 80%); }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks .icon { color: var(--c-cyan); width: 18px; height: 18px; }

/* Foto a tutta altezza sulla metà destra, sfumata nel blu verso il testo. */
.hero__photo { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 62%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 15%) 15%, rgb(0 0 0 / 55%) 30%, #000 50%); mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 15%) 15%, rgb(0 0 0 / 55%) 30%, #000 50%); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 10% 25%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(6 26 51 / 55%) 0%, transparent 35%); }
.hero__visual { position: relative; align-self: stretch; min-height: 440px; }
.hero__badge { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--c-navy-900); padding: 12px 18px 12px 12px; border-radius: var(--radius); box-shadow: var(--shadow); line-height: 1.2; animation: float 3.2s ease-in-out infinite; }
.hero__badge strong { display: block; font-size: 1rem; }
.hero__badge small { color: var(--c-muted); font-size: .8rem; font-weight: 500; }
.hero__badge-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #e0f2fe; color: var(--c-primary); }
.hero__badge-icon--green { background: #dcfce7; color: var(--c-green); }
.hero__badge--a { bottom: -50px; left: 0; }
.hero__badge--b { bottom: -50px; right: 0; animation-delay: -1.6s; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); color: var(--c-white); }

@keyframes float { 50% { transform: translateY(-18px); } }

/* Page hero ------------------------------------------------------------ */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--c-navy-950), var(--c-navy-800)); padding: clamp(48px, 7vw, 84px) 0 clamp(80px, 9vw, 110px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 22px 0 0; }
.page-hero__lead { color: rgb(255 255 255 / 78%); font-size: 1.15rem; max-width: 42em; margin: 16px 0 0; }
.page-hero .eyebrow { margin-top: 18px; }
.breadcrumb { font-size: .85rem; color: rgb(255 255 255 / 60%); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: rgb(255 255 255 / 75%); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { opacity: .4; }

/* Sections ------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tight { padding-top: 0; margin-top: clamp(-70px, -6vw, -40px); z-index: 2; }
.section--soft { background: var(--c-soft); }
.section--dark { background: linear-gradient(160deg, var(--c-navy-900), var(--c-navy-800)); color: #fff; overflow: hidden; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }
.section-head--left { text-align: left; margin-left: 0; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-title--light { color: #fff; }
.section-lead { color: var(--c-muted); font-size: 1.1rem; }
.section-lead--light { color: rgb(255 255 255 / 75%); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--content { grid-template-columns: 1.15fr .85fr; align-items: start; }

/* Features ------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.feature:hover { transform: translateY(-4px); }
.feature__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #e0f2fe, #cffafe); color: var(--c-primary); margin-bottom: 20px; }
.feature__icon .icon { width: 28px; height: 28px; }
.feature__title { font-size: 1.2rem; }
.feature p { color: var(--c-muted); margin: 0; font-size: .98rem; }

/* Tools grid ----------------------------------------------------------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 30px; color: var(--c-text); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.tool-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--c-sky), var(--c-cyan)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--c-text); }
.tool-card:hover::after { transform: scaleX(1); }
.tool-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--c-navy-900); color: var(--c-cyan); margin-bottom: 20px; transition: background .3s; }
.tool-card__icon .icon { width: 26px; height: 26px; }
.tool-card:hover .tool-card__icon { background: var(--c-primary); color: #fff; }
.tool-card__title { font-size: 1.25rem; margin-bottom: .4em; }
.tool-card__text { color: var(--c-muted); font-size: .97rem; flex: 1; }
.tool-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-primary); font-size: .93rem; }
.tool-card__more .icon { width: 18px; height: 18px; transition: transform .2s; }
.tool-card:hover .tool-card__more .icon { transform: translateX(4px); }

.tools-grid--compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tool-card--compact { flex-direction: row; align-items: center; gap: 14px; padding: 18px; }
.tool-card--compact .tool-card__icon { margin: 0; width: 46px; height: 46px; border-radius: 12px; }
.tool-card--compact .tool-card__title { flex: 1; font-size: 1.05rem; margin: 0; }

/* Steps ---------------------------------------------------------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--c-line) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 8px; counter-increment: step; }
.step__icon { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: #fff; border: 2px solid var(--c-line); color: var(--c-primary); box-shadow: var(--shadow-sm); }
.step__icon .icon { width: 28px; height: 28px; }
.step__icon::after { content: counter(step); position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--c-muted); font-size: .95rem; margin: 0; }

/* Chips ---------------------------------------------------------------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 14%); font-weight: 600; transition: background .2s, transform .2s; }
.chips li:hover { background: rgb(255 255 255 / 13%); transform: translateY(-2px); }
.chips .icon { color: var(--c-cyan); }

/* Audience ------------------------------------------------------------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience__item { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 30px 20px; border-radius: var(--radius-lg); background: var(--c-soft); font-weight: 700; color: var(--c-navy-900); }
.audience__item .icon { width: 40px; height: 40px; color: var(--c-primary); }

/* CTA band ------------------------------------------------------------- */
.cta-band { padding: 0 0 clamp(64px, 8vw, 100px); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); background: radial-gradient(600px 300px at 100% 0%, rgb(34 211 238 / 35%), transparent 60%), linear-gradient(135deg, var(--c-primary), var(--c-navy-800)); color: #fff; box-shadow: var(--shadow-lg); }
.cta-band__title { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .3em; max-width: 22em; }
.cta-band__text { margin: 0; color: rgb(255 255 255 / 80%); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* Content ------------------------------------------------------------- */
.entry-content { font-size: 1.08rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.5em; }
.entry-content p.lead, .entry-content .is-style-lead { font-size: 1.25rem; color: var(--c-navy-800); font-weight: 500; line-height: 1.55; }
.entry-content ul, .entry-content ol { padding-left: 0; margin: 0 0 1.4em; list-style: none; }
.entry-content ul li { position: relative; padding-left: 32px; margin-bottom: .6em; }
.entry-content ul li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: #e0f2fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.entry-content blockquote { margin: 1.5em 0; padding: 20px 24px; border-left: 4px solid var(--c-primary); background: var(--c-soft); border-radius: 0 var(--radius) var(--radius) 0; font-weight: 500; color: var(--c-navy-800); }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content strong { color: var(--c-navy-900); }
.entry-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.tool-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, var(--c-sky), var(--c-primary)); color: #fff; margin-bottom: 24px; box-shadow: 0 10px 24px -8px rgb(2 132 199 / 60%); }
.tool-badge .icon { width: 30px; height: 30px; }

.media-frame { margin: 0; padding: 10px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-frame img { width: 100%; border-radius: calc(var(--radius-lg) - 8px); }
.media-frame figcaption { font-size: .85rem; color: var(--c-muted); padding: 10px 6px 2px; }
.media-frame--sticky { position: sticky; top: calc(var(--header-h) + 24px); }

/* Tool rows (pagina Strumenti) ---------------------------------------- */
.tool-rows { display: grid; gap: clamp(40px, 6vw, 72px); margin-top: 24px; }
.tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.tool-row--reverse .tool-row__media { order: 2; }
.tool-row__media { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-soft); aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.tool-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tool-row__media:hover img { transform: scale(1.04); }
.tool-row__placeholder { display: grid; place-items: center; height: 100%; color: var(--c-primary); background: linear-gradient(135deg, #e0f2fe, #f0f9ff); }
.tool-row__placeholder .icon { width: 96px; height: 96px; stroke-width: 1.2; }
.tool-row__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.tool-row__title a { color: inherit; }
.tool-row__body p { color: var(--c-muted); }
.tool-row__body .tool-row__credit { margin: 16px 0 0; font-size: .8rem; }

/* Contatti ------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; color: var(--c-text); transition: border-color .2s, box-shadow .2s, transform .2s; }
a.contact-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--c-text); }
.contact-card small { display: block; color: var(--c-muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-card small.mt { margin-top: 10px; }
.contact-card strong { display: block; color: var(--c-navy-900); font-size: 1.02rem; line-height: 1.35; overflow-wrap: anywhere; }
.contact-card__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: #e0f2fe; color: var(--c-primary); }
.contact-card__icon--green { background: #dcfce7; color: var(--c-green); }
.contact-card--primary { background: linear-gradient(135deg, var(--c-sky), var(--c-primary)); border-color: transparent; }
.contact-card--primary small { color: rgb(255 255 255 / 80%); }
.contact-card--primary strong { color: #fff; font-size: 1.3rem; }
.contact-card--primary .contact-card__icon { background: rgb(255 255 255 / 20%); color: #fff; }
.contact-card--static { align-items: flex-start; }

.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card__title { font-size: 1.7rem; margin-bottom: .2em; }
.form-card__lead { color: var(--c-muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field--split > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 700; color: var(--c-navy-900); }
.field input:not([type=checkbox]):not([type=file]), .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); background: #f8fafc; color: var(--c-text); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 4px rgb(2 132 199 / 15%); }
.field__hint { align-self: flex-end; font-size: .8rem; color: var(--c-muted); }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--c-muted); font-size: .9rem; }
.field--check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--c-primary); flex: none; }
.file-drop { display: flex !important; align-items: center; gap: 14px; padding: 18px; border: 2px dashed var(--c-line); border-radius: var(--radius); cursor: pointer; font-weight: 500 !important; color: var(--c-muted) !important; transition: border-color .2s, background .2s; }
.file-drop:hover { border-color: var(--c-primary); background: var(--c-soft); }
.file-drop .icon { width: 28px; height: 28px; color: var(--c-primary); }
.file-drop strong { color: var(--c-navy-900); }
.file-drop small { display: block; font-size: .8rem; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop.has-file { border-style: solid; border-color: var(--c-primary); background: #f0f9ff; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; font-size: .97rem; }
.notice--ok { background: #dcfce7; color: #14532d; }
.notice--ok .icon { color: var(--c-green); width: 24px; height: 24px; }
.notice--err { background: #fee2e2; color: #7f1d1d; }

/* Footer --------------------------------------------------------------- */
.site-footer { background: var(--c-navy-950); color: rgb(255 255 255 / 68%); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-top: clamp(56px, 7vw, 80px); padding-bottom: 48px; }
.site-footer__brand p { margin: 20px 0; max-width: 30em; }
.site-footer__title { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 18px; }
.site-footer a { color: rgb(255 255 255 / 75%); }
.site-footer a:hover { color: #fff; }
.site-footer__links, .site-footer__contacts { list-style: none; display: grid; gap: 10px; }
.site-footer__contacts li { display: flex; align-items: center; gap: 10px; }
.site-footer__contacts .icon { color: var(--c-cyan); width: 18px; height: 18px; }
.site-footer__addr { margin-bottom: 14px; }
.site-footer__addr strong { color: #fff; font-weight: 600; }
.social { list-style: none; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgb(255 255 255 / 7%); transition: background .2s; }
.social a:hover { background: var(--c-primary); }
.site-footer__bottom { border-top: 1px solid rgb(255 255 255 / 8%); font-size: .85rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; }
.footer-menu { list-style: none; display: flex; gap: 18px; }

.fab-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--c-wa); color: #fff; box-shadow: 0 10px 25px -5px rgb(37 211 102 / 55%); transition: transform .2s; }
.fab-whatsapp:hover { transform: scale(1.08); color: #fff; }
.fab-whatsapp .icon { width: 30px; height: 30px; }
.fab-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c-wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
	.main-nav__cta { display: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.nav-toggle { display: grid; }
	/* backdrop-filter renderebbe l'header il contenitore del pannello fisso */
	.site-header { backdrop-filter: none; background: #fff; }
	.main-nav { position: fixed; inset: calc(var(--header-h) + 40px) 0 0; flex-direction: column; align-items: stretch; gap: 20px; padding: 20px var(--gutter) 40px; background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--c-line); }
	.main-nav .menu > li > a { flex: 1; padding: 16px 4px; font-size: 1.1rem; border-radius: 0; background: none !important; }
	.submenu-toggle { width: 44px; height: 44px; margin: 0; }
	.main-nav .sub-menu, .main-nav .children { position: static; flex-basis: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 12px; display: none; }
	.main-nav li.is-open > .sub-menu { display: block; }
	.main-nav li:hover > .submenu-toggle .icon { transform: none; }
	.main-nav li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
	.main-nav__cta { display: inline-flex; }
	body.nav-open { overflow: hidden; }

	.hero__inner, .split, .split--content, .contact-layout, .tool-row { grid-template-columns: 1fr; }
	.tool-row--reverse .tool-row__media { order: 0; }
	.hero { display: flex; flex-direction: column; padding-bottom: 0; }
	.hero__photo { position: relative; order: 2; width: 100%; height: clamp(300px, 60vw, 460px); margin-top: 40px; }
	.hero__photo { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
	.hero__photo::after { background: none; }
	.hero__visual { min-height: 0; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
	.hero__badge { position: static; animation: none; }
	.media-frame--sticky { position: static; }
	.features, .tools-grid { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.steps::before { display: none; }
	.audience { grid-template-columns: 1fr 1fr; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.hide-sm { display: none !important; }
	.topbar ul { gap: 14px; }
	.brand__tag { display: none; }
	.features, .tools-grid, .form-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__badge { padding: 8px 12px 8px 8px; }
	.hero__badge-icon { width: 34px; height: 34px; }
	.cta-band__actions, .cta-band__actions .btn { width: 100%; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.site-footer__bottom-inner { flex-direction: column; }
	.fab-whatsapp { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
