/*
Theme Name: Enrico Fusco
Theme URI: https://www.enricofusco.com
Author: Enrico Fusco
Description: Tema su misura per enricofusco.com — consulente di presenza online. Block theme leggero, font in locale, homepage modificabile dall'Editor del sito.
Version: 2.32.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: enricofusco
*/

:root {
	--ef-paper: #F5F1EA;
	--ef-paper-2: #ECE6DB;
	--ef-ink: #141414;
	--ef-ink-2: #3A3A3A;
	--ef-muted: #6E6A63;
	--ef-line: #D9D2C5;
	--ef-accent: #F2DA00;      /* giallo Hydra Space */
	--ef-accent-dark: #E3C900;
	--ef-night: #121212;
	--ef-night-2: #1C1C1C;
	--ef-night-line: #2E2E2E;
	--ef-display: 'Bricolage Grotesque', system-ui, sans-serif;
	--ef-serif: 'Instrument Serif', Georgia, serif;
	--ef-body: 'Inter', system-ui, sans-serif;
	--ef-wrap: 1180px;
	--ef-gutter: clamp(16px, 4vw, 40px);
	--ef-marker: linear-gradient(transparent 58%, var(--ef-accent) 58%, var(--ef-accent) 92%, transparent 92%);
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
body { background: var(--ef-paper); color: var(--ef-ink); font-family: var(--ef-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
:where(.ef-main, .ef-site-header, footer) p { margin: 0; }

.ef-wrap { max-width: var(--ef-wrap); margin-left: auto !important; margin-right: auto !important; padding-left: var(--ef-gutter); padding-right: var(--ef-gutter); width: 100%; box-sizing: border-box; }

/* Tipografia */
h1, h2, h3 { font-family: var(--ef-display); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; margin: 0; }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
h1 em, h2 em { font-family: var(--ef-serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; }
.ef-eyebrow { font-size: 12.5px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ef-muted); }
.ef-live { display: flex; align-items: center; gap: 10px; }
.ef-live::before, .ef-dot { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ef-accent); box-shadow: 0 0 0 1.5px var(--ef-ink); display: inline-block; animation: ef-blink 1.6s infinite; flex: 0 0 auto; }
@keyframes ef-blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .ef-live::before, .ef-dot { animation: none; } html { scroll-behavior: auto; } }
.ef-hl strong, .ef-lead strong { background: var(--ef-marker); padding: 0 2px; }

/* Pulsanti */
.wp-block-button.is-primary .wp-block-button__link {
	background: var(--ef-accent); color: var(--ef-ink); font-family: var(--ef-body); font-weight: 600; font-size: 16px;
	padding: 16px 26px; border-radius: 999px; border: 0; text-decoration: none; transition: transform .15s ease, background .15s ease;
}
.wp-block-button.is-primary .wp-block-button__link:hover { background: var(--ef-accent-dark); transform: translateY(-1px); }
.ef-ghost a { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 4px; }
.ef-dark .ef-ghost a { color: #fff; }

/* Header */
.wp-site-blocks > header.ef-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.ef-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.ef-site-header { top: 46px; } }
.ef-nav { background: color-mix(in srgb, var(--ef-paper) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ef-line); }
.ef-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.ef-logo { font-family: var(--ef-display); font-variation-settings: 'opsz' 96; font-weight: 800; font-size: 22px; letter-spacing: -.015em; line-height: 1; }
.ef-logo a { text-decoration: none; white-space: nowrap; }

/* Il punto giallo: firma del brand su logo e titoli */
.ef-logo a::after,
.ef-hero h1::after,
.ef-page-hero h1::after,
.ef-section h2::after,
h1.wp-block-heading.ef-page-title::after {
	content: ""; display: inline-block; width: .2em; height: .2em; border-radius: 50%;
	background: var(--ef-accent); margin-left: .04em; vertical-align: baseline;
}.ef-menu { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.ef-menu a { text-decoration: none; color: var(--ef-ink-2); }
.ef-menu a:hover { color: var(--ef-ink); }
.ef-nav-cta .wp-block-button__link { padding: 11px 20px !important; font-size: 14.5px !important; }
@media (max-width: 900px) { .ef-menu { display: none; } }

/* Sezioni */
.ef-section { padding: clamp(72px, 10vw, 128px) 0; }
.ef-dark { background: var(--ef-night); color: #EDEAE4; }
.ef-dark .ef-eyebrow { color: #9a958c; }
.ef-dark h2 em { color: var(--ef-accent); }
.ef-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.ef-head .ef-eyebrow { margin-bottom: 18px; }
.ef-head > p { color: var(--ef-ink-2); font-size: 18px; max-width: 46ch; }
.ef-dark .ef-head > p { color: #bdb8ae; }
.ef-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ef-split h2 { margin: 18px 0 26px; }
.ef-split > div > p:not(.ef-eyebrow):not(.ef-ghost) { color: var(--ef-ink-2); font-size: 18px; margin-bottom: 16px; max-width: 50ch; }
@media (max-width: 860px) { .ef-head, .ef-split { grid-template-columns: 1fr; } }

/* Hero */
.ef-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 100px); }
.ef-hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ef-hero .ef-eyebrow { margin-bottom: 28px; }
.ef-hero h1 { font-size: clamp(48px, 8.2vw, 108px); }
.ef-hero h1 em { background: linear-gradient(transparent 55%, var(--ef-accent) 55%, var(--ef-accent) 90%, transparent 90%); padding: 0 .06em; }
.ef-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ef-ink-2); max-width: 34ch; margin: 28px 0 36px !important; }
.ef-lead strong { color: var(--ef-ink); }
.ef-ctas { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
@media (max-width: 860px) { .ef-hero-grid { grid-template-columns: 1fr; } }

/* Cornice foto (mirino) */
.ef-frame { position: relative; aspect-ratio: 4/5; background: linear-gradient(160deg, #2a2a2a, #0e0e0e); border-radius: 6px; overflow: hidden; }
.ef-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ef-frame-square { aspect-ratio: 1/1; }
.ef-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: #8c8c8c; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.ef-ph b { font-family: var(--ef-display); font-size: 92px; letter-spacing: -.04em; color: #3b3b3b; font-weight: 800; }
.ef-vf { position: absolute; width: 26px; height: 26px; border-color: #fff; border-style: solid; opacity: .85; z-index: 1; }
.ef-vf.tl { top: 16px; left: 16px; border-width: 2px 0 0 2px; } .ef-vf.tr { top: 16px; right: 16px; border-width: 2px 2px 0 0; }
.ef-vf.bl { bottom: 16px; left: 16px; border-width: 0 0 2px 2px; } .ef-vf.br { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; }
.ef-rec { position: absolute; top: 22px; left: 52px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .14em; z-index: 1; }
.ef-tc { position: absolute; bottom: 22px; right: 52px; color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .1em; opacity: .8; z-index: 1; }
@media (max-width: 860px) { .ef-frame { max-width: 420px; aspect-ratio: 4/4.4; } .ef-frame-square { max-width: 380px; aspect-ratio: 1/1; } }

/* Loghi */
.ef-logos { border-top: 1px solid var(--ef-line); border-bottom: 1px solid var(--ef-line); padding: 30px 0; }
.ef-logos-row { display: flex; align-items: center; gap: clamp(24px, 4.5vw, 64px); flex-wrap: wrap; }
.ef-logo-item { font-family: var(--ef-display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); color: #8a857c; letter-spacing: -.01em; }
.ef-logo-item.is-serif { font-family: var(--ef-serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2.3vw, 28px); }
.ef-logos-row .wp-block-image img, .ef-logos-row img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .7; }

/* Problema */
.ef-pains { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ef-night-line); }
.ef-pain { padding: 28px 24px 8px 0; border-right: 1px solid var(--ef-night-line); }
.ef-pain + .ef-pain { padding-left: 24px; }
.ef-pain:last-child { border-right: 0; }
.ef-num { font-family: var(--ef-display); font-size: 14px; color: var(--ef-accent); font-weight: 700; margin-bottom: 14px !important; letter-spacing: .05em; }
.ef-pain p:not(.ef-num) { font-size: 17px; color: #8f8a81; line-height: 1.45; }
.ef-pain strong { color: #EDEAE4; font-weight: 400; }
@media (max-width: 900px) { .ef-pains { grid-template-columns: 1fr 1fr; } .ef-pain, .ef-pain + .ef-pain { border-bottom: 1px solid var(--ef-night-line); padding: 24px 16px 24px 0; } .ef-pain:nth-child(2n) { border-right: 0; padding-left: 16px; } }
@media (max-width: 520px) { .ef-pains { grid-template-columns: 1fr; } .ef-pain, .ef-pain + .ef-pain, .ef-pain:nth-child(2n) { border-right: 0; padding-left: 0; } }

/* Soluzione: schema */
.ef-diagram { background: var(--ef-paper-2); border-radius: 6px; padding: clamp(24px, 4vw, 44px); }
.ef-center { background: var(--ef-ink); color: #fff; border-radius: 999px; padding: 14px 22px; text-align: center; font-family: var(--ef-display); font-weight: 700; font-size: 18px; margin: 0 auto 26px; max-width: 260px; }
.ef-center small { display: block; font-family: var(--ef-body); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #bbb; margin-bottom: 2px; }
.ef-crew { display: block; width: max-content; margin: 0 auto 12px; background: var(--ef-accent); color: var(--ef-ink); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.ef-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ef-team div { background: var(--ef-paper); border: 1px solid var(--ef-line); border-top: 3px solid var(--ef-accent); border-radius: 4px; padding: 14px 10px; text-align: center; font-size: 14.5px; font-weight: 500; }
.ef-you { margin-top: 26px; border-top: 1px dashed #b9b1a3; padding-top: 20px; text-align: center; font-family: var(--ef-serif); font-style: italic; font-size: 22px; }
.ef-you b { font-weight: 400; background: var(--ef-marker); }

/* Metodo */
.ef-method { background: var(--ef-paper-2); }
.ef-steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.ef-step { padding-right: 24px; }
.ef-step + .ef-step { padding-left: 24px; border-left: 1px solid var(--ef-line); }
.ef-step-num { display: flex; align-items: center; gap: 10px; margin-bottom: 22px !important; font-family: var(--ef-display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.04em; }
.ef-step-num span { font-family: var(--ef-body); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ef-muted); line-height: 1.3; }
.ef-step.is-active .ef-step-num { background: linear-gradient(90deg, var(--ef-accent) 0 1.35em, transparent 1.35em); padding-left: 6px; }
.ef-step h3 { margin-bottom: 10px; }
.ef-step p:not(.ef-step-num) { color: var(--ef-ink-2); font-size: 16px; }
@media (max-width: 900px) { .ef-steps { grid-template-columns: 1fr 1fr; row-gap: 44px; } .ef-step:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .ef-steps { grid-template-columns: 1fr; } .ef-step, .ef-step + .ef-step { border-left: 0; padding-left: 0; padding-right: 0; } }

/* Servizi */
.ef-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ef-card { position: relative; background: #fff; border: 1px solid var(--ef-line); border-radius: 6px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; transition: border-color .15s ease, transform .15s ease; }
.ef-card:hover { border-color: var(--ef-ink); transform: translateY(-2px); }
.ef-idx { font-size: 13px; font-weight: 600; color: var(--ef-muted); letter-spacing: .1em; }
.ef-card h3 { font-size: 26px; }
.ef-card p:not(.ef-idx):not(.ef-pill):not(.ef-for) { color: var(--ef-ink-2); }
.ef-for { margin-top: auto !important; padding-top: 14px; font-family: var(--ef-serif); font-style: italic; font-size: 19px; }
.ef-pill { position: absolute; top: clamp(24px, 3vw, 36px); right: clamp(24px, 3vw, 36px); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--ef-ink); color: var(--ef-accent); padding: 5px 10px; border-radius: 999px; }
.ef-card.is-featured { background: var(--ef-ink); color: #fff; border-color: var(--ef-ink); }
.ef-card.is-featured h3 { color: var(--ef-accent); }
.ef-card.is-featured p:not(.ef-idx):not(.ef-for) { color: #c9c4ba; }
.ef-card.is-featured .ef-idx { color: #9a958c; }
.ef-card.is-hydra { background: var(--ef-accent); border-color: var(--ef-accent); }
.ef-card.is-hydra p:not(.ef-idx):not(.ef-for) { color: #2b2a22; }
.ef-card.is-hydra .ef-idx { color: #5c5410; }
.ef-card.is-hydra:hover { border-color: var(--ef-ink); }
@media (max-width: 760px) { .ef-cards { grid-template-columns: 1fr; } }

/* Casi studio */
.ef-cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ef-case { background: var(--ef-night-2); border: 1px solid var(--ef-night-line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding-bottom: 24px; }
.ef-case > *:not(.ef-case-img):not(figure) { padding: 0 20px; }
.ef-case-img, .ef-case figure { aspect-ratio: 4/3; margin: 0 0 12px !important; background: repeating-linear-gradient(135deg, #1f1f1f 0 12px, #232323 12px 24px); display: flex; align-items: center; justify-content: center; color: #5d5d5d; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.ef-case figure img { width: 100%; height: 100%; object-fit: cover; }
.ef-where { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8f8a81; }
.ef-case h3 { font-size: 22px; color: #fff; }
.ef-case p:not(.ef-where):not(.ef-res):not(.ef-case-img) { font-size: 15px; color: #bdb8ae; }
.ef-res { margin-top: auto !important; padding-top: 12px !important; font-family: var(--ef-display); font-weight: 700; color: var(--ef-accent); font-size: 15px; }
.ef-case.is-own { border-color: #4a452a; }
.ef-case.is-own .ef-where { color: var(--ef-accent); }
@media (max-width: 1000px) { .ef-cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ef-cases { grid-template-columns: 1fr; } }

/* Chi sono */
.ef-about .ef-split { grid-template-columns: .85fr 1.15fr; }
.ef-stats { display: flex; gap: clamp(24px, 4vw, 56px); margin: 30px 0 34px; flex-wrap: wrap; }
.ef-stats p { font-size: 14px !important; color: var(--ef-muted) !important; line-height: 1.35; margin: 0 !important; max-width: 14ch !important; }
.ef-stats strong { display: block; font-family: var(--ef-display); font-size: 44px; color: var(--ef-ink); letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
@media (max-width: 860px) { .ef-about .ef-split { grid-template-columns: 1fr; } }

/* FAQ */
.ef-faq { padding-top: 0; }
.ef-split-faq { grid-template-columns: .8fr 1.2fr; align-items: start; }
.ef-faq-list .wp-block-details { border-top: 1px solid var(--ef-line); padding: 22px 0; margin: 0; }
.ef-faq-list .wp-block-details:last-child { border-bottom: 1px solid var(--ef-line); }
.ef-faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font-family: var(--ef-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.ef-faq-list summary::-webkit-details-marker { display: none; }
.ef-faq-list summary::after { content: "+"; font-weight: 500; font-size: 26px; line-height: 1; transition: transform .2s ease; }
.ef-faq-list details[open] summary::after { transform: rotate(45deg); }
.ef-faq-list details p { color: var(--ef-ink-2); margin-top: 12px !important; max-width: 60ch; }
@media (max-width: 860px) { .ef-split-faq { grid-template-columns: 1fr; } }

/* CTA finale */
.ef-final { text-align: center; }
.ef-final .ef-live { justify-content: center; margin-bottom: 22px; color: #bdb8ae; }
.ef-final h2 { font-size: clamp(40px, 6.5vw, 84px); max-width: 16ch; margin: 0 auto 24px; color: #fff; }
.ef-final p:not(.ef-eyebrow):not(.ef-alt) { font-size: 19px; max-width: 44ch; margin: 0 auto 36px; color: #bdb8ae; }
.ef-final .wp-block-buttons { justify-content: center; }
.ef-alt { margin-top: 22px !important; font-size: 15px; color: #9a958c; }
.ef-alt a { color: #fff; }

/* Footer */
.ef-footer { background: #0b0b0b; color: #9a958c; padding: 56px 0 40px; font-size: 14.5px; }
.ef-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ef-footer .ef-logo { color: #fff; margin-bottom: 12px; }
.ef-footer a { text-decoration: none; }
.ef-footer a:hover { color: #fff; }
.ef-foot-links { line-height: 2; }
.ef-hydra-link { color: var(--ef-accent) !important; }
.ef-legal { grid-column: 1 / -1; border-top: 1px solid var(--ef-night-line); padding-top: 24px; margin-top: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 760px) { .ef-foot-grid { grid-template-columns: 1fr; } }

/* Pagine interne e blog */
.ef-page { padding: clamp(48px, 8vw, 96px) var(--ef-gutter); }
.ef-page-title { font-size: clamp(40px, 6vw, 72px); margin: 12px 0 32px; }
.ef-page-title em { font-family: var(--ef-serif); font-style: italic; font-weight: 400; }
.ef-prose > * + * { margin-top: 1.1em !important; }
.ef-prose h2 { font-size: clamp(28px, 3.5vw, 40px); margin-top: 1.6em !important; }
.ef-prose h3 { margin-top: 1.4em !important; }
.ef-prose a { text-decoration-color: var(--ef-accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.ef-featured { margin-bottom: 32px !important; }
.ef-post-cta { margin-top: 56px !important; padding: 32px; background: var(--ef-ink); color: #fff; border-radius: 6px; display: flex; flex-direction: column; gap: 18px; }
.ef-post-grid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; list-style: none; padding: 0; }
.ef-post-grid h2 { font-size: 24px; margin: 8px 0; }
.ef-post-grid h2 a { text-decoration: none; }
.ef-post-grid .wp-block-post-featured-image { margin-bottom: 14px; }
@media (max-width: 860px) { .ef-post-grid { grid-template-columns: 1fr; } }

/* ============ v2: pagine interne ============ */

/* Hero pagine */
.ef-page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--ef-line); }
.ef-page-hero .ef-eyebrow { margin-bottom: 24px; }
.ef-page-hero h1 { font-size: clamp(42px, 6.4vw, 84px); max-width: 16ch; }
.ef-page-hero .ef-hero-grid h1 { max-width: none; }
.ef-page-hero h1 em { background: linear-gradient(transparent 58%, var(--ef-accent) 58%, var(--ef-accent) 90%, transparent 90%); padding: 0 .06em; }
.ef-page-hero .ef-lead { max-width: 58ch; }
.ef-page-hero .ef-hero-grid .ef-lead { max-width: 46ch; }

/* Pulsante secondario */
.wp-block-button.is-ghost .wp-block-button__link { background: transparent; color: var(--ef-ink); border: 1.5px solid var(--ef-ink); border-radius: 999px; padding: 14px 24px; font-weight: 600; font-size: 16px; }
.wp-block-button.is-ghost .wp-block-button__link:hover { background: var(--ef-ink); color: #fff; }
.ef-dark .wp-block-button.is-ghost .wp-block-button__link { color: #fff; border-color: #fff; }
.wp-block-buttons { gap: 14px; }
.ef-center-link { text-align: center; margin-top: 44px !important; }

/* Card cliccabili */
.ef-card h3 a, .ef-case h3 a { text-decoration: none; color: inherit; }
.ef-card h3 a::before, .ef-case h3 a::before { content: ""; position: absolute; inset: 0; }
.ef-card:has(h3 a) h3 a::after { content: " →"; font-weight: 500; }
.ef-case { position: relative; }
.ef-case:hover { border-color: #5a5a5a; }
.ef-cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .ef-cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ef-cards-3 { grid-template-columns: 1fr; } }
.ef-cards .ef-card p:last-child { margin-top: 0; }

/* Split allineato in alto + testi lunghi */
.ef-split-top { align-items: start; }
.ef-split-top h2 { margin: 18px 0 0; }
.ef-prose-block p { color: var(--ef-ink-2); font-size: 18px; margin-bottom: 16px !important; max-width: 60ch; }
.ef-prose-block p:last-child { margin-bottom: 0 !important; }
.ef-split p a, .ef-prose-block a, .ef-faq-list a { text-decoration-color: var(--ef-accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }

/* Elenchi con spunta / croce */
.ef-checks, .ef-crosses { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.ef-checks li, .ef-crosses li { position: relative; padding: 16px 0 16px 40px; border-top: 1px solid var(--ef-line); font-size: 17.5px; line-height: 1.45; }
.ef-checks li:last-child, .ef-crosses li:last-child { border-bottom: 1px solid var(--ef-line); }
.ef-checks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--ef-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23141414' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.ef-crosses li { color: var(--ef-ink-2); }
.ef-crosses li::before { content: "×"; position: absolute; left: 4px; top: 12px; font-size: 26px; line-height: 1; color: var(--ef-muted); }
.ef-split .ef-checks, .ef-split .ef-crosses { margin-top: 24px; }
.ef-split-top > .ef-checks { margin-top: 0; }

/* Box prezzo */
.ef-price { background: var(--ef-ink); color: #fff; border-radius: 8px; padding: clamp(28px, 3.5vw, 40px); }
.ef-price .ef-eyebrow { color: #9a958c; margin-bottom: 8px; }
.ef-price-num { font-family: var(--ef-display); font-variation-settings: 'opsz' 96; font-weight: 800; font-size: clamp(48px, 6vw, 72px); letter-spacing: -.03em; line-height: 1; color: var(--ef-accent); }
.ef-price-note { color: #9a958c; font-size: 14px; margin: 8px 0 0 !important; }
.ef-price ul { list-style: none; padding: 0; margin: 24px 0 16px; border-top: 1px solid var(--ef-night-line); }
.ef-price li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--ef-night-line); position: relative; font-size: 15.5px; }
.ef-price li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--ef-accent); }

/* Tabella di confronto */
.ef-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; border: 1px solid var(--ef-line); background: #fff; }
.ef-compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15.5px; }
.ef-compare th, .ef-compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--ef-line); vertical-align: top; }
.ef-compare thead th { font-family: var(--ef-display); font-weight: 700; font-size: 15px; background: var(--ef-paper); }
.ef-compare tbody th { font-weight: 600; color: var(--ef-muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ef-compare .is-us { background: var(--ef-accent); font-weight: 600; }
.ef-compare thead .is-us { background: var(--ef-ink); color: var(--ef-accent); }
.ef-compare tr:last-child th, .ef-compare tr:last-child td { border-bottom: 0; }
.ef-compare.is-small { min-width: 0; }

/* Casi studio */
.ef-case-meta-sec { padding: 40px 0 0; }
.ef-case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 28px; border-top: 1px solid var(--ef-line); border-bottom: 1px solid var(--ef-line); }
.ef-case-meta div { padding: 18px 18px 18px 0; }
.ef-case-meta div + div { padding-left: 18px; border-left: 1px solid var(--ef-line); }
.ef-case-meta dt { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ef-muted); margin-bottom: 6px; }
.ef-case-meta dd { margin: 0; font-weight: 600; }
.ef-case-hero-img { aspect-ratio: 21/9 !important; border-radius: 8px; color: #6a6a6a !important; background: repeating-linear-gradient(135deg, #e6e0d4 0 14px, #ece6db 14px 28px) !important; }
@media (max-width: 760px) { .ef-case-meta { grid-template-columns: 1fr 1fr; } .ef-case-meta div:nth-child(3) { border-left: 0; padding-left: 0; } .ef-case-meta div { border-bottom: 1px solid var(--ef-line); } }
.ef-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.ef-kpi { background: var(--ef-night-2); border: 1px solid var(--ef-night-line); border-radius: 8px; padding: 28px; }
.ef-kpi-num { font-family: var(--ef-display); font-variation-settings: 'opsz' 96; font-weight: 800; font-size: clamp(40px, 5vw, 64px); letter-spacing: -.03em; line-height: 1; color: var(--ef-accent); margin-bottom: 10px !important; }
.ef-kpi p:not(.ef-kpi-num) { color: #bdb8ae; }
@media (max-width: 760px) { .ef-kpis { grid-template-columns: 1fr; } }
.ef-dark > .ef-wrap > h2 { margin-top: 18px; }
.ef-next { padding: 56px 0; border-top: 1px solid var(--ef-line); }
.ef-next-link { font-family: var(--ef-display); font-weight: 800; font-size: clamp(32px, 5vw, 56px); letter-spacing: -.03em; margin-top: 10px !important; }
.ef-next-link a { text-decoration: none; }
.ef-next-link a:hover { background: var(--ef-marker); }

/* Contatti */
.ef-contact .ef-steps { grid-template-columns: 1fr; row-gap: 22px; margin: 28px 0 32px; }
.ef-contact .ef-step, .ef-contact .ef-step + .ef-step { border-left: 0; padding: 0; display: grid; grid-template-columns: 120px 1fr; column-gap: 16px; }
.ef-contact .ef-step-num { grid-row: span 2; font-size: 34px; margin: 0 !important; align-items: flex-start; flex-direction: column; gap: 4px; }
.ef-contact .ef-step h3 { font-size: 19px; margin: 2px 0 4px; }
.ef-direct { font-size: 16px; line-height: 2; border-top: 1px solid var(--ef-line); padding-top: 20px; }
.ef-direct strong { display: inline-block; min-width: 92px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ef-muted); font-weight: 600; }
.ef-form-wrap { background: #fff; border: 1px solid var(--ef-line); border-radius: 8px; padding: clamp(22px, 3.5vw, 40px); }
.ef-form { display: flex; flex-direction: column; gap: 16px; }
.ef-form .ef-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .ef-form .ef-row { grid-template-columns: 1fr; } }
.ef-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.ef-form input[type=text], .ef-form input[type=email], .ef-form input[type=tel], .ef-form select, .ef-form textarea {
	font: inherit; font-weight: 400; font-size: 16px; padding: 13px 14px; border: 1.5px solid var(--ef-line); border-radius: 6px; background: var(--ef-paper); color: var(--ef-ink); width: 100%; box-sizing: border-box;
}
.ef-form input:focus, .ef-form select:focus, .ef-form textarea:focus { outline: none; border-color: var(--ef-ink); background: #fff; }
.ef-form .ef-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--ef-ink-2); }
.ef-form .ef-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ef-ink); flex: 0 0 auto; }
.ef-submit { align-self: flex-start; background: var(--ef-accent); color: var(--ef-ink); font: inherit; font-weight: 600; font-size: 16px; border: 0; border-radius: 999px; padding: 16px 28px; cursor: pointer; transition: background .15s ease; }
.ef-submit:hover { background: var(--ef-accent-dark); }
.ef-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ef-notice { padding: 14px 18px; border-radius: 6px; margin-bottom: 18px !important; font-weight: 500; }
.ef-notice.is-ok { background: var(--ef-accent); }
.ef-notice.is-err { background: #fde2dc; color: #7a1d0c; }

/* Menu su mobile: riga scorrevole sotto il logo */
@media (max-width: 900px) {
	.ef-nav-inner { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 0; row-gap: 0; }
	.ef-menu { display: flex; order: 3; width: 100%; gap: 22px; overflow-x: auto; padding: 12px 0; margin-top: 10px !important; border-top: 1px solid var(--ef-line); white-space: nowrap; scrollbar-width: none; }
	.ef-menu::-webkit-scrollbar { display: none; }
	.ef-nav-cta .wp-block-button__link { padding: 9px 16px !important; font-size: 13.5px !important; }
	[id] { scroll-margin-top: 120px; }
}

/* Prezzo di lancio */
.ef-price-num s { font-size: .45em; color: #77736c; font-weight: 600; text-decoration-thickness: 2px; vertical-align: middle; margin-right: .15em; }
.ef-launch { display: inline-block; margin-top: 14px !important; background: var(--ef-accent); color: var(--ef-ink); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; }

/* v2.1: griglie flessibili per casi e numeri */
.ef-cases { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.ef-kpis { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ef-kpi-num { overflow-wrap: anywhere; }
.ef-kpi-note { color: #bdb8ae; font-size: 18px; margin-top: 24px !important; max-width: 60ch; }

/* Loghi clienti */
.ef-logo-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.ef-logo-list img { display: block; height: clamp(30px, 3.4vw, 44px); width: auto; opacity: .62; transition: opacity .15s ease; }
.ef-logo-list li:first-child img { height: clamp(40px, 4.4vw, 58px); }
.ef-logo-list a:hover img { opacity: 1; }
.ef-case-logo { padding: 18% 14%; box-sizing: border-box; }
.ef-case-logo img { width: 100%; height: 100%; object-fit: contain; filter: invert(1); opacity: .9; }
.ef-case-hero-logo { padding: 5% 22%; box-sizing: border-box; }
.ef-case-hero-logo img { width: 100%; height: 100%; object-fit: contain; opacity: .85; }

/* Pagine legali */
.ef-legal-page .ef-prose { max-width: 760px; margin: 0 auto !important; }
.ef-legal-page h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 1.8em !important; }
.ef-legal-page h3 { font-size: 19px; margin-top: 1.4em !important; }
.ef-legal-page p { color: var(--ef-ink-2); }
.ef-legal-page h1::after, .ef-legal-page h2::after { content: none !important; }
.ef-legal-page .ef-page-title::after { content: "" !important; }

/* Menu mobile: non deve mai allargare la pagina */
@media (max-width: 900px) {
	.ef-menu { min-width: 0; max-width: 100%; box-sizing: border-box; }
}
@media (max-width: 420px) {
	.ef-menu { gap: 16px; font-size: 14px; }
	.ef-logo { font-size: 20px; }
}

/* Nessun elemento più largo dello schermo su mobile */
.ef-split > *, .ef-head > *, .ef-hero-grid > *, .ef-foot-grid > *, .ef-case-meta > * { min-width: 0; }
.ef-faq-list summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; overflow-wrap: anywhere; }
.ef-case-meta dd { overflow-wrap: anywhere; }

/* Prenotazione diretta */
.ef-cal { background: var(--ef-ink); color: #fff; border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.ef-cal p { margin: 0; color: #d6d2ca; line-height: 1.5; }
.ef-cal strong { color: #fff; }
.ef-cal-btn { align-self: flex-start; background: var(--ef-accent); color: var(--ef-ink); font-weight: 600; text-decoration: none; padding: 13px 22px; border-radius: 999px; }
.ef-cal-btn:hover { background: var(--ef-accent-dark); }
.ef-or { text-align: center; color: var(--ef-muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 22px 0 !important; display: flex; align-items: center; gap: 12px; }
.ef-or::before, .ef-or::after { content: ""; flex: 1; height: 1px; background: var(--ef-line); }

/* Contrasto: testi piccoli sulle sezioni beige */
.ef-method .ef-eyebrow, .ef-method .ef-step-num span { color: #5c5852; }

/* Foto nella cornice: la scritta REC e il timecode restano leggibili */
.ef-frame img { z-index: 0; }
.ef-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0, transparent 22%, transparent 78%, rgba(0,0,0,.35) 100%); pointer-events: none; }
.ef-frame .ef-vf, .ef-frame .ef-rec, .ef-frame .ef-tc { z-index: 2; }
.ef-frame img { object-position: 50% 18%; }

/* Livelli Regia */
.ef-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ef-plan { background: #fff; border: 1px solid var(--ef-line); border-radius: 8px; padding: clamp(24px, 3vw, 36px); }
.ef-plan.is-featured { background: var(--ef-ink); color: #fff; border-color: var(--ef-ink); }
.ef-plan-price { font-family: var(--ef-display); font-variation-settings: 'opsz' 96; font-weight: 800; font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -.03em; line-height: 1; margin: 10px 0 8px !important; }
.ef-plan-price span { font-size: .4em; font-weight: 600; color: var(--ef-muted); letter-spacing: 0; }
.ef-plan.is-featured .ef-plan-price { color: var(--ef-accent); }
.ef-plan.is-featured .ef-plan-price span, .ef-plan.is-featured .ef-eyebrow { color: #9a958c; }
.ef-plan-for { color: var(--ef-ink-2); margin-bottom: 18px !important; }
.ef-plan.is-featured .ef-plan-for { color: #c9c4ba; }
.ef-plan ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ef-line); }
.ef-plan.is-featured ul { border-color: var(--ef-night-line); }
.ef-plan li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid var(--ef-line); font-size: 15.5px; }
.ef-plan.is-featured li { border-color: var(--ef-night-line); }
.ef-plan li::before { content: ""; position: absolute; left: 0; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--ef-accent); box-shadow: 0 0 0 1.5px var(--ef-ink); }
.ef-plan.is-featured li::before { box-shadow: none; }
.ef-plans-note { text-align: center; color: var(--ef-muted); margin-top: 22px !important; font-size: 14px; letter-spacing: .06em; }
@media (max-width: 760px) { .ef-plans { grid-template-columns: 1fr; } }

.ef-plan-tag { font-family: var(--ef-serif); font-style: italic; font-size: 22px; line-height: 1.25; margin-bottom: 12px !important; }
.ef-plan.is-featured .ef-plan-tag { color: #fff; }
.ef-plan-for strong { color: inherit; }
.ef-plans-compare { margin-top: 18px; }
.ef-plans-compare .ef-compare { min-width: 520px; }

/* Testi leggibili nelle sezioni scure */
.ef-dark .ef-prose-block p,
.ef-dark .ef-split > div > p:not(.ef-eyebrow):not(.ef-ghost),
.ef-dark .ef-head > p { color: #d6d2ca; }
.ef-dark h2, .ef-dark h3 { color: #fff; }
.ef-dark .ef-checks li, .ef-dark .ef-crosses li { color: #EDEAE4; border-color: var(--ef-night-line); }
.ef-dark .ef-prose-block a, .ef-dark .ef-split p a { color: #fff; }

/* Chi sono: numeri e loghi */
.ef-numbers-sec { padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid var(--ef-line); }
.ef-numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.ef-number { padding: 0 24px 0 0; }
.ef-number + .ef-number { padding-left: 24px; border-left: 1px solid var(--ef-line); }
.ef-number-num { font-family: var(--ef-display); font-variation-settings: 'opsz' 96; font-weight: 800; font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -.03em; line-height: 1; margin-bottom: 10px !important; }
.ef-number-num::after { content: ""; display: inline-block; width: .16em; height: .16em; border-radius: 50%; background: var(--ef-accent); margin-left: .05em; }
.ef-number p:not(.ef-number-num) { color: var(--ef-ink-2); font-size: 15px; line-height: 1.45; }
.ef-logos-inline { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; margin-top: clamp(32px, 5vw, 48px) !important; padding-top: 28px; border-top: 1px solid var(--ef-line); }
.ef-coffee { font-family: var(--ef-serif); font-style: italic; font-size: 22px !important; line-height: 1.35; color: var(--ef-ink) !important; border-left: 3px solid var(--ef-accent); padding-left: 16px; }
@media (max-width: 860px) { .ef-numbers { grid-template-columns: 1fr 1fr; row-gap: 28px; } .ef-number:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 420px) { .ef-numbers { grid-template-columns: 1fr; } .ef-number, .ef-number + .ef-number { border-left: 0; padding-left: 0; } }

.ef-numbers-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
.ef-numbers-6 .ef-number:nth-child(3n+1) { border-left: 0; padding-left: 0; }
@media (max-width: 860px) { .ef-numbers-6 { grid-template-columns: 1fr 1fr; } .ef-numbers-6 .ef-number { border-left: 1px solid var(--ef-line); padding-left: 24px; } .ef-numbers-6 .ef-number:nth-child(odd) { border-left: 0; padding-left: 0; } }
@media (max-width: 420px) { .ef-numbers-6 { grid-template-columns: 1fr; } .ef-numbers-6 .ef-number { border-left: 0 !important; padding-left: 0 !important; } }

/* ============ Blog ============ */
.ef-blog-hero { border-bottom: 0; padding-bottom: 24px; }
.ef-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ef-chip { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--ef-line); border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ef-ink-2); background: #fff; transition: border-color .15s ease, background .15s ease; }
.ef-chip:hover { border-color: var(--ef-ink); color: var(--ef-ink); }
.ef-chip.is-all { background: var(--ef-ink); color: #fff; border-color: var(--ef-ink); }
.ef-blog-list { padding-top: clamp(24px, 4vw, 48px); }

.ef-post-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 52px) clamp(20px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; }
.ef-post-grid > li { margin: 0 !important; min-width: 0; }
.ef-post-card { position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.ef-post-card .ef-post-thumb, .ef-post-card::before { border-radius: 18px; overflow: hidden; margin: 0 0 6px !important; }
.ef-post-card .ef-post-thumb, .ef-featured { box-shadow: 0 0 0 1px rgba(20,20,20,.08), 0 10px 28px -12px rgba(20,20,20,.28); }
.ef-post-card .ef-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ef-post-card:hover .ef-post-thumb img { transform: scale(1.04); }
.ef-post-card:not(:has(.ef-post-thumb))::before { content: ""; display: block; aspect-ratio: 3/2; background: radial-gradient(circle at 50% 50%, var(--ef-accent) 0 9px, transparent 10px), linear-gradient(140deg, #2b2b2b, #111); }
.ef-post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.ef-post-cat a { display: inline-block; background: var(--ef-accent); color: var(--ef-ink); padding: 4px 10px; border-radius: 999px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; font-size: 11.5px; position: relative; z-index: 2; }
.ef-post-cat .wp-block-post-terms__separator { display: none; }
.ef-post-date { color: var(--ef-muted); font-weight: 500; }
.ef-post-title { font-size: clamp(21px, 1.9vw, 25px) !important; line-height: 1.18; letter-spacing: -.015em; margin: 2px 0 0 !important; }
.ef-post-title a { text-decoration: none; background: linear-gradient(var(--ef-accent), var(--ef-accent)) 0 92% / 0 30% no-repeat; transition: background-size .25s ease; }
.ef-post-card:hover .ef-post-title a { background-size: 100% 30%; }
.ef-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ef-post-excerpt { color: var(--ef-ink-2); font-size: 16px; line-height: 1.55; }
.ef-post-excerpt p { margin: 0; }
.ef-post-more { margin-top: auto !important; font-weight: 600; font-size: 15px; }

/* il primo articolo più grande */
.ef-post-grid > li:first-child { grid-column: span 2; }
.ef-post-grid > li:first-child .ef-post-title { font-size: clamp(26px, 2.8vw, 36px) !important; }
@media (max-width: 960px) { .ef-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ef-post-grid { grid-template-columns: 1fr; } .ef-post-grid > li:first-child { grid-column: auto; } }

.ef-pagination { margin-top: 56px !important; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; font-weight: 600; }
.ef-pagination a, .ef-pagination span { padding: 9px 15px; border-radius: 999px; text-decoration: none; border: 1.5px solid var(--ef-line); }
.ef-pagination .current { background: var(--ef-ink); color: #fff; border-color: var(--ef-ink); }
.ef-empty { background: #fff; border: 1px solid var(--ef-line); border-radius: 18px; padding: clamp(28px, 5vw, 56px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ef-empty h2 { font-size: clamp(28px, 3.4vw, 40px); }
.ef-empty p { color: var(--ef-ink-2); max-width: 52ch; }

/* Articolo */
.ef-article { padding-top: clamp(32px, 5vw, 64px); }
.ef-back { font-size: 14.5px; font-weight: 600; margin-bottom: 24px !important; }
.ef-back a { text-decoration: none; color: var(--ef-muted); }
.ef-back a:hover { color: var(--ef-ink); }
.ef-article .ef-page-title { margin-top: 14px; }
.ef-article .ef-featured { border-radius: 18px; overflow: hidden; }
.ef-article .ef-featured img { width: 100%; height: 100%; object-fit: cover; }
.ef-prose { font-size: 18px; line-height: 1.7; }
.ef-prose img, .ef-prose .wp-block-image img { border-radius: 14px; }
.ef-prose blockquote { border-left: 3px solid var(--ef-accent); margin: 1.6em 0; padding-left: 20px; font-family: var(--ef-serif); font-style: italic; font-size: 24px; line-height: 1.35; }
.ef-author { display: flex; gap: 20px; align-items: flex-start; margin-top: 56px !important; padding: 24px; background: #fff; border: 1px solid var(--ef-line); border-radius: 18px; }
.ef-author-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: 0 0 auto; }
.ef-author .ef-eyebrow { margin-bottom: 4px !important; }
.ef-author-name { font-family: var(--ef-display); font-weight: 800; font-size: 22px; margin-bottom: 6px !important; }
.ef-author-name a { text-decoration: none; }
.ef-author p:last-child { color: var(--ef-ink-2); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 520px) { .ef-author { flex-direction: column; } }
.ef-post-cta { border-radius: 18px !important; margin-top: 24px !important; }
.ef-section .ef-post-title::after, .ef-section .ef-post-grid h2::after { content: none !important; }

/* Loghi a colori (es. Lasciateci Cantare): niente inversione, fondo scuro */
.ef-case-logo.is-color img { filter: none; opacity: 1; }
.ef-case-hero-logo.is-color { background: var(--ef-night) !important; }
.ef-case-hero-logo.is-color img { opacity: 1; }
.ef-case-logo.is-color { padding: 10% 8%; }

/* ============ Laboratorio ============ */
.ef-lab-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 40px); }
.ef-lab-hero .ef-eyebrow { margin-bottom: 18px; }
.ef-lab-h1 { font-size: clamp(64px, 13vw, 168px) !important; line-height: .9; letter-spacing: -.045em; }
.ef-lab-h1::after { content: ""; display: inline-block; width: .17em; height: .17em; border-radius: 50%; background: var(--ef-accent); margin-left: .03em; }
.ef-lab-claim { font-family: var(--ef-display); font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.02em; line-height: 1.1; max-width: 22ch; margin: 22px 0 18px !important; }
.ef-lab-claim em { font-family: var(--ef-serif); font-style: italic; font-weight: 400; background: var(--ef-marker); padding: 0 .05em; }
.ef-lab-hero .ef-lead { max-width: 62ch; }
.ef-lab-updated { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px !important; background: var(--ef-ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14.5px; }
.ef-lab-updated strong { color: var(--ef-accent); }

.ef-lab-list { padding: 8px 0 clamp(72px, 9vw, 112px); }
.ef-lab-tools { position: sticky; top: 68px; z-index: 5; background: color-mix(in srgb, var(--ef-paper) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 14px 0 16px; border-bottom: 1px solid var(--ef-line); margin-bottom: 26px; }
.ef-lab-search { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--ef-line); border-radius: 14px; padding: 0 18px; }
.ef-lab-search:focus-within { border-color: var(--ef-ink); }
.ef-lab-search span { font-size: 20px; color: var(--ef-muted); }
.ef-lab-search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 15px 0; outline: none; min-width: 0; color: var(--ef-ink); }
.ef-lab-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ef-lab-chip { font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--ef-line); background: #fff; color: var(--ef-ink-2); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.ef-lab-chip span { color: var(--ef-muted); font-weight: 500; margin-left: 4px; }
.ef-lab-chip:hover { border-color: var(--ef-ink); }
.ef-lab-chip.is-active { background: var(--ef-ink); color: #fff; border-color: var(--ef-ink); }
.ef-lab-chip.is-active span { color: var(--ef-accent); }
.ef-lab-chip.is-hot:not(.is-active) { border-color: var(--ef-accent); }
.ef-lab-count { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ef-muted); margin-bottom: 18px !important; }
.ef-lab-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ef-lab-card { position: relative; background: #fff; border: 1px solid var(--ef-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.ef-lab-card:hover { transform: translateY(-3px); border-color: var(--ef-ink); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.ef-lab-card[data-hot="1"] { border-color: var(--ef-accent); box-shadow: 0 0 0 1px var(--ef-accent); }
.ef-lab-thumb { aspect-ratio: 16/10; background: var(--ef-night); overflow: hidden; }
.ef-lab-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.ef-lab-card:hover .ef-lab-thumb img { transform: scale(1.04); }
.ef-lab-ph { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 18px; box-sizing: border-box; background: radial-gradient(circle at 78% 34%, var(--ef-accent) 0 12px, transparent 13px), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px), linear-gradient(140deg, #262626, #101010); }
.ef-lab-ph span { color: #9a958c; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.ef-lab-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ef-lab-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 !important; }
.ef-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.ef-tag.is-hot { background: var(--ef-ink); color: var(--ef-accent); }
.ef-tag.is-free { background: #e7f4e9; color: #1d5b2a; }
.ef-tag.is-email { background: var(--ef-accent); color: var(--ef-ink); }
.ef-tag.is-paid { background: var(--ef-ink); color: #fff; }
.ef-lab-cat { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ef-muted); text-decoration: none; }
.ef-lab-title { font-size: 21px !important; line-height: 1.2; letter-spacing: -.015em; margin: 2px 0 0 !important; }
.ef-lab-title a { text-decoration: none; color: var(--ef-ink); }
.ef-lab-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ef-lab-excerpt { color: var(--ef-ink-2); font-size: 15.5px; line-height: 1.5; }
.ef-lab-more { margin-top: auto !important; padding-top: 6px; font-weight: 700; font-size: 15px; }
.ef-lab-empty { text-align: center; color: var(--ef-muted); padding: 40px 0; }
@media (max-width: 960px) { .ef-lab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ef-lab-grid { grid-template-columns: 1fr; } .ef-lab-tools { position: static; } }
@media (max-width: 900px) { .ef-lab-tools { top: 108px; } }

/* Scheda risorsa */
.ef-lab-single-hero { padding: clamp(36px, 5vw, 64px) 0 12px; }
.ef-lab-single-hero .ef-wrap { max-width: 860px; }
.ef-lab-single-hero .ef-page-title { font-size: clamp(36px, 5.4vw, 64px); margin: 14px 0 16px; }
.ef-lab-verdict { display: inline-block; background: #fff; border: 1px solid var(--ef-line); border-left: 3px solid var(--ef-accent); padding: 10px 14px; border-radius: 10px; margin-top: 14px !important; }
.ef-lab-cover { margin-top: 28px; border-radius: 20px; overflow: hidden; }
.ef-lab-cover img { width: 100%; height: auto; display: block; }
.ef-lab-content { max-width: 860px; padding-bottom: clamp(56px, 8vw, 96px); }
.ef-lab-after { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; }
.ef-lab-action { border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.ef-lab-action.is-email { background: #fff; border: 2px solid var(--ef-accent); }
.ef-lab-action.is-email h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 8px 0 18px; }
.ef-lab-action.is-email h2::after { content: none !important; }
.ef-lab-action.is-paid { background: var(--ef-ink); color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ef-lab-action.is-paid .ef-eyebrow { color: #9a958c; }
.ef-lab-action.is-free { background: var(--ef-ink); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ef-lab-action.is-free p { margin: 0; color: #d6d2ca; }
.ef-lab-upsell { position: relative; background: var(--ef-accent); border-radius: 20px; padding: clamp(22px, 3.5vw, 32px); }
.ef-lab-upsell h3 { font-size: 24px; margin: 6px 0 8px; }
.ef-lab-upsell a { color: var(--ef-ink); }
.ef-lab-upsell .ef-eyebrow { color: #3d3a10; }
.ef-lab-service { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--ef-line); border-radius: 16px; padding: 18px 22px; background: #fff; }
.ef-lab-service p { margin: 0; color: var(--ef-ink-2); }
.ef-lab-service a { font-weight: 700; text-decoration-color: var(--ef-accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.ef-lab-card[hidden], .ef-lab-empty[hidden] { display: none !important; }

/* Prompt e blocchi di testo da copiare (Laboratorio e articoli) */
.ef-prose pre.wp-block-preformatted { font-family: var(--ef-body); font-size: 15px; line-height: 1.6; white-space: pre-wrap; background: #fff; border: 1px solid var(--ef-line); border-left: 4px solid var(--ef-accent); border-radius: 14px; padding: 18px 20px; color: var(--ef-ink-2); overflow-wrap: anywhere; }
.ef-prose h3 { font-size: 21px; }

/* ---------- Test presenza online ---------- */
.ef-test-section { padding-top: 24px !important; }
.ef-test, .ef-test-done { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--ef-line); border-radius: 18px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 18px 40px -24px rgba(20,20,20,.25); scroll-margin-top: 180px; }
.ef-test-result { scroll-margin-top: 180px; }
.ef-test-bar { height: 6px; background: var(--ef-paper); border-radius: 99px; overflow: hidden; margin-bottom: 28px; }
.ef-test-bar span { display: block; height: 100%; width: 0; background: var(--ef-accent); transition: width .3s ease; }
.ef-test:not(.is-js) .ef-test-bar, .ef-test:not(.is-js) .ef-test-nav { display: none; }
.ef-q { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.ef-q[hidden] { display: none; }
.ef-q legend { padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ef-q-n { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ef-muted); }
.ef-q-t { font-family: var(--ef-display); font-weight: 700; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; letter-spacing: -.02em; color: var(--ef-ink); }
.ef-q-h { color: var(--ef-muted); margin: 10px 0 22px; }
.ef-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ef-opts label { position: relative; cursor: pointer; }
.ef-opts input { position: absolute; opacity: 0; inset: 0; }
.ef-opts span { display: block; text-align: center; padding: 18px 10px; border: 1.5px solid var(--ef-line); border-radius: 14px; font-weight: 600; font-size: 17px; transition: background .15s, border-color .15s, transform .15s; }
.ef-opts label:hover span { border-color: var(--ef-ink); }
.ef-opts input:checked + span { background: var(--ef-accent); border-color: var(--ef-accent); transform: scale(.98); }
.ef-opts input:focus-visible + span { outline: 2px solid var(--ef-ink); outline-offset: 2px; }
.ef-test-back { background: none; border: 0; padding: 4px 0; color: var(--ef-muted); font: inherit; font-size: 15px; cursor: pointer; }
.ef-test-back[hidden] { display: none; }
.ef-test.is-js:not(.is-done) .ef-test-report { display: none; }
.ef-test-result[hidden] { display: none; }
.ef-score { font-family: var(--ef-display); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 6px 0 10px !important; }
.ef-score b { font-size: clamp(72px, 12vw, 120px); }
.ef-score span { font-size: 28px; color: var(--ef-muted); letter-spacing: 0; }
.ef-band-title { margin: 0 0 8px !important; }
.ef-areas { list-style: none; padding: 0; margin: 26px 0 18px; display: flex; flex-direction: column; gap: 12px; }
.ef-areas li { display: grid; grid-template-columns: 130px 1fr 52px; align-items: center; gap: 14px; font-weight: 600; }
.ef-areas i { display: block; height: 10px; background: var(--ef-paper); border-radius: 99px; overflow: hidden; }
.ef-areas em { display: block; height: 100%; width: 0; background: var(--ef-accent); border-radius: 99px; transition: width .8s ease; }
.ef-areas b { text-align: right; }
.ef-weak { background: var(--ef-paper); border-left: 4px solid var(--ef-accent); border-radius: 8px; padding: 14px 18px; }
.ef-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 8px; font-size: 15px; color: var(--ef-muted); }
.ef-share a, .ef-share button { border: 1.5px solid var(--ef-ink); background: none; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ef-ink); text-decoration: none; cursor: pointer; }
.ef-share a:hover, .ef-share button:hover { background: var(--ef-ink); color: #fff; }
.ef-test-report { border-top: 1px solid var(--ef-line); margin-top: 28px; padding-top: 28px; scroll-margin-top: 180px; }
.ef-test:not(.is-js) .ef-test-report { border: 0; margin: 0; padding: 0; }
.ef-test select { width: 100%; }
.ef-test-again { font-weight: 600; }
@media (max-width: 560px) {
	.ef-opts { grid-template-columns: 1fr; }
	.ef-areas li { grid-template-columns: 1fr auto; gap: 6px 10px; }
	.ef-areas i { grid-column: 1 / -1; grid-row: 2; }
}
.ef-post-cta-alt { margin-top: 14px !important; font-size: 15px; color: var(--ef-muted); }

/* ---------- Strumenti e calendario ---------- */
.ef-tool-for { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ef-muted); }
.ef-ric-section { padding-top: 24px !important; }
.ef-ric-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.ef-ric-filters button { border: 1.5px solid var(--ef-line); background: #fff; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ef-ric-filters button.is-on { background: var(--ef-ink); border-color: var(--ef-ink); color: #fff; }
.ef-ric-month { margin-bottom: 40px; }
.ef-ric-month[hidden], .ef-ric-month li[hidden] { display: none; }
.ef-ric-month h2 { font-size: clamp(26px, 3vw, 34px) !important; margin: 0 0 16px !important; padding-bottom: 12px; border-bottom: 2px solid var(--ef-ink); }
.ef-ric-month ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ef-ric-month li { display: grid; grid-template-columns: 58px 1fr; gap: 14px; background: #fff; border: 1px solid var(--ef-line); border-radius: 14px; padding: 16px; }
.ef-ric-month time { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--ef-accent); border-radius: 10px; height: 58px; }
.ef-ric-month time b { font-family: var(--ef-display); font-size: 24px; line-height: 1; }
.ef-ric-month time span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.ef-ric-month h3 { font-size: 17px !important; margin: 0 0 4px !important; line-height: 1.25; }
.ef-ric-month p { margin: 0 0 6px; font-size: 15px; line-height: 1.45; }
.ef-ric-month small { font-size: 12px; color: var(--ef-muted); font-weight: 600; }
.ef-ric-wrap { max-width: 820px; }
.ef-ric-download { scroll-margin-top: 180px; }
@media (max-width: 760px) { .ef-ric-month ul { grid-template-columns: 1fr; } }
.ef-lab-tools-strip { margin-top: 22px !important; background: #fff; border: 1px solid var(--ef-line); border-left: 4px solid var(--ef-accent); border-radius: 10px; padding: 14px 18px; font-size: 15px; }

/* ---------- Strumenti: calcolatore e report ---------- */
.ef-tool { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--ef-line); border-radius: 18px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 18px 40px -24px rgba(20,20,20,.25); scroll-margin-top: 180px; }
.ef-tool[hidden] { display: none; }
.ef-tool-step { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ef-muted); margin: 26px 0 12px !important; }
.ef-tool-step:first-child { margin-top: 0 !important; }
.ef-opts-4 { grid-template-columns: repeat(4, 1fr); }
.ef-opts-4 span { padding: 14px 8px; font-size: 15px; }
.ef-er-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.ef-er-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.ef-er-field input, .ef-er-field select, .ef-er-field textarea, .ef-rep-row input { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--ef-line); border-radius: 10px; background: var(--ef-paper); width: 100%; box-sizing: border-box; }
.ef-er-field input:focus, .ef-er-field select:focus, .ef-er-field textarea:focus, .ef-rep-row input:focus { outline: none; border-color: var(--ef-ink); background: #fff; }
.ef-er-field small { font-weight: 400; color: var(--ef-muted); font-size: 13px; }
.ef-tool .ef-submit { margin-top: 26px; }
.ef-er-result { border-top: 1px solid var(--ef-line); margin-top: 30px; padding-top: 28px; scroll-margin-top: 180px; }
.ef-er-result[hidden] { display: none; }
.ef-er-scale { margin: 22px 0 34px; }
.ef-er-scale i { display: block; height: 12px; border-radius: 99px; background: linear-gradient(90deg, #eee9e0, #F2DA00); overflow: hidden; }
.ef-er-scale em { display: block; height: 100%; width: 0; border-right: 4px solid var(--ef-ink); transition: width .6s ease; }
.ef-er-labels { position: relative; height: 18px; font-size: 12px; color: var(--ef-muted); margin-top: 6px; }
.ef-er-labels span { position: absolute; transform: translateX(-50%); }
.ef-er-labels span:first-child { transform: none; }
.ef-er-details { list-style: none; padding: 0; margin: 0 0 20px; }
.ef-er-details li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--ef-line); }
.ef-er-tips { background: var(--ef-paper); border-left: 4px solid var(--ef-accent); border-radius: 8px; padding: 16px 20px; }
.ef-er-tips p { margin: 0 0 6px; }
.ef-er-tips ul { margin: 0; padding-left: 18px; }
.ef-formula { background: var(--ef-paper); border-radius: 10px; padding: 14px 18px; }
.ef-rep-table { display: flex; flex-direction: column; gap: 8px; }
.ef-rep-row { display: grid; grid-template-columns: 1fr 150px 150px; gap: 10px; align-items: center; font-size: 15px; }
.ef-rep-head b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ef-muted); }
.ef-rep-hint { font-size: 14px; color: var(--ef-muted); margin-top: 12px !important; }
.ef-rep-text { grid-template-columns: 1fr; }
.ef-rep-out { max-width: 860px; margin: 0 auto; scroll-margin-top: 180px; }
.ef-rep-out[hidden] { display: none; }
.ef-rep-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.ef-rep-actions .ef-submit { margin: 0; }
.ef-rep-actions span { font-size: 14px; color: var(--ef-muted); }
.ef-rep-edit { border: 1.5px solid var(--ef-ink); background: none; border-radius: 999px; padding: 12px 20px; font: inherit; font-weight: 600; cursor: pointer; }
.ef-rep-doc { background: #fff; border: 1px solid var(--ef-line); border-radius: 12px; padding: 44px; color: #141414; font-family: var(--ef-body); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ef-rep-doc header { display: flex; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 3px solid #F2DA00; margin-bottom: 26px; }
.ef-rep-doc header img { max-height: 64px; max-width: 160px; object-fit: contain; }
.ef-rep-doc header p { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #6E6A63; }
.ef-rep-doc header .per { text-transform: none; letter-spacing: 0; font-size: 15px; }
.ef-rep-doc h2 { font-family: var(--ef-display); font-size: 32px; margin: 4px 0 !important; }
.ef-rep-doc h3 { font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; color: #6E6A63; margin: 0 0 12px !important; font-family: var(--ef-body); }
.ef-rep-doc section { margin-bottom: 26px; break-inside: avoid; }
.ef-rep-doc .kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ef-rep-doc .k { background: #F5F1EA; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.ef-rep-doc .k span { font-size: 13px; color: #6E6A63; }
.ef-rep-doc .k b { font-family: var(--ef-display); font-size: 26px; line-height: 1.1; }
.ef-rep-doc .k i { font-style: normal; font-size: 12px; font-weight: 600; }
.ef-rep-doc .k i.up { color: #1d7a3a; }
.ef-rep-doc .k i.down { color: #b3261e; }
.ef-rep-doc ul, .ef-rep-doc ol { margin: 0; padding-left: 20px; line-height: 1.55; }
.ef-rep-doc li { margin-bottom: 6px; }
.ef-rep-doc footer { margin-top: 30px; padding-top: 14px; border-top: 1px solid #D9D2C5; font-size: 12px; color: #6E6A63; }
@media (max-width: 640px) {
	.ef-er-grid { grid-template-columns: 1fr; }
	.ef-opts-4 { grid-template-columns: 1fr 1fr; }
	.ef-rep-row { grid-template-columns: 1fr 1fr; }
	.ef-rep-row span { grid-column: 1 / -1; }
	.ef-rep-head span { display: none; }
	.ef-rep-doc { padding: 22px; }
	.ef-rep-doc .kpi { grid-template-columns: 1fr 1fr; }
}
@media print {
	@page { size: A4; margin: 14mm; }
	body.ef-printing > *:not(.ef-print-root) { display: none !important; }
	.ef-print-root .ef-rep-doc { border: 0; padding: 0; border-radius: 0; }
	.ef-rep-doc .kpi { grid-template-columns: repeat(3, 1fr) !important; }
}
.ef-rep-doc h2::after, .ef-er-result h2::after { content: none !important; }

/* ---------- Glossario ---------- */
.ef-gloss-section { padding-top: 24px !important; }
.ef-gloss-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 34px; }
.ef-gloss-az[hidden] { display: none; }
.ef-gloss-az a, .ef-gloss-az span { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 700; font-size: 15px; }
.ef-gloss-az a { background: #fff; border: 1px solid var(--ef-line); color: var(--ef-ink); text-decoration: none; }
.ef-gloss-az a:hover { background: var(--ef-accent); border-color: var(--ef-accent); }
.ef-gloss-az span { color: #c9c2b6; }
.ef-gloss-letter { margin-bottom: 34px; scroll-margin-top: 170px; }
.ef-gloss-letter[hidden], .ef-gloss-letter li[hidden] { display: none; }
.ef-gloss-letter h2 { font-size: 34px !important; margin: 0 0 14px !important; padding-bottom: 10px; border-bottom: 2px solid var(--ef-ink); }
.ef-gloss-letter h2::after { content: none !important; }
.ef-gloss-letter ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ef-gloss-letter a { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--ef-line); border-radius: 12px; padding: 16px 18px; color: var(--ef-ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.ef-gloss-letter a:hover { border-color: var(--ef-ink); transform: translateY(-2px); }
.ef-gloss-letter b { font-family: var(--ef-display); font-size: 19px; }
.ef-gloss-letter span { font-size: 14.5px; line-height: 1.45; color: var(--ef-muted); }
.ef-gloss-def { max-width: 760px; background: var(--ef-accent); border-radius: 14px; padding: 20px 24px; margin-top: 18px; }
.ef-gloss-def .ef-eyebrow { margin: 0 0 6px !important; color: #3d3a10; }
.ef-gloss-def p:last-child { margin: 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; font-weight: 500; }
.ef-gloss-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.ef-gloss-nav a { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--ef-line); border-radius: 12px; padding: 14px 18px; color: var(--ef-ink); text-decoration: none; }
.ef-gloss-nav a.is-next { text-align: right; grid-column: 2; }
.ef-gloss-nav span { font-size: 13px; color: var(--ef-muted); }
.ef-gloss-author { font-size: 14px; color: var(--ef-muted); margin-top: 18px !important; }
@media (max-width: 640px) { .ef-gloss-letter ul, .ef-gloss-nav { grid-template-columns: 1fr; } .ef-gloss-nav a.is-next { grid-column: auto; } }

/* ---------- Strumenti: QR, anteprima Google, budget ---------- */
.ef-qr-out { border-top: 1px solid var(--ef-line); margin-top: 30px; padding-top: 28px; scroll-margin-top: 180px; }
.ef-qr-out[hidden] { display: none; }
.ef-qr-card { display: flex; justify-content: center; margin-bottom: 22px; }
.ef-qr-tag { width: 300px; box-sizing: border-box; border-radius: 18px; padding: 26px 24px; text-align: center; font-family: var(--ef-body); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ef-qr-tag.is-giallo { background: #F2DA00; color: #141414; }
.ef-qr-tag.is-nero { background: #141414; color: #fff; }
.ef-qr-tag.is-bianco { background: #fff; color: #141414; border: 2px solid #141414; }
.ef-qr-tag .t { font-family: var(--ef-display); font-weight: 800; font-size: 26px; line-height: 1.1; margin: 0 0 16px; }
.ef-qr-tag .q { background: #fff; border-radius: 12px; padding: 10px; width: 190px; height: 190px; margin: 0 auto 14px; box-sizing: border-box; }
.ef-qr-tag .q svg { width: 100%; height: 100%; display: block; }
.ef-qr-tag .s { font-size: 15px; line-height: 1.35; margin: 0 0 6px; }
.ef-qr-tag .stars { font-size: 22px; letter-spacing: 4px; margin: 0 0 8px; }
.ef-qr-tag .n { font-weight: 700; font-size: 16px; margin: 0; }
.ef-qr-tag .g { font-size: 13px; margin: 4px 0 0; opacity: .8; }
.ef-serp-tabs { display: flex; gap: 8px; margin: 22px 0 14px; }
.ef-serp-tabs button { border: 1.5px solid var(--ef-line); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ef-serp-tabs button.is-on { background: var(--ef-ink); border-color: var(--ef-ink); color: #fff; }
.ef-serp-preview { background: #fff; border: 1px solid #dadce0; border-radius: 12px; padding: 20px 22px; font-family: Arial, sans-serif; }
.ef-serp-preview[data-view=mobile] { max-width: 400px; }
.ef-serp-site { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ef-serp-site .fav { width: 26px; height: 26px; border-radius: 50%; background: #f1f3f4; border: 1px solid #dadce0; flex: none; }
.ef-serp-site b { display: block; font-size: 14px; color: #202124; font-weight: 400; }
.ef-serp-site span { display: block; font-size: 12px; color: #4d5156; word-break: break-all; }
.ef-serp-title { margin: 0 0 4px !important; font-size: 20px; line-height: 1.3; color: #1a0dab; }
.ef-serp-desc { margin: 0 !important; font-size: 14px; line-height: 1.58; color: #4d5156; }
.ef-serp-tips { margin: 18px 0 0; padding-left: 20px; }
.ef-serp-tips li { margin-bottom: 6px; }
.ef-serp-count { font-weight: 600 !important; }
@media print {
	.ef-qr-sheet { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10mm; justify-items: center; }
	.ef-qr-sheet .ef-qr-tag { width: 85mm; break-inside: avoid; }
}

/* Menu Servizi a tendina (solo desktop: da telefono il link porta a /servizi/) */
.ef-dd { position: relative; }
.ef-dd-top::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.ef-dd-panel { position: absolute; top: 100%; left: -24px; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; width: 480px; margin-top: 14px; padding: 22px 24px; background: #fff; border: 1px solid var(--ef-line); border-radius: 10px; box-shadow: 0 18px 40px rgba(20,20,20,.10); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.ef-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.ef-dd:hover .ef-dd-panel, .ef-dd:focus-within .ef-dd-panel { opacity: 1; visibility: visible; transform: none; }
.ef-dd-col { display: flex; flex-direction: column; gap: 4px; }
.ef-dd-col + .ef-dd-col { border-left: 1px solid var(--ef-line); padding-left: 24px; }
.ef-dd-label { margin: 0 0 6px !important; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ef-muted); }
.ef-dd-col a { display: block; padding: 7px 0; color: var(--ef-ink); font-weight: 600; }
.ef-dd-col a span { display: block; font-weight: 400; font-size: 13.5px; color: var(--ef-muted); }
.ef-dd-col a:hover span { color: var(--ef-ink-2); }
@media (max-width: 900px) { .ef-dd-panel { display: none; } .ef-dd-top::after { display: none; } .ef-dd { flex: none; } }
.ef-plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .ef-plans-3 { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

/* Casi studio: prima e dopo, galleria */
.ef-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.ef-case-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.ef-case-fig { position: relative; margin: 0; }
.ef-case-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain; background: #fff; border: 1px solid var(--ef-line); border-radius: 8px; }
.ef-case-fig figcaption { font-size: 14px; color: var(--ef-muted); margin-top: 10px; line-height: 1.4; }
.ef-fig-label { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 99px; background: #141414; color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ef-before-after .ef-case-fig:last-child .ef-fig-label { background: var(--ef-accent); color: #141414; }
.ef-gallery-title { margin-top: 56px !important; }
@media (max-width: 760px) { .ef-before-after { grid-template-columns: 1fr; } }
.ef-case-gallery.is-photos { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ef-case-gallery.is-photos .ef-case-fig img { aspect-ratio: 1; object-fit: cover; }
.ef-case-feature .ef-split { align-items: center; }
.ef-case-feature .ef-case-fig img { aspect-ratio: auto; border: 0; background: none; }
.ef-case-gallery.is-phones { grid-template-columns: repeat(auto-fill, minmax(200px, 260px)); gap: 24px; }
.ef-case-gallery.is-phones .ef-case-fig img { aspect-ratio: auto; border-radius: 24px; }
.ef-case-link { margin-top: 36px !important; }
.ef-logo-list img { max-width: 190px; object-fit: contain; }

/* Marca Digitale */
.ef-md-box { background: var(--ef-ink); color: #fff; border-radius: 8px; padding: clamp(26px, 3.5vw, 38px); }
.ef-md-box .ef-eyebrow { color: #9a958c; margin-bottom: 6px; }
.ef-md-big { font-family: var(--ef-display); font-weight: 800; font-size: clamp(34px, 4vw, 46px); letter-spacing: -.03em; line-height: 1; margin: 0 0 16px !important; color: #fff; }
.ef-md-big span { color: var(--ef-accent); font-size: 1.5em; }
.ef-md-bar { height: 8px; background: var(--ef-night-line); border-radius: 99px; overflow: hidden; }
.ef-md-bar span { display: block; height: 100%; background: var(--ef-accent); border-radius: 99px; }
.ef-md-count { font-size: 15px; color: #c9c4ba; margin: 14px 0 0 !important; }
.ef-md-count strong { color: #fff; }
.ef-md-box ul { list-style: none; padding: 0; margin: 20px 0 14px; border-top: 1px solid var(--ef-night-line); }
.ef-md-box li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--ef-night-line); position: relative; font-size: 15.5px; }
.ef-md-box li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--ef-accent); }
.ef-md-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ef-line); border: 1px solid var(--ef-line); border-radius: 8px; overflow: hidden; margin-bottom: 18px; }
.ef-md-stats > div { background: var(--ef-paper); padding: clamp(22px, 3vw, 34px); }
.ef-md-stats strong { display: block; font-family: var(--ef-display); font-weight: 800; font-size: clamp(44px, 5vw, 64px); letter-spacing: -.04em; line-height: 1; margin-bottom: 12px; }
.ef-md-stats p { color: var(--ef-ink-2); font-size: 15.5px; line-height: 1.45; margin: 0; }
@media (max-width: 960px) { .ef-md-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ef-md-stats { grid-template-columns: 1fr; } }
.ef-md-calc { background: var(--ef-paper); border: 1px solid var(--ef-line); border-radius: 8px; padding: clamp(24px, 3.5vw, 36px); display: grid; gap: 18px; }
.ef-md-calc label { display: grid; gap: 8px; font-weight: 600; font-size: 16px; }
.ef-md-calc input, .ef-md-calc select { font: inherit; font-weight: 500; padding: 12px 14px; border: 1.5px solid var(--ef-line); border-radius: 6px; background: #fff; width: 100%; color: var(--ef-ink); }
.ef-md-input { position: relative; display: block; }
.ef-md-input b { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ef-muted); font-weight: 500; }
.ef-md-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ef-md-out > div { background: var(--ef-ink); color: #fff; border-radius: 6px; padding: 16px 18px; }
.ef-md-out p { font-size: 13.5px; color: #9a958c; margin: 0 0 4px; }
.ef-md-out strong { font-family: var(--ef-display); font-size: clamp(24px, 3vw, 32px); color: var(--ef-accent); letter-spacing: -.02em; }
.ef-md-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ef-md-chips li { border: 1px solid var(--ef-line); background: var(--ef-paper); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 500; }
.ef-md-plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 24px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.ef-md-plan { background: #fff; border: 1px solid var(--ef-line); border-radius: 10px; padding: clamp(26px, 3.5vw, 40px); display: flex; flex-direction: column; position: relative; }
.ef-md-plan.is-featured { background: var(--ef-ink); color: #fff; border-color: var(--ef-ink); box-shadow: 0 24px 60px -24px rgba(20,20,20,.45); }
.ef-md-plan-tag { position: absolute; top: -14px; left: clamp(26px, 3.5vw, 40px); background: var(--ef-accent); color: var(--ef-ink); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin: 0 !important; }
.ef-md-plan-name { font-family: var(--ef-display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; margin: 0 0 6px !important; }
.ef-md-plan-for { color: var(--ef-muted); font-size: 15.5px; margin: 0 0 22px !important; min-height: 2.9em; }
.is-featured .ef-md-plan-for { color: #b9b3a8; }
.ef-md-plan-price { font-family: var(--ef-display); font-weight: 800; font-size: clamp(52px, 6vw, 68px); letter-spacing: -.04em; line-height: 1; margin: 0 !important; }
.is-featured .ef-md-plan-price { color: var(--ef-accent); }
.ef-md-plan-sub { font-size: 14px; color: var(--ef-muted); margin: 8px 0 22px !important; }
.is-featured .ef-md-plan-sub { color: #b9b3a8; }
.ef-md-plan > ul { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--ef-line); }
.is-featured > ul { border-color: var(--ef-night-line); }
.ef-md-plan > ul li { padding: 11px 0 11px 30px; border-bottom: 1px solid var(--ef-line); position: relative; font-size: 15.5px; line-height: 1.4; }
.is-featured > ul li { border-color: var(--ef-night-line); }
.ef-md-plan > ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--ef-paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23141414' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.is-featured > ul li::before { background-color: var(--ef-accent); }
.ef-md-bonus { border: 1.5px dashed var(--ef-accent); border-radius: 8px; padding: 16px 18px; margin: 0 0 24px; }
.ef-md-bonus p { margin: 0 !important; color: var(--ef-accent); font-size: 15.5px; }
.ef-md-bonus ul { list-style: none; padding: 0; margin: 8px 0; }
.ef-md-bonus li { font-size: 15px; padding: 3px 0 3px 18px; position: relative; color: #fff; }
.ef-md-bonus li::before { content: "+"; position: absolute; left: 0; color: var(--ef-accent); font-weight: 700; }
.ef-md-bonus .ef-md-bonus-until { color: #b9b3a8 !important; font-size: 13.5px; }
.ef-md-plan-btn { margin-top: auto; display: block; text-align: center; padding: 15px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1.5px solid var(--ef-ink); color: var(--ef-ink); text-decoration: none; transition: background .15s, color .15s; }
.ef-md-plan-btn:hover { background: var(--ef-ink); color: #fff; }
.is-featured .ef-md-plan-btn { background: var(--ef-accent); border-color: var(--ef-accent); color: var(--ef-ink); }
.is-featured .ef-md-plan-btn:hover { background: var(--ef-accent-dark); color: var(--ef-ink); }
.ef-md-assure { list-style: none; padding: 0; margin: 32px auto 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; max-width: 980px; }
.ef-md-assure li { font-size: 15px; font-weight: 500; padding-left: 22px; position: relative; color: var(--ef-ink-2); }
.ef-md-assure li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--ef-accent); }
@media (max-width: 760px) { .ef-md-plans { grid-template-columns: 1fr; gap: 32px; } .ef-md-plan.is-featured { order: -1; } .ef-md-plan-for { min-height: 0; } }

.ef-md-care { max-width: 980px; margin: 32px auto 10px; background: #fff; border: 1px solid var(--ef-line); border-top: 4px solid var(--ef-accent); border-radius: 10px; padding: clamp(24px, 3.5vw, 40px); }
.ef-md-care-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--ef-line); margin-bottom: 26px; }
.ef-md-care-note { font-size: 15.5px; color: var(--ef-ink-2); margin: 0 !important; }
.ef-md-care-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ef-md-care-prices > div { border: 1.5px solid var(--ef-line); border-radius: 8px; padding: 16px; }
.ef-md-care-prices > div.is-best { border-color: var(--ef-ink); background: var(--ef-ink); color: #fff; }
.ef-md-care-prices p { margin: 0 !important; font-size: 13.5px; color: var(--ef-muted); }
.ef-md-care-prices .is-best p { color: #b9b3a8; }
.ef-md-care-price { font-family: var(--ef-display); font-weight: 800; font-size: 32px !important; letter-spacing: -.03em; line-height: 1.05; color: var(--ef-ink) !important; margin-bottom: 4px !important; }
.is-best .ef-md-care-price { color: var(--ef-accent) !important; }
.ef-md-care-price span { font-family: var(--ef-body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: inherit; opacity: .75; }
.ef-md-care-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 4vw, 48px); }
.ef-md-care-h { font-family: var(--ef-display); font-weight: 700; font-size: 18px; margin: 0 0 10px !important; }
.ef-md-care-cols > div > .ef-md-care-h ~ .ef-md-care-h { margin-top: 22px !important; }
.ef-md-care-yes, .ef-md-care-no { list-style: none; padding: 0; margin: 0; }
.ef-md-care-yes li, .ef-md-care-no li { font-size: 15px; line-height: 1.45; padding: 7px 0 7px 26px; position: relative; }
.ef-md-care-yes li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%; background: var(--ef-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23141414' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.ef-md-care-no li { color: var(--ef-muted); }
.ef-md-care-no li::before { content: "–"; position: absolute; left: 4px; color: var(--ef-muted); }
.ef-md-care-small { font-size: 14.5px; color: var(--ef-ink-2); margin: 10px 0 0 !important; line-height: 1.5; }
@media (max-width: 760px) { .ef-md-care-head, .ef-md-care-cols { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .ef-md-care-prices { grid-template-columns: 1fr; } }
