/* Tema: modificare queste variabili per personalizzare tutta la pagina. */
:root {
  --background: #fafbf9;
  --background-secondary: #eff2ee;
  --text: #202a27;
  --muted-text: #59645e;
  --accent: #1c483e;
  --borders: #d5dcd5;
  --max-width: 1240px;
  --border-radius: 12px;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-heading: "Inter Tight", "Manrope", "Segoe UI", system-ui, sans-serif;
  --shadow-soft: 0 12px 35px rgb(25 52 42 / 5%);
  --spacing: 1.5rem;
  --section-spacing: clamp(4rem, 7vw, 7rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 11rem; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #a96a17; outline-offset: 5px; border-radius: 2px; }
::selection { background: #d6e9bd; color: #202a27; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.12; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 4.65vw, 4.65rem); letter-spacing: -.052em; margin-bottom: 1.6rem; }
h2 { font-size: clamp(2rem, 3.25vw, 3.15rem); letter-spacing: -.045em; margin-bottom: 1.5rem; }
h3 { font-size: 1.3rem; line-height: 1.3; letter-spacing: -.025em; }
p { color: var(--muted-text); margin-bottom: 1.25rem; }
strong { color: inherit; font-weight: 600; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
.container { width: min(var(--max-width), calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding-block: var(--section-spacing); }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 2rem; color: var(--accent); }
.accent, h1 > span { color: var(--accent); }
.skip-link { position: fixed; transform: translateY(-200%); top: 0; left: 1rem; background: white; color: var(--text); padding: 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--background); border-bottom: 1px solid var(--borders); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1rem; padding-block: .8rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { display: block; width: auto; height: auto; max-width: 140px; }
.site-header nav { display: flex; flex-wrap: wrap; order: 3; width: 100%; justify-content: space-between; gap: 0 .6rem; }
.site-header nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: .875rem; text-decoration: none; }
.site-header nav a:hover, .site-footer a:hover { text-decoration: underline; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1rem; min-height: 50px; padding: .85rem 1.15rem; background: var(--accent); color: white; border: 1px solid var(--accent); border-radius: var(--border-radius); text-decoration: none; font-size: .875rem; font-weight: 500; transition: background .2s ease; }
.button:hover { background: #2d5d50; }
.header-cta { min-height: 44px; font-size: .75rem; padding: .6rem .7rem; gap: .5rem; }
.hero-grid { display: grid; gap: 2.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.6rem; margin-top: 2rem; }
.text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; font-size: .9rem; font-weight: 600; }
.hero-note { padding: 1.75rem; background: var(--background-secondary); border-top: 2px solid var(--accent); }
.note-index { font-size: .7rem; letter-spacing: .15em; color: var(--accent); }
.hero-note p { font-size: .95rem; }
.current-role { border-top: 1px solid var(--borders); padding-top: 1rem; font-size: .8rem; color: var(--muted-text); }
.strategy-mark { height: 115px; position: relative; width: 160px; margin-block: 1rem; }
.strategy-mark span { position: absolute; width: 90px; height: 90px; border: 1px solid #69877c; border-radius: 50%; top: 10px; left: 0; }
.strategy-mark span:nth-child(2) { left: 32px; }
.strategy-mark span:nth-child(3) { left: 64px; }
.strategy-mark i { position: absolute; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; top: 51px; left: 73px; }
.trust-strip { display: grid; grid-template-columns: repeat(2, 1fr); margin: 3.5rem 0 0; padding-block: 2rem; border-top: 1px solid var(--borders); gap: 2rem 1rem; }
.trust-strip dt { font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -.045em; line-height: 1.1; margin-bottom: .6rem; }
.trust-strip dd { margin: 0; color: var(--muted-text); font-size: .85rem; max-width: 180px; }
.strategy-section { background: var(--accent); color: #fff; }
.strategy-section .eyebrow { color: #c6d6bc; }
.strategy-section h2 span { color: #cee0bc; }
.strategy-section p { color: #d8e2dd; }
.section-grid > *, .experience-grid > *, .cases-grid > *, .profile-grid > * { min-width: 0; }
.section-grid { display: grid; gap: 2rem; }
.section-copy .statement { color: white; font-weight: 400; margin-top: 2rem; }
.section-heading { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
.skills-grid { display: grid; gap: 1rem; }
.skills-grid article { padding: 1.6rem; border: 1px solid var(--borders); border-radius: var(--border-radius); background: #fff; box-shadow: var(--shadow-soft); }
.skills-grid p { margin: 0; }
.item-number { display: block; font-size: .8rem; color: var(--accent); margin-bottom: 1.5rem; }
.audience-section, .method-section { background: var(--background-secondary); }
.situations article { display: flex; gap: 1.3rem; padding: 1.5rem 0; border-top: 1px solid var(--borders); }
.situations article > span { color: var(--accent); font-size: .8rem; }
.situations h3 { margin-bottom: .6rem; }
.situations p { margin: 0; }
.wide-title { max-width: 880px; margin-bottom: 3rem; }
.experience-grid { display: grid; gap: 2.5rem; }
.experience-current { background: var(--accent); color: white; padding: clamp(1.6rem, 3.5vw, 3rem); border-radius: var(--border-radius); }
.experience-current p, .experience-current strong { color: #e0e9e3; }
.experience-current h3 { font-size: 1.85rem; }
.experience-current .eyebrow { color: #c6d6bc; }
.previous-experience article { border-top: 1px solid var(--borders); padding-top: 1.5rem; }
.previous-experience article + article { margin-top: 2rem; }
.previous-experience .eyebrow { margin-bottom: 1rem; }
.method-grid { padding: 0; margin: 2.5rem 0 0; list-style: none; display: grid; gap: 1.5rem; }
.method-grid li { border-top: 1px solid var(--borders); padding-top: 1rem; }
.method-grid span { display: block; font-size: .8rem; margin-bottom: 1.5rem; color: var(--accent); }
.method-grid h3 { font-size: 1.15rem; }
.method-grid p { font-size: .9rem; margin: 0; }
.cases-grid { display: grid; gap: 1.2rem; }
.case-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--borders); border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); }
.design-background { padding-block: 2.5rem; border-top: 1px solid var(--borders); border-bottom: 1px solid var(--borders); }
.design-background h2 { font-size: 1.85rem; }
.profile-grid { display: grid; gap: 2.5rem; align-items: center; }
.profile-photo { width: 100%; aspect-ratio: 4/5; max-width: 400px; justify-self: center; object-fit: cover; background: #e6ebe4; border-radius: var(--border-radius); }
.profile-intro { font-size: 1.4rem; line-height: 1.45; color: var(--text); }
.contact-section { background: #e6ecdf; }
.contact-section h2 { max-width: 520px; }
.contact-links > a { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid #b9c5b4; text-decoration: none; font-size: clamp(1rem, 2vw, 1.5rem); }
.contact-links > a > span:last-child { margin-left: auto; }
.contact-links small { display: block; color: var(--muted-text); font-size: .75rem; margin-bottom: .3rem; }
.contact-links a:hover { text-decoration: underline; }
.social-links { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-top: 1.5rem; }
.social-links a { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; font-size: .9rem; }
/* Clienti: loghi reali e budget annuali indicativi. */
.clients-section { border-top: 1px solid var(--borders); }
.clients-section .wide-title { margin-bottom: 1.5rem; }
.clients-intro { max-width: 800px; }
.clients-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.client-card { border: 1px solid var(--borders); border-radius: var(--border-radius); padding: 1.5rem; }
.client-budget { font-size: clamp(1.6rem, 2.4vw, 2rem); color: var(--accent); letter-spacing: -.04em; line-height: 1.25; margin-bottom: .5rem; }
.clients-note { font-size: .875rem; }
.clients-note { margin: 1.5rem 0 0; }
.profile-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
/* AI e GEO: sezioni editoriali, senza dipendenze o componenti interattivi. */
.ai-section, .faq-section { background: var(--background-secondary); }
.editorial-statement { max-width: 1000px; margin: 2.5rem 0; padding-block: 2rem; border-block: 1px solid var(--borders); color: var(--accent); font-size: clamp(1.6rem, 2.7vw, 2.5rem); letter-spacing: -.035em; line-height: 1.3; }
.ai-areas { display: grid; gap: 2rem; margin-bottom: 2rem; }
.ai-areas article { min-width: 0; }
.ai-areas h3 { font-size: 1.5rem; }
.ai-areas .area-note { padding-top: 1rem; border-top: 1px solid var(--borders); font-size: .875rem; }
.geo-principles article, .faq-list article { border-top: 1px solid var(--borders); padding-top: 1.5rem; }
.geo-principles article + article, .faq-list article + article { margin-top: 1.5rem; }
@media (min-width: 768px) {
  .brand img { max-width: 210px; }
  .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .container { width: min(var(--max-width), calc(100% - 5rem)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 245px; gap: 2.5rem; }
  .hero-note { padding: 1.4rem; align-self: start; }
  .trust-strip { grid-template-columns: repeat(4, 1fr); padding-block: 2.5rem; }
  .trust-strip > div + div { padding-left: 1.5rem; border-left: 1px solid var(--borders); }
  .section-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .experience-grid { grid-template-columns: 1.2fr 1fr; }
  .method-grid { grid-template-columns: repeat(3, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
}
@media (min-width: 1100px) {
  .cases-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clients-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html { scroll-padding-top: 7rem; }
  .header-inner { min-height: 86px; flex-wrap: nowrap; }
  .site-header nav { width: auto; order: 0; gap: 1.35rem; }
  .header-cta { font-size: .8rem; padding-inline: 1rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 6rem; }
  .hero-note { padding: 1.8rem; }
  .section-grid { gap: 6rem; }
  .section-heading { flex-direction: row; justify-content: space-between; align-items: end; }
  .skills-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .ai-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .skills-grid article { padding-block: 2.1rem; }
  .method-grid { grid-template-columns: repeat(5, 1fr); gap: 2rem; }
}
/* Finitions éditoriales et composants partagés. Les polices restent locales. */
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
mark { background: #dfead8; color: #183e34; padding: 0 .14em .04em; border-radius: .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ui-icon { width: 23px; height: 23px; }
.eyebrow { display: flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ''; width: 20px; height: 1px; flex-shrink: 0; background: currentColor; opacity: .6; }
.hero-note { border-radius: var(--border-radius); box-shadow: var(--shadow-soft); }
.trust-strip { border-bottom: 1px solid var(--borders); }
.trust-strip .ui-icon { color: var(--accent); margin-bottom: 1rem; }
.trust-strip dt { font-weight: 600; font-variant-numeric: tabular-nums; }
.button { box-shadow: 0 5px 15px rgb(28 72 62 / 10%); }
.text-link { text-decoration: none; border-bottom: 1px solid currentColor; width: fit-content; padding-bottom: .1rem; }
.text-link:hover { color: var(--accent); }
.skill-top, .method-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.7rem; color: var(--accent); }
.skill-top .item-number, .method-top span { margin: 0; }
.skill-top > svg { width: 28px; height: 28px; }
.client-card { background: #fff; box-shadow: var(--shadow-soft); }
.client-budget { font-variant-numeric: tabular-nums; font-weight: 600; }
.experience-grid + .text-link { margin-top: 2rem; }
.ai-areas article { background: var(--background); padding: 1.5rem; border: 1px solid var(--borders); border-radius: var(--border-radius); }
.geo-principles article { border-left: 2px solid var(--borders); border-top: 0; padding: 0 0 0 1.5rem; }
.faq-list article { position: relative; padding-left: 2.5rem; }
.faq-list .ui-icon { position: absolute; left: 0; top: 1.6rem; color: var(--accent); width: 20px; }
.contact-section { background: #173e34; color: #fff; }
.contact-section p, .contact-section small { color: #d5e2d9; }
.contact-section .eyebrow { color: #cde0ba; }
.contact-links > a { border-color: #496a5e; }
.contact-links a:hover { color: #d5e8bd; }
.selected-wins { padding-left: 1.2rem; font-size: .85rem; color: var(--muted-text); margin-bottom: 1.5rem; }
@media (hover: hover) {
  .skills-grid article:hover { border-color: #9bb4a5; box-shadow: 0 15px 35px rgb(25 52 42 / 8%); }
}



/* Même composant logo pour les budgets et les études de cas. */
.client-card { text-align: center; }
.case-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; gap: 1.5rem; }
.case-body .case-tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; min-height: 3.75rem; align-content: start; }
.case-tags li { padding: .25rem .6rem; border: 1px solid var(--borders); border-radius: 100px; font-size: .7rem; color: var(--accent); line-height: 1.5; }
.case-body h4 { margin: 0 0 .65rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 600; color: var(--accent); }
.case-body p { font-size: .9375rem; line-height: 1.7; margin: 0; }
.case-body .case-goal { color: var(--text); font-weight: 600; margin-bottom: .7rem; font-size: 1.125rem; line-height: 1.45; }
.case-budget { padding-top: 1.25rem; border-top: 1px solid var(--borders); margin-top: auto; }
.case-budget p { font-size: 1.25rem; font-weight: 600; color: var(--text); letter-spacing: -.025em; }
.case-result { background: var(--accent); padding: 1.75rem; min-height: 215px; display: flex; flex-direction: column; justify-content: center; }
.case-result p { color: #fff; margin: 0; }
.case-result .case-result-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; color: #cfe0d5; margin-bottom: 1rem; }
.case-result .case-metric { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 600; line-height: 1.05; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.case-result .case-result-label { font-size: 1rem; margin-top: .4rem; }
.case-result .case-outcome { font-size: 1.4rem; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; }
.case-outcome + .case-outcome { margin-top: .5rem; }
.case-outcome span { color: #cee0bc; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .site-header { position: static; }
  .header-cta, .hero-actions, .skip-link { display: none; }
  .section { padding-block: 2rem; }
  body { font-size: 11pt; }
  article { break-inside: avoid; }
}

/* Loghi reali: area uniforme, proporzioni originali e nessun filtro. */
.client-logo-wrap { width: 100%; height: 112px; display: flex; align-items: center; justify-content: center; padding: 12px; margin: .4rem auto .8rem; background: #fff; }
.client-logo-wrap img.client-logo { display: block; width: auto; height: auto; max-width: min(180px, 100%); max-height: 88px; object-fit: contain; }
.client-logo-fallback { color: var(--text); font-size: 1.1rem; font-weight: 600; }
.case-body .client-logo-wrap { margin: 0; }

/* Icone piattaforme locali: sempre accompagnate dall’etichetta testuale. */
.platform-icon { display: block; width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.platform-heading { display: inline-flex; align-items: center; gap: .4rem; }
.case-tags .platform-icon { width: 16px; height: 16px; }
.reviews-section { background: #e8eee5; border-block: 1px solid var(--borders); }
.reviews-grid { display: grid; gap: 3rem; align-items: center; }
.review-score { text-align: center; padding: 2rem 1rem; }
.review-stars { display: flex; justify-content: center; gap: .6rem; color: #946c2d; }
.review-stars svg { width: 28px; height: 28px; }
.review-value { font-family: var(--font-heading); color: var(--accent); font-size: clamp(5rem, 8vw, 8rem); font-weight: 600; letter-spacing: -.06em; line-height: 1.1; margin: 1.2rem 0 .8rem; }
.review-value span { font-size: 1.8rem; color: var(--muted-text); letter-spacing: -.025em; font-weight: 400; }
.review-source { max-width: 220px; margin: 0 auto; font-size: .9375rem; }
.review-metrics { display: flex; flex-wrap: wrap; gap: 2rem 3rem; padding-block: 1.4rem; margin-block: 1.5rem; border-block: 1px solid #c5d2c3; }
.review-metrics dt { font-size: 2rem; font-weight: 600; letter-spacing: -.04em; color: var(--accent); }
.review-metrics dd { margin: 0; font-size: .875rem; color: var(--muted-text); }
@media (min-width: 768px) {
  .skill-top .platform-icon { width: 34px; height: 34px; }
  .reviews-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
  .review-score { border-right: 1px solid #c5d2c3; padding-right: 2.5rem; }
}

/* Raffinamenti limitati a clienti/budget e scenari del pubblico. */
.clients-section .clients-intro { max-width: 740px; line-height: 1.8; }
.clients-section .clients-grid { gap: 1.25rem; margin-top: 1.5rem; align-items: stretch; }
.clients-section .client-card { padding: 1.6rem; border-color: #d5dfd6; border-radius: 16px; display: flex; flex-direction: column; min-width: 0; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.clients-section .client-metric { margin: 0 0 1.25rem; color: var(--accent); }
.clients-section .client-budget { display: block; font-size: clamp(1.625rem, 2.1vw, 1.875rem); font-weight: 500; line-height: 1.2; margin: 0; letter-spacing: -.025em; }
.clients-section .client-logo-wrap { height: 100px; margin: auto 0 0; padding: 8px; border: 0; border-radius: 0; background: transparent; }
.clients-section .client-logo { max-height: 86px; }
.clients-section .client-cta { background: #e7eee1; border-color: #b4c5ae; text-align: left; }
.tile-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 1rem; }
.client-cta h3 { font-size: 1.45rem; letter-spacing: -.035em; line-height: 1.2; margin-bottom: .8rem; }
.client-cta p { font-size: .875rem; line-height: 1.6; margin-bottom: 1rem; }
.client-cta .text-link { margin-top: auto; color: var(--accent); }
.audience-section .section-grid { align-items: start; }
.audience-intro h2 { font-size: clamp(2.2rem, 3.5vw, 3.4rem); max-width: 530px; }
.audience-intro > p:not(.eyebrow) { max-width: 480px; line-height: 1.8; }
.audience-intro .audience-callout { margin-top: 2rem; padding: .4rem 0 .4rem 1.25rem; border-left: 3px solid #8eaa80; font-size: .95rem; font-weight: 600; color: var(--accent); }
.audience-section .situations { display: grid; gap: 1rem; }
.audience-section .situations article { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1.2rem; padding: 1.5rem; background: #fff; border: 1px solid #d5dfd6; border-radius: 14px; box-shadow: 0 6px 22px rgb(25 52 42 / 3%); transition: border-color .2s ease, box-shadow .2s ease; }
.scenario-marker { display: flex; flex-direction: column; align-items: center; gap: .8rem; color: var(--accent); }
.scenario-number { display: grid; place-items: center; height: 36px; width: 36px; border-radius: 50%; background: #edf2e9; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.scenario-marker svg { width: 24px; height: 24px; }
.situations h3 { font-size: 1.2rem; line-height: 1.35; text-wrap: initial; }
.situations p { font-size: .9375rem; line-height: 1.7; }
@media (hover: hover) {
  .clients-section .client-card:hover { transform: translateY(-3px); border-color: #a7bda7; box-shadow: 0 14px 30px rgb(25 52 42 / 8%); }
  .clients-section .client-cta:hover { border-color: var(--accent); }
  .audience-section .situations article:hover { border-color: #a7bda7; box-shadow: 0 10px 24px rgb(25 52 42 / 6%); }
}
@media (max-width: 767px) {
  .audience-section .situations article { padding: 1.25rem; grid-template-columns: 36px minmax(0, 1fr); gap: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .clients-section .client-card:hover { transform: none; }
}

/* Hero: composizione editoriale e atmosfera animata, limitate a #inizio. */
/* L’header rimane nel flusso: la hero occupa almeno una viewport propria e cresce con i contenuti. */
.hero { --hero-gutter: max(1.25rem, calc((100% - var(--max-width)) / 2)); position: relative; isolation: isolate; width: 100%; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(4.5rem, 7vh, 7rem) var(--hero-gutter) clamp(3rem, 5vh, 5rem); }
.hero-atmosphere { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #f6f9f5; }
.hero-atmosphere::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(250 251 249 / 45%), transparent 75%); }
.hero-light { position: absolute; width: 125%; height: 115%; top: -12%; right: -25%; background: radial-gradient(ellipse at 60% 45%, rgb(139 177 151 / 35%), rgb(194 215 184 / 18%) 42%, transparent 72%); animation: hero-drift 10s ease-in-out infinite alternate; }
.hero-light-secondary { width: 100%; height: 110%; top: 10%; right: 25%; background: radial-gradient(ellipse at 40% 60%, rgb(158 188 179 / 24%), transparent 65%); animation-duration: 13s; animation-delay: -6s; animation-direction: alternate-reverse; }
.hero-orbit { position: absolute; border: 1px solid rgb(79 119 99 / 18%); border-radius: 50%; width: clamp(650px, 80vw, 1800px); aspect-ratio: 1; right: -22%; top: -12%; animation: hero-orbit 14s ease-in-out infinite alternate; }
.hero-orbit-two { width: clamp(450px, 62vw, 1400px); right: 28%; top: 22%; animation-duration: 17s; animation-delay: -8s; }
.hero > .eyebrow { max-width: 700px; position: relative; }
.hero h1 { margin-bottom: 1.75rem; letter-spacing: -.055em; line-height: 1.05; font-weight: 600; text-wrap: initial; }
.hero h1 .hero-topic { display: block; color: var(--text); font-size: clamp(2.3rem, 3.9vw, 3.8rem); }
.hero h1 .hero-strategy { display: block; color: var(--accent); font-size: clamp(2.6rem, 4.6vw, 4.5rem); margin-top: .3em; letter-spacing: -.06em; }
.hero-description { max-width: 620px; font-size: 1.0625rem; line-height: 1.8; }
.hero .hero-actions { gap: 1rem 1.5rem; }
.hero-actions .button { min-height: 56px; padding-inline: 1.4rem; font-weight: 600; }
.hero-actions .text-link { min-height: 50px; }
.hero .hero-note { background: #fff; border: 1px solid #c8d7cb; border-top: 3px solid var(--accent); padding: 1.75rem; border-radius: 18px; box-shadow: 0 18px 50px rgb(25 52 42 / 7%); }
.hero-note .note-index { font-size: .75rem; }
.hero-note .strategy-mark { margin-block: 1.2rem; }
.hero-note .hero-capital { padding-block: 1.2rem; border-block: 1px solid var(--borders); margin-block: 1.5rem; }
.hero-capital > strong { display: block; font-size: 2.4rem; line-height: 1.15; letter-spacing: -.05em; color: var(--accent); }
.hero-capital span { display: block; color: var(--text); font-size: .9rem; margin-top: .4rem; }
.hero-capital small { display: block; font-size: .8rem; margin-top: .4rem; }
.hero-note .current-role { border: 0; padding: 0; line-height: 1.7; }
.hero .trust-strip { margin-top: 3.5rem; padding: 0; gap: 0; border: 1px solid var(--borders); border-radius: 16px; background: #fff; box-shadow: 0 8px 30px rgb(25 52 42 / 3%); overflow: hidden; }
.hero .trust-strip > div { padding: 1.5rem 1.1rem; border: 0; min-width: 0; }
.hero .trust-strip > div:nth-child(even) { border-left: 1px solid var(--borders); }
.hero .trust-strip > div:nth-child(n+3) { border-top: 1px solid var(--borders); }
.hero .trust-strip svg { width: 23px; height: 23px; margin-bottom: 1.2rem; }
.hero .trust-strip dt { font-size: clamp(2.1rem, 3vw, 3rem); color: var(--accent); margin-bottom: .7rem; letter-spacing: -.05em; }
.hero .trust-strip .metric-capital { font-size: clamp(1.5rem, 2.4vw, 2.5rem); line-height: 1.35; }
.hero .trust-strip dd { max-width: 250px; font-size: .875rem; line-height: 1.65; }
@keyframes hero-drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-12%,8%,0) scale(1.1); } }
@keyframes hero-orbit { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-65px,40px,0) scale(1.08); } }
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) 270px; gap: 2rem; }
  .hero .trust-strip > div { padding: 1.7rem 1.2rem; }
  .hero .trust-strip > div:nth-child(n+3) { border-top: 0; }
  .hero .trust-strip > div + div { border-left: 1px solid var(--borders); }
}
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) 320px; gap: 4.5rem; }
  .hero .hero-note { align-self: center; padding: 2rem; }
  .hero .trust-strip > div { padding: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-atmosphere > * { animation: none; }
}

@media (min-width: 768px) {
  .hero { --hero-gutter: max(2.5rem, calc((100% - var(--max-width)) / 2)); }
}
@media print {
  .hero { min-height: auto; display: block; }
  .hero-atmosphere { display: none; }
}

/* Framework integrato: stili limitati alla chiusura del blocco strategia. */
.strategy-framework { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid #53766b; }
.framework-heading { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.framework-heading .eyebrow { margin-bottom: 1rem; font-size: .7rem; }
.framework-heading h3 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.12; letter-spacing: -.045em; margin: 0; }
.framework-heading > p { max-width: 390px; margin: 0; font-size: 1rem; }
.framework-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.framework-card { position: relative; padding: 1.5rem; border: 1px solid #53766b; border-radius: 14px; background: linear-gradient(145deg, #2a5549, #214b40); box-shadow: 0 10px 24px rgb(8 30 24 / 9%); transition: transform .22s ease, border-color .22s ease; }
.framework-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.75rem; color: #cee0bc; }
.framework-number { font-size: .8rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.framework-card-top svg { width: 28px; height: 28px; }
.framework-card h4 { font-size: 1.12rem; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; margin: 0 0 .7rem; color: #fff; }
.strategy-framework .framework-card p { margin: 0; font-size: .9rem; line-height: 1.65; color: #d8e2dd; }
.framework-card-ads { border-color: #afc69c; background: linear-gradient(145deg, #3d6350, #2c5144); }
.framework-card-ads::before { content: ''; position: absolute; top: -1px; left: 1.5rem; width: 48px; height: 3px; background: #cee0bc; border-radius: 0 0 3px 3px; }
@media (min-width: 600px) { .framework-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .framework-heading { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
  .framework-heading > p { justify-self: end; }
  .framework-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (hover: hover) { .framework-card:hover { transform: translateY(-3px); border-color: #afc69c; } }
@media (prefers-reduced-motion: reduce) { .framework-card { transition: none; } .framework-card:hover { transform: none; } }

/* Competenze: icone cromatiche e gerarchia editoriale delle otto card. */
#competenze .skills-grid { gap: 1.15rem; }
#competenze .skills-grid article { padding: 1.5rem; border: 1px solid #d5e0da; border-radius: 18px; background: linear-gradient(160deg, #f6faf8, #fff 45%); box-shadow: 0 5px 18px rgb(25 52 42 / 4%); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
#competenze .skill-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
#competenze .skill-icon-frame { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; background: #edf5f1; border: 1px solid #e0ebe5; }
#competenze article:nth-child(2) .skill-icon-frame, #competenze article:nth-child(3) .skill-icon-frame { background: #eff5fb; border-color: #e0eaf4; }
#competenze .skill-icon--plain { background: none; border: 0; border-radius: 0; color: var(--accent); justify-items: start; }
#competenze .skill-icon-frame svg, #competenze .skill-icon-frame img { display: block; width: 30px; height: 30px; margin: 0; }
#competenze .item-number { display: grid; place-items: center; min-width: 32px; height: 28px; margin: 0; border: 1px solid #d5e0da; border-radius: 8px; color: #436659; background: #fff; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
#competenze .skills-grid h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; margin-bottom: .85rem; text-wrap: initial; overflow-wrap: normal; }
#competenze .skills-grid p { font-size: .9375rem; line-height: 1.75; color: #4b6056; }
@media (min-width: 768px) {
  #competenze .skills-grid article { padding: 1.65rem; }
  #competenze .skill-icon-frame { width: 62px; height: 62px; }
  #competenze .skill-icon-frame svg, #competenze .skill-icon-frame img { width: 36px; height: 36px; }
}
@media (hover: hover) { #competenze .skills-grid article:hover { transform: translateY(-3px); border-color: #9bb4a5; box-shadow: 0 12px 28px rgb(25 52 42 / 8%); } }
@media (prefers-reduced-motion: reduce) { #competenze .skills-grid article { transition: none; } #competenze .skills-grid article:hover { transform: none; } }

.clients-section .clients-note { display: flex; align-items: flex-start; gap: .65rem; color: #53685e; line-height: 1.65; }
.clients-section .clients-note svg { width: 18px; height: 18px; margin-top: .15rem; }

/* Icone metodologiche: stesso tratto del framework, senza modificare i loghi adv. */
#competenze .skill-icon--plain svg { width: 28px; height: 28px; }

/* Enfasi editoriale nei titoli principali, senza alterare le metriche. */
#strategy-title { font-weight: 500; }
#strategy-title > span { font-weight: 600; }
.hero h1 .hero-topic { font-weight: 500; }

/* Budget annuali: pannelli editoriali coerenti con le altre card. */
.clients-section .clients-budget-heading { margin: 2.5rem 0 0; font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #496256; }
.clients-section .client-budget { white-space: nowrap; }
.clients-section .client-logo-wrap img.client-logo { max-width: min(175px, 100%); max-height: 80px; }
.clients-section .client-cta { min-height: 270px; }

.clients-section .client-budget-label { display: block; margin-bottom: .75rem; color: #496256; font-size: .6875rem; line-height: 1.5; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.clients-section .client-budget-context { display: block; margin-top: .4rem; font-size: .75rem; line-height: 1.5; color: #617269; }

/* Percorso professionale: punti di orientamento visivi, limitati alla sezione. */
#esperienza .experience-label { display: flex; align-items: center; gap: .8rem; }
#esperienza .experience-label svg { width: 26px; height: 26px; }
#esperienza .experience-label span { min-width: 0; }
#esperienza .experience-highlights { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; padding: 0; margin: 1.75rem 0; }
#esperienza .experience-highlights li { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; padding: .9rem .65rem; border: 1px solid #53766b; border-radius: 8px; background: rgb(255 255 255 / 3%); color: #e0e9e3; font-size: .75rem; font-weight: 600; }
#esperienza .experience-highlights svg { width: 22px; height: 22px; color: #c6d6bc; }
@media (max-width: 479px) { #esperienza .experience-highlights { grid-template-columns: 1fr; } #esperienza .experience-highlights li { flex-direction: row; align-items: center; padding: .7rem .9rem; gap: .8rem; } }

/* Tre applicazioni dell’AI: stesso sistema, tonalità e simboli distinti. */
.ai-areas #chatbot-ai { background: #edf4ef; }
.ai-areas #web-app-ai { background: #edf2f6; }
.ai-areas #siti-ai-ready { background: #f4f2ec; }
.ai-areas article { display: flex; flex-direction: column; padding: clamp(1.5rem, 2.3vw, 2rem); border-radius: 16px; }
.ai-areas .item-number { font-size: .7rem; font-weight: 600; line-height: 1.6; letter-spacing: .065em; color: #35594c; margin-bottom: 1.1rem; }
.ai-areas .ai-area-icon { display: block; width: 30px; height: 30px; color: var(--accent); margin-bottom: 1rem; }
.ai-areas h3 { margin-bottom: 1.25rem; line-height: 1.3; }
.ai-areas .area-note { margin-top: auto; margin-bottom: 0; padding-top: 1.1rem; }
@media (max-width: 767px) { .ai-areas .ai-area-icon { width: 28px; height: 28px; } }

/* Formazione e archivio: timeline editoriale compatta. */
.storyboard-section { background: #eef1ed; }
.career-intro { max-width: 900px; margin: 1.5rem 0; }
.education-section { margin: 3.5rem 0; padding-block: 2.5rem; border-block: 1px solid #ccd8cf; }
.education-section > h3, #storyboard-title { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 800px; }
.education-grid { display: grid; gap: 1.75rem; margin-top: 2rem; }
.education-grid article { border-top: 1px solid #bccfc2; padding-top: 1.25rem; }
.education-grid svg { color: var(--accent); margin-bottom: 1rem; }
.education-grid h4 { font-size: 1.1rem; line-height: 1.4; margin: 0 0 .8rem; }
.education-grid p { font-size: .9rem; margin-bottom: 0; }
.education-grid .education-course { color: var(--accent); font-weight: 600; font-size: .8rem; margin-bottom: .75rem; }
.career-bridge { margin: 2rem 0 0; max-width: 820px; font-size: .9rem; }
.career-note { border-left: 2px solid #91ac9b; padding-left: 1rem; font-size: .85rem; }
.career-timeline { list-style: none; margin: 2.5rem 0 0 .3rem; padding: 0 0 0 1.5rem; border-left: 1px solid #b6c8bd; }
.career-timeline > li { position: relative; padding-bottom: 2rem; }
.career-timeline > li::before { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); left: calc(-1.5rem - 5px); top: 1rem; }
.career-timeline article { display: grid; gap: .75rem; padding-top: .5rem; }
.career-meta { display: flex; align-items: center; gap: .8rem; }
.career-meta p { font-size: .75rem; color: var(--accent); margin: 0; }
.experience-logo { width: 44px; height: 44px; object-fit: contain; }
.experience-wordmark { font-size: .75rem; color: var(--accent); font-weight: 600; }
.career-copy h4 { font-size: 1.3rem; line-height: 1.35; margin: 0 0 .4rem; }
.career-copy p { font-size: .9375rem; margin-bottom: .8rem; }
.career-copy .career-role { font-size: .8rem; color: var(--accent); font-weight: 600; }
.career-highlights { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0; list-style: none; margin: .75rem 0 0; font-size: .8rem; color: var(--accent); }
.career-highlights li::before { content: '·'; margin-right: .4rem; }
@media (min-width: 768px) { .education-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .career-timeline article { grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; } .career-meta { align-self: start; flex-wrap: wrap; } }

.career-copy { min-width: 0; }
.career-copy .selected-wins { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin-top: .8rem; }

/* Consulenza: fotografia, modulo e contatti rapidi. */
.profile-photo { height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; border-radius: 16px; }
.results-cta { margin-block: 1.5rem 3rem; }
.consultation-section { background: #edf2ed; scroll-margin-top: 8rem; }
.consultation-layout { display: grid; gap: 2.5rem; }
.consultation-form { padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid #cfddd2; border-radius: 18px; background: #fff; }
.form-fields { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1.25rem; }
.form-fields label { font-size: .875rem; font-weight: 500; color: var(--text); min-width: 0; }
.form-fields input:not([type=checkbox]), .form-fields select, .form-fields textarea { display: block; width: 100%; min-height: 48px; margin-top: .45rem; padding: .8rem; border: 1px solid #b8cbbf; border-radius: 8px; background: #fbfdfb; color: var(--text); font: inherit; font-weight: 400; }
.form-fields textarea { resize: vertical; }
.form-fields :is(input,select,textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-color: var(--accent); }
.form-fields [aria-invalid=true] { border-color: #9e392e !important; }
.form-fields input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent); flex-shrink: 0; margin: 0; }
.interest-fields { border: 0; padding: 0; min-width: 0; margin: 0; }
.interest-fields legend { font-size: .875rem; font-weight: 500; margin-bottom: .7rem; }
.interest-grid { display: grid; gap: .4rem 1rem; }
.interest-grid label, .privacy-consent { display: flex; align-items: flex-start; gap: .65rem; padding-block: .5rem; min-height: 44px; }
.form-help { font-size: .8125rem; line-height: 1.6; margin: .8rem 0 0; }
.form-status { font-size: .875rem; border-left: 2px solid #8da897; padding-left: .85rem; }
.form-status[hidden] { display: none; }
.form-field-error { display: block; color: #8b302c; font-size: .8125rem; line-height: 1.5; margin-top: .35rem; }
.consultation-form button:disabled { cursor: wait; opacity: .7; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-page-content { max-width: 900px; }
.contact-page h1 { margin-top: 2rem; font-size: clamp(2rem, 5vw, 3rem); }
.mobile-sticky-bar { display: none; }
@media (min-width: 768px) {
  .form-fields { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .form-wide { grid-column: 1 / -1; }
  .interest-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1100px) { .consultation-layout { grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 3rem; } }
@media (max-width: 767px) {
  :root { --iubenda-safe-space: 72px; --mobile-cta-height: 64px; }
  body { padding-bottom: calc(var(--mobile-cta-height) + env(safe-area-inset-bottom, 0px)); }
  .desktop-cta { display: none !important; }
  .mobile-sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; width: 100%; z-index: 30; display: grid; grid-template-columns: minmax(0,1fr) var(--iubenda-safe-space); padding: 0 0 max(4px, env(safe-area-inset-bottom, 0px)); background: #fff; border: 0; border-top: 1px solid #cfddd2; border-radius: 0; box-shadow: 0 -4px 20px rgb(25 52 42 / 7%); }
  .mobile-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); min-width: 0; }
  .mobile-sticky-iubenda-space { pointer-events: none; }
  .mobile-actions a { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; text-decoration: none; color: var(--accent); font-size: .6875rem; font-weight: 600; }
  .mobile-actions svg { width: 21px; height: 21px; }
  .mobile-actions a:last-child { background: var(--accent); color: #fff; border-radius: 0; }
}
@media print { .mobile-sticky-bar { display: none; } }

.hero-capital span strong { font-size: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; }
.profile-picture { display: block; width: 100%; max-width: 400px; justify-self: center; }
.profile-picture .profile-photo { display: block; }
.agency-section { background: #f0f4ee; }
.agency-intro { display: grid; gap: 2rem; }
.agency-intro h2 { max-width: 680px; }
.agency-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; margin-top: 1.5rem; }
.agency-platforms > span { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; }
.agency-platforms > span:first-child { width: 100%; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-text); }
.agency-platforms img { object-fit: contain; }
.agency-phases { display: grid; gap: 1.5rem; list-style: none; padding: 0; margin: 3rem 0; }
.agency-phases > li { border-top: 2px solid #a5beae; padding: 1.5rem 0 0; min-width: 0; }
.agency-phase-label { display: flex; align-items: center; gap: .8rem; color: var(--accent); margin-bottom: 1.5rem; }
.agency-phase-label span { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.agency-phase-label svg { width: 26px; height: 26px; }
.agency-phases h3 { font-size: 1.4rem; line-height: 1.3; }
.agency-phases p { font-size: .9375rem; }
.agency-phases ul { padding-left: 1.1rem; font-size: .8125rem; color: var(--muted-text); }
.agency-phases ul li { margin-bottom: .25rem; }
.agency-perspective { display: grid; gap: 1.5rem; padding: 1.75rem; border: 1px solid #cbd9ce; border-radius: 16px; background: #fff; }
.agency-perspective p { margin-bottom: 0; font-size: .9375rem; }
.agency-total { max-width: 900px; margin: 2rem 0 1rem; }
.agency-total > span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; }
.agency-partners { font-size: .8125rem; }
.agency-statement { margin: 2rem 0; padding-top: 2rem; border-top: 1px solid #cbd9ce; font-size: clamp(1.2rem, 2vw, 1.6rem); max-width: 1000px; color: var(--accent); }
@media(min-width: 768px) { .agency-perspective { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; } }
@media(min-width: 1024px) { .agency-intro { grid-template-columns: 1fr 1fr; gap: 3rem; } .agency-phases { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; } }

/* Recapiti amministrativi secondari, esterni alle CTA mobili. */
.contact-legal { display: grid; gap: .8rem; margin: 1.25rem 0 0; color: #c1d0c7; font-size: .8125rem; }
.contact-legal dt { font-size: .7rem; letter-spacing: .04em; margin-bottom: .15rem; }
.contact-legal dd { margin: 0; }
.contact-legal a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-underline-offset: .2em; }

/* Select nativi e footer editoriale. */
.form-fields select { cursor: pointer; appearance: auto; }
.site-footer { padding-block: 2.5rem 1rem; background: #eef2ed; border-top: 1px solid #cdd9ce; color: #52655a; font-size: .875rem; }
.footer-grid { display: grid; gap: 1.75rem; }
.footer-brand { display: inline-block; margin-bottom: .65rem; }
.footer-brand img { display: block; width: 190px; max-width: 100%; height: auto; }
.footer-identity p { max-width: 260px; margin: 0 0 .75rem; }
.footer-heading { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin: 0 0 .8rem; color: var(--accent); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a { display: flex; align-items: center; gap: .65rem; min-height: 44px; padding-block: .25rem; text-decoration: none; color: inherit; width: fit-content; max-width: 100%; }
.footer-list svg { width: 18px; height: 18px; color: var(--accent); }
.footer-list small { display: block; font-size: .6875rem; }
.footer-list .footer-consultation { color: var(--accent); font-weight: 600; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .25em; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: center; margin-top: 1.75rem; padding-top: .8rem; border-top: 1px solid #cdd9ce; font-size: .75rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
@media(min-width: 768px) { .footer-grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 2.5rem; } .footer-bottom a { margin-left: auto; } }

/* Navigazione mobile a pannello, stessi anchor della navigazione desktop. */
.mobile-menu-toggle { display: none; }
.mobile-menu-toggle .menu-close { display: none; }
@media (max-width: 767px) {
  .header-inner { flex-wrap: nowrap; min-height: 70px; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #cdd9ce; border-radius: 8px; background: transparent; color: var(--accent); cursor: pointer; }
  .mobile-menu-toggle[aria-expanded=true] .menu-lines { display: none; }
  .mobile-menu-toggle[aria-expanded=true] .menu-close { display: block; }
  .site-header #mobile-navigation { display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: .5rem 1.25rem 1rem; margin: 0; max-height: calc(100svh - 150px); overflow-y: auto; background: var(--background); border-bottom: 1px solid #cdd9ce; box-shadow: 0 12px 22px rgb(25 52 42 / 7%); }
  .site-header #mobile-navigation.is-open { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .site-header #mobile-navigation a { display: flex; justify-content: space-between; flex-shrink: 0; min-height: 52px; padding: .7rem 0; font-size: 1rem; border-bottom: 1px solid #e0e7df; }
  .site-header #mobile-navigation a::after { content: '↘'; color: var(--accent); }
  .mobile-actions { width: auto; max-width: none; margin: 0; transform: none; }
  .mobile-actions a span { white-space: nowrap; }
}

/* Il movimento si sospende quando non è visibile, senza cambiare durata o resa. */
.hero-atmosphere { contain: paint; }
.hero-atmosphere.is-paused > * { animation-play-state: paused; }
section[id] { scroll-margin-top: 1rem; }
.recaptcha-notice{margin-top:1rem;font-size:.82rem;color:var(--green-dark,#164e42)}
.recaptcha-notice p{margin:0 0 .25rem}
.recaptcha-notice small{display:block;font-size:.75rem;color:var(--muted,#626b66);line-height:1.6}
.recaptcha-notice a{text-decoration:underline;text-underline-offset:3px}
.cookie-preferences{min-height:44px;padding:0;border:0;background:none;font:inherit;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.privacy-content{width:min(880px,calc(100% - 2.5rem));margin:0 auto;padding:4rem 0 5rem;overflow-wrap:anywhere}
.privacy-content h1{font-size:clamp(2.1rem,5vw,3.5rem);line-height:1.15;margin:0 0 1.5rem}
.privacy-content h2{font-size:clamp(1.4rem,3vw,1.9rem);line-height:1.3;margin:2.75rem 0 1rem;scroll-margin-top:7rem}
.privacy-content h3{font-size:1.12rem;line-height:1.5;margin:1.75rem 0 .7rem;scroll-margin-top:7rem}
.privacy-content p,.privacy-content li{font-size:1rem;line-height:1.85}
.privacy-content p{margin:0 0 1rem}
.privacy-content a{text-decoration:underline;text-underline-offset:3px}
.privacy-toc{margin:2rem 0;padding:1.5rem;background:#eef2ed;border:1px solid #cdd9ce;border-radius:8px}
.privacy-toc h2{margin-top:0}
.privacy-toc ul{padding-left:1.25rem;margin:0}
.privacy-toc a{display:inline-block;padding-block:.2rem}
.privacy-page .site-footer{padding-bottom:max(1rem,env(safe-area-inset-bottom))}
